diff --git a/src/app/tests/suites/certification/PICS.yaml b/src/app/tests/suites/certification/PICS.yaml index 029c281fddbd20..5e8908b2c837ed 100644 --- a/src/app/tests/suites/certification/PICS.yaml +++ b/src/app/tests/suites/certification/PICS.yaml @@ -1576,6 +1576,9 @@ PICS: - label: "Does the device represent a Latching Switch?" id: SWTCH.S.F00 + - label: "Does the device represent a Latching Switch?" + id: SWTCH.C.F00 + - label: "Does the device implement the CurrentScene attribute?" id: SWTCH.S.F01 @@ -1588,6 +1591,16 @@ PICS: - label: "Does the MS device support Momentary Switch MultiPress?" id: SWTCH.S.F04 + - label: + "Does the DUT support reading attribute to get switch state (polling)?" + id: SWTCH.C.M.RA + + - label: "Does the DUT support eventing to get switch state changes?" + id: SWTCH.C.M.EV + + - label: "Does the device implement the CurrentScene attribute?" + id: SWTCH.C.F01 + #General Commissioning Cluster - label: "Does the device(Server) support Breadcrumb attribute?" id: CGEN.S.A0000 @@ -1750,10 +1763,18 @@ PICS: - label: "Does the DUT Server support LabelList attribute?" id: ULABEL.S.A0000 + - label: + "DUT sends a write request to the TH, to write to an entry in the + LabelList" + id: ULABEL.C.A0000 + #Fixed Label cluster - label: "Does the DUT Server support LabelList attribute?" id: FLABEL.S.A0000 + - label: "Does the DUT Server support LabelList attribute?" + id: FLABEL.C.A0000 + #Media clusters - label: "Does the DUT support the Keypad Input server cluster Navigation Keys?" diff --git a/src/app/tests/suites/certification/Test_TC_ACL_2_3.yaml b/src/app/tests/suites/certification/Test_TC_ACL_2_3.yaml index 7c0035ccea060a..6daf818694e151 100644 --- a/src/app/tests/suites/certification/Test_TC_ACL_2_3.yaml +++ b/src/app/tests/suites/certification/Test_TC_ACL_2_3.yaml @@ -30,7 +30,7 @@ tests: "TH1 reads DUT Endpoint 0 OperationalCredentials cluster CurrentFabricIndex attribute" verification: | - ./chip-tool operationalcredentials read 1 0 + ./chip-tool operationalcredentials read current-fabric-index 1 0 On TH, Verify DUT Responds to CurrentFabricIndex attribute of operationalCredential cluster as 1 @@ -121,6 +121,9 @@ tests: PICS: ACL.S.A0001 verification: | ./chip-tool accesscontrol read extension 1 0 + + On TH , Verify DUT Responds Successfully . + [1657278638.722246][9030:9035] CHIP:DMG: AttributeReportIB = [1657278638.722296][9030:9035] CHIP:DMG: { [1657278638.722333][9030:9035] CHIP:DMG: AttributeDataIB = @@ -167,6 +170,8 @@ tests: verification: | ./chip-tool accesscontrol write extension '[{"data":"17D00000F1FF01003D48656C6C6F20576F726C642E205468697320697320612073696E676C6520656C656D656E74206C6976696E6720617320612063686172737472696E670018"}]' 1 0 + On TH , Verify DUT Responds Successfully to extension attribute list containg one element . + [1656416899.781899][3814:3819] CHIP:DMG: WriteResponseMessage = [1656416899.781952][3814:3819] CHIP:DMG: { @@ -219,6 +224,8 @@ tests: verification: | ./chip-tool accesscontrol read extension 1 0 + On TH , Verify DUT Responds Successfully . + [1657278788.400832][9048:9053] CHIP:DMG: ReportDataMessage = [1657278788.400863][9048:9053] CHIP:DMG: { [1657278788.400887][9048:9053] CHIP:DMG: AttributeReportIBs = @@ -284,9 +291,11 @@ tests: "TH1 writes DUT Endpoint 0 AccessControl cluster Extension attribute, value is list of AccessControlExtensionStruct containing 1 element struct Data field: D_OK_FULL" - PICS: ACL.S.A0001( + PICS: ACL.S.A0001 verification: | ./chip-tool accesscontrol write extension '[{"data":"17D00000F1FF01003D48656C6C6F20576F726C642E205468697320697320612073696E676C6520656C656D656E74206C6976696E6720617320612063686172737472696E6700D00000F1FF02003148656C6C6F20576F726C642E205468697320697320612073696E676C6520656C656D656E7420616761696E2E2E2E2E2E0018"}]' 1 0 + + On TH , Verify DUT Responds Successfully to extension attribute list containg one element . [1656417544.279572][3888:3893] CHIP:DMG: WriteResponseMessage = [1656417544.279598][3888:3893] CHIP:DMG: { [1656417544.279620][3888:3893] CHIP:DMG: AttributeStatusIBs = @@ -330,6 +339,8 @@ tests: verification: | ./chip-tool accesscontrol read extension 1 0 + On TH , Verify DUT Responds Successfully . + 1657278905.391846][9065:9070] CHIP:DMG: ReportDataMessage = [1657278905.391878][9065:9070] CHIP:DMG: { [1657278905.391906][9065:9070] CHIP:DMG: AttributeReportIBs = @@ -398,7 +409,7 @@ tests: PICS: ACL.S.A0001 verification: | ./chip-tool accesscontrol write extension '[{"data":"17D00000F1FF01003D48656C6C6F20576F726C642E205468697320697320612073696E676C6520656C656D656E74206C6976696E6720617320612063686172737472696E6700D00000F1FF02003248656C6C6F20576F726C642E205468697320697320612073696E676C6520656C656D656E7420616761696E2E2E2E2E2E2E0018"}]' 1 0 - + On TH , Verify DUT Responds Successfully to extension attribute list containg one element . 1657279033.590101][9081:9086] CHIP:DMG: WriteResponseMessage = [1657279033.590134][9081:9086] CHIP:DMG: { [1657279033.590167][9081:9086] CHIP:DMG: AttributeStatusIBs = @@ -456,6 +467,8 @@ tests: verification: | ./chip-tool accesscontrol write extension '[{"data":"1518"}]' 1 0 + On TH , Verify DUT Responds Successfully to extension attribute list containg one element . + [1657609094.514337][8195:8200] CHIP:DMG: WriteResponseMessage = [1657609094.514410][8195:8200] CHIP:DMG: { [1657609094.514447][8195:8200] CHIP:DMG: AttributeStatusIBs = @@ -509,6 +522,8 @@ tests: verification: | ./chip-tool accesscontrol write extension '[{"data":"3701D00000F1FF01003D48656C6C6F20576F726C642E205468697320697320612073696E676C6520656C656D656E74206C6976696E6720617320612063686172737472696E670018"}]' 1 0 + On TH , Verify DUT Responds Successfully to extension attribute list containg one element . + [1657609434.913859][8206:8211] CHIP:DMG: WriteResponseMessage = [1657609434.913892][8206:8211] CHIP:DMG: { [1657609434.913920][8206:8211] CHIP:DMG: AttributeStatusIBs = @@ -562,6 +577,8 @@ tests: verification: | ./chip-tool accesscontrol write extension '[{"data":"17103D48656C6C6F20576F726C642E205468697320697320612073696E676C6520656C656D656E74206C6976696E6720617320612063686172737472696E670018"}]' 1 0 + On TH , Verify DUT Responds Successfully to extension attribute list containg one element . + [1657609579.493445][8215:8220] CHIP:DMG: WriteResponseMessage = [1657609579.493480][8215:8220] CHIP:DMG: { [1657609579.493509][8215:8220] CHIP:DMG: AttributeStatusIBs = @@ -615,6 +632,7 @@ tests: verification: | ./chip-tool accesscontrol write extension '[{"data":"17D00000F1FF01003D48656C6C6F20576F726C642E205468697320697320612073696E676C6520656C656D656E74206C6976696E6720617320612063686172737472696E670018FF"}]' 1 0 + On TH , Verify DUT Responds Successfully to extension attribute list containg one element . [1657609625.258101][8223:8228] CHIP:DMG: WriteResponseMessage = [1657609625.258129][8223:8228] CHIP:DMG: { [1657609625.258152][8223:8228] CHIP:DMG: AttributeStatusIBs = @@ -668,6 +686,9 @@ tests: verification: | ./chip-tool accesscontrol write extension '[{"data":"17D00000F1FF01003D48656C6C6F20576F726C642E205468697320697320612073696E676C6520656C656D656E74206C6976696E6720617320612063686172737472696E6700"}]' 1 0 + + On TH , Verify DUT Responds Successfully to extension attribute list containg one element . + [1657609654.298297][8229:8234] CHIP:DMG: WriteResponseMessage = [1657609654.298338][8229:8234] CHIP:DMG: { [1657609654.298400][8229:8234] CHIP:DMG: AttributeStatusIBs = @@ -719,7 +740,9 @@ tests: struct Data field: D_BAD_NOnE" PICS: ACL.S.A0001 verification: | - /chip-tool accesscontrol write extension '[{"data":""}]' 1 0 + ./chip-tool accesscontrol write extension '[{"data":""}]' 1 0 + + On TH , Verify DUT Responds Successfully to extension attribute list containg one element . [1657609694.044950][8236:8241] CHIP:DMG: WriteResponseMessage = [1657609694.044980][8236:8241] CHIP:DMG: { @@ -776,6 +799,7 @@ tests: verification: | ./chip-tool accesscontrol write extension '[{"data":"1718"},{"data":"17D00000F1FF01003D48656C6C6F20576F726C642E205468697320697320612073696E676C6520656C656D656E74206C6976696E6720617320612063686172737472696E670018"}]' 1 0 + On TH , Verify DUT Responds Successfully to extension attribute list containg one element . 1657279798.807750][9208:9213] CHIP:DMG: WriteResponseMessage = [1657279798.807783][9208:9213] CHIP:DMG: { [1657279798.807812][9208:9213] CHIP:DMG: AttributeStatusIBs = @@ -845,6 +869,8 @@ tests: verification: | ./chip-tool accesscontrol read extension 1 0 + On TH , Verify DUT Responds Successfully . + 1657279968.695899][9221:9226] CHIP:DMG: ReportDataMessage = [1657279968.695931][9221:9226] CHIP:DMG: { [1657279968.695956][9221:9226] CHIP:DMG: AttributeReportIBs = @@ -911,51 +937,34 @@ tests: value is an empty list" PICS: ACL.S.A0001 verification: | - ./chip-tool accesscontrol write extension '[{"data":""}]' 1 0 + ./chip-tool accesscontrol write extension '[]' 1 0 - 1657280110.934160][9249:9254] CHIP:DMG: WriteResponseMessage = - [1657280110.934187][9249:9254] CHIP:DMG: { - [1657280110.934211][9249:9254] CHIP:DMG: AttributeStatusIBs = - [1657280110.934242][9249:9254] CHIP:DMG: [ - [1657280110.934266][9249:9254] CHIP:DMG: AttributeStatusIB = - [1657280110.934298][9249:9254] CHIP:DMG: { - [1657280110.934324][9249:9254] CHIP:DMG: AttributePathIB = - [1657280110.934350][9249:9254] CHIP:DMG: { - [1657280110.934376][9249:9254] CHIP:DMG: Endpoint = 0x0, - [1657280110.934425][9249:9254] CHIP:DMG: Cluster = 0x1f, - [1657280110.934457][9249:9254] CHIP:DMG: Attribute = 0x0000_0001, - [1657280110.934489][9249:9254] CHIP:DMG: } - [1657280110.934526][9249:9254] CHIP:DMG: - [1657280110.934570][9249:9254] CHIP:DMG: StatusIB = - [1657280110.934611][9249:9254] CHIP:DMG: { - [1657280110.934671][9249:9254] CHIP:DMG: status = 0x00 (SUCCESS), - [1657280110.934721][9249:9254] CHIP:DMG: }, - [1657280110.934765][9249:9254] CHIP:DMG: - [1657280110.934801][9249:9254] CHIP:DMG: }, - [1657280110.934851][9249:9254] CHIP:DMG: - [1657280110.934883][9249:9254] CHIP:DMG: AttributeStatusIB = - [1657280110.934921][9249:9254] CHIP:DMG: { - [1657280110.934958][9249:9254] CHIP:DMG: AttributePathIB = - [1657280110.934999][9249:9254] CHIP:DMG: { - [1657280110.935041][9249:9254] CHIP:DMG: Endpoint = 0x0, - [1657280110.935090][9249:9254] CHIP:DMG: Cluster = 0x1f, - [1657280110.935140][9249:9254] CHIP:DMG: Attribute = 0x0000_0001, - [1657280110.935184][9249:9254] CHIP:DMG: ListIndex = Null, - [1657280110.935225][9249:9254] CHIP:DMG: } - [1657280110.935271][9249:9254] CHIP:DMG: - [1657280110.935311][9249:9254] CHIP:DMG: StatusIB = - [1657280110.935352][9249:9254] CHIP:DMG: { - [1657280110.935394][9249:9254] CHIP:DMG: status = 0x00 (SUCCESS), - [1657280110.935439][9249:9254] CHIP:DMG: }, - [1657280110.935480][9249:9254] CHIP:DMG: - [1657280110.935516][9249:9254] CHIP:DMG: }, - [1657280110.935559][9249:9254] CHIP:DMG: - [1657280110.935593][9249:9254] CHIP:DMG: ], - [1657280110.935637][9249:9254] CHIP:DMG: - [1657280110.935669][9249:9254] CHIP:DMG: InteractionModelRevision = 1 - [1657280110.935702][9249:9254] CHIP:DMG: } - [1657280110.935832][9249:9254] CHIP:DMG: WriteClient moving to [AwaitingDe] - [1657280110.935905][9249:9254] CHIP:EM: Sending Standalone Ack for MessageCounter:177934863 on exchange 1329i + On TH , Verify DUT Responds Successfully to extension attribute list containg one element . + + 7625][1521:1526] CHIP:DMG: AttributeStatusIB = + [1657692723.227673][1521:1526] CHIP:DMG: { + [1657692723.227725][1521:1526] CHIP:DMG: AttributePathIB = + [1657692723.227780][1521:1526] CHIP:DMG: { + [1657692723.227834][1521:1526] CHIP:DMG: Endpoint = 0x0, + [1657692723.227897][1521:1526] CHIP:DMG: Cluster = 0x1f, + [1657692723.227956][1521:1526] CHIP:DMG: Attribute = 0x0000_0001, + [1657692723.228012][1521:1526] CHIP:DMG: } + [1657692723.228073][1521:1526] CHIP:DMG: + [1657692723.228125][1521:1526] CHIP:DMG: StatusIB = + [1657692723.228182][1521:1526] CHIP:DMG: { + [1657692723.228238][1521:1526] CHIP:DMG: status = 0x00 (SUCCESS), + [1657692723.228294][1521:1526] CHIP:DMG: }, + [1657692723.228349][1521:1526] CHIP:DMG: + [1657692723.228397][1521:1526] CHIP:DMG: }, + [1657692723.228449][1521:1526] CHIP:DMG: + [1657692723.228492][1521:1526] CHIP:DMG: ], + [1657692723.228551][1521:1526] CHIP:DMG: + [1657692723.228582][1521:1526] CHIP:DMG: InteractionModelRevision = 1 + [1657692723.228608][1521:1526] CHIP:DMG: } + [1657692723.228738][1521:1526] CHIP:DMG: WriteClient moving to [AwaitingDe] + [1657692723.228802][1521:1526] CHIP:EM: Sending Standalone Ack for MessageCounter:57305662 on exchange 27543i + [1657692723.228869][1521:1526] CHIP:IN: Prepared secure message 0xffff9fffd9d8 to 0x0000000000000001 (1) of type 0x10 and protocolId (0, 0) on exchange 27543i with MessageCounter:9219504. + [1657692723.228909][1521:1526] disabled: true - label: @@ -964,6 +973,8 @@ tests: verification: | ./chip-tool accesscontrol read extension 1 0 + On TH , Verify DUT Responds Successfully . + 1657280113.650757][9255:9260] CHIP:DMG: ReportDataMessage = [1657280113.650786][9255:9260] CHIP:DMG: { [1657280113.650809][9255:9260] CHIP:DMG: AttributeReportIBs = diff --git a/src/app/tests/suites/certification/Test_TC_ACL_2_5.yaml b/src/app/tests/suites/certification/Test_TC_ACL_2_5.yaml index 69ce6f42f199b1..b7ea119b2cf1d0 100644 --- a/src/app/tests/suites/certification/Test_TC_ACL_2_5.yaml +++ b/src/app/tests/suites/certification/Test_TC_ACL_2_5.yaml @@ -32,6 +32,8 @@ tests: verification: | ./chip-tool operationalcredentials read current-fabric-index 1 0 + On TH, Verify DUT Responds to CurrentFabricIndex attribute of operationalCredential cluster as 1 + [1657283596.149202][2284:2289] CHIP:DMG: { [1657283596.149247][2284:2289] CHIP:DMG: Endpoint = 0x0, [1657283596.149293][2284:2289] CHIP:DMG: Cluster = 0x3e, @@ -62,6 +64,8 @@ tests: verification: | ./chip-tool accesscontrol read-event access-control-extension-changed 1 0 + + Verify in TH log: 848.856174][2311:2316] CHIP:EM: Removed CHIP MessageCounter:265690133 from RetransTable on exchange 23190i [1657283848.856239][2311:2316] CHIP:DMG: ReportDataMessage = [1657283848.856278][2311:2316] CHIP:DMG: { @@ -80,6 +84,8 @@ tests: PICS: ACL.S.E01 verification: | ./chip-tool accesscontrol write extension '[{"data":"1718"}]' 1 0 + Verify in TH log: + 217.510779][2371:2376] CHIP:DMG: AttributePathIB = [1657284217.510818][2371:2376] CHIP:DMG: { [1657284217.510857][2371:2376] CHIP:DMG: Endpoint = 0x0, @@ -126,6 +132,7 @@ tests: PICS: ACL.S.E01 verification: | ./chip-tool accesscontrol read-event access-control-extension-changed 1 0 + Verify in TH log: [1657618132.685459][8992:8998] CHIP:DMG: [1657618132.685495][8992:8998] CHIP:DMG: SuppressResponse = true, @@ -154,7 +161,7 @@ tests: PICS: ACL.S.E01 verification: | ./chip-tool accesscontrol write extension '[{"data":"17D00000F1FF01003D48656C6C6F20576F726C642E205468697320697320612073696E676C6520656C656D656E74206C6976696E6720617320612063686172737472696E670018"}]' 1 0 - + On TH , Verify DUT Responds Successfully to extension attribute list containg one element 7284747.131523][2411:2416] CHIP:DMG: StatusIB = [1657284747.131568][2411:2416] CHIP:DMG: { [1657284747.131618][2411:2416] CHIP:DMG: status = 0x00 (SUCCESS), @@ -301,6 +308,8 @@ tests: verification: | ./chip-tool accesscontrol read-event access-control-extension-changed 1 0 + On TH , Verify DUT Responds Successfully + [1657618374.299423][9024:9029] CHIP:DMG: } [1657618374.299739][9024:9029] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Event 0x0000_0001 [1657618374.299773][9024:9029] CHIP:TOO: Event number: 86 @@ -369,6 +378,8 @@ tests: verification: | ./chip-tool accesscontrol write extension '[{"data":"1718"},{"data":"17D00000F1FF01003D48656C6C6F20576F726C642E205468697320697320612073696E676C6520656C656D656E74206C6976696E6720617320612063686172737472696E670018"}]' 1 0 + + 1657289068.797364][9823:9828] CHIP:DMG: WriteResponseMessage = [1657289068.797394][9823:9828] CHIP:DMG: { [1657289068.797419][9823:9828] CHIP:DMG: AttributeStatusIBs = @@ -438,6 +449,7 @@ tests: PICS: ACL.S.E01 verification: | ./chip-tool accesscontrol read-event access-control-extension-changed 1 0 + On TH , Verify DUT Responds Successfully [1657618501.560311][9050:9055] CHIP:DMG: } [1657618501.560653][9050:9055] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Event 0x0000_0001 @@ -546,33 +558,33 @@ tests: value is an empty list" PICS: ACL.S.E01 verification: | - ./chip-tool accesscontrol write extension '[{"data":""}]' 1 0 - - [1657286533.545278][2576:2581] CHIP:DMG: status = 0x00 (SUCCESS), - [1657286533.545354][2576:2581] CHIP:DMG: }, - [1657286533.545428][2576:2581] CHIP:DMG: - [1657286533.545495][2576:2581] CHIP:DMG: }, - [1657286533.545580][2576:2581] CHIP:DMG: - [1657286533.545639][2576:2581] CHIP:DMG: AttributeStatusIB = - [1657286533.545702][2576:2581] CHIP:DMG: { - [1657286533.545763][2576:2581] CHIP:DMG: AttributePathIB = - [1657286533.545829][2576:2581] CHIP:DMG: { - [1657286533.545904][2576:2581] CHIP:DMG: Endpoint = 0x0, - [1657286533.545986][2576:2581] CHIP:DMG: Cluster = 0x1f, - [1657286533.546075][2576:2581] CHIP:DMG: Attribute = 0x0000_0001, - [1657286533.546148][2576:2581] CHIP:DMG: ListIndex = Null, - [1657286533.546220][2576:2581] CHIP:DMG: } - [1657286533.546303][2576:2581] CHIP:DMG: - [1657286533.546373][2576:2581] CHIP:DMG: StatusIB = - [1657286533.546447][2576:2581] CHIP:DMG: { - [1657286533.546520][2576:2581] CHIP:DMG: status = 0x00 (SUCCESS), - [1657286533.546595][2576:2581] CHIP:DMG: }, - [1657286533.546669][2576:2581] CHIP:DMG: - [1657286533.546735][2576:2581] CHIP:DMG: }, - [1657286533.546811][2576:2581] CHIP:DMG: - [1657286533.546869][2576:2581] CHIP:DMG: ], - [1657286533.546950][2576:2581] CHIP:DMG: - [1657286533.547008][2576:2581] CHIP:DMG: In + ./chip-tool accesscontrol write extension '[]' 1 0 + On TH , Verify DUT Responds Successfully + + 7625][1521:1526] CHIP:DMG: AttributeStatusIB = + [1657692723.227673][1521:1526] CHIP:DMG: { + [1657692723.227725][1521:1526] CHIP:DMG: AttributePathIB = + [1657692723.227780][1521:1526] CHIP:DMG: { + [1657692723.227834][1521:1526] CHIP:DMG: Endpoint = 0x0, + [1657692723.227897][1521:1526] CHIP:DMG: Cluster = 0x1f, + [1657692723.227956][1521:1526] CHIP:DMG: Attribute = 0x0000_0001, + [1657692723.228012][1521:1526] CHIP:DMG: } + [1657692723.228073][1521:1526] CHIP:DMG: + [1657692723.228125][1521:1526] CHIP:DMG: StatusIB = + [1657692723.228182][1521:1526] CHIP:DMG: { + [1657692723.228238][1521:1526] CHIP:DMG: status = 0x00 (SUCCESS), + [1657692723.228294][1521:1526] CHIP:DMG: }, + [1657692723.228349][1521:1526] CHIP:DMG: + [1657692723.228397][1521:1526] CHIP:DMG: }, + [1657692723.228449][1521:1526] CHIP:DMG: + [1657692723.228492][1521:1526] CHIP:DMG: ], + [1657692723.228551][1521:1526] CHIP:DMG: + [1657692723.228582][1521:1526] CHIP:DMG: InteractionModelRevision = 1 + [1657692723.228608][1521:1526] CHIP:DMG: } + [1657692723.228738][1521:1526] CHIP:DMG: WriteClient moving to [AwaitingDe] + [1657692723.228802][1521:1526] CHIP:EM: Sending Standalone Ack for MessageCounter:57305662 on exchange 27543i + [1657692723.228869][1521:1526] CHIP:IN: Prepared secure message 0xffff9fffd9d8 to 0x0000000000000001 (1) of type 0x10 and protocolId (0, 0) on exchange 27543i with MessageCounter:9219504. + [1657692723.228909][1521:1526] disabled: true - label: @@ -581,6 +593,7 @@ tests: PICS: ACL.S.E01 verification: | ./chip-tool accesscontrol read-event access-control-extension-changed 1 0 + On TH , Verify DUT Responds Successfully [1657618604.091599][9063:9068] CHIP:DMG: } [1657618604.091929][9063:9068] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Event 0x0000_0001 diff --git a/src/app/tests/suites/certification/Test_TC_BINFO_1_1.yaml b/src/app/tests/suites/certification/Test_TC_BINFO_1_1.yaml index 49f8f09ad68fda..bdc12ff6ad4cd8 100644 --- a/src/app/tests/suites/certification/Test_TC_BINFO_1_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_BINFO_1_1.yaml @@ -31,7 +31,7 @@ tests: - label: "TH reads the ClusterRevision from DUT" verification: | ./chip-tool basic read cluster-revision 1 0 - + On TH, verify that DUT sends ClusterRevision attribute value as 1 [1651214669.313397][2666:2671] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0028 Attribute 0x0000_FFFD DataVersion: 158558310 [1651214669.313472][2666:2671] CHIP:TOO: ClusterRevision: 1 @@ -41,6 +41,8 @@ tests: verification: | ./chip-tool basic read feature-map 1 0 + On TH, verify that DUT sends FeatureMap attribute value as 0 + [1653459580.065669][29174:29179] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0028 Attribute 0x0000_FFFC DataVersion: 46104872 [1653459580.065758][29174:29179] CHIP:TOO: FeatureMap: 0 [1653459580.065936][29174:29179] CHIP:EM: Sending Standalone Ack for MessageCounter:14961519 on exchange 31457i @@ -50,32 +52,35 @@ tests: verification: | ./chip-tool basic read attribute-list 1 0 - [1651214730.462010][2685:2690] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0028 Attribute 0x0000_FFFB DataVersion: 158558310 - [1651214730.462091][2685:2690] CHIP:TOO: AttributeList: 24 entries - [1651214730.462123][2685:2690] CHIP:TOO: [1]: 0 - [1651214730.462158][2685:2690] CHIP:TOO: [2]: 1 - [1651214730.462183][2685:2690] CHIP:TOO: [3]: 2 - [1651214730.462207][2685:2690] CHIP:TOO: [4]: 3 - [1651214730.462241][2685:2690] CHIP:TOO: [5]: 4 - [1651214730.462266][2685:2690] CHIP:TOO: [6]: 5 - [1651214730.462300][2685:2690] CHIP:TOO: [7]: 6 - [1651214730.462325][2685:2690] CHIP:TOO: [8]: 7 - [1651214730.462349][2685:2690] CHIP:TOO: [9]: 8 - [1651214730.462383][2685:2690] CHIP:TOO: [10]: 9 - [1651214730.462407][2685:2690] CHIP:TOO: [11]: 10 - [1651214730.462441][2685:2690] CHIP:TOO: [12]: 11 - [1651214730.462465][2685:2690] CHIP:TOO: [13]: 12 - [1651214730.462499][2685:2690] CHIP:TOO: [14]: 13 - [1651214730.462523][2685:2690] CHIP:TOO: [15]: 14 - [1651214730.462556][2685:2690] CHIP:TOO: [16]: 15 - [1651214730.462580][2685:2690] CHIP:TOO: [17]: 16 - [1651214730.462615][2685:2690] CHIP:TOO: [18]: 17 - [1651214730.462640][2685:2690] CHIP:TOO: [19]: 18 - [1651214730.462676][2685:2690] CHIP:TOO: [20]: 19 - [1651214730.462700][2685:2690] CHIP:TOO: [21]: 65528 - [1651214730.462736][2685:2690] CHIP:TOO: [22]: 65529 - [1651214730.462761][2685:2690] CHIP:TOO: [23]: 65531 - [1651214730.462799][2685:2690] CHIP:TOO: [24]: 65533 + On TH, verify that DUT sends a list of supported attributes + + [1657021528.885544][7089:7094] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0028 Attribute 0x0000_FFFB DataVersion: 1869107664 + [1657021528.885637][7089:7094] CHIP:TOO: AttributeList: 25 entries + [1657021528.885669][7089:7094] CHIP:TOO: [1]: 0 + [1657021528.885695][7089:7094] CHIP:TOO: [2]: 1 + [1657021528.885720][7089:7094] CHIP:TOO: [3]: 2 + [1657021528.885744][7089:7094] CHIP:TOO: [4]: 3 + [1657021528.885768][7089:7094] CHIP:TOO: [5]: 4 + [1657021528.885793][7089:7094] CHIP:TOO: [6]: 5 + [1657021528.885817][7089:7094] CHIP:TOO: [7]: 6 + [1657021528.885841][7089:7094] CHIP:TOO: [8]: 7 + [1657021528.885865][7089:7094] CHIP:TOO: [9]: 8 + [1657021528.885890][7089:7094] CHIP:TOO: [10]: 9 + [1657021528.885915][7089:7094] CHIP:TOO: [11]: 10 + [1657021528.885939][7089:7094] CHIP:TOO: [12]: 11 + [1657021528.885964][7089:7094] CHIP:TOO: [13]: 12 + [1657021528.885988][7089:7094] CHIP:TOO: [14]: 13 + [1657021528.886013][7089:7094] CHIP:TOO: [15]: 14 + [1657021528.886037][7089:7094] CHIP:TOO: [16]: 15 + [1657021528.886062][7089:7094] CHIP:TOO: [17]: 16 + [1657021528.886086][7089:7094] CHIP:TOO: [18]: 17 + [1657021528.886111][7089:7094] CHIP:TOO: [19]: 18 + [1657021528.886135][7089:7094] CHIP:TOO: [20]: 19 + [1657021528.886160][7089:7094] CHIP:TOO: [21]: 65528 + [1657021528.886184][7089:7094] CHIP:TOO: [22]: 65529 + [1657021528.886209][7089:7094] CHIP:TOO: [23]: 65531 + [1657021528.886234][7089:7094] CHIP:TOO: [24]: 65532 + [1657021528.886258][7089:7094] CHIP:TOO: [25]: 65533 disabled: true - label: "TH reads EventList from DUT" @@ -87,6 +92,7 @@ tests: verification: | ./chip-tool basic read accepted-command-list 1 0 + On TH, verify that DUT responsds as list of Accepted Command as 0 entries. [1651214820.355561][2695:2700] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0028 Attribute 0x0000_FFF9 DataVersion: 158558310 [1651214820.355673][2695:2700] CHIP:TOO: AcceptedCommandList: 0 entries @@ -96,6 +102,7 @@ tests: verification: | ./chip-tool basic read generated-command-list 1 0 + On TH, verify that DUT responsds as list of GeneratedCommandList as 0 entries. [1651214861.208575][2702:2707] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0028 Attribute 0x0000_FFF8 DataVersion: 158558310 [1651214861.208682][2702:2707] CHIP:TOO: GeneratedCommandList: 0 entries diff --git a/src/app/tests/suites/certification/Test_TC_BOOL_2_2.yaml b/src/app/tests/suites/certification/Test_TC_BOOL_2_2.yaml index 1225bd847c8c12..d5925fe9ccd6b7 100644 --- a/src/app/tests/suites/certification/Test_TC_BOOL_2_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_BOOL_2_2.yaml @@ -13,7 +13,7 @@ # limitations under the License. # Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default -name: 68.2.2. [TC-BOOL-2.2] Primary Functionality with Server as DUT +name: 67.2.2. [TC-BOOL-2.2] Primary Functionality with Server as DUT config: nodeId: 0x12344321 @@ -35,8 +35,6 @@ tests: - label: "TH reads the StateValue attribute from the DUT" PICS: BOOL.M.ManuallyControlled && BOOL.S.A0000 verification: | - Verify in TH Log: - ./chip-tool booleanstate read state-value 1 1 [1646118838.087500][3279:3284] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0045 Attribute 0x0000_0000DataVersion: 2127727071 @@ -52,8 +50,6 @@ tests: - label: "TH reads the StateValue attribute from the DUT" PICS: BOOL.M.ManuallyControlled && BOOL.S.A0000 verification: | - Verify in TH Log: - ./chip-tool booleanstate read state-value 1 1 [1646118838.087500][3279:3284] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0045 Attribute 0x0000_0000DataVersion: 2127727071 @@ -63,12 +59,19 @@ tests: - label: "Set up subscription to StateChange event" PICS: BOOL.M.ManuallyControlled && BOOL.S.E00 && BOOL.S.A0000 verification: | - ./chip-tool booleanstate subscribe-event-by-id 0x0 1 100 2 1 + Run the below command to start interactive mode + ./chip-tool interactive start + + Subscribe the event using below command in Interactive mode. Once the event occurs, TH get the subscription message. + + booleanstate subscribe-event-by-id 0x0 1 100 2 1 disabled: true - label: "Bring the DUT into a state so StateValue is FALSE" PICS: BOOL.M.ManuallyControlled && BOOL.S.E00 && BOOL.S.A0000 verification: | + Verify in TH Log: + [1646119162.628169][3311:3316] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0045 Attribute 0x0000_0000DataVersion: 2127727071 [1646119162.628207][3311:3316] CHIP:TOO: StateValue: FALSE disabled: true @@ -78,6 +81,7 @@ tests: verification: | ./chip-tool booleanstate read state-value 1 1 + Verify in TH Log: [1646118838.087500][3279:3284] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0045 Attribute 0x0000_0000DataVersion: 2127727071 [1646118838.087536][3279:3284] CHIP:TOO: StateValue: FALSE disabled: true @@ -85,6 +89,8 @@ tests: - label: "Bring the DUT into a state so StateValue is TRUE" PICS: BOOL.M.ManuallyControlled && BOOL.S.E00 && BOOL.S.A0000 verification: | + Verify in TH Log: + [1646119162.628169][3311:3316] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0045 Attribute 0x0000_0000DataVersion: 2127727071 [1646119162.628207][3311:3316] CHIP:TOO: StateValue: TRUE disabled: true @@ -94,6 +100,7 @@ tests: verification: | ./chip-tool booleanstate read state-value 1 1 + Verify in TH Log: [1646118838.087500][3279:3284] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0045 Attribute 0x0000_0000DataVersion: 2127727071 [1646118838.087536][3279:3284] CHIP:TOO: StateValue: TRUE disabled: true 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 96a55e2b7e83fb..83c20933c71c9d 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 @@ -59,25 +59,26 @@ tests: - name: "colorTemperature" value: 100 - name: "TransitionTime" - value: 10 + value: 5 - name: "OptionsMask" value: 0 - name: "OptionsOverride" value: 0 - - label: "Wait 10ms" + - label: "Wait 700ms" cluster: "DelayCommands" command: "WaitForMs" arguments: values: - name: "ms" - value: 10 + value: 700 - label: "Read current color temprature" PICS: CC.S.A0007 command: "readAttribute" attribute: "ColorTemperature" response: + value: 100 constraints: type: uint16 minValue: 0 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 15e324a4e7903b..c203aacebaa71a 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 @@ -32,6 +32,8 @@ tests: verification: | ./chip-tool networkcommissioning read cluster-revision 1 0 + Verify on the TH Log: + [1649244866.275684][30440:30446] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_FFFD DataVersion: 2702518944 [1649244866.277721][30440:30446] CHIP:TOO: ClusterRevision: 1 [1649244866.277827][30440:30446] CHIP:EM: Sending Standalone Ack for MessageCounter:10092551 on exchange 64234i @@ -41,6 +43,9 @@ tests: verification: | ./chip-tool networkcommissioning read feature-map 1 0 + + Verify on the TH Log: + [1651215443.195852][3285:3290] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_FFFC DataVersion: 2584224280 [1651215443.195939][3285:3290] CHIP:TOO: FeatureMap: 4 disabled: true @@ -49,6 +54,9 @@ tests: verification: | ./chip-tool networkcommissioning read attribute-list 1 0 + + Verify on the TH Log: + [1651215479.539148][3293:3298] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_FFFB DataVersion: 2584224280 [1651215479.539230][3293:3298] CHIP:TOO: AttributeList: 13 entries [1651215479.539262][3293:3298] CHIP:TOO: [1]: 0 @@ -75,19 +83,28 @@ tests: verification: | In case of chip tool, here is an example command to use - ./chip-tool networkcommissioning read generated-command-list 1 0 + ./chip-tool networkcommissioning read accepted-command-list 1 0 + - [1652255227.644007][7509:7514] CHIP:DMG: SuppressResponse = true, - [1652255227.644083][7509:7514] CHIP:DMG: InteractionModelRevision = 1 - [1652255227.644139][7509:7514] CHIP:DMG: } - [1652255227.644480][7509:7514] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_FFF9 DataVersion: 2580824733 - [1652255227.644609][7509:7514] CHIP:TOO: AcceptedCommandList: 0 entries + Verify on the TH Log: + + [1653909914.972854][3424:3429] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_FFF9 DataVersion: 880539056 + [1653909914.973027][3424:3429] CHIP:TOO: AcceptedCommandList: 5 entries + [1653909914.973102][3424:3429] CHIP:TOO: [1]: 0 + [1653909914.973166][3424:3429] CHIP:TOO: [2]: 2 + [1653909914.973228][3424:3429] CHIP:TOO: [3]: 4 + [1653909914.973289][3424:3429] CHIP:TOO: [4]: 6 + [1653909914.973350][3424:3429] CHIP:TOO: [5]: 8 + [1653909914.973574][3424:3429] CHIP:EM: Sending Standalone Ack for MessageCounter:4589161 on exchange 55554i disabled: true - label: "TH reads GeneratedCommandList from DUT" verification: | ( WiFi) ubuntu@TE-8:~/connectedhomeip/examples/chip-tool/out/debug$ ./chip-tool networkcommissioning read generated-command-list 1 0 + + Verify on the TH Log: + [1650370123.417759][42418:42423] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_FFF8 DataVersion: 3182776035 [1650370123.417866][42418:42423] CHIP:TOO: GeneratedCommandList: 3 entries [1650370123.417938][42418:42423] CHIP:TOO: [1]: 1 @@ -97,6 +114,9 @@ tests: ( Thread ) ./chip-tool networkcommissioning read generated-command-list 51 0 + + Verify on the TH Log: + [1650370342.693373][7450:7455] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_FFF8 DataVersion: 1032683896 [1650370342.693536][7450:7455] CHIP:TOO: GeneratedCommandList: 2 entries 1650370123.417938][42418:42423] CHIP:TOO: [1]: 1 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 1d7f2479bdc220..2f1f0e88821dca 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 @@ -38,6 +38,8 @@ tests: verification: | ./chip-tool descriptor read server-list 1 0 + Verify on the TH Log: + [1654250292.680821][5262:5267] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001D Attribute 0x0000_0001 DataVersion: 812190876 [1654250292.681079][5262:5267] CHIP:TOO: server list: 26 entries [1654250292.681196][5262:5267] CHIP:TOO: [1]: 3 @@ -72,6 +74,9 @@ tests: verification: | ./chip-tool networkcommissioning read feature-map 1 0 + + Verify on the TH Log: + [1653473169.784344][29771:29776] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_FFFC DataVersion: 1600858167 [1653473169.784413][29771:29776] CHIP:TOO: FeatureMap: 1 [1653473169.784516][29771:29776] CHIP:EM: Sending Standalone Ack for MessageCounter:3349837 on exchange 7603i @@ -82,6 +87,9 @@ tests: verification: | ./chip-tool networkcommissioning read max-networks 1 0 + + Verify on the TH Log: + [1653473181.407542][29777:29782] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0000 DataVersion: 1600858167 [1653473181.407621][29777:29782] CHIP:TOO: MaxNetworks: 1 [1653473181.407725][29777:29782] CHIP:EM: Sending Standalone Ack for MessageCounter:15199397 on exchange 5841i @@ -99,6 +107,9 @@ tests: verification: | ./chip-tool networkcommissioning read networks 1 0 + + Verify on the TH Log: + [1654250379.881780][5309:5314] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0001 DataVersion: 3741733376 [1654250379.881974][5309:5314] CHIP:TOO: Networks: 1 entries [1654250379.882123][5309:5314] CHIP:TOO: [1]: { @@ -112,6 +123,8 @@ tests: verification: | ./chip-tool networkcommissioning read scan-max-time-seconds 1 0 + Verify on the TH Log: + [1653473784.850830][29813:29818] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0002 DataVersion: 1600858167 [1653473784.850916][29813:29818] CHIP:TOO: ScanMaxTimeSeconds: 10 @@ -123,6 +136,9 @@ tests: verification: | ./chip-tool networkcommissioning read connect-max-time-seconds 1 0 + + Verify on the TH Log: + [1653473821.367214][29821:29826] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0003 DataVersion: 1600858167 [1653473821.367283][29821:29826] CHIP:TOO: ConnectMaxTimeSeconds: 20 [1653473821.367379][29821:29826] CHIP:EM: Sending Standalone Ack for MessageCounter:187119 on exchange 50022i @@ -133,6 +149,9 @@ tests: verification: | ./chip-tool networkcommissioning read interface-enabled 1 0 + + Verify on the TH Log: + [1653473893.275901][29834:29839] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0004 DataVersion: 1600858167 [1653473893.275964][29834:29839] CHIP:TOO: InterfaceEnabled: TRUE [1653473893.276084][29834:29839] CHIP:EM: Sending Standalone Ack for MessageCounter:13157245 on exchange 55578i @@ -143,6 +162,9 @@ tests: verification: | ./chip-tool networkcommissioning read last-networking-status 1 0 + + Verify on the TH Log: + [1653473918.484769][29840:29845] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0005 DataVersion: 1600858167 [1653473918.484843][29840:29845] CHIP:TOO: LastNetworkingStatus: 0 [1653473918.484940][29840:29845] CHIP:EM: Sending Standalone Ack for MessageCounter:10161085 on exchange 18769i @@ -153,7 +175,9 @@ tests: Networks attribute from the DUT" PICS: CNET.S.A0006 verification: | - ./chip-tool networkcommissioning read last-network-id 1 0 + ./chip-tool networkcommissioning read last-network-id 1 + + Verify on the TH Log: "[1653474059.383553][27286:27291] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0006 DataVersion: 1912591449 @@ -167,6 +191,9 @@ tests: ./chip-tool networkcommissioning read last-connect-error-value 1 0 + Verify on the TH Log: + + [1653474102.061746][29860:29865] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0007 DataVersion: 1600858167 [1653474102.061812][29860:29865] CHIP:TOO: LastConnectErrorValue: null [1653474102.061934][29860:29865] CHIP:EM: Sending Standalone Ack for MessageCounter:5193529 on exchange 29546i 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 f2729928a908c6..b38fcb1589d7e7 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 @@ -27,7 +27,9 @@ tests: "TH sends ArmFailSafe command to the DUT with ExpiryLengthSeco nds set to 900" verification: | - ubuntu@ubuntu:~/cntl/connectedhomeip/examples/chip-tool/out/debug$ ./chip-tool generalcommissioning arm-fail-safe 900 0 62 0 + ./chip-tool generalcommissioning arm-fail-safe 900 1 62 0 + + Verify on the TH Log: [1650391404.723087][10042:10047] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0030 Command=0x0000_0001 [1650391404.723164][10042:10047] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0030 Command 0x0000_0001 @@ -38,51 +40,86 @@ tests: [1650391404.723479][10042:10047] CHIP:DMG: ICR moving to [AwaitingDe] disabled: true - - label: "TH reads the Networks attribute list from the DUT" + - label: + "TH1 reads Networks attribute from the DUT and save the number of + entries as 'NumNetworks'" PICS: CNET.S.A0001 verification: | + ./chip-tool networkcommissioning read networks 1 0 + + Verify on the TH Log: + [1657790578.359665][5247:5252] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0001 DataVersion: 2276799582 + [1657790578.359820][5247:5252] CHIP:TOO: Networks: 1 entries + [1657790578.359925][5247:5252] CHIP:TOO: [1]: { + [1657790578.359992][5247:5252] CHIP:TOO: NetworkID: 1850171990782922 + [1657790578.360049][5247:5252] CHIP:TOO: Connected: TRUE + [1657790578.360103][5247:5252] CHIP:TOO: } + [1657790578.360277][5247:5252] CHIP:EM: Sending Standalone Ack for MessageCounter:195491393 on exchange 23374i disabled: true - label: - "TH finds the index of the Networks list entry with\r NetworkID field - value PIXIT.CNET.WIFI_ 1ST_ACCESSPOINT _SSID and saves it as - 'Userwifi_netidx'" + "TH finds the index of the Networks list entry with NetworkID field + value PIXIT.CNET.THRE AD_1ST_OPERATI ONALDATASET and saves it as + 'Userth_netidx'" verification: | disabled: true - label: "TH sends RemoveNetwork Command to the DUT with NetworkID field set to - PIXIT.CNET.WIFI_ 1ST_ACCESSPOINT _SSID and Breadcrumb field set to 1" + PIXIT.CNET.THRE AD_1ST_OPERATI ONALDATASET and Breadcrumb field set to + 1" PICS: CNET.S.C04.Rsp && CNET.S.C05.Tx verification: | - ubuntu@ubuntu:~/cntl/connectedhomeip/examples/chip-tool/out/debug$ ./chip-tool networkcommissioning remove-network hex:0119100899082022 62 0 - - [1650391420.469341][10048:10053] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0031 Command=0x0000_0005 - [1650391420.469452][10048:10053] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Command 0x0000_0005 - [1650391420.469634][10048:10053] CHIP:TOO: NetworkConfigResponse: { - [1650391420.469746][10048:10053] CHIP:TOO: networkingStatus: 0 - [1650391420.469812][10048:10053] CHIP:TOO: } - [1650391420.469902][10048:10053] CHIP:DMG: ICR moving to [AwaitingDe] + ./chip-tool networkcommissioning remove-network hex:1850171990782922 62 0 + + Verify on the TH Log: + + [1657790635.532308][5254:5259] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0031 Command=0x0000_0005 + [1657790635.532395][5254:5259] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Command 0x0000_0005 + [1657790635.532528][5254:5259] CHIP:TOO: NetworkConfigResponse: { + [1657790635.532617][5254:5259] CHIP:TOO: networkingStatus: 0 + [1657790635.532671][5254:5259] CHIP:TOO: networkIndex: 0 + [1657790635.532718][5254:5259] CHIP:TOO: } + [1657790635.532794][5254:5259] CHIP:DMG: ICR moving to [AwaitingDe] + [1657790635.532886][5254:5259] CHIP:EM: Sending Standalone Ack for MessageCounter:162806082 on exchange 55401i disabled: true - label: "TH1 reads Networks attribute from the DUT" PICS: CNET.S.A0001 verification: | + ./chip-tool networkcommissioning read networks 1 0 + + Verify on the TH Log: + [1657625584.426746][2703:2708] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0001 DataVersion: 1201757611 + [1657625584.427014][2703:2708] CHIP:TOO: Networks: 0 entries + [1657625584.427238][2703:2708] CHIP:EM: Sending Standalone Ack for MessageCounter:71370645 on exchange 9137i disabled: true - label: "TH reads LastNetworkingStatus attribute from the DUT" PICS: CNET.S.A0005 verification: | + ./chip-tool networkcommissioning read last-networking-status 1 0 + Verify on the TH Log: + + [1657625631.550171][2710:2715] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0005 DataVersion: 1201757611 + [1657625631.550337][2710:2715] CHIP:TOO: LastNetworkingStatus: 0 + [1657625631.550495][2710:2715] CHIP:EM: Sending Standalone Ack for MessageCounter:45041626 on exchange 48206i disabled: true - label: "TH reads LastNetworkID attribute from the DUT" PICS: CNET.S.A0006 verification: | + ./chip-tool networkcommissioning read last-network-id 1 0 + + Verify on the TH Log: + [1657625691.050998][2718:2724] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0006 DataVersion: 1201757611 + [1657625691.051142][2718:2724] CHIP:TOO: LastNetworkID: 1850171990782922 + [1657625691.051317][2718:2724] CHIP:EM: Sending Standalone Ack for MessageCounter:151340993 on exchange 26558i disabled: true - label: @@ -90,16 +127,34 @@ tests: of the DUT" PICS: CNET.S.C04.Rsp verification: | + ./chip-tool generalcommissioning read breadcrumb 1 0 + + Verify on the TH Log: + [1657625860.742472][2739:2744] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0030 Attribute 0x0000_0000 DataVersion: 2669958173 + [1657625860.742607][2739:2744] CHIP:TOO: Breadcrumb: 1 + [1657625860.742764][2739:2744] CHIP:EM: Sending Standalone Ack for MessageCounter:246118803 on exchange 50195i disabled: true - label: "TH sends ConnectNetwork command to the DUT with NetworkID field set - to PIXIT.CNET.WIFI_ 1ST_ACCESSPOINT _SSID and Breadcrumb field set to - 2" + to the extended PAN ID of PIXIT.CNET.THRE AD_1ST_OPERATI ONALDATASET + and Breadcrumb field set to 2" PICS: CNET.S.C04.Rsp verification: | + ./chip-tool networkcommissioning connect-network hex:1850171990782922 1 0 --Breadcrumb 2 + + Verify on the TH Log: + + [1657625912.836563][2747:2752] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0031 Command=0x0000_0007 + [1657625912.836768][2747:2752] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Command 0x0000_0007 + [1657625912.836933][2747:2752] CHIP:TOO: ConnectNetworkResponse: { + [1657625912.837012][2747:2752] CHIP:TOO: networkingStatus: 3 + [1657625912.837075][2747:2752] CHIP:TOO: errorValue: 0 + [1657625912.837131][2747:2752] CHIP:TOO: } + [1657625912.837220][2747:2752] CHIP:DMG: ICR moving to [AwaitingDe] + [1657625912.837330][2747:2752] CHIP:EM: Sending Standalone Ack for MessageCounter:259218125 on exchange 18569i disabled: true - label: @@ -107,41 +162,101 @@ tests: of the DUT" PICS: CNET.S.C04.Rsp verification: | + ./chip-tool generalcommissioning read breadcrumb 1 0 + Verify on the TH Log: + + [1657781070.617341][4823:4828] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0030 Attribute 0x0000_0000 DataVersion: 2383846386 + [1657781070.617458][4823:4828] CHIP:TOO: Breadcrumb: 1 + [1657781070.617656][4823:4828] CHIP:EM: Sending Standalone Ack for MessageCounter:198695370 on exchange 43070i disabled: true - label: "TH sends ArmFailSafe command to the DUT with ExpiryLengthSeco nds set to 0" verification: | + ./chip-tool generalcommissioning arm-fail-safe 0 0 1 0 + + Verify on the TH Log: + [1657626058.290176][2767:2772] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0030 Command=0x0000_0001 + [1657626058.290276][2767:2772] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0030 Command 0x0000_0001 + [1657626058.290399][2767:2772] CHIP:TOO: ArmFailSafeResponse: { + [1657626058.290501][2767:2772] CHIP:TOO: errorCode: 0 + [1657626058.290560][2767:2772] CHIP:TOO: debugText: + [1657626058.290613][2767:2772] CHIP:TOO: } + [1657626058.290699][2767:2772] CHIP:DMG: ICR moving to [AwaitingDe] disabled: true - label: "TH reads Networks attribute from the DUT" PICS: CNET.S.A0001 verification: | + ./chip-tool networkcommissioning read networks 1 0 + + Verify on the TH Log: + [1657790810.454838][5308:5313] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0001 DataVersion: 2276799582 + [1657790810.454996][5308:5313] CHIP:TOO: Networks: 1 entries + [1657790810.455100][5308:5313] CHIP:TOO: [1]: { + [1657790810.455168][5308:5313] CHIP:TOO: NetworkID: 1850171990782922 + [1657790810.455225][5308:5313] CHIP:TOO: Connected: TRUE + [1657790810.455280][5308:5313] CHIP:TOO: } + [1657790810.455479][5308:5313] CHIP:EM: Sending Standalone Ack for MessageCounter:256297954 on exchange 23059i disabled: true - label: - "TH sends ArmFailSafe command to the DUT with ExpiryLengthSeconds set + "TH sends ArmFailSafe command to the DUT with ExpiryLengthSeco nds set to 90" verification: | - + ./chip-tool generalcommissioning arm-fail-safe 90 0 1 0 + + Verify on the TH Log: + + [1657626161.611078][2780:2785] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0030 Command=0x0000_0001 + [1657626161.611183][2780:2785] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0030 Command 0x0000_0001 + [1657626161.611310][2780:2785] CHIP:TOO: ArmFailSafeResponse: { + [1657626161.611412][2780:2785] CHIP:TOO: errorCode: 0 + [1657626161.611471][2780:2785] CHIP:TOO: debugText: + [1657626161.611525][2780:2785] CHIP:TOO: } + [1657626161.611613][2780:2785] CHIP:DMG: ICR moving to [AwaitingDe] + [1657626161.611722][2780:2785] CHIP:EM: Sending Standalone Ack for MessageCounter:216998470 on exchange 11517i disabled: true - label: "TH sends RemoveNetwork Command to the DUT with NetworkID field set to - PIXIT.CNET.WIFI 1ST_ACCESSPOINT _SSID and Breadcrumb field set to 1" + extended PAN ID of PIXIT.CNET.THRE AD_1ST_OPERATI ONALDATASET and + Breadcrumb field set to 1" PICS: CNET.S.C04.Rsp && CNET.S.C05.Tx verification: | - + ./chip-tool networkcommissioning remove-network hex:1850171990782922 32 0 --Breadcrumb 1 + + Verify on the TH Log: + + [1657791030.761976][5336:5341] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0031 Command=0x0000_0005 + [1657791030.762070][5336:5341] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Command 0x0000_0005 + [1657791030.762217][5336:5341] CHIP:TOO: NetworkConfigResponse: { + [1657791030.762314][5336:5341] CHIP:TOO: networkingStatus: 0 + [1657791030.762375][5336:5341] CHIP:TOO: networkIndex: 0 + [1657791030.762427][5336:5341] CHIP:TOO: } + [1657791030.762511][5336:5341] CHIP:DMG: ICR moving to [AwaitingDe] + [1657791030.762608][5336:5341] CHIP:EM: Sending Standalone Ack for MessageCounter:266194732 on exchange 7795i disabled: true - - label: "TH sends the CommissioningComplete command to the DUT" + - label: "TH sends the CommissioningCo mplete command to the DUT" PICS: CNET.S.C04.Rsp verification: | - + ./chip-tool generalcommissioning commissioning-complete 1 0 + + Verify on the TH Log: + + [1657626243.485752][2795:2801] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0030 Command=0x0000_0005 + [1657626243.485947][2795:2801] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0030 Command 0x0000_0005 + [1657626243.486108][2795:2801] CHIP:TOO: CommissioningCompleteResponse: { + [1657626243.486232][2795:2801] CHIP:TOO: errorCode: 0 + [1657626243.486293][2795:2801] CHIP:TOO: debugText: + [1657626243.486368][2795:2801] CHIP:TOO: } + [1657626243.486455][2795:2801] CHIP:DMG: ICR moving to [AwaitingDe] + [1657626243.486572][2795:2801] CHIP:EM: Sending Standalone Ack for MessageCounter:8090042 on exchange 53943i disabled: true - label: @@ -150,11 +265,29 @@ tests: failsafe context. This call should have no effect if Commissionining Complete call is handled correctly" verification: | + ./chip-tool generalcommissioning arm-fail-safe 0 0 62 0 + + Verify on the TH Log: + + [1657626274.218994][2802:2807] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0030 Command=0x0000_0001 + [1657626274.219096][2802:2807] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0030 Command 0x0000_0001 + [1657626274.219220][2802:2807] CHIP:TOO: ArmFailSafeResponse: { + [1657626274.219322][2802:2807] CHIP:TOO: errorCode: 0 + [1657626274.219381][2802:2807] CHIP:TOO: debugText: + [1657626274.219436][2802:2807] CHIP:TOO: } + [1657626274.219522][2802:2807] CHIP:DMG: ICR moving to [AwaitingDe] + [1657626274.219632][2802:2807] CHIP:EM: Sending Standalone Ack for MessageCounter:52231112 on exchange 13160i disabled: true - label: "TH reads Networks attribute from the DUT" PICS: CNET.S.A0001 verification: | + ./chip-tool networkcommissioning read networks 1 0 + + Verify on the TH Log: + [1657626300.861344][2808:2813] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0001 DataVersion: 1201757611 + [1657626300.861492][2808:2813] CHIP:TOO: Networks: 0 entries + [1657626300.861678][2808:2813] CHIP:EM: Sending Standalone Ack for MessageCounter:89835226 on exchange 41681i disabled: true 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 454ee58befe331..5960a4a50c3486 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 @@ -25,7 +25,9 @@ config: tests: - label: "TH sends ArmFailSafe command to the DUT" verification: | - ./chip-tool generalcommissioning arm-fail-safe 60 0 1 0 + ./chip-tool generalcommissioning arm-fail-safe 900 1 1 0 + + Verify on the TH Log: [1653479952.284160][30473:30478] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0030 Command 0x0000_0001 @@ -38,51 +40,86 @@ tests: disabled: true - label: - "TH readsNetworksattribute from theDUT and saves thenumber of - entriesas 'NumNetworks'" + "TH reads Networks attribute from the DUT and saves the number of + entries as 'NumNetworks'" PICS: CNET.S.A0001 verification: | - ./chip-tool networkcommissioning add-or-update-wi-fi-network hex:47524C50726976617465 grlprivate092010 1 0 + ./chip-tool networkcommissioning read networks 1 0 - [1653479952.712215][30479:30484] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Command 0x0000_0005 - [1653479952.712331][30479:30484] CHIP:TOO: NetworkConfigResponse: { - [1653479952.712386][30479:30484] CHIP:TOO: networkingStatus: 0 - [1653479952.712426][30479:30484] CHIP:TOO: networkIndex: 0 - [1653479952.712464][30479:30484] CHIP:TOO: } - [1653479952.712522][30479:30484] CHIP:DMG: ICR moving to [AwaitingDe] - [1653479952.712603][30479:30484] CHIP:EM: Sending Standalone Ack for MessageCounter:3047410 on exchange 13787i + Verify on the TH Log: + + [1657733068.835240][7475:7480] CHIP:TOO: Networks: 1 entries + [1657733068.835354][7475:7480] CHIP:TOO: [1]: { + [1657733068.835434][7475:7480] CHIP:TOO: NetworkID: 47524C50726976617465 + [1657733068.835487][7475:7480] CHIP:TOO: Connected: TRUE + [1657733068.835535][7475:7480] CHIP:TOO: } disabled: true - label: - "TH sendsRemoveNetworkCommand to theDUT withNetworkID fieldset - toPIXIT.CNET.WIFI_r 1ST_ACCESSPOINT_SSID andBreadcrumb fieldset to 1" + "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: | + + disabled: true + + - label: + "TH sends RemoveNetwork Command to the DUT with NetworkID field set to + PIXIT.CNET.WIFI_ 1ST_ACCESSPOINT _SSID and Breadcrumb field set to 1" PICS: CNET.S.C04.Rsp && CNET.S.C05.Tx verification: | - ./chip-tool networkcommissioning read networks 1 0 + ./chip-tool networkcommissioning remove-network hex:47524C50726976617465 1 0 --Breadcrumb 1 + + Verify on the TH Log: - [1653479953.145038][30485:30490] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0001 DataVersion: 1600858167 - [1653479953.145152][30485:30490] CHIP:TOO: Networks: 1 entries - [1653479953.145229][30485:30490] CHIP:TOO: [1]: { - [1653479953.145272][30485:30490] CHIP:TOO: NetworkID: 47524C50726976617465 - [1653479953.145310][30485:30490] CHIP:TOO: Connected: TRUE - [1653479953.145348][30485:30490] CHIP:TOO: } - [1653479953.145487][30485:30490] CHIP:EM: Sending Standalone Ack for MessageCounter:15337587 on exchange 47183i + [1657290079.168208][2668:2673] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Command 0x0000_0005 + [1657290079.168273][2668:2673] CHIP:TOO: NetworkConfigResponse: { + [1657290079.168311][2668:2673] CHIP:TOO: networkingStatus: 0 + [1657290079.168338][2668:2673] CHIP:TOO: networkIndex: 0 + [1657290079.168362][2668:2673] CHIP:TOO: } disabled: true - label: - "TH sendsAddOrUpdateWiFiNetworkcommand to theDUT with SSIDfield set - toPIXIT.CNET.WIFI_r 2ND_ACCESSPOINT_SSID,Credentials fieldset - toPIXIT.CNET.WIFI_2ND_ACCESSPOINr T_CREDENTIALSand Breadcrumbfield set - to 1" + "TH sends AddOrUpdateWiFi Network command to the DUT with SSID field + set to PIXIT.CNET.WIFI_ 2ND_ACCESSPOIN T_SSID, Credentials field set + to PIXIT.CNET.WIFI_ 2ND_ACCESSPOIN T_CREDENTIALS and Breadcrumb field + set to 1" PICS: CNET.S.C02.Rsp && CNET.S.C05.Tx verification: | + ./chip-tool networkcommissioning add-or-update-wi-fi-network Sbee_Moto Sunsuraj 1 0 --Breadcrumb 1 ( second network) + + Verify on the TH Log: + [1657288838.207746][2455:2460] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0031 Command=0x0000_0005 + [1657288838.207816][2455:2460] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Command 0x0000_0005 + [1657288838.207935][2455:2460] CHIP:TOO: NetworkConfigResponse: { + [1657288838.207990][2455:2460] CHIP:TOO: networkingStatus: 0 + [1657288838.208030][2455:2460] CHIP:TOO: networkIndex: 0 + [1657288838.208068][2455:2460] CHIP:TOO: } disabled: true - - label: "TH readsNetworksattribute from theDUT" + - label: "TH reads Networks attribute from the DUT" PICS: CNET.S.A0001 verification: | - ./chip-tool networkcommissioning connect-network hex:47524C50726976617465 1 0 + ./chip-tool networkcommissioning read networks 1 0 + + Verify on the TH Log: + + [1657733345.351745][7595:7600] CHIP:TOO: Networks: 1 entries + [1657733345.351888][7595:7600] CHIP:TOO: [1]: { + [1657733345.351952][7595:7600] CHIP:TOO: NetworkID: 536265655F4D6F746F + [1657733345.352000][7595:7600] CHIP:TOO: Connected: FALSE + [1657733345.352053][7595:7600] CHIP:TOO: } + disabled: true + + - label: + "TH sendsConnectNetworkcommand to theDUT withNetworkID fieldset + toPIXIT.CNET.WIFI 2ND_ACCESSPOINT_SSID andBreadcrumb fieldset to 2" + PICS: CNET.S.C06.Rsp + verification: | + ./chip-tool networkcommissioning connect-network hex:536265655F4D6F746F 1 0 --Breadcrumb 2 (second network) + + Verify on the TH Log: [1653479953.633815][30491:30496] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Command 0x0000_0007 @@ -95,127 +132,207 @@ tests: disabled: true - label: - "TH sendsConnectNetworkcommand to theDUT withNetworkID fieldset - toPIXIT.CNET.WIFI_r 2ND_ACCESSPOINT_SSID andBreadcrumb fieldset to 2" - PICS: CNET.S.C06.Rsp + "TH changes its WiFi connection to + PIXIT.CNET.WIFI_2ND_ACCESSPOINT_SSID" verification: | disabled: true - label: - "TH sendsConnectNetworkcommand to theDUT withNetworkID fieldset - toPIXIT.CNET.WIFI_r 2ND_ACCESSPOINT_SSID andBreadcrumb fieldset to 2" + "TH discovers andconnects to DUTon thePIXIT.CNET.WIFI_ + 2ND_ACCESSPOINT_SSID operational network" verification: | ./chip-tool networkcommissioning read networks 1 0 + Verify on the TH Log: - [1653479954.067458][30497:30502] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0001 DataVersion: 1600858167 - [1653479954.067569][30497:30502] CHIP:TOO: Networks: 1 entries - [1653479954.067639][30497:30502] CHIP:TOO: [1]: { - [1653479954.067678][30497:30502] CHIP:TOO: NetworkID: 47524C50726976617465 - [1653479954.067714][30497:30502] CHIP:TOO: Connected: TRUE - [1653479954.067748][30497:30502] CHIP:TOO: } - [1653479954.067886][30497:30502] CHIP:EM: Sending Standalone Ack for MessageCounter:4152736 on exchange 20582i - disabled: true - - - label: - "TH discovers andconnects to DUTon - thePIXIT.CNET.WIFI_2ND_ACCESSPOINT_SSID operationalr network" - verification: | + [1657733596.457792][7640:7645] CHIP:TOO: Networks: 1 entries + [1657733596.457867][7640:7645] CHIP:TOO: [1]: { + [1657733596.457906][7640:7645] CHIP:TOO: NetworkID: 536265655F4D6F746F + [1657733596.457940][7640:7645] CHIP:TOO: Connected: TRUE + [1657733596.457972][7640:7645] CHIP:TOO: } disabled: true - label: - "TH readsBreadcrumbattribute from theGeneralCommissioningcluster of + "TH readsBreadcrumbattribute from theGeneral\r Commissioningcluster of the DUT" PICS: CNET.S.C06.Rsp verification: | + ./chip-tool generalcommissioning read breadcrumb 1 0 + Verify on the TH Log: + + [1657733618.370511][7653:7658] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0030 Attribute 0x0000_0000 DataVersion: 2956231097 + [1657733618.370581][7653:7658] CHIP:TOO: Breadcrumb: 2 disabled: true - label: - "TH sendsArmFailSafecommand to theDUT withExpiryLengthSeconds set to - 0. Thisr forcibly disarmsthe fail-safe and isexpected to causethe + "TH sendsArmFailSafecommand to theDUT with ExpiryLengthSeconds set to + 0. This forcibly disarmsthe fail-safe and isexpected to causethe changes ofconfiguration toNetworkCommissioning cluster doneso far to bereverted." verification: | + ./chip-tool generalcommissioning arm-fail-safe 0 0 1 0 + + Verify on the TH Log: + [1657289119.775902][2519:2524] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0030 Command=0x0000_0001 + [1657289119.775973][2519:2524] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0030 Command 0x0000_0001 + [1657289119.776050][2519:2524] CHIP:TOO: ArmFailSafeResponse: { + [1657289119.776102][2519:2524] CHIP:TOO: errorCode: 0 + [1657289119.776141][2519:2524] CHIP:TOO: debugText: + [1657289119.776177][2519:2524] CHIP:TOO: } disabled: true - label: - "TH changes itsWiFi connection toPIXIT.CNET.WIFI_1ST_ACCESSPOINT_SSID" + "TH changes itsWiFi connection toPIXIT.CNET.WIFI_\r + 1ST_ACCESSPOINT_SSID" verification: | disabled: true - label: - "TH discovers andconnects to DUTon - thePIXIT.CNET.WIFI_1ST_ACCESSPOINT_SSID operationalr network" + "TH discovers and connects to DUT on the PIXIT.CNET.WIFI_ + 1ST_ACCESSPOINT _SSID operational network" verification: | + ./chip-tool networkcommissioning read networks 1 0 + Verify on the TH Log: + + [1657881740.139492][3022:3027] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0001 DataVersion: 4005581086 + [1657881740.139598][3022:3027] CHIP:TOO: Networks: 0 entries + [1657881740.139716][3022:3027] CHIP:EM: Sending Standalone Ack for MessageCounter:261851669 on exchange 34342i disabled: true - label: - "TH sendsArmFailSafecommand to theDUT withExpiryLengthSeconds set to - 900" + "TH sendsArmFailSafecommand to theDUT with\r ExpiryLengthSeconds set + to 900" verification: | + ./chip-tool generalcommissioning arm-fail-safe 900 0 1 0 + + Verify on the TH Log: + [1657289228.311622][2529:2534] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0030 Command=0x0000_0001 + [1657289228.311668][2529:2534] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0030 Command 0x0000_0001 + [1657289228.311721][2529:2534] CHIP:TOO: ArmFailSafeResponse: { + [1657289228.311758][2529:2534] CHIP:TOO: errorCode: 0 + [1657289228.311783][2529:2534] CHIP:TOO: debugText: + [1657289228.311806][2529:2534] CHIP:TOO: } disabled: true - label: "TH sendsRemoveNetworkCommand to theDUT withNetworkID fieldset - toPIXIT.CNET.WIFI_r 1ST_ACCESSPOINT_SSID andBreadcrumb fieldset to 1" + toPIXIT.CNET.WIFI_ 1ST_ACCESSPOINT_SSID andBreadcrumb fieldset to 1" PICS: CNET.S.C04.Rsp && CNET.S.C05.Tx verification: | + ./chip-tool networkcommissioning remove-network hex:47524C50726976617465 1 0 --Breadcrumb 1 + Verify on the TH Log: + + [1653479953.633815][30491:30496] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Command 0x0000_0007 + [1653479953.633986][30491:30496] CHIP:TOO: ConnectNetworkResponse: { + [1653479953.634133][30491:30496] CHIP:TOO: networkingStatus: 0 + [1653479953.634195][30491:30496] CHIP:TOO: errorValue: null + [1653479953.634275][30491:30496] CHIP:TOO: } + [1653479953.634367][30491:30496] CHIP:DMG: ICR moving to [AwaitingDe] + [1653479953.634501][30491:30496] CHIP:EM: Sending Standalone Ack for MessageCounter:490923 on exchange 21425i disabled: true - label: "TH sendsAddOrUpdateWiFiNetworkcommand to theDUT with SSIDfield set - toPIXIT.CNET.WIFI_r 2ND_ACCESSPOINT_SSID,Credentials fieldset - toPIXIT.CNET.WIFI_2ND_ACCESSPOINr T_CREDENTIALSand Breadcrumbfield set - to 1" + toPIXIT.CNET.WIFI_ 2ND_ACCESSPOINT_SSID,Credentials fieldset to + PIXIT.CNET.WIFI_2ND_ACCESSPOIN T_CREDENTIALSand Breadcrumbfield set to + 1" PICS: CNET.S.C02.Rsp && CNET.S.C05.Tx verification: | + ./chip-tool networkcommissioning add-or-update-wi-fi-network Sbee_Moto Sunsuraj 1 0 --Breadcrumb 1 ( second network) + + Verify on the TH Log: + [1657734444.832145][7736:7741] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Command 0x0000_0005 + [1657734444.832215][7736:7741] CHIP:TOO: NetworkConfigResponse: { + [1657734444.832251][7736:7741] CHIP:TOO: networkingStatus: 0 + [1657734444.832277][7736:7741] CHIP:TOO: networkIndex: 0 + [1657734444.832299][7736:7741] CHIP:TOO: } + [1657734444.832335][7736:7741] CHIP:DMG: ICR moving to [AwaitingDe] disabled: true - label: "TH sendsConnectNetworkcommand to theDUT withNetworkID fieldset - toPIXIT.CNET.WIFI_r 2ND_ACCESSPOINT_SSID andBreadcrumb fieldset to 3" + toPIXIT.CNET.WIFI_ 2ND_ACCESSPOINT_SSID andBreadcrumb fieldset to 3" PICS: CNET.S.C06.Rsp && CNET.S.C07.Tx verification: | + ./chip-tool networkcommissioning connect-network hex:536265655F4D6F746F 1 0 --Breadcrumb 3 (second network) + Verify on the TH Log: + + [1657734624.698518][7768:7773] CHIP:TOO: ConnectNetworkResponse: { + [1657734624.698601][7768:7773] CHIP:TOO: networkingStatus: 0 + [1657734624.698661][7768:7773] CHIP:TOO: errorValue: null + [1657734624.698740][7768:7773] CHIP:TOO: } disabled: true - label: - "TH changes itsWiFi connection toPIXIT.CNET.WIFI_2ND_ACCESSPOINT_SSID" + "TH changes itsWiFi connection toPIXIT.CNET.WIFI_\r + 2ND_ACCESSPOINT_SSID" verification: | disabled: true - label: - "TH discovers andconnects to DUTon - thePIXIT.CNET.WIFI_2ND_ACCESSPOINT_SSID operationalr network" + "TH discovers andconnects to DUTon thePIXIT.CNET.WIFI_ + 2ND_ACCESSPOINT_SSID operational network" verification: | + ./chip-tool networkcommissioning read networks 1 0 + + Verify on the TH Log: + [1657733596.457792][7640:7645] CHIP:TOO: Networks: 1 entries + [1657733596.457867][7640:7645] CHIP:TOO: [1]: { + [1657733596.457906][7640:7645] CHIP:TOO: NetworkID: 536265655F4D6F746F + [1657733596.457940][7640:7645] CHIP:TOO: Connected: TRUE + [1657733596.457972][7640:7645] CHIP:TOO: } disabled: true - label: - "TH readsBreadcrumbattribute from theGeneralCommissioningcluster of + "TH readsBreadcrumbattribute from theGeneral\r Commissioningcluster of the DUT" PICS: CNET.S.C06.Rsp verification: | + ./chip-tool generalcommissioning read breadcrumb 1 0 + + Verify on the TH Log: + + [1657734757.740003][7793:7798] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0030 Attribute 0x0000_0000 DataVersion: 2956231102 + [1657734757.740140][7793:7798] CHIP:TOO: Breadcrumb: 3 disabled: true - label: "TH sends theCommissioningComplete commandto the DUT" verification: | + ./chip-tool generalcommissioning commissioning-complete 1 0 + + Verify on the TH Log: + [1657734803.411199][7802:7808] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0030 Command 0x0000_0005 + [1657734803.411256][7802:7808] CHIP:TOO: CommissioningCompleteResponse: { + [1657734803.411306][7802:7808] CHIP:TOO: errorCode: 0 + [1657734803.411333][7802:7808] CHIP:TOO: debugText: + [1657734803.411356][7802:7808] CHIP:TOO: } disabled: true - label: "TH readsNetworksattribute from theDUT" PICS: CNET.S.A0001 verification: | + ./chip-tool networkcommissioning read networks 1 0 + + Verify on the TH Log: + + [1657734855.925075][7819:7824] CHIP:TOO: Networks: 1 entries + [1657734855.925147][7819:7824] CHIP:TOO: [1]: { + [1657734855.925185][7819:7824] CHIP:TOO: NetworkID: 536265655F4D6F746F + [1657734855.925215][7819:7824] CHIP:TOO: Connected: TRUE + [1657734855.925243][7819:7824] CHIP:TOO: } disabled: true 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 ca82f170e02c5b..e7a0a55cda936e 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 @@ -27,183 +27,211 @@ tests: "During the commissioning process, TH and DUT, TH sends ArmFailSafe command to the DUT" verification: | - Executed during the commissioning - ubuntu@ubuntu:~/cntl/connectedhomeip/examples/chip-tool/out/debug$ ./chip-tool pairing ble-thread 62 hex:0e080000000000010000000300001035060004001fffe0020801191008990820220708fd067fa7635e1066051009116253045736078899aabbccddeeff030e4f70656e686b72657069446f6e6f01021234041029282c49503302ea4536648015d1ff180c0402a0fff8 20202021 3840 - [1650388629.653868][9682:9682] CHIP:DL: ChipLinuxStorage::Init: Using KVS config file: /tmp/chip_kvs + ./chip-tool generalcommissioning arm-fail-safe 900 1 22 0 - [1650388634.822788][9682:9687] CHIP:CTL: Commissioning stage next step: 'ReadCommissioningInfo' -> 'ArmFailSafe' - [1650388634.822849][9682:9687] CHIP:CTL: Performing next commissioning step 'ArmFailSafe' - [1650388634.822902][9682:9687] CHIP:CTL: Arming failsafe (60 seconds) - [1650388635.103211][9682:9687] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0030 Command=0x0000_0001 - [1650388635.103362][9682:9687] CHIP:CTL: Received ArmFailSafe response - [1650388635.103426][9682:9687] CHIP:CTL: Successfully finished commissioning step 'ArmFailSafe' + Verify on the TH Log: + [1657808518.577084][5979:5984] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0030 Command=0x0000_0001 + [1657808518.577181][5979:5984] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0030 Command 0x0000_0001 + [1657808518.577311][5979:5984] CHIP:TOO: ArmFailSafeResponse: { + [1657808518.577409][5979:5984] CHIP:TOO: errorCode: 0 + [1657808518.577466][5979:5984] CHIP:TOO: debugText: + [1657808518.577518][5979:5984] CHIP:TOO: } + [1657808518.577604][5979:5984] CHIP:DMG: ICR moving to [AwaitingDe] + [1657808518.577705][5979:5984] CHIP:EM: Sending Standalone Ack for MessageCounter:240383707 on exchange 56756i disabled: true - label: - "TH readsNetworksattribute from theDUT and saves thenumber of - entriesas 'NumNetworks'" + "TH reads Networks attribute from the DUT and saves the number of + entries as 'NumNetworks'" PICS: CNET.S.A0001 verification: | - Executed during the commissioning - ubuntu@ubuntu:~/cntl/connectedhomeip/examples/chip-tool/out/debug$ ./chip-tool pairing ble-thread 62 hex:0e080000000000010000000300001035060004001fffe0020801191008990820220708fd067fa7635e1066051009116253045736078899aabbccddeeff030e4f70656e686b72657069446f6e6f01021234041029282c49503302ea4536648015d1ff180c0402a0fff8 20202021 3840 - [1650388629.653868][9682:9682] CHIP:DL: ChipLinuxStorage::Init: Using KVS config file: /tmp/chip_kvs + ./chip-tool networkcommissioning read networks 22 0 + Verify on the TH Log: - [1650388638.775935][9682:9687] CHIP:CTL: Successfully finished commissioning step 'SendNOC' - [1650388638.775991][9682:9687] CHIP:CTL: Commissioning stage next step: 'SendNOC' -> 'ThreadNetworkSetup' - [1650388638.776048][9682:9687] CHIP:CTL: Performing next commissioning step 'ThreadNetworkSetup' - [1650388639.091089][9682:9687] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0031 Command=0x0000_0005 - [1650388639.091215][9682:9687] CHIP:CTL: Received NetworkConfig response - [1650388639.091281][9682:9687] CHIP:CTL: Successfully finished commissioning step 'ThreadNetworkSetup' - [1650388639.091336][9682:9687] CHIP:CTL: Commissioning stage next step: 'ThreadNetworkSetup' -> 'ThreadNetworkEnable' - [1650388639.091393][9682:9687] CHIP:CTL: Performing next commissioning step 'ThreadNetworkEnable' + [1657808547.048515][5988:5993] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0001 DataVersion: 1213114000 + [1657887601.758284][3446:3451] CHIP:TOO: Networks: 1 entries + [1657887601.758396][3446:3451] CHIP:TOO: [1]: { + [1657887601.758466][3446:3451] CHIP:TOO: NetworkID: 1111111152222222 + [1657887601.758524][3446:3451] CHIP:TOO: Connected: TRUE + [1657887601.758578][3446:3451] CHIP:TOO: } + + [1657808547.049138][5988:5993] CHIP:EM: Sending Standalone Ack for MessageCounter:115176450 on exchange 56560i disabled: true - label: - "TH saves the indexof the Networkslist entry fromstep 2 - asUserth_netidx" + "TH saves the index of the Networks list entry from step 2 as + Userth_netidx" verification: | - TH1 saves the timestamp as CT1 + disabled: true - label: - "TH sendsRemoveNetworkCommand to theDUT withNetworkID fieldset to - th_xpan andr Breadcrumb fieldset to 1" + "TH sends RemoveNetwork Command to the DUT with NetworkID field set to + th_xpan and Breadcrumb field set to 1" PICS: CNET.S.C04.Rsp && CNET.S.C05.Tx verification: | - Executed during the commissioning + ./chip-tool networkcommissioning remove-network hex:1111111152222222 22 0 - [1650388642.195472][9682:9687] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0031 Command=0x0000_0007 - [1650388642.195553][9682:9687] CHIP:CTL: Received ConnectNetwork response - [1650388642.195614][9682:9687] CHIP:CTL: Successfully finished commissioning step 'ThreadNetworkEnable' + Verify on the TH Log: + + [1657808740.364069][5996:6001] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0031 Command=0x0000_0005 + [1657808740.364170][5996:6001] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Command 0x0000_0005 + [1657808740.364321][5996:6001] CHIP:TOO: NetworkConfigResponse: { + [1657808740.364422][5996:6001] CHIP:TOO: networkingStatus: 0 + [1657808740.364484][5996:6001] CHIP:TOO: networkIndex: 0 + [1657808740.364540][5996:6001] CHIP:TOO: } + [1657808740.364627][5996:6001] CHIP:DMG: ICR moving to [AwaitingDe] + [1657808740.364725][5996:6001] CHIP:EM: Sending Standalone Ack for MessageCounter:3675459 on exchange 43075i disabled: true - label: - "TH sendsAddOrUpdateThreadNetworkcommand to theDUT - withoperationaldataset field set - toPIXIT.CNET.THREAD_2ND_OPERATIONALDATASETand Breadcrumbfield set to 1" + "TH sends AddOrUpdateThre adNetwork command to the DUT with + operational dataset field set to PIXIT.CNET.THRE AD_2ND_OPERATI + ONALDATASET and Breadcrumb field set to 1" PICS: CNET.S.C03.Rsp && CNET.S.C05.Tx verification: | - TH1 saves the timestamp as CT2 + ./chip-tool networkcommissioning add-or-update-thread-network hex:0e080000000000010000000300000f35060004001fffe0020811111111282222220708fd5930b7d8b62f58051000112233445562778899aabbccddeeff030e4f70656e54687265746444656d6f010212340410005ed405199188e1a5c0dd607282d7480c0402a0fff8 22 0 (second network dataset value) + + Verify on the TH Log: + + [1657809088.095574][6022:6027] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Command 0x0000_0005 + [1657809088.095728][6022:6027] CHIP:TOO: NetworkConfigResponse: { + [1657809088.095828][6022:6027] CHIP:TOO: networkingStatus: 0 + [1657809088.095889][6022:6027] CHIP:TOO: networkIndex: 0 + [1657809088.095943][6022:6027] CHIP:TOO: } + [1657809088.096030][6022:6027] CHIP:DMG: ICR moving to [AwaitingDe] + [1657809088.096131][6022:6027] CHIP:EM: Sending Standalone Ack for MessageCounter:17614664 on exchange 10016i disabled: true - - label: "TH readsNetworksattribute from theDUT" + - label: "TH reads Networks attribute from the DUT" PICS: CNET.S.A0001 verification: | - ubuntu@ubuntu:~/connectedhomeip/examples/chip-tool/out/debug$ ./chip-tool networkcommissioning read networks 162 0 + ./chip-tool networkcommissioning read networks 22 0 + + Verify on the TH Log: - [1645772651.445097][3856:3861] CHIP:DMG: SuppressResponse = true, - [1645772651.445149][3856:3861] CHIP:DMG: InteractionModelRevision = 1 - [1645772651.445209][3856:3861] CHIP:DMG: } - [1645772651.445754][3856:3861] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0001DataVersion: 92121563 - [1645772651.445875][3856:3861] CHIP:TOO: Networks: 1 entries - [1645772651.446057][3856:3861] CHIP:TOO: [1]: { - [1645772651.446120][3856:3861] CHIP:TOO: NetworkID: 0119100899082022 - [1650389742.394958][9809:9814] CHIP:TOO: Connected: TRUE - [1645772651.446228][3856:3861] CHIP:TOO: } - [1645772651.446431][3856:3861] CHIP:EM: Sending Standalone Ack for MessageCounter:12695576 on exchange 11133i + [1657809209.998296][6029:6034] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0001 DataVersion: 1213114000 + [1657887708.272234][3468:3473] CHIP:TOO: Networks: 1 entries + [1657887708.272346][3468:3473] CHIP:TOO: [1]: { + [1657887708.272415][3468:3473] CHIP:TOO: NetworkID: 1161111128222222 + [1657887708.272472][3468:3473] CHIP:TOO: Connected: FALSE + [1657887708.272527][3468:3473] CHIP:TOO: } + [1657809209.999036][6029:6034] CHIP:EM: Sending Standalone Ack for MessageCounter:117964728 on exchange 14021i disabled: true - label: - "TH sendsConnectNetworkcommand to theDUT withNetworkID fieldset - toPIXIT.CNET.THREr AD_2ND_OPERATIONALDATASETand Breadcrumbfield set to - 2" + "TH sends ConnectNetwork command to the DUT with NetworkID field set + to PIXIT.CNET.THRE AD_2ND_OPERATI ONALDATASET and Breadcrumb field set + to 2" PICS: CNET.S.C06.Rsp verification: | + ./chip-tool networkcommissioning connect-network hex:1161111128222222 1 0 --Breadcrumb 2 + Verify on the TH Log: + + [1657887765.287786][3477:3482] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0031 Command=0x0000_0007 + [1657887765.287890][3477:3482] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Command 0x0000_0007 + [1657887765.288052][3477:3482] CHIP:TOO: ConnectNetworkResponse: { + [1657887765.288157][3477:3482] CHIP:TOO: networkingStatus: 0 + [1657887765.288218][3477:3482] CHIP:TOO: errorValue: null + [1657887765.288272][3477:3482] CHIP:TOO: } + [1657887765.288359][3477:3482] CHIP:DMG: ICR moving to [AwaitingDe] + [1657887765.288468][3477:3482] CHIP:EM: Sending Standalone Ack for MessageCounter:268153454 on exchange 57665i disabled: true - label: - "TH discovers andconnects to DUTon - thePIXIT.CNET.THREAD_2ND_OPERATIONALDATASETr operationalnetwork" + "TH discovers and connects to DUT on the PIXIT.CNET.THRE + AD_2ND_OPERATI ONALDATASET operational network" verification: | disabled: true - label: - "TH readsBreadcrumbattribute from theGeneralCommissioningcluster of - the DUT" + "TH reads Breadcrumb attribute from the General Commissioning cluster + of the DUT" PICS: CNET.S.C06.Rsp verification: | disabled: true - label: - "TH sendsArmFailSafecommand to theDUT withExpiryLengthSeconds set to - 0. Thisr forcibly disarmsthe fail-safe and isexpected to causethe - changes ofconfiguration toNetworkCommissioning cluster doneso far to - bereverted." + "TH sends ArmFailSafe command to the DUT with ExpiryLengthSeco nds set + to 0. This forcibly disarms the fail-safe and is expected to cause the + changes of configuration to NetworkCommissi oning cluster done so far + to be reverted." verification: | disabled: true - label: - "TH changes itsWiFi connection toPIXIT.CNET.WIFI_1ST_ACCESSPOINT_SSID" + "TH changes its WiFi connection to PIXIT.CNET.WIFI_ 1ST_ACCESSPOINT + _SSID" verification: | disabled: true - label: - "TH discovers andconnects to DUTon - thePIXIT.CNET.WIFI_1ST_ACCESSPOINT_SSID operationalr network" + "TH discovers and connects to DUT on the PIXIT.CNET.WIFI_ + 1ST_ACCESSPOINT _SSID operational network" verification: | disabled: true - - label: - "TH sendsArmFailSafecommand to theDUT withExpiryLengthSeconds set to - 900" + "TH sends ArmFailSafe command to the DUT with ExpiryLengthSeco nds set + to 900" verification: | disabled: true - label: - "TH sendsRemoveNetworkCommand to theDUT withNetworkID fieldset - toPIXIT.CNET.WIFI_r 1ST_ACCESSPOINT_SSID andBreadcrumb fieldset to 1" + "TH sends RemoveNetwork Command to the DUT with NetworkID field set to + PIXIT.CNET.WIFI_ 1ST_ACCESSPOINT _SSID and Breadcrumb field set to 1" PICS: CNET.S.C04.Rsp && CNET.S.C05.Tx verification: | disabled: true - label: - "TH sendsAddOrUpdateWiFiNetworkcommand to theDUT with SSIDfield set - toPIXIT.CNET.WIFI_r 2ND_ACCESSPOINT_SSID,Credentials fieldset - toPIXIT.CNET.WIFI_2ND_ACCESSPOINr T_CREDENTIALSand Breadcrumbfield set - to 1" + "TH sends AddOrUpdateWiFi Network command to the DUT with SSID field + set to PIXIT.CNET.WIFI_ 2ND_ACCESSPOIN T_SSID, Credentials field set + to PIXIT.CNET.WIFI_ 2ND_ACCESSPOIN T_CREDENTIALS and Breadcrumb field + set to 1" PICS: CNET.S.C02.Rsp && CNET.S.C05.Tx verification: | disabled: true - label: - "TH sendsConnectNetworkcommand to theDUT withNetworkID fieldset - toPIXIT.CNET.WIFI_r 2ND_ACCESSPOINT_SSID andBreadcrumb fieldset to 3" + "TH sends ConnectNetwork command to the DUT with NetworkID field set + to PIXIT.CNET.WIFI_ 2ND_ACCESSPOIN T_SSID and Breadcrumb field set to + 3" PICS: CNET.S.C06.Rsp && CNET.S.C07.Tx verification: | disabled: true - label: - "TH discovers andconnects to DUTon - thePIXIT.CNET.THREAD_2ND_OPERATIONALDATASETr operationalnetwork" + "TH discovers and connects to DUT on the PIXIT.CNET.THRE + AD_2ND_OPERATI ONALDATASET operational network" verification: | disabled: true - label: - "TH readsBreadcrumbattribute from theGeneralCommissioningcluster of - the DUT" + "TH reads Breadcrumb attribute from the General Commissioning cluster + of the DUT" PICS: CNET.S.C06.Rsp verification: | disabled: true - - label: "TH sends theCommissioningComplete commandto the DUT" + - label: "TH sends the CommissioningCo mplete command to the DUT" verification: | disabled: true - - label: "TH readsNetworksattribute from theDUT" + - label: "TH reads Networks attribute from the DUT" PICS: CNET.S.A0001 verification: | diff --git a/src/app/tests/suites/certification/Test_TC_CNET_4_13.yaml b/src/app/tests/suites/certification/Test_TC_CNET_4_13.yaml index c9872e8de99d27..fc75b78c550758 100644 --- a/src/app/tests/suites/certification/Test_TC_CNET_4_13.yaml +++ b/src/app/tests/suites/certification/Test_TC_CNET_4_13.yaml @@ -27,7 +27,9 @@ tests: "TH sends ArmFailSafe command to the DUT with ExpiryLengthSeco nds set to 900" verification: | - The test case is not verifiable. As MaxNetworks value is 1 but expected is 4 + ./chip-tool generalcommissioning arm-fail-safe 900 0 1 0 + + The test case is not verifiable in RPI platform. As MaxNetworks value is 1 but expected is 4 ( Pre-Condition) disabled: true @@ -36,7 +38,9 @@ tests: entries as 'NumNetworks'" PICS: CNET.S.A0001 verification: | - The test case is not verifiable. As MaxNetworks value is 1 but expected is 4 + ./chip-tool network-commissioning read networks 1 0 + + The test case is not verifiable in RPI platform. As MaxNetworks value is 1 but expected is 4 ( Pre-Condition) disabled: true @@ -45,7 +49,7 @@ tests: 'MaxNetworksVal ue' - 'NumNetworks' and saves as 'RemainingNetwor kSlots'" verification: | - The test case is not verifiable. As MaxNetworks value is 1 but expected is 4 + The test case is not verifiable in RPI platform. As MaxNetworks value is 1 but expected is 4 ( Pre-Condition) disabled: true @@ -54,7 +58,9 @@ tests: argument value as 'Userwifi_ssid2', Credentials argument value as 'Userwifi_Credentials' and Breadcrumb argument value as 1" verification: | - The test case is not verifiable. As MaxNetworks value is 1 but expected is 4 + ./chip-tool networkcommissioning add-or-update-wi-fi-network hex:47524C50726976617465 grlprivate092010 1 0 --Breadcrumb 1 + + The test case is not verifiable in RPI platform. As MaxNetworks value is 1 but expected is 4 ( Pre-Condition) disabled: true @@ -62,7 +68,7 @@ tests: "TH calculates the midpoint of the network list as floor(('MaxNetwor ksValue' + 1)/2) and saves as 'Midpoint'" verification: | - The test case is not verifiable. As MaxNetworks value is 1 but expected is 4 + The test case is not verifiable in RPI platform. As MaxNetworks value is 1 but expected is 4 ( Pre-Condition) disabled: true @@ -70,7 +76,10 @@ tests: "TH sends ArmFailSafe command to the DUT with the ExpiryLengthSeco nds field set to 900" verification: | - The test case is not verifiable. As MaxNetworks value is 1 but expected is 4 + ./chip-tool generalcommissioning arm-fail-safe 900 0 1 0 + + + The test case is not verifiable in RPI platform. As MaxNetworks value is 1 but expected is 4 ( Pre-Condition) disabled: true @@ -81,7 +90,10 @@ tests: credentials are NOT required to be connectable." PICS: CNET.S.C02.Rsp && CNET.S.C05.Tx verification: | + ./chip-tool networkcommissioning add-or-update-wi-fi-network hex:63686970736574757035 matter123 1 0 --Breadcrumb 1 + The test case is not verifiable in RPI platform. As MaxNetworks value is 1 but expected is 4 + ( Pre-Condition) disabled: true - label: @@ -89,7 +101,9 @@ tests: 'OriginalNetworkL ist'" PICS: CNET.S.A0001 verification: | - The test case is not verifiable. As MaxNetworks value is 1 but expected is 4 + ./chip-tool network-commissioning read networks 1 0 + + The test case is not verifiable in RPI platform. As MaxNetworks value is 1 but expected is 4 ( Pre-Condition) disabled: true @@ -99,13 +113,19 @@ tests: NetworkIn dex is 'MaxNetwo rksValue' 3. Breadcrum b is 2" PICS: CNET.S.C08.Rsp && CNET.S.C05.Tx verification: | + ./chip-tool network-commissioning read networks 1 0 + The test case is not verifiable in RPI platform. As MaxNetworks value is 1 but expected is 4 + ( Pre-Condition) disabled: true - label: "TH reads Breadcumb attribute from the General Commissioning Cluster" verification: | + ./chip-tool generalcommissioning read breadcrumb 1 0 + The test case is not verifiable in RPI platform. As MaxNetworks value is 1 but expected is 4 + ( Pre-Condition) disabled: true - label: @@ -114,13 +134,17 @@ tests: tworkList' 2. NetworkIn dex is 'Midpoint' 3. Breadcrum b is 2" PICS: CNET.S.C08.Rsp && CNET.S.C05.Tx verification: | - + The test case is not verifiable in RPI platform. As MaxNetworks value is 1 but expected is 4 + ( Pre-Condition) disabled: true - label: "TH reads Breadcumb attribute from the General Commissioning Cluster" verification: | + ./chip-tool generalcommissioning read breadcrumb 1 0 + The test case is not verifiable in RPI platform. As MaxNetworks value is 1 but expected is 4 + ( Pre-Condition) disabled: true - label: @@ -129,39 +153,58 @@ tests: NetworkIn dex is 'Midpoint' 3. Breadcrum b is 2" PICS: CNET.S.C08.Rsp && CNET.S.C05.Tx verification: | + ./chip-tool networkcommissioning reorder-network hex:47524C50726976617465 1 0 --Breadcrumb 1 + The test case is not verifiable in RPI platform. As MaxNetworks value is 1 but expected is 4 + ( Pre-Condition) disabled: true - label: "TH reads Breadcumb attribute from the General Commissioning Cluster" verification: | + ./chip-tool generalcommissioning read breadcrumb 1 0 + The test case is not verifiable in RPI platform. As MaxNetworks value is 1 but expected is 4 + ( Pre-Condition) disabled: true - label: "TH reads Networks attribute list from the DUT" PICS: CNET.S.A0001 verification: | + ./chip-tool network-commissioning read networks 1 0 + The test case is not verifiable in RPI platform. As MaxNetworks value is 1 but expected is 4 + ( Pre-Condition) disabled: true - label: "TH sends ArmFailSafe command to the DUT with ExpiryLengthSeco nds set to 0" verification: | + ./chip-tool generalcommissioning arm-fail-safe 0 0 1 0 + The test case is not verifiable in RPI platform. As MaxNetworks value is 1 but expected is 4 + ( Pre-Condition) disabled: true - label: "TH reads Networks attribute list from the DUT" PICS: CNET.S.A0001 verification: | + ./chip-tool network-commissioning read networks 1 0 + The test case is not verifiable in RPI platform. As MaxNetworks value is 1 but expected is 4 + ( Pre-Condition) disabled: true - label: "TH sends ArmFailSafe command to the DUT with ExpiryLengthSeco nds set to 900" verification: | + ./chip-tool generalcommissioning arm-fail-safe 900 0 1 0 + + The test case is not verifiable in RPI platform. As MaxNetworks value is 1 but expected is 4 + ( Pre-Condition) disabled: true - label: @@ -171,7 +214,8 @@ tests: credentials are NOT required to be connectable." PICS: CNET.S.C02.Rsp && CNET.S.C05.Tx verification: | - + The test case is not verifiable in RPI platform. As MaxNetworks value is 1 but expected is 4 + ( Pre-Condition) disabled: true - label: @@ -180,23 +224,33 @@ tests: NetworkIn dex is 'Midpoint' 3. Breadcrum b is 2" PICS: CNET.S.C08.Rsp && CNET.S.C05.Tx verification: | - + The test case is not verifiable in RPI platform. As MaxNetworks value is 1 but expected is 4 + ( Pre-Condition) disabled: true - label: "TH sends the CommissioningCo mplete command to the DUT" verification: | + ./chip-tool generalcommissioning CommissioningComplete 1 0 + The test case is not verifiable in RPI platform. As MaxNetworks value is 1 but expected is 4 + ( Pre-Condition) disabled: true - label: "TH sends ArmFailSafe command to the DUT with ExpiryLengthSeco nds set to 0" verification: | + ./chip-tool generalcommissioning arm-fail-safe 0 0 1 0 + The test case is not verifiable in RPI platform. As MaxNetworks value is 1 but expected is 4 + ( Pre-Condition) disabled: true - label: "TH reads Networks attribute list from the DUT" PICS: CNET.S.A0001 verification: | + ./chip-tool network-commissioning read networks 1 0 + The test case is not verifiable in RPI platform. As MaxNetworks value is 1 but expected is 4 + ( Pre-Condition) disabled: true 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 f60e72cb431328..663a580c2221ec 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 @@ -29,6 +29,8 @@ tests: verification: | ./chip-tool networkcommissioning read networks 1 0 + Verify on the TH Log: + [1645772651.445097][3856:3861] CHIP:DMG: SuppressResponse = true, [1645772651.445149][3856:3861] CHIP:DMG: InteractionModelRevision = 1 [1645772651.445209][3856:3861] CHIP:DMG: } @@ -47,6 +49,8 @@ tests: verification: | ./chip-tool generalcommissioning arm-fail-safe 60 0 1 0 + Verify on the TH Log: + [1650383264.543046][44233:44238] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0030 Command=0x0000_0001 [1650383264.543109][44233:44238] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0030 Command 0x0000_0001 [1650383264.543212][44233:44238] CHIP:TOO: ArmFailSafeResponse: { @@ -65,6 +69,8 @@ tests: verification: | ./chip-tool networkcommissioning remove-network hex:47524C50726976617465 1 0 + Verify on the TH Log: + [1650383270.888700][44239:44244] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0031 Command=0x0000_0005 [1650383270.888774][44239:44244] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Command 0x0000_0005 [1650383270.888876][44239:44244] CHIP:TOO: NetworkConfigResponse: { @@ -82,6 +88,8 @@ tests: verification: | ./chip-tool networkcommissioning connect-network hex:47524C50726976617465 1 0 + Verify on the TH Log: + [1650383278.349428][44245:44250] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0031 Command=0x0000_0007 [1650383278.349490][44245:44250] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Command 0x0000_0007 [1650383278.349592][44245:44250] CHIP:TOO: ConnectNetworkResponse: { 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 67f0c58797c3b9..4e408c47fe0aed 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 @@ -29,6 +29,8 @@ tests: verification: | ./chip-tool networkcommissioning read networks 162 0 + Verify on the TH Log: + [1645772651.445097][3856:3861] CHIP:DMG: SuppressResponse = true, [1645772651.445149][3856:3861] CHIP:DMG: InteractionModelRevision = 1 [1645772651.445209][3856:3861] CHIP:DMG: } @@ -45,6 +47,8 @@ tests: verification: | ./chip-tool generalcommissioning arm-fail-safe 900 0 62 0 + Verify on the TH Log: + [1650392597.976230][10152:10157] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0030 Command=0x0000_0001 [1650392597.976363][10152:10157] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0030 Command 0x0000_0001 [1650392597.976539][10152:10157] CHIP:TOO: ArmFailSafeResponse: { @@ -62,6 +66,8 @@ tests: verification: | ./chip-tool networkcommissioning remove-network 47524C50726976617465 62 0 + Verify on the TH Log: + [1650392982.606392][10188:10193] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0031 Command=0x0000_0007 [1650392982.606501][10188:10193] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Command 0x0000_0007 [1650392982.606653][10188:10193] CHIP:TOO: ConnectNetworkResponse: { @@ -78,6 +84,8 @@ tests: verification: | ./chip-tool networkcommissioning connect-network 47524C50726976617465 62 0 + Verify on the TH Log: + [1650392982.606392][10188:10193] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0031 Command=0x0000_0007 [1650392982.606501][10188:10193] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Command 0x0000_0007 [1650392982.606653][10188:10193] CHIP:TOO: ConnectNetworkResponse: { 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 8935ea86b761d3..b5eaf65da8f928 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 @@ -28,6 +28,8 @@ tests: verification: | ubuntu@ubuntu:~/apps$ ./chip-tool networkcommissioning read max-networks 1 0 + Verify on the TH Log: + [1646216356.472036][7021:7026] CHIP:DMG: SuppressResponse = true, [1646216356.472088][7021:7026] CHIP:DMG: InteractionModelRevision = 1 [1646216356.472136][7021:7026] CHIP:DMG: } @@ -41,6 +43,8 @@ tests: verification: | ./chip-tool networkcommissioning read networks 1 0 + Verify on the TH Log: + [1649249212.072823][30681:30686] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0001 DataVersion: 2702518944 [1649249212.072912][30681:30686] CHIP:TOO: Networks: 1 entries [1649249212.073027][30681:30686] CHIP:TOO: [1]: { @@ -54,6 +58,9 @@ tests: PICS: CNET.S.A0002 verification: | sudo ./examples/chip-tool/out/debug/chip-tool networkcommissioning read scan-max-time-seconds 1 0 + + Verify on the TH Log: + [1648122894.380473][8770:8775] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0002 DataVersion: 317843604 [1648122894.380552][8770:8775] CHIP:TOO: ScanMaxTimeSeconds: 10 [1648122894.380642][8770:8775] CHIP:EM: Sending Standalone Ack for MessageCounter:12629308 on exchange 33084i @@ -63,6 +70,9 @@ tests: PICS: CNET.S.A0003 verification: | sudo ./examples/chip-tool/out/debug/chip-tool networkcommissioning read connect-max-time-seconds 1 0 + + Verify on the TH Log: + [1648122935.626395][8780:8785] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0003 DataVersion: 317843604 [1648122935.626461][8780:8785] CHIP:TOO: ConnectMaxTimeSeconds: 20 [1648122935.626539][8780:8785] CHIP:EM: Sending Standalone Ack for MessageCounter:11607262 on exchange 19306i @@ -73,6 +83,8 @@ tests: verification: | ./chip-tool networkcommissioning read interface-enabled 1 0 + Verify on the TH Log: + [1649250241.092686][30726:30731] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0004 DataVersion: 2702518944 [1649250241.092744][30726:30731] CHIP:TOO: InterfaceEnabled: TRUE [1649250241.092852][30726:30731] CHIP:EM: Sending Standalone Ack for MessageCounter:3120276 on exchange 4316i @@ -82,6 +94,9 @@ tests: PICS: CNET.S.A0005 verification: | sudo ./examples/chip-tool/out/debug/chip-tool networkcommissioning read last-networking-status 1 0 + + Verify on the TH Log: + [1648123150.266020][8807:8812] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0005 DataVersion: 317843604 [1648123150.266107][8807:8812] CHIP:TOO: LastNetworkingStatus: 0 [1648123150.266205][8807:8812] CHIP:EM: Sending Standalone Ack for MessageCounter:6011442 on exchange 36001i @@ -92,6 +107,8 @@ tests: verification: | sudo ./examples/chip-tool/out/debug/chip-tool networkcommissioning read last-network-id 1 0 + Verify on the TH Log: + [1648123296.959013][8824:8829] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0006 DataVersion: 317843604 [1648123296.959092][8824:8829] CHIP:TOO: LastNetworkID: 47524C50726976617465 [1648123296.959180][8824:8829] CHIP:EM: Sending Standalone Ack for MessageCounter:7786733 on exchange 2835i @@ -101,6 +118,9 @@ tests: PICS: CNET.S.A0007 verification: | sudo ./examples/chip-tool/out/debug/chip-tool networkcommissioning read last-connect-error-value 1 0 + + Verify on the TH Log: + [1648123350.094356][8834:8839] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0007 DataVersion: 317843604 [1648123350.094425][8834:8839] CHIP:TOO: LastConnectErrorValue: null [1648123350.094535][8834:8839] CHIP:EM: Sending Standalone Ack for MessageCounter:8991167 on exchange 59318i 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 e7f3363cadc252..1381f953c04039 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 @@ -27,87 +27,121 @@ tests: PICS: CNET.S.A0000 verification: | ./chip-tool networkcommissioning read max-networks 162 0 + Verify on the TH Log: - - D: 3737668 [DMG]Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 - D: 3737677 [DMG] Cluster 31, Attribute 0 is dirty - D: 3737682 [DMG]Reading attribute: Cluster=0x0000_0031 Endpoint=0 AttributeId=0x0000_0000 (expanded=) - D: 3737691 [DMG] Sending report (payload has 36 bytes)... + [1657887014.660005][3406:3411] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0000 DataVersion: 2068264358 + [1657887014.660161][3406:3411] CHIP:TOO: MaxNetworks: 1 + [1657887014.660322][3406:3411] CHIP:EM: Sending Standalone Ack for MessageCounter:123700848 on exchange 6838i disabled: true - label: "DUT reads the Networks attribute from the TH" PICS: CNET.S.A0001 verification: | - ./chip-tool networkcommissioning read networks 162 0 - - D: 3805977 [DMG]Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 - D: 3805986 [DMG] Cluster 31, Attribute 1 is dirty - D: 3805991 [DMG]Reading attribute: Cluster=0x0000_0031 Endpoint=0 AttributeId=0x0000_0001 (expanded=0) - D: 3806003 [DMG] Sending report (payload has 77 bytes)... + ubuntu@ubuntu:~/connectedhomeip/examples/chip-tool/out/debug$ ./chip-tool networkcommissioning read networks 162 0 + + Verify on the TH Log: + + [1645772651.445097][3856:3861] CHIP:DMG: SuppressResponse = true, + [1645772651.445149][3856:3861] CHIP:DMG: InteractionModelRevision = 1 + [1645772651.445209][3856:3861] CHIP:DMG: } + [1645772651.445754][3856:3861] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0001DataVersion: 92121563 + [1645772651.445875][3856:3861] CHIP:TOO: Networks: 1 entries + [1645772651.446057][3856:3861] CHIP:TOO: [1]: { + [1645772651.446120][3856:3861] CHIP:TOO: NetworkID: 1111161622222211 + [1645772651.446173][3856:3861] CHIP:TOO: Connected: TRUE + [1645772651.446228][3856:3861] CHIP:TOO: } + [1645772651.446431][3856:3861] CHIP:EM: Sending Standalone Ack for MessageCounter:12695576 on exchange 11133i disabled: true - label: "DUT reads ScanMaxTimeSeconds attribute from the TH" PICS: CNET.S.A0002 verification: | - ./chip-tool networkcommissioning read scan-max-time-seconds 162 0 + ubuntu@ubuntu:~/connectedhomeip/examples/chip-tool/out/debug$ ./chip-tool networkcommissioning read scan-max-time-seconds 162 0 + + Verify on the TH Log: - D: 3846143 [DMG]Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 - D: 3846152 [DMG] Cluster 31, Attribute 2 is dirty - D: 3846157 [DMG]Reading attribute: Cluster=0x0000_0031 Endpoint=0 AttributeId=0x0000_0002 (expanded=0) - D: 3846167 [DMG] Sending report (payload has 36 bytes)... + [1645772820.740795][3867:3872] CHIP:DMG: SuppressResponse = true, + [1645772820.740855][3867:3872] CHIP:DMG: InteractionModelRevision = 1 + [1645772820.740903][3867:3872] CHIP:DMG: } + [1645772820.741209][3867:3872] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0002DataVersion: 92121563 + [1645772820.741357][3867:3872] CHIP:TOO: ScanMaxTimeSeconds: 10 + [1645772820.741512][3867:3872] CHIP:EM: Sending Standalone Ack for MessageCounter:10309775 on exchange 55305i disabled: true - label: "DUT reads ConnectMaxTimeSeconds attribute from the TH" PICS: CNET.S.A0003 verification: | - ./chip-tool networkcommissioning read connect-max-time-seconds 162 0 + ubuntu@ubuntu:~/connectedhomeip/examples/chip-tool/out/debug$ ./chip-tool networkcommissioning read connect-max-time-seconds 162 0 - D: 3903429 [DMG]Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 - D: 3903437 [DMG] Cluster 31, Attribute 3 is dirty - D: 3903443 [DMG]Reading attribute: Cluster=0x0000_0031 Endpoint=0 AttributeId=0x0000_0003 (expanded=0) - D: 3903452 [DMG] Sending report (payload has 36 bytes)... + Verify on the TH Log: + + [1645772901.118880][3879:3884] CHIP:DMG: SuppressResponse = true, + [1645772901.119008][3879:3884] CHIP:DMG: InteractionModelRevision = 1 + [1645772901.119141][3879:3884] CHIP:DMG: } + [1645772901.119684][3879:3884] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0003DataVersion: 92121563 + [1645772901.119885][3879:3884] CHIP:TOO: ConnectMaxTimeSeconds: 20 + [1645772901.120100][3879:3884] CHIP:EM: Sending Standalone Ack for MessageCounter:11917538 on exchange 4188 disabled: true - label: "DUT reads InterfaceEnabled attribute from the TH" PICS: CNET.S.A0004 verification: | - ./chip-tool networkcommissioning read interface-enabled 162 0 + ubuntu@ubuntu:~/connectedhomeip/examples/chip-tool/out/debug$ ./chip-tool networkcommissioning read interface-enabled 162 0 + + Verify on the TH Log: - D: 3947219 [DMG]Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 - D: 3947228 [DMG] Cluster 31, Attribute 4 is dirty - D: 3947233 [DMG]Reading attribute: Cluster=0x0000_0031 Endpoint=0 AttributeId=0x0000_0004 (expanded=0) - D: 3947242 [DMG] Sending report (payload has 35 bytes)... + [1645772984.653996][3895:3900] CHIP:DMG: SuppressResponse = true, + [1645772984.654043][3895:3900] CHIP:DMG: InteractionModelRevision = 1 + [1645772984.654084][3895:3900] CHIP:DMG: } + [1645772984.654310][3895:3900] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0004DataVersion: 92121563 + [1645772984.654388][3895:3900] CHIP:TOO: InterfaceEnabled: TRUE + [1645772984.654530][3895:3900] CHIP:EM: Sending Standalone Ack for MessageCounter:14026610 on exchange 33717i disabled: true - label: "DUT reads LastNetworkingStatus attribute from the TH" PICS: CNET.S.A0005 verification: | - ./chip-tool networkcommissioning read last-networking-status 162 0 + ubuntu@ubuntu:~/connectedhomeip/examples/chip-tool/out/debug$ ./chip-tool networkcommissioning read last-networking-status 162 0 + - D: 4034063 [DMG]Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 - D: 4034072 [DMG] Cluster 31, Attribute 5 is dirty - D: 4034077 [DMG]Reading attribute: Cluster=0x0000_0031 Endpoint=0 AttributeId=0x0000_0005 (expanded=0) - D: 4034087 [DMG] Sending report (payload has 36 bytes)... + Verify on the TH Log: + + [1645773078.930516][3905:3910] CHIP:DMG: SuppressResponse = true, + [1645773078.930579][3905:3910] CHIP:DMG: InteractionModelRevision = 1 + [1645773078.930635][3905:3910] CHIP:DMG: } + [1645773078.930943][3905:3910] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0005DataVersion: 92121563 + [1645773078.931067][3905:3910] CHIP:TOO: LastNetworkingStatus: 0 + [1645773078.931217][3905:3910] CHIP:EM: Sending Standalone Ack for MessageCounter:16576011 on exchange 44187i disabled: true - label: "DUT reads LastNetworkID attribute from the TH" PICS: CNET.S.A0006 verification: | - ./chip-tool networkcommissioning read last-network-id 162 0 + ubuntu@ubuntu:~/connectedhomeip/examples/chip-tool/out/debug$ ./chip-tool networkcommissioning read last-network-id 162 0 + + + Verify on the TH Log: - D: 4080067 [DMG]Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 - D: 4080076 [DMG] Cluster 31, Attribute 6 is dirty - D: 4080081 [DMG]Reading attribute: Cluster=0x0000_0031 Endpoint=0 AttributeId=0x0000_0006 (expanded=0) - D: 4080090 [DMG] Sending report (payload has 46 bytes)... + [1645773167.178501][3913:3918] CHIP:DMG: SuppressResponse = true, + [1645773167.178561][3913:3918] CHIP:DMG: InteractionModelRevision = 1 + [1645773167.178618][3913:3918] CHIP:DMG: } + [1645773167.178919][3913:3918] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0006DataVersion: 92121563 + [1645773167.182241][3913:3918] CHIP:TOO: LastNetworkID: 1111161622222211 + [1645773167.182422][3913:3918] CHIP:EM: Sending Standalone Ack for MessageCounter:2029571 on exchange 18566i disabled: true - label: "DUT reads LastConnectErrorValue attribute from the TH" PICS: CNET.S.A0007 verification: | - ./chip-tool networkcommissioning read last-connect-error-value 162 0 + ubuntu@ubuntu:~/connectedhomeip/examples/chip-tool/out/debug$ ./chip-tool networkcommissioning read last-connect-error-value 162 0 + + + Verify on the TH Log: - D: 4176701 [DMG]Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 - D: 4176710 [DMG] Cluster 31, Attribute 7 is dirty - D: 4176715 [DMG]Reading attribute: Cluster=0x0000_0031 Endpoint=0 AttributeId=0x0000_0007 (expanded=0) - D: 4176725 [DMG] Sending report (payload has 36 bytes)... + [1645773318.752774][3938:3943] CHIP:DMG: SuppressResponse = true, + [1645773318.752861][3938:3943] CHIP:DMG: InteractionModelRevision = 1 + [1645773318.753043][3938:3943] CHIP:DMG: } + [1645773318.753543][3938:3943] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0007DataVersion: 92121563 + [1645773318.753724][3938:3943] CHIP:TOO: LastConnectErrorValue: 0 + [1645773318.753985][3938:3943] CHIP:EM: Sending Standalone Ack for MessageCounter:15303417 on exchange 41937i disabled: true 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 da87ef2270aaca..c408143233d7b0 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 @@ -37,7 +37,9 @@ tests: "TH reads Descriptor Cluster from the DUT with EP0 TH reads ServerList from the DUT" verification: | - buntu@ubuntu:~/connectedhomeip/examples/chip-tool/out/debug$ ./chip-tool descriptor read server-list 162 0 + ubuntu@ubuntu:~/connectedhomeip/examples/chip-tool/out/debug$ ./chip-tool descriptor read server-list 162 0 + + Verify on the TH Log: [1645772414.100694][3827:3832] CHIP:DMG: SuppressResponse = true, [1645772414.100718][3827:3832] CHIP:DMG: InteractionModelRevision = 1 @@ -73,6 +75,8 @@ tests: ubuntu@ubuntu:~/connectedhomeip/examples/chip-tool/out/debug$ ./chip-tool networkcommissioning read feature-map 162 0 + Verify on the TH Log: + [1645772204.502545][3809:3814] CHIP:DMG: SuppressResponse = true, [1645772204.502608][3809:3814] CHIP:DMG: InteractionModelRevision = 1 [1645772204.502683][3809:3814] CHIP:DMG: } @@ -86,6 +90,8 @@ tests: verification: | ubuntu@ubuntu:~/connectedhomeip/examples/chip-tool/out/debug$ ./chip-tool networkcommissioning read max-networks 162 0 + Verify on the TH Log: + [1645772548.257320][3837:3842] CHIP:DMG: SuppressResponse = true, [1645772548.257381][3837:3842] CHIP:DMG: InteractionModelRevision = 1 @@ -107,6 +113,8 @@ tests: verification: | ubuntu@ubuntu:~/connectedhomeip/examples/chip-tool/out/debug$ ./chip-tool networkcommissioning read networks 162 0 + Verify on the TH Log: + [1645772651.445097][3856:3861] CHIP:DMG: SuppressResponse = true, [1645772651.445149][3856:3861] CHIP:DMG: InteractionModelRevision = 1 [1645772651.445209][3856:3861] CHIP:DMG: } @@ -124,6 +132,8 @@ tests: verification: | ubuntu@ubuntu:~/connectedhomeip/examples/chip-tool/out/debug$ ./chip-tool networkcommissioning read scan-max-time-seconds 162 0 + Verify on the TH Log: + [1645772820.740795][3867:3872] CHIP:DMG: SuppressResponse = true, [1645772820.740855][3867:3872] CHIP:DMG: InteractionModelRevision = 1 [1645772820.740903][3867:3872] CHIP:DMG: } @@ -137,6 +147,8 @@ tests: verification: | ubuntu@ubuntu:~/connectedhomeip/examples/chip-tool/out/debug$ ./chip-tool networkcommissioning read connect-max-time-seconds 162 0 + Verify on the TH Log: + [1645772901.118880][3879:3884] CHIP:DMG: SuppressResponse = true, [1645772901.119008][3879:3884] CHIP:DMG: InteractionModelRevision = 1 [1645772901.119141][3879:3884] CHIP:DMG: } @@ -150,6 +162,8 @@ tests: verification: | ubuntu@ubuntu:~/connectedhomeip/examples/chip-tool/out/debug$ ./chip-tool networkcommissioning read interface-enabled 162 0 + Verify on the TH Log: + [1645772984.653996][3895:3900] CHIP:DMG: SuppressResponse = true, [1645772984.654043][3895:3900] CHIP:DMG: InteractionModelRevision = 1 [1645772984.654084][3895:3900] CHIP:DMG: } @@ -163,6 +177,9 @@ tests: verification: | ubuntu@ubuntu:~/connectedhomeip/examples/chip-tool/out/debug$ ./chip-tool networkcommissioning read last-networking-status 162 0 + + Verify on the TH Log: + [1645773078.930516][3905:3910] CHIP:DMG: SuppressResponse = true, [1645773078.930579][3905:3910] CHIP:DMG: InteractionModelRevision = 1 [1645773078.930635][3905:3910] CHIP:DMG: } @@ -178,6 +195,9 @@ tests: verification: | ubuntu@ubuntu:~/connectedhomeip/examples/chip-tool/out/debug$ ./chip-tool networkcommissioning read last-network-id 162 0 + + Verify on the TH Log: + [1645773167.178501][3913:3918] CHIP:DMG: SuppressResponse = true, [1645773167.178561][3913:3918] CHIP:DMG: InteractionModelRevision = 1 [1645773167.178618][3913:3918] CHIP:DMG: } @@ -191,6 +211,9 @@ tests: verification: | ubuntu@ubuntu:~/connectedhomeip/examples/chip-tool/out/debug$ ./chip-tool networkcommissioning read last-connect-error-value 162 0 + + Verify on the TH Log: + [1645773318.752774][3938:3943] CHIP:DMG: SuppressResponse = true, [1645773318.752861][3938:3943] CHIP:DMG: InteractionModelRevision = 1 [1645773318.753043][3938:3943] CHIP:DMG: } 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 e8062337916337..4e1345b1d17dfb 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 @@ -187,6 +187,21 @@ tests: - label: "DUT sends the RemoveNetwork command to the TH" PICS: CNET.C.C06.Tx + verification: | + ./chip-tool networkcommissioning remove-network hex:47524C50726976617465 1 0 + + [1650373300.704806][42697:42702] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0031 Command=0x0000_0005 + [1650373300.704864][42697:42702] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Command 0x0000_0005 + [1650373300.704957][42697:42702] CHIP:TOO: NetworkConfigResponse: { + [1650373300.705012][42697:42702] CHIP:TOO: networkingStatus: 0 + [1650373300.705044][42697:42702] CHIP:TOO: networkIndex: 0 + [1650373300.705073][42697:42702] CHIP:TOO: } + [1650373300.705120][42697:42702] CHIP:DMG: ICR moving to [AwaitingDe] + [1650373300.705181][42697:42702] CHIP:EM: Sending Standalone Ack for MessageCounter:9924068 on exchange 3557i + disabled: true + + - label: "DUT sends the ConnectNetwork command to the TH" + PICS: CNET.C.C08.Tx verification: | ./chip-tool networkcommissioning connect-network hex:47524C50726976617465 1 0 @@ -200,8 +215,8 @@ tests: [1650376217.125282][42876:42881] CHIP:EM: Sending Standalone Ack for MessageCounter:7901929 on exchange 1050i disabled: true - - label: "DUT sends the ConnectNetwork command to the TH" - PICS: CNET.C.C08.Tx + - label: "DUT sends the ReorderNetwork command to the TH" + PICS: CNET.C.C04.Tx verification: | ./chip-tool networkcommissioning reorder-network hex:47524C50726976617465 3 1 0 @@ -214,18 +229,3 @@ tests: [1650381494.821087][44087:44092] CHIP:DMG: ICR moving to [AwaitingDe] [1650381494.821174][44087:44092] CHIP:EM: Sending Standalone Ack for MessageCounter:5656346 on exchange 4849i disabled: true - - - label: "DUT sends the ReorderNetwork command to the TH" - PICS: CNET.C.C04.Tx - verification: | - ./chip-tool networkcommissioning remove-network hex:47524C50726976617465 1 0 - - [1650373300.704806][42697:42702] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0031 Command=0x0000_0005 - [1650373300.704864][42697:42702] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Command 0x0000_0005 - [1650373300.704957][42697:42702] CHIP:TOO: NetworkConfigResponse: { - [1650373300.705012][42697:42702] CHIP:TOO: networkingStatus: 0 - [1650373300.705044][42697:42702] CHIP:TOO: networkIndex: 0 - [1650373300.705073][42697:42702] CHIP:TOO: } - [1650373300.705120][42697:42702] CHIP:DMG: ICR moving to [AwaitingDe] - [1650373300.705181][42697:42702] CHIP:EM: Sending Standalone Ack for MessageCounter:9924068 on exchange 3557i - disabled: true 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 7219db4b4f274f..e06d4c77896319 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 @@ -68,6 +68,16 @@ tests: - label: "DUT sends the ConnectNetwork command to the TH" PICS: CNET.C.C06.Tx + verification: | + Executed during the commissioning + + [1650388642.195472][9682:9687] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0031 Command=0x0000_0007 + [1650388642.195553][9682:9687] CHIP:CTL: Received ConnectNetwork response + [1650388642.195614][9682:9687] CHIP:CTL: Successfully finished commissioning step 'ThreadNetworkEnable' + disabled: true + + - label: "DUT sends the ReorderNetwork command to the TH" + PICS: CNET.C.C08.Tx verification: | ubuntu@ubuntu:~/cntl/connectedhomeip/examples/chip-tool/out/debug$ ./chip-tool networkcommissioning reorder-network 0119100899082022 3 62 0 @@ -79,8 +89,8 @@ tests: [1650392602.379882][10158:10163] CHIP:DMG: ICR moving to [AwaitingDe] disabled: true - - label: "DUT sends the ReorderNetwork command to the TH" - PICS: CNET.C.C08.Tx + - label: "DUT sends the RemoveNetwork command to the TH" + PICS: CNET.C.C04.Tx verification: | ubuntu@ubuntu:~/cntl/connectedhomeip/examples/chip-tool/out/debug$ ./chip-tool networkcommissioning remove-network 0119100899082022 62 0 @@ -91,13 +101,3 @@ tests: [1650391420.469812][10048:10053] CHIP:TOO: } [1650391420.469902][10048:10053] CHIP:DMG: ICR moving to [AwaitingDe] disabled: true - - - label: "DUT sends the RemoveNetwork command to the TH" - PICS: CNET.C.C04.Tx - verification: | - Executed during the commissioning - - [1650388642.195472][9682:9687] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0031 Command=0x0000_0007 - [1650388642.195553][9682:9687] CHIP:CTL: Received ConnectNetwork response - [1650388642.195614][9682:9687] CHIP:CTL: Successfully finished commissioning step 'ThreadNetworkEnable' - disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_CNET_4_22.yaml b/src/app/tests/suites/certification/Test_TC_CNET_4_22.yaml new file mode 100644 index 00000000000000..b622be30cdb113 --- /dev/null +++ b/src/app/tests/suites/certification/Test_TC_CNET_4_22.yaml @@ -0,0 +1,149 @@ +# Copyright (c) 2021 Project CHIP Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default + +name: + 4.4.20. [TC-CNET-4.22] [Thread] Verification for ScanNetworks command + [DUT-Server] + +config: + nodeId: 0x12344321 + cluster: "Basic" + endpoint: 0 + +tests: + - label: + "TH sends ScanNetworks command to the DUT with the SSID field omitted + and the Breadcrumb field set to 1" + PICS: CNET.S.C00.Rsp && CNET.S.C01.Tx + verification: | + ./chip-tool networkcommissioning scan-networks 62 0 --Breadcrumb 1 + + Verify on the TH Log: + + [1657688269.591979][1607:1612] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0031 Command=0x0000_0001 + [1657688269.592081][1607:1612] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Command 0x0000_0001 + [1657688269.592260][1607:1612] CHIP:TOO: ScanNetworksResponse: { + [1657688269.593439][1607:1612] CHIP:TOO: networkingStatus: 0 + [1657688269.593546][1607:1612] CHIP:TOO: threadScanResults: 2 entries + [1657688269.593677][1607:1612] CHIP:TOO: [1]: { + [1657688269.593712][1607:1612] CHIP:TOO: PanId: 64206 + [1657688269.593745][1607:1612] CHIP:TOO: ExtendedPanId: 3861484836749312 + [1657688269.593777][1607:1612] CHIP:TOO: NetworkName: GRL + [1657688269.593808][1607:1612] CHIP:TOO: Channel: 20 + [1657688269.593839][1607:1612] CHIP:TOO: Version: 4 + [1657688269.593874][1607:1612] CHIP:TOO: ExtendedAddress: 166E0A0000000001 + [1657688269.593905][1607:1612] CHIP:TOO: Rssi: -88 + [1657688269.593935][1607:1612] CHIP:TOO: Lqi: 20 + [1657688269.593964][1607:1612] CHIP:TOO: } + [1657688269.594009][1607:1612] CHIP:TOO: [2]: { + [1657688269.594041][1607:1612] CHIP:TOO: PanId: 64206 + [1657688269.594072][1607:1612] CHIP:TOO: ExtendedPanId: 3861484836749312 + [1657688269.594121][1607:1612] CHIP:TOO: NetworkName: GRL + [1657688269.594153][1607:1612] CHIP:TOO: Channel: 20 + [1657688269.594183][1607:1612] CHIP:TOO: Version: 4 + [1657688269.594215][1607:1612] CHIP:TOO: ExtendedAddress: 166E0A0000000001 + [1657688269.594246][1607:1612] CHIP:TOO: Rssi: -89 + [1657688269.594276][1607:1612] CHIP:TOO: Lqi: 24 + [1657688269.594304][1607:1612] CHIP:TOO: } + [1657688269.594337][1607:1612] CHIP:TOO: } + [1657688269.594410][1607:1612] CHIP:DMG: ICR moving to [AwaitingDe] + [1657688269.594480][1607:1612] CHIP:EM: Sending Standalone Ack for MessageCounter:174411537 on exchange 60247i + disabled: true + + - label: + "TH reads Breadcumb attribute from the General Commissioning Cluster" + verification: | + ./chip-tool generalcommissioning read breadcrumb 1 0 + + Verify on the TH Log: + + [1657688310.986593][1613:1618] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0030 Attribute 0x0000_0000 DataVersion: 829017612 + [1657688310.989412][1613:1618] CHIP:TOO: Breadcrumb: 1 + [1657688310.989586][1613:1618] CHIP:EM: Sending Standalone Ack for MessageCounter:63605306 on exchange 55886i + disabled: true + + - label: + "TH sends ScanNetworks command to the DUT with the SSID field set to + null and the Breadcrumb field set to 2" + PICS: CNET.S.C00.Rsp && CNET.S.C01.Tx + verification: | + ./chip-tool networkcommissioning scan-networks 62 0 --Breadcrumb 2 + + Verify on the TH Log: + + [1657688349.980151][1619:1624] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0031 Command=0x0000_0001 + [1657688349.980254][1619:1624] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Command 0x0000_0001 + [1657688349.980418][1619:1624] CHIP:TOO: ScanNetworksResponse: { + [1657688349.980498][1619:1624] CHIP:TOO: networkingStatus: 0 + [1657688349.980583][1619:1624] CHIP:TOO: threadScanResults: 1 entries + [1657688349.980707][1619:1624] CHIP:TOO: [1]: { + [1657688349.980767][1619:1624] CHIP:TOO: PanId: 4660 + [1657688349.980824][1619:1624] CHIP:TOO: ExtendedPanId: 1731940895939895842 + [1657688349.980882][1619:1624] CHIP:TOO: NetworkName: OpenThuyayiyipo + [1657688349.980938][1619:1624] CHIP:TOO: Channel: 15 + [1657688349.980994][1619:1624] CHIP:TOO: Version: 3 + [1657688349.981056][1619:1624] CHIP:TOO: ExtendedAddress: C676266EB1EE47FB + [1657688349.981112][1619:1624] CHIP:TOO: Rssi: -73 + [1657688349.981166][1619:1624] CHIP:TOO: Lqi: 80 + [1657688349.981220][1619:1624] CHIP:TOO: } + [1657688349.981277][1619:1624] CHIP:TOO: } + [1657688349.981388][1619:1624] CHIP:DMG: ICR moving to [AwaitingDe] + [1657688349.981491][1619:1624] CHIP:EM: Sending Standalone Ack for MessageCounter:197076749 on exchange 44697i + disabled: true + + - label: + "TH reads Breadcumb attribute from the General Commissioning Cluster" + verification: | + ./chip-tool generalcommissioning read breadcrumb 1 0 + + Verify on the TH Log: + + + [1657688397.398564][1626:1631] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0030 Attribute 0x0000_0000 DataVersion: 829017613 + [1657688397.398697][1626:1631] CHIP:TOO: Breadcrumb: 2 + [1657688397.398852][1626:1631] CHIP:EM: Sending Standalone Ack for MessageCounter:129342305 on exchange 25970i + disabled: true + + - label: + "TH sends ScanNetworks command to the DUT with the SSID field set to a + random string of ASCII characters with a size of between 1 and 31 + characters and the Breadcrumb field set to 3" + PICS: CNET.S.C00.Rsp && CNET.S.C01.Tx + verification: | + ./chip-tool networkcommissioning scan-networks 62 0 --Breadcrumb 3 + + Verify on the TH Log: + + [1657688431.913157][1632:1637] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0031 Command=0x0000_0001 + [1657688431.913259][1632:1637] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Command 0x0000_0001 + [1657688431.913413][1632:1637] CHIP:TOO: ScanNetworksResponse: { + [1657688431.913493][1632:1637] CHIP:TOO: networkingStatus: 0 + [1657688431.913564][1632:1637] CHIP:TOO: threadScanResults: 0 entries + [1657688431.913629][1632:1637] CHIP:TOO: } + [1657688431.913718][1632:1637] CHIP:DMG: ICR moving to [AwaitingDe] + [1657688431.913829][1632:1637] CHIP:EM: Sending Standalone Ack for MessageCounter:96710809 on exchange 52223i + disabled: true + + - label: + "TH reads Breadcumb attribute from the General Commissioning Cluster" + verification: | + ./chip-tool generalcommissioning read breadcrumb 1 0 + + Verify on the TH Log: + + [1657688489.553742][1639:1644] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0030 Attribute 0x0000_0000 DataVersion: 829017614 + [1657688489.553897][1639:1644] CHIP:TOO: Breadcrumb: 3 + [1657688489.554053][1639:1644] CHIP:EM: Sending Standalone Ack for MessageCounter:86525470 on exchange 7368i + disabled: true 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 29adc7c662caa2..87f16edb5461cd 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 @@ -40,6 +40,9 @@ tests: ubuntu@ubuntu:~/apps$ ./chip-tool descriptor read server-list 1 0 + Verify on the TH Log: + + [1646226258.250313][2446:2451] CHIP:DMG: SuppressResponse = true, [1646226258.250337][2446:2451] CHIP:DMG: InteractionModelRevision = 1 [1646226258.250359][2446:2451] CHIP:DMG: } @@ -77,6 +80,8 @@ tests: verification: | ubuntu@ubuntu:~/sethu-apr1/connectedhomeip/examples/chip-tool/out/debug$ ./chip-tool networkcommissioning read feature-map 1 0 + Verify on the TH Log: + [1649309323.273092][2611:2617] CHIP:DMG: } [1649309323.273466][2611:2617] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_FFFC DataVersion: 3138976789 @@ -89,6 +94,8 @@ tests: verification: | ubuntu@ubuntu:~/apps$ ./chip-tool networkcommissioning read max-networks 1 0 + Verify on the TH Log: + [1646226441.815782][2475:2480] CHIP:DMG: SuppressResponse = true, [1646226441.815849][2475:2480] CHIP:DMG: InteractionModelRevision = 1 [1646226441.815889][2475:2480] CHIP:DMG: } @@ -109,6 +116,8 @@ tests: verification: | ./chip-tool networkcommissioning read networks 1 0 + Verify on the TH Log: + [1654076774.294361][33659:33664] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0001 DataVersion: 609053543 [1654076774.294505][33659:33664] CHIP:TOO: Networks: 1 entries [1654076774.294625][33659:33664] CHIP:TOO: [1]: { @@ -122,6 +131,8 @@ tests: verification: | ./chip-tool networkcommissioning read interface-enabled 1 0 + Verify on the TH Log: + [1646226615.428003][2502:2507] CHIP:DMG: [1646226615.428035][2502:2507] CHIP:DMG: SuppressResponse = true, [1646226615.428064][2502:2507] CHIP:DMG: InteractionModelRevision = 1 @@ -136,6 +147,8 @@ tests: verification: | ubuntu@ubuntu:~/apps$ ./chip-tool networkcommissioning read last-networking-status 1 0 + Verify on the TH Log: + [1646227167.614060][2533:2538] CHIP:DMG: SuppressResponse = true, [1646227167.614095][2533:2538] CHIP:DMG: InteractionModelRevision = 1 [1646227167.614126][2533:2538] CHIP:DMG: } @@ -149,7 +162,9 @@ tests: Networks attribute from the DUT" PICS: CNET.S.A0006 verification: | - ubuntu@ubuntu:~/apps$ ./chip-tool networkcommissioning read last-network-id 1 0 + ubuntu@ubuntu:~/apps$ ./chip-tool networkcommissioning read last-network-id 1 + + Verify on the TH Log: [1654076802.288579][33669:33674] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0006 DataVersion: 609053543 [1654076802.288708][33669:33674] CHIP:TOO: LastNetworkID: 6368697035 @@ -160,6 +175,8 @@ tests: verification: | ubuntu@ubuntu:~/apps$ ./chip-tool networkcommissioning read last-connect-error-value 1 0 + Verify on the TH Log: + [1653483224.839873][28189:28194] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0007 DataVersion: 3189790698 [1653483224.839927][28189:28194] CHIP:TOO: LastConnectErrorValue: null [1653483224.840028][28189:28194] CHIP:EM: Sending Standalone Ack for MessageCounter:289132 on exchange 60682i diff --git a/src/app/tests/suites/certification/Test_TC_CNET_4_4.yaml b/src/app/tests/suites/certification/Test_TC_CNET_4_4.yaml index 66bf2dc9ad542e..db3a51888da9bf 100644 --- a/src/app/tests/suites/certification/Test_TC_CNET_4_4.yaml +++ b/src/app/tests/suites/certification/Test_TC_CNET_4_4.yaml @@ -30,6 +30,7 @@ tests: verification: | ./chip-tool networkcommissioning scan-networks 1 0 --Ssid null --Breadcrumb 1 + Verify on the TH Log: [1653475026.012811][29937:29942] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Command 0x0000_0001 [1653475026.012942][29937:29942] CHIP:TOO: ScanNetworksResponse: { [1653475026.012983][29937:29942] CHIP:TOO: networkingStatus: 0 @@ -166,6 +167,7 @@ tests: verification: | ./chip-tool networkcommissioning scan-networks 1 0 --Ssid 47524C50726976617465 --Breadcrumb 1 + Verify on the TH Log: [1653475824.575642][30076:30081] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Command 0x0000_0001 [1653475824.575807][30076:30081] CHIP:TOO: ScanNetworksResponse: { [1653475824.575888][30076:30081] CHIP:TOO: networkingStatus: 0 diff --git a/src/app/tests/suites/certification/Test_TC_CNET_4_5.yaml b/src/app/tests/suites/certification/Test_TC_CNET_4_5.yaml index 80ac4ba26d0bb7..0e77dee8ad56fe 100644 --- a/src/app/tests/suites/certification/Test_TC_CNET_4_5.yaml +++ b/src/app/tests/suites/certification/Test_TC_CNET_4_5.yaml @@ -14,7 +14,7 @@ # Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default name: - 11.4.5. [TC-CNET-4.5] [Wi-Fi] UNSUPPORTED_ACCESS message Validation + 11.4.5. [TC-CNET-4.5] [Wi-Fi] FAILSAFE_REQUIRED message Validation [DUT-Server] config: @@ -30,12 +30,13 @@ tests: 1" PICS: CNET.S.C02.Rsp verification: | - ./chip-tool networkcommissioning add-or-update-wi-fi-network hex:47524C50726976617465 matter123 1 0 + ./chip-tool networkcommissioning add-or-update-wi-fi-network hex:47524C50726976617465 grlprivatewifi092010 1 0 - [1653476386.237761][30120:30125] CHIP:DMG: Received Command Response Status for Endpoint=0 Cluster=0x0000_0031 Command=0x0000_0002 Status=0x7e - [1653476386.237809][30120:30125] CHIP:TOO: Error: IM Error 0x0000057E: General error: 0x7e (UNSUPPORTED_ACCESS) - [1653476386.237862][30120:30125] CHIP:DMG: ICR moving to [AwaitingDe] - [1653476386.237936][30120:30125] CHIP:EM: Sending Standalone Ack for MessageCounter:80621 on exchange 31019i + Verify on the TH Log: + + [1657619600.364023][2056:2061] CHIP:DMG: Received Command Response Status for Endpoint=0 Cluster=0x0000_0031 Command=0x0000_0003 Status=0xca + [1657619600.364102][2056:2061] CHIP:TOO: Error: IM Error 0x000005CA: General error: 0xca (FAILSAFE_REQUIRED) + [1657619600.364186][2056:2061] CHIP:DMG: ICR moving to [AwaitingDe] disabled: true - label: @@ -45,11 +46,11 @@ tests: verification: | ./chip-tool networkcommissioning remove-network hex:47524C50726976617465 1 0 + Verify on the TH Log: - [1653476465.080140][30133:30138] CHIP:DMG: Received Command Response Status for Endpoint=0 Cluster=0x0000_0031 Command=0x0000_0004 Status=0x7e - [1653476465.080178][30133:30138] CHIP:TOO: Error: IM Error 0x0000057E: General error: 0x7e (UNSUPPORTED_ACCESS) - [1653476465.080218][30133:30138] CHIP:DMG: ICR moving to [AwaitingDe] - [1653476465.080283][30133:30138] CHIP:EM: Sending Standalone Ack for MessageCounter:8000679 on exchange 31408i + [1657619600.364023][2056:2061] CHIP:DMG: Received Command Response Status for Endpoint=0 Cluster=0x0000_0031 Command=0x0000_0003 Status=0xca + [1657619600.364102][2056:2061] CHIP:TOO: Error: IM Error 0x000005CA: General error: 0xca (FAILSAFE_REQUIRED) + [1657619600.364186][2056:2061] CHIP:DMG: ICR moving to [AwaitingDe] disabled: true - label: @@ -59,8 +60,9 @@ tests: verification: | ./chip-tool networkcommissioning connect-network hex:47524C50726976617465 1 0 - [1653476531.525782][30142:30147] CHIP:DMG: Received Command Response Status for Endpoint=0 Cluster=0x0000_0031 Command=0x0000_0006 Status=0x7e - [1653476531.525840][30142:30147] CHIP:TOO: Error: IM Error 0x0000057E: General error: 0x7e (UNSUPPORTED_ACCESS) - [1653476531.525948][30142:30147] CHIP:DMG: ICR moving to [AwaitingDe] - [1653476531.526067][30142:30147] CHIP:EM: Sending Standalone Ack for MessageCounter:9576225 on exchange 7511i + Verify on the TH Log: + + [1657619600.364023][2056:2061] CHIP:DMG: Received Command Response Status for Endpoint=0 Cluster=0x0000_0031 Command=0x0000_0003 Status=0xca + [1657619600.364102][2056:2061] CHIP:TOO: Error: IM Error 0x000005CA: General error: 0xca (FAILSAFE_REQUIRED) + [1657619600.364186][2056:2061] CHIP:DMG: ICR moving to [AwaitingDe] disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_CNET_4_6.yaml b/src/app/tests/suites/certification/Test_TC_CNET_4_6.yaml index 0adb87167e3388..d72c40f56a8e4c 100644 --- a/src/app/tests/suites/certification/Test_TC_CNET_4_6.yaml +++ b/src/app/tests/suites/certification/Test_TC_CNET_4_6.yaml @@ -14,7 +14,7 @@ # Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default name: - 11.4.6. [TC-CNET-4.6] [Thread] UNSUPPORTED_ACCESS message Validation + 11.4.6. [TC-CNET-4.6] [Thread] FAILSAFE_REQUIRED message Validation [DUT-Server] config: @@ -31,10 +31,11 @@ tests: verification: | ubuntu@ubuntu:~/connectedhomeip/examples/chip-tool/out/debug$ ./chip-tool networkcommissioning add-or-update-thread-network 1232034768527434274 51 0 - [1650363857.368796][6969:6974] CHIP:DMG: Received Command Response Status for Endpoint=0 Cluster=0x0000_0031 Command=0x0000_0003 Status=0x7e - [1650363857.368875][6969:6974] CHIP:TOO: Error: IM Error 0x0000057E: General error: 0x7e (UNSUPPORTED_ACCESS) - [1650363857.368983][6969:6974] CHIP:DMG: ICR moving to [AwaitingDe] - [1650363857.369099][6969:6974] CHIP:EM: Sending Standalone Ack for MessageCounter:11755505 on exchange 55845i + Verify on the TH Log: + + [1657619600.364023][2056:2061] CHIP:DMG: Received Command Response Status for Endpoint=0 Cluster=0x0000_0031 Command=0x0000_0003 Status=0xca + [1657619600.364102][2056:2061] CHIP:TOO: Error: IM Error 0x000005CA: General error: 0xca (FAILSAFE_REQUIRED) + [1657619600.364186][2056:2061] CHIP:DMG: ICR moving to [AwaitingDe] disabled: true - label: @@ -44,10 +45,11 @@ tests: verification: | ubuntu@ubuntu:~/connectedhomeip/examples/chip-tool/out/debug$ ./chip-tool networkcommissioning remove-network 1232034768527434274 51 0 - [1650363867.634242][6975:6980] CHIP:DMG: Received Command Response Status for Endpoint=0 Cluster=0x0000_0031 Command=0x0000_0004 Status=0x7e - [1650363867.634324][6975:6980] CHIP:TOO: Error: IM Error 0x0000057E: General error: 0x7e (UNSUPPORTED_ACCESS) - [1650363867.634414][6975:6980] CHIP:DMG: ICR moving to [AwaitingDe] - [1650363867.634538][6975:6980] CHIP:EM: Sending Standalone Ack for MessageCounter:10492212 on exchange 58096i + Verify on the TH Log: + + [1657619600.364023][2056:2061] CHIP:DMG: Received Command Response Status for Endpoint=0 Cluster=0x0000_0031 Command=0x0000_0003 Status=0xca + [1657619600.364102][2056:2061] CHIP:TOO: Error: IM Error 0x000005CA: General error: 0xca (FAILSAFE_REQUIRED) + [1657619600.364186][2056:2061] CHIP:DMG: ICR moving to [AwaitingDe] disabled: true - label: @@ -57,9 +59,9 @@ tests: verification: | ubuntu@ubuntu:~/connectedhomeip/examples/chip-tool/out/debug$ ./chip-tool networkcommissioning connect-network 1232034768527434274 51 0 + Verify on the TH Log: - [1650363877.624299][6983:6988] CHIP:DMG: Received Command Response Status for Endpoint=0 Cluster=0x0000_0031 Command=0x0000_0006 Status=0x7e - [1650363877.624379][6983:6988] CHIP:TOO: Error: IM Error 0x0000057E: General error: 0x7e (UNSUPPORTED_ACCESS) - [1650363877.624465][6983:6988] CHIP:DMG: ICR moving to [AwaitingDe] - [1650363877.624582][6983:6988] CHIP:EM: Sending Standalone Ack for MessageCounter:841274 on exchange 6415i + [1657619600.364023][2056:2061] CHIP:DMG: Received Command Response Status for Endpoint=0 Cluster=0x0000_0031 Command=0x0000_0003 Status=0xca + [1657619600.364102][2056:2061] CHIP:TOO: Error: IM Error 0x000005CA: General error: 0xca (FAILSAFE_REQUIRED) + [1657619600.364186][2056:2061] CHIP:DMG: ICR moving to [AwaitingDe] disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_CNET_4_7.yaml b/src/app/tests/suites/certification/Test_TC_CNET_4_7.yaml index ad65ead06a5dfa..be3a92db8eebf2 100644 --- a/src/app/tests/suites/certification/Test_TC_CNET_4_7.yaml +++ b/src/app/tests/suites/certification/Test_TC_CNET_4_7.yaml @@ -27,6 +27,8 @@ tests: verification: | ./chip-tool generalcommissioning arm-fail-safe 60 0 1 0 + Verify on the TH Log: + [1653477320.523480][30238:30243] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0030 Command 0x0000_0001 [1653477320.523608][30238:30243] CHIP:TOO: ArmFailSafeResponse: { [1653477320.523675][30238:30243] CHIP:TOO: errorCode: 0 @@ -44,6 +46,8 @@ tests: verification: | ./chip-tool networkcommissioning add-or-update-wi-fi-network hex:63686970736574757033 matter123 1 0 + Verify on the TH Log: + 1653477413.528761][30261:30266] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0031 Command=0x0000_0005 [1653477413.528863][30261:30266] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Command 0x0000_0005 [1653477413.529035][30261:30266] CHIP:TOO: NetworkConfigResponse: { @@ -59,6 +63,8 @@ tests: verification: | ./chip-tool networkcommissioning read max-networks 1 0 + Verify on the TH Log: + [1653477467.285273][30270:30275] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0000 DataVersion: 1600858167 [1653477467.285409][30270:30275] CHIP:TOO: MaxNetworks: 1 [1653477467.285585][30270:30275] CHIP:EM: Sending Standalone Ack for MessageCounter:2688725 on exchange 43816i @@ -69,6 +75,8 @@ tests: verification: | ./chip-tool networkcommissioning read last-networking-status 1 0 + Verify on the TH Log: + [1653477574.502812][30306:30311] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0005 DataVersion: 1600858167 [1653477574.502935][30306:30311] CHIP:TOO: LastNetworkingStatus: 0 [1653477574.503104][30306:30311] CHIP:EM: Sending Standalone Ack for MessageCounter:12420113 on exchange 5762i @@ -79,6 +87,8 @@ tests: verification: | ./chip-tool networkcommissioning read networks 1 0 + Verify on the TH Log: + [1653477517.257488][30295:30300] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0001 DataVersion: 1600858167 [1653477517.257649][30295:30300] CHIP:TOO: Networks: 1 entries [1653477517.257760][30295:30300] CHIP:TOO: [1]: { diff --git a/src/app/tests/suites/certification/Test_TC_CNET_4_9.yaml b/src/app/tests/suites/certification/Test_TC_CNET_4_9.yaml index 7d651219595fbb..72b4bf684ef3c4 100644 --- a/src/app/tests/suites/certification/Test_TC_CNET_4_9.yaml +++ b/src/app/tests/suites/certification/Test_TC_CNET_4_9.yaml @@ -14,7 +14,7 @@ # Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default name: - 11.4.9. [TC-CNET-4.9] [Wi-Fi] Verification for RemoveNetwork Command + 11.4.7. [TC-CNET-4.9] [Wi-Fi] Verification for RemoveNetwork Command [DUT-Server] config: @@ -23,9 +23,13 @@ config: endpoint: 0 tests: - - label: "TH sends ArmFailSafe command to the DUT" + - label: + "TH sends ArmFailSafe command to the DUT with ExpiryLengthSeco nds set + to 900" verification: | - ./chip-tool generalcommissioning arm-fail-safe 60 0 1 0 + ./chip-tool generalcommissioning arm-fail-safe 900 1 1 0 + + Verify on the TH Log: [1653478311.640549][30368:30373] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0030 Command 0x0000_0001 [1653478311.640646][30368:30373] CHIP:TOO: ArmFailSafeResponse: { @@ -36,44 +40,43 @@ tests: [1653478311.640901][30368:30373] CHIP:EM: Sending Standalone Ack for MessageCounter:8633037 on exchange 20698i disabled: true - - label: - "TH1 sends AddOrUpdateWiFiNetwork command to the DUT with SSID - argument value as 'Userwifi_ssid', Credentials argument value as - 'Userwifi_Credentials' and Breadcrumb argument value as 1" - PICS: CNET.S.C02.Rsp && CNET.S.C05.Tx + - label: "TH reads the Networks attribute list from the DUT" + PICS: CNET.S.A0001 verification: | - ./chip-tool networkcommissioning add-or-update-wi-fi-network hex:47524C50726976617465 matter123 1 0 + ./chip-tool networkcommissioning read networks 1 0 + + Verify on the TH Log: - [1653478317.416576][30375:30380] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Command 0x0000_0005 - [1653478317.416654][30375:30380] CHIP:TOO: NetworkConfigResponse: { - [1653478317.416693][30375:30380] CHIP:TOO: networkingStatus: 0 - [1653478317.416716][30375:30380] CHIP:TOO: networkIndex: 0 - [1653478317.416740][30375:30380] CHIP:TOO: } - [1653478317.416778][30375:30380] CHIP:DMG: ICR moving to [AwaitingDe] - [1653478317.416840][30375:30380] CHIP:EM: Sending Standalone Ack for MessageCounter:435021 on exchange 13893i + [1654250379.881780][5309:5314] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0001 DataVersion: 3741733376 + [1654250379.881974][5309:5314] CHIP:TOO: Networks: 1 entries + [1654250379.882123][5309:5314] CHIP:TOO: [1]: { + [1654250379.882196][5309:5314] CHIP:TOO: NetworkID: 47524C50726976617465 + [1654250379.882257][5309:5314] CHIP:TOO: Connected: TRUE + [1654250379.882312][5309:5314] CHIP:TOO: } disabled: true - - label: "TH1 reads Networks attribute from the DUT" - PICS: CNET.S.A0001 + - label: + "TH finds the index of the Networks list entry with NetworkID field + value PIXIT.CNET.WIFI_ 1ST_ACCESSPOINT_SSID and saves it as + 'Userwifi_netidx'" verification: | - ./chip-tool networkcommissioning read networks 1 0 + ./chip-tool networkcommissioning read last-network-id 1 0 + + Verify on the TH Log: - [1653478322.228998][30381:30386] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0001 DataVersion: 1600858167 - [1653478322.229108][30381:30386] CHIP:TOO: Networks: 1 entries - [1653478322.229185][30381:30386] CHIP:TOO: [1]: { - [1653478322.229228][30381:30386] CHIP:TOO: NetworkID: 47524C50726976617465 - [1653478322.229266][30381:30386] CHIP:TOO: Connected: TRUE - [1653478322.229303][30381:30386] CHIP:TOO: } - [1653478322.229445][30381:30386] CHIP:EM: Sending Standalone Ack for MessageCounter:3962835 on exchange 61433i + [1657198553.376268][5799:5804] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0006 DataVersion: 2494552649 + [1657198553.376351][5799:5804] CHIP:TOO: LastNetworkID: 47524C50726976617465 disabled: true - label: - "TH sends RemoveNetwork Command to the DUT with NetworkID argument - value as 'Userwifi_ssid' and Breadcrumb argument value as 1" + "TH sends RemoveNetwork Command to the DUT with NetworkID field set to + PIXIT.CNET.WIFI_ 1ST_ACCESSPOINT _SSID and Breadcrumb field set to 1" PICS: CNET.S.C04.Rsp && CNET.S.C05.Tx verification: | ./chip-tool networkcommissioning remove-network hex:47524C50726976617465 1 0 + Verify on the TH Log: + [1653478327.351092][30388:30393] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Command 0x0000_0005 [1653478327.351200][30388:30393] CHIP:TOO: NetworkConfigResponse: { @@ -88,6 +91,9 @@ tests: PICS: CNET.S.A0001 verification: | ./chip-tool networkcommissioning read networks 1 0 + + Verify on the TH Log: + [1653478331.979300][30395:30400] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0001 DataVersion: 1600858167 [1653478331.979380][30395:30400] CHIP:TOO: Networks: 0 entries [1653478331.979496][30395:30400] CHIP:EM: Sending Standalone Ack for MessageCounter:609449 on exchange 40264i @@ -98,7 +104,166 @@ tests: verification: | ./chip-tool networkcommissioning read last-networking-status 1 0 + Verify on the TH Log: + [1653478850.425096][30420:30425] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0005 DataVersion: 1600858167 [1653478850.425170][30420:30425] CHIP:TOO: LastNetworkingStatus: 0 [1653478850.425269][30420:30425] CHIP:EM: Sending Standalone Ack for MessageCounter:8275942 on exchange 13394i disabled: true + + - label: "TH reads LastNetworkID attribute from the DUT" + PICS: CNET.S.A0006 + verification: | + ./chip-tool networkcommissioning read last-network-id 1 0 + + + Verify on the TH Log: + + [1657197861.497831][5737:5742] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0006 DataVersion: 2494552649 + [1657197861.497897][5737:5742] CHIP:TOO: LastNetworkID: 47524C50726976617465 + disabled: true + + - label: + "TH reads Breadcrumb attribute from the General Commissioning cluster + of the DUT" + PICS: CNET.S.C04.Rsp + verification: | + ./chip-tool generalcommissioning read breadcrumb 1 0 + + Verify on the TH Log: + + [1657197903.686316][5745:5750] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0030 Attribute 0x0000_0000 DataVersion: 2805642043 + [1657197903.686428][5745:5750] CHIP:TOO: Breadcrumb: 1 + disabled: true + + - label: + "TH sends ConnectNetwork command to the DUT with NetworkID field set + to PIXIT.CNET.WIFI_ 1ST_ACCESSPOINT _SSID and Breadcrumb field set to + 2" + PICS: CNET.S.C04.Rsp + verification: | + ./chip-tool networkcommissioning connect-network hex:47524C50726976617465 1 0 --Breadcrumb 2 + + Verify on the TH Log: + + [1657288261.892249][2347:2352] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0031 Command=0x0000_0007 + [1657288261.892304][2347:2352] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Command 0x0000_0007 + [1657288261.892430][2347:2352] CHIP:TOO: ConnectNetworkResponse: { + [1657288261.892477][2347:2352] CHIP:TOO: networkingStatus: 3 + [1657288261.892511][2347:2352] CHIP:TOO: errorValue: 0 + [1657288261.892542][2347:2352] CHIP:TOO: } + disabled: true + + - label: + "TH reads Breadcrumb attribute from the General Commissioning cluster + of the DUT" + PICS: CNET.S.C04.Rsp + verification: | + ./chip-tool generalcommissioning read breadcrumb 1 0 + + Verify on the TH Log: + + [1657288331.671111][2360:2365] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0030 Attribute 0x0000_0000 DataVersion: 3470734109 + [1657288331.671207][2360:2365] CHIP:TOO: Breadcrumb: 1 + disabled: true + + - label: + "TH sends ArmFailSafe command to the DUT with ExpiryLengthSeco nds set + to 0" + verification: | + ./chip-tool generalcommissioning arm-fail-safe 0 0 1 0 + + Verify on the TH Log: + + [1657288382.006035][2369:2374] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0030 Command=0x0000_0001 + [1657288382.006094][2369:2374] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0030 Command 0x0000_0001 + [1657288382.006157][2369:2374] CHIP:TOO: ArmFailSafeResponse: { + [1657288382.006201][2369:2374] CHIP:TOO: errorCode: 0 + [1657288382.006233][2369:2374] CHIP:TOO: debugText: + [1657288382.006263][2369:2374] CHIP:TOO: } + disabled: true + + - label: "TH reads Networks attribute from the DUT" + PICS: CNET.S.A0001 + verification: | + ./chip-tool networkcommissioning read networks 1 0 + + Verify on the TH Log: + + [1657288403.226567][2376:2381] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0001 DataVersion: 1420716065 + [1657288403.226663][2376:2381] CHIP:TOO: Networks: 0 entries + disabled: true + + - label: + "TH sends ArmFailSafe command to the DUT with ExpiryLengthSeco nds set + to 90" + verification: | + ./chip-tool generalcommissioning arm-fail-safe 90 1 1 0 + + Verify on the TH Log: + + [1657288428.409103][2382:2388] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0030 Command=0x0000_0001 + [1657288428.409191][2382:2388] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0030 Command 0x0000_0001 + [1657288428.409303][2382:2388] CHIP:TOO: ArmFailSafeResponse: { + [1657288428.409367][2382:2388] CHIP:TOO: errorCode: 0 + [1657288428.409435][2382:2388] CHIP:TOO: debugText: + [1657288428.409481][2382:2388] CHIP:TOO: } + disabled: true + + - label: + "TH sends RemoveNetwork Command to the DUT with NetworkID field set to + PIXIT.CNET.WIFI_ 1ST_ACCESSPOINT _SSID and Breadcrumb field set to 1" + PICS: CNET.S.C04.Rsp && CNET.S.C05.Tx + verification: | + ./chip-tool networkcommissioning remove-network hex:47524C50726976617465 1 0 --Breadcrumb 1 + + [1657288459.534546][2390:2395] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0031 Command=0x0000_0005 + [1657288459.534622][2390:2395] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Command 0x0000_0005 + [1657288459.534720][2390:2395] CHIP:TOO: NetworkConfigResponse: { + [1657288459.534779][2390:2395] CHIP:TOO: networkingStatus: 3 + [1657288459.534824][2390:2395] CHIP:TOO: } + disabled: true + + - label: "TH sends the CommissioningCo mplete command to the DUT" + PICS: CNET.S.C04.Rsp + verification: | + ./chip-tool generalcommissioning commissioning-complete 1 0 + + Verify on the TH Log: + + [1657288504.905001][2397:2402] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0030 Command=0x0000_0005 + [1657288504.905050][2397:2402] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0030 Command 0x0000_0005 + [1657288504.905108][2397:2402] CHIP:TOO: CommissioningCompleteResponse: { + [1657288504.905145][2397:2402] CHIP:TOO: errorCode: 0 + [1657288504.905169][2397:2402] CHIP:TOO: debugText: + [1657288504.905191][2397:2402] CHIP:TOO: } + disabled: true + + - label: + "TH sends ArmFailSafe command to the DUT with ExpiryLengthSeco nds set + to 0 to ensure the CommissioningCo mplete call properly persisted the + failsafe context. This call should have no effect if Commissionining + Complete call is handled correctly" + verification: | + ./chip-tool generalcommissioning arm-fail-safe 0 0 1 0 + + Verify on the TH Log: + + [1657288529.987350][2404:2409] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0030 Command=0x0000_0001 + [1657288529.987514][2404:2409] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0030 Command 0x0000_0001 + [1657288529.987612][2404:2409] CHIP:TOO: ArmFailSafeResponse: { + [1657288529.987677][2404:2409] CHIP:TOO: errorCode: 0 + [1657288529.987725][2404:2409] CHIP:TOO: debugText: + [1657288529.987772][2404:2409] CHIP:TOO: } + disabled: true + + - label: "TH reads Networks attribute from the DUT" + PICS: CNET.S.A0001 + verification: | + ./chip-tool networkcommissioning read networks 1 0 + + Verify on the TH Log: + + [1657288549.446752][2412:2417] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0001 DataVersion: 1420716065 + [1657288549.446852][2412:2417] CHIP:TOO: Networks: 0 entries + disabled: true 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 daef7cd71a53a5..367c2bc92728f9 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 @@ -25,10 +25,9 @@ config: tests: - label: "Commission DUT to TH1s Fabric" verification: | - DUT side: sudo ./chip-all-clusters-app --wifi - TH side: + Verify in TH log: ./chip-tool pairing ble-wifi 1 zigbeehome matter123 20202021 3841 --trace_decode 1 [1650455358.501816][4366:4371] CHIP:TOO: Device commissioning completed with success @@ -40,6 +39,7 @@ tests: verification: | ./chip-tool operationalcredentials read fabrics 1 0 + Verify in TH 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]: { @@ -56,16 +56,34 @@ tests: "Factory reset DUT Perform the device discovery flow checks as covered in TC-DD-2.2" 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 + 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" + 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" disabled: true - label: "Commission DUT to TH2s Fabric" verification: | To commission DUT to TH2 follow below procedure 1../chip-tool pairing open-commissioning-window 1 1 400 2000 3840 on TH + Verify in TH 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 + [1635691999.946850][3822:3827] CHIP:IN: Prepared plaintext message 0xffffaa58a960 to 0x0000000000000000 of type 0x10 and protocolId (0, 0) on exchange 35324i with MessageCounter:1726016118. + [1635691999.946895][3822:3827] CHIP:IN: Sending plaintext msg 0xffffaa58a960 with MessageCounter:1726016118 to 0x0000000000000000 at monotonic time: 5805158 msec + [1635691999.946983][3822:3827] CHIP:EM: Flushed pending ack for MessageCounter:3234931243 on exchange 35324i + + 2. manualcode will be provided by TH when we pass above command pass manualcode in TH2 to commission by using "./chip-tool pairing code 2 36199720672" considering 36199720672 as manualcode generated in TH + + Verify whether you got below message in the log of TH + Device commissioning completed with success disabled: true - label: @@ -74,6 +92,7 @@ tests: verification: | ./chip-tool operationalcredentials read fabrics 2 0 + Verify in TH 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]: { @@ -88,9 +107,10 @@ tests: - label: "TH2 does a non-fabric-filtered read of NOCs attribute list from DUT" - PICS: "" verification: | - "./chip-tool operationalcredentials read nocs 2 0 + ./chip-tool operationalcredentials read nocs 2 0 + + Verify in TH Log: [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 @@ -98,5 +118,5 @@ tests: [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: }" + [1655471146.098660][13302:13307] CHIP:TOO: } disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_DA_1_2.yaml b/src/app/tests/suites/certification/Test_TC_DA_1_2.yaml index 2292c0db1e1c76..650843a11b56ed 100644 --- a/src/app/tests/suites/certification/Test_TC_DA_1_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_DA_1_2.yaml @@ -25,7 +25,8 @@ config: tests: - label: "TH1 generates 32-byte AttestationNonce" verification: | - Verifu in TH log + Verify in TH Log: + [1655374218.117635][35023:35028] CHIP:CTL: Sent Attestation request, waiting for the Attestation Information [1655374218.117686][35023:35028] CHIP:DMG: ICR moving to [AwaitingDe] [1655374218.204040][35023:35028] CHIP:DL: HandlePlatformSpecificBLEEvent 16387 @@ -171,33 +172,28 @@ tests: "TH1 sends AttestationRequest Command with a random 32 bytes AttestationNonce` to the DUT." verification: | - Verify in TH log + ./chip-tool operationalcredentials attestation-request hex:762B6B9DA08F7FC63BB693E38634EC6F87CEFF28AB1554A16AD43DCEC24C2466 1 0 - [1655374218.459627][35023:35028] CHIP:DMG: Attestation Nonce (32) = 762B6B9DA08F7FC63BB693E38634EC6F87CEFF28AB1554A16AD43DCEC24C2466 - [1655374218.459664][35023:35028] CHIP:DMG: Timestamp = 0 - [1655374218.459699][35023:35028] CHIP:DMG: } + Verify in TH Log: + [1657814395.876850][2481:2486] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_003E Command=0x0000_0001 + [1657814395.876900][2481:2486] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Command 0x0000_0001 + [1657814395.877019][2481:2486] CHIP:TOO: AttestationResponse: { + [1657814395.878828][2481:2486] CHIP:TOO: attestationElements: 1531011D023082021906092A864886F70D010702A082020A30820206020103310D300B06096086480165030402013082017106092A864886F70D010701A08201620482015E152400012501F1FF3602050080050180050280050380050480050580050680050780050880050980050A80050B80050C80050D80050E80050F80051080051180051280051380051480051580051680051780051880051980051A80051B80051C80051D80051E80051F80052080052180052280052380052480052580052680052780052880052980052A80052B80052C80052D80052E80052F80053080053180053280053380053480053580053680053780053880053980053A80053B80053C80053D80053E80053F80054080054180054280054380054480054580054680054780054880054980054A80054B80054C80054D80054E80054F80055080055180055280055380055480055580055680055780055880055980055A80055B80055C80055D80055E80055F80056080056180056280056380182403162C04135A494732303134325A423333303030332D3234240500240600250794 + [1657814395.878926][2481:2486] CHIP:TOO: ...................: 2624080018317D307B020103801462FA823359ACFAA9963E1CFA140ADDF504F37160300B0609608648016503040201300A06082A8648CE3D04030204473045022024E5D1F47A7D7B0D206A26EF699B7C9757B72D469089DE3192E678C745E7F60C022100F8AA2FA711FCB79B97E397CEDA667BAE464E2BD3FFDFC3CCED7AA8CA5F4C1A7C300220762B6B9DA08F7FC63BB693E38634EC6F87CEFF28AB1554A16AD43DCEC24C246624030018 + [1657814395.878960][2481:2486] CHIP:TOO: signature: A572A713B9A05208DEE004F41043577547B66D1EDECB36707E069EB1C04C1F75BEE56D3FE1E5CD3FD5E6CFB848E0B888C08BB3FD42D988B175A07D671F3C4D7C + [1657814395.878985][2481:2486] CHIP:TOO: } disabled: true - label: "TH1 sends CertificateChainRequest Command with CertificateType field set to DACCertificate (1) to DUT to obtain DAC" verification: | - Verify in TH log: + ./chip-tool operationalcredentials certificate-chain-request 1 1 0 - [1655374217.766326][35023:35028] CHIP:DMG: DAC/PAI (463) = - [1655374217.766373][35023:35028] 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----- + Verify in TH Log: + CertificateChainResponse: { + [1657814457.685538][2491:2496] CHIP:TOO: certificate: 308201E73082018EA003020102020869CDF10DE9E54ED1300A06082A8648CE3D040302303D3125302306035504030C1C4D6174746572204465762050414920307846464631206E6F2050494431143012060A2B0601040182A27C02010C04464646313020170D3232303230353030303030305A180F39393939313233313233353935395A30533125302306035504030C1C4D61747465722044657620444143203078464646312F30783830303131143012060A2B0601040182A27C02010C044646463131143012060A2B0601040182A27C02020C04383030313059301306072A8648CE3D020106082A8648CE3D03010703420004463AC69342910A0E5588FC6FF56BB63E62ECCECB148F7D4EB03EE552601415767D16A5C663F793E49123260B8297A7CD7E7CFC7B316B39D98E90D29377738E82A360305E300C0603551D130101FF04023000300E0603551D0F0101FF040403020780301D0603551D0E0416041488DDE7B300382932CFF734C04624810F44168A6F301F0603551D2304183016801463540E47F64B1C38D13884A462D16C195D8FFB3C300A06082A8648CE3D040302 + [1657814457.685600][2491:2496] CHIP:TOO: ...........: 034700304402200127A27B4B44610EE2FCDC4D2B7885563660BC0F76F17219ED6A08DFB2B3C1CD02206B59E0AF45F3EB2A85B919D35731528C6028C415239545E108E4E54E70971353 disabled: true - label: "TH1 saves DAC certificate" @@ -209,23 +205,15 @@ tests: "TH1 sends CertificateChainRequest Command with CertificateType field set to PAICertificate (2) to DUT to obtain DAC" verification: | - Verify in TH log: + ./chip-tool operationalcredentials certificate-chain-request 2 1 0 - [1655374218.109922][35023:35028] CHIP:DMG: DAC/PAI (491) = - [1655374218.110041][35023:35028] CHIP:DMG: { - -----BEGIN CERTIFICATE----- - MIIB5zCCAY6gAwIBAgIIac3xDenlTtEwCgYIKoZIzj0EAwIwPTElMCMGA1UEAwwc - TWF0dGVyIERldiBQQUkgMHhGRkYxIG5vIFBJRDEUMBIGCisGAQQBgqJ8AgEMBEZG - RjEwIBcNMjIwMjA1MDAwMDAwWhgPOTk5OTEyMzEyMzU5NTlaMFMxJTAjBgNVBAMM - HE1hdHRlciBEZXYgREFDIDB4RkZGMS8weDgwMDExFDASBgorBgEEAYKifAIBDARG - RkYxMRQwEgYKKwYBBAGConwCAgwEODAwMTBZMBMGByqGSM49AgEGCCqGSM49AwEH - A0IABEY6xpNCkQoOVYj8b/Vrtj5i7M7LFI99TrA+5VJgFBV2fRalxmP3k+SRIyYL - gpenzX58/HsxaznZjpDSk3dzjoKjYDBeMAwGA1UdEwEB/wQCMAAwDgYDVR0PAQH/ - BAQDAgeAMB0GA1UdDgQWBBSI3eezADgpMs/3NMBGJIEPRBaKbzAfBgNVHSMEGDAW - gBRjVA5H9kscONE4hKRi0WwZXY/7PDAKBggqhkjOPQQDAgNHADBEAiABJ6J7S0Rh - DuL83E0reIVWNmC8D3bxchntagjfsrPBzQIga1ngr0Xz6yqFuRnTVzFSjGAoxBUj - lUXhCOTlTnCXE1M= - -----END CERTIFICATE----- + Verify in TH Log: + + [1657814533.325960][2501:2506] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_003E Command=0x0000_0003 + [1657814533.326064][2501:2506] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Command 0x0000_0003 + [1657814533.326158][2501:2506] CHIP:TOO: CertificateChainResponse: { + [1657814533.326229][2501:2506] CHIP:TOO: certificate: 308201CB30820171A003020102020856AD8222AD945B64300A06082A8648CE3D04030230303118301606035504030C0F4D617474657220546573742050414131143012060A2B0601040182A27C02010C04464646313020170D3232303230353030303030305A180F39393939313233313233353935395A303D3125302306035504030C1C4D6174746572204465762050414920307846464631206E6F2050494431143012060A2B0601040182A27C02010C04464646313059301306072A8648CE3D020106082A8648CE3D03010703420004419A9315C2173E0C8C876D03CCFC944852647F7FEC5E5082F4059928ECA894C594151309AC631E4CB03392AF684B0BAFB7E65B3B8162C2F52BF931B8E77AAA82A366306430120603551D130101FF040830060101FF020100300E0603551D0F0101FF040403020106301D0603551D0E0416041463540E47F64B1C38D13884A462D16C195D8FFB3C301F0603551D230418301680146AFD22771F511FECBF1641976710DCDC31A1717E300A06082A8648CE3D0403020348003045022100B2EF27F49AE9B50FB91EEAC94C4D0BDBB8D7929C6C + [1657814533.326315][2501:2506] CHIP:TOO: ...........: B88FACE529368D12054C0C0220655DC92B86BD909882A6C62177B825D7D05EDBE7C22F9FEA71220E7EA703F891 disabled: true - label: "TH1 saves PAI certificate" @@ -238,6 +226,8 @@ tests: saves it as basic_info_vendor_id" verification: | ./chip-tool basic read vendor-id 1 0 + + Verify in TH Log: [1654068802.514300][10990:10995] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0028 Attribute 0x0000_0002 DataVersion: 2079473956 [1654068802.514357][10990:10995] CHIP:TOO: VendorID: 65521 [1654068802.514447][10990:10995] CHIP:EM: Sending Standalone Ack for MessageCounter:5573281 on exchange 17510i @@ -249,6 +239,7 @@ tests: verification: | ./chip-tool basic read product-id 1 0 + Verify in TH Log: [1654068987.385768][11050:11055] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0028 Attribute 0x0000_0004 DataVersion: 2079473956 [1654068987.385820][11050:11055] CHIP:TOO: ProductID: 32769 [1654068987.385908][11050:11055] CHIP:EM: Sending Standalone Ack for MessageCounter:7653435 on exchange 20545i @@ -391,36 +382,36 @@ tests: [1655374218.460157][35023:35028] CHIP:DMG: ICR moving to [ResponseRe] [1655374218.460220][35023:35028] CHIP:DMG: InvokeResponseMessage = [1655374218.460260][35023:35028] CHIP:DMG: { - [1655374218.460298][35023:35028] CHIP:DMG: suppressResponse = false, - [1655374218.460338][35023:35028] CHIP:DMG: InvokeResponseIBs = - [1655374218.460390][35023:35028] CHIP:DMG: [ - [1655374218.460430][35023:35028] CHIP:DMG: InvokeResponseIB = - [1655374218.460487][35023:35028] CHIP:DMG: { - [1655374218.460530][35023:35028] CHIP:DMG: CommandDataIB = - [1655374218.460580][35023:35028] CHIP:DMG: { - [1655374218.460628][35023:35028] CHIP:DMG: CommandPathIB = - [1655374218.460686][35023:35028] CHIP:DMG: { - [1655374218.460745][35023:35028] CHIP:DMG: EndpointId = 0x0, - [1655374218.460802][35023:35028] CHIP:DMG: ClusterId = 0x3e, - [1655374218.460852][35023:35028] CHIP:DMG: CommandId = 0x1, - [1655374218.460906][35023:35028] CHIP:DMG: }, + [1655374218.460298][35023:35028] CHIP:DMG: suppressResponse = false, + [1655374218.460338][35023:35028] CHIP:DMG: InvokeResponseIBs = + [1655374218.460390][35023:35028] CHIP:DMG: [ + [1655374218.460430][35023:35028] CHIP:DMG: InvokeResponseIB = + [1655374218.460487][35023:35028] CHIP:DMG: { + [1655374218.460530][35023:35028] CHIP:DMG: CommandDataIB = + [1655374218.460580][35023:35028] CHIP:DMG: { + [1655374218.460628][35023:35028] CHIP:DMG: CommandPathIB = + [1655374218.460686][35023:35028] CHIP:DMG: { + [1655374218.460745][35023:35028] CHIP:DMG: EndpointId = 0x0, + [1655374218.460802][35023:35028] CHIP:DMG: ClusterId = 0x3e, + [1655374218.460852][35023:35028] CHIP:DMG: CommandId = 0x1, + [1655374218.460906][35023:35028] CHIP:DMG: }, [1655374218.460962][35023:35028] CHIP:DMG: - [1655374218.461010][35023:35028] CHIP:DMG: CommandFields = - [1655374218.461068][35023:35028] CHIP:DMG: { - [1655374218.461123][35023:35028] CHIP:DMG: 0x0 = [ - [1655374218.461351][35023:35028] 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, 0x - [1655374218.461469][35023:35028] CHIP:DMG: ] - [1655374218.461523][35023:35028] CHIP:DMG: 0x1 = [ - [1655374218.461611][35023:35028] CHIP:DMG: 0xd6, 0x91, 0x3d, 0x0, 0x37, 0xd3, 0x23, 0x11, 0xa9, 0xe6, 0x23, 0xe3, 0xb0, 0x80, 0x27, 0x71, 0xc2, 0xb1, 0xdc, 0xe1, 0xb8, 0x95, 0x7c, 0x88, 0x92, 0xc6, 0x84, 0xe4, 0x21, 0xa2, 0x87, 0x22, 0x6d, 0xeb, 0x42, 0x82, 0x67, 0xe0, 0x9c, 0x17, 0xb1, 0x1c, 0x1, 0xff, 0x8b, 0xff, 0x23, 0x47, 0xc4, 0xe7, 0x6, 0x1d, 0x8f, 0x1e, 0x26, 0x8e, 0xad, 0xbd, 0xc9, 0x9e, 0x23, 0x88, 0xdb, 0xb6, - [1655374218.461681][35023:35028] CHIP:DMG: ] - [1655374218.461733][35023:35028] CHIP:DMG: }, - [1655374218.461783][35023:35028] CHIP:DMG: }, + [1655374218.461010][35023:35028] CHIP:DMG: CommandFields = + [1655374218.461068][35023:35028] CHIP:DMG: { + [1655374218.461123][35023:35028] CHIP:DMG: 0x0 = [ + [1655374218.461351][35023:35028] 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, 0x + [1655374218.461469][35023:35028] CHIP:DMG: ] + [1655374218.461523][35023:35028] CHIP:DMG: 0x1 = [ + [1655374218.461611][35023:35028] CHIP:DMG: 0xd6, 0x91, 0x3d, 0x0, 0x37, 0xd3, 0x23, 0x11, 0xa9, 0xe6, 0x23, 0xe3, 0xb0, 0x80, 0x27, 0x71, 0xc2, 0xb1, 0xdc, 0xe1, 0xb8, 0x95, 0x7c, 0x88, 0x92, 0xc6, 0x84, 0xe4, 0x21, 0xa2, 0x87, 0x22, 0x6d, 0xeb, 0x42, 0x82, 0x67, 0xe0, 0x9c, 0x17, 0xb1, 0x1c, 0x1, 0xff, 0x8b, 0xff, 0x23, 0x47, 0xc4, 0xe7, 0x6, 0x1d, 0x8f, 0x1e, 0x26, 0x8e, 0xad, 0xbd, 0xc9, 0x9e, 0x23, 0x88, 0xdb, 0xb6, + [1655374218.461681][35023:35028] CHIP:DMG: ] + [1655374218.461733][35023:35028] CHIP:DMG: }, + [1655374218.461783][35023:35028] CHIP:DMG: }, [1655374218.461855][35023:35028] CHIP:DMG: - [1655374218.461900][35023:35028] CHIP:DMG: }, + [1655374218.461900][35023:35028] CHIP:DMG: }, [1655374218.461951][35023:35028] CHIP:DMG: - [1655374218.461990][35023:35028] CHIP:DMG: ], + [1655374218.461990][35023:35028] CHIP:DMG: ], [1655374218.462041][35023:35028] CHIP:DMG: - [1655374218.462080][35023:35028] CHIP:DMG: InteractionModelRevision = 1 + [1655374218.462080][35023:35028] CHIP:DMG: InteractionModelRevision = 1 [1655374218.462118][35023:35028] CHIP:DMG: }, [1655374218.462220][35023:35028] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_003E Command=0x0000_0001 [1655374218.462275][35023:35028] CHIP:CTL: Received Attestation Information from the device @@ -437,36 +428,38 @@ tests: "TH1 sends AttestationRequestCommand with Invalid AttestationNonce (size> 32 bytes) as the field to the DUT." verification: | - ./chip-tool operationalcredentials attestation-request 762B6B9DA08F7FC63BB693E38634EC6F87CEFF28AB1554A16AD43DCEC24C2466A16AD43DCEC24C2466 1 0 + Verify in TH Log: + + ./chip-tool operationalcredentials attestation-request 762B6B9DA08F7FC63BB693E38634EC6F87CEFF28AB1554A16AD43DCEC24C2466A16AD43DCEC24C2466 1 0 [1655984597.150863][23339:23344] CHIP:DMG: InvokeResponseMessage = [1655984597.150923][23339:23344] CHIP:DMG: { - [1655984597.150981][23339:23344] CHIP:DMG: suppressResponse = false, - [1655984597.151042][23339:23344] CHIP:DMG: InvokeResponseIBs = - [1655984597.151117][23339:23344] CHIP:DMG: [ - [1655984597.151177][23339:23344] CHIP:DMG: InvokeResponseIB = - [1655984597.151255][23339:23344] CHIP:DMG: { - [1655984597.151318][23339:23344] CHIP:DMG: CommandStatusIB = - [1655984597.151404][23339:23344] CHIP:DMG: { - [1655984597.151475][23339:23344] CHIP:DMG: CommandPathIB = - [1655984597.151561][23339:23344] CHIP:DMG: { - [1655984597.151644][23339:23344] CHIP:DMG: EndpointId = 0x0, - [1655984597.151729][23339:23344] CHIP:DMG: ClusterId = 0x3e, - [1655984597.151812][23339:23344] CHIP:DMG: CommandId = 0x0, - [1655984597.151890][23339:23344] CHIP:DMG: }, + [1655984597.150981][23339:23344] CHIP:DMG: suppressResponse = false, + [1655984597.151042][23339:23344] CHIP:DMG: InvokeResponseIBs = + [1655984597.151117][23339:23344] CHIP:DMG: [ + [1655984597.151177][23339:23344] CHIP:DMG: InvokeResponseIB = + [1655984597.151255][23339:23344] CHIP:DMG: { + [1655984597.151318][23339:23344] CHIP:DMG: CommandStatusIB = + [1655984597.151404][23339:23344] CHIP:DMG: { + [1655984597.151475][23339:23344] CHIP:DMG: CommandPathIB = + [1655984597.151561][23339:23344] CHIP:DMG: { + [1655984597.151644][23339:23344] CHIP:DMG: EndpointId = 0x0, + [1655984597.151729][23339:23344] CHIP:DMG: ClusterId = 0x3e, + [1655984597.151812][23339:23344] CHIP:DMG: CommandId = 0x0, + [1655984597.151890][23339:23344] CHIP:DMG: }, [1655984597.151978][23339:23344] CHIP:DMG: - [1655984597.152050][23339:23344] CHIP:DMG: StatusIB = - [1655984597.152127][23339:23344] CHIP:DMG: { - [1655984597.152216][23339:23344] CHIP:DMG: status = 0x85 (INVALID_COMMAND), - [1655984597.152297][23339:23344] CHIP:DMG: }, + [1655984597.152050][23339:23344] CHIP:DMG: StatusIB = + [1655984597.152127][23339:23344] CHIP:DMG: { + [1655984597.152216][23339:23344] CHIP:DMG: status = 0x85 (INVALID_COMMAND), + [1655984597.152297][23339:23344] CHIP:DMG: }, [1655984597.152377][23339:23344] CHIP:DMG: - [1655984597.152449][23339:23344] CHIP:DMG: }, + [1655984597.152449][23339:23344] CHIP:DMG: }, [1655984597.152527][23339:23344] CHIP:DMG: - [1655984597.152593][23339:23344] CHIP:DMG: }, + [1655984597.152593][23339:23344] CHIP:DMG: }, [1655984597.152666][23339:23344] CHIP:DMG: - [1655984597.152723][23339:23344] CHIP:DMG: ], + [1655984597.152723][23339:23344] CHIP:DMG: ], [1655984597.152794][23339:23344] CHIP:DMG: - [1655984597.152852][23339:23344] CHIP:DMG: InteractionModelRevision = 1 + [1655984597.152852][23339:23344] CHIP:DMG: InteractionModelRevision = 1 [1655984597.152908][23339:23344] CHIP:DMG: }, [1655984597.153037][23339:23344] CHIP:DMG: Received Command Response Status for Endpoint=0 Cluster=0x0000_003E Command=0x0000_0000 Status=0x85 [1655984597.153112][23339:23344] CHIP:TOO: Error: IM Error 0x00000585: General error: 0x85 (INVALID_COMMAND) @@ -477,37 +470,39 @@ tests: "TH1 sends AttestationRequestCommand with invalid AttestationNonce (size < 32 bytes) as the field to the DUT." verification: | + Verify in TH Log: + ./chip-tool operationalcredentials attestation-request 762B6B9DA08F7FC63BB693E38634EC6F87CEFF28AB1554A1 1 0 [1655984597.150863][23339:23344] CHIP:DMG: InvokeResponseMessage = [1655984597.150923][23339:23344] CHIP:DMG: { - [1655984597.150981][23339:23344] CHIP:DMG: suppressResponse = false, - [1655984597.151042][23339:23344] CHIP:DMG: InvokeResponseIBs = - [1655984597.151117][23339:23344] CHIP:DMG: [ - [1655984597.151177][23339:23344] CHIP:DMG: InvokeResponseIB = - [1655984597.151255][23339:23344] CHIP:DMG: { - [1655984597.151318][23339:23344] CHIP:DMG: CommandStatusIB = - [1655984597.151404][23339:23344] CHIP:DMG: { - [1655984597.151475][23339:23344] CHIP:DMG: CommandPathIB = - [1655984597.151561][23339:23344] CHIP:DMG: { - [1655984597.151644][23339:23344] CHIP:DMG: EndpointId = 0x0, - [1655984597.151729][23339:23344] CHIP:DMG: ClusterId = 0x3e, - [1655984597.151812][23339:23344] CHIP:DMG: CommandId = 0x0, - [1655984597.151890][23339:23344] CHIP:DMG: }, + [1655984597.150981][23339:23344] CHIP:DMG: suppressResponse = false, + [1655984597.151042][23339:23344] CHIP:DMG: InvokeResponseIBs = + [1655984597.151117][23339:23344] CHIP:DMG: [ + [1655984597.151177][23339:23344] CHIP:DMG: InvokeResponseIB = + [1655984597.151255][23339:23344] CHIP:DMG: { + [1655984597.151318][23339:23344] CHIP:DMG: CommandStatusIB = + [1655984597.151404][23339:23344] CHIP:DMG: { + [1655984597.151475][23339:23344] CHIP:DMG: CommandPathIB = + [1655984597.151561][23339:23344] CHIP:DMG: { + [1655984597.151644][23339:23344] CHIP:DMG: EndpointId = 0x0, + [1655984597.151729][23339:23344] CHIP:DMG: ClusterId = 0x3e, + [1655984597.151812][23339:23344] CHIP:DMG: CommandId = 0x0, + [1655984597.151890][23339:23344] CHIP:DMG: }, [1655984597.151978][23339:23344] CHIP:DMG: - [1655984597.152050][23339:23344] CHIP:DMG: StatusIB = - [1655984597.152127][23339:23344] CHIP:DMG: { - [1655984597.152216][23339:23344] CHIP:DMG: status = 0x85 (INVALID_COMMAND), - [1655984597.152297][23339:23344] CHIP:DMG: }, + [1655984597.152050][23339:23344] CHIP:DMG: StatusIB = + [1655984597.152127][23339:23344] CHIP:DMG: { + [1655984597.152216][23339:23344] CHIP:DMG: status = 0x85 (INVALID_COMMAND), + [1655984597.152297][23339:23344] CHIP:DMG: }, [1655984597.152377][23339:23344] CHIP:DMG: - [1655984597.152449][23339:23344] CHIP:DMG: }, + [1655984597.152449][23339:23344] CHIP:DMG: }, [1655984597.152527][23339:23344] CHIP:DMG: - [1655984597.152593][23339:23344] CHIP:DMG: }, + [1655984597.152593][23339:23344] CHIP:DMG: }, [1655984597.152666][23339:23344] CHIP:DMG: - [1655984597.152723][23339:23344] CHIP:DMG: ], + [1655984597.152723][23339:23344] CHIP:DMG: ], [1655984597.152794][23339:23344] CHIP:DMG: - [1655984597.152852][23339:23344] CHIP:DMG: InteractionModelRevision = 1 + [1655984597.152852][23339:23344] CHIP:DMG: InteractionModelRevision = 1 [1655984597.152908][23339:23344] CHIP:DMG: }, [1655984597.153037][23339:23344] CHIP:DMG: Received Command Response Status for Endpoint=0 Cluster=0x0000_003E Command=0x0000_0000 Status=0x85 [1655984597.153112][23339:23344] CHIP:TOO: Error: IM Error 0x00000585: General error: 0x85 (INVALID_COMMAND) diff --git a/src/app/tests/suites/certification/Test_TC_DA_1_3.yaml b/src/app/tests/suites/certification/Test_TC_DA_1_3.yaml index 58b036e53212c6..615ae2c6cd986d 100644 --- a/src/app/tests/suites/certification/Test_TC_DA_1_3.yaml +++ b/src/app/tests/suites/certification/Test_TC_DA_1_3.yaml @@ -25,10 +25,9 @@ config: tests: - label: "Start the commissioning process of TH1 on DUT" verification: | - DUT side: sudo ./chip-all-clusters-app --wifi - TH side: + 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 @@ -36,7 +35,7 @@ tests: - label: "DUT generates 32-byte AttestationNonce" verification: | - Verifu in TH log + DUT as commissioner side: [1655374218.117635][35023:35028] CHIP:CTL: Sent Attestation request, waiting for the Attestation Information [1655374218.117686][35023:35028] CHIP:DMG: ICR moving to [AwaitingDe] [1655374218.204040][35023:35028] CHIP:DL: HandlePlatformSpecificBLEEvent 16387 @@ -182,7 +181,7 @@ tests: "DUT sends AttestationRequest Command with AttestationNonce as field to the TH1." verification: | - Verify in TH log + DUT as commissioner side: [1655374218.459627][35023:35028] CHIP:DMG: Attestation Nonce (32) = 762B6B9DA08F7FC63BB693E38634EC6F87CEFF28AB1554A16AD43DCEC24C2466 [1655374218.459664][35023:35028] CHIP:DMG: Timestamp = 0 @@ -198,7 +197,7 @@ tests: - label: "TH1 responds with a well-formed AttestationResponse Command" verification: | - Verify in TH log: + DUT as commissioner side: 'SendDACCertificateRequest' -> 'SendAttestationRequest' [1655979686.298628][22876:22881] CHIP:CTL: Performing next commissioning step 'SendAttestationRequest' @@ -225,30 +224,30 @@ tests: [1655979686.300817][22876:22881] CHIP:DMG: [1655979686.300969][22876:22881] CHIP:DMG: InvokeRequestMessage = [1655979686.301032][22876:22881] CHIP:DMG: { - [1655979686.301088][22876:22881] CHIP:DMG: suppressResponse = false, - [1655979686.301151][22876:22881] CHIP:DMG: timedRequest = false, - [1655979686.301247][22876:22881] CHIP:DMG: InvokeRequests = - [1655979686.301323][22876:22881] CHIP:DMG: [ - [1655979686.301382][22876:22881] CHIP:DMG: CommandDataIB = - [1655979686.301455][22876:22881] CHIP:DMG: { - [1655979686.301521][22876:22881] CHIP:DMG: CommandPathIB = - [1655979686.301597][22876:22881] CHIP:DMG: { - [1655979686.301669][22876:22881] CHIP:DMG: EndpointId = 0x0, - [1655979686.301750][22876:22881] CHIP:DMG: ClusterId = 0x3e, - [1655979686.301828][22876:22881] CHIP:DMG: CommandId = 0x0, - [1655979686.301900][22876:22881] CHIP:DMG: }, + [1655979686.301088][22876:22881] CHIP:DMG: suppressResponse = false, + [1655979686.301151][22876:22881] CHIP:DMG: timedRequest = false, + [1655979686.301247][22876:22881] CHIP:DMG: InvokeRequests = + [1655979686.301323][22876:22881] CHIP:DMG: [ + [1655979686.301382][22876:22881] CHIP:DMG: CommandDataIB = + [1655979686.301455][22876:22881] CHIP:DMG: { + [1655979686.301521][22876:22881] CHIP:DMG: CommandPathIB = + [1655979686.301597][22876:22881] CHIP:DMG: { + [1655979686.301669][22876:22881] CHIP:DMG: EndpointId = 0x0, + [1655979686.301750][22876:22881] CHIP:DMG: ClusterId = 0x3e, + [1655979686.301828][22876:22881] CHIP:DMG: CommandId = 0x0, + [1655979686.301900][22876:22881] CHIP:DMG: }, [1655979686.301972][22876:22881] CHIP:DMG: - [1655979686.302040][22876:22881] CHIP:DMG: CommandFields = - [1655979686.302115][22876:22881] CHIP:DMG: { - [1655979686.302198][22876:22881] CHIP:DMG: 0x0 = [ - [1655979686.302295][22876:22881] CHIP:DMG: 0xa2, 0x7a, 0xbc, 0xfc, 0xeb, 0x61, 0xa2, 0xf4, 0x3e, 0x76, 0xcb, 0x9, 0x5d, 0x64, 0x7e, 0x13, 0x91, 0x94, 0xe2, 0x16, 0xe3, 0xd6, 0x90, 0x79, 0xbd, 0x8a, 0xf, 0xfd, 0xda, 0x58, 0x38, 0x6b, - [1655979686.302386][22876:22881] CHIP:DMG: ] - [1655979686.302466][22876:22881] CHIP:DMG: }, - [1655979686.302536][22876:22881] CHIP:DMG: }, + [1655979686.302040][22876:22881] CHIP:DMG: CommandFields = + [1655979686.302115][22876:22881] CHIP:DMG: { + [1655979686.302198][22876:22881] CHIP:DMG: 0x0 = [ + [1655979686.302295][22876:22881] CHIP:DMG: 0xa2, 0x7a, 0xbc, 0xfc, 0xeb, 0x61, 0xa2, 0xf4, 0x3e, 0x76, 0xcb, 0x9, 0x5d, 0x64, 0x7e, 0x13, 0x91, 0x94, 0xe2, 0x16, 0xe3, 0xd6, 0x90, 0x79, 0xbd, 0x8a, 0xf, 0xfd, 0xda, 0x58, 0x38, 0x6b, + [1655979686.302386][22876:22881] CHIP:DMG: ] + [1655979686.302466][22876:22881] CHIP:DMG: }, + [1655979686.302536][22876:22881] CHIP:DMG: }, [1655979686.302612][22876:22881] CHIP:DMG: - [1655979686.302670][22876:22881] CHIP:DMG: ], + [1655979686.302670][22876:22881] CHIP:DMG: ], [1655979686.302741][22876:22881] CHIP:DMG: - [1655979686.302800][22876:22881] CHIP:DMG: InteractionModelRevision = 1 + [1655979686.302800][22876:22881] CHIP:DMG: InteractionModelRevision = 1 [1655979686.302856][22876:22881] CHIP:DMG: }, [1655979686.302911][22876:22881] CHIP:DMG: [1655979686.303153][22876:22881] CHIP:DMG: ICR moving to [CommandSen] @@ -403,36 +402,36 @@ tests: [1655979686.739850][22876:22881] CHIP:DMG: ICR moving to [ResponseRe] [1655979686.739894][22876:22881] CHIP:DMG: InvokeResponseMessage = [1655979686.739919][22876:22881] CHIP:DMG: { - [1655979686.739943][22876:22881] CHIP:DMG: suppressResponse = false, - [1655979686.739971][22876:22881] CHIP:DMG: InvokeResponseIBs = - [1655979686.740003][22876:22881] CHIP:DMG: [ - [1655979686.740028][22876:22881] CHIP:DMG: InvokeResponseIB = - [1655979686.740080][22876:22881] CHIP:DMG: { - [1655979686.740111][22876:22881] CHIP:DMG: CommandDataIB = - [1655979686.740156][22876:22881] CHIP:DMG: { - [1655979686.740200][22876:22881] CHIP:DMG: CommandPathIB = - [1655979686.740250][22876:22881] CHIP:DMG: { - [1655979686.740301][22876:22881] CHIP:DMG: EndpointId = 0x0, - [1655979686.740352][22876:22881] CHIP:DMG: ClusterId = 0x3e, - [1655979686.740402][22876:22881] CHIP:DMG: CommandId = 0x1, - [1655979686.740449][22876:22881] CHIP:DMG: }, + [1655979686.739943][22876:22881] CHIP:DMG: suppressResponse = false, + [1655979686.739971][22876:22881] CHIP:DMG: InvokeResponseIBs = + [1655979686.740003][22876:22881] CHIP:DMG: [ + [1655979686.740028][22876:22881] CHIP:DMG: InvokeResponseIB = + [1655979686.740080][22876:22881] CHIP:DMG: { + [1655979686.740111][22876:22881] CHIP:DMG: CommandDataIB = + [1655979686.740156][22876:22881] CHIP:DMG: { + [1655979686.740200][22876:22881] CHIP:DMG: CommandPathIB = + [1655979686.740250][22876:22881] CHIP:DMG: { + [1655979686.740301][22876:22881] CHIP:DMG: EndpointId = 0x0, + [1655979686.740352][22876:22881] CHIP:DMG: ClusterId = 0x3e, + [1655979686.740402][22876:22881] CHIP:DMG: CommandId = 0x1, + [1655979686.740449][22876:22881] CHIP:DMG: }, [1655979686.740486][22876:22881] CHIP:DMG: - [1655979686.740528][22876:22881] CHIP:DMG: CommandFields = - [1655979686.740563][22876:22881] CHIP:DMG: { - [1655979686.740602][22876:22881] CHIP:DMG: 0x0 = [ - [1655979686.740742][22876:22881] 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 - [1655979686.740822][22876:22881] CHIP:DMG: ] - [1655979686.740860][22876:22881] CHIP:DMG: 0x1 = [ - [1655979686.740918][22876:22881] CHIP:DMG: 0x64, 0x5d, 0x6b, 0xc7, 0xcf, 0x0, 0x7d, 0x2b, 0x4f, 0x7d, 0xa5, 0x6b, 0x40, 0x37, 0xe8, 0xc7, 0x1b, 0x7d, 0xd6, 0x39, 0xd5, 0x5, 0xad, 0x12, 0xdb, 0xb5, 0x54, 0x94, 0x4d, 0xd2, 0x2f, 0xc5, 0xd5, 0x9a, 0x66, 0x6d, 0x92, 0xcc, 0x40, 0xc6, 0xbb, 0xe3, 0x24, 0xc9, 0x9e, 0xfc, 0xa5, 0xc8, 0xb, 0xc4, 0xc6, 0x3f, 0xb8, 0xe7, 0x46, 0x6d, 0x2f, 0x2d, 0x24, 0x13, 0x83, 0xf5, 0xaa, 0xec, - [1655979686.740966][22876:22881] CHIP:DMG: ] - [1655979686.741004][22876:22881] CHIP:DMG: }, - [1655979686.741039][22876:22881] CHIP:DMG: }, + [1655979686.740528][22876:22881] CHIP:DMG: CommandFields = + [1655979686.740563][22876:22881] CHIP:DMG: { + [1655979686.740602][22876:22881] CHIP:DMG: 0x0 = [ + [1655979686.740742][22876:22881] 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 + [1655979686.740822][22876:22881] CHIP:DMG: ] + [1655979686.740860][22876:22881] CHIP:DMG: 0x1 = [ + [1655979686.740918][22876:22881] CHIP:DMG: 0x64, 0x5d, 0x6b, 0xc7, 0xcf, 0x0, 0x7d, 0x2b, 0x4f, 0x7d, 0xa5, 0x6b, 0x40, 0x37, 0xe8, 0xc7, 0x1b, 0x7d, 0xd6, 0x39, 0xd5, 0x5, 0xad, 0x12, 0xdb, 0xb5, 0x54, 0x94, 0x4d, 0xd2, 0x2f, 0xc5, 0xd5, 0x9a, 0x66, 0x6d, 0x92, 0xcc, 0x40, 0xc6, 0xbb, 0xe3, 0x24, 0xc9, 0x9e, 0xfc, 0xa5, 0xc8, 0xb, 0xc4, 0xc6, 0x3f, 0xb8, 0xe7, 0x46, 0x6d, 0x2f, 0x2d, 0x24, 0x13, 0x83, 0xf5, 0xaa, 0xec, + [1655979686.740966][22876:22881] CHIP:DMG: ] + [1655979686.741004][22876:22881] CHIP:DMG: }, + [1655979686.741039][22876:22881] CHIP:DMG: }, [1655979686.741077][22876:22881] CHIP:DMG: - [1655979686.741104][22876:22881] CHIP:DMG: }, + [1655979686.741104][22876:22881] CHIP:DMG: }, [1655979686.741137][22876:22881] CHIP:DMG: - [1655979686.741174][22876:22881] CHIP:DMG: ], + [1655979686.741174][22876:22881] CHIP:DMG: ], [1655979686.741206][22876:22881] CHIP:DMG: - [1655979686.741231][22876:22881] CHIP:DMG: InteractionModelRevision = 1 + [1655979686.741231][22876:22881] CHIP:DMG: InteractionModelRevision = 1 [1655979686.741254][22876:22881] CHIP:DMG: }, [1655979686.741316][22876:22881] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_003E Command=0x0000_0001 [1655979686.741353][22876:22881] CHIP:CTL: Received Attestation Information from the device @@ -448,10 +447,9 @@ tests: - label: "Start the commissioning process of TH1 on DUT again" verification: | - DUT side: sudo ./chip-all-clusters-app --wifi - TH side: + 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 @@ -459,7 +457,7 @@ tests: - label: "DUT generates 32-byte AttestationNonce" verification: | - Verify in TH log: + DUT as commissioner side: [1655968443.635813][21387:21392] CHIP:DMG: } [1655968443.635876][21387:21392] CHIP:DMG: Attestation Nonce (32) = 8A02A4533766C4310201E4E6DE820A51877AF337961BF2D12848268B8F323363 @@ -471,7 +469,7 @@ tests: "DUT sends AttestationRequest Command with AttestationNonce as field to the TH1." verification: | - Verify in TH log : + DUT as commissioner side: [1655968443.238850][21387:21392] CHIP:CTL: Commissioning stage next step: 'SendDACCertificateRequest' -> 'SendAttestationRequest' [1655968443.238918][21387:21392] CHIP:CTL: Performing next commissioning step 'SendAttestationRequest' @@ -498,30 +496,30 @@ tests: [1655968443.241302][21387:21392] CHIP:DMG: [1655968443.241469][21387:21392] CHIP:DMG: InvokeRequestMessage = [1655968443.241535][21387:21392] CHIP:DMG: { - [1655968443.241591][21387:21392] CHIP:DMG: suppressResponse = false, - [1655968443.241654][21387:21392] CHIP:DMG: timedRequest = false, - [1655968443.241713][21387:21392] CHIP:DMG: InvokeRequests = - [1655968443.241786][21387:21392] CHIP:DMG: [ - [1655968443.241849][21387:21392] CHIP:DMG: CommandDataIB = - [1655968443.241981][21387:21392] CHIP:DMG: { - [1655968443.242047][21387:21392] CHIP:DMG: CommandPathIB = - [1655968443.242125][21387:21392] CHIP:DMG: { - [1655968443.242204][21387:21392] CHIP:DMG: EndpointId = 0x0, - [1655968443.242288][21387:21392] CHIP:DMG: ClusterId = 0x3e, - [1655968443.242368][21387:21392] CHIP:DMG: CommandId = 0x0, - [1655968443.242444][21387:21392] CHIP:DMG: }, + [1655968443.241591][21387:21392] CHIP:DMG: suppressResponse = false, + [1655968443.241654][21387:21392] CHIP:DMG: timedRequest = false, + [1655968443.241713][21387:21392] CHIP:DMG: InvokeRequests = + [1655968443.241786][21387:21392] CHIP:DMG: [ + [1655968443.241849][21387:21392] CHIP:DMG: CommandDataIB = + [1655968443.241981][21387:21392] CHIP:DMG: { + [1655968443.242047][21387:21392] CHIP:DMG: CommandPathIB = + [1655968443.242125][21387:21392] CHIP:DMG: { + [1655968443.242204][21387:21392] CHIP:DMG: EndpointId = 0x0, + [1655968443.242288][21387:21392] CHIP:DMG: ClusterId = 0x3e, + [1655968443.242368][21387:21392] CHIP:DMG: CommandId = 0x0, + [1655968443.242444][21387:21392] CHIP:DMG: }, [1655968443.242525][21387:21392] CHIP:DMG: - [1655968443.242591][21387:21392] CHIP:DMG: CommandFields = - [1655968443.242667][21387:21392] CHIP:DMG: { - [1655968443.242745][21387:21392] CHIP:DMG: 0x0 = [ - [1655968443.242847][21387:21392] CHIP:DMG: 0x8a, 0x2, 0xa4, 0x53, 0x37, 0x66, 0xc4, 0x31, 0x2, 0x1, 0xe4, 0xe6, 0xde, 0x82, 0xa, 0x51, 0x87, 0x7a, 0xf3, 0x37, 0x96, 0x1b, 0xf2, 0xd1, 0x28, 0x48, 0x26, 0x8b, 0x8f, 0x32, 0x33, 0x63, - [1655968443.242937][21387:21392] CHIP:DMG: ] - [1655968443.243017][21387:21392] CHIP:DMG: }, - [1655968443.243088][21387:21392] CHIP:DMG: }, + [1655968443.242591][21387:21392] CHIP:DMG: CommandFields = + [1655968443.242667][21387:21392] CHIP:DMG: { + [1655968443.242745][21387:21392] CHIP:DMG: 0x0 = [ + [1655968443.242847][21387:21392] CHIP:DMG: 0x8a, 0x2, 0xa4, 0x53, 0x37, 0x66, 0xc4, 0x31, 0x2, 0x1, 0xe4, 0xe6, 0xde, 0x82, 0xa, 0x51, 0x87, 0x7a, 0xf3, 0x37, 0x96, 0x1b, 0xf2, 0xd1, 0x28, 0x48, 0x26, 0x8b, 0x8f, 0x32, 0x33, 0x63, + [1655968443.242937][21387:21392] CHIP:DMG: ] + [1655968443.243017][21387:21392] CHIP:DMG: }, + [1655968443.243088][21387:21392] CHIP:DMG: }, [1655968443.243161][21387:21392] CHIP:DMG: - [1655968443.243221][21387:21392] CHIP:DMG: ], + [1655968443.243221][21387:21392] CHIP:DMG: ], [1655968443.243293][21387:21392] CHIP:DMG: - [1655968443.243354][21387:21392] CHIP:DMG: InteractionModelRevision = 1 + [1655968443.243354][21387:21392] CHIP:DMG: InteractionModelRevision = 1 [1655968443.243411][21387:21392] CHIP:DMG: }, [1655968443.243466][21387:21392] CHIP:DMG: [1655968443.243733][21387:21392] CHIP:DMG: ICR moving to [CommandSen] @@ -676,36 +674,36 @@ tests: [1655968443.636680][21387:21392] CHIP:DMG: ICR moving to [ResponseRe] [1655968443.636777][21387:21392] CHIP:DMG: InvokeResponseMessage = [1655968443.636837][21387:21392] CHIP:DMG: { - [1655968443.636895][21387:21392] CHIP:DMG: suppressResponse = false, - [1655968443.636954][21387:21392] CHIP:DMG: InvokeResponseIBs = - [1655968443.637030][21387:21392] CHIP:DMG: [ - [1655968443.637090][21387:21392] CHIP:DMG: InvokeResponseIB = - [1655968443.637204][21387:21392] CHIP:DMG: { - [1655968443.637271][21387:21392] CHIP:DMG: CommandDataIB = - [1655968443.637363][21387:21392] CHIP:DMG: { - [1655968443.637448][21387:21392] CHIP:DMG: CommandPathIB = - [1655968443.637530][21387:21392] CHIP:DMG: { - [1655968443.637624][21387:21392] CHIP:DMG: EndpointId = 0x0, - [1655968443.637721][21387:21392] CHIP:DMG: ClusterId = 0x3e, - [1655968443.637816][21387:21392] CHIP:DMG: CommandId = 0x1, - [1655968443.637905][21387:21392] CHIP:DMG: }, + [1655968443.636895][21387:21392] CHIP:DMG: suppressResponse = false, + [1655968443.636954][21387:21392] CHIP:DMG: InvokeResponseIBs = + [1655968443.637030][21387:21392] CHIP:DMG: [ + [1655968443.637090][21387:21392] CHIP:DMG: InvokeResponseIB = + [1655968443.637204][21387:21392] CHIP:DMG: { + [1655968443.637271][21387:21392] CHIP:DMG: CommandDataIB = + [1655968443.637363][21387:21392] CHIP:DMG: { + [1655968443.637448][21387:21392] CHIP:DMG: CommandPathIB = + [1655968443.637530][21387:21392] CHIP:DMG: { + [1655968443.637624][21387:21392] CHIP:DMG: EndpointId = 0x0, + [1655968443.637721][21387:21392] CHIP:DMG: ClusterId = 0x3e, + [1655968443.637816][21387:21392] CHIP:DMG: CommandId = 0x1, + [1655968443.637905][21387:21392] CHIP:DMG: }, [1655968443.637990][21387:21392] CHIP:DMG: - [1655968443.638076][21387:21392] CHIP:DMG: CommandFields = - [1655968443.638165][21387:21392] CHIP:DMG: { - [1655968443.638247][21387:21392] CHIP:DMG: 0x0 = [ - [1655968443.638586][21387:21392] 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 - [1655968443.638783][21387:21392] CHIP:DMG: ] - [1655968443.638877][21387:21392] CHIP:DMG: 0x1 = [ - [1655968443.639021][21387:21392] CHIP:DMG: 0x9a, 0xd9, 0x9c, 0x10, 0x25, 0x22, 0xe0, 0xe7, 0x83, 0xb3, 0x78, 0x28, 0xb5, 0xa, 0xb4, 0x9b, 0xb7, 0xe6, 0x32, 0x1, 0x26, 0xe7, 0x8b, 0x6, 0x62, 0x28, 0x9c, 0x71, 0xe8, 0xc8, 0x72, 0x1a, 0x45, 0x56, 0x1e, 0xaf, 0x30, 0xd0, 0xdb, 0xb6, 0xda, 0xce, 0x31, 0xcc, 0x20, 0x38, 0x42, 0x2a, 0x2e, 0xd5, 0x6c, 0x5, 0x48, 0x5, 0xab, 0xc5, 0xa6, 0xff, 0x97, 0x3f, 0x1f, 0x9b, 0xd7, 0x27, - [1655968443.639140][21387:21392] CHIP:DMG: ] - [1655968443.639235][21387:21392] CHIP:DMG: }, - [1655968443.639311][21387:21392] CHIP:DMG: }, + [1655968443.638076][21387:21392] CHIP:DMG: CommandFields = + [1655968443.638165][21387:21392] CHIP:DMG: { + [1655968443.638247][21387:21392] CHIP:DMG: 0x0 = [ + [1655968443.638586][21387:21392] 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 + [1655968443.638783][21387:21392] CHIP:DMG: ] + [1655968443.638877][21387:21392] CHIP:DMG: 0x1 = [ + [1655968443.639021][21387:21392] CHIP:DMG: 0x9a, 0xd9, 0x9c, 0x10, 0x25, 0x22, 0xe0, 0xe7, 0x83, 0xb3, 0x78, 0x28, 0xb5, 0xa, 0xb4, 0x9b, 0xb7, 0xe6, 0x32, 0x1, 0x26, 0xe7, 0x8b, 0x6, 0x62, 0x28, 0x9c, 0x71, 0xe8, 0xc8, 0x72, 0x1a, 0x45, 0x56, 0x1e, 0xaf, 0x30, 0xd0, 0xdb, 0xb6, 0xda, 0xce, 0x31, 0xcc, 0x20, 0x38, 0x42, 0x2a, 0x2e, 0xd5, 0x6c, 0x5, 0x48, 0x5, 0xab, 0xc5, 0xa6, 0xff, 0x97, 0x3f, 0x1f, 0x9b, 0xd7, 0x27, + [1655968443.639140][21387:21392] CHIP:DMG: ] + [1655968443.639235][21387:21392] CHIP:DMG: }, + [1655968443.639311][21387:21392] CHIP:DMG: }, [1655968443.639399][21387:21392] CHIP:DMG: - [1655968443.639468][21387:21392] CHIP:DMG: }, + [1655968443.639468][21387:21392] CHIP:DMG: }, [1655968443.639549][21387:21392] CHIP:DMG: - [1655968443.639608][21387:21392] CHIP:DMG: ], + [1655968443.639608][21387:21392] CHIP:DMG: ], [1655968443.639683][21387:21392] CHIP:DMG: - [1655968443.639742][21387:21392] CHIP:DMG: InteractionModelRevision = 1 + [1655968443.639742][21387:21392] CHIP:DMG: InteractionModelRevision = 1 [1655968443.639799][21387:21392] CHIP:DMG: }, [1655968443.639943][21387:21392] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_003E Command=0x0000_0001 [1655968443.640024][21387:21392] CHIP:CTL: Received Attestation Information from the device 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 6a013cca334994..4f8d1346c08db8 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 @@ -25,10 +25,9 @@ config: tests: - label: "Start the commissioning process of TH1 on DUT" verification: | - DUT side: sudo ./chip-all-clusters-app --wifi - TH side: + 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 @@ -36,7 +35,7 @@ tests: - label: "DUT generates 32-byte AttestationNonce" verification: | - Verifu in TH log + DUT as commissioner side: [1655374218.117635][35023:35028] CHIP:CTL: Sent Attestation request, waiting for the Attestation Information [1655374218.117686][35023:35028] CHIP:DMG: ICR moving to [AwaitingDe] [1655374218.204040][35023:35028] CHIP:DL: HandlePlatformSpecificBLEEvent 16387 @@ -182,7 +181,7 @@ tests: "DUT sends AttestationRequest Command with AttestationNonce as field to the TH1." verification: | - Verifu in TH log + DUT as commissioner side: [1655374218.117635][35023:35028] CHIP:CTL: Sent Attestation request, waiting for the Attestation Information [1655374218.117686][35023:35028] CHIP:DMG: ICR moving to [AwaitingDe] [1655374218.204040][35023:35028] CHIP:DL: HandlePlatformSpecificBLEEvent 16387 @@ -329,16 +328,20 @@ tests: by setting the following error condition: 1. Commissionee is not yet certified" verification: | + sudo rm -rf /tmp/chip_* + sudo ./chip-all-clusters-app --dac_provide /Dec_message_2.json + + DUT as commissioner side: + ./chip-tool pairing ble-wifi 1 zigbee-thread matter123 20202021 3840 disabled: true - label: "Factory Reset TH1 so that it is commissionable again" verification: | - "DUT side: sudo rm -rf /tmp/chip_* sudo ./chip-all-clusters-app --wifi - TH side: + 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" @@ -352,7 +355,25 @@ tests: algorithm 3. Commissionee provides DAC with validity period that is not in range of PAA/PAI" verification: | + sudo rm -rf /tmp/chip_* + sudo ./chip-all-clusters-app --dac_provider Dec_1_message.json + + [1656932880.436914][14314:14314] CHIP:TS: Reverted Last Known Good Time to previous value + [1656932880.436955][14314:14314] CHIP:FP: Error deleting part of fabric 1: ../../third_party/connectedhomeip/src/platform/Linux/KeyValueStoreManagerImpl.cpp:101: CHIP Error 0x000000A0: Value not found in the persisted storage + [1656932880.437015][14314:14314] CHIP:ZCL: OpCreds: failed to delete fabric at index 1: ../../third_party/connectedhomeip/src/credentials/FabricTable.cpp:913: CHIP Error 0x000000D8: The item referenced in the function call was not found + [1656932880.437051][14314:14314] CHIP:DMG: Endpoint 0, Cluster 0x0000_0030 update version to 6e573ab0 + [1656932880.437078][14314:14314] CHIP:DL: Long dispatch time: 151 ms, for event type 32784 + [1656932880.437107][14314:14314] CHIP:FS: Fail-safe cleanly disarmed + + + DUT as commissioner side: + ./chip-tool pairing ble-wifi 1 zigbeehome matter123 20202021 3840 + + [1656930733.433435][6274:6280] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0030 Command=0x0000_0001 + [1656930733.433497][6274:6280] CHIP:CTL: Failsafe disarmed + [1656930733.433550][6274:6280] CHIP:CTL: Successfully finished commissioning step 'Cleanup' + [1656930733.433611][6274:6280] CHIP:TOO: Device commissioning Failure: ../../third_party/connectedhomeip/src/controller/AutoCommissioner.cpp:204: CHIP Error 0x0000002F: Invalid argument disabled: true - label: @@ -365,5 +386,20 @@ tests: 4. The Product ID (PID) the DAC is not present in the product_id_array field in the Certification Declaration" verification: | + sudo rm -rf /tmp/chip_* + sudo ./chip-all-clusters-app --dac_provider dac_message.json + + [1656930733.541889][14161:14161] CHIP:FP: Error deleting part of fabric 1: ../../third_party/connectedhomeip/src/platform/Linux/KeyValueStoreManagerImpl.cpp:101: CHIP Error 0x000000A0: Value not found in the persisted storage + [1656930733.541947][14161:14161] CHIP:ZCL: OpCreds: failed to delete fabric at index 1: ../../third_party/connectedhomeip/src/credentials/FabricTable.cpp:913: CHIP Error 0x000000D8: The item referenced in the function call was not found + [1656930733.541979][14161:14161] CHIP:DMG: Endpoint 0, Cluster 0x0000_0030 update version to 1f053233 + [1656930733.542004][14161:14161] CHIP:DL: Long dispatch time: 147 ms, for event type 32784 + [1656930733.542032][14161:14161] CHIP:FS: Fail-safe cleanly disarmed + + DUT as commissioner side: + ./chip-tool pairing ble-wifi 1 zigbeehome matter123 20202021 3840 + [1656930733.433435][6274:6280] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0030 Command=0x0000_0001 + [1656930733.433497][6274:6280] CHIP:CTL: Failsafe disarmed + [1656930733.433550][6274:6280] CHIP:CTL: Successfully finished commissioning step 'Cleanup' + [1656930733.433611][6274:6280] CHIP:TOO: Device commissioning Failure: ../../third_party/connectedhomeip/src/controller/AutoCommissioner.cpp:204: CHIP Error 0x0000002F: Invalid argument disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_DA_1_5.yaml b/src/app/tests/suites/certification/Test_TC_DA_1_5.yaml index 0c8470ae2e27db..bda4ee8cabbfba 100644 --- a/src/app/tests/suites/certification/Test_TC_DA_1_5.yaml +++ b/src/app/tests/suites/certification/Test_TC_DA_1_5.yaml @@ -21,268 +21,293 @@ config: endpoint: 0 tests: + - label: + "Pre-Conditions 1. Device Attestation is completed 2. PAI, DAC + certificates are obtained and validated against externally obtained + PAA certificate 3. Operations happen within the Fail-Safe Context" + verification: | + + disabled: true + - label: "TH1 Completes the Attestation procedure" verification: | Verify in TH log: [1655374218.114327][35023:35028] CHIP:CTL: Performing next commissioning step 'SendAttestationRequest' - [1655374218.114378][35023:35028] CHIP:CTL: Sending Attestation Request to the device. - [1655374218.114556][35023:35028] CHIP:CTL: Sending Attestation request to 0xffff74000b60 device - [1655374218.114675][35023:35028] CHIP:DMG: ICR moving to [AddingComm] - [1655374218.114746][35023:35028] CHIP:DMG: ICR moving to [AddedComma] - [1655374218.115227][35023:35028] CHIP:IN: Prepared secure message 0xffff7bffc958 to 0xFFFFFFFB00000000 (0) of type 0x8 and protocolId (0, 1) on exchange 1302i with MessageCounter:20936210. - [1655374218.115326][35023:35028] CHIP:IN: Sending encrypted msg 0xffff7bffc958 with MessageCounter:20936210 to 0xFFFFFFFB00000000 (0) at monotonic time: 00000000004F8059 msec - [1655374218.115908][35023:35028] CHIP:DMG: >> to BLE | 20936210 | [Interaction Model (1) / InvokeCommandRequest (0x08) / Session = 43668 / Exchange = 1302] - [1655374218.116008][35023:35028] CHIP:DMG: Header Flags = - [1655374218.116065][35023:35028] CHIP:DMG: { - [1655374218.116149][35023:35028] CHIP:DMG: Exchange (0x01) = - [1655374218.116187][35023:35028] CHIP:DMG: { - [1655374218.116209][35023:35028] CHIP:DMG: Initiator = true - [1655374218.116233][35023:35028] CHIP:DMG: } - [1655374218.116264][35023:35028] CHIP:DMG: } - [1655374218.116288][35023:35028] CHIP:DMG: - [1655374218.116381][35023:35028] CHIP:DMG: Encrypted Payload (94 bytes) = - [1655374218.116408][35023:35028] CHIP:DMG: { - [1655374218.116432][35023:35028] CHIP:DMG: data = 0094aa0012763f01f66833cd7fd4d0b928d486cd8459db3eb0f11f7b48d3145a810b0c2e03ea68c89e4ee9cf28127369ac0eef32376c5303945a2fe8c99d13a49086721cd68804d90415fef75a0b464605f2d0245f293767a4077eb7d5eb - [1655374218.116458][35023:35028] CHIP:DMG: buffer_ptr = 281472627988496 - [1655374218.116482][35023:35028] CHIP:DMG: } - [1655374218.116505][35023:35028] CHIP:DMG: - [1655374218.116585][35023:35028] CHIP:DMG: InvokeRequestMessage = - [1655374218.116614][35023:35028] CHIP:DMG: { - [1655374218.116640][35023:35028] CHIP:DMG: suppressResponse = false, - [1655374218.116669][35023:35028] CHIP:DMG: timedRequest = false, - [1655374218.116697][35023:35028] CHIP:DMG: InvokeRequests = - [1655374218.116732][35023:35028] CHIP:DMG: [ - [1655374218.116759][35023:35028] CHIP:DMG: CommandDataIB = - [1655374218.116790][35023:35028] CHIP:DMG: { - [1655374218.116818][35023:35028] CHIP:DMG: CommandPathIB = - [1655374218.116853][35023:35028] CHIP:DMG: { - [1655374218.116888][35023:35028] CHIP:DMG: EndpointId = 0x0, - [1655374218.116926][35023:35028] CHIP:DMG: ClusterId = 0x3e, - [1655374218.116966][35023:35028] CHIP:DMG: CommandId = 0x0, - [1655374218.117000][35023:35028] CHIP:DMG: }, - [1655374218.117037][35023:35028] CHIP:DMG: - [1655374218.117068][35023:35028] CHIP:DMG: CommandFields = - [1655374218.117103][35023:35028] CHIP:DMG: { - [1655374218.117137][35023:35028] CHIP:DMG: 0x0 = [ - [1655374218.117184][35023:35028] CHIP:DMG: 0x76, 0x2b, 0x6b, 0x9d, 0xa0, 0x8f, 0x7f, 0xc6, 0x3b, 0xb6, 0x93, 0xe3, 0x86, 0x34, 0xec, 0x6f, 0x87, 0xce, 0xff, 0x28, 0xab, 0x15, 0x54, 0xa1, 0x6a, 0xd4, 0x3d, 0xce, 0xc2, 0x4c, 0x24, 0x66, - [1655374218.117223][35023:35028] CHIP:DMG: ] - [1655374218.117257][35023:35028] CHIP:DMG: }, - [1655374218.117290][35023:35028] CHIP:DMG: }, - [1655374218.117323][35023:35028] CHIP:DMG: - [1655374218.117350][35023:35028] CHIP:DMG: ], - [1655374218.117384][35023:35028] CHIP:DMG: - [1655374218.117410][35023:35028] CHIP:DMG: InteractionModelRevision = 1 - [1655374218.117436][35023:35028] CHIP:DMG: }, - [1655374218.117462][35023:35028] CHIP:DMG: - [1655374218.117597][35023:35028] CHIP:DMG: ICR moving to [CommandSen] - [1655374218.117635][35023:35028] CHIP:CTL: Sent Attestation request, waiting for the Attestation Information - [1655374218.117686][35023:35028] CHIP:DMG: ICR moving to [AwaitingDe] - [1655374218.204040][35023:35028] CHIP:DL: HandlePlatformSpecificBLEEvent 16387 - [1655374218.252180][35023:35026] CHIP:DL: Indication received, conn = 0xffff8003c0c0 - [1655374218.252405][35023:35028] CHIP:DL: HandlePlatformSpecificBLEEvent 16389 - [1655374218.352372][35023:35026] CHIP:DL: Indication received, conn = 0xffff8003c0c0 - [1655374218.352509][35023:35028] CHIP:DL: HandlePlatformSpecificBLEEvent 16389 - [1655374218.450622][35023:35026] CHIP:DL: Indication received, conn = 0xffff8003c0c0 - [1655374218.450870][35023:35028] CHIP:DL: HandlePlatformSpecificBLEEvent 16389 - [1655374218.452138][35023:35028] CHIP:DMG: << from BLE | 224958145 | [Interaction Model (1) / InvokeCommandResponse (0x09) / Session = 19710 / Exchange = 1302] - [1655374218.452241][35023:35028] CHIP:DMG: Header Flags = - [1655374218.452300][35023:35028] CHIP:DMG: { - [1655374218.452395][35023:35028] CHIP:DMG: } - [1655374218.452449][35023:35028] CHIP:DMG: - [1655374218.452521][35023:35028] CHIP:DMG: Encrypted Payload (716 bytes) = - [1655374218.452579][35023:35028] CHIP:DMG: { - [1655374218.452634][35023:35028] CHIP:DMG: data = 00fe4c00c196680d30c5e98d35a6d844102a8b0067edba80e2adf97e28751f8353657dacb7c9706c2c22add28d18adca15378d16af57f0f4092893cfc5d3e85f6e409f70e39bcb9e0bd3397947e927d20e5bf5173e3def7218d0152cf40e7cb16db615efbd282fd6e84c710bd2c7441228eb5dbbcf0dc76a3eaa0b04655f434d3c8223c7016703b8082c9984c3a91432d12271c87f4d09e90cb6e78d07c81d6359cd5a756f2bace60a7a216896949b536e5583f22db64aeae0279ba2fd279813be383e4324ab63472e3d9877f6c9fa539e577dc50fbcc5a7124a14ea78abdd6ada4ec256a3ee0a242747d636215ffab3c8b4291023eb51b3701939e153912b0f5764479b05e1cf472c350304d1ead872295c80fed3a545530f773e729b6f7bd7d5547de03076a72b8855191beb12d8194477bc9798b6177557cccf3b11b2c1f82cee31d451408359650112394dc2c1592cd2eb1e75881aa340885e65ef9a9905947842574ddcac832d68188b0a3a20fb223258d766692b13a6cde0de34d4f9047046d38ad94caf0a9cc7a786c082d5ae8c62346d69684c6ed5ae958ab68c0685922751ff04d922a838c9d2257a7af6e72af524b459a45ea6311431d30c7de32b3d79581ac119d6e7f63a877b53fda9d69256c5870f2af36f74e08b22e1217a0324b772394a4a596ff237331c623b8d7746077826088dddd2a741f19011cde09f1e897f92ac975fd9a157de0b780f6551b11a50ffe12c781f304dbda9dd75465fb3a8ec52d30f7ddb9179f1b9dfe415ae2d66a53bad67bcf27b3351b8a5cdc9e8b54095c81774007237c8a14a3e2c9cf350616cf5ebf7f6ae5a8c77207924b0e1cddc6c7e77c2a514319947c5988af1dd77325259f496293e53041941d45a1355f56b8036008ab696f7d47d17f9fc4890aa78c2811560b7b4d79a460b7dcd3d9bc3bdd5f72d27bb0060f722aa9c22e7d635895404c832bf2371321d1ababa954482c847fedd0d4676bd188365 - [1655374218.452884][35023:35028] CHIP:DMG: buffer_ptr = 281472627984864 - [1655374218.452941][35023:35028] CHIP:DMG: } - [1655374218.452992][35023:35028] CHIP:DMG: - [1655374218.453303][35023:35028] CHIP:DMG: Attestation Elements (585 bytes) = - [1655374218.453366][35023:35028] CHIP:DMG: { - [1655374218.453431][35023:35028] CHIP:DMG: Certification Declaration = - [1655374218.453483][35023:35028] CHIP:DMG: { - [1655374218.455342][35023:35028] CHIP:DMG: Format Version = 1 - [1655374218.455398][35023:35028] CHIP:DMG: Vendor Id = 65521 - [1655374218.455438][35023:35028] CHIP:DMG: Product Ids = - [1655374218.455474][35023:35028] CHIP:DMG: { - [1655374218.455512][35023:35028] CHIP:DMG: Product Id = 32768 - [1655374218.455552][35023:35028] CHIP:DMG: Product Id = 32769 - [1655374218.455590][35023:35028] CHIP:DMG: Product Id = 32770 - [1655374218.455628][35023:35028] CHIP:DMG: Product Id = 32771 - [1655374218.455666][35023:35028] CHIP:DMG: Product Id = 32772 - [1655374218.455704][35023:35028] CHIP:DMG: Product Id = 32773 - [1655374218.455742][35023:35028] CHIP:DMG: Product Id = 32774 - [1655374218.455780][35023:35028] CHIP:DMG: Product Id = 32775 - [1655374218.455818][35023:35028] CHIP:DMG: Product Id = 32776 - [1655374218.455855][35023:35028] CHIP:DMG: Product Id = 32777 - [1655374218.455893][35023:35028] CHIP:DMG: Product Id = 32778 - [1655374218.455931][35023:35028] CHIP:DMG: Product Id = 32779 - [1655374218.455969][35023:35028] CHIP:DMG: Product Id = 32780 - [1655374218.456007][35023:35028] CHIP:DMG: Product Id = 32781 - [1655374218.456045][35023:35028] CHIP:DMG: Product Id = 32782 - [1655374218.456082][35023:35028] CHIP:DMG: Product Id = 32783 - [1655374218.456120][35023:35028] CHIP:DMG: Product Id = 32784 - [1655374218.456158][35023:35028] CHIP:DMG: Product Id = 32785 - [1655374218.456196][35023:35028] CHIP:DMG: Product Id = 32786 - [1655374218.456234][35023:35028] CHIP:DMG: Product Id = 32787 - [1655374218.456271][35023:35028] CHIP:DMG: Product Id = 32788 - [1655374218.456309][35023:35028] CHIP:DMG: Product Id = 32789 - [1655374218.456347][35023:35028] CHIP:DMG: Product Id = 32790 - [1655374218.456385][35023:35028] CHIP:DMG: Product Id = 32791 - [1655374218.456423][35023:35028] CHIP:DMG: Product Id = 32792 - [1655374218.456461][35023:35028] CHIP:DMG: Product Id = 32793 - [1655374218.456498][35023:35028] CHIP:DMG: Product Id = 32794 - [1655374218.456536][35023:35028] CHIP:DMG: Product Id = 32795 - [1655374218.456573][35023:35028] CHIP:DMG: Product Id = 32796 - [1655374218.456611][35023:35028] CHIP:DMG: Product Id = 32797 - [1655374218.456649][35023:35028] CHIP:DMG: Product Id = 32798 - [1655374218.456687][35023:35028] CHIP:DMG: Product Id = 32799 - [1655374218.456724][35023:35028] CHIP:DMG: Product Id = 32800 - [1655374218.456761][35023:35028] CHIP:DMG: Product Id = 32801 - [1655374218.456799][35023:35028] CHIP:DMG: Product Id = 32802 - [1655374218.456836][35023:35028] CHIP:DMG: Product Id = 32803 - [1655374218.456874][35023:35028] CHIP:DMG: Product Id = 32804 - [1655374218.456912][35023:35028] CHIP:DMG: Product Id = 32805 - [1655374218.456949][35023:35028] CHIP:DMG: Product Id = 32806 - [1655374218.456987][35023:35028] CHIP:DMG: Product Id = 32807 - [1655374218.457024][35023:35028] CHIP:DMG: Product Id = 32808 - [1655374218.457061][35023:35028] CHIP:DMG: Product Id = 32809 - [1655374218.457099][35023:35028] CHIP:DMG: Product Id = 32810 - [1655374218.457138][35023:35028] CHIP:DMG: Product Id = 32811 - [1655374218.457175][35023:35028] CHIP:DMG: Product Id = 32812 - [1655374218.457212][35023:35028] CHIP:DMG: Product Id = 32813 - [1655374218.457250][35023:35028] CHIP:DMG: Product Id = 32814 - [1655374218.457288][35023:35028] CHIP:DMG: Product Id = 32815 - [1655374218.457326][35023:35028] CHIP:DMG: Product Id = 32816 - [1655374218.457363][35023:35028] CHIP:DMG: Product Id = 32817 - [1655374218.457401][35023:35028] CHIP:DMG: Product Id = 32818 - [1655374218.457439][35023:35028] CHIP:DMG: Product Id = 32819 - [1655374218.457476][35023:35028] CHIP:DMG: Product Id = 32820 - [1655374218.457514][35023:35028] CHIP:DMG: Product Id = 32821 - [1655374218.457552][35023:35028] CHIP:DMG: Product Id = 32822 - [1655374218.457590][35023:35028] CHIP:DMG: Product Id = 32823 - [1655374218.457627][35023:35028] CHIP:DMG: Product Id = 32824 - [1655374218.457665][35023:35028] CHIP:DMG: Product Id = 32825 - [1655374218.457702][35023:35028] CHIP:DMG: Product Id = 32826 - [1655374218.457740][35023:35028] CHIP:DMG: Product Id = 32827 - [1655374218.457777][35023:35028] CHIP:DMG: Product Id = 32828 - [1655374218.457833][35023:35028] CHIP:DMG: Product Id = 32829 - [1655374218.457874][35023:35028] CHIP:DMG: Product Id = 32830 - [1655374218.457912][35023:35028] CHIP:DMG: Product Id = 32831 - [1655374218.457950][35023:35028] CHIP:DMG: Product Id = 32832 - [1655374218.457987][35023:35028] CHIP:DMG: Product Id = 32833 - [1655374218.458026][35023:35028] CHIP:DMG: Product Id = 32834 - [1655374218.458063][35023:35028] CHIP:DMG: Product Id = 32835 - [1655374218.458101][35023:35028] CHIP:DMG: Product Id = 32836 - [1655374218.458139][35023:35028] CHIP:DMG: Product Id = 32837 - [1655374218.458177][35023:35028] CHIP:DMG: Product Id = 32838 - [1655374218.458215][35023:35028] CHIP:DMG: Product Id = 32839 - [1655374218.458253][35023:35028] CHIP:DMG: Product Id = 32840 - [1655374218.458291][35023:35028] CHIP:DMG: Product Id = 32841 - [1655374218.458328][35023:35028] CHIP:DMG: Product Id = 32842 - [1655374218.458366][35023:35028] CHIP:DMG: Product Id = 32843 - [1655374218.458404][35023:35028] CHIP:DMG: Product Id = 32844 - [1655374218.458441][35023:35028] CHIP:DMG: Product Id = 32845 - [1655374218.458480][35023:35028] CHIP:DMG: Product Id = 32846 - [1655374218.458517][35023:35028] CHIP:DMG: Product Id = 32847 - [1655374218.458555][35023:35028] CHIP:DMG: Product Id = 32848 - [1655374218.458592][35023:35028] CHIP:DMG: Product Id = 32849 - [1655374218.458630][35023:35028] CHIP:DMG: Product Id = 32850 - [1655374218.458667][35023:35028] CHIP:DMG: Product Id = 32851 - [1655374218.458706][35023:35028] CHIP:DMG: Product Id = 32852 - [1655374218.458743][35023:35028] CHIP:DMG: Product Id = 32853 - [1655374218.458781][35023:35028] CHIP:DMG: Product Id = 32854 - [1655374218.458818][35023:35028] CHIP:DMG: Product Id = 32855 - [1655374218.458856][35023:35028] CHIP:DMG: Product Id = 32856 - [1655374218.458893][35023:35028] CHIP:DMG: Product Id = 32857 - [1655374218.458932][35023:35028] CHIP:DMG: Product Id = 32858 - [1655374218.458969][35023:35028] CHIP:DMG: Product Id = 32859 - [1655374218.459007][35023:35028] CHIP:DMG: Product Id = 32860 - [1655374218.459045][35023:35028] CHIP:DMG: Product Id = 32861 - [1655374218.459082][35023:35028] CHIP:DMG: Product Id = 32862 - [1655374218.459120][35023:35028] CHIP:DMG: Product Id = 32863 - [1655374218.459159][35023:35028] CHIP:DMG: Product Id = 32864 - [1655374218.459196][35023:35028] CHIP:DMG: Product Id = 32865 - [1655374218.459234][35023:35028] CHIP:DMG: Product Id = 32866 - [1655374218.459271][35023:35028] CHIP:DMG: Product Id = 32867 - [1655374218.459309][35023:35028] CHIP:DMG: } - [1655374218.459347][35023:35028] CHIP:DMG: Device Type Id = 22 - [1655374218.459390][35023:35028] CHIP:DMG: Certificate Id (19) = ZIG20142ZB330003-24 - [1655374218.459430][35023:35028] CHIP:DMG: Security Level = 0 - [1655374218.459470][35023:35028] CHIP:DMG: Security Information = 0 - [1655374218.459508][35023:35028] CHIP:DMG: Version Number = 9876 - [1655374218.459546][35023:35028] CHIP:DMG: Certification Type = 0 - [1655374218.459584][35023:35028] CHIP:DMG: } - [1655374218.459627][35023:35028] CHIP:DMG: Attestation Nonce (32) = 762B6B9DA08F7FC63BB693E38634EC6F87CEFF28AB1554A16AD43DCEC24C2466 - [1655374218.459664][35023:35028] CHIP:DMG: Timestamp = 0 - [1655374218.459699][35023:35028] CHIP:DMG: } - [1655374218.459732][35023:35028] CHIP:DMG: - [1655374218.459776][35023:35028] CHIP:DMG: - [1655374218.459846][35023:35028] CHIP:DMG: Additional Fields = - [1655374218.459884][35023:35028] CHIP:DMG: { - [1655374218.459924][35023:35028] CHIP:DMG: peer_address = BLE - [1655374218.459960][35023:35028] CHIP:DMG: } - [1655374218.459993][35023:35028] CHIP:DMG: - [1655374218.460045][35023:35028] CHIP:EM: Received message of type 0x9 with protocolId (0, 1) and MessageCounter:224958145 on exchange 1302i - [1655374218.460090][35023:35028] CHIP:EM: Found matching exchange: 1302i, Delegate: 0xffff74005ab0 - [1655374218.460157][35023:35028] CHIP:DMG: ICR moving to [ResponseRe] - [1655374218.460220][35023:35028] CHIP:DMG: InvokeResponseMessage = - [1655374218.460260][35023:35028] CHIP:DMG: { - [1655374218.460298][35023:35028] CHIP:DMG: suppressResponse = false, - [1655374218.460338][35023:35028] CHIP:DMG: InvokeResponseIBs = - [1655374218.460390][35023:35028] CHIP:DMG: [ - [1655374218.460430][35023:35028] CHIP:DMG: InvokeResponseIB = - [1655374218.460487][35023:35028] CHIP:DMG: { - [1655374218.460530][35023:35028] CHIP:DMG: CommandDataIB = - [1655374218.460580][35023:35028] CHIP:DMG: { - [1655374218.460628][35023:35028] CHIP:DMG: CommandPathIB = - [1655374218.460686][35023:35028] CHIP:DMG: { - [1655374218.460745][35023:35028] CHIP:DMG: EndpointId = 0x0, - [1655374218.460802][35023:35028] CHIP:DMG: ClusterId = 0x3e, - [1655374218.460852][35023:35028] CHIP:DMG: CommandId = 0x1, - [1655374218.460906][35023:35028] CHIP:DMG: }, - [1655374218.460962][35023:35028] CHIP:DMG: - [1655374218.461010][35023:35028] CHIP:DMG: CommandFields = - [1655374218.461068][35023:35028] CHIP:DMG: { - [1655374218.461123][35023:35028] CHIP:DMG: 0x0 = [ - [1655374218.461351][35023:35028] 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, 0x - [1655374218.461469][35023:35028] CHIP:DMG: ] - [1655374218.461523][35023:35028] CHIP:DMG: 0x1 = [ - [1655374218.461611][35023:35028] CHIP:DMG: 0xd6, 0x91, 0x3d, 0x0, 0x37, 0xd3, 0x23, 0x11, 0xa9, 0xe6, 0x23, 0xe3, 0xb0, 0x80, 0x27, 0x71, 0xc2, 0xb1, 0xdc, 0xe1, 0xb8, 0x95, 0x7c, 0x88, 0x92, 0xc6, 0x84, 0xe4, 0x21, 0xa2, 0x87, 0x22, 0x6d, 0xeb, 0x42, 0x82, 0x67, 0xe0, 0x9c, 0x17, 0xb1, 0x1c, 0x1, 0xff, 0x8b, 0xff, 0x23, 0x47, 0xc4, 0xe7, 0x6, 0x1d, 0x8f, 0x1e, 0x26, 0x8e, 0xad, 0xbd, 0xc9, 0x9e, 0x23, 0x88, 0xdb, 0xb6, - [1655374218.461681][35023:35028] CHIP:DMG: ] - [1655374218.461733][35023:35028] CHIP:DMG: }, - [1655374218.461783][35023:35028] CHIP:DMG: }, - [1655374218.461855][35023:35028] CHIP:DMG: - [1655374218.461900][35023:35028] CHIP:DMG: }, - [1655374218.461951][35023:35028] CHIP:DMG: - [1655374218.461990][35023:35028] CHIP:DMG: ], - [1655374218.462041][35023:35028] CHIP:DMG: - [1655374218.462080][35023:35028] CHIP:DMG: InteractionModelRevision = 1 - [1655374218.462118][35023:35028] CHIP:DMG: }, - [1655374218.462220][35023:35028] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_003E Command=0x0000_0001 - [1655374218.462275][35023:35028] CHIP:CTL: Received Attestation Information from the device - [1655374218.462320][35023:35028] CHIP:CTL: Successfully finished commissioning step 'SendAttestationRequest' + [1657622185.393671][25227:25232] CHIP:CTL: Commissioning stage next step: 'SendDACCertificateRequest' -> 'SendAttestationRequest' + [1657622185.393734][25227:25232] CHIP:CTL: Performing next commissioning step 'SendAttestationRequest' + [1657622185.393786][25227:25232] CHIP:CTL: Sending Attestation Request to the device. + [1657622185.393836][25227:25232] CHIP:CTL: Sending Attestation request to 0xffff70000b60 device + [1657622185.393981][25227:25232] CHIP:DMG: ICR moving to [AddingComm] + [1657622185.394055][25227:25232] CHIP:DMG: ICR moving to [AddedComma] + [1657622185.394538][25227:25232] CHIP:IN: Prepared secure message 0xffff86729988 to 0xFFFFFFFB00000000 (0) of type 0x8 and protocolId (0, 1) on exchange 59319i with MessageCounter:136100013. + [1657622185.394637][25227:25232] CHIP:IN: Sending encrypted msg 0xffff86729988 with MessageCounter:136100013 to 0xFFFFFFFB00000000 (0) at monotonic time: 0000000001E02D80 msec + [1657622185.395109][25227:25232] CHIP:DMG: >> to BLE | 136100013 | [Interaction Model (1) / InvokeCommandRequest (0x08) / Session = 24338 / Exchange = 59319] + [1657622185.395201][25227:25232] CHIP:DMG: Header Flags = + [1657622185.395257][25227:25232] CHIP:DMG: { + [1657622185.395343][25227:25232] CHIP:DMG: Exchange (0x01) = + [1657622185.395397][25227:25232] CHIP:DMG: { + [1657622185.395444][25227:25232] CHIP:DMG: Initiator = true + [1657622185.395495][25227:25232] CHIP:DMG: } + [1657622185.395562][25227:25232] CHIP:DMG: } + [1657622185.395615][25227:25232] CHIP:DMG: + [1657622185.395680][25227:25232] CHIP:DMG: Encrypted Payload (94 bytes) = + [1657622185.395733][25227:25232] CHIP:DMG: { + [1657622185.395784][25227:25232] CHIP:DMG: data = 00125f00adb81c08e4149c49aa050e76b83ba7e57fd27592e033c6d7d8374250e7f8e0629e90dad2db94d44ed902498be9a0820b8eaa142e473f689bb2eec268cbb334abfbb27c05d2ad85139800b0d0ed1897347de0e0891da435883322 + [1657622185.395840][25227:25232] CHIP:DMG: buffer_ptr = 281472560868752 + [1657622185.395890][25227:25232] CHIP:DMG: } + [1657622185.395939][25227:25232] CHIP:DMG: + [1657622185.396092][25227:25232] CHIP:DMG: InvokeRequestMessage = + [1657622185.396155][25227:25232] CHIP:DMG: { + [1657622185.396210][25227:25232] CHIP:DMG: suppressResponse = false, + [1657622185.396274][25227:25232] CHIP:DMG: timedRequest = false, + [1657622185.396452][25227:25232] CHIP:DMG: InvokeRequests = + [1657622185.396534][25227:25232] CHIP:DMG: [ + [1657622185.396594][25227:25232] CHIP:DMG: CommandDataIB = + [1657622185.396659][25227:25232] CHIP:DMG: { + [1657622185.396720][25227:25232] CHIP:DMG: CommandPathIB = + [1657622185.396794][25227:25232] CHIP:DMG: { + [1657622185.396870][25227:25232] CHIP:DMG: EndpointId = 0x0, + [1657622185.396951][25227:25232] CHIP:DMG: ClusterId = 0x3e, + [1657622185.397037][25227:25232] CHIP:DMG: CommandId = 0x0, + [1657622185.397111][25227:25232] CHIP:DMG: }, + [1657622185.397187][25227:25232] CHIP:DMG: + [1657622185.397250][25227:25232] CHIP:DMG: CommandFields = + [1657622185.397323][25227:25232] CHIP:DMG: { + [1657622185.397397][25227:25232] CHIP:DMG: 0x0 = [ + [1657622185.397504][25227:25232] CHIP:DMG: 0x36, 0x6, 0x38, 0x15, 0xa7, 0x28, 0x77, 0xb4, 0x8e, 0xcb, 0x63, 0x7b, 0x5b, 0x84, 0x36, 0x23, 0x96, 0x22, 0xf2, 0xe1, 0x43, 0xbb, 0x67, 0x77, 0xae, 0xb4, 0xee, 0x78, 0xe8, 0x86, 0xc3, 0x1d, + [1657622185.397597][25227:25232] CHIP:DMG: ] + [1657622185.397675][25227:25232] CHIP:DMG: }, + [1657622185.397743][25227:25232] CHIP:DMG: }, + [1657622185.397815][25227:25232] CHIP:DMG: + [1657622185.397897][25227:25232] CHIP:DMG: ], + [1657622185.397974][25227:25232] CHIP:DMG: + [1657622185.398032][25227:25232] CHIP:DMG: InteractionModelRevision = 1 + [1657622185.398088][25227:25232] CHIP:DMG: }, + [1657622185.398111][25227:25232] CHIP:DMG: + [1657622185.398285][25227:25232] CHIP:DMG: ICR moving to [CommandSen] + [1657622185.398325][25227:25232] CHIP:CTL: Sent Attestation request, waiting for the Attestation Information + [1657622185.398374][25227:25232] CHIP:DMG: ICR moving to [AwaitingDe] + [1657622185.486496][25227:25232] CHIP:DL: HandlePlatformSpecificBLEEvent 16387 + [1657622185.536197][25227:25230] CHIP:DL: Indication received, conn = 0xffff7c038990 + [1657622185.536436][25227:25232] CHIP:DL: HandlePlatformSpecificBLEEvent 16389 + [1657622185.633267][25227:25230] CHIP:DL: Indication received, conn = 0xffff7c038990 + [1657622185.633407][25227:25232] CHIP:DL: HandlePlatformSpecificBLEEvent 16389 + [1657622185.731531][25227:25230] CHIP:DL: Indication received, conn = 0xffff7c038990 + [1657622185.731789][25227:25232] CHIP:DL: HandlePlatformSpecificBLEEvent 16389 + [1657622185.733097][25227:25232] CHIP:DMG: << from BLE | 31709150 | [Interaction Model (1) / InvokeCommandResponse (0x09) / Session = 6118 / Exchange = 59319] + [1657622185.733199][25227:25232] CHIP:DMG: Header Flags = + [1657622185.733257][25227:25232] CHIP:DMG: { + [1657622185.733355][25227:25232] CHIP:DMG: } + [1657622185.733400][25227:25232] CHIP:DMG: + [1657622185.733468][25227:25232] CHIP:DMG: Encrypted Payload (716 bytes) = + [1657622185.733523][25227:25232] CHIP:DMG: { + [1657622185.733577][25227:25232] CHIP:DMG: data = 00e61700ded7e301ada67c9fea19955b428a98a5da2b90c896bc477e2d27c7e1db8de4284b3e613d6ecf3f6d5df5c3b03085ffa64b916462f34b9260ffe85d9c6c3b9b4876833b2c9f03ba669f98ef9613fb8e154d3173625a2115c36b4fc82f6351cf8ef17de5422e44309e41f017792977e939b9fe2874de88620a6502b43b693abfb5bbb7ceb9556e929f7399b17ba34da450bbcc92fcbbafe786fecd1eebc81b34376cf52dd4015db8af5a9588daded1f6d285e0bb846d20531ac6a67513735d98c8ab7ff50a49a185754b2b7c6b4853a190d052465228023ab998f64b132f8eca96464a045379fc73908d36bf85acf76e44c04adfabab20167ae1bc1238c9eefdb32c90476921aff4445e8cffb5a379968fb678d3a3c83b8f8e601306eeb7d56e7e97221f2329ff06600a4cbd2f522ef717ba82471ddb7d5bde5d4287a6695bc67c8a2b3ee3293faebdc3b36544d5a80c0ad782e8f51b77c803140e3346cbc847b170fcc4f676b9d4de4d9b2c8e503c1bd58b71f9628089d87c242b91af20cc34433c97fec0973736f8efc518850e42b74bf9ea3b50947eb343ee3e3daf3f8003caa97af38ec95ad0878985ac553ea79c69b5313686e53a2979509854de0410adfd3195f7534322ae8355fe6e3cbc9256592ac17941331a1e305f32708e554f3be627c91dfb385173475f38a42d4e1edcdda2213245b8313edf1a4ada92d136e685bef28a0bc638c86528dc0d493a0147d6c13b335346b9e052a9b0fc6056e5a3b65aed569d7e8201f4d2f962d87bf7ed5761f7fb31b916bd0f312b08691c6c700a2d52882c97fffaf177482b73dbf8c3d6f123eb3b25226359e4308b96be650dc519e53dda39811093e2635eb585715fdbae1a227d795d6d2f35a2dc80e40bf2838e9e034df7e763d2c01cbd909359c23e73d31c95e283bc7f84e03d9f44e46c694ef61b9688c4864148d963c3bc163f9798f9e390fbb4c280bcc7beda1bb44fc8fa683cec743a9cc7 + [1657622185.733692][25227:25232] CHIP:DMG: buffer_ptr = 281472560875552 + [1657622185.733744][25227:25232] CHIP:DMG: } + [1657622185.733794][25227:25232] CHIP:DMG: + [1657622185.734167][25227:25232] CHIP:DMG: Attestation Elements (585 bytes) = + [1657622185.734231][25227:25232] CHIP:DMG: { + [1657622185.734283][25227:25232] CHIP:DMG: Certification Declaration = + [1657622185.734334][25227:25232] CHIP:DMG: { + [1657622185.736374][25227:25232] CHIP:DMG: Format Version = 1 + [1657622185.736580][25227:25232] CHIP:DMG: Vendor Id = 65521 + [1657622185.736643][25227:25232] CHIP:DMG: Product Ids = + [1657622185.736697][25227:25232] CHIP:DMG: { + [1657622185.736754][25227:25232] CHIP:DMG: Product Id = 32768 + [1657622185.736811][25227:25232] CHIP:DMG: Product Id = 32769 + [1657622185.736867][25227:25232] CHIP:DMG: Product Id = 32770 + [1657622185.736943][25227:25232] CHIP:DMG: Product Id = 32771 + [1657622185.737000][25227:25232] CHIP:DMG: Product Id = 32772 + [1657622185.737056][25227:25232] CHIP:DMG: Product Id = 32773 + [1657622185.737112][25227:25232] CHIP:DMG: Product Id = 32774 + [1657622185.737168][25227:25232] CHIP:DMG: Product Id = 32775 + [1657622185.737224][25227:25232] CHIP:DMG: Product Id = 32776 + [1657622185.737279][25227:25232] CHIP:DMG: Product Id = 32777 + [1657622185.737335][25227:25232] CHIP:DMG: Product Id = 32778 + [1657622185.737386][25227:25232] CHIP:DMG: Product Id = 32779 + [1657622185.737442][25227:25232] CHIP:DMG: Product Id = 32780 + [1657622185.737498][25227:25232] CHIP:DMG: Product Id = 32781 + [1657622185.737557][25227:25232] CHIP:DMG: Product Id = 32782 + [1657622185.737613][25227:25232] CHIP:DMG: Product Id = 32783 + [1657622185.737669][25227:25232] CHIP:DMG: Product Id = 32784 + [1657622185.737725][25227:25232] CHIP:DMG: Product Id = 32785 + [1657622185.737781][25227:25232] CHIP:DMG: Product Id = 32786 + [1657622185.737837][25227:25232] CHIP:DMG: Product Id = 32787 + [1657622185.737919][25227:25232] CHIP:DMG: Product Id = 32788 + [1657622185.737979][25227:25232] CHIP:DMG: Product Id = 32789 + [1657622185.738035][25227:25232] CHIP:DMG: Product Id = 32790 + [1657622185.738091][25227:25232] CHIP:DMG: Product Id = 32791 + [1657622185.738147][25227:25232] CHIP:DMG: Product Id = 32792 + [1657622185.738203][25227:25232] CHIP:DMG: Product Id = 32793 + [1657622185.738239][25227:25232] CHIP:DMG: Product Id = 32794 + [1657622185.738272][25227:25232] CHIP:DMG: Product Id = 32795 + [1657622185.738306][25227:25232] CHIP:DMG: Product Id = 32796 + [1657622185.738400][25227:25232] CHIP:DMG: Product Id = 32797 + [1657622185.738435][25227:25232] CHIP:DMG: Product Id = 32798 + [1657622185.738469][25227:25232] CHIP:DMG: Product Id = 32799 + [1657622185.738501][25227:25232] CHIP:DMG: Product Id = 32800 + [1657622185.738534][25227:25232] CHIP:DMG: Product Id = 32801 + [1657622185.738568][25227:25232] CHIP:DMG: Product Id = 32802 + [1657622185.738601][25227:25232] CHIP:DMG: Product Id = 32803 + [1657622185.738635][25227:25232] CHIP:DMG: Product Id = 32804 + [1657622185.738668][25227:25232] CHIP:DMG: Product Id = 32805 + [1657622185.738701][25227:25232] CHIP:DMG: Product Id = 32806 + [1657622185.738735][25227:25232] CHIP:DMG: Product Id = 32807 + [1657622185.738769][25227:25232] CHIP:DMG: Product Id = 32808 + [1657622185.738802][25227:25232] CHIP:DMG: Product Id = 32809 + [1657622185.738835][25227:25232] CHIP:DMG: Product Id = 32810 + [1657622185.738869][25227:25232] CHIP:DMG: Product Id = 32811 + [1657622185.738902][25227:25232] CHIP:DMG: Product Id = 32812 + [1657622185.738935][25227:25232] CHIP:DMG: Product Id = 32813 + [1657622185.738969][25227:25232] CHIP:DMG: Product Id = 32814 + [1657622185.739002][25227:25232] CHIP:DMG: Product Id = 32815 + [1657622185.739036][25227:25232] CHIP:DMG: Product Id = 32816 + [1657622185.739069][25227:25232] CHIP:DMG: Product Id = 32817 + [1657622185.739103][25227:25232] CHIP:DMG: Product Id = 32818 + [1657622185.739136][25227:25232] CHIP:DMG: Product Id = 32819 + [1657622185.739172][25227:25232] CHIP:DMG: Product Id = 32820 + [1657622185.739206][25227:25232] CHIP:DMG: Product Id = 32821 + [1657622185.739241][25227:25232] CHIP:DMG: Product Id = 32822 + [1657622185.739275][25227:25232] CHIP:DMG: Product Id = 32823 + [1657622185.739309][25227:25232] CHIP:DMG: Product Id = 32824 + [1657622185.739342][25227:25232] CHIP:DMG: Product Id = 32825 + [1657622185.739376][25227:25232] CHIP:DMG: Product Id = 32826 + [1657622185.739410][25227:25232] CHIP:DMG: Product Id = 32827 + [1657622185.739445][25227:25232] CHIP:DMG: Product Id = 32828 + [1657622185.739478][25227:25232] CHIP:DMG: Product Id = 32829 + [1657622185.739512][25227:25232] CHIP:DMG: Product Id = 32830 + [1657622185.739546][25227:25232] CHIP:DMG: Product Id = 32831 + [1657622185.739580][25227:25232] CHIP:DMG: Product Id = 32832 + [1657622185.739614][25227:25232] CHIP:DMG: Product Id = 32833 + [1657622185.739648][25227:25232] CHIP:DMG: Product Id = 32834 + [1657622185.739682][25227:25232] CHIP:DMG: Product Id = 32835 + [1657622185.739716][25227:25232] CHIP:DMG: Product Id = 32836 + [1657622185.739750][25227:25232] CHIP:DMG: Product Id = 32837 + [1657622185.739783][25227:25232] CHIP:DMG: Product Id = 32838 + [1657622185.739817][25227:25232] CHIP:DMG: Product Id = 32839 + [1657622185.739851][25227:25232] CHIP:DMG: Product Id = 32840 + [1657622185.739886][25227:25232] CHIP:DMG: Product Id = 32841 + [1657622185.739920][25227:25232] CHIP:DMG: Product Id = 32842 + [1657622185.739953][25227:25232] CHIP:DMG: Product Id = 32843 + [1657622185.739987][25227:25232] CHIP:DMG: Product Id = 32844 + [1657622185.740021][25227:25232] CHIP:DMG: Product Id = 32845 + [1657622185.740055][25227:25232] CHIP:DMG: Product Id = 32846 + [1657622185.740089][25227:25232] CHIP:DMG: Product Id = 32847 + [1657622185.740123][25227:25232] CHIP:DMG: Product Id = 32848 + [1657622185.740156][25227:25232] CHIP:DMG: Product Id = 32849 + [1657622185.740190][25227:25232] CHIP:DMG: Product Id = 32850 + [1657622185.740224][25227:25232] CHIP:DMG: Product Id = 32851 + [1657622185.740258][25227:25232] CHIP:DMG: Product Id = 32852 + [1657622185.740292][25227:25232] CHIP:DMG: Product Id = 32853 + [1657622185.740326][25227:25232] CHIP:DMG: Product Id = 32854 + [1657622185.740360][25227:25232] CHIP:DMG: Product Id = 32855 + [1657622185.740394][25227:25232] CHIP:DMG: Product Id = 32856 + [1657622185.740428][25227:25232] CHIP:DMG: Product Id = 32857 + [1657622185.740461][25227:25232] CHIP:DMG: Product Id = 32858 + [1657622185.740495][25227:25232] CHIP:DMG: Product Id = 32859 + [1657622185.740529][25227:25232] CHIP:DMG: Product Id = 32860 + [1657622185.740563][25227:25232] CHIP:DMG: Product Id = 32861 + [1657622185.740597][25227:25232] CHIP:DMG: Product Id = 32862 + [1657622185.740631][25227:25232] CHIP:DMG: Product Id = 32863 + [1657622185.740665][25227:25232] CHIP:DMG: Product Id = 32864 + [1657622185.740699][25227:25232] CHIP:DMG: Product Id = 32865 + [1657622185.740733][25227:25232] CHIP:DMG: Product Id = 32866 + [1657622185.740767][25227:25232] CHIP:DMG: Product Id = 32867 + [1657622185.740801][25227:25232] CHIP:DMG: } + [1657622185.740836][25227:25232] CHIP:DMG: Device Type Id = 22 + [1657622185.740875][25227:25232] CHIP:DMG: Certificate Id (19) = ZIG20142ZB330003-24 + [1657622185.740912][25227:25232] CHIP:DMG: Security Level = 0 + [1657622185.740947][25227:25232] CHIP:DMG: Security Information = 0 + [1657622185.740982][25227:25232] CHIP:DMG: Version Number = 9876 + [1657622185.741017][25227:25232] CHIP:DMG: Certification Type = 0 + [1657622185.741050][25227:25232] CHIP:DMG: } + [1657622185.741088][25227:25232] CHIP:DMG: Attestation Nonce (32) = 36063815A72877B48ECB637B5B8436239622F2E143BB6777AEB4EE78E886C31D + [1657622185.741122][25227:25232] CHIP:DMG: Timestamp = 0 + [1657622185.741153][25227:25232] CHIP:DMG: } + [1657622185.741183][25227:25232] CHIP:DMG: + [1657622185.741222][25227:25232] CHIP:DMG: + [1657622185.741286][25227:25232] CHIP:DMG: Additional Fields = + [1657622185.741321][25227:25232] CHIP:DMG: { + [1657622185.741357][25227:25232] CHIP:DMG: peer_address = BLE + [1657622185.741389][25227:25232] CHIP:DMG: } + [1657622185.741419][25227:25232] CHIP:DMG: + [1657622185.741467][25227:25232] CHIP:EM: Received message of type 0x9 with protocolId (0, 1) and MessageCounter:31709150 on exchange 59319i + [1657622185.741508][25227:25232] CHIP:EM: Found matching exchange: 59319i, Delegate: 0xffff70003520 + [1657622185.741569][25227:25232] CHIP:DMG: ICR moving to [ResponseRe] + [1657622185.741627][25227:25232] CHIP:DMG: InvokeResponseMessage = + [1657622185.741663][25227:25232] CHIP:DMG: { + [1657622185.741699][25227:25232] CHIP:DMG: suppressResponse = false, + [1657622185.741735][25227:25232] CHIP:DMG: InvokeResponseIBs = + [1657622185.741780][25227:25232] CHIP:DMG: [ + [1657622185.741816][25227:25232] CHIP:DMG: InvokeResponseIB = + [1657622185.741885][25227:25232] CHIP:DMG: { + [1657622185.741926][25227:25232] CHIP:DMG: CommandDataIB = + [1657622185.741971][25227:25232] CHIP:DMG: { + [1657622185.742014][25227:25232] CHIP:DMG: CommandPathIB = + [1657622185.742062][25227:25232] CHIP:DMG: { + [1657622185.742111][25227:25232] CHIP:DMG: EndpointId = 0x0, + [1657622185.742162][25227:25232] CHIP:DMG: ClusterId = 0x3e, + [1657622185.742208][25227:25232] CHIP:DMG: CommandId = 0x1, + [1657622185.742255][25227:25232] CHIP:DMG: }, + [1657622185.742299][25227:25232] CHIP:DMG: + [1657622185.742342][25227:25232] CHIP:DMG: CommandFields = + [1657622185.742390][25227:25232] CHIP:DMG: { + [1657622185.742438][25227:25232] CHIP:DMG: 0x0 = [ + [1657622185.742644][25227:25232] 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 + [1657622185.742749][25227:25232] CHIP:DMG: ] + [1657622185.742798][25227:25232] CHIP:DMG: 0x1 = [ + [1657622185.742880][25227:25232] CHIP:DMG: 0xf6, 0xb0, 0x7b, 0xae, 0x65, 0xd7, 0x50, 0x6c, 0xf8, 0xf2, 0x7e, 0xa8, 0xf3, 0xcf, 0x1b, 0xf9, 0xfa, 0xd3, 0xbc, 0x69, 0x51, 0x22, 0x26, 0xd, 0xde, 0x0, 0xd3, 0x7a, 0x88, 0x6, 0x35, 0xab, 0x1a, 0x3a, 0x29, 0x2c, 0xa8, 0x1f, 0xc, 0x26, 0xa6, 0xb9, 0x4b, 0x64, 0xba, 0x8f, 0x2f, 0x2c, 0xd8, 0xc, 0x2d, 0x57, 0x4b, 0x5c, 0xbe, 0x3c, 0x65, 0x39, 0x86, 0x82, 0xf1, 0xad, 0xbc, 0x2a, + [1657622185.742942][25227:25232] CHIP:DMG: ] + [1657622185.742992][25227:25232] CHIP:DMG: }, + [1657622185.743036][25227:25232] CHIP:DMG: }, + [1657622185.743085][25227:25232] CHIP:DMG: + [1657622185.743124][25227:25232] CHIP:DMG: }, + [1657622185.743170][25227:25232] CHIP:DMG: + [1657622185.743205][25227:25232] CHIP:DMG: ], + [1657622185.743249][25227:25232] CHIP:DMG: + [1657622185.743284][25227:25232] CHIP:DMG: InteractionModelRevision = 1 + [1657622185.743318][25227:25232] CHIP:DMG: }, + [1657622185.743403][25227:25232] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_003E Command=0x0000_0001 + [1657622185.743447][25227:25232] CHIP:CTL: Received Attestation Information from the device + [1657622185.743485][25227:25232] CHIP:CTL: Successfully finished commissioning step 'SendAttestationRequest' disabled: true - label: "TH1 generates 32-byte CSRNonce" verification: | Verify in TH log - [1655374218.694869][35023:35028] CHIP:DMG: NOCSR Elements = - [1655374218.694922][35023:35028] CHIP:DMG: { - [1655374218.695009][35023:35028] CHIP:DMG: CSR (203) = 3081C83070020100300E310C300A060355040A0C034353523059301306072A8648CE3D020106082A8648CE3D03010703420004FD1662E0C1F44C5BD8A284452ED17C631CA88697CBF396EB765397315ED248729BFC7DE464404B1FA34B2DD81714E2484B8E908121BB95DFDA4493D5CDDA797AA000300A06082A8648CE3D0403020348003045022100832718B8679DB2C9A26579F08D930F7DA747F6F23EE2DD11777FBF1191909FD3022073E039F63AEA4C1BF812AE65221CB09203FF1BD382872FB37478C2C4045FD8B8 - [1655374218.695086][35023:35028] CHIP:DMG: CSRNonce (32) = 79964F34E68A97E41DBDFE7888583183535EDC3A185AF99941BDA4C5A65FDA39 - [1655374218.695133][35023:35028] CHIP:DMG: } + [1657622185.977432][25227:25232] CHIP:DMG: NOCSR Elements = + [1657622185.977491][25227:25232] CHIP:DMG: { + [1657622185.977566][25227:25232] CHIP:DMG: CSR (203) = 3081C83070020100300E310C300A060355040A0C034353523059301306072A8648CE3D020106082A8648CE3D0301070342000415D99C4FB18F7DE508A27520A89BBA8918893A4833702AE2AB4695DC62E2AA79525DC7DE7A3CAC88D97155FA92CAB9BCD9F03F4130E2EC1A795A9B8D5AC27D5BA000300A06082A8648CE3D0403020348003045022040E9C361DA0E78A84640EC1DE316C0710602F1AA18B4A8674A661D7FB2F87A53022100E10120F3866C5A8F2D2C905B57435FB471C31496A3A5B5FF56D833EF3CEC79CA + [1657622185.977634][25227:25232] CHIP:DMG: CSRNonce (32) = B58074F06DC50AE0D3024E562B520D638BD71B6C075C1B2131F2F9EC4D7E0FF9 + [1657622185.977687][25227:25232] CHIP:DMG: } disabled: true - label: "TH1 sends CSRRequest Command with CSRNonce as field to the DUT." verification: | - Verify in TH log + Verify in TH Log: - [1655374218.694869][35023:35028] CHIP:DMG: NOCSR Elements = - [1655374218.694922][35023:35028] CHIP:DMG: { - [1655374218.695009][35023:35028] CHIP:DMG: CSR (203) = 3081C83070020100300E310C300A060355040A0C034353523059301306072A8648CE3D020106082A8648CE3D03010703420004FD1662E0C1F44C5BD8A284452ED17C631CA88697CBF396EB765397315ED248729BFC7DE464404B1FA34B2DD81714E2484B8E908121BB95DFDA4493D5CDDA797AA000300A06082A8648CE3D0403020348003045022100832718B8679DB2C9A26579F08D930F7DA747F6F23EE2DD11777FBF1191909FD3022073E039F63AEA4C1BF812AE65221CB09203FF1BD382872FB37478C2C4045FD8B8 - [1655374218.695086][35023:35028] CHIP:DMG: CSRNonce (32) = 79964F34E68A97E41DBDFE7888583183535EDC3A185AF99941BDA4C5A65FDA39 - [1655374218.695133][35023:35028] CHIP:DMG: } + ./chip-tool generalcommissioning arm-fail-safe 500 600 1 0 + [1657622807.087644][25269:25274] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0030 Command=0x0000_0001 + [1657622807.087715][25269:25274] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0030 Command 0x0000_0001 + [1657622807.087800][25269:25274] CHIP:TOO: ArmFailSafeResponse: { + [1657622807.087871][25269:25274] CHIP:TOO: errorCode: 0 + [1657622807.087913][25269:25274] CHIP:TOO: debugText: + [1657622807.087947][25269:25274] CHIP:TOO: } + + + Use the below command 2 times to get CSRNONCE value + echo hex:$(hexdump -vn32 -e'4/4 "%08X" ' /dev/urandom) + + + ./chip-tool operationalcredentials csrrequest hex:3B8B18BC52EFDE0D854D516DAF29EF48A7F509C8B6A5B3CDCA8E0A254CA0DBAB 1 0 + [1657622808.973044][25275:25280] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_003E Command=0x0000_0005 + [1657622808.973101][25275:25280] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Command 0x0000_0005 + [1657622808.973166][25275:25280] CHIP:TOO: CSRResponse: { + [1657622808.973218][25275:25280] CHIP:TOO: NOCSRElements: 153001CB3081C83070020100300E310C300A060355040A0C034353523059301306072A8648CE3D020106082A8648CE3D030107034200042595992FD2B146FF9A70E2E5E3C3E7008ADCD5F5510AF145AB94E213389E9943A6FB9D2B0BFB1A5AA813ED19A7A0E89528118341A4483E5C1146949AE3D3C989A000300A06082A8648CE3D0403020348003045022100A91A91C17ADF63ABE8ECB860FC3255734F5E590C3BA4D4D50FDDB48BAFD0C15302202FA4F0FBA62B2927BF0D38148169870AA69FB4173CF317E5AC46CC416047D28A3002203B8B18BC52EFDE0D854D516DAF29EF48A7F509C8B6A5B3CDCA8E0A254CA0DBAB18 + [1657622808.973263][25275:25280] CHIP:TOO: attestationSignature: ADF97EDAFDB5E1BC490CDA0167D4D7DED517255A201A2A9189325A5A9D8515281DE57358F2B923318F3203E94F0A31AB50ABEB71A16A76141C0225CBA2F1155E + [1657622808.973295][25275:25280] CHIP:TOO: } disabled: true - label: @@ -291,71 +316,77 @@ tests: verification: | Verify in TH log - [1655374218.694869][35023:35028] CHIP:DMG: NOCSR Elements = - [1655374218.694922][35023:35028] CHIP:DMG: { - [1655374218.695009][35023:35028] CHIP:DMG: CSR (203) = 3081C83070020100300E310C300A060355040A0C034353523059301306072A8648CE3D020106082A8648CE3D03010703420004FD1662E0C1F44C5BD8A284452ED17C631CA88697CBF396EB765397315ED248729BFC7DE464404B1FA34B2DD81714E2484B8E908121BB95DFDA4493D5CDDA797AA000300A06082A8648CE3D0403020348003045022100832718B8679DB2C9A26579F08D930F7DA747F6F23EE2DD11777FBF1191909FD3022073E039F63AEA4C1BF812AE65221CB09203FF1BD382872FB37478C2C4045FD8B8 - [1655374218.695086][35023:35028] CHIP:DMG: CSRNonce (32) = 79964F34E68A97E41DBDFE7888583183535EDC3A185AF99941BDA4C5A65FDA39 - [1655374218.695133][35023:35028] CHIP:DMG: } + ./chip-tool operationalcredentials csrrequest hex:3B8B18BC52EFDE0D854D516DAF29EF48A7F509C8B6A5B3CDCA8E0A254CA0DBAB 1 0 + [1657622808.973044][25275:25280] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_003E Command=0x0000_0005 + [1657622808.973101][25275:25280] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Command 0x0000_0005 + [1657622808.973166][25275:25280] CHIP:TOO: CSRResponse: { + [1657622808.973218][25275:25280] CHIP:TOO: NOCSRElements: 153001CB3081C83070020100300E310C300A060355040A0C034353523059301306072A8648CE3D020106082A8648CE3D030107034200042595992FD2B146FF9A70E2E5E3C3E7008ADCD5F5510AF145AB94E213389E9943A6FB9D2B0BFB1A5AA813ED19A7A0E89528118341A4483E5C1146949AE3D3C989A000300A06082A8648CE3D0403020348003045022100A91A91C17ADF63ABE8ECB860FC3255734F5E590C3BA4D4D50FDDB48BAFD0C15302202FA4F0FBA62B2927BF0D38148169870AA69FB4173CF317E5AC46CC416047D28A3002203B8B18BC52EFDE0D854D516DAF29EF48A7F509C8B6A5B3CDCA8E0A254CA0DBAB18 + [1657622808.973263][25275:25280] CHIP:TOO: attestationSignature: ADF97EDAFDB5E1BC490CDA0167D4D7DED517255A201A2A9189325A5A9D8515281DE57358F2B923318F3203E94F0A31AB50ABEB71A16A76141C0225CBA2F1155E + [1657622808.973295][25275:25280] CHIP:TOO: } disabled: true - label: "TH1 sends AddTrustedRootCertificate command to DUT to install the Root CA Certificate to the trust store" verification: | - 1. ./chip-tool generalcommissioning arm-fail-safe 500 600 1 0 + Verify in TH Log: - 2. ./chip-tool operationalcredentials add-trusted-root-certificate 1530010100240201370324140018260480228127260580254D3A37062414001824070124080130094104277CAFBA69B2C219DF198735F27E3874019F75812933BC737FF8BA660902FE97D212E925D0B53B0755C52B3CDCAC9B797C2B452ED76D9B5F348A0586043857F3370A3501290118240260300414CD47A91F241CF86E4CE627568ACD47BB3A25C106300514CD47A91F241CF86E4CE627568ACD47BB3A25C10618300B40A937FE4F3921D229051DF5F5D3EEBD52A5012405D15EBA8A7542B9F54D33D406DF0F09247529012 1 0 - - - - - [1655374218.706390][35023:35028] CHIP:DMG: CommandFields = - [1655374218.706431][35023:35028] CHIP:DMG: { - [1655374218.706464][35023:35028] CHIP:DMG: 0x0 = [ - [1655374218.706591][35023:35028] CHIP:DMG: 0x15, 0x30, 0x1, 0x1, 0x0, 0x24, 0x2, 0x1, 0x37, 0x3, 0x24, 0x14, 0x0, 0x18, 0x26, 0x4, 0x80, 0x22, 0x81, 0x27, 0x26, 0x5, 0x80, 0x25, 0x4d, 0x3a, 0x37, 0x6, 0x24, 0x14, 0x0, 0x18, 0x24, 0x7, 0x1, 0x24, 0x8, 0x1, 0x30, 0x9, 0x41, 0x4, 0xab, 0xae, 0x5e, 0xc6, 0x4f, 0xc4, 0x6e, 0x99, 0xc, 0x44, 0x55, 0x39, 0x2, 0x45, 0xf6, 0xe9, 0x9, 0xcb, 0xc3, 0xc3, 0xc, 0xa0, 0x8, 0xb7, 0x36, 0x96, 0x62, 0x56, 0x43, 0x56, 0xba, 0x22, 0x25, 0x38, 0x6f, 0x40, 0x50, 0xf8, 0x7b, 0xd1, 0xd7, 0xe4, 0xd6, 0x5c, 0x12, 0x30, 0x84, 0x91, 0xb3, 0x10, 0x8f, 0x6a, 0x71, 0x8, 0xe1, 0xf0, 0xc3, 0xa0, 0xd2, 0x4, 0x99, 0xe3, 0xfb, 0xf, 0x37, 0xa, 0x35, 0x1, 0x29, 0x1, 0x18, 0x24, 0x2, 0x60, 0x30, 0x4, 0x14, 0x89, 0x4f, 0x8f, 0xdd, 0xf2, 0x13, 0x8d, 0x8e, 0xe0, 0x12, 0x13, 0x72, 0xa2, 0xb4, 0x23, 0x25, 0xef, 0xd6, 0x25, 0x8c, 0x30, 0x5, 0x14, 0x89, 0x4f, 0x8f, 0xdd, 0xf2, 0x13, 0x8d, 0x8e, 0xe0, 0x12, 0x13, 0x72, 0xa2, 0xb4, 0x23, 0x25, 0xef, 0xd6, 0x25, 0x8c, 0x18, 0x30, 0xb, 0x40, 0xd3, 0x8f, 0x56, 0xa2, 0xd9, 0xb4, 0x4a, 0x3a, 0x79, 0x6d, 0xed, 0xd7, 0x1c, 0x7a, 0x3e, 0xd6, 0xb9, 0x8d, 0x80, 0xd6, 0x3d, 0xe2, 0xde, 0xa5, 0xb0, 0x3b, 0xc0, 0xce, 0x1a, 0xe9, 0x26, 0x0, 0x9d, 0x9c, 0x78, 0xe4, 0xf3, 0x78, 0x74, 0x3a, 0xd, 0xfa, 0xc8, 0x1f, 0x27, 0xaa, 0x5e, 0x9b, 0xef, 0x78, 0x48, 0x1e, 0x6a, 0x60, 0x1a, 0x71, 0xd8, 0x67, 0x9, 0x40, 0xb3, 0xe4, 0xd0, 0xc6, 0x18, - - Verify we are getting success response - [1655371172.014771][2459:2464] CHIP:DMG: InvokeResponseMessage = - [1655371172.014797][2459:2464] CHIP:DMG: { - [1655371172.014822][2459:2464] CHIP:DMG: suppressResponse = false, - [1655371172.014854][2459:2464] CHIP:DMG: InvokeResponseIBs = - [1655371172.014889][2459:2464] CHIP:DMG: [ - [1655371172.014914][2459:2464] CHIP:DMG: InvokeResponseIB = - [1655371172.014959][2459:2464] CHIP:DMG: { - [1655371172.014989][2459:2464] CHIP:DMG: CommandStatusIB = - [1655371172.015024][2459:2464] CHIP:DMG: { - [1655371172.015055][2459:2464] CHIP:DMG: CommandPathIB = - [1655371172.015090][2459:2464] CHIP:DMG: { - [1655371172.015125][2459:2464] CHIP:DMG: EndpointId = 0x0, - [1655371172.015161][2459:2464] CHIP:DMG: ClusterId = 0x3e, - [1655371172.015196][2459:2464] CHIP:DMG: CommandId = 0xb, - [1655371172.015229][2459:2464] CHIP:DMG: }, - [1655371172.015266][2459:2464] CHIP:DMG: - [1655371172.015297][2459:2464] CHIP:DMG: StatusIB = - [1655371172.015332][2459:2464] CHIP:DMG: { - [1655371172.015366][2459:2464] CHIP:DMG: status = 0x00 (SUCCESS), - [1655371172.015399][2459:2464] CHIP:DMG: }, - [1655371172.015433][2459:2464] CHIP:DMG: - [1655371172.015464][2459:2464] CHIP:DMG: }, - [1655371172.015498][2459:2464] CHIP:DMG: - [1655371172.015527][2459:2464] CHIP:DMG: }, - [1655371172.015560][2459:2464] CHIP:DMG: - [1655371172.015584][2459:2464] CHIP:DMG: ], - [1655371172.015614][2459:2464] CHIP:DMG: - [1655371172.015639][2459:2464] CHIP:DMG: InteractionModelRevision = 1 - [1655371172.015665][2459:2464] CHIP:DMG: }, - [1655371172.015725][2459:2464] CHIP:DMG: Received Command Response Status for Endpoint=0 Cluster=0x0000_003E Command=0x0000_000B Status=0x0 - [1655371172.015770][2459:2464] CHIP:DMG: ICR moving to [AwaitingDe] + 1. ./chip-tool generalcommissioning arm-fail-safe 500 600 1 0 + [1657623082.700840][25293:25298] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0030 Command=0x0000_0001 + [1657623082.700889][25293:25298] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0030 Command 0x0000_0001 + [1657623082.700942][25293:25298] CHIP:TOO: ArmFailSafeResponse: { + [1657623082.700988][25293:25298] CHIP:TOO: errorCode: 0 + [1657623082.701013][25293:25298] CHIP:TOO: debugText: + [1657623082.701034][25293:25298] CHIP:TOO: } + + To generate root-certificate use below command + ./out/debug/chip-cert gen-cert --type r --subject-chip-id CACACACA00000001 --valid-from "2020-10-15 14:23:43" --lifetime 7305 --out-key Chip-Root-Key.pem --out Chip-Root-Cert.pem --out-format x509-pem + + 2. ./chip-tool operationalcredentials add-trusted-root-certificate MHcCAQEEIK8UTFhBUbE7TzoPTuNrZRUa/UNWvCX11Vma1HR+A0GfoAoGCCqGSM49AwEHoUQDQgAEuXuSzju4RCu1WUZarrDgV2dTG6T8RvDrwcVKxbRqwqLpqHe78u0+d2GaJxh6VGWG8LPxkiw0WExEKZuo6SXlqA== 1 0 + + [1657623265.387306][25308:25313] CHIP:DMG: InvokeResponseMessage = + [1657623265.387346][25308:25313] CHIP:DMG: { + [1657623265.387385][25308:25313] CHIP:DMG: suppressResponse = false, + [1657623265.387519][25308:25313] CHIP:DMG: InvokeResponseIBs = + [1657623265.387576][25308:25313] CHIP:DMG: [ + [1657623265.387616][25308:25313] CHIP:DMG: InvokeResponseIB = + [1657623265.387670][25308:25313] CHIP:DMG: { + [1657623265.387712][25308:25313] CHIP:DMG: CommandStatusIB = + [1657623265.387763][25308:25313] CHIP:DMG: { + [1657623265.387816][25308:25313] CHIP:DMG: CommandPathIB = + [1657623265.387870][25308:25313] CHIP:DMG: { + [1657623265.387927][25308:25313] CHIP:DMG: EndpointId = 0x0, + [1657623265.387990][25308:25313] CHIP:DMG: ClusterId = 0x3e, + [1657623265.388051][25308:25313] CHIP:DMG: CommandId = 0xb, + [1657623265.388105][25308:25313] CHIP:DMG: }, + [1657623265.388165][25308:25313] CHIP:DMG: + [1657623265.388213][25308:25313] CHIP:DMG: StatusIB = + [1657623265.388273][25308:25313] CHIP:DMG: { + [1657623265.388329][25308:25313] CHIP:DMG: status = 0x00 (SUCCESS), + [1657623265.388387][25308:25313] CHIP:DMG: }, + [1657623265.388441][25308:25313] CHIP:DMG: + [1657623265.388488][25308:25313] CHIP:DMG: }, + [1657623265.388543][25308:25313] CHIP:DMG: + [1657623265.388588][25308:25313] CHIP:DMG: }, + [1657623265.388637][25308:25313] CHIP:DMG: + [1657623265.388676][25308:25313] CHIP:DMG: ], + [1657623265.388723][25308:25313] CHIP:DMG: + [1657623265.388763][25308:25313] CHIP:DMG: InteractionModelRevision = 1 + [1657623265.388801][25308:25313] CHIP:DMG: }, + [1657623265.388891][25308:25313] CHIP:DMG: Received Command Response Status for Endpoint=0 Cluster=0x0000_003E Command=0x0000_000B Status=0x0 + [1657623265.388935][25308:25313] CHIP:DMG: ICR moving to [AwaitingDe] disabled: true - label: "TH1 Sends AddNOC Command to DUT" verification: | - https://github.com/project-chip/connectedhomeip/issues/19068 + disabled: true - label: "Read the NOCs List from the DUT" verification: | - ./chip-tool operationalcredentials read nocs 1 0 + Verify in TH Log: + + ./chip-tool operationalcredentials read nocs 1 0 [1655470923.441130][13282:13287] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0000 DataVersion: 2667297991 [1655470923.441223][13282:13287] CHIP:TOO: NOCs: 1 entries @@ -368,8 +399,13 @@ tests: - label: "Factory Reset TH1 so that it is commissionable again" verification: | - DUT side: sudo rm -rf /tmp/chip_* + "sudo ./chip-all-clusters-app --wifi + + Verify in TH Log: + ./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: @@ -381,7 +417,7 @@ tests: TH 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 + [1650455358.501816][4366:4371] CHIP:TOO: Device commissioning completed with success""" disabled: true - label: "TH1 generates 32-byte CSRNonce" @@ -432,30 +468,30 @@ tests: [1655968443.655592][21387:21392] CHIP:DMG: [1655968443.655754][21387:21392] CHIP:DMG: InvokeRequestMessage = [1655968443.655821][21387:21392] CHIP:DMG: { - [1655968443.655878][21387:21392] CHIP:DMG: suppressResponse = false, - [1655968443.655947][21387:21392] CHIP:DMG: timedRequest = false, - [1655968443.656007][21387:21392] CHIP:DMG: InvokeRequests = - [1655968443.656082][21387:21392] CHIP:DMG: [ - [1655968443.656142][21387:21392] CHIP:DMG: CommandDataIB = - [1655968443.656217][21387:21392] CHIP:DMG: { - [1655968443.656288][21387:21392] CHIP:DMG: CommandPathIB = - [1655968443.656375][21387:21392] CHIP:DMG: { - [1655968443.656458][21387:21392] CHIP:DMG: EndpointId = 0x0, - [1655968443.656549][21387:21392] CHIP:DMG: ClusterId = 0x3e, - [1655968443.656639][21387:21392] CHIP:DMG: CommandId = 0x4, - [1655968443.656725][21387:21392] CHIP:DMG: }, + [1655968443.655878][21387:21392] CHIP:DMG: suppressResponse = false, + [1655968443.655947][21387:21392] CHIP:DMG: timedRequest = false, + [1655968443.656007][21387:21392] CHIP:DMG: InvokeRequests = + [1655968443.656082][21387:21392] CHIP:DMG: [ + [1655968443.656142][21387:21392] CHIP:DMG: CommandDataIB = + [1655968443.656217][21387:21392] CHIP:DMG: { + [1655968443.656288][21387:21392] CHIP:DMG: CommandPathIB = + [1655968443.656375][21387:21392] CHIP:DMG: { + [1655968443.656458][21387:21392] CHIP:DMG: EndpointId = 0x0, + [1655968443.656549][21387:21392] CHIP:DMG: ClusterId = 0x3e, + [1655968443.656639][21387:21392] CHIP:DMG: CommandId = 0x4, + [1655968443.656725][21387:21392] CHIP:DMG: }, [1655968443.656814][21387:21392] CHIP:DMG: - [1655968443.656886][21387:21392] CHIP:DMG: CommandFields = - [1655968443.656971][21387:21392] CHIP:DMG: { - [1655968443.657106][21387:21392] CHIP:DMG: 0x0 = [ - [1655968443.657246][21387:21392] CHIP:DMG: 0x6f, 0xd8, 0x41, 0xcb, 0x59, 0x9c, 0x51, 0x20, 0x8a, 0x19, 0x1, 0x8f, 0x5c, 0xb, 0xc9, 0x70, 0xba, 0xa, 0x93, 0x3, 0xb0, 0x7a, 0x2f, 0x2f, 0xb8, 0xed, 0x77, 0xef, 0x80, 0x9b, 0x90, 0xa9, - [1655968443.657364][21387:21392] CHIP:DMG: ] - [1655968443.657448][21387:21392] CHIP:DMG: }, - [1655968443.657528][21387:21392] CHIP:DMG: }, + [1655968443.656886][21387:21392] CHIP:DMG: CommandFields = + [1655968443.656971][21387:21392] CHIP:DMG: { + [1655968443.657106][21387:21392] CHIP:DMG: 0x0 = [ + [1655968443.657246][21387:21392] CHIP:DMG: 0x6f, 0xd8, 0x41, 0xcb, 0x59, 0x9c, 0x51, 0x20, 0x8a, 0x19, 0x1, 0x8f, 0x5c, 0xb, 0xc9, 0x70, 0xba, 0xa, 0x93, 0x3, 0xb0, 0x7a, 0x2f, 0x2f, 0xb8, 0xed, 0x77, 0xef, 0x80, 0x9b, 0x90, 0xa9, + [1655968443.657364][21387:21392] CHIP:DMG: ] + [1655968443.657448][21387:21392] CHIP:DMG: }, + [1655968443.657528][21387:21392] CHIP:DMG: }, [1655968443.657607][21387:21392] CHIP:DMG: - [1655968443.657666][21387:21392] CHIP:DMG: ], + [1655968443.657666][21387:21392] CHIP:DMG: ], [1655968443.657738][21387:21392] CHIP:DMG: - [1655968443.657798][21387:21392] CHIP:DMG: InteractionModelRevision = 1 + [1655968443.657798][21387:21392] CHIP:DMG: InteractionModelRevision = 1 [1655968443.657855][21387:21392] CHIP:DMG: }, [1655968443.657910][21387:21392] CHIP:DMG: [1655968443.658186][21387:21392] CHIP:DMG: ICR moving to [CommandSen] @@ -505,36 +541,36 @@ tests: [1655968443.870221][21387:21392] CHIP:DMG: ICR moving to [ResponseRe] [1655968443.870312][21387:21392] CHIP:DMG: InvokeResponseMessage = [1655968443.870371][21387:21392] CHIP:DMG: { - [1655968443.870429][21387:21392] CHIP:DMG: suppressResponse = false, - [1655968443.870488][21387:21392] CHIP:DMG: InvokeResponseIBs = - [1655968443.870564][21387:21392] CHIP:DMG: [ - [1655968443.870623][21387:21392] CHIP:DMG: InvokeResponseIB = - [1655968443.870703][21387:21392] CHIP:DMG: { - [1655968443.870766][21387:21392] CHIP:DMG: CommandDataIB = - [1655968443.870841][21387:21392] CHIP:DMG: { - [1655968443.870911][21387:21392] CHIP:DMG: CommandPathIB = - [1655968443.870998][21387:21392] CHIP:DMG: { - [1655968443.871081][21387:21392] CHIP:DMG: EndpointId = 0x0, - [1655968443.871165][21387:21392] CHIP:DMG: ClusterId = 0x3e, - [1655968443.871248][21387:21392] CHIP:DMG: CommandId = 0x5, - [1655968443.871334][21387:21392] CHIP:DMG: }, + [1655968443.870429][21387:21392] CHIP:DMG: suppressResponse = false, + [1655968443.870488][21387:21392] CHIP:DMG: InvokeResponseIBs = + [1655968443.870564][21387:21392] CHIP:DMG: [ + [1655968443.870623][21387:21392] CHIP:DMG: InvokeResponseIB = + [1655968443.870703][21387:21392] CHIP:DMG: { + [1655968443.870766][21387:21392] CHIP:DMG: CommandDataIB = + [1655968443.870841][21387:21392] CHIP:DMG: { + [1655968443.870911][21387:21392] CHIP:DMG: CommandPathIB = + [1655968443.870998][21387:21392] CHIP:DMG: { + [1655968443.871081][21387:21392] CHIP:DMG: EndpointId = 0x0, + [1655968443.871165][21387:21392] CHIP:DMG: ClusterId = 0x3e, + [1655968443.871248][21387:21392] CHIP:DMG: CommandId = 0x5, + [1655968443.871334][21387:21392] CHIP:DMG: }, [1655968443.871416][21387:21392] CHIP:DMG: - [1655968443.871489][21387:21392] CHIP:DMG: CommandFields = - [1655968443.871568][21387:21392] CHIP:DMG: { - [1655968443.871646][21387:21392] CHIP:DMG: 0x0 = [ - [1655968443.871916][21387:21392] CHIP:DMG: 0x15, 0x30, 0x1, 0xcc, 0x30, 0x81, 0xc9, 0x30, 0x70, 0x2, 0x1, 0x0, 0x30, 0xe, 0x31, 0xc, 0x30, 0xa, 0x6, 0x3, 0x55, 0x4, 0xa, 0xc, 0x3, 0x43, 0x53, 0x52, 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, 0x1d, 0xc0, 0x42, 0x4e, 0x5f, 0xe9, 0xbc, 0x13, 0x99, 0x7c, 0xe5, 0xd2, 0x9a, 0x61, 0xc9, 0x44, 0xbf, 0xc8, 0x8, 0x92, 0x3e, 0x86, 0x56, 0xd8, 0x1, 0xa4, 0x4d, 0x25, 0xe3, 0xda, 0xfc, 0x9, 0x3f, 0xb2, 0xb1, 0x75, 0xcf, 0xf1, 0x58, 0x8c, 0xf6, 0x80, 0x90, 0xfe, 0x2c, 0x31, 0x72, 0x97, 0x5c, 0xa6, 0x87, 0x4e, 0x7c, 0xf8, 0x5f, 0xba, 0x26, 0xc8, 0xf4, 0x6f, 0xf0, 0xf5, 0xf4, 0x53, 0xa0, 0x0, 0x30, 0xa, 0x6, 0x8, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x4, 0x3, 0x2, 0x3, 0x49, 0x0, 0x30, 0x46, 0x2, 0x21, 0x0, 0x8a, 0x1c, 0x12, 0xfc, 0xdf, 0x67, 0xd9, 0x7c, 0x99, 0xed, 0x87, 0xaf, 0xe5, 0xa0, 0xf4, 0x93, 0x21, 0xdc, 0xf6, 0xeb, 0x42, 0xd0, 0x5a, 0xa2, 0x86, 0x35, 0x9c, 0xcf, 0xd2, 0x6, 0xc1, 0x20, 0x2, 0x21, 0x0, 0xe6, 0x6c, 0x5, 0x33, 0x9b, 0x45, 0x17, 0xd1, 0x43, 0xad, 0xf9, 0xd1, 0xab, 0x65, 0xad, 0x14, 0xbc, 0x6d, 0x2e, 0x80, 0x4a, 0xf0, 0x73, 0xc2, 0x5f, 0xdf, 0x65, 0x69, 0xc3, 0x9e, 0x39, 0x3f, 0x30, 0x2, 0x20, 0x6f, 0xd8, 0x41, 0xcb, 0x59, 0x9c, 0x51, 0x20, 0x8a, 0x19, 0x1, 0x8f, 0x5c, 0xb, 0xc9, 0x70, 0xba, 0xa, 0x93, 0x3, 0xb0, 0x7a, 0x2f, 0x2f, 0xb8, 0xed, 0x77, 0xef, 0x80, 0x9b, 0x90, 0xa9, 0x18, - [1655968443.872069][21387:21392] CHIP:DMG: ] - [1655968443.872144][21387:21392] CHIP:DMG: 0x1 = [ - [1655968443.872275][21387:21392] CHIP:DMG: 0x16, 0xd9, 0x90, 0x89, 0xc, 0xf0, 0x56, 0xf3, 0xfe, 0xeb, 0xa1, 0xec, 0x7e, 0xc2, 0xd4, 0x55, 0x17, 0xf9, 0xf2, 0x56, 0x11, 0xdc, 0x98, 0xcb, 0xc8, 0xa2, 0xf5, 0x96, 0x70, 0x11, 0x17, 0x73, 0xe8, 0x36, 0xcf, 0xc, 0x36, 0x2a, 0x3a, 0x23, 0xef, 0xb6, 0x81, 0x3f, 0xb0, 0x81, 0xef, 0x5e, 0x7e, 0xc5, 0x7f, 0x2f, 0xbd, 0xb3, 0xc8, 0x57, 0xa9, 0x11, 0xbd, 0xd1, 0x1a, 0x69, 0x4e, 0x89, - [1655968443.872374][21387:21392] CHIP:DMG: ] - [1655968443.872450][21387:21392] CHIP:DMG: }, - [1655968443.872650][21387:21392] CHIP:DMG: }, + [1655968443.871489][21387:21392] CHIP:DMG: CommandFields = + [1655968443.871568][21387:21392] CHIP:DMG: { + [1655968443.871646][21387:21392] CHIP:DMG: 0x0 = [ + [1655968443.871916][21387:21392] CHIP:DMG: 0x15, 0x30, 0x1, 0xcc, 0x30, 0x81, 0xc9, 0x30, 0x70, 0x2, 0x1, 0x0, 0x30, 0xe, 0x31, 0xc, 0x30, 0xa, 0x6, 0x3, 0x55, 0x4, 0xa, 0xc, 0x3, 0x43, 0x53, 0x52, 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, 0x1d, 0xc0, 0x42, 0x4e, 0x5f, 0xe9, 0xbc, 0x13, 0x99, 0x7c, 0xe5, 0xd2, 0x9a, 0x61, 0xc9, 0x44, 0xbf, 0xc8, 0x8, 0x92, 0x3e, 0x86, 0x56, 0xd8, 0x1, 0xa4, 0x4d, 0x25, 0xe3, 0xda, 0xfc, 0x9, 0x3f, 0xb2, 0xb1, 0x75, 0xcf, 0xf1, 0x58, 0x8c, 0xf6, 0x80, 0x90, 0xfe, 0x2c, 0x31, 0x72, 0x97, 0x5c, 0xa6, 0x87, 0x4e, 0x7c, 0xf8, 0x5f, 0xba, 0x26, 0xc8, 0xf4, 0x6f, 0xf0, 0xf5, 0xf4, 0x53, 0xa0, 0x0, 0x30, 0xa, 0x6, 0x8, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x4, 0x3, 0x2, 0x3, 0x49, 0x0, 0x30, 0x46, 0x2, 0x21, 0x0, 0x8a, 0x1c, 0x12, 0xfc, 0xdf, 0x67, 0xd9, 0x7c, 0x99, 0xed, 0x87, 0xaf, 0xe5, 0xa0, 0xf4, 0x93, 0x21, 0xdc, 0xf6, 0xeb, 0x42, 0xd0, 0x5a, 0xa2, 0x86, 0x35, 0x9c, 0xcf, 0xd2, 0x6, 0xc1, 0x20, 0x2, 0x21, 0x0, 0xe6, 0x6c, 0x5, 0x33, 0x9b, 0x45, 0x17, 0xd1, 0x43, 0xad, 0xf9, 0xd1, 0xab, 0x65, 0xad, 0x14, 0xbc, 0x6d, 0x2e, 0x80, 0x4a, 0xf0, 0x73, 0xc2, 0x5f, 0xdf, 0x65, 0x69, 0xc3, 0x9e, 0x39, 0x3f, 0x30, 0x2, 0x20, 0x6f, 0xd8, 0x41, 0xcb, 0x59, 0x9c, 0x51, 0x20, 0x8a, 0x19, 0x1, 0x8f, 0x5c, 0xb, 0xc9, 0x70, 0xba, 0xa, 0x93, 0x3, 0xb0, 0x7a, 0x2f, 0x2f, 0xb8, 0xed, 0x77, 0xef, 0x80, 0x9b, 0x90, 0xa9, 0x18, + [1655968443.872069][21387:21392] CHIP:DMG: ] + [1655968443.872144][21387:21392] CHIP:DMG: 0x1 = [ + [1655968443.872275][21387:21392] CHIP:DMG: 0x16, 0xd9, 0x90, 0x89, 0xc, 0xf0, 0x56, 0xf3, 0xfe, 0xeb, 0xa1, 0xec, 0x7e, 0xc2, 0xd4, 0x55, 0x17, 0xf9, 0xf2, 0x56, 0x11, 0xdc, 0x98, 0xcb, 0xc8, 0xa2, 0xf5, 0x96, 0x70, 0x11, 0x17, 0x73, 0xe8, 0x36, 0xcf, 0xc, 0x36, 0x2a, 0x3a, 0x23, 0xef, 0xb6, 0x81, 0x3f, 0xb0, 0x81, 0xef, 0x5e, 0x7e, 0xc5, 0x7f, 0x2f, 0xbd, 0xb3, 0xc8, 0x57, 0xa9, 0x11, 0xbd, 0xd1, 0x1a, 0x69, 0x4e, 0x89, + [1655968443.872374][21387:21392] CHIP:DMG: ] + [1655968443.872450][21387:21392] CHIP:DMG: }, + [1655968443.872650][21387:21392] CHIP:DMG: }, [1655968443.872742][21387:21392] CHIP:DMG: - [1655968443.872810][21387:21392] CHIP:DMG: }, + [1655968443.872810][21387:21392] CHIP:DMG: }, [1655968443.872885][21387:21392] CHIP:DMG: - [1655968443.872943][21387:21392] CHIP:DMG: ], + [1655968443.872943][21387:21392] CHIP:DMG: ], [1655968443.873018][21387:21392] CHIP:DMG: - [1655968443.873077][21387:21392] CHIP:DMG: InteractionModelRevision = 1 + [1655968443.873077][21387:21392] CHIP:DMG: InteractionModelRevision = 1 [1655968443.873134][21387:21392] CHIP:DMG: }, [1655968443.873301][21387:21392] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_003E Command=0x0000_0005 [1655968443.873382][21387:21392] CHIP:CTL: Received certificate signing request from the device 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 e80937b7a28ab4..1d6437b7e3874e 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 @@ -21,9 +21,17 @@ config: endpoint: 0 tests: + - label: + "Pre-Conditions 1. Device Attestation is completed 2. PAI, DAC + certificates are obtained and validated against externally obtained + PAA certificate 3. Operations happen within the Fail-Safe Context" + verification: | + + disabled: true + - label: "DUT completes the attestation procedure" verification: | - Verify in TH log: + DUT as commissioner side: [1655374218.114327][35023:35028] CHIP:CTL: Performing next commissioning step 'SendAttestationRequest' [1655374218.114378][35023:35028] CHIP:CTL: Sending Attestation Request to the device. @@ -49,30 +57,30 @@ tests: [1655374218.116505][35023:35028] CHIP:DMG: [1655374218.116585][35023:35028] CHIP:DMG: InvokeRequestMessage = [1655374218.116614][35023:35028] CHIP:DMG: { - [1655374218.116640][35023:35028] CHIP:DMG: suppressResponse = false, - [1655374218.116669][35023:35028] CHIP:DMG: timedRequest = false, - [1655374218.116697][35023:35028] CHIP:DMG: InvokeRequests = - [1655374218.116732][35023:35028] CHIP:DMG: [ - [1655374218.116759][35023:35028] CHIP:DMG: CommandDataIB = - [1655374218.116790][35023:35028] CHIP:DMG: { - [1655374218.116818][35023:35028] CHIP:DMG: CommandPathIB = - [1655374218.116853][35023:35028] CHIP:DMG: { - [1655374218.116888][35023:35028] CHIP:DMG: EndpointId = 0x0, - [1655374218.116926][35023:35028] CHIP:DMG: ClusterId = 0x3e, - [1655374218.116966][35023:35028] CHIP:DMG: CommandId = 0x0, - [1655374218.117000][35023:35028] CHIP:DMG: }, + [1655374218.116640][35023:35028] CHIP:DMG: suppressResponse = false, + [1655374218.116669][35023:35028] CHIP:DMG: timedRequest = false, + [1655374218.116697][35023:35028] CHIP:DMG: InvokeRequests = + [1655374218.116732][35023:35028] CHIP:DMG: [ + [1655374218.116759][35023:35028] CHIP:DMG: CommandDataIB = + [1655374218.116790][35023:35028] CHIP:DMG: { + [1655374218.116818][35023:35028] CHIP:DMG: CommandPathIB = + [1655374218.116853][35023:35028] CHIP:DMG: { + [1655374218.116888][35023:35028] CHIP:DMG: EndpointId = 0x0, + [1655374218.116926][35023:35028] CHIP:DMG: ClusterId = 0x3e, + [1655374218.116966][35023:35028] CHIP:DMG: CommandId = 0x0, + [1655374218.117000][35023:35028] CHIP:DMG: }, [1655374218.117037][35023:35028] CHIP:DMG: - [1655374218.117068][35023:35028] CHIP:DMG: CommandFields = - [1655374218.117103][35023:35028] CHIP:DMG: { - [1655374218.117137][35023:35028] CHIP:DMG: 0x0 = [ - [1655374218.117184][35023:35028] CHIP:DMG: 0x76, 0x2b, 0x6b, 0x9d, 0xa0, 0x8f, 0x7f, 0xc6, 0x3b, 0xb6, 0x93, 0xe3, 0x86, 0x34, 0xec, 0x6f, 0x87, 0xce, 0xff, 0x28, 0xab, 0x15, 0x54, 0xa1, 0x6a, 0xd4, 0x3d, 0xce, 0xc2, 0x4c, 0x24, 0x66, - [1655374218.117223][35023:35028] CHIP:DMG: ] - [1655374218.117257][35023:35028] CHIP:DMG: }, - [1655374218.117290][35023:35028] CHIP:DMG: }, + [1655374218.117068][35023:35028] CHIP:DMG: CommandFields = + [1655374218.117103][35023:35028] CHIP:DMG: { + [1655374218.117137][35023:35028] CHIP:DMG: 0x0 = [ + [1655374218.117184][35023:35028] CHIP:DMG: 0x76, 0x2b, 0x6b, 0x9d, 0xa0, 0x8f, 0x7f, 0xc6, 0x3b, 0xb6, 0x93, 0xe3, 0x86, 0x34, 0xec, 0x6f, 0x87, 0xce, 0xff, 0x28, 0xab, 0x15, 0x54, 0xa1, 0x6a, 0xd4, 0x3d, 0xce, 0xc2, 0x4c, 0x24, 0x66, + [1655374218.117223][35023:35028] CHIP:DMG: ] + [1655374218.117257][35023:35028] CHIP:DMG: }, + [1655374218.117290][35023:35028] CHIP:DMG: }, [1655374218.117323][35023:35028] CHIP:DMG: - [1655374218.117350][35023:35028] CHIP:DMG: ], + [1655374218.117350][35023:35028] CHIP:DMG: ], [1655374218.117384][35023:35028] CHIP:DMG: - [1655374218.117410][35023:35028] CHIP:DMG: InteractionModelRevision = 1 + [1655374218.117410][35023:35028] CHIP:DMG: InteractionModelRevision = 1 [1655374218.117436][35023:35028] CHIP:DMG: }, [1655374218.117462][35023:35028] CHIP:DMG: [1655374218.117597][35023:35028] CHIP:DMG: ICR moving to [CommandSen] @@ -227,36 +235,36 @@ tests: [1655374218.460157][35023:35028] CHIP:DMG: ICR moving to [ResponseRe] [1655374218.460220][35023:35028] CHIP:DMG: InvokeResponseMessage = [1655374218.460260][35023:35028] CHIP:DMG: { - [1655374218.460298][35023:35028] CHIP:DMG: suppressResponse = false, - [1655374218.460338][35023:35028] CHIP:DMG: InvokeResponseIBs = - [1655374218.460390][35023:35028] CHIP:DMG: [ - [1655374218.460430][35023:35028] CHIP:DMG: InvokeResponseIB = - [1655374218.460487][35023:35028] CHIP:DMG: { - [1655374218.460530][35023:35028] CHIP:DMG: CommandDataIB = - [1655374218.460580][35023:35028] CHIP:DMG: { - [1655374218.460628][35023:35028] CHIP:DMG: CommandPathIB = - [1655374218.460686][35023:35028] CHIP:DMG: { - [1655374218.460745][35023:35028] CHIP:DMG: EndpointId = 0x0, - [1655374218.460802][35023:35028] CHIP:DMG: ClusterId = 0x3e, - [1655374218.460852][35023:35028] CHIP:DMG: CommandId = 0x1, - [1655374218.460906][35023:35028] CHIP:DMG: }, + [1655374218.460298][35023:35028] CHIP:DMG: suppressResponse = false, + [1655374218.460338][35023:35028] CHIP:DMG: InvokeResponseIBs = + [1655374218.460390][35023:35028] CHIP:DMG: [ + [1655374218.460430][35023:35028] CHIP:DMG: InvokeResponseIB = + [1655374218.460487][35023:35028] CHIP:DMG: { + [1655374218.460530][35023:35028] CHIP:DMG: CommandDataIB = + [1655374218.460580][35023:35028] CHIP:DMG: { + [1655374218.460628][35023:35028] CHIP:DMG: CommandPathIB = + [1655374218.460686][35023:35028] CHIP:DMG: { + [1655374218.460745][35023:35028] CHIP:DMG: EndpointId = 0x0, + [1655374218.460802][35023:35028] CHIP:DMG: ClusterId = 0x3e, + [1655374218.460852][35023:35028] CHIP:DMG: CommandId = 0x1, + [1655374218.460906][35023:35028] CHIP:DMG: }, [1655374218.460962][35023:35028] CHIP:DMG: - [1655374218.461010][35023:35028] CHIP:DMG: CommandFields = - [1655374218.461068][35023:35028] CHIP:DMG: { - [1655374218.461123][35023:35028] CHIP:DMG: 0x0 = [ - [1655374218.461351][35023:35028] 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, 0x - [1655374218.461469][35023:35028] CHIP:DMG: ] - [1655374218.461523][35023:35028] CHIP:DMG: 0x1 = [ - [1655374218.461611][35023:35028] CHIP:DMG: 0xd6, 0x91, 0x3d, 0x0, 0x37, 0xd3, 0x23, 0x11, 0xa9, 0xe6, 0x23, 0xe3, 0xb0, 0x80, 0x27, 0x71, 0xc2, 0xb1, 0xdc, 0xe1, 0xb8, 0x95, 0x7c, 0x88, 0x92, 0xc6, 0x84, 0xe4, 0x21, 0xa2, 0x87, 0x22, 0x6d, 0xeb, 0x42, 0x82, 0x67, 0xe0, 0x9c, 0x17, 0xb1, 0x1c, 0x1, 0xff, 0x8b, 0xff, 0x23, 0x47, 0xc4, 0xe7, 0x6, 0x1d, 0x8f, 0x1e, 0x26, 0x8e, 0xad, 0xbd, 0xc9, 0x9e, 0x23, 0x88, 0xdb, 0xb6, - [1655374218.461681][35023:35028] CHIP:DMG: ] - [1655374218.461733][35023:35028] CHIP:DMG: }, - [1655374218.461783][35023:35028] CHIP:DMG: }, + [1655374218.461010][35023:35028] CHIP:DMG: CommandFields = + [1655374218.461068][35023:35028] CHIP:DMG: { + [1655374218.461123][35023:35028] CHIP:DMG: 0x0 = [ + [1655374218.461351][35023:35028] 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, 0x + [1655374218.461469][35023:35028] CHIP:DMG: ] + [1655374218.461523][35023:35028] CHIP:DMG: 0x1 = [ + [1655374218.461611][35023:35028] CHIP:DMG: 0xd6, 0x91, 0x3d, 0x0, 0x37, 0xd3, 0x23, 0x11, 0xa9, 0xe6, 0x23, 0xe3, 0xb0, 0x80, 0x27, 0x71, 0xc2, 0xb1, 0xdc, 0xe1, 0xb8, 0x95, 0x7c, 0x88, 0x92, 0xc6, 0x84, 0xe4, 0x21, 0xa2, 0x87, 0x22, 0x6d, 0xeb, 0x42, 0x82, 0x67, 0xe0, 0x9c, 0x17, 0xb1, 0x1c, 0x1, 0xff, 0x8b, 0xff, 0x23, 0x47, 0xc4, 0xe7, 0x6, 0x1d, 0x8f, 0x1e, 0x26, 0x8e, 0xad, 0xbd, 0xc9, 0x9e, 0x23, 0x88, 0xdb, 0xb6, + [1655374218.461681][35023:35028] CHIP:DMG: ] + [1655374218.461733][35023:35028] CHIP:DMG: }, + [1655374218.461783][35023:35028] CHIP:DMG: }, [1655374218.461855][35023:35028] CHIP:DMG: - [1655374218.461900][35023:35028] CHIP:DMG: }, + [1655374218.461900][35023:35028] CHIP:DMG: }, [1655374218.461951][35023:35028] CHIP:DMG: - [1655374218.461990][35023:35028] CHIP:DMG: ], + [1655374218.461990][35023:35028] CHIP:DMG: ], [1655374218.462041][35023:35028] CHIP:DMG: - [1655374218.462080][35023:35028] CHIP:DMG: InteractionModelRevision = 1 + [1655374218.462080][35023:35028] CHIP:DMG: InteractionModelRevision = 1 [1655374218.462118][35023:35028] CHIP:DMG: }, [1655374218.462220][35023:35028] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_003E Command=0x0000_0001 [1655374218.462275][35023:35028] CHIP:CTL: Received Attestation Information from the device @@ -267,7 +275,7 @@ tests: "DUT generates 32-byte CSRNonce and is sent to TH1 through CSRRequest Command" verification: | - Verify in TH log + DUT as commissioner side: [1655374218.694869][35023:35028] CHIP:DMG: NOCSR Elements = [1655374218.694922][35023:35028] CHIP:DMG: { @@ -289,7 +297,14 @@ tests: - label: "Factory Reset DUT so that it is commissionable again" verification: | + 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: 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 da5b1b41bbe5b3..5f73f4102f8de8 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 @@ -21,9 +21,16 @@ config: endpoint: 0 tests: + - label: + "Pre-Conditions 1. DUT1 and DUT2 Supports Factory Reset Method 2. DUT1 + and DUT2 must have a different subject public key 3. TH1 only has + official PAAs from DCL" + verification: | + + disabled: true + - label: "Start the commissioning process of DUT1 by TH on a first Fabric" verification: | - DUT side: sudo ./chip-all-clusters-app --wifi TH side: @@ -35,33 +42,186 @@ tests: - label: "TH sends CertificateChainRequest Command to DUT1 for both PAI and DAC" verification: | + To get DAC value, send below command. + ./chip-tool operationalcredentials certificate-chain-request 1 1 0 + "Verify in TH log: - [1655374217.766326][35023:35028] CHIP:DMG: DAC/PAI (463) = - [1655374217.766373][35023:35028] 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----- - " + [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: } + + + To get PAI value, send below command. + ./chip-tool operationalcredentials certificate-chain-request 2 1 0 + + [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: } disabled: true - label: "TH saves PAI certificates. Extract the Authority Key Identifier from the PAI certificate" verification: | + 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 + + Verify that below extracted authority key is not same as the SDK's test PAA + 1. 78:5C:E7:05:B8:6B:8F:4E:6F:C7:93:AA:60:CB:43:EA:69:68:82:D5 + 2. 6A:FD:22:77:1F:51:1F:EC:BF:16:41:97:67:10:DC:DC:31:A1:71:7E + + Below certificate has been extracted using the sample DUT, hence the Authority key ID is same as SDK's test PAA + 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----- disabled: true - label: "Repeat Step 1 to 4 with DUT2" verification: | + To commission DUT2 to TH + + "sudo ./chip-all-clusters-app --wifi --discriminator 3844 + 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 log: + + ./chip-tool operationalcredentials certificate-chain-request 1 1 0 + [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 + + [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: } + + + "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 SDK's test PAA + + 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----- disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_FLABEL_1_1.yaml b/src/app/tests/suites/certification/Test_TC_FLABEL_1_1.yaml index 2b5a8bd27bc68e..2277fc8bd7c7fa 100644 --- a/src/app/tests/suites/certification/Test_TC_FLABEL_1_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_FLABEL_1_1.yaml @@ -13,7 +13,7 @@ # limitations under the License. # Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default -name: 98.1. [TC-FLABEL-1.1] Global Attributes [DUT-server] +name: 98.1.1. [TC-FLABEL-1.1] Global Attributes [DUT-server] config: nodeId: 0x12344321 @@ -30,6 +30,8 @@ tests: verification: | ./chip-tool fixedlabel read cluster-revision 1 0 + On TH, verify that DUT responsds ClusterRevision attribute as the value 1 + [1651124058.497301][2367:2372] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0040 Attribute 0x0000_FFFD DataVersion: 3688229931 [1651124058.498753][2367:2372] CHIP:TOO: ClusterRevision: 1 [1651124058.498906][2367:2372] CHIP:EM: Sending Standalone Ack for MessageCounter:8872582 on exchange 60871i @@ -39,6 +41,8 @@ tests: verification: | ./chip-tool fixedlabel read feature-map 1 0 + On TH, verify that DUT responsds FeatureMap attribute as the value 0 + [1653459204.749193][24610:24615] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0040 Attribute 0x0000_FFFC DataVersion: 4022759920 [1653459204.749266][24610:24615] CHIP:TOO: FeatureMap: 0 [1653459204.749410][24610:24615] CHIP:EM: Sending Standalone Ack for MessageCounter:7681110 on exchange 50174i @@ -48,15 +52,17 @@ tests: verification: | ./chip-tool fixedlabel read attribute-list 1 0 - - [1651124128.610488][2381:2386] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0040 Attribute 0x0000_FFFB DataVersion: 3688229931 - [1651124128.610670][2381:2386] CHIP:TOO: AttributeList: 5 entries - [1651124128.610719][2381:2386] CHIP:TOO: [1]: 0 - [1651124128.610758][2381:2386] CHIP:TOO: [2]: 65528 - [1651124128.610794][2381:2386] CHIP:TOO: [3]: 65529 - [1651124128.610831][2381:2386] CHIP:TOO: [4]: 65531 - [1651124128.610867][2381:2386] CHIP:TOO: [5]: 65533 - [1651124128.611068][2381:2386] CHIP:EM: Sending Standalone Ack for MessageCounter:12258956 on exchange 48899i + On TH, verify that DUT responsds as list of supported attributes + + [1656929388.949001][6141:6146] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0040 Attribute 0x0000_FFFB DataVersion: 2146772891 + [1656929388.949100][6141:6146] CHIP:TOO: AttributeList: 6 entries + [1656929388.949135][6141:6146] CHIP:TOO: [1]: 0 + [1656929388.949165][6141:6146] CHIP:TOO: [2]: 65528 + [1656929388.949193][6141:6146] CHIP:TOO: [3]: 65529 + [1656929388.949221][6141:6146] CHIP:TOO: [4]: 65531 + [1656929388.949249][6141:6146] CHIP:TOO: [5]: 65532 + [1656929388.949277][6141:6146] CHIP:TOO: [6]: 65533 + [1656929388.949395][6141:6146] CHIP:EM: Sending Standalone Ack for MessageCounter:111128598 on exchange 9716i disabled: true - label: "TH reads EventList from DUT" @@ -68,6 +74,8 @@ tests: verification: | ./chip-tool fixedlabel read accepted-command-list 1 0 + On TH, verify that DUT responsds as list of Accepted Command as 0 entries. + [1651124239.450485][2392:2397] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0040 Attribute 0x0000_FFF9 DataVersion: 3688229931 [1651124239.450576][2392:2397] CHIP:TOO: AcceptedCommandList: 0 entries [1651124239.450713][2392:2397] CHIP:EM: Sending Standalone Ack for MessageCounter:5032784 on exchange 23524i @@ -77,6 +85,8 @@ tests: verification: | ./chip-tool fixedlabel read generated-command-list 1 0 + On TH, verify that DUT responsds as list of GeneratedCommandList as 0 entries. + [1651124266.980698][2527:2532] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0040 Attribute 0x0000_FFF8 DataVersion: 3688229931 [1651124266.980776][2527:2532] CHIP:TOO: GeneratedCommandList: 0 entries [1651124266.980897][2527:2532] CHIP:EM: Sending Standalone Ack for MessageCounter:11345894 on exchange 5110i diff --git a/src/app/tests/suites/certification/Test_TC_FLABEL_2_1.yaml b/src/app/tests/suites/certification/Test_TC_FLABEL_2_1.yaml index 31b5e415b0449a..58ea367da5ff44 100644 --- a/src/app/tests/suites/certification/Test_TC_FLABEL_2_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_FLABEL_2_1.yaml @@ -13,7 +13,7 @@ # limitations under the License. # Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default -name: 98.2. [TC-FLABEL-2.1] Fixed Label cluster [DUT-server] +name: 3.2.1. [TC-FLABEL-2.1] Fixed Label cluster [DUT-server] config: nodeId: 0x12344321 @@ -21,22 +21,80 @@ config: endpoint: 0 tests: - - label: - "TH tries to write LabelList attribute of the DUT by setting Label = - 'Test_Label', Value= 'Test_Value'" + - label: "TH reads LabelList from the DUT" + PICS: FLABEL.S.A0000 verification: | - ./chip-tool fixedlabel write-by-id 0x00 '["label":"Testlabel", "value":"testvalue"]' 1 0 + ./chip-tool fixedlabel read label-list 1 0 + + On TH verify that DUT responds with labellist empty or has one or more entries, each entry should contain label and value field - [1654000813.726531][7713:7718] CHIP:DMG: WriteClient moving to [AwaitingDe] - [1654000813.726603][7713:7718] CHIP:TOO: Response Failure: IM Error 0x00000588: General error: 0x88 (UNSUPPORTED_WRITE) - [1654000813.726707][7713:7718] CHIP:EM: Sending Standalone Ack for MessageCounter:11245962 on exchange 35967i + [1651124649.820293][2819:2824] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0040 Attribute 0x0000_0000 DataVersion: 3688229931 + [1651124649.820478][2819:2824] CHIP:TOO: label list: 4 entries + [1651124649.820534][2819:2824] CHIP:TOO: [1]: { + [1651124649.820570][2819:2824] CHIP:TOO: Label: room + [1651124649.820602][2819:2824] CHIP:TOO: Value: bedroom 2 + [1651124649.820636][2819:2824] CHIP:TOO: } + [1651124649.820676][2819:2824] CHIP:TOO: [2]: { + [1651124649.820709][2819:2824] CHIP:TOO: Label: orientation + [1651124649.820741][2819:2824] CHIP:TOO: Value: North + [1651124649.820773][2819:2824] CHIP:TOO: } + [1651124649.820812][2819:2824] CHIP:TOO: [3]: { + [1651124649.820845][2819:2824] CHIP:TOO: Label: floor + [1651124649.820875][2819:2824] CHIP:TOO: Value: 2 + [1651124649.820906][2819:2824] CHIP:TOO: } + [1651124649.820945][2819:2824] CHIP:TOO: [4]: { + [1651124649.820977][2819:2824] CHIP:TOO: Label: direction + [1651124649.821008][2819:2824] CHIP:TOO: Value: up + [1651124649.821039][2819:2824] CHIP:TOO: } + [1651124649.821193][2819:2824] CHIP:EM: Sending Standalone Ack for MessageCounter:2439070 on exchange 10798i + disabled: true + + - label: + 'TH tries to write LabelList attribute of the DUT by setting Label = + "Test_Label", Value= "Test_Value"' PICS: FLABEL.S.A0000 + verification: | + ./chip-tool fixedlabel write-by-id 0x00 '["label","Testlabel", "value","testvalue"]' 1 0 + + On TH, verify that DUT responds with UNSUPPORTED_WRITE + + [1657629968.892879][2505:2510] CHIP:DMG: WriteResponseMessage = + [1657629968.892909][2505:2510] CHIP:DMG: { + [1657629968.892937][2505:2510] CHIP:DMG: AttributeStatusIBs = + [1657629968.892975][2505:2510] CHIP:DMG: [ + [1657629968.893005][2505:2510] CHIP:DMG: AttributeStatusIB = + [1657629968.893043][2505:2510] CHIP:DMG: { + [1657629968.893077][2505:2510] CHIP:DMG: AttributePathIB = + [1657629968.893119][2505:2510] CHIP:DMG: { + [1657629968.893160][2505:2510] CHIP:DMG: Endpoint = 0x0, + [1657629968.893205][2505:2510] CHIP:DMG: Cluster = 0x40, + [1657629968.893247][2505:2510] CHIP:DMG: Attribute = 0x0000_0000, + [1657629968.893286][2505:2510] CHIP:DMG: } + [1657629968.893329][2505:2510] CHIP:DMG: + [1657629968.893370][2505:2510] CHIP:DMG: StatusIB = + [1657629968.893412][2505:2510] CHIP:DMG: { + [1657629968.893454][2505:2510] CHIP:DMG: status = 0x88 (UNSUPPORTED_WRITE), + [1657629968.893554][2505:2510] CHIP:DMG: }, + [1657629968.893594][2505:2510] CHIP:DMG: + [1657629968.893626][2505:2510] CHIP:DMG: }, + [1657629968.893662][2505:2510] CHIP:DMG: + [1657629968.893692][2505:2510] CHIP:DMG: ], + [1657629968.893729][2505:2510] CHIP:DMG: + [1657629968.893758][2505:2510] CHIP:DMG: InteractionModelRevision = 1 + [1657629968.893787][2505:2510] CHIP:DMG: } + [1657629968.893871][2505:2510] CHIP:DMG: WriteClient moving to [AwaitingDe] + [1657629968.893911][2505:2510] CHIP:TOO: Response Failure: IM Error 0x00000588: General error: 0x88 (UNSUPPORTED_WRITE) disabled: true - label: "TH reads LabelList from the DUT" + PICS: FLABEL.S.A0000 verification: | ./chip-tool fixedlabel read label-list 1 0 + + On TH verify that LabelList should be same as step 1 + + [1651124649.820293][2819:2824] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0040 Attribute 0x0000_0000 DataVersion: 3688229931 [1651124649.820478][2819:2824] CHIP:TOO: label list: 4 entries [1651124649.820534][2819:2824] CHIP:TOO: [1]: { @@ -56,5 +114,4 @@ tests: [1651124649.821008][2819:2824] CHIP:TOO: Value: up [1651124649.821039][2819:2824] CHIP:TOO: } [1651124649.821193][2819:2824] CHIP:EM: Sending Standalone Ack for MessageCounter:2439070 on exchange 10798i - PICS: FLABEL.S.A0000 disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_FLABEL_3_1.yaml b/src/app/tests/suites/certification/Test_TC_FLABEL_3_1.yaml index c30eeb085512aa..63e4974c2f1699 100644 --- a/src/app/tests/suites/certification/Test_TC_FLABEL_3_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_FLABEL_3_1.yaml @@ -22,10 +22,12 @@ config: tests: - label: "DUT reads LabelList from the TH" - PICS: FLABEL.S.A0000 + PICS: FLABEL.C.A0000 verification: | ./chip-tool fixedlabel read label-list 1 0 + Verify in DUT as client side: + [1651124649.820293][2819:2824] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0040 Attribute 0x0000_0000 DataVersion: 3688229931 [1651124649.820478][2819:2824] CHIP:TOO: label list: 4 entries [1651124649.820534][2819:2824] CHIP:TOO: [1]: { diff --git a/src/app/tests/suites/certification/Test_TC_LVL_2_1.yaml b/src/app/tests/suites/certification/Test_TC_LVL_2_1.yaml index bd2a45f4af5dcc..cb96bce60de4c6 100644 --- a/src/app/tests/suites/certification/Test_TC_LVL_2_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_LVL_2_1.yaml @@ -29,7 +29,8 @@ tests: value: nodeId # Temporary - see #13551 - - label: "Reset level to 254" + - label: "Precondition: Reset level to 254" + PICS: PICS_SDK_CI_ONLY command: "MoveToLevel" arguments: values: @@ -43,6 +44,7 @@ tests: value: 1 - label: "Wait 100ms" + PICS: PICS_SDK_CI_ONLY cluster: "DelayCommands" command: "WaitForMs" arguments: @@ -50,6 +52,13 @@ tests: - name: "ms" value: 100 + - label: "Precondition: Reads the CurrentLevel attribute" + PICS: LVL.S.A0000 + command: "readAttribute" + attribute: "current level" + response: + value: 254 + - label: "Reads the CurrentLevel attribute" PICS: LVL.S.A0000 command: "readAttribute" diff --git a/src/app/tests/suites/certification/Test_TC_LVL_3_1.yaml b/src/app/tests/suites/certification/Test_TC_LVL_3_1.yaml index e070eea89245d4..ea2fc0a693e985 100644 --- a/src/app/tests/suites/certification/Test_TC_LVL_3_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_LVL_3_1.yaml @@ -87,7 +87,7 @@ tests: - name: "optionOverride" value: 1 - - label: "Wait 100 second" + - label: "Wait 100 ms" cluster: "DelayCommands" command: "WaitForMs" arguments: diff --git a/src/app/tests/suites/certification/Test_TC_OPCREDS_1_2.yaml b/src/app/tests/suites/certification/Test_TC_OPCREDS_1_2.yaml index fafeffaadf720a..072cc199dd308c 100644 --- a/src/app/tests/suites/certification/Test_TC_OPCREDS_1_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_OPCREDS_1_2.yaml @@ -32,6 +32,8 @@ tests: verification: | ./chip-tool operationalcredentials read cluster-revision 1 0 + Verify on the TH Log: + [1651215068.211617][3121:3134] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_FFFD DataVersion: 3662641304 [1651215068.211771][3121:3134] CHIP:TOO: ClusterRevision: 1 @@ -41,6 +43,8 @@ tests: verification: | ./chip-tool operationalcredentials read feature-map 1 0 + Verify on the TH Log: + [1653459610.168569][29181:29186] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_FFFC DataVersion: 760966542 [1653459610.168681][29181:29186] CHIP:TOO: FeatureMap: 0 [1653459610.168856][29181:29186] CHIP:EM: Sending Standalone Ack for MessageCounter:15955740 on exchange 48874i @@ -50,18 +54,21 @@ tests: verification: | ./chip-tool operationalcredentials read attribute-list 1 0 - [1651215134.318088][3238:3243] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_FFFB DataVersion: 3662641304 - [1651215134.318171][3238:3243] CHIP:TOO: AttributeList: 10 entries - [1651215134.318204][3238:3243] CHIP:TOO: [1]: 0 - [1651215134.318231][3238:3243] CHIP:TOO: [2]: 1 - [1651215134.318256][3238:3243] CHIP:TOO: [3]: 2 - [1651215134.318278][3238:3243] CHIP:TOO: [4]: 3 - [1651215134.318303][3238:3243] CHIP:TOO: [5]: 4 - [1651215134.318328][3238:3243] CHIP:TOO: [6]: 5 - [1651215134.318355][3238:3243] CHIP:TOO: [7]: 65528 - [1651215134.318381][3238:3243] CHIP:TOO: [8]: 65529 - [1651215134.318407][3238:3243] CHIP:TOO: [9]: 65531 - [1651215134.318432][3238:3243] CHIP:TOO: [10]: 65533 + Verify on the TH Log: + + [1656324429.812701][17795:17800] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_FFFB DataVersion: 3039700471 + [1656324429.812917][17795:17800] CHIP:TOO: AttributeList: 11 entries + [1656324429.813076][17795:17800] CHIP:TOO: [1]: 0 + [1656324429.813143][17795:17800] CHIP:TOO: [2]: 1 + [1656324429.813205][17795:17800] CHIP:TOO: [3]: 2 + [1656324429.813266][17795:17800] CHIP:TOO: [4]: 3 + [1656324429.813327][17795:17800] CHIP:TOO: [5]: 4 + [1656324429.813387][17795:17800] CHIP:TOO: [6]: 5 + [1656324429.813450][17795:17800] CHIP:TOO: [7]: 65528 + [1656324429.813513][17795:17800] CHIP:TOO: [8]: 65529 + [1656324429.813575][17795:17800] CHIP:TOO: [9]: 65531 + [1656324429.813636][17795:17800] CHIP:TOO: [10]: 65532 + [1656324429.813697][17795:17800] CHIP:TOO: [11]: 65533 disabled: true - label: "TH reads EventList from DUT" @@ -72,23 +79,27 @@ tests: - label: "TH reads AcceptedCommandList from DUT" verification: | ./chip-tool operationalcredentials read accepted-command-list 1 0 - [1651215195.652771][3248:3253] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_FFF9 DataVersion: 3662641304 - [1651215195.652861][3248:3253] CHIP:TOO: AcceptedCommandList: 9 entries - [1651215195.652900][3248:3253] CHIP:TOO: [1]: 0 - [1651215195.652931][3248:3253] CHIP:TOO: [2]: 2 - [1651215195.652962][3248:3253] CHIP:TOO: [3]: 4 - [1651215195.652992][3248:3253] CHIP:TOO: [4]: 6 - [1651215195.653022][3248:3253] CHIP:TOO: [5]: 7 - [1651215195.653051][3248:3253] CHIP:TOO: [6]: 9 - [1651215195.653082][3248:3253] CHIP:TOO: [7]: 10 - [1651215195.653112][3248:3253] CHIP:TOO: [8]: 11 - [1651215195.653142][3248:3253] CHIP:TOO: [9]: 12 + + Verify on the TH Log: + + [1657021609.426857][7131:7136] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_FFF9 DataVersion: 364716653 + [1657021609.426944][7131:7136] CHIP:TOO: AcceptedCommandList: 8 entries + [1657021609.426978][7131:7136] CHIP:TOO: [1]: 0 + [1657021609.427005][7131:7136] CHIP:TOO: [2]: 2 + [1657021609.427032][7131:7136] CHIP:TOO: [3]: 4 + [1657021609.427059][7131:7136] CHIP:TOO: [4]: 6 + [1657021609.427085][7131:7136] CHIP:TOO: [5]: 7 + [1657021609.427111][7131:7136] CHIP:TOO: [6]: 9 + [1657021609.427138][7131:7136] CHIP:TOO: [7]: 10 + [1657021609.427165][7131:7136] CHIP:TOO: [8]: 11 disabled: true - label: "TH reads GeneratedCommandList from DUT" verification: | ./chip-tool operationalcredentials read generated-command-list 1 0 + Verify on the TH Log: + [1651215270.028855][3260:3265] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_FFF8 DataVersion: 3662641304 [1651215270.028955][3260:3265] CHIP:TOO: GeneratedCommandList: 4 entries [1651215270.029001][3260:3265] CHIP:TOO: [1]: 1 diff --git a/src/app/tests/suites/certification/Test_TC_OPCREDS_3_2.yaml b/src/app/tests/suites/certification/Test_TC_OPCREDS_3_2.yaml index c325fc63c1588b..9a91443b53963f 100644 --- a/src/app/tests/suites/certification/Test_TC_OPCREDS_3_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_OPCREDS_3_2.yaml @@ -25,7 +25,7 @@ config: tests: - label: "Factory Reset DUT" verification: | - On both DUT and TH side + On both DUT and TH side use the below command sudo rm -rf /tmp/chip_* disabled: true @@ -34,16 +34,17 @@ tests: FabricIndex as FabricIndex_TH1" verification: | After commissioning DUT to TH1's fabric read nocs + Verify in TH Log NOC and ICAC value during commissioning is - [1655389038.700444][37522:37528] CHIP:DMG: CommandFields = - [1655389038.700479][37522:37528] CHIP:DMG: { - [1655389038.700516][37522:37528] CHIP:DMG: 0x0 = [ - [1655389038.700639][37522:37528] CHIP:DMG: 0x15, 0x30, 0x1, 0x1, 0x1, 0x24, 0x2, 0x1, 0x37, 0x3, 0x24, 0x13, 0x1, 0x18, 0x26, 0x4, 0x80, 0x22, 0x81, 0x27, 0x26, 0x5, 0x80, 0x25, 0x4d, 0x3a, 0x37, 0x6, 0x24, 0x15, 0x1, 0x24, 0x11, 0x1, 0x18, 0x24, 0x7, 0x1, 0x24, 0x8, 0x1, 0x30, 0x9, 0x41, 0x4, 0xe, 0x8d, 0x0, 0xf, 0xd2, 0x8f, 0x38, 0xe1, 0x8d, 0x47, 0xcc, 0xa9, 0x15, 0x35, 0xb3, 0xe, 0x3d, 0x32, 0xea, 0xaa, 0xb2, 0x41, 0xf4, 0x93, 0xc6, 0x91, 0xe5, 0xba, 0x59, 0xf1, 0x26, 0xd4, 0xe, 0x63, 0x0, 0x16, 0xbb, 0x3e, 0x1c, 0x78, 0xab, 0x5b, 0x90, 0xe0, 0xe6, 0xaf, 0x68, 0xc4, 0x30, 0xd5, 0x75, 0xa0, 0x3c, 0xc6, 0xfa, 0xde, 0xf6, 0x46, 0xcc, 0xfa, 0x51, 0x8c, 0xd9, 0xce, 0x37, 0xa, 0x35, 0x1, 0x28, 0x1, 0x18, 0x24, 0x2, 0x1, 0x36, 0x3, 0x4, 0x2, 0x4, 0x1, 0x18, 0x30, 0x4, 0x14, 0x8b, 0x7a, 0xcb, 0x8, 0x95, 0xa4, 0x5c, 0x94, 0x19, 0x57, 0x18, 0xe, 0x30, 0x5c, 0xe4, 0x98, 0x5f, 0x5b, 0xa7, 0xab, 0x30, 0x5, 0x14, 0x6b, 0xe4, 0x85, 0x7e, 0x41, 0x6, 0x2e, 0xba, 0x9b, 0x8b, 0x53, 0xf0, 0xcb, 0x5b, 0x70, 0x3c, 0x14, 0x63, 0x78, 0x6d, 0x18, 0x30, 0xb, 0x40, 0xcb, 0xa1, 0xe2, 0xbf, 0x8d, 0x78, 0xd9, 0xf7, 0xf1, 0x8, 0xad, 0x93, 0xfd, 0x5, 0x65, 0x61, 0xdb, 0xef, 0x64, 0x3e, 0x42, 0xe0, 0xc, 0xed, 0xf, 0xf3, 0xa9, 0xae, 0xb6, 0x2d, 0x55, 0xcf, 0x10, 0xfc, 0x8d, 0x4, 0x52, 0x35, 0x99, 0x2b, 0xf6, 0xf, 0xa8, 0xc1, 0x30, 0x58, 0x95, 0xf1, 0xc2, 0x4c, 0xd1, 0x10, 0x4f, 0x9c, 0xfc, 0x2d, 0xa4, 0x2a, 0xcc, 0x71, 0x86, 0xa2, 0x3, 0x82, 0x18, - [1655389038.700711][37522:37528] CHIP:DMG: ] - [1655389038.700746][37522:37528] CHIP:DMG: 0x1 = [ - [1655389038.700866][37522:37528] CHIP:DMG: 0x15, 0x30, 0x1, 0x1, 0x0, 0x24, 0x2, 0x1, 0x37, 0x3, 0x24, 0x14, 0x0, 0x18, 0x26, 0x4, 0x80, 0x22, 0x81, 0x27, 0x26, 0x5, 0x80, 0x25, 0x4d, 0x3a, 0x37, 0x6, 0x24, 0x13, 0x1, 0x18, 0x24, 0x7, 0x1, 0x24, 0x8, 0x1, 0x30, 0x9, 0x41, 0x4, 0x98, 0xef, 0x51, 0xbb, 0xde, 0xc5, 0x6c, 0x37, 0xc5, 0x5a, 0xb1, 0x4c, 0x9, 0x9b, 0xc5, 0x82, 0xc6, 0xa1, 0xe7, 0xb3, 0x56, 0xbd, 0xf8, 0xfe, 0x56, 0x3d, 0x3, 0x96, 0x6c, 0x25, 0x25, 0xc0, 0x3b, 0xcc, 0xdb, 0x18, 0xff, 0xcb, 0x1b, 0x57, 0x23, 0x91, 0xf9, 0xee, 0x24, 0x7d, 0xde, 0x82, 0x9e, 0x1, 0xd5, 0xa3, 0x6c, 0x87, 0x3f, 0x9, 0x17, 0x11, 0x76, 0x8c, 0x3d, 0x39, 0xe1, 0x22, 0x37, 0xa, 0x35, 0x1, 0x29, 0x1, 0x18, 0x24, 0x2, 0x60, 0x30, 0x4, 0x14, 0x6b, 0xe4, 0x85, 0x7e, 0x41, 0x6, 0x2e, 0xba, 0x9b, 0x8b, 0x53, 0xf0, 0xcb, 0x5b, 0x70, 0x3c, 0x14, 0x63, 0x78, 0x6d, 0x30, 0x5, 0x14, 0x8a, 0xd7, 0x6a, 0x96, 0x58, 0x45, 0xc, 0x7c, 0x15, 0xa1, 0xe9, 0xa1, 0xf9, 0xff, 0x19, 0x36, 0xbb, 0x86, 0x3b, 0x67, 0x18, 0x30, 0xb, 0x40, 0xd, 0xb7, 0xa7, 0xc4, 0xd7, 0x21, 0xac, 0x99, 0x97, 0x3f, 0xaa, 0x86, 0xfa, 0x7, 0xe3, 0x41, 0x86, 0x33, 0xbc, 0xc3, 0x9a, 0xe1, 0x7f, 0x84, 0x1f, 0xcf, 0xec, 0x92, 0x6b, 0x84, 0xe, 0xba, 0x55, 0x28, 0xd9, 0xc8, 0x4d, 0x83, 0xde, 0xba, 0x8a, 0x16, 0x55, 0x1b, 0xd6, 0x9b, 0x7, 0x7d, 0x64, 0xab, 0x33, 0xc1, 0xad, 0xd5, 0xce, 0xf2, 0xfd, 0x75, 0x2b, 0x11, 0x32, 0xf, 0x81, 0xf0, 0x18, + [1657692835.180909][15001:15006] CHIP:DMG: CommandFields = + [1657692835.180947][15001:15006] CHIP:DMG: { + [1657692835.180997][15001:15006] CHIP:DMG: 0x0 = [ + [1657692835.181155][15001:15006] CHIP:DMG: 0x15, 0x30, 0x1, 0x1, 0x1, 0x24, 0x2, 0x1, 0x37, 0x3, 0x24, 0x13, 0x1, 0x18, 0x26, 0x4, 0x80, 0x22, 0x81, 0x27, 0x26, 0x5, 0x80, 0x25, 0x4d, 0x3a, 0x37, 0x6, 0x24, 0x15, 0x1, 0x24, 0x11, 0x1, 0x18, 0x24, 0x7, 0x1, 0x24, 0x8, 0x1, 0x30, 0x9, 0x41, 0x4, 0x1d, 0xea, 0x2c, 0xf3, 0x48, 0x14, 0x9f, 0x1a, 0xbf, 0xc0, 0xe6, 0xf9, 0x47, 0x5, 0x9b, 0xb6, 0x3b, 0x30, 0xc5, 0xa6, 0x2e, 0x14, 0xd2, 0x94, 0x82, 0xd1, 0x26, 0x5d, 0x50, 0xe4, 0x2b, 0x55, 0xb6, 0x96, 0xd0, 0xe9, 0xfa, 0x32, 0xba, 0x9, 0x60, 0xe6, 0x90, 0x5b, 0xe9, 0x3a, 0x89, 0xa2, 0xf4, 0xde, 0x58, 0x8e, 0x3c, 0x2c, 0xb, 0x9a, 0x29, 0xff, 0x81, 0x28, 0xd0, 0x9b, 0xe4, 0x39, 0x37, 0xa, 0x35, 0x1, 0x28, 0x1, 0x18, 0x24, 0x2, 0x1, 0x36, 0x3, 0x4, 0x2, 0x4, 0x1, 0x18, 0x30, 0x4, 0x14, 0x84, 0x3a, 0x27, 0xff, 0xf3, 0x6c, 0x84, 0x24, 0x2, 0xa9, 0x59, 0xf, 0x9, 0x75, 0x96, 0x1a, 0x6a, 0x5f, 0x71, 0x3b, 0x30, 0x5, 0x14, 0x61, 0x58, 0x18, 0xfa, 0xf5, 0x9, 0x51, 0x21, 0xa4, 0xb8, 0xb0, 0xc5, 0x67, 0xb0, 0xf2, 0x87, 0xa4, 0xab, 0x5, 0x7b, 0x18, 0x30, 0xb, 0x40, 0x6a, 0x23, 0xec, 0x6e, 0xe1, 0x23, 0x0, 0x97, 0x6f, 0xe, 0xcb, 0xb7, 0x58, 0x82, 0xf3, 0x75, 0x8, 0xf4, 0x7d, 0xbe, 0xb0, 0x15, 0x56, 0x77, 0x1c, 0x22, 0x93, 0x56, 0xc4, 0x2a, 0xdc, 0x70, 0xd9, 0xe6, 0xb5, 0xe9, 0xf6, 0xe0, 0x8d, 0x57, 0xcb, 0x5, 0x26, 0x6a, 0x55, 0x34, 0x87, 0x16, 0xd9, 0xf1, 0x5b, 0x53, 0x67, 0x91, 0xfb, 0xb6, 0x2e, 0x59, 0xa7, 0xf4, 0x65, 0x68, 0x77, 0x8, 0x18, + [1657692835.181249][15001:15006] CHIP:DMG: ] + [1657692835.181293][15001:15006] CHIP:DMG: 0x1 = [ + [1657692835.181422][15001:15006] CHIP:DMG: 0x15, 0x30, 0x1, 0x1, 0x0, 0x24, 0x2, 0x1, 0x37, 0x3, 0x24, 0x14, 0x0, 0x18, 0x26, 0x4, 0x80, 0x22, 0x81, 0x27, 0x26, 0x5, 0x80, 0x25, 0x4d, 0x3a, 0x37, 0x6, 0x24, 0x13, 0x1, 0x18, 0x24, 0x7, 0x1, 0x24, 0x8, 0x1, 0x30, 0x9, 0x41, 0x4, 0x60, 0xc5, 0x13, 0x45, 0x8f, 0x15, 0x33, 0xf6, 0x4b, 0x4f, 0x54, 0xec, 0x65, 0xa1, 0x54, 0xa9, 0xa6, 0x5f, 0x44, 0x69, 0x88, 0x6, 0x39, 0xad, 0x50, 0x45, 0x43, 0xdf, 0xcb, 0x55, 0x1a, 0xc9, 0xe3, 0x1b, 0xbf, 0x2a, 0x5e, 0x90, 0x56, 0xc1, 0x17, 0x5f, 0xa, 0x23, 0x29, 0x7e, 0x8, 0xc1, 0xed, 0xa8, 0x98, 0xf2, 0x56, 0xbf, 0x27, 0xcd, 0x5f, 0x51, 0x22, 0xf5, 0x4d, 0xdb, 0xad, 0xbe, 0x37, 0xa, 0x35, 0x1, 0x29, 0x1, 0x18, 0x24, 0x2, 0x60, 0x30, 0x4, 0x14, 0x61, 0x58, 0x18, 0xfa, 0xf5, 0x9, 0x51, 0x21, 0xa4, 0xb8, 0xb0, 0xc5, 0x67, 0xb0, 0xf2, 0x87, 0xa4, 0xab, 0x5, 0x7b, 0x30, 0x5, 0x14, 0xb8, 0x43, 0x4a, 0x31, 0x1c, 0xa3, 0xac, 0x9a, 0xc, 0x9d, 0x5c, 0x13, 0x6, 0xa1, 0xf0, 0xf3, 0x15, 0xad, 0xf8, 0x95, 0x18, 0x30, 0xb, 0x40, 0x6e, 0xe8, 0x76, 0x26, 0xe9, 0x79, 0x12, 0x8, 0xb, 0x84, 0x98, 0x8a, 0x77, 0x77, 0xc2, 0x72, 0xb8, 0xcf, 0x2b, 0x3f, 0x43, 0xc3, 0x64, 0x8e, 0x59, 0x40, 0x31, 0xc0, 0xe4, 0xc, 0xd0, 0xba, 0xee, 0xf5, 0x65, 0x84, 0xe, 0xf9, 0x5a, 0xf1, 0xb4, 0xf8, 0x86, 0x4e, 0xe9, 0x37, 0xa, 0xc0, 0x7d, 0x71, 0xb4, 0x22, 0x9b, 0x5b, 0x86, 0x10, 0xb, 0xc3, 0x18, 0x65, 0xa6, 0x6, 0xce, 0x1e, 0x18, disabled: true - label: "Save TH1s Fabric ID as FabricID1" @@ -56,21 +57,36 @@ tests: FabricIndex as FabricIndex_TH2" verification: | To commission DUT to TH2 follow below procedure - 1../chip-tool pairing open-commissioning-window 1 1 400 2000 3841 on TH - 2. manualcode will be provided by TH when we pass above command pass manualcode in TH2 to commission by using "./chip-tool pairing code 2 36199720672" considering 36199720672 as manualcode generated in TH + 1. ./chip-tool pairing open-commissioning-window 1 1 400 2000 3841 on TH + + 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 + [1635691999.946850][3822:3827] CHIP:IN: Prepared plaintext message 0xffffaa58a960 to 0x0000000000000000 of type 0x10 and protocolId (0, 0) on exchange 35324i with MessageCounter:1726016118. + [1635691999.946895][3822:3827] CHIP:IN: Sending plaintext msg 0xffffaa58a960 with MessageCounter:1726016118 to 0x0000000000000000 at monotonic time: 5805158 msec + [1635691999.946983][3822:3827] CHIP:EM: Flushed pending ack for MessageCounter:3234931243 on exchange 35324i + + 2. On 2nd controller, using chip-tool connect using manual code. + 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 35407541839 + Verify whether you got below message in the log of TH + Device commissioning completed with success After commissioning DUT to TH2's fabric read nocs + Verify in TH Log: NOC and ICAC value during commissioning is - [1655389319.064447][13418:13423] CHIP:DMG: CommandFields = - [1655389319.064451][13418:13423] CHIP:DMG: { - [1655389319.064455][13418:13423] CHIP:DMG: 0x0 = [ - [1655389319.064476][13418:13423] CHIP:DMG: 0x15, 0x30, 0x1, 0x1, 0x1, 0x24, 0x2, 0x1, 0x37, 0x3, 0x24, 0x13, 0x1, 0x18, 0x26, 0x4, 0x80, 0x22, 0x81, 0x27, 0x26, 0x5, 0x80, 0x25, 0x4d, 0x3a, 0x37, 0x6, 0x24, 0x15, 0x1, 0x24, 0x11, 0x2, 0x18, 0x24, 0x7, 0x1, 0x24, 0x8, 0x1, 0x30, 0x9, 0x41, 0x4, 0xc3, 0x7f, 0x7d, 0x4, 0xa6, 0xb2, 0xab, 0xb, 0xcb, 0xe, 0x9e, 0x8, 0xf6, 0x44, 0x52, 0x45, 0xb4, 0x6e, 0xda, 0x2a, 0x7, 0x35, 0x56, 0xf5, 0xc, 0x7e, 0x6c, 0xe8, 0x6a, 0xea, 0xac, 0x9b, 0x6b, 0x9c, 0x23, 0x72, 0x84, 0x1, 0x77, 0xa, 0x39, 0x49, 0x84, 0xb7, 0xb8, 0x35, 0x29, 0x6c, 0x3d, 0x55, 0x1f, 0x4a, 0x6a, 0xe0, 0x80, 0xbb, 0x18, 0xc5, 0x8, 0x92, 0xe3, 0x4a, 0x1f, 0x7a, 0x37, 0xa, 0x35, 0x1, 0x28, 0x1, 0x18, 0x24, 0x2, 0x1, 0x36, 0x3, 0x4, 0x2, 0x4, 0x1, 0x18, 0x30, 0x4, 0x14, 0xe4, 0xea, 0x12, 0xb7, 0x13, 0xd4, 0x10, 0x7b, 0xae, 0x73, 0x87, 0x4b, 0x93, 0x66, 0xf2, 0x7e, 0x54, 0x52, 0x51, 0x43, 0x30, 0x5, 0x14, 0x7f, 0xec, 0x8f, 0x82, 0x28, 0x68, 0x25, 0xca, 0x18, 0xa3, 0x92, 0xa8, 0xa7, 0xb7, 0xf7, 0x8, 0x9d, 0xb7, 0x5, 0x7a, 0x18, 0x30, 0xb, 0x40, 0x25, 0x59, 0xde, 0xd2, 0xef, 0x92, 0x41, 0x70, 0x99, 0x82, 0x24, 0xc9, 0x49, 0xa9, 0xd, 0x47, 0xfb, 0xbe, 0x63, 0xad, 0xa6, 0xfd, 0x3a, 0xa8, 0xff, 0x1, 0x10, 0xae, 0x93, 0xc2, 0x33, 0x29, 0xca, 0xc7, 0xf8, 0x39, 0x10, 0xb2, 0xc1, 0xa8, 0xf4, 0x57, 0x1b, 0xfb, 0x76, 0x8, 0xa6, 0xf9, 0x57, 0x7, 0x90, 0x10, 0x19, 0x79, 0x97, 0x32, 0x6d, 0x7c, 0x33, 0xe9, 0x34, 0xd9, 0x71, 0x2, 0x18, - [1655389319.064488][13418:13423] CHIP:DMG: ] - [1655389319.064492][13418:13423] CHIP:DMG: 0x1 = [ - [1655389319.064512][13418:13423] CHIP:DMG: 0x15, 0x30, 0x1, 0x1, 0x0, 0x24, 0x2, 0x1, 0x37, 0x3, 0x24, 0x14, 0x0, 0x18, 0x26, 0x4, 0x80, 0x22, 0x81, 0x27, 0x26, 0x5, 0x80, 0x25, 0x4d, 0x3a, 0x37, 0x6, 0x24, 0x13, 0x1, 0x18, 0x24, 0x7, 0x1, 0x24, 0x8, 0x1, 0x30, 0x9, 0x41, 0x4, 0xb6, 0x8c, 0x7f, 0x8f, 0xbd, 0xe3, 0x1e, 0xb7, 0xd1, 0xad, 0x78, 0x17, 0x76, 0x88, 0xa0, 0x56, 0x11, 0x9, 0x56, 0x1a, 0x70, 0xfd, 0x82, 0x98, 0xb, 0x6d, 0x85, 0x82, 0x5b, 0x5, 0xdf, 0x64, 0xa7, 0x27, 0x47, 0xad, 0x56, 0x10, 0xb0, 0x5c, 0x86, 0x7e, 0x2b, 0xd5, 0xef, 0xbb, 0x49, 0xcc, 0x5f, 0x37, 0xe5, 0x6a, 0x21, 0x7b, 0x95, 0x60, 0x91, 0xdd, 0x8, 0x37, 0xbf, 0xcf, 0x5a, 0xfe, 0x37, 0xa, 0x35, 0x1, 0x29, 0x1, 0x18, 0x24, 0x2, 0x60, 0x30, 0x4, 0x14, 0x7f, 0xec, 0x8f, 0x82, 0x28, 0x68, 0x25, 0xca, 0x18, 0xa3, 0x92, 0xa8, 0xa7, 0xb7, 0xf7, 0x8, 0x9d, 0xb7, 0x5, 0x7a, 0x30, 0x5, 0x14, 0x50, 0xfa, 0x17, 0x5f, 0xab, 0x87, 0xbe, 0x4b, 0x13, 0x4c, 0xd, 0xad, 0xff, 0x3b, 0x76, 0x6c, 0x55, 0xb, 0x54, 0x39, 0x18, 0x30, 0xb, 0x40, 0x8c, 0xfb, 0xf9, 0xd1, 0xfc, 0x41, 0xdb, 0x83, 0x27, 0xb7, 0xcc, 0xdb, 0x92, 0x6e, 0x93, 0x8d, 0x50, 0xbf, 0xee, 0x34, 0xe8, 0x95, 0x85, 0xc2, 0x28, 0x87, 0x24, 0xfd, 0x9e, 0x30, 0x68, 0xdd, 0x66, 0xa5, 0x38, 0x1e, 0x8c, 0xed, 0xc9, 0xba, 0xf9, 0x24, 0x1c, 0x35, 0x89, 0xaa, 0x47, 0x7d, 0xd6, 0x29, 0xba, 0x57, 0x6d, 0xf0, 0xf8, 0x6c, 0xc0, 0x36, 0xf0, 0x15, 0xa1, 0xf0, 0x6b, 0xda, 0x18, + [1657692964.637112][93108:93113] CHIP:DMG: CommandFields = + [1657692964.637117][93108:93113] CHIP:DMG: { + [1657692964.637123][93108:93113] CHIP:DMG: 0x0 = [ + [1657692964.637158][93108:93113] CHIP:DMG: 0x15, 0x30, 0x1, 0x1, 0x1, 0x24, 0x2, 0x1, 0x37, 0x3, 0x24, 0x13, 0x1, 0x18, 0x26, 0x4, 0x80, 0x22, 0x81, 0x27, 0x26, 0x5, 0x80, 0x25, 0x4d, 0x3a, 0x37, 0x6, 0x24, 0x15, 0x1, 0x24, 0x11, 0x2, 0x18, 0x24, 0x7, 0x1, 0x24, 0x8, 0x1, 0x30, 0x9, 0x41, 0x4, 0xc9, 0xc4, 0x4e, 0x8c, 0xbe, 0xed, 0xd4, 0x9c, 0x8f, 0x72, 0x3d, 0x77, 0x5a, 0x7, 0xad, 0x1d, 0xab, 0xe2, 0x79, 0x75, 0x5b, 0x5f, 0xfd, 0x34, 0xa7, 0x73, 0xed, 0x96, 0x1a, 0x88, 0xae, 0x37, 0x4c, 0xde, 0x63, 0x99, 0xd5, 0xe, 0xcd, 0x11, 0x1b, 0xd8, 0x9a, 0xcb, 0x6e, 0x36, 0x6a, 0x1f, 0xb8, 0x89, 0xc8, 0x61, 0x8e, 0xf1, 0xa, 0x19, 0xb1, 0xfb, 0xb9, 0x9b, 0x5b, 0x12, 0x66, 0x69, 0x37, 0xa, 0x35, 0x1, 0x28, 0x1, 0x18, 0x24, 0x2, 0x1, 0x36, 0x3, 0x4, 0x2, 0x4, 0x1, 0x18, 0x30, 0x4, 0x14, 0x47, 0x72, 0x3f, 0x5b, 0xaf, 0x16, 0x94, 0x4c, 0x3e, 0x45, 0x92, 0x26, 0xc9, 0x2f, 0x75, 0x48, 0x89, 0x94, 0x9b, 0x3d, 0x30, 0x5, 0x14, 0xa1, 0xe8, 0xff, 0x87, 0x3b, 0xd2, 0x8c, 0x5a, 0xb6, 0x89, 0xc0, 0x37, 0xc3, 0x19, 0x61, 0x99, 0xf6, 0x23, 0x50, 0xb6, 0x18, 0x30, 0xb, 0x40, 0x4f, 0x79, 0x94, 0x7, 0x18, 0x3c, 0x59, 0xb5, 0xcc, 0xf2, 0xa1, 0xa4, 0x2c, 0xa4, 0x40, 0xda, 0xea, 0x70, 0x92, 0x66, 0x88, 0x92, 0x78, 0x78, 0x6a, 0xa2, 0x73, 0x83, 0x13, 0x96, 0x16, 0xe, 0x72, 0xcc, 0x90, 0x77, 0xc0, 0x68, 0xc7, 0xd, 0xb0, 0x5f, 0x6f, 0x3e, 0x71, 0x29, 0xe7, 0x29, 0x39, 0xc8, 0x78, 0xd3, 0xa3, 0x2f, 0x5c, 0xa0, 0x62, 0xe0, 0xc7, 0xba, 0x48, 0x91, 0xa, 0xd6, 0x18, + [1657692964.637175][93108:93113] CHIP:DMG: ] + [1657692964.637180][93108:93113] CHIP:DMG: 0x1 = [ + [1657692964.637214][93108:93113] CHIP:DMG: 0x15, 0x30, 0x1, 0x1, 0x0, 0x24, 0x2, 0x1, 0x37, 0x3, 0x24, 0x14, 0x0, 0x18, 0x26, 0x4, 0x80, 0x22, 0x81, 0x27, 0x26, 0x5, 0x80, 0x25, 0x4d, 0x3a, 0x37, 0x6, 0x24, 0x13, 0x1, 0x18, 0x24, 0x7, 0x1, 0x24, 0x8, 0x1, 0x30, 0x9, 0x41, 0x4, 0xb4, 0xc, 0xdd, 0x16, 0x23, 0xfe, 0xe0, 0xe5, 0xd8, 0xfa, 0x1a, 0x2d, 0x9d, 0xf6, 0x13, 0xff, 0xe2, 0xc, 0x5b, 0xb9, 0xf5, 0x60, 0x25, 0x2c, 0x6, 0x13, 0x5c, 0x29, 0x67, 0xce, 0xee, 0xa0, 0x7c, 0x4b, 0x9, 0xf, 0x6c, 0x9b, 0xe, 0x4f, 0xe9, 0xa5, 0xa4, 0xb, 0x17, 0xa4, 0x1b, 0x6a, 0xae, 0xc4, 0x51, 0xfc, 0xed, 0x4b, 0xd4, 0x19, 0x2c, 0x7a, 0xe5, 0x58, 0xa4, 0x75, 0x48, 0x20, 0x37, 0xa, 0x35, 0x1, 0x29, 0x1, 0x18, 0x24, 0x2, 0x60, 0x30, 0x4, 0x14, 0xa1, 0xe8, 0xff, 0x87, 0x3b, 0xd2, 0x8c, 0x5a, 0xb6, 0x89, 0xc0, 0x37, 0xc3, 0x19, 0x61, 0x99, 0xf6, 0x23, 0x50, 0xb6, 0x30, 0x5, 0x14, 0x49, 0xfa, 0xf8, 0x8, 0x14, 0x7a, 0xeb, 0x16, 0xc5, 0x5, 0x6d, 0x50, 0xbe, 0x51, 0x98, 0x2e, 0xa, 0xcf, 0x54, 0xad, 0x18, 0x30, 0xb, 0x40, 0x34, 0xa4, 0x14, 0x92, 0xeb, 0x94, 0x9b, 0xb9, 0x19, 0x28, 0x44, 0x93, 0xae, 0x12, 0xae, 0xd5, 0x1d, 0xa7, 0x71, 0xe5, 0xa5, 0xea, 0xa5, 0xbf, 0xee, 0x90, 0x4e, 0x90, 0xea, 0xa9, 0x1, 0xf7, 0xa9, 0xb0, 0xae, 0x5c, 0xfa, 0x82, 0xbf, 0xe4, 0x71, 0x8e, 0x82, 0x75, 0x29, 0x64, 0x18, 0x23, 0xd7, 0x5e, 0xc1, 0xea, 0x2d, 0xeb, 0x6d, 0x63, 0x94, 0x78, 0x33, 0x91, 0xda, 0xcf, 0x99, 0xd6, 0x18, disabled: true - label: "Save TH2s Fabric ID as FabricID2" @@ -81,6 +97,8 @@ tests: - label: "From TH1 read the CurrentFabricIndex" PICS: OPCREDS.S.A0005 verification: | + Verify in TH Log + ./chip-tool operationalcredentials read current-fabric-index 1 0 CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0005 DataVersion: 2445178920 @@ -94,76 +112,75 @@ tests: verification: | ./chip-tool operationalcredentials read nocs 1 0 - [1655299445.254793][5931:5936] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0000 DataVersion: 4147267487 - [1655299445.254913][5931:5936] CHIP:TOO: NOCs: 2 entries - [1655299445.255132][5931:5936] CHIP:TOO: [1]: { - [1655299445.255205][5931:5936] CHIP:TOO: Noc: 1530010101240201370324130118260480228127260580254D3A37062415012411011824070124080130094104AFB3D89A1C315C54CFE144DE253BB8A1A83D3C52A44BEDC3D1AD454896CE8FC7AD8AC27404EC722D687A662F93B1E9A248994651F31EC8E7942FB61C37D3B603370A350128011824020136030402040118300414B1646E93EE66D610D7879C66DBD8042A234FC83C3005146E9A1B56B4C52989586C7D08F537F57339002A4518300B407B02D3715DF454F47468372FF25ADFB67DCDF626AD027E3D792B48FE7FF28BFD4702B7ABEFBF08FD955A88B0F28426EED604739B57ADF924C26D4C083584C31F18 - [1655299445.255278][5931:5936] CHIP:TOO: Icac: 1530010100240201370324140018260480228127260580254D3A37062413011824070124080130094104D2C6C54633ABA5B0B8832FF338BFC8A3D8BCFEE7F063E0B88D258F9F6A849F9CC51E1750A8AB33F09D1119C79DB11BE2FCD50DF1F4442A2A05E1AF03657549A1370A35012901182402603004146E9A1B56B4C52989586C7D08F537F57339002A45300514FB950B8DF95F7A2AB74273D07E32FFDC9DF2F04A18300B40CD808C114A4FEF84430733EC98BE8E04401B8BBCE34F1996F856774ECB1E30DF6C49F49E0701F1E8687C47AE80138C38AB886C7FFBF289E4E56B78C31A8DABE818 - [1655299445.255330][5931:5936] CHIP:TOO: FabricIndex: 1 + Verify in TH Log + + [1657693116.110511][15039:15044] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0000 DataVersion: 908345149 + [1657693116.110594][15039:15044] CHIP:TOO: NOCs: 1 entries + [1657693116.110673][15039:15044] CHIP:TOO: [1]: { + [1657693116.110713][15039:15044] CHIP:TOO: Noc: 1530010101240201370324130118260480228127260580254D3A370624150124110118240701240801300941041DEA2CF348149F1ABFC0E6F947059BB63B30C5A62E14D29482D1265D50E42B55B696D0E9FA32BA0960E6905BE93A89A2F4DE588E3C2C0B9A29FF8128D09BE439370A350128011824020136030402040118300414843A27FFF36C842402A9590F0975961A6A5F713B300514615818FAF5095121A4B8B0C567B0F287A4AB057B18300B406A23EC6EE12300976F0ECBB75882F37508F47DBEB01556771C229356C42ADC70D9E6B5E9F6E08D57CB05266A55348716D9F15B536791FBB62E59A7F46568770818 + [1657693116.110767][15039:15044] CHIP:TOO: Icac: 1530010100240201370324140018260480228127260580254D3A3706241301182407012408013009410460C513458F1533F64B4F54EC65A154A9A65F4469880639AD504543DFCB551AC9E31BBF2A5E9056C1175F0A23297E08C1EDA898F256BF27CD5F5122F54DDBADBE370A3501290118240260300414615818FAF5095121A4B8B0C567B0F287A4AB057B300514B8434A311CA3AC9A0C9D5C1306A1F0F315ADF89518300B406EE87626E97912080B84988A7777C272B8CF2B3F43C3648E594031C0E40CD0BAEEF565840EF95AF1B4F8864EE9370AC07D71B4229B5B86100BC31865A606CE1E18 + [1657693116.110810][15039:15044] CHIP:TOO: FabricIndex: 1 + [1657693116.110834][15039:15044] CHIP:TOO: } disabled: true - label: "From TH1 read the entire NOCs List attribute with a fabric-filtered read" verification: | - ./chip-tool operationalcredentials read nocs 1 0 --fabric-filtered 0 - - [1655299445.254793][5931:5936] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0000 DataVersion: 4147267487 - [1655299445.254913][5931:5936] CHIP:TOO: NOCs: 2 entries - [1655299445.255132][5931:5936] CHIP:TOO: [1]: { - [1655299445.255205][5931:5936] CHIP:TOO: Noc: 1530010101240201370324130118260480228127260580254D3A37062415012411011824070124080130094104AFB3D89A1C315C54CFE144DE253BB8A1A83D3C52A44BEDC3D1AD454896CE8FC7AD8AC27404EC722D687A662F93B1E9A248994651F31EC8E7942FB61C37D3B603370A350128011824020136030402040118300414B1646E93EE66D610D7879C66DBD8042A234FC83C3005146E9A1B56B4C52989586C7D08F537F57339002A4518300B407B02D3715DF454F47468372FF25ADFB67DCDF626AD027E3D792B48FE7FF28BFD4702B7ABEFBF08FD955A88B0F28426EED604739B57ADF924C26D4C083584C31F18 - [1655299445.255278][5931:5936] CHIP:TOO: Icac: 1530010100240201370324140018260480228127260580254D3A37062413011824070124080130094104D2C6C54633ABA5B0B8832FF338BFC8A3D8BCFEE7F063E0B88D258F9F6A849F9CC51E1750A8AB33F09D1119C79DB11BE2FCD50DF1F4442A2A05E1AF03657549A1370A35012901182402603004146E9A1B56B4C52989586C7D08F537F57339002A45300514FB950B8DF95F7A2AB74273D07E32FFDC9DF2F04A18300B40CD808C114A4FEF84430733EC98BE8E04401B8BBCE34F1996F856774ECB1E30DF6C49F49E0701F1E8687C47AE80138C38AB886C7FFBF289E4E56B78C31A8DABE818 - [1655299445.255330][5931:5936] CHIP:TOO: FabricIndex: 1 - [1655299445.255371][5931:5936] CHIP:TOO: } - [1655299445.255421][5931:5936] CHIP:TOO: [2]: { - [1655299445.255466][5931:5936] CHIP:TOO: Struct truncated due to invalid value for 'Noc' + ./chip-tool operationalcredentials read nocs 1 0 --fabric-filtered 1 + + Verify in TH Log + + [1657693140.680045][15047:15052] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0000 DataVersion: 908345149 + [1657693140.680128][15047:15052] CHIP:TOO: NOCs: 1 entries + [1657693140.680206][15047:15052] CHIP:TOO: [1]: { + [1657693140.680245][15047:15052] CHIP:TOO: Noc: 1530010101240201370324130118260480228127260580254D3A370624150124110118240701240801300941041DEA2CF348149F1ABFC0E6F947059BB63B30C5A62E14D29482D1265D50E42B55B696D0E9FA32BA0960E6905BE93A89A2F4DE588E3C2C0B9A29FF8128D09BE439370A350128011824020136030402040118300414843A27FFF36C842402A9590F0975961A6A5F713B300514615818FAF5095121A4B8B0C567B0F287A4AB057B18300B406A23EC6EE12300976F0ECBB75882F37508F47DBEB01556771C229356C42ADC70D9E6B5E9F6E08D57CB05266A55348716D9F15B536791FBB62E59A7F46568770818 + [1657693140.680309][15047:15052] CHIP:TOO: Icac: 1530010100240201370324140018260480228127260580254D3A3706241301182407012408013009410460C513458F1533F64B4F54EC65A154A9A65F4469880639AD504543DFCB551AC9E31BBF2A5E9056C1175F0A23297E08C1EDA898F256BF27CD5F5122F54DDBADBE370A3501290118240260300414615818FAF5095121A4B8B0C567B0F287A4AB057B300514B8434A311CA3AC9A0C9D5C1306A1F0F315ADF89518300B406EE87626E97912080B84988A7777C272B8CF2B3F43C3648E594031C0E40CD0BAEEF565840EF95AF1B4F8864EE9370AC07D71B4229B5B86100BC31865A606CE1E18 + [1657693140.680341][15047:15052] CHIP:TOO: FabricIndex: 1 + [1657693140.680366][15047:15052] CHIP:TOO: } disabled: true - label: "Read NOCStruct values from entry at index 0" verification: | - ./chip-tool operationalcredentials read nocs 1 0 --fabric-filtered 0 - - [1655299445.254793][5931:5936] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0000 DataVersion: 4147267487 - [1655299445.254913][5931:5936] CHIP:TOO: NOCs: 2 entries - [1655299445.255132][5931:5936] CHIP:TOO: [1]: { - [1655299445.255205][5931:5936] CHIP:TOO: Noc: 1530010101240201370324130118260480228127260580254D3A37062415012411011824070124080130094104AFB3D89A1C315C54CFE144DE253BB8A1A83D3C52A44BEDC3D1AD454896CE8FC7AD8AC27404EC722D687A662F93B1E9A248994651F31EC8E7942FB61C37D3B603370A350128011824020136030402040118300414B1646E93EE66D610D7879C66DBD8042A234FC83C3005146E9A1B56B4C52989586C7D08F537F57339002A4518300B407B02D3715DF454F47468372FF25ADFB67DCDF626AD027E3D792B48FE7FF28BFD4702B7ABEFBF08FD955A88B0F28426EED604739B57ADF924C26D4C083584C31F18 - [1655299445.255278][5931:5936] CHIP:TOO: Icac: 1530010100240201370324140018260480228127260580254D3A37062413011824070124080130094104D2C6C54633ABA5B0B8832FF338BFC8A3D8BCFEE7F063E0B88D258F9F6A849F9CC51E1750A8AB33F09D1119C79DB11BE2FCD50DF1F4442A2A05E1AF03657549A1370A35012901182402603004146E9A1B56B4C52989586C7D08F537F57339002A45300514FB950B8DF95F7A2AB74273D07E32FFDC9DF2F04A18300B40CD808C114A4FEF84430733EC98BE8E04401B8BBCE34F1996F856774ECB1E30DF6C49F49E0701F1E8687C47AE80138C38AB886C7FFBF289E4E56B78C31A8DABE818 - [1655299445.255330][5931:5936] CHIP:TOO: FabricIndex: 1 - [1655299445.255371][5931:5936] CHIP:TOO: } - [1655299445.255421][5931:5936] CHIP:TOO: [2]: { - [1655299445.255466][5931:5936] CHIP:TOO: Struct truncated due to invalid value for 'Noc' + ./chip-tool operationalcredentials read nocs 1 0 --fabric-filtered 1 + + Verify in TH Log + + [1657693140.680045][15047:15052] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0000 DataVersion: 908345149 + [1657693140.680128][15047:15052] CHIP:TOO: NOCs: 1 entries + [1657693140.680206][15047:15052] CHIP:TOO: [1]: { + [1657693140.680245][15047:15052] CHIP:TOO: Noc: 1530010101240201370324130118260480228127260580254D3A370624150124110118240701240801300941041DEA2CF348149F1ABFC0E6F947059BB63B30C5A62E14D29482D1265D50E42B55B696D0E9FA32BA0960E6905BE93A89A2F4DE588E3C2C0B9A29FF8128D09BE439370A350128011824020136030402040118300414843A27FFF36C842402A9590F0975961A6A5F713B300514615818FAF5095121A4B8B0C567B0F287A4AB057B18300B406A23EC6EE12300976F0ECBB75882F37508F47DBEB01556771C229356C42ADC70D9E6B5E9F6E08D57CB05266A55348716D9F15B536791FBB62E59A7F46568770818 + [1657693140.680309][15047:15052] CHIP:TOO: Icac: 1530010100240201370324140018260480228127260580254D3A3706241301182407012408013009410460C513458F1533F64B4F54EC65A154A9A65F4469880639AD504543DFCB551AC9E31BBF2A5E9056C1175F0A23297E08C1EDA898F256BF27CD5F5122F54DDBADBE370A3501290118240260300414615818FAF5095121A4B8B0C567B0F287A4AB057B300514B8434A311CA3AC9A0C9D5C1306A1F0F315ADF89518300B406EE87626E97912080B84988A7777C272B8CF2B3F43C3648E594031C0E40CD0BAEEF565840EF95AF1B4F8864EE9370AC07D71B4229B5B86100BC31865A606CE1E18 + [1657693140.680341][15047:15052] CHIP:TOO: FabricIndex: 1 + [1657693140.680366][15047:15052] CHIP:TOO: } disabled: true - label: "Read the Fabrics List and get the FabricDescriptorStruct for the entry where FabricIndex = FabricIndex_TH1 from DUT" verification: | - ./chip-tool operationalcredentials read fabrics 1 0 --fabric-filtered 0 - - [1651578337.008417][4553:4558] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0001 DataVersion: 2998576972 - [1651578337.008501][4553:4558] CHIP:TOO: Fabrics: 1 entries - [1651578337.008588][4553:4558] CHIP:TOO: [1]: { - [1651578337.008787][4553:4558] CHIP:TOO: RootPublicKey: 04807D3A8F50C29C29D10352FEC75DC2E9965E86A64FEBDCF4CF671C8A77A3EBA96AC62B4615BA857297AE9D22656BC1076457E2CC46C5E864F6D03B8AC811F938 - [1651578337.008826][4553:4558] CHIP:TOO: VendorId: 65521 - [1651578337.008849][4553:4558] CHIP:TOO: FabricId: 1 - [1651578337.008873][4553:4558] CHIP:TOO: NodeId: 1 - [1651578337.008896][4553:4558] CHIP:TOO: Label: - [1651578337.008918][4553:4558] CHIP:TOO: FabricIndex: 1 - [1651578337.008941][4553:4558] CHIP:TOO: } - [1655389763.748843][37590:37595] CHIP:TOO: [2]: { - [1655389763.748889][37590:37595] CHIP:TOO: RootPublicKey: 04EF9749809496291882AD80039B1E4B08B9405328C5DB1098E40E33D0C15E2B26A851BEC5557C3B65AEE75AB00B00F327978C53DF567F73C63AA6CE2EFCAD8BD5 - [1655389763.748929][37590:37595] CHIP:TOO: VendorId: 65521 - [1655389763.748966][37590:37595] CHIP:TOO: FabricId: 1 - [1655389763.749002][37590:37595] CHIP:TOO: NodeId: 2 - [1655389763.749038][37590:37595] CHIP:TOO: Label: - [1655389763.749074][37590:37595] CHIP:TOO: FabricIndex: 2 - [1655389763.749109][37590:37595] CHIP:TOO: } + ./chip-tool operationalcredentials read fabrics 1 0 + + Verify in TH Log + + [1657693240.722099][15129:15134] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0001 DataVersion: 908345149 + [1657693240.722200][15129:15134] CHIP:TOO: Fabrics: 1 entries + [1657693240.722273][15129:15134] CHIP:TOO: [1]: { + [1657693240.722316][15129:15134] CHIP:TOO: RootPublicKey: 04038A93AE14428E9179C2ACC3BA1522D4D19BC20A3203BE97FEC0BE47EBC6CCCD4AD5F7B1CE0A02F85FF1B14216FAFCA034B3B312C16B0517267804D5B03582EF + [1657693240.722368][15129:15134] CHIP:TOO: VendorId: 65521 + [1657693240.722401][15129:15134] CHIP:TOO: FabricId: 1 + [1657693240.722431][15129:15134] CHIP:TOO: NodeId: 1 + [1657693240.722462][15129:15134] CHIP:TOO: Label: + [1657693240.722492][15129:15134] CHIP:TOO: FabricIndex: 1 + [1657693240.722522][15129:15134] CHIP:TOO: } disabled: true - label: "From TH2 read the CurrentFabricIndex" verification: | ./chip-tool operationalcredentials read current-fabric-index 2 0 + Verify in TH Log + CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0005 DataVersion: 2445178920 CHIP:TOO: CurrentFabricIndex: 2 CHIP:EM: Sending Standalone Ack for MessageCounter:8900122 on exchange 26519i @@ -175,45 +192,45 @@ tests: verification: | ./chip-tool operationalcredentials read nocs 2 0 - [1656324963.760394][21807:21812] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0000 DataVersion: 3039700475 - [1656324963.760560][21807:21812] CHIP:TOO: NOCs: 1 entries - [1656324963.760654][21807:21812] CHIP:TOO: [1]: { - [1656324963.760759][21807:21812] CHIP:TOO: Noc: 1530010101240201370324130118260480228127260580254D3A3706241501241102182407012408013009410475B895026B7B89BEB4ECA4E64554CCFD21DD14248CE8F1AC0ACD0CD9814517E4C097F93AA586BA4227B2CAB4D2EA2E867766838518CC0C95423918920F817F6D370A35012801182402013603040204011830041477FBC157EACF9E2DB7751A50355B8D25E5FDDE53300514A9BC6AE3BFDE2A64D6EC22068845A23E90BEBC6318300B40E51A2205FD8BC6777F6C20E211E34DBC0E87771E64A88430D5FB7E1816BC730D3C11B3E79E049EFE1D05B764D6CF45EB4D09CFF22C1FB1F400D3CEA708357EE118 - [1656324963.760890][21807:21812] CHIP:TOO: Icac: 1530010100240201370324140018260480228127260580254D3A3706241301182407012408013009410434A4B1DCA46AA324092F3CAE88AEB73046B42AE07A4FD6118F789415CB50BB59420E5DA6A36703F31F839AC0E2140A82CE0C491C170AA571A242D5C2D8353A35370A3501290118240260300414A9BC6AE3BFDE2A64D6EC22068845A23E90BEBC63300514A4E0D107CD79928F1F158CDF66B9D7F7F348543F18300B402CBFBC2E852FC61B8E0963D194ED6C7CB24E64147A2F10CFD64393A563A2540F6F01AA1DFFCD57C2FA9CB84AF72B2DF50EEBAC6FD9599EC3799254DE50B7DBBE18 - [1656324963.760934][21807:21812] CHIP:TOO: FabricIndex: 2 + Verify in TH Log + + [1657693277.401266][93213:93218] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0000 DataVersion: 908345149 + [1657693277.401332][93213:93218] CHIP:TOO: NOCs: 1 entries + [1657693277.401428][93213:93218] CHIP:TOO: [1]: { + [1657693277.401470][93213:93218] CHIP:TOO: Noc: 1530010101240201370324130118260480228127260580254D3A37062415012411021824070124080130094104C9C44E8CBEEDD49C8F723D775A07AD1DABE279755B5FFD34A773ED961A88AE374CDE6399D50ECD111BD89ACB6E366A1FB889C8618EF10A19B1FBB99B5B126669370A35012801182402013603040204011830041447723F5BAF16944C3E459226C92F754889949B3D300514A1E8FF873BD28C5AB689C037C3196199F62350B618300B404F799407183C59B5CCF2A1A42CA440DAEA709266889278786AA273831396160E72CC9077C068C70DB05F6F3E7129E72939C878D3A32F5CA062E0C7BA48910AD618 + [1657693277.401534][93213:93218] CHIP:TOO: Icac: 1530010100240201370324140018260480228127260580254D3A37062413011824070124080130094104B40CDD1623FEE0E5D8FA1A2D9DF613FFE20C5BB9F560252C06135C2967CEEEA07C4B090F6C9B0E4FE9A5A40B17A41B6AAEC451FCED4BD4192C7AE558A4754820370A3501290118240260300414A1E8FF873BD28C5AB689C037C3196199F62350B630051449FAF808147AEB16C5056D50BE51982E0ACF54AD18300B4034A41492EB949BB919284493AE12AED51DA771E5A5EAA5BFEE904E90EAA901F7A9B0AE5CFA82BFE4718E827529641823D75EC1EA2DEB6D6394783391DACF99D618 + [1657693277.401566][93213:93218] CHIP:TOO: FabricIndex: 2 + [1657693277.401581][93213:93218] CHIP:TOO: } disabled: true - label: "From TH2 read the entire NOCs List attribute with a fabric-filtered read" verification: | - ./chip-tool operationalcredentials read nocs 2 0 --fabric-filtered 0 - - [1656325020.350589][21816:21821] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0000 DataVersion: 3039700475 - [1656325020.350724][21816:21821] CHIP:TOO: NOCs: 2 entries - [1656325020.350797][21816:21821] CHIP:TOO: [1]: { - [1656325020.350839][21816:21821] CHIP:TOO: Noc: - [1656325020.350876][21816:21821] CHIP:TOO: Icac: null - [1656325020.350915][21816:21821] CHIP:TOO: FabricIndex: 1 - [1656325020.350952][21816:21821] CHIP:TOO: } - [1656325020.351006][21816:21821] CHIP:TOO: [2]: { - [1656325020.351064][21816:21821] CHIP:TOO: Noc: 1530010101240201370324130118260480228127260580254D3A3706241501241102182407012408013009410475B895026B7B89BEB4ECA4E64554CCFD21DD14248CE8F1AC0ACD0CD9814517E4C097F93AA586BA4227B2CAB4D2EA2E867766838518CC0C95423918920F817F6D370A35012801182402013603040204011830041477FBC157EACF9E2DB7751A50355B8D25E5FDDE53300514A9BC6AE3BFDE2A64D6EC22068845A23E90BEBC6318300B40E51A2205FD8BC6777F6C20E211E34DBC0E87771E64A88430D5FB7E1816BC730D3C11B3E79E049EFE1D05B764D6CF45EB4D09CFF22C1FB1F400D3CEA708357EE118 - [1656325020.351129][21816:21821] CHIP:TOO: Icac: 1530010100240201370324140018260480228127260580254D3A3706241301182407012408013009410434A4B1DCA46AA324092F3CAE88AEB73046B42AE07A4FD6118F789415CB50BB59420E5DA6A36703F31F839AC0E2140A82CE0C491C170AA571A242D5C2D8353A35370A3501290118240260300414A9BC6AE3BFDE2A64D6EC22068845A23E90BEBC63300514A4E0D107CD79928F1F158CDF66B9D7F7F348543F18300B402CBFBC2E852FC61B8E0963D194ED6C7CB24E64147A2F10CFD64393A563A2540F6F01AA1DFFCD57C2FA9CB84AF72B2DF50EEBAC6FD9599EC3799254DE50B7DBBE18 - [1656325020.351174][21816:21821] CHIP:TOO: FabricIndex: 2 - [1656325020.351211][21816:21821] CHIP:TOO: } + ./chip-tool operationalcredentials read nocs 2 0 --fabric-filtered 1 + + Verify in TH Log + + [1657693320.664710][93225:93230] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0000 DataVersion: 908345149 + [1657693320.664809][93225:93230] CHIP:TOO: NOCs: 1 entries + [1657693320.664889][93225:93230] CHIP:TOO: [1]: { + [1657693320.664942][93225:93230] CHIP:TOO: Noc: 1530010101240201370324130118260480228127260580254D3A37062415012411021824070124080130094104C9C44E8CBEEDD49C8F723D775A07AD1DABE279755B5FFD34A773ED961A88AE374CDE6399D50ECD111BD89ACB6E366A1FB889C8618EF10A19B1FBB99B5B126669370A35012801182402013603040204011830041447723F5BAF16944C3E459226C92F754889949B3D300514A1E8FF873BD28C5AB689C037C3196199F62350B618300B404F799407183C59B5CCF2A1A42CA440DAEA709266889278786AA273831396160E72CC9077C068C70DB05F6F3E7129E72939C878D3A32F5CA062E0C7BA48910AD618 + [1657693320.665017][93225:93230] CHIP:TOO: Icac: 1530010100240201370324140018260480228127260580254D3A37062413011824070124080130094104B40CDD1623FEE0E5D8FA1A2D9DF613FFE20C5BB9F560252C06135C2967CEEEA07C4B090F6C9B0E4FE9A5A40B17A41B6AAEC451FCED4BD4192C7AE558A4754820370A3501290118240260300414A1E8FF873BD28C5AB689C037C3196199F62350B630051449FAF808147AEB16C5056D50BE51982E0ACF54AD18300B4034A41492EB949BB919284493AE12AED51DA771E5A5EAA5BFEE904E90EAA901F7A9B0AE5CFA82BFE4718E827529641823D75EC1EA2DEB6D6394783391DACF99D618 + [1657693320.665057][93225:93230] CHIP:TOO: FabricIndex: 2 + [1657693320.665079][93225:93230] CHIP:TOO: } disabled: true - label: "Read NOCStruct values from entry at index 1" verification: | - ./chip-tool operationalcredentials read nocs 1 0 --fabric-filtered 0 - - [1655299445.254793][5931:5936] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0000 DataVersion: 4147267487 - [1655299445.254913][5931:5936] CHIP:TOO: NOCs: 2 entries - [1655299445.255132][5931:5936] CHIP:TOO: [1]: { - [1655299445.255205][5931:5936] CHIP:TOO: Noc: 1530010101240201370324130118260480228127260580254D3A37062415012411011824070124080130094104AFB3D89A1C315C54CFE144DE253BB8A1A83D3C52A44BEDC3D1AD454896CE8FC7AD8AC27404EC722D687A662F93B1E9A248994651F31EC8E7942FB61C37D3B603370A350128011824020136030402040118300414B1646E93EE66D610D7879C66DBD8042A234FC83C3005146E9A1B56B4C52989586C7D08F537F57339002A4518300B407B02D3715DF454F47468372FF25ADFB67DCDF626AD027E3D792B48FE7FF28BFD4702B7ABEFBF08FD955A88B0F28426EED604739B57ADF924C26D4C083584C31F18 - [1655299445.255278][5931:5936] CHIP:TOO: Icac: 1530010100240201370324140018260480228127260580254D3A37062413011824070124080130094104D2C6C54633ABA5B0B8832FF338BFC8A3D8BCFEE7F063E0B88D258F9F6A849F9CC51E1750A8AB33F09D1119C79DB11BE2FCD50DF1F4442A2A05E1AF03657549A1370A35012901182402603004146E9A1B56B4C52989586C7D08F537F57339002A45300514FB950B8DF95F7A2AB74273D07E32FFDC9DF2F04A18300B40CD808C114A4FEF84430733EC98BE8E04401B8BBCE34F1996F856774ECB1E30DF6C49F49E0701F1E8687C47AE80138C38AB886C7FFBF289E4E56B78C31A8DABE818 - [1655299445.255330][5931:5936] CHIP:TOO: FabricIndex: 1 - [1655299445.255371][5931:5936] CHIP:TOO: } - [1655299445.255421][5931:5936] CHIP:TOO: [2]: { - [1655299445.255466][5931:5936] CHIP:TOO: Struct truncated due to invalid value for 'Noc' + ./chip-tool operationalcredentials read nocs 2 0 + + Verify in TH Log + + [1657693277.401266][93213:93218] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0000 DataVersion: 908345149 + [1657693277.401332][93213:93218] CHIP:TOO: NOCs: 1 entries + [1657693277.401428][93213:93218] CHIP:TOO: [1]: { + [1657693277.401470][93213:93218] CHIP:TOO: Noc: 1530010101240201370324130118260480228127260580254D3A37062415012411021824070124080130094104C9C44E8CBEEDD49C8F723D775A07AD1DABE279755B5FFD34A773ED961A88AE374CDE6399D50ECD111BD89ACB6E366A1FB889C8618EF10A19B1FBB99B5B126669370A35012801182402013603040204011830041447723F5BAF16944C3E459226C92F754889949B3D300514A1E8FF873BD28C5AB689C037C3196199F62350B618300B404F799407183C59B5CCF2A1A42CA440DAEA709266889278786AA273831396160E72CC9077C068C70DB05F6F3E7129E72939C878D3A32F5CA062E0C7BA48910AD618 + [1657693277.401534][93213:93218] CHIP:TOO: Icac: 1530010100240201370324140018260480228127260580254D3A37062413011824070124080130094104B40CDD1623FEE0E5D8FA1A2D9DF613FFE20C5BB9F560252C06135C2967CEEEA07C4B090F6C9B0E4FE9A5A40B17A41B6AAEC451FCED4BD4192C7AE558A4754820370A3501290118240260300414A1E8FF873BD28C5AB689C037C3196199F62350B630051449FAF808147AEB16C5056D50BE51982E0ACF54AD18300B4034A41492EB949BB919284493AE12AED51DA771E5A5EAA5BFEE904E90EAA901F7A9B0AE5CFA82BFE4718E827529641823D75EC1EA2DEB6D6394783391DACF99D618 + [1657693277.401566][93213:93218] CHIP:TOO: FabricIndex: 2 + [1657693277.401581][93213:93218] CHIP:TOO: } 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 b903f58872c064..1364c831d5edad 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 @@ -1,496 +1,329 @@ -# Copyright (c) 2021 Project CHIP Authors -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default - -name: 11.3.3. [TC-OPCREDS-3.3] Attribute-NOCs, Commands [DUT-Client] - -config: - nodeId: 0x12344321 - cluster: "Basic" - endpoint: 0 - -tests: - - label: - "Factory Reset DUT (to ensure NOC list is empty at the beginning of - the following steps)" - verification: | - On both DUT and TH side - sudo rm -rf /tmp/chip_* - disabled: true - - - label: "Start the commissioning process of TH with DUT" - verification: | - ./chip-tool pairing ble-wifi 1 GRLPrivate_EXT matter123 20202021 3840 - - TH END: - [1641381202.376419][5628:5633] CHIP:CTL: Received success response 0x3df8 - - sudo ./all-clusters-app --wifi - - DUT END: - [1641381202.306840][4431:4431] CHIP:DL: NVS set: chip-config/regulatory-location = 0 (0x0) - disabled: true - - - label: - "Extract the CSRResponse values for future use from TH NOCSRElements - - which contains the Node Operational PublicKey from CSR - AttestationSignature" - verification: | - Verify in TH log during commissioning - - [1655374218.471604][35023:35028] CHIP:CTL: Sent CSR request, waiting for the CSR - [1655374218.471657][35023:35028] CHIP:DMG: ICR moving to [AwaitingDe] - [1655374218.545295][35023:35028] CHIP:DL: HandlePlatformSpecificBLEEvent 16387 - [1655374218.593501][35023:35026] CHIP:DL: Indication received, conn = 0xffff8003c0c0 - [1655374218.593742][35023:35028] CHIP:DL: HandlePlatformSpecificBLEEvent 16389 - [1655374218.692844][35023:35026] CHIP:DL: Indication received, conn = 0xffff8003c0c0 - [1655374218.693039][35023:35028] CHIP:DL: HandlePlatformSpecificBLEEvent 16389 - [1655374218.694026][35023:35028] CHIP:DMG: << from BLE | 224958146 | [Interaction Model (1) / InvokeCommandResponse (0x09) / Session = 19710 / Exchange = 1303] - [1655374218.694113][35023:35028] CHIP:DMG: Header Flags = - [1655374218.694163][35023:35028] CHIP:DMG: { - [1655374218.694246][35023:35028] CHIP:DMG: } - [1655374218.694293][35023:35028] CHIP:DMG: - [1655374218.694372][35023:35028] CHIP:DMG: Encrypted Payload (373 bytes) = - [1655374218.694421][35023:35028] CHIP:DMG: { - [1655374218.694487][35023:35028] CHIP:DMG: data = 00fe4c00c296680dc333744c19804d17b3a5fc0ede316f0c75a0e974b053bbd1492726afd9b758ff45d1d43444877d668a53f61538a1e04240741fd7b44434e81f4289697a6587878c8f0d33b5248c8beaeb64852b59d8196f821a88a64979ca14664f74acfe864d4dcbd8543cbe70d88e972177907a1a753fe0eb16854eadfa25911c05ffedada8c1c89aa63719aaf9e22b1664e3f4e007d1b2b3d64d4319cda0ea94ef4bd7dfee916bf6ebbe5284a0dcee6f61f9c9dbbe154c0bc1530162b90ff34475cf9c7d6462643bd5ce8176b377a9875f1f65e8791ef81243d9d4976258651925578d6ee9aedd9f9cba26f685d41268d9c9907687ac42c545488a0d10a2717c7b323b5a1574a0ecf79ba9677a98cfb985c69feb8dbd18f7eb26b4a058da766fde496d602c78f19be19a87dd37f003ebe077aca48c4d572d6bf6a2d3e7bb459e9855e4ad4cafbf863670ed5874cafe73c6c677c7890e4daf6337fec6661b1b73aca7ec43a0555689be4459e8724a7747b3e5 - [1655374218.694551][35023:35028] CHIP:DMG: buffer_ptr = 281472627984864 - [1655374218.694595][35023:35028] CHIP:DMG: } - [1655374218.694637][35023:35028] CHIP:DMG: - [1655374218.694869][35023:35028] CHIP:DMG: NOCSR Elements = - [1655374218.694922][35023:35028] CHIP:DMG: { - [1655374218.695009][35023:35028] CHIP:DMG: CSR (203) = 3081C83070020100300E310C300A060355040A0C034353523059301306072A8648CE3D020106082A8648CE3D03010703420004FD1662E0C1F44C5BD8A284452ED17C631CA88697CBF396EB765397315ED248729BFC7DE464404B1FA34B2DD81714E2484B8E908121BB95DFDA4493D5CDDA797AA000300A06082A8648CE3D0403020348003045022100832718B8679DB2C9A26579F08D930F7DA747F6F23EE2DD11777FBF1191909FD3022073E039F63AEA4C1BF812AE65221CB09203FF1BD382872FB37478C2C4045FD8B8 - [1655374218.695086][35023:35028] CHIP:DMG: CSRNonce (32) = 79964F34E68A97E41DBDFE7888583183535EDC3A185AF99941BDA4C5A65FDA39 - [1655374218.695133][35023:35028] CHIP:DMG: } - [1655374218.695176][35023:35028] CHIP:DMG: - [1655374218.695220][35023:35028] CHIP:DMG: CSR (203) = - [1655374218.695310][35023:35028] CHIP:DMG: { - -----BEGIN CERTIFICATE REQUEST----- - MIHIMHACAQAwDjEMMAoGA1UECgwDQ1NSMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcD - QgAE/RZi4MH0TFvYooRFLtF8YxyohpfL85brdlOXMV7SSHKb/H3kZEBLH6NLLdgX - FOJIS46QgSG7ld/aRJPVzdp5eqAAMAoGCCqGSM49BAMCA0gAMEUCIQCDJxi4Z52y - yaJlefCNkw99p0f28j7i3RF3f78RkZCf0wIgc+A59jrqTBv4Eq5lIhywkgP/G9OC - hy+zdHjCxARf2Lg= - -----END CERTIFICATE REQUEST----- - [1655374218.695464][35023:35028] CHIP:DMG: } - [1655374218.695508][35023:35028] CHIP:DMG: - [1655374218.695583][35023:35028] CHIP:DMG: - [1655374218.695676][35023:35028] CHIP:DMG: Additional Fields = - [1655374218.695725][35023:35028] CHIP:DMG: { - [1655374218.695775][35023:35028] CHIP:DMG: peer_address = BLE - [1655374218.695841][35023:35028] CHIP:DMG: } - [1655374218.695884][35023:35028] CHIP:DMG: - [1655374218.695962][35023:35028] CHIP:EM: Received message of type 0x9 with protocolId (0, 1) and MessageCounter:224958146 on exchange 1303i - [1655374218.696018][35023:35028] CHIP:EM: Found matching exchange: 1303i, Delegate: 0xffff8003e5b0 - [1655374218.696118][35023:35028] CHIP:DMG: ICR moving to [ResponseRe] - [1655374218.696217][35023:35028] CHIP:DMG: InvokeResponseMessage = - [1655374218.696269][35023:35028] CHIP:DMG: { - [1655374218.696319][35023:35028] CHIP:DMG: suppressResponse = false, - [1655374218.696389][35023:35028] CHIP:DMG: InvokeResponseIBs = - [1655374218.696457][35023:35028] CHIP:DMG: [ - [1655374218.696525][35023:35028] CHIP:DMG: InvokeResponseIB = - [1655374218.696617][35023:35028] CHIP:DMG: { - [1655374218.696673][35023:35028] CHIP:DMG: CommandDataIB = - [1655374218.696757][35023:35028] CHIP:DMG: { - [1655374218.696819][35023:35028] CHIP:DMG: CommandPathIB = - [1655374218.696903][35023:35028] CHIP:DMG: { - [1655374218.696975][35023:35028] CHIP:DMG: EndpointId = 0x0, - [1655374218.697072][35023:35028] CHIP:DMG: ClusterId = 0x3e, - [1655374218.697164][35023:35028] CHIP:DMG: CommandId = 0x5, - [1655374218.697235][35023:35028] CHIP:DMG: }, - [1655374218.697325][35023:35028] CHIP:DMG: - [1655374218.697412][35023:35028] CHIP:DMG: CommandFields = - [1655374218.697483][35023:35028] CHIP:DMG: { - [1655374218.697576][35023:35028] CHIP:DMG: 0x0 = [ - [1655374218.697885][35023:35028] CHIP:DMG: 0x15, 0x30, 0x1, 0xcb, 0x30, 0x81, 0xc8, 0x30, 0x70, 0x2, 0x1, 0x0, 0x30, 0xe, 0x31, 0xc, 0x30, 0xa, 0x6, 0x3, 0x55, 0x4, 0xa, 0xc, 0x3, 0x43, 0x53, 0x52, 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, 0xfd, 0x16, 0x62, 0xe0, 0xc1, 0xf4, 0x4c, 0x5b, 0xd8, 0xa2, 0x84, 0x45, 0x2e, 0xd1, 0x7c, 0x63, 0x1c, 0xa8, 0x86, 0x97, 0xcb, 0xf3, 0x96, 0xeb, 0x76, 0x53, 0x97, 0x31, 0x5e, 0xd2, 0x48, 0x72, 0x9b, 0xfc, 0x7d, 0xe4, 0x64, 0x40, 0x4b, 0x1f, 0xa3, 0x4b, 0x2d, 0xd8, 0x17, 0x14, 0xe2, 0x48, 0x4b, 0x8e, 0x90, 0x81, 0x21, 0xbb, 0x95, 0xdf, 0xda, 0x44, 0x93, 0xd5, 0xcd, 0xda, 0x79, 0x7a, 0xa0, 0x0, 0x30, 0xa, 0x6, 0x8, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x4, 0x3, 0x2, 0x3, 0x48, 0x0, 0x30, 0x45, 0x2, 0x21, 0x0, 0x83, 0x27, 0x18, 0xb8, 0x67, 0x9d, 0xb2, 0xc9, 0xa2, 0x65, 0x79, 0xf0, 0x8d, 0x93, 0xf, 0x7d, 0xa7, 0x47, 0xf6, 0xf2, 0x3e, 0xe2, 0xdd, 0x11, 0x77, 0x7f, 0xbf, 0x11, 0x91, 0x90, 0x9f, 0xd3, 0x2, 0x20, 0x73, 0xe0, 0x39, 0xf6, 0x3a, 0xea, 0x4c, 0x1b, 0xf8, 0x12, 0xae, 0x65, 0x22, 0x1c, 0xb0, 0x92, 0x3, 0xff, 0x1b, 0xd3, 0x82, 0x87, 0x2f, 0xb3, 0x74, 0x78, 0xc2, 0xc4, 0x4, 0x5f, 0xd8, 0xb8, 0x30, 0x2, 0x20, 0x79, 0x96, 0x4f, 0x34, 0xe6, 0x8a, 0x97, 0xe4, 0x1d, 0xbd, 0xfe, 0x78, 0x88, 0x58, 0x31, 0x83, 0x53, 0x5e, 0xdc, 0x3a, 0x18, 0x5a, 0xf9, 0x99, 0x41, 0xbd, 0xa4, 0xc5, 0xa6, 0x5f, 0xda, 0x39, 0x18, - [1655374218.698054][35023:35028] CHIP:DMG: ] - [1655374218.698125][35023:35028] CHIP:DMG: 0x1 = [ - [1655374218.698256][35023:35028] CHIP:DMG: 0x46, 0xa1, 0x4d, 0x8b, 0xd2, 0xed, 0x49, 0x3c, 0xe, 0x45, 0xb9, 0xc7, 0x48, 0x14, 0x26, 0x63, 0x6d, 0xbd, 0x20, 0x93, 0x3d, 0x5, 0x14, 0xae, 0xa5, 0x3a, 0x28, 0x9e, 0xe4, 0xf8, 0x4d, 0x5c, 0x47, 0x7c, 0x10, 0xb9, 0x4e, 0xc8, 0x87, 0x49, 0xc0, 0xa, 0xc3, 0xb, 0x7c, 0xf5, 0xee, 0x7c, 0xfb, 0x8a, 0x7f, 0x3, 0x1f, 0xcc, 0xb5, 0xfa, 0x36, 0x65, 0xff, 0x33, 0x81, 0x7a, 0x1d, 0xbb, - [1655374218.698344][35023:35028] CHIP:DMG: ] - [1655374218.698412][35023:35028] CHIP:DMG: }, - [1655374218.698477][35023:35028] CHIP:DMG: }, - [1655374218.698549][35023:35028] CHIP:DMG: - [1655374218.698605][35023:35028] CHIP:DMG: }, - [1655374218.698675][35023:35028] CHIP:DMG: - [1655374218.698724][35023:35028] CHIP:DMG: ], - [1655374218.698788][35023:35028] CHIP:DMG: - [1655374218.698837][35023:35028] CHIP:DMG: InteractionModelRevision = 1 - [1655374218.698886][35023:35028] CHIP:DMG: }, - [1655374218.699011][35023:35028] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_003E Command=0x0000_0005 - [1655374218.699079][35023:35028] CHIP:CTL: Received certificate signing request from the device - [1655374218.699136][35023:35028] CHIP:CTL: Successfully finished commissioning step 'SendOpCertSigningRequest' - disabled: true - - - label: - "TH saves the following values as: NOCValue as nocvalue1 ICACValue as - icacvalue1 IpkValue as ipkvalue1 CaseAdminSubject as caseadmin1 - AdminVendorId as adminvendorid1" - verification: | - Not Verifiable - disabled: true - - - label: - "Extract the following FabricDescriptorStruct values from TH - RootPublicKey VendorID FabricID NodeID Label" - verification: | - "./chip-tool operationalcredentials read fabrics 1 0 --fabric-filtered 0 - - [1651572032.170920][3815:3820] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0001 DataVersion: 2018783041 - [1651572032.171031][3815:3820] CHIP:TOO: Fabrics: 2 entries - [1651572032.171179][3815:3820] CHIP:TOO: [1]: { - [1651572032.171223][3815:3820] CHIP:TOO: RootPublicKey: 0412894491026CDACAC117D232D252EF827691D378BCCC9E8E717E6C70B3D36E4C5430FDF26B783EC579506D3E748BABFBC6D400302C72CD5BD40B152AA303724B - [1651572032.171262][3815:3820] CHIP:TOO: VendorId: 65521 - [1651572032.171296][3815:3820] CHIP:TOO: FabricId: 1 - [1651572032.171328][3815:3820] CHIP:TOO: NodeId: 1 - [1651572032.171360][3815:3820] CHIP:TOO: Label: NodeOpeCredits1 - [1651572032.171393][3815:3820] CHIP:TOO: FabricIndex: 1 - [1651572032.171427][3815:3820] CHIP:TOO: } - disabled: true - - - label: "DUT sends UpdateNOC to TH" - PICS: OPCREDS.C.C07.Tx - verification: | - Verify in TH log - - [1655968444.113753][21387:21392] CHIP:CTL: Performing next commissioning step 'SendNOC' - [1655968444.113880][21387:21392] CHIP:DMG: ICR moving to [AddingComm] - [1655968444.113960][21387:21392] CHIP:DMG: ICR moving to [AddedComma] - [1655968444.114671][21387:21392] CHIP:IN: Prepared secure message 0xffff9afdc988 to 0xFFFFFFFB00000000 (0) of type 0x8 and protocolId (0, 1) on exchange 11677i with MessageCounter:162800417. - [1655968444.114769][21387:21392] CHIP:IN: Sending encrypted msg 0xffff9afdc988 with MessageCounter:162800417 to 0xFFFFFFFB00000000 (0) at monotonic time: 00000000059CF7B1 msec - [1655968444.115364][21387:21392] CHIP:DMG: >> to BLE | 162800417 | [Interaction Model (1) / InvokeCommandRequest (0x08) / Session = 52324 / Exchange = 11677] - [1655968444.115453][21387:21392] CHIP:DMG: Header Flags = - [1655968444.115507][21387:21392] CHIP:DMG: { - [1655968444.115591][21387:21392] CHIP:DMG: Exchange (0x01) = - [1655968444.115645][21387:21392] CHIP:DMG: { - [1655968444.115693][21387:21392] CHIP:DMG: Initiator = true - [1655968444.115746][21387:21392] CHIP:DMG: } - [1655968444.115813][21387:21392] CHIP:DMG: } - [1655968444.115866][21387:21392] CHIP:DMG: - [1655968444.115933][21387:21392] CHIP:DMG: Encrypted Payload (566 bytes) = - [1655968444.115987][21387:21392] CHIP:DMG: { - [1655968444.116040][21387:21392] CHIP:DMG: data = 0064cc002123b4099a74682c39ff06cabf77bbe84f66a4bb54a66a3a294d9695a06fbfc5a75fc3f109147e32b61899a0577837aa724fb5a00dc2d76309d12721b1a359644843bc002a7758a4e281a5a2776a899db603d07ebc281c041425c3961ae63959c97c507372c69fb62babb7faebb17f1bd7cef4f22bf06cd7f1785402e27cf0a5c3b2513b1a9a5251b323fca6f7db40994f060d0529535b4f223b5faf6b4f85fd826a42ed29a1150a0f3c38345d5dae9ee90b0ab2e144294a1133d40bcb55b1a65bbe4c6d595297ab87d8ed3c3cd0540cd7c9cc912069329c0b5cea03d9c54e0c505746b1bcea7a540c5afb1490338bf655f047d332bf2e7f5a7da1d1be365a4e1a4ad65941969edcd5f194d1556211a23e116f7546359910a740d915c8078655fd2f72b2cc365b48652f248c26ae62d8e3f8406e6ea04da3834d875a71eef95ea9f8c003ed4afd3d9a67f73e6941f97929bd90ea7f841061ded7060943df5680dd3d93c76a8cdc5a41ce994fea893193525fd2609452f8b802604965efee151dbe23386048baff4f628b75be87f76cca3eb9abcdd8455c9bc5079916236034ab8beb933653fb6170d59071621265d7a5f6a102559ba2108425406de05b9753e8e92fe36d0b6589b4a9354047dd4b4604314439f32041848c0a503c7140b46e35fcedc69c5124692c9a2cd156bcb7bf787e71999418a73e15b4615f5c0da7137c5808374f9513ed2b08407a13238954692eac47353328ee0a2b98989823e3c632786a2a3bf57407e3d6416f13d662c9f64a0c - [1655968444.116148][21387:21392] CHIP:DMG: buffer_ptr = 281472963556544 - [1655968444.116199][21387:21392] CHIP:DMG: } - [1655968444.116248][21387:21392] CHIP:DMG: - [1655968444.116501][21387:21392] CHIP:DMG: NOCValue (241) = - [1655968444.116588][21387:21392] CHIP:DMG: { - FTABAQEkAgE3AyQTARgmBIAigScmBYAlTTo3BiQVASQRARgkBwEkCAEwCUEEHcBCTl/pvBOZfOXSmmHJRL/ICJI+hlbYAaRNJePa/Ak/srF1z/FYjPaAkP4sMXKXXKaHTnz4X7omyPRv8PX0UzcKNQEoARgkAgE2AwQCBAEYMAQUhedKAEtnGQToa+G5kFftlECqcBwwBRSxYRFlRS+jKzSBfZmO0Y+vLC+riBgwC0Anq+xkNWHMwMI00ADi0yNznONsV8nkfk3AsKWf3/a5JiHsF1WSlqKs8TImzIVCoTGJ8nwTbydWGdzeS7CP36xAGA== - [1655968444.116687][21387:21392] CHIP:DMG: } - [1655968444.116866][21387:21392] CHIP:DMG: - [1655968444.116925][21387:21392] CHIP:DMG: ICACValue (231) = - [1655968444.116999][21387:21392] CHIP:DMG: { - FTABAQAkAgE3AyQUABgmBIAigScmBYAlTTo3BiQTARgkBwEkCAEwCUEE8qLGptdlvjwhcKkTlBZOiE4E6Kx55N6XxZrLmy30rXWvnZdXQ4gJ3E8bvAx9GwY2mqrJxSZl6K4cLDWxnzOTuDcKNQEpARgkAmAwBBSxYRFlRS+jKzSBfZmO0Y+vLC+riDAFFAUWQTxK8uFYyI2G5zpGfd+NtzyYGDALQPeonA7h21RipZNLlGBEJy9vDymwqUcPw/rcx4NsNjQ6kfY4CQojmfd09VIkrGBMQ/kXlzsf2gkXRXGJJQ1xYX0Y - [1655968444.117099][21387:21392] CHIP:DMG: } - [1655968444.117148][21387:21392] CHIP:DMG: - [1655968444.117266][21387:21392] CHIP:DMG: InvokeRequestMessage = - [1655968444.117326][21387:21392] CHIP:DMG: { - [1655968444.117381][21387:21392] CHIP:DMG: suppressResponse = false, - [1655968444.117443][21387:21392] CHIP:DMG: timedRequest = false, - [1655968444.117501][21387:21392] CHIP:DMG: InvokeRequests = - [1655968444.117572][21387:21392] CHIP:DMG: [ - [1655968444.117631][21387:21392] CHIP:DMG: CommandDataIB = - [1655968444.117696][21387:21392] CHIP:DMG: { - [1655968444.117758][21387:21392] CHIP:DMG: CommandPathIB = - [1655968444.117833][21387:21392] CHIP:DMG: { - [1655968444.117909][21387:21392] CHIP:DMG: EndpointId = 0x0, - [1655968444.117991][21387:21392] CHIP:DMG: ClusterId = 0x3e, - [1655968444.118063][21387:21392] CHIP:DMG: CommandId = 0x6, - [1655968444.118135][21387:21392] CHIP:DMG: }, - [1655968444.118211][21387:21392] CHIP:DMG: - [1655968444.118279][21387:21392] CHIP:DMG: CommandFields = - [1655968444.118351][21387:21392] CHIP:DMG: { - [1655968444.118428][21387:21392] CHIP:DMG: 0x0 = [ - [1655968444.118571][21387:21392] CHIP:DMG: 0x15, 0x30, 0x1, 0x1, 0x1, 0x24, 0x2, 0x1, 0x37, 0x3, 0x24, 0x13, 0x1, 0x18, 0x26, 0x4, 0x80, 0x22, 0x81, 0x27, 0x26, 0x5, 0x80, 0x25, 0x4d, 0x3a, 0x37, 0x6, 0x24, 0x15, 0x1, 0x24, 0x11, 0x1, 0x18, 0x24, 0x7, 0x1, 0x24, 0x8, 0x1, 0x30, 0x9, 0x41, 0x4, 0x1d, 0xc0, 0x42, 0x4e, 0x5f, 0xe9, 0xbc, 0x13, 0x99, 0x7c, 0xe5, 0xd2, 0x9a, 0x61, 0xc9, 0x44, 0xbf, 0xc8, 0x8, 0x92, 0x3e, 0x86, 0x56, 0xd8, 0x1, 0xa4, 0x4d, 0x25, 0xe3, 0xda, 0xfc, 0x9, 0x3f, 0xb2, 0xb1, 0x75, 0xcf, 0xf1, 0x58, 0x8c, 0xf6, 0x80, 0x90, 0xfe, 0x2c, 0x31, 0x72, 0x97, 0x5c, 0xa6, 0x87, 0x4e, 0x7c, 0xf8, 0x5f, 0xba, 0x26, 0xc8, 0xf4, 0x6f, 0xf0, 0xf5, 0xf4, 0x53, 0x37, 0xa, 0x35, 0x1, 0x28, 0x1, 0x18, 0x24, 0x2, 0x1, 0x36, 0x3, 0x4, 0x2, 0x4, 0x1, 0x18, 0x30, 0x4, 0x14, 0x85, 0xe7, 0x4a, 0x0, 0x4b, 0x67, 0x19, 0x4, 0xe8, 0x6b, 0xe1, 0xb9, 0x90, 0x57, 0xed, 0x94, 0x40, 0xaa, 0x70, 0x1c, 0x30, 0x5, 0x14, 0xb1, 0x61, 0x11, 0x65, 0x45, 0x2f, 0xa3, 0x2b, 0x34, 0x81, 0x7d, 0x99, 0x8e, 0xd1, 0x8f, 0xaf, 0x2c, 0x2f, 0xab, 0x88, 0x18, 0x30, 0xb, 0x40, 0x27, 0xab, 0xec, 0x64, 0x35, 0x61, 0xcc, 0xc0, 0xc2, 0x34, 0xd0, 0x0, 0xe2, 0xd3, 0x23, 0x73, 0x9c, 0xe3, 0x6c, 0x57, 0xc9, 0xe4, 0x7e, 0x4d, 0xc0, 0xb0, 0xa5, 0x9f, 0xdf, 0xf6, 0xb9, 0x26, 0x21, 0xec, 0x17, 0x55, 0x92, 0x96, 0xa2, 0xac, 0xf1, 0x32, 0x26, 0xcc, 0x85, 0x42, 0xa1, 0x31, 0x89, 0xf2, 0x7c, 0x13, 0x6f, 0x27, 0x56, 0x19, 0xdc, 0xde, 0x4b, 0xb0, 0x8f, 0xdf, 0xac, 0x40, 0x18, - [1655968444.118696][21387:21392] CHIP:DMG: ] - [1655968444.118731][21387:21392] CHIP:DMG: 0x1 = [ - [1655968444.118841][21387:21392] CHIP:DMG: 0x15, 0x30, 0x1, 0x1, 0x0, 0x24, 0x2, 0x1, 0x37, 0x3, 0x24, 0x14, 0x0, 0x18, 0x26, 0x4, 0x80, 0x22, 0x81, 0x27, 0x26, 0x5, 0x80, 0x25, 0x4d, 0x3a, 0x37, 0x6, 0x24, 0x13, 0x1, 0x18, 0x24, 0x7, 0x1, 0x24, 0x8, 0x1, 0x30, 0x9, 0x41, 0x4, 0xf2, 0xa2, 0xc6, 0xa6, 0xd7, 0x65, 0xbe, 0x3c, 0x21, 0x70, 0xa9, 0x13, 0x94, 0x16, 0x4e, 0x88, 0x4e, 0x4, 0xe8, 0xac, 0x79, 0xe4, 0xde, 0x97, 0xc5, 0x9a, 0xcb, 0x9b, 0x2d, 0xf4, 0xad, 0x75, 0xaf, 0x9d, 0x97, 0x57, 0x43, 0x88, 0x9, 0xdc, 0x4f, 0x1b, 0xbc, 0xc, 0x7d, 0x1b, 0x6, 0x36, 0x9a, 0xaa, 0xc9, 0xc5, 0x26, 0x65, 0xe8, 0xae, 0x1c, 0x2c, 0x35, 0xb1, 0x9f, 0x33, 0x93, 0xb8, 0x37, 0xa, 0x35, 0x1, 0x29, 0x1, 0x18, 0x24, 0x2, 0x60, 0x30, 0x4, 0x14, 0xb1, 0x61, 0x11, 0x65, 0x45, 0x2f, 0xa3, 0x2b, 0x34, 0x81, 0x7d, 0x99, 0x8e, 0xd1, 0x8f, 0xaf, 0x2c, 0x2f, 0xab, 0x88, 0x30, 0x5, 0x14, 0x5, 0x16, 0x41, 0x3c, 0x4a, 0xf2, 0xe1, 0x58, 0xc8, 0x8d, 0x86, 0xe7, 0x3a, 0x46, 0x7d, 0xdf, 0x8d, 0xb7, 0x3c, 0x98, 0x18, 0x30, 0xb, 0x40, 0xf7, 0xa8, 0x9c, 0xe, 0xe1, 0xdb, 0x54, 0x62, 0xa5, 0x93, 0x4b, 0x94, 0x60, 0x44, 0x27, 0x2f, 0x6f, 0xf, 0x29, 0xb0, 0xa9, 0x47, 0xf, 0xc3, 0xfa, 0xdc, 0xc7, 0x83, 0x6c, 0x36, 0x34, 0x3a, 0x91, 0xf6, 0x38, 0x9, 0xa, 0x23, 0x99, 0xf7, 0x74, 0xf5, 0x52, 0x24, 0xac, 0x60, 0x4c, 0x43, 0xf9, 0x17, 0x97, 0x3b, 0x1f, 0xda, 0x9, 0x17, 0x45, 0x71, 0x89, 0x25, 0xd, 0x71, 0x61, 0x7d, 0x18, - [1655968444.118910][21387:21392] CHIP:DMG: ] - [1655968444.118944][21387:21392] CHIP:DMG: 0x2 = [ - [1655968444.118979][21387:21392] CHIP:DMG: 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x72, 0x79, 0x20, 0x69, 0x70, 0x6b, 0x20, 0x30, 0x31, - [1655968444.119019][21387:21392] CHIP:DMG: ] - [1655968444.119055][21387:21392] CHIP:DMG: 0x3 = 112233, - [1655968444.119090][21387:21392] CHIP:DMG: 0x4 = 65521, - [1655968444.119121][21387:21392] CHIP:DMG: }, - [1655968444.119151][21387:21392] CHIP:DMG: }, - [1655968444.119186][21387:21392] CHIP:DMG: - [1655968444.119211][21387:21392] CHIP:DMG: ], - [1655968444.119244][21387:21392] CHIP:DMG: - [1655968444.119270][21387:21392] CHIP:DMG: InteractionModelRevision = 1 - [1655968444.119295][21387:21392] CHIP:DMG: }, - [1655968444.119319][21387:21392] CHIP:DMG: - [1655968444.119451][21387:21392] CHIP:DMG: ICR moving to [CommandSen] - [1655968444.119486][21387:21392] CHIP:CTL: Sent operational certificate to the device - [1655968444.119534][21387:21392] CHIP:DMG: ICR moving to [AwaitingDe] - [1655968444.205823][21387:21392] CHIP:DL: HandlePlatformSpecificBLEEvent 16387 - [1655968444.351630][21387:21392] CHIP:DL: HandlePlatformSpecificBLEEvent 16387 - [1655968444.449682][21387:21392] CHIP:DL: HandlePlatformSpecificBLEEvent 16387 - [1655968444.498829][21387:21390] CHIP:DL: Indication received, conn = 0xffff900200d0 - [1655968444.499306][21387:21392] CHIP:DL: HandlePlatformSpecificBLEEvent 16389 - [1655968444.500163][21387:21392] CHIP:DMG: << from BLE | 163275443 | [Interaction Model (1) / InvokeCommandResponse (0x09) / Session = 42825 / Exchange = 11677] - [1655968444.500262][21387:21392] CHIP:DMG: Header Flags = - [1655968444.500320][21387:21392] CHIP:DMG: { - [1655968444.500415][21387:21392] CHIP:DMG: } - [1655968444.500470][21387:21392] CHIP:DMG: - [1655968444.500535][21387:21392] CHIP:DMG: Encrypted Payload (66 bytes) = - [1655968444.500586][21387:21392] CHIP:DMG: { - [1655968444.500639][21387:21392] CHIP:DMG: data = 0049a700b362bb09b60387130f31dcda07c6bd7ca6ec31d17e8112a415dd568e9890f97e448ab542cee0ba97e49805f33d91e21198cef92967240b5486d464370990 - [1655968444.500693][21387:21392] CHIP:DMG: buffer_ptr = 281472963520464 - [1655968444.500744][21387:21392] CHIP:DMG: } - [1655968444.500795][21387:21392] CHIP:DMG: - [1655968444.500927][21387:21392] CHIP:DMG: - [1655968444.501010][21387:21392] CHIP:DMG: Additional Fields = - [1655968444.501064][21387:21392] CHIP:DMG: { - [1655968444.501121][21387:21392] CHIP:DMG: peer_address = BLE - [1655968444.501231][21387:21392] CHIP:DMG: } - [1655968444.501283][21387:21392] CHIP:DMG: - [1655968444.501346][21387:21392] CHIP:EM: Received message of type 0x9 with protocolId (0, 1) and MessageCounter:163275443 on exchange 11677i - [1655968444.501410][21387:21392] CHIP:EM: Found matching exchange: 11677i, Delegate: 0xffff90047da0 - [1655968444.501496][21387:21392] CHIP:DMG: ICR moving to [ResponseRe] - [1655968444.501587][21387:21392] CHIP:DMG: InvokeResponseMessage = - [1655968444.501644][21387:21392] CHIP:DMG: { - [1655968444.501702][21387:21392] CHIP:DMG: suppressResponse = false, - [1655968444.501757][21387:21392] CHIP:DMG: InvokeResponseIBs = - [1655968444.501832][21387:21392] CHIP:DMG: [ - [1655968444.501891][21387:21392] CHIP:DMG: InvokeResponseIB = - [1655968444.501982][21387:21392] CHIP:DMG: { - [1655968444.502045][21387:21392] CHIP:DMG: CommandDataIB = - [1655968444.502119][21387:21392] CHIP:DMG: { - [1655968444.502189][21387:21392] CHIP:DMG: CommandPathIB = - [1655968444.502275][21387:21392] CHIP:DMG: { - [1655968444.502358][21387:21392] CHIP:DMG: EndpointId = 0x0, - [1655968444.502450][21387:21392] CHIP:DMG: ClusterId = 0x3e, - [1655968444.502534][21387:21392] CHIP:DMG: CommandId = 0x8, - [1655968444.502611][21387:21392] CHIP:DMG: }, - [1655968444.502693][21387:21392] CHIP:DMG: - [1655968444.502761][21387:21392] CHIP:DMG: CommandFields = - [1655968444.502841][21387:21392] CHIP:DMG: { - [1655968444.502923][21387:21392] CHIP:DMG: 0x0 = 0, - [1655968444.503010][21387:21392] CHIP:DMG: 0x1 = 1, - [1655968444.503086][21387:21392] CHIP:DMG: }, - [1655968444.503160][21387:21392] CHIP:DMG: }, - [1655968444.503243][21387:21392] CHIP:DMG: - [1655968444.503309][21387:21392] CHIP:DMG: }, - [1655968444.503386][21387:21392] CHIP:DMG: - [1655968444.503444][21387:21392] CHIP:DMG: ], - [1655968444.503518][21387:21392] CHIP:DMG: - [1655968444.503576][21387:21392] CHIP:DMG: InteractionModelRevision = 1 - [1655968444.503633][21387:21392] CHIP:DMG: }, - [1655968444.503766][21387:21392] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_003E Command=0x0000_0008 - [1655968444.503846][21387:21392] CHIP:CTL: Device returned status 0 on receiving the NOC - [1655968444.503901][21387:21392] CHIP:CTL: Operational credentials provisioned on device 0xffff88000b60 - [1655968444.503972][21387:21392] CHIP:TOO: Secure Pairing Success - [1655968444.504021][21387:21392] CHIP:TOO: CASE establishment successful - [1655968444.504076][21387:21392] CHIP:CTL: Successfully finished commissioning step 'SendNOC' - disabled: true - - - label: "DUT sends UpdateFabricLabel to TH" - PICS: OPCREDS.C.C09.Tx - verification: | - ./chip-tool operationalcredentials update-fabric-label node1 1 0 - - On TH side: - [1655316452.670075][7173:7178] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_003E Command=0x0000_0008 - [1655316452.670169][7173:7178] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Command 0x0000_0008 - [1655316452.670297][7173:7178] CHIP:TOO: NOCResponse: { - [1655316452.670373][7173:7178] CHIP:TOO: statusCode: 0 - [1655316452.670432][7173:7178] CHIP:TOO: fabricIndex: 1 - [1655316452.670531][7173:7178] CHIP:TOO: } - [1655316452.670618][7173:7178] CHIP:DMG: ICR moving to [AwaitingDe] - - - - - On DUT side: - [1651579074.158732][4404:4404] CHIP:EM: Received message of type 0x8 with protocolId (0, 1) and MessageCounter:2322191 on exchange 64215r - [1651579074.158787][4404:4404] CHIP:EM: Handling via exchange: 64215r, Delegate: 0xaaaaae69a088 - [1651579074.158905][4404:4404] CHIP:DMG: InvokeRequestMessage = - [1651579074.158945][4404:4404] CHIP:DMG: { - [1651579074.158979][4404:4404] CHIP:DMG: suppressResponse = false, - [1651579074.159019][4404:4404] CHIP:DMG: timedRequest = false, - [1651579074.159055][4404:4404] CHIP:DMG: InvokeRequests = - [1651579074.159100][4404:4404] CHIP:DMG: [ - [1651579074.159135][4404:4404] CHIP:DMG: CommandDataIB = - [1651579074.159207][4404:4404] CHIP:DMG: { - [1651579074.159249][4404:4404] CHIP:DMG: CommandPathIB = - [1651579074.159289][4404:4404] CHIP:DMG: { - [1651579074.159335][4404:4404] CHIP:DMG: EndpointId = 0x0, - [1651579074.159384][4404:4404] CHIP:DMG: ClusterId = 0x3e, - [1651579074.159433][4404:4404] CHIP:DMG: CommandId = 0x9, - [1651579074.159477][4404:4404] CHIP:DMG: }, - [1651579074.159525][4404:4404] CHIP:DMG: - [1651579074.159563][4404:4404] CHIP:DMG: CommandData = - [1651579074.159608][4404:4404] CHIP:DMG: { - [1651579074.159656][4404:4404] CHIP:DMG: 0x0 = "node1", - [1651579074.159707][4404:4404] CHIP:DMG: }, - [1651579074.159748][4404:4404] CHIP:DMG: }, - [1651579074.159793][4404:4404] CHIP:DMG: - [1651579074.159829][4404:4404] CHIP:DMG: ], - [1651579074.159872][4404:4404] CHIP:DMG: - [1651579074.159907][4404:4404] CHIP:DMG: InteractionModelRevision = 1 - [1651579074.159947][4404:4404] CHIP:DMG: }, - [1651579074.160036][4404:4404] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_003E e=0 p=a - [1651579074.160085][4404:4404] CHIP:DMG: AccessControl: allowed - disabled: true - - - label: "DUT reads SupportedFabrics from TH" - PICS: OPCREDS.C.A0002 - verification: | - ./chip-tool operationalcredentials read supported-fabrics 1 0 - - On TH side: - [1655316487.845378][7181:7186] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0002 DataVersion: 3651051950 - [1655316487.845462][7181:7186] CHIP:TOO: SupportedFabrics: 16 - [1655316487.845588][7181:7186] CHIP:EM: Sending Standalone Ack for MessageCounter:78617313 on exchange 56287i - - - On DUT side: - [1651579155.243425][4404:4404] CHIP:IM: Received Read request - [1651579155.243484][4404:4404] CHIP:DMG: ReadRequestMessage = - [1651579155.243516][4404:4404] CHIP:DMG: { - [1651579155.243542][4404:4404] CHIP:DMG: AttributePathIBs = - [1651579155.243575][4404:4404] CHIP:DMG: [ - [1651579155.243604][4404:4404] CHIP:DMG: AttributePathIB = - [1651579155.243648][4404:4404] CHIP:DMG: { - [1651579155.243683][4404:4404] CHIP:DMG: Endpoint = 0x0, - [1651579155.243724][4404:4404] CHIP:DMG: Cluster = 0x3e, - [1651579155.243762][4404:4404] CHIP:DMG: Attribute = 0x0000_0002, - [1651579155.243798][4404:4404] CHIP:DMG: } - [1651579155.243834][4404:4404] CHIP:DMG: - [1651579155.243867][4404:4404] CHIP:DMG: ], - [1651579155.243901][4404:4404] CHIP:DMG: - [1651579155.243933][4404:4404] CHIP:DMG: isFabricFiltered = true, - [1651579155.243964][4404:4404] CHIP:DMG: InteractionModelRevision = 1 - [1651579155.243992][4404:4404] CHIP:DMG: }, - disabled: true - - - label: "DUT reads CommissionedFabrics attribute from TH" - PICS: OPCREDS.C.A0003 - verification: | - ./chip-tool operationalcredentials read commissioned-fabrics 1 0 - On TH side: - [1655316495.313955][7187:7192] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0003 DataVersion: 3651051950 - [1655316495.314037][7187:7192] CHIP:TOO: CommissionedFabrics: 1 - [1655316495.314170][7187:7192] CHIP:EM: Sending Standalone Ack for MessageCounter:13722116 on exchange 6110i - - - - On DUT side: - [1654067582.676118][33222:33227] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0003 DataVersion: 2672580266 - [1654067582.676231][33222:33227] CHIP:TOO: CommissionedFabrics: 1 - disabled: true - - - label: "DUT reads TrustedRootCertificates attribute from TH" - PICS: OPCREDS.C.A0004 - verification: | - ./chip-tool operationalcredentials read trusted-root-certificates 1 0 - - On TH side: - [1655316503.653605][7193:7198] CHIP:TOO: TrustedRootCertificates: 1 entries - [1655316503.653652][7193:7198] CHIP:TOO: [1]: 1530010100240201370324140018260480228127260580254D3A3706241400182407012408013009410482DB6829DFFB76F87C61AE4B18A1DA046222539D9F633684D76E1351BABBB97A53ED21117ACCD40F83874596D293C1605E002523447C0586B8F17221813CB5F9370A3501290118240260300414E9EF7AE4B0B01FDB3568AFEE69B0C5D79799D8BC300514E9EF7AE4B0B01FDB3568AFEE69B0C5D79799D8BC18300B40D7FC04831BFBAD7E0F9BD062203B2AA8CA50938D53A0A76E386B74D3684471BCB5C771D97B2CDEE4BF74934F435B91C282E387D4CA07716A3BF725C3357D3D4318 - - - On DUT side: - [1651579224.947817][4404:4404] CHIP:IM: Received Read request - [1651579224.947879][4404:4404] CHIP:DMG: ReadRequestMessage = - [1651579224.947911][4404:4404] CHIP:DMG: { - [1651579224.947937][4404:4404] CHIP:DMG: AttributePathIBs = - [1651579224.947970][4404:4404] CHIP:DMG: [ - [1651579224.947999][4404:4404] CHIP:DMG: AttributePathIB = - [1651579224.948067][4404:4404] CHIP:DMG: { - [1651579224.948108][4404:4404] CHIP:DMG: Endpoint = 0x0, - [1651579224.948150][4404:4404] CHIP:DMG: Cluster = 0x3e, - [1651579224.948195][4404:4404] CHIP:DMG: Attribute = 0x0000_0004, - [1651579224.948236][4404:4404] CHIP:DMG: } - [1651579224.948274][4404:4404] CHIP:DMG: - [1651579224.948308][4404:4404] CHIP:DMG: ], - [1651579224.948343][4404:4404] CHIP:DMG: - [1651579224.948376][4404:4404] CHIP:DMG: isFabricFiltered = true, - [1651579224.948407][4404:4404] CHIP:DMG: InteractionModelRevision = 1 - [1651579224.948438][4404:4404] CHIP:DMG: }, - disabled: true - - - label: "DUT reads CurrentFabricIndex attribute from TH" - PICS: OPCREDS.C.A0005 - verification: | - ./chip-tool operationalcredentials read current-fabric-index 1 0 - On TH side: - [1655316862.478703][7251:7256] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0005 DataVersion: 3651051950 - [1655316862.478763][7251:7256] CHIP:TOO: CurrentFabricIndex: 1 - [1655316862.478857][7251:7256] CHIP:EM: Sending Standalone Ack for MessageCounter:87254680 on exchange 22379i - - - - On DUT side: - [1651579270.634540][4404:4404] CHIP:DMG: ReadRequestMessage = - [1651579270.634587][4404:4404] CHIP:DMG: { - [1651579270.634627][4404:4404] CHIP:DMG: AttributePathIBs = - [1651579270.634675][4404:4404] CHIP:DMG: [ - [1651579270.634719][4404:4404] CHIP:DMG: AttributePathIB = - [1651579270.634774][4404:4404] CHIP:DMG: { - [1651579270.634826][4404:4404] CHIP:DMG: Endpoint = 0x0, - [1651579270.634883][4404:4404] CHIP:DMG: Cluster = 0x3e, - [1651579270.634946][4404:4404] CHIP:DMG: Attribute = 0x0000_0005, - [1651579270.635001][4404:4404] CHIP:DMG: } - [1651579270.635056][4404:4404] CHIP:DMG: - [1651579270.635105][4404:4404] CHIP:DMG: ], - [1651579270.635188][4404:4404] CHIP:DMG: - [1651579270.635239][4404:4404] CHIP:DMG: isFabricFiltered = true, - [1651579270.635286][4404:4404] CHIP:DMG: InteractionModelRevision = 1 - [1651579270.635329][4404:4404] CHIP:DMG: }, - disabled: true - - - label: "DUT sends RemoveFabric command to TH" - PICS: OPCREDS.C.C0a.Tx - verification: | - ./chip-tool operationalcredentials remove-fabric 1 1 0 - On TH side: - [1655316917.074630][7259:7264] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_003E Command=0x0000_0008 - [1655316917.074679][7259:7264] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Command 0x0000_0008 - [1655316917.074741][7259:7264] CHIP:TOO: NOCResponse: { - [1655316917.074779][7259:7264] CHIP:TOO: statusCode: 0 - [1655316917.074805][7259:7264] CHIP:TOO: fabricIndex: 1 - [1655316917.074829][7259:7264] CHIP:TOO: } - - - - On DUT side: - [1651579316.916807][4404:4404] CHIP:EM: Received message of type 0x8 with protocolId (0, 1) and MessageCounter:13617524 on exchange 52666r - [1651579316.916893][4404:4404] CHIP:EM: Handling via exchange: 52666r, Delegate: 0xaaaaae69a088 - [1651579316.917074][4404:4404] CHIP:DMG: InvokeRequestMessage = - [1651579316.917139][4404:4404] CHIP:DMG: { - [1651579316.917194][4404:4404] CHIP:DMG: suppressResponse = false, - [1651579316.917258][4404:4404] CHIP:DMG: timedRequest = false, - [1651579316.917317][4404:4404] CHIP:DMG: InvokeRequests = - [1651579316.917390][4404:4404] CHIP:DMG: [ - [1651579316.917449][4404:4404] CHIP:DMG: CommandDataIB = - [1651579316.917520][4404:4404] CHIP:DMG: { - [1651579316.917583][4404:4404] CHIP:DMG: CommandPathIB = - [1651579316.917656][4404:4404] CHIP:DMG: { - [1651579316.917731][4404:4404] CHIP:DMG: EndpointId = 0x0, - [1651579316.917813][4404:4404] CHIP:DMG: ClusterId = 0x3e, - [1651579316.917892][4404:4404] CHIP:DMG: CommandId = 0xa, - [1651579316.917965][4404:4404] CHIP:DMG: }, - [1651579316.918043][4404:4404] CHIP:DMG: - [1651579316.918111][4404:4404] CHIP:DMG: CommandData = - [1651579316.918185][4404:4404] CHIP:DMG: { - [1651579316.918261][4404:4404] CHIP:DMG: 0x0 = 1, - [1651579316.918339][4404:4404] CHIP:DMG: }, - [1651579316.918408][4404:4404] CHIP:DMG: }, - [1651579316.918484][4404:4404] CHIP:DMG: - [1651579316.918541][4404:4404] CHIP:DMG: ], - [1651579316.918612][4404:4404] CHIP:DMG: - [1651579316.918669][4404:4404] CHIP:DMG: InteractionModelRevision = 1 - [1651579316.918726][4404:4404] CHIP:DMG: }, - [1651579316.918863][4404:4404] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_003E e=0 p=a - [1651579316.918939][4404:4404] CHIP:DMG: AccessControl: allowed - disabled: true +# Copyright (c) 2021 Project CHIP Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default + +name: 11.3.3. [TC-OPCREDS-3.3] Attribute-NOCs, Commands [DUT-Client] + +config: + nodeId: 0x12344321 + cluster: "Basic" + endpoint: 0 + +tests: + - label: + "Factory Reset DUT (to ensure NOC list is empty at the beginning of + the following steps)" + verification: | + On both DUT and TH side + sudo rm -rf /tmp/chip_* + disabled: true + + - label: "Start the commissioning process of TH with DUT" + verification: | + ./chip-tool pairing ble-wifi 1 GRLPrivate_EXT matter123 20202021 3840 + + TH END: + [1641381202.376419][5628:5633] CHIP:CTL: Received success response 0x3df8 + + sudo ./all-clusters-app --wifi + + DUT END: + [1641381202.306840][4431:4431] CHIP:DL: NVS set: chip-config/regulatory-location = 0 (0x0) + disabled: true + + - label: + "Extract the CSRResponse values for future use from TH NOCSRElements - + which contains the Node Operational PublicKey from CSR + AttestationSignature" + verification: | + Verify the below log in DUT as Client side: + + [1657778308.175702][8192:8197] CHIP:EM: Found matching exchange: 40144i, Delegate: 0xaaaaf7819670 + [1657778308.175743][8192:8197] CHIP:DMG: ICR moving to [ResponseRe] + [1657778308.175782][8192:8197] CHIP:DMG: InvokeResponseMessage = + [1657778308.175807][8192:8197] CHIP:DMG: { + [1657778308.175830][8192:8197] CHIP:DMG: suppressResponse = false, + [1657778308.175854][8192:8197] CHIP:DMG: InvokeResponseIBs = + [1657778308.175885][8192:8197] CHIP:DMG: [ + [1657778308.175909][8192:8197] CHIP:DMG: InvokeResponseIB = + [1657778308.175943][8192:8197] CHIP:DMG: { + [1657778308.175968][8192:8197] CHIP:DMG: CommandDataIB = + [1657778308.175999][8192:8197] CHIP:DMG: { + [1657778308.176028][8192:8197] CHIP:DMG: CommandPathIB = + [1657778308.176060][8192:8197] CHIP:DMG: { + [1657778308.176093][8192:8197] CHIP:DMG: EndpointId = 0x0, + [1657778308.176127][8192:8197] CHIP:DMG: ClusterId = 0x3e, + [1657778308.176192][8192:8197] CHIP:DMG: CommandId = 0x5, + [1657778308.176225][8192:8197] CHIP:DMG: }, + [1657778308.176262][8192:8197] CHIP:DMG: + [1657778308.176292][8192:8197] CHIP:DMG: CommandFields = + [1657778308.176324][8192:8197] CHIP:DMG: { + [1657778308.176356][8192:8197] CHIP:DMG: 0x0 = [ + [1657778308.176466][8192:8197] CHIP:DMG: 0x15, 0x30, 0x1, 0xcb, 0x30, 0x81, 0xc8, 0x30, 0x70, 0x2, 0x1, 0x0, 0x30, 0xe, 0x31, 0xc, 0x30, 0xa, 0x6, 0x3, 0x55, 0x4, 0xa, 0xc, 0x3, 0x43, 0x53, 0x52, 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, 0x11, 0x58, 0xe3, 0x70, 0x15, 0x72, 0x5e, 0xd1, 0x91, 0xbf, 0xba, 0x9f, 0x68, 0xdb, 0x85, 0xec, 0x2f, 0x27, 0x73, 0x88, 0xcf, 0xe, 0x26, 0x84, 0x86, 0x47, 0x9f, 0x74, 0x42, 0xc1, 0xe1, 0x19, 0x5a, 0x78, 0xbc, 0x20, 0x49, 0xac, 0xb9, 0x94, 0x5f, 0xe4, 0x2b, 0x66, 0x82, 0x67, 0xed, 0x58, 0x27, 0xdb, 0x74, 0x69, 0x81, 0x1f, 0x5a, 0xe6, 0xdf, 0x69, 0xec, 0xd0, 0x83, 0xa3, 0x0, 0x2d, 0xa0, 0x0, 0x30, 0xa, 0x6, 0x8, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x4, 0x3, 0x2, 0x3, 0x48, 0x0, 0x30, 0x45, 0x2, 0x21, 0x0, 0xe8, 0x53, 0xe7, 0x55, 0xf4, 0x82, 0x79, 0xcd, 0xb6, 0x6d, 0xd8, 0xa0, 0xe8, 0xfd, 0xc1, 0x44, 0xf8, 0x75, 0x53, 0x39, 0x67, 0x27, 0x29, 0x57, 0x39, 0x38, 0xa3, 0x51, 0x49, 0x28, 0x6a, 0x3c, 0x2, 0x20, 0x55, 0x2c, 0xdc, 0xb0, 0xfd, 0xc0, 0xe0, 0xe0, 0x40, 0x9b, 0xf8, 0x7d, 0x63, 0x51, 0x4f, 0x3b, 0xb4, 0x5e, 0xf4, 0xda, 0x47, 0x76, 0xdb, 0xd2, 0xeb, 0xa0, 0x51, 0x94, 0xbd, 0x96, 0x80, 0xfb, 0x30, 0x2, 0x20, 0x47, 0xce, 0x65, 0x6b, 0xb9, 0x27, 0xa3, 0xf2, 0x56, 0x89, 0xb5, 0xfe, 0x24, 0x69, 0xf9, 0x21, 0x50, 0x63, 0x58, 0xe4, 0xaa, 0x38, 0x28, 0xf6, 0x74, 0x14, 0xf, 0x91, 0x38, 0x5, 0xd4, 0x3e, 0x18, + [1657778308.176530][8192:8197] CHIP:DMG: ] + [1657778308.176564][8192:8197] CHIP:DMG: 0x1 = [ + [1657778308.176616][8192:8197] CHIP:DMG: 0x2d, 0x7e, 0x4c, 0x8b, 0xb9, 0xef, 0xec, 0xb4, 0xc7, 0xa6, 0x76, 0xf8, 0xf, 0x2d, 0x58, 0x72, 0xb3, 0x35, 0xd3, 0xbf, 0xb1, 0x61, 0xc1, 0x99, 0xf1, 0x1, 0xb9, 0x9c, 0xc, 0x79, 0xbb, 0x3c, 0xf0, 0x69, 0x5c, 0x4, 0x76, 0xd3, 0x5b, 0xcb, 0x97, 0xfc, 0x2d, 0xe2, 0x89, 0xfa, 0xa9, 0xc, 0x6e, 0xb4, 0xf, 0x72, 0xba, 0x2, 0xb5, 0x58, 0xeb, 0xd, 0x9a, 0xbe, 0x29, 0x40, 0x8f, 0xe6, + [1657778308.176655][8192:8197] CHIP:DMG: ] + [1657778308.176688][8192:8197] CHIP:DMG: }, + [1657778308.176718][8192:8197] CHIP:DMG: }, + [1657778308.176752][8192:8197] CHIP:DMG: + [1657778308.176779][8192:8197] CHIP:DMG: }, + [1657778308.176809][8192:8197] CHIP:DMG: + [1657778308.176832][8192:8197] CHIP:DMG: ], + [1657778308.176862][8192:8197] CHIP:DMG: + [1657778308.176885][8192:8197] CHIP:DMG: InteractionModelRevision = 1 + [1657778308.176908][8192:8197] CHIP:DMG: }, + [1657778308.176970][8192:8197] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_003E Command=0x0000_0005 + [1657778308.177003][8192:8197] CHIP:CTL: Received certificate signing request from the device + disabled: true + + - label: + "TH saves the following values as: NOCValue as nocvalue1 ICACValue as + icacvalue1 IpkValue as ipkvalue1 CaseAdminSubject as caseadmin1 + AdminVendorId as adminvendorid1" + verification: | + See above + disabled: true + + - label: + "Extract the following FabricDescriptorStruct values from TH + RootPublicKey VendorID FabricID NodeID Label" + verification: | + "./chip-tool operationalcredentials read fabrics 1 0 --fabric-filtered 0 + + Verify the below log in DUT as Client side: + + [1651572032.170920][3815:3820] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0001 DataVersion: 2018783041 + [1651572032.171031][3815:3820] CHIP:TOO: Fabrics: 2 entries + [1651572032.171179][3815:3820] CHIP:TOO: [1]: { + [1651572032.171223][3815:3820] CHIP:TOO: RootPublicKey: 0412894491026CDACAC117D232D252EF827691D378BCCC9E8E717E6C70B3D36E4C5430FDF26B783EC579506D3E748BABFBC6D400302C72CD5BD40B152AA303724B + [1651572032.171262][3815:3820] CHIP:TOO: VendorId: 65521 + [1651572032.171296][3815:3820] CHIP:TOO: FabricId: 1 + [1651572032.171328][3815:3820] CHIP:TOO: NodeId: 1 + [1651572032.171360][3815:3820] CHIP:TOO: Label: NodeOpeCredits1 + [1651572032.171393][3815:3820] CHIP:TOO: FabricIndex: 1 + [1651572032.171427][3815:3820] CHIP:TOO: } + disabled: true + + - label: "DUT sends UpdateNOC to TH" + PICS: OPCREDS.C.C07.Tx + verification: | + Verify the below log in DUT as Client side: + + [1655968444.113753][21387:21392] CHIP:CTL: Performing next commissioning step 'SendNOC' + [1655968444.113880][21387:21392] CHIP:DMG: ICR moving to [AddingComm] + [1655968444.113960][21387:21392] CHIP:DMG: ICR moving to [AddedComma] + [1655968444.114671][21387:21392] CHIP:IN: Prepared secure message 0xffff9afdc988 to 0xFFFFFFFB00000000 (0) of type 0x8 and protocolId (0, 1) on exchange 11677i with MessageCounter:162800417. + [1655968444.114769][21387:21392] CHIP:IN: Sending encrypted msg 0xffff9afdc988 with MessageCounter:162800417 to 0xFFFFFFFB00000000 (0) at monotonic time: 00000000059CF7B1 msec + [1655968444.115364][21387:21392] CHIP:DMG: >> to BLE | 162800417 | [Interaction Model (1) / InvokeCommandRequest (0x08) / Session = 52324 / Exchange = 11677] + [1655968444.115453][21387:21392] CHIP:DMG: Header Flags = + [1655968444.115507][21387:21392] CHIP:DMG: { + [1655968444.115591][21387:21392] CHIP:DMG: Exchange (0x01) = + [1655968444.115645][21387:21392] CHIP:DMG: { + [1655968444.115693][21387:21392] CHIP:DMG: Initiator = true + [1655968444.115746][21387:21392] CHIP:DMG: } + [1655968444.115813][21387:21392] CHIP:DMG: } + [1655968444.115866][21387:21392] CHIP:DMG: + [1655968444.115933][21387:21392] CHIP:DMG: Encrypted Payload (566 bytes) = + [1655968444.115987][21387:21392] CHIP:DMG: { + [1655968444.116040][21387:21392] CHIP:DMG: data = 0064cc002123b4099a74682c39ff06cabf77bbe84f66a4bb54a66a3a294d9695a06fbfc5a75fc3f109147e32b61899a0577837aa724fb5a00dc2d76309d12721b1a359644843bc002a7758a4e281a5a2776a899db603d07ebc281c041425c3961ae63959c97c507372c69fb62babb7faebb17f1bd7cef4f22bf06cd7f1785402e27cf0a5c3b2513b1a9a5251b323fca6f7db40994f060d0529535b4f223b5faf6b4f85fd826a42ed29a1150a0f3c38345d5dae9ee90b0ab2e144294a1133d40bcb55b1a65bbe4c6d595297ab87d8ed3c3cd0540cd7c9cc912069329c0b5cea03d9c54e0c505746b1bcea7a540c5afb1490338bf655f047d332bf2e7f5a7da1d1be365a4e1a4ad65941969edcd5f194d1556211a23e116f7546359910a740d915c8078655fd2f72b2cc365b48652f248c26ae62d8e3f8406e6ea04da3834d875a71eef95ea9f8c003ed4afd3d9a67f73e6941f97929bd90ea7f841061ded7060943df5680dd3d93c76a8cdc5a41ce994fea893193525fd2609452f8b802604965efee151dbe23386048baff4f628b75be87f76cca3eb9abcdd8455c9bc5079916236034ab8beb933653fb6170d59071621265d7a5f6a102559ba2108425406de05b9753e8e92fe36d0b6589b4a9354047dd4b4604314439f32041848c0a503c7140b46e35fcedc69c5124692c9a2cd156bcb7bf787e71999418a73e15b4615f5c0da7137c5808374f9513ed2b08407a13238954692eac47353328ee0a2b98989823e3c632786a2a3bf57407e3d6416f13d662c9f64a0c + [1655968444.116148][21387:21392] CHIP:DMG: buffer_ptr = 281472963556544 + [1655968444.116199][21387:21392] CHIP:DMG: } + [1655968444.116248][21387:21392] CHIP:DMG: + [1655968444.116501][21387:21392] CHIP:DMG: NOCValue (241) = + [1655968444.116588][21387:21392] CHIP:DMG: { + FTABAQEkAgE3AyQTARgmBIAigScmBYAlTTo3BiQVASQRARgkBwEkCAEwCUEEHcBCTl/pvBOZfOXSmmHJRL/ICJI+hlbYAaRNJePa/Ak/srF1z/FYjPaAkP4sMXKXXKaHTnz4X7omyPRv8PX0UzcKNQEoARgkAgE2AwQCBAEYMAQUhedKAEtnGQToa+G5kFftlECqcBwwBRSxYRFlRS+jKzSBfZmO0Y+vLC+riBgwC0Anq+xkNWHMwMI00ADi0yNznONsV8nkfk3AsKWf3/a5JiHsF1WSlqKs8TImzIVCoTGJ8nwTbydWGdzeS7CP36xAGA== + [1655968444.116687][21387:21392] CHIP:DMG: } + [1655968444.116866][21387:21392] CHIP:DMG: + [1655968444.116925][21387:21392] CHIP:DMG: ICACValue (231) = + [1655968444.116999][21387:21392] CHIP:DMG: { + FTABAQAkAgE3AyQUABgmBIAigScmBYAlTTo3BiQTARgkBwEkCAEwCUEE8qLGptdlvjwhcKkTlBZOiE4E6Kx55N6XxZrLmy30rXWvnZdXQ4gJ3E8bvAx9GwY2mqrJxSZl6K4cLDWxnzOTuDcKNQEpARgkAmAwBBSxYRFlRS+jKzSBfZmO0Y+vLC+riDAFFAUWQTxK8uFYyI2G5zpGfd+NtzyYGDALQPeonA7h21RipZNLlGBEJy9vDymwqUcPw/rcx4NsNjQ6kfY4CQojmfd09VIkrGBMQ/kXlzsf2gkXRXGJJQ1xYX0Y + [1655968444.117099][21387:21392] CHIP:DMG: } + [1655968444.117148][21387:21392] CHIP:DMG: + [1655968444.117266][21387:21392] CHIP:DMG: InvokeRequestMessage = + [1655968444.117326][21387:21392] CHIP:DMG: { + [1655968444.117381][21387:21392] CHIP:DMG: suppressResponse = false, + [1655968444.117443][21387:21392] CHIP:DMG: timedRequest = false, + [1655968444.117501][21387:21392] CHIP:DMG: InvokeRequests = + [1655968444.117572][21387:21392] CHIP:DMG: [ + [1655968444.117631][21387:21392] CHIP:DMG: CommandDataIB = + [1655968444.117696][21387:21392] CHIP:DMG: { + [1655968444.117758][21387:21392] CHIP:DMG: CommandPathIB = + [1655968444.117833][21387:21392] CHIP:DMG: { + [1655968444.117909][21387:21392] CHIP:DMG: EndpointId = 0x0, + [1655968444.117991][21387:21392] CHIP:DMG: ClusterId = 0x3e, + [1655968444.118063][21387:21392] CHIP:DMG: CommandId = 0x6, + [1655968444.118135][21387:21392] CHIP:DMG: }, + [1655968444.118211][21387:21392] CHIP:DMG: + [1655968444.118279][21387:21392] CHIP:DMG: CommandFields = + [1655968444.118351][21387:21392] CHIP:DMG: { + [1655968444.118428][21387:21392] CHIP:DMG: 0x0 = [ + [1655968444.118571][21387:21392] CHIP:DMG: 0x15, 0x30, 0x1, 0x1, 0x1, 0x24, 0x2, 0x1, 0x37, 0x3, 0x24, 0x13, 0x1, 0x18, 0x26, 0x4, 0x80, 0x22, 0x81, 0x27, 0x26, 0x5, 0x80, 0x25, 0x4d, 0x3a, 0x37, 0x6, 0x24, 0x15, 0x1, 0x24, 0x11, 0x1, 0x18, 0x24, 0x7, 0x1, 0x24, 0x8, 0x1, 0x30, 0x9, 0x41, 0x4, 0x1d, 0xc0, 0x42, 0x4e, 0x5f, 0xe9, 0xbc, 0x13, 0x99, 0x7c, 0xe5, 0xd2, 0x9a, 0x61, 0xc9, 0x44, 0xbf, 0xc8, 0x8, 0x92, 0x3e, 0x86, 0x56, 0xd8, 0x1, 0xa4, 0x4d, 0x25, 0xe3, 0xda, 0xfc, 0x9, 0x3f, 0xb2, 0xb1, 0x75, 0xcf, 0xf1, 0x58, 0x8c, 0xf6, 0x80, 0x90, 0xfe, 0x2c, 0x31, 0x72, 0x97, 0x5c, 0xa6, 0x87, 0x4e, 0x7c, 0xf8, 0x5f, 0xba, 0x26, 0xc8, 0xf4, 0x6f, 0xf0, 0xf5, 0xf4, 0x53, 0x37, 0xa, 0x35, 0x1, 0x28, 0x1, 0x18, 0x24, 0x2, 0x1, 0x36, 0x3, 0x4, 0x2, 0x4, 0x1, 0x18, 0x30, 0x4, 0x14, 0x85, 0xe7, 0x4a, 0x0, 0x4b, 0x67, 0x19, 0x4, 0xe8, 0x6b, 0xe1, 0xb9, 0x90, 0x57, 0xed, 0x94, 0x40, 0xaa, 0x70, 0x1c, 0x30, 0x5, 0x14, 0xb1, 0x61, 0x11, 0x65, 0x45, 0x2f, 0xa3, 0x2b, 0x34, 0x81, 0x7d, 0x99, 0x8e, 0xd1, 0x8f, 0xaf, 0x2c, 0x2f, 0xab, 0x88, 0x18, 0x30, 0xb, 0x40, 0x27, 0xab, 0xec, 0x64, 0x35, 0x61, 0xcc, 0xc0, 0xc2, 0x34, 0xd0, 0x0, 0xe2, 0xd3, 0x23, 0x73, 0x9c, 0xe3, 0x6c, 0x57, 0xc9, 0xe4, 0x7e, 0x4d, 0xc0, 0xb0, 0xa5, 0x9f, 0xdf, 0xf6, 0xb9, 0x26, 0x21, 0xec, 0x17, 0x55, 0x92, 0x96, 0xa2, 0xac, 0xf1, 0x32, 0x26, 0xcc, 0x85, 0x42, 0xa1, 0x31, 0x89, 0xf2, 0x7c, 0x13, 0x6f, 0x27, 0x56, 0x19, 0xdc, 0xde, 0x4b, 0xb0, 0x8f, 0xdf, 0xac, 0x40, 0x18, + [1655968444.118696][21387:21392] CHIP:DMG: ] + [1655968444.118731][21387:21392] CHIP:DMG: 0x1 = [ + [1655968444.118841][21387:21392] CHIP:DMG: 0x15, 0x30, 0x1, 0x1, 0x0, 0x24, 0x2, 0x1, 0x37, 0x3, 0x24, 0x14, 0x0, 0x18, 0x26, 0x4, 0x80, 0x22, 0x81, 0x27, 0x26, 0x5, 0x80, 0x25, 0x4d, 0x3a, 0x37, 0x6, 0x24, 0x13, 0x1, 0x18, 0x24, 0x7, 0x1, 0x24, 0x8, 0x1, 0x30, 0x9, 0x41, 0x4, 0xf2, 0xa2, 0xc6, 0xa6, 0xd7, 0x65, 0xbe, 0x3c, 0x21, 0x70, 0xa9, 0x13, 0x94, 0x16, 0x4e, 0x88, 0x4e, 0x4, 0xe8, 0xac, 0x79, 0xe4, 0xde, 0x97, 0xc5, 0x9a, 0xcb, 0x9b, 0x2d, 0xf4, 0xad, 0x75, 0xaf, 0x9d, 0x97, 0x57, 0x43, 0x88, 0x9, 0xdc, 0x4f, 0x1b, 0xbc, 0xc, 0x7d, 0x1b, 0x6, 0x36, 0x9a, 0xaa, 0xc9, 0xc5, 0x26, 0x65, 0xe8, 0xae, 0x1c, 0x2c, 0x35, 0xb1, 0x9f, 0x33, 0x93, 0xb8, 0x37, 0xa, 0x35, 0x1, 0x29, 0x1, 0x18, 0x24, 0x2, 0x60, 0x30, 0x4, 0x14, 0xb1, 0x61, 0x11, 0x65, 0x45, 0x2f, 0xa3, 0x2b, 0x34, 0x81, 0x7d, 0x99, 0x8e, 0xd1, 0x8f, 0xaf, 0x2c, 0x2f, 0xab, 0x88, 0x30, 0x5, 0x14, 0x5, 0x16, 0x41, 0x3c, 0x4a, 0xf2, 0xe1, 0x58, 0xc8, 0x8d, 0x86, 0xe7, 0x3a, 0x46, 0x7d, 0xdf, 0x8d, 0xb7, 0x3c, 0x98, 0x18, 0x30, 0xb, 0x40, 0xf7, 0xa8, 0x9c, 0xe, 0xe1, 0xdb, 0x54, 0x62, 0xa5, 0x93, 0x4b, 0x94, 0x60, 0x44, 0x27, 0x2f, 0x6f, 0xf, 0x29, 0xb0, 0xa9, 0x47, 0xf, 0xc3, 0xfa, 0xdc, 0xc7, 0x83, 0x6c, 0x36, 0x34, 0x3a, 0x91, 0xf6, 0x38, 0x9, 0xa, 0x23, 0x99, 0xf7, 0x74, 0xf5, 0x52, 0x24, 0xac, 0x60, 0x4c, 0x43, 0xf9, 0x17, 0x97, 0x3b, 0x1f, 0xda, 0x9, 0x17, 0x45, 0x71, 0x89, 0x25, 0xd, 0x71, 0x61, 0x7d, 0x18, + [1655968444.118910][21387:21392] CHIP:DMG: ] + [1655968444.118944][21387:21392] CHIP:DMG: 0x2 = [ + [1655968444.118979][21387:21392] CHIP:DMG: 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x72, 0x79, 0x20, 0x69, 0x70, 0x6b, 0x20, 0x30, 0x31, + [1655968444.119019][21387:21392] CHIP:DMG: ] + [1655968444.119055][21387:21392] CHIP:DMG: 0x3 = 112233, + [1655968444.119090][21387:21392] CHIP:DMG: 0x4 = 65521, + [1655968444.119121][21387:21392] CHIP:DMG: }, + [1655968444.119151][21387:21392] CHIP:DMG: }, + [1655968444.119186][21387:21392] CHIP:DMG: + [1655968444.119211][21387:21392] CHIP:DMG: ], + [1655968444.119244][21387:21392] CHIP:DMG: + [1655968444.119270][21387:21392] CHIP:DMG: InteractionModelRevision = 1 + [1655968444.119295][21387:21392] CHIP:DMG: }, + [1655968444.119319][21387:21392] CHIP:DMG: + [1655968444.119451][21387:21392] CHIP:DMG: ICR moving to [CommandSen] + [1655968444.119486][21387:21392] CHIP:CTL: Sent operational certificate to the device + [1655968444.119534][21387:21392] CHIP:DMG: ICR moving to [AwaitingDe] + [1655968444.205823][21387:21392] CHIP:DL: HandlePlatformSpecificBLEEvent 16387 + [1655968444.351630][21387:21392] CHIP:DL: HandlePlatformSpecificBLEEvent 16387 + [1655968444.449682][21387:21392] CHIP:DL: HandlePlatformSpecificBLEEvent 16387 + [1655968444.498829][21387:21390] CHIP:DL: Indication received, conn = 0xffff900200d0 + [1655968444.499306][21387:21392] CHIP:DL: HandlePlatformSpecificBLEEvent 16389 + [1655968444.500163][21387:21392] CHIP:DMG: << from BLE | 163275443 | [Interaction Model (1) / InvokeCommandResponse (0x09) / Session = 42825 / Exchange = 11677] + [1655968444.500262][21387:21392] CHIP:DMG: Header Flags = + [1655968444.500320][21387:21392] CHIP:DMG: { + [1655968444.500415][21387:21392] CHIP:DMG: } + [1655968444.500470][21387:21392] CHIP:DMG: + [1655968444.500535][21387:21392] CHIP:DMG: Encrypted Payload (66 bytes) = + [1655968444.500586][21387:21392] CHIP:DMG: { + [1655968444.500639][21387:21392] CHIP:DMG: data = 0049a700b362bb09b60387130f31dcda07c6bd7ca6ec31d17e8112a415dd568e9890f97e448ab542cee0ba97e49805f33d91e21198cef92967240b5486d464370990 + [1655968444.500693][21387:21392] CHIP:DMG: buffer_ptr = 281472963520464 + [1655968444.500744][21387:21392] CHIP:DMG: } + [1655968444.500795][21387:21392] CHIP:DMG: + [1655968444.500927][21387:21392] CHIP:DMG: + [1655968444.501010][21387:21392] CHIP:DMG: Additional Fields = + [1655968444.501064][21387:21392] CHIP:DMG: { + [1655968444.501121][21387:21392] CHIP:DMG: peer_address = BLE + [1655968444.501231][21387:21392] CHIP:DMG: } + [1655968444.501283][21387:21392] CHIP:DMG: + [1655968444.501346][21387:21392] CHIP:EM: Received message of type 0x9 with protocolId (0, 1) and MessageCounter:163275443 on exchange 11677i + [1655968444.501410][21387:21392] CHIP:EM: Found matching exchange: 11677i, Delegate: 0xffff90047da0 + [1655968444.501496][21387:21392] CHIP:DMG: ICR moving to [ResponseRe] + [1655968444.501587][21387:21392] CHIP:DMG: InvokeResponseMessage = + [1655968444.501644][21387:21392] CHIP:DMG: { + [1655968444.501702][21387:21392] CHIP:DMG: suppressResponse = false, + [1655968444.501757][21387:21392] CHIP:DMG: InvokeResponseIBs = + [1655968444.501832][21387:21392] CHIP:DMG: [ + [1655968444.501891][21387:21392] CHIP:DMG: InvokeResponseIB = + [1655968444.501982][21387:21392] CHIP:DMG: { + [1655968444.502045][21387:21392] CHIP:DMG: CommandDataIB = + [1655968444.502119][21387:21392] CHIP:DMG: { + [1655968444.502189][21387:21392] CHIP:DMG: CommandPathIB = + [1655968444.502275][21387:21392] CHIP:DMG: { + [1655968444.502358][21387:21392] CHIP:DMG: EndpointId = 0x0, + [1655968444.502450][21387:21392] CHIP:DMG: ClusterId = 0x3e, + [1655968444.502534][21387:21392] CHIP:DMG: CommandId = 0x8, + [1655968444.502611][21387:21392] CHIP:DMG: }, + [1655968444.502693][21387:21392] CHIP:DMG: + [1655968444.502761][21387:21392] CHIP:DMG: CommandFields = + [1655968444.502841][21387:21392] CHIP:DMG: { + [1655968444.502923][21387:21392] CHIP:DMG: 0x0 = 0, + [1655968444.503010][21387:21392] CHIP:DMG: 0x1 = 1, + [1655968444.503086][21387:21392] CHIP:DMG: }, + [1655968444.503160][21387:21392] CHIP:DMG: }, + [1655968444.503243][21387:21392] CHIP:DMG: + [1655968444.503309][21387:21392] CHIP:DMG: }, + [1655968444.503386][21387:21392] CHIP:DMG: + [1655968444.503444][21387:21392] CHIP:DMG: ], + [1655968444.503518][21387:21392] CHIP:DMG: + [1655968444.503576][21387:21392] CHIP:DMG: InteractionModelRevision = 1 + [1655968444.503633][21387:21392] CHIP:DMG: }, + [1655968444.503766][21387:21392] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_003E Command=0x0000_0008 + [1655968444.503846][21387:21392] CHIP:CTL: Device returned status 0 on receiving the NOC + [1655968444.503901][21387:21392] CHIP:CTL: Operational credentials provisioned on device 0xffff88000b60 + [1655968444.503972][21387:21392] CHIP:TOO: Secure Pairing Success + [1655968444.504021][21387:21392] CHIP:TOO: CASE establishment successful + [1655968444.504076][21387:21392] CHIP:CTL: Successfully finished commissioning step 'SendNOC' + disabled: true + + - label: "DUT sends UpdateFabricLabel to TH" + PICS: OPCREDS.C.C09.Tx + verification: | + ./chip-tool operationalcredentials update-fabric-label node1 1 0 + + Verify the below log in DUT as Client side: + + [1655316452.670075][7173:7178] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_003E Command=0x0000_0008 + [1655316452.670169][7173:7178] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Command 0x0000_0008 + [1655316452.670297][7173:7178] CHIP:TOO: NOCResponse: { + [1655316452.670373][7173:7178] CHIP:TOO: statusCode: 0 + [1655316452.670432][7173:7178] CHIP:TOO: fabricIndex: 1 + [1655316452.670531][7173:7178] CHIP:TOO: } + [1655316452.670618][7173:7178] CHIP:DMG: ICR moving to [AwaitingDe] + disabled: true + + - label: "DUT reads SupportedFabrics from TH" + PICS: OPCREDS.C.A0002 + verification: | + ./chip-tool operationalcredentials read supported-fabrics 1 0 + + Verify the below log in DUT as Client side: + + [1655316487.845378][7181:7186] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0002 DataVersion: 3651051950 + [1655316487.845462][7181:7186] CHIP:TOO: SupportedFabrics: 16 + [1655316487.845588][7181:7186] CHIP:EM: Sending Standalone Ack for MessageCounter:78617313 on exchange 56287i + disabled: true + + - label: "DUT reads CommissionedFabrics attribute from TH" + PICS: OPCREDS.C.A0003 + verification: | + ./chip-tool operationalcredentials read commissioned-fabrics 1 0 + + Verify the below log in DUT as Client side: + + [1655316495.313955][7187:7192] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0003 DataVersion: 3651051950 + [1655316495.314037][7187:7192] CHIP:TOO: CommissionedFabrics: 1 + [1655316495.314170][7187:7192] CHIP:EM: Sending Standalone Ack for MessageCounter:13722116 on exchange 6110i + disabled: true + + - label: "DUT reads TrustedRootCertificates attribute from TH" + PICS: OPCREDS.C.A0004 + verification: | + ./chip-tool operationalcredentials read trusted-root-certificates 1 0 + + Verify the below log in DUT as Client side: + + [1655316503.653605][7193:7198] CHIP:TOO: TrustedRootCertificates: 1 entries + [1655316503.653652][7193:7198] CHIP:TOO: [1]: 1530010100240201370324140018260480228127260580254D3A3706241400182407012408013009410482DB6829DFFB76F87C61AE4B18A1DA046222539D9F633684D76E1351BABBB97A53ED21117ACCD40F83874596D293C1605E002523447C0586B8F17221813CB5F9370A3501290118240260300414E9EF7AE4B0B01FDB3568AFEE69B0C5D79799D8BC300514E9EF7AE4B0B01FDB3568AFEE69B0C5D79799D8BC18300B40D7FC04831BFBAD7E0F9BD062203B2AA8CA50938D53A0A76E386B74D3684471BCB5C771D97B2CDEE4BF74934F435B91C282E387D4CA07716A3BF725C3357D3D4318 + disabled: true + + - label: "DUT reads CurrentFabricIndex attribute from TH" + PICS: OPCREDS.C.A0005 + verification: | + ./chip-tool operationalcredentials read current-fabric-index 1 0 + Verify the below log in DUT as Client side: + + [1655316862.478703][7251:7256] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0005 DataVersion: 3651051950 + [1655316862.478763][7251:7256] CHIP:TOO: CurrentFabricIndex: 1 + [1655316862.478857][7251:7256] CHIP:EM: Sending Standalone Ack for MessageCounter:87254680 on exchange 22379i + disabled: true + + - label: "DUT sends RemoveFabric command to TH" + PICS: OPCREDS.C.C0a.Tx + verification: | + ./chip-tool operationalcredentials remove-fabric 1 1 0 + Verify the below log in DUT as Client side: + + [1655316917.074630][7259:7264] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_003E Command=0x0000_0008 + [1655316917.074679][7259:7264] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Command 0x0000_0008 + [1655316917.074741][7259:7264] CHIP:TOO: NOCResponse: { + [1655316917.074779][7259:7264] CHIP:TOO: statusCode: 0 + [1655316917.074805][7259:7264] CHIP:TOO: fabricIndex: 1 + [1655316917.074829][7259:7264] CHIP:TOO: } + disabled: true 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 8bef1b24f08d94..1c6b4f22f6da98 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 @@ -29,7 +29,7 @@ tests: - label: "TH1 Sends CSRRequest command" PICS: OPCREDS.S.C04.Rsp verification: | - Verify TH log during commisssioning + Verify TH log [1655290769.343207][5196:5201] CHIP:DMG: >> to BLE | 255378492 | [Interaction Model (1) / InvokeCommandRequest (0x08) / Session = 25008 / Exchange = 11376] [1655290769.343256][5196:5201] CHIP:DMG: Header Flags = @@ -78,8 +78,13 @@ tests: [1655290769.344655][5196:5201] CHIP:CTL: Sent CSR request, waiting for the CSR disabled: true - - label: "TH sends ArmFailSafe command to the DUT" + - label: + "TH sends ArmFailSafe command to the DUT with the ExpiryLengthSeconds + field set to 900" verification: | + Verify in TH Log + + [1655290768.024789][5196:5201] CHIP:CTL: Arming failsafe (60 seconds) [1655290768.024854][5196:5201] CHIP:DMG: ICR moving to [AddingComm] [1655290768.024889][5196:5201] CHIP:DMG: ICR moving to [AddedComma] @@ -102,29 +107,29 @@ tests: [1655290768.025830][5196:5201] CHIP:DMG: [1655290768.025903][5196:5201] CHIP:DMG: InvokeRequestMessage = [1655290768.025933][5196:5201] CHIP:DMG: { - [1655290768.025959][5196:5201] CHIP:DMG: suppressResponse = false, - [1655290768.025988][5196:5201] CHIP:DMG: timedRequest = false, - [1655290768.026016][5196:5201] CHIP:DMG: InvokeRequests = - [1655290768.026051][5196:5201] CHIP:DMG: [ - [1655290768.026079][5196:5201] CHIP:DMG: CommandDataIB = - [1655290768.026113][5196:5201] CHIP:DMG: { - [1655290768.026144][5196:5201] CHIP:DMG: CommandPathIB = - [1655290768.026180][5196:5201] CHIP:DMG: { - [1655290768.026216][5196:5201] CHIP:DMG: EndpointId = 0x0, - [1655290768.026257][5196:5201] CHIP:DMG: ClusterId = 0x30, - [1655290768.026296][5196:5201] CHIP:DMG: CommandId = 0x0, - [1655290768.026330][5196:5201] CHIP:DMG: }, + [1655290768.025959][5196:5201] CHIP:DMG: suppressResponse = false, + [1655290768.025988][5196:5201] CHIP:DMG: timedRequest = false, + [1655290768.026016][5196:5201] CHIP:DMG: InvokeRequests = + [1655290768.026051][5196:5201] CHIP:DMG: [ + [1655290768.026079][5196:5201] CHIP:DMG: CommandDataIB = + [1655290768.026113][5196:5201] CHIP:DMG: { + [1655290768.026144][5196:5201] CHIP:DMG: CommandPathIB = + [1655290768.026180][5196:5201] CHIP:DMG: { + [1655290768.026216][5196:5201] CHIP:DMG: EndpointId = 0x0, + [1655290768.026257][5196:5201] CHIP:DMG: ClusterId = 0x30, + [1655290768.026296][5196:5201] CHIP:DMG: CommandId = 0x0, + [1655290768.026330][5196:5201] CHIP:DMG: }, [1655290768.026367][5196:5201] CHIP:DMG: - [1655290768.026420][5196:5201] CHIP:DMG: CommandFields = - [1655290768.026483][5196:5201] CHIP:DMG: { - [1655290768.026520][5196:5201] CHIP:DMG: 0x0 = 60, - [1655290768.026558][5196:5201] CHIP:DMG: 0x1 = 3, - [1655290768.026597][5196:5201] CHIP:DMG: }, - [1655290768.026629][5196:5201] CHIP:DMG: }, + [1655290768.026420][5196:5201] CHIP:DMG: CommandFields = + [1655290768.026483][5196:5201] CHIP:DMG: { + [1655290768.026520][5196:5201] CHIP:DMG: 0x0 = 60, + [1655290768.026558][5196:5201] CHIP:DMG: 0x1 = 3, + [1655290768.026597][5196:5201] CHIP:DMG: }, + [1655290768.026629][5196:5201] CHIP:DMG: }, [1655290768.026664][5196:5201] CHIP:DMG: - [1655290768.026692][5196:5201] CHIP:DMG: ], + [1655290768.026692][5196:5201] CHIP:DMG: ], [1655290768.026725][5196:5201] CHIP:DMG: - [1655290768.026752][5196:5201] CHIP:DMG: InteractionModelRevision = 1 + [1655290768.026752][5196:5201] CHIP:DMG: InteractionModelRevision = 1 [1655290768.026779][5196:5201] CHIP:DMG: }, [1655290768.026804][5196:5201] CHIP:DMG: [1655290768.026973][5196:5201] CHIP:DMG: ICR moving to [CommandSen] @@ -153,32 +158,32 @@ tests: [1655290768.111311][5196:5201] CHIP:DMG: ICR moving to [ResponseRe] [1655290768.111353][5196:5201] CHIP:DMG: InvokeResponseMessage = [1655290768.111378][5196:5201] CHIP:DMG: { - [1655290768.111403][5196:5201] CHIP:DMG: suppressResponse = false, - [1655290768.111427][5196:5201] CHIP:DMG: InvokeResponseIBs = - [1655290768.111458][5196:5201] CHIP:DMG: [ - [1655290768.111483][5196:5201] CHIP:DMG: InvokeResponseIB = - [1655290768.111515][5196:5201] CHIP:DMG: { - [1655290768.111540][5196:5201] CHIP:DMG: CommandDataIB = - [1655290768.111573][5196:5201] CHIP:DMG: { - [1655290768.111603][5196:5201] CHIP:DMG: CommandPathIB = - [1655290768.111640][5196:5201] CHIP:DMG: { - [1655290768.111678][5196:5201] CHIP:DMG: EndpointId = 0x0, - [1655290768.111717][5196:5201] CHIP:DMG: ClusterId = 0x30, - [1655290768.111755][5196:5201] CHIP:DMG: CommandId = 0x1, - [1655290768.111790][5196:5201] CHIP:DMG: }, + [1655290768.111403][5196:5201] CHIP:DMG: suppressResponse = false, + [1655290768.111427][5196:5201] CHIP:DMG: InvokeResponseIBs = + [1655290768.111458][5196:5201] CHIP:DMG: [ + [1655290768.111483][5196:5201] CHIP:DMG: InvokeResponseIB = + [1655290768.111515][5196:5201] CHIP:DMG: { + [1655290768.111540][5196:5201] CHIP:DMG: CommandDataIB = + [1655290768.111573][5196:5201] CHIP:DMG: { + [1655290768.111603][5196:5201] CHIP:DMG: CommandPathIB = + [1655290768.111640][5196:5201] CHIP:DMG: { + [1655290768.111678][5196:5201] CHIP:DMG: EndpointId = 0x0, + [1655290768.111717][5196:5201] CHIP:DMG: ClusterId = 0x30, + [1655290768.111755][5196:5201] CHIP:DMG: CommandId = 0x1, + [1655290768.111790][5196:5201] CHIP:DMG: }, [1655290768.111825][5196:5201] CHIP:DMG: - [1655290768.111855][5196:5201] CHIP:DMG: CommandFields = - [1655290768.111891][5196:5201] CHIP:DMG: { - [1655290768.111929][5196:5201] CHIP:DMG: 0x0 = 0, - [1655290768.111966][5196:5201] CHIP:DMG: 0x1 = "", - [1655290768.112000][5196:5201] CHIP:DMG: }, - [1655290768.112034][5196:5201] CHIP:DMG: }, + [1655290768.111855][5196:5201] CHIP:DMG: CommandFields = + [1655290768.111891][5196:5201] CHIP:DMG: { + [1655290768.111929][5196:5201] CHIP:DMG: 0x0 = 0, + [1655290768.111966][5196:5201] CHIP:DMG: 0x1 = "", + [1655290768.112000][5196:5201] CHIP:DMG: }, + [1655290768.112034][5196:5201] CHIP:DMG: }, [1655290768.112068][5196:5201] CHIP:DMG: - [1655290768.112095][5196:5201] CHIP:DMG: }, + [1655290768.112095][5196:5201] CHIP:DMG: }, [1655290768.112125][5196:5201] CHIP:DMG: - [1655290768.112149][5196:5201] CHIP:DMG: ], + [1655290768.112149][5196:5201] CHIP:DMG: ], [1655290768.112179][5196:5201] CHIP:DMG: - [1655290768.112203][5196:5201] CHIP:DMG: InteractionModelRevision = 1 + [1655290768.112203][5196:5201] CHIP:DMG: InteractionModelRevision = 1 [1655290768.112226][5196:5201] CHIP:DMG: }, [1655290768.112287][5196:5201] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0030 Command=0x0000_0001 [1655290768.112354][5196:5201] CHIP:CTL: Received ArmFailSafe response errorCode=0 @@ -200,7 +205,9 @@ tests: Not Verifiable disabled: true - - label: "TH sends ArmFailSafe command to the DUT" + - label: + "TH sends ArmFailSafe command to the DUT with the ExpiryLengthSeconds + field set to 900" verification: | Not Verifiable disabled: true @@ -218,7 +225,9 @@ tests: Not Verifiable disabled: true - - label: "TH sends ArmFailSafe command to the DUT" + - label: + "TH sends ArmFailSafe command to the DUT with the ExpiryLengthSeconds + field set to 900" verification: | disabled: true @@ -237,7 +246,9 @@ tests: disabled: true - - label: "TH sends ArmFailSafe command to the DUT" + - label: + "TH sends ArmFailSafe command to the DUT with the ExpiryLengthSeconds + field set to 900" verification: | disabled: true @@ -255,7 +266,9 @@ tests: disabled: true - - label: "TH sends ArmFailSafe command to the DUT" + - label: + "TH sends ArmFailSafe command to the DUT with the ExpiryLengthSeconds + field set to 900" verification: | disabled: true @@ -273,7 +286,9 @@ tests: disabled: true - - label: "TH sends ArmFailSafe command to the DUT" + - label: + "TH sends ArmFailSafe command to the DUT with the ExpiryLengthSeconds + field set to 900" verification: | disabled: true @@ -291,7 +306,9 @@ tests: disabled: true - - label: "TH sends ArmFailSafe command to the DUT" + - label: + "TH sends ArmFailSafe command to the DUT with the ExpiryLengthSeconds + field set to 900" verification: | 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 new file mode 100644 index 00000000000000..6190e94f5c7d70 --- /dev/null +++ b/src/app/tests/suites/certification/Test_TC_OPCREDS_3_5.yaml @@ -0,0 +1,648 @@ +# Copyright (c) 2021 Project CHIP Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default + +name: 11.3.5. [TC-OPCREDS-3.5] NOC Check for UpdateNOC [DUT-Server] + +config: + nodeId: 0x12344321 + cluster: "Basic" + endpoint: 0 + +tests: + - label: "TH sends AttestationRequest command to DUT" + PICS: OPCREDS.S.C00.Rsp + verification: | + Verify in TH Log + + [1657692834.294945][15001:15006] CHIP:CTL: Sending Attestation Request to the device. + [1657692834.294967][15001:15006] CHIP:CTL: Sending Attestation request to 0xffff8c000b60 device + [1657692834.295032][15001:15006] CHIP:DMG: ICR moving to [AddingComm] + [1657692834.295065][15001:15006] CHIP:DMG: ICR moving to [AddedComma] + [1657692834.295331][15001:15006] CHIP:IN: Prepared secure message 0xffffa231f988 to 0xFFFFFFFB00000000 (0) of type 0x8 and protocolId (0, 1) on exchange 3700i with MessageCounter:235938698. + [1657692834.295384][15001:15006] CHIP:IN: Sending encrypted msg 0xffffa231f988 with MessageCounter:235938698 to 0xFFFFFFFB00000000 (0) at monotonic time: 0000000000DE2871 msec + [1657692834.295600][15001:15006] CHIP:DMG: >> to BLE | 235938698 | [Interaction Model (1) / InvokeCommandRequest (0x08) / Session = 5075 / Exchange = 3700] + [1657692834.295641][15001:15006] CHIP:DMG: Header Flags = + [1657692834.295663][15001:15006] CHIP:DMG: { + [1657692834.295699][15001:15006] CHIP:DMG: Exchange (0x01) = + [1657692834.295721][15001:15006] CHIP:DMG: { + [1657692834.295740][15001:15006] CHIP:DMG: Initiator = true + [1657692834.295761][15001:15006] CHIP:DMG: } + [1657692834.295792][15001:15006] CHIP:DMG: } + [1657692834.295814][15001:15006] CHIP:DMG: + [1657692834.295842][15001:15006] CHIP:DMG: Encrypted Payload (94 bytes) = + [1657692834.295863][15001:15006] CHIP:DMG: { + [1657692834.295884][15001:15006] CHIP:DMG: data = 00d313008a23100e7391b8cd6ec52c1a2bd9f2c1bba2e8a89e8b47c3d6b20bfa893432d51eabbd9c5bb2b7770ab0af408fa84779ea66ea18d9a8e00fe54a3c66f98f02803e9e88d0ffa90bd743f8ddfffb457458d94f98d92a48403604b1 + [1657692834.295907][15001:15006] CHIP:DMG: buffer_ptr = 281473030611168 + [1657692834.295928][15001:15006] CHIP:DMG: } + [1657692834.295947][15001:15006] CHIP:DMG: + [1657692834.296018][15001:15006] CHIP:DMG: InvokeRequestMessage = + [1657692834.296045][15001:15006] CHIP:DMG: { + [1657692834.296068][15001:15006] CHIP:DMG: suppressResponse = false, + [1657692834.296094][15001:15006] CHIP:DMG: timedRequest = false, + [1657692834.296118][15001:15006] CHIP:DMG: InvokeRequests = + [1657692834.296149][15001:15006] CHIP:DMG: [ + [1657692834.296173][15001:15006] CHIP:DMG: CommandDataIB = + [1657692834.296200][15001:15006] CHIP:DMG: { + [1657692834.296225][15001:15006] CHIP:DMG: CommandPathIB = + [1657692834.296258][15001:15006] CHIP:DMG: { + [1657692834.296290][15001:15006] CHIP:DMG: EndpointId = 0x0, + [1657692834.296326][15001:15006] CHIP:DMG: ClusterId = 0x3e, + [1657692834.296361][15001:15006] CHIP:DMG: CommandId = 0x0, + [1657692834.296395][15001:15006] CHIP:DMG: }, + [1657692834.296428][15001:15006] CHIP:DMG: + [1657692834.296457][15001:15006] CHIP:DMG: CommandFields = + [1657692834.296487][15001:15006] CHIP:DMG: { + [1657692834.296518][15001:15006] CHIP:DMG: 0x0 = [ + [1657692834.296560][15001:15006] CHIP:DMG: 0x19, 0xa1, 0xd0, 0xac, 0xea, 0x29, 0x38, 0xb6, 0x8e, 0x70, 0xd5, 0x82, 0xc9, 0x42, 0x66, 0xec, 0x9, 0xd, 0x58, 0xe9, 0x43, 0x1c, 0x2d, 0x79, 0x1a, 0xeb, 0x1d, 0x43, 0xcb, 0x70, 0xe7, 0x49, + [1657692834.296598][15001:15006] CHIP:DMG: ] + [1657692834.296631][15001:15006] CHIP:DMG: }, + [1657692834.296659][15001:15006] CHIP:DMG: }, + [1657692834.296691][15001:15006] CHIP:DMG: + [1657692834.296714][15001:15006] CHIP:DMG: ], + [1657692834.296744][15001:15006] CHIP:DMG: + [1657692834.296767][15001:15006] CHIP:DMG: InteractionModelRevision = 1 + [1657692834.296790][15001:15006] CHIP:DMG: }, + [1657692834.296812][15001:15006] CHIP:DMG: + [1657692834.296949][15001:15006] CHIP:DMG: ICR moving to [CommandSen] + [1657692834.296993][15001:15006] CHIP:CTL: Sent Attestation request, waiting for the Attestation Information + disabled: true + + - label: "TH sends CertificateChainRequest command to DUT" + PICS: OPCREDS.S.C02.Rsp + verification: | + Verify in TH log: + + [1657692833.616096][15001:15006] CHIP:CTL: Sending Certificate Chain request to 0xffff8c000b60 device + [1657692833.616182][15001:15006] CHIP:DMG: ICR moving to [AddingComm] + [1657692833.616248][15001:15006] CHIP:DMG: ICR moving to [AddedComma] + [1657692833.616573][15001:15006] CHIP:IN: Prepared secure message 0xffffa231f9b8 to 0xFFFFFFFB00000000 (0) of type 0x8 and protocolId (0, 1) on exchange 3698i with MessageCounter:235938696. + [1657692833.616638][15001:15006] CHIP:IN: Sending encrypted msg 0xffffa231f9b8 with MessageCounter:235938696 to 0xFFFFFFFB00000000 (0) at monotonic time: 0000000000DE25CA msec + [1657692833.616954][15001:15006] CHIP:DMG: >> to BLE | 235938696 | [Interaction Model (1) / InvokeCommandRequest (0x08) / Session = 5075 / Exchange = 3698] + [1657692833.617014][15001:15006] CHIP:DMG: Header Flags = + [1657692833.617050][15001:15006] CHIP:DMG: { + [1657692833.617104][15001:15006] CHIP:DMG: Exchange (0x01) = + [1657692833.617140][15001:15006] CHIP:DMG: { + [1657692833.617173][15001:15006] CHIP:DMG: Initiator = true + [1657692833.617207][15001:15006] CHIP:DMG: } + [1657692833.617251][15001:15006] CHIP:DMG: } + [1657692833.617285][15001:15006] CHIP:DMG: + [1657692833.617328][15001:15006] CHIP:DMG: Encrypted Payload (62 bytes) = + [1657692833.617362][15001:15006] CHIP:DMG: { + [1657692833.617397][15001:15006] CHIP:DMG: data = 00d313008823100e2d0885aaa9bde5bb3966dbe113c964fe6a122d68da934cc7bc7459d38f49b1cc63d4bf34ceacfea2682b8c283306d541ceab243bd20b + [1657692833.617434][15001:15006] CHIP:DMG: buffer_ptr = 281473030611168 + [1657692833.617467][15001:15006] CHIP:DMG: } + [1657692833.617500][15001:15006] CHIP:DMG: + [1657692833.617595][15001:15006] CHIP:DMG: InvokeRequestMessage = + [1657692833.617638][15001:15006] CHIP:DMG: { + [1657692833.617712][15001:15006] CHIP:DMG: suppressResponse = false, + [1657692833.617759][15001:15006] CHIP:DMG: timedRequest = false, + [1657692833.617799][15001:15006] CHIP:DMG: InvokeRequests = + [1657692833.617848][15001:15006] CHIP:DMG: [ + [1657692833.617887][15001:15006] CHIP:DMG: CommandDataIB = + [1657692833.617931][15001:15006] CHIP:DMG: { + [1657692833.617972][15001:15006] CHIP:DMG: CommandPathIB = + [1657692833.618024][15001:15006] CHIP:DMG: { + [1657692833.618072][15001:15006] CHIP:DMG: EndpointId = 0x0, + [1657692833.618115][15001:15006] CHIP:DMG: ClusterId = 0x3e, + [1657692833.618157][15001:15006] CHIP:DMG: CommandId = 0x2, + [1657692833.618196][15001:15006] CHIP:DMG: }, + [1657692833.618247][15001:15006] CHIP:DMG: + [1657692833.618289][15001:15006] CHIP:DMG: CommandFields = + [1657692833.618338][15001:15006] CHIP:DMG: { + [1657692833.618388][15001:15006] CHIP:DMG: 0x0 = 2, + [1657692833.618441][15001:15006] CHIP:DMG: }, + [1657692833.618486][15001:15006] CHIP:DMG: }, + [1657692833.618533][15001:15006] CHIP:DMG: + [1657692833.618572][15001:15006] CHIP:DMG: ], + [1657692833.618618][15001:15006] CHIP:DMG: + [1657692833.618657][15001:15006] CHIP:DMG: InteractionModelRevision = 1 + [1657692833.618695][15001:15006] CHIP:DMG: }, + [1657692833.618731][15001:15006] CHIP:DMG: + [1657692833.618891][15001:15006] CHIP:DMG: ICR moving to [CommandSen] + [1657692833.618981][15001:15006] CHIP:DMG: ICR moving to [AwaitingDe] + [1657692833.706399][15001:15006] CHIP:DL: HandlePlatformSpecificBLEEvent 16387 + [1657692833.755363][15001:15004] CHIP:DL: Indication received, conn = 0xffff98039d40 + [1657692833.755629][15001:15006] CHIP:DL: HandlePlatformSpecificBLEEvent 16389 + [1657692833.856025][15001:15004] CHIP:DL: Indication received, conn = 0xffff98039d40 + [1657692833.856273][15001:15006] CHIP:DL: HandlePlatformSpecificBLEEvent 16389 + [1657692833.951459][15001:15004] CHIP:DL: Indication received, conn = 0xffff98039d40 + [1657692833.951692][15001:15006] CHIP:DL: HandlePlatformSpecificBLEEvent 16389 + [1657692833.952945][15001:15006] CHIP:DMG: << from BLE | 53738028 | [Interaction Model (1) / InvokeCommandResponse (0x09) / Session = 59681 / Exchange = 3698] + [1657692833.953046][15001:15006] CHIP:DMG: Header Flags = + [1657692833.953104][15001:15006] CHIP:DMG: { + [1657692833.953200][15001:15006] CHIP:DMG: } + [1657692833.953254][15001:15006] CHIP:DMG: + [1657692833.953349][15001:15006] CHIP:DMG: Encrypted Payload (527 bytes) = + [1657692833.953405][15001:15006] CHIP:DMG: { + [1657692833.953582][15001:15006] CHIP:DMG: data = 0021e9002cfa33033d2ece47b273d5016ec819dfcb52459d0983178bcb90e4c94416a0692d4a62589bcbd78e4bc2b80f5586a1513a0cc062d6b792a0f6768e8b932a2c6feec53314ee7d1012eb7c2b4b8ae1ae9bc874f9c7ff75afff9a0aeaa89f91d6eb4e5b899843245dfbd56f676709ee1aa408ccc4867c9f917ada4e59af26b24c007a7062d1204b733aeb7f56db1f997bd10be630832c2a9730ba1a04b6c448af932e7f48a592a410374e3c2b6e69e3ae6c84bfdb50df1819836f33480a1d6469cb35c302ff589ff4feb93584ab8590c370224e99b9409d0e131b7d92f8a9ae063a676fddda30e40274b2dc897f049b00c6c1b92a198a0960aa2ff4adfc3675520d3a9b99082465842e39a11e820b6faea9bc99734235c87525477b60ca299d13ae75b3623da74f12e0c1a57adf036faa78f5eb86e4eb5b702cc0a783973d6561ffda96295c6f84aa4f27f07f2a3e18992950e96c661bef9f8d39978850cd67c9095f8e2d4ecdc7f68836cb9da0b970c59e7c9ac5d0420bf5f7bebc588a1b53eb8be31877ae696f3ca7f30366c64162cc4c4e639488142870ec4efcb0cdc0565a304ad3440556a5384d7f1bb781d26fa1c0578b7c84d154dfb6d616873465b362a1a11880ee3b97de84b7dc0f62c7735aa6a2e434847ad830757fa7bb0d41d4f8edd58aefc501efcf3d341841df1216c91bf08d5d1148512e9f3f9d0fc605c59110ce9d26136b68e5229d2781 + [1657692833.953772][15001:15006] CHIP:DMG: buffer_ptr = 281473030638032 + [1657692833.953826][15001:15006] CHIP:DMG: } + [1657692833.953876][15001:15006] CHIP:DMG: + [1657692833.954157][15001:15006] CHIP:DMG: DAC/PAI (463) = + [1657692833.954291][15001:15006] 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----- + [1657692833.954511][15001:15006] CHIP:DMG: } + [1657692833.954582][15001:15006] CHIP:DMG: + [1657692833.954647][15001:15006] CHIP:DMG: + [1657692833.954750][15001:15006] CHIP:DMG: Additional Fields = + [1657692833.954809][15001:15006] CHIP:DMG: { + [1657692833.954888][15001:15006] CHIP:DMG: peer_address = BLE + [1657692833.954944][15001:15006] CHIP:DMG: } + [1657692833.954994][15001:15006] CHIP:DMG: + [1657692833.955083][15001:15006] CHIP:EM: Received message of type 0x9 with protocolId (0, 1) and MessageCounter:53738028 on exchange 3698i + [1657692833.955149][15001:15006] CHIP:EM: Found matching exchange: 3698i, Delegate: 0xffff8c012680 + [1657692833.955263][15001:15006] CHIP:DMG: ICR moving to [ResponseRe] + [1657692833.955374][15001:15006] CHIP:DMG: InvokeResponseMessage = + [1657692833.955435][15001:15006] CHIP:DMG: { + [1657692833.955515][15001:15006] CHIP:DMG: suppressResponse = false, + [1657692833.955576][15001:15006] CHIP:DMG: InvokeResponseIBs = + [1657692833.955677][15001:15006] CHIP:DMG: [ + [1657692833.955737][15001:15006] CHIP:DMG: InvokeResponseIB = + [1657692833.955839][15001:15006] CHIP:DMG: { + [1657692833.955904][15001:15006] CHIP:DMG: CommandDataIB = + [1657692833.956000][15001:15006] CHIP:DMG: { + [1657692833.956073][15001:15006] CHIP:DMG: CommandPathIB = + [1657692833.956177][15001:15006] CHIP:DMG: { + [1657692833.956281][15001:15006] CHIP:DMG: EndpointId = 0x0, + [1657692833.956375][15001:15006] CHIP:DMG: ClusterId = 0x3e, + [1657692833.956479][15001:15006] CHIP:DMG: CommandId = 0x3, + [1657692833.956579][15001:15006] CHIP:DMG: }, + [1657692833.956663][15001:15006] CHIP:DMG: + [1657692833.956886][15001:15006] CHIP:DMG: CommandFields = + [1657692833.956980][15001:15006] CHIP:DMG: { + [1657692833.957257][15001:15006] CHIP:DMG: 0x0 = [ + [1657692833.957640][15001:15006] 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, + [1657692833.957850][15001:15006] CHIP:DMG: ] + [1657692833.957936][15001:15006] CHIP:DMG: }, + [1657692833.958011][15001:15006] CHIP:DMG: }, + [1657692833.958094][15001:15006] CHIP:DMG: + [1657692833.958187][15001:15006] CHIP:DMG: }, + [1657692833.958264][15001:15006] CHIP:DMG: + [1657692833.958462][15001:15006] CHIP:DMG: ], + [1657692833.958543][15001:15006] CHIP:DMG: + [1657692833.958681][15001:15006] CHIP:DMG: InteractionModelRevision = 1 + [1657692833.958765][15001:15006] CHIP:DMG: }, + [1657692833.958929][15001:15006] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_003E Command=0x0000_0003 + [1657692833.959028][15001:15006] CHIP:CTL: Received certificate chain from the device + disabled: true + + - label: "TH1 Sends CSRRequest command" + PICS: OPCREDS.S.C04.Rsp + verification: | + Verify in TH Log + + [1657692834.696638][15001:15006] CHIP:CTL: Sending CSR request to 0xffff8c000b60 device + [1657692834.696719][15001:15006] CHIP:DMG: ICR moving to [AddingComm] + [1657692834.696759][15001:15006] CHIP:DMG: ICR moving to [AddedComma] + [1657692834.697074][15001:15006] CHIP:IN: Prepared secure message 0xffffa231f058 to 0xFFFFFFFB00000000 (0) of type 0x8 and protocolId (0, 1) on exchange 3701i with MessageCounter:235938699. + [1657692834.697128][15001:15006] CHIP:IN: Sending encrypted msg 0xffffa231f058 with MessageCounter:235938699 to 0xFFFFFFFB00000000 (0) at monotonic time: 0000000000DE2A03 msec + [1657692834.697375][15001:15006] CHIP:DMG: >> to BLE | 235938699 | [Interaction Model (1) / InvokeCommandRequest (0x08) / Session = 5075 / Exchange = 3701] + [1657692834.697422][15001:15006] CHIP:DMG: Header Flags = + [1657692834.697450][15001:15006] CHIP:DMG: { + [1657692834.697493][15001:15006] CHIP:DMG: Exchange (0x01) = + [1657692834.697521][15001:15006] CHIP:DMG: { + [1657692834.697545][15001:15006] CHIP:DMG: Initiator = true + [1657692834.697572][15001:15006] CHIP:DMG: } + [1657692834.697605][15001:15006] CHIP:DMG: } + [1657692834.697631][15001:15006] CHIP:DMG: + [1657692834.697690][15001:15006] CHIP:DMG: Encrypted Payload (94 bytes) = + [1657692834.697719][15001:15006] CHIP:DMG: { + [1657692834.697746][15001:15006] CHIP:DMG: data = 00d313008b23100e87e0274c98271a2f4e3dcbf63dad5e4dd5423d6da985cb5067dafbfeba1b4ca6b577b62aa7069568ea1fd0e96b90031748ff0535b32df4ff6beba0116870874480dfe70f1c27479b11ac2c05a2b57532a1455f5faec7 + [1657692834.697775][15001:15006] CHIP:DMG: buffer_ptr = 281473030647456 + [1657692834.697800][15001:15006] CHIP:DMG: } + [1657692834.697824][15001:15006] CHIP:DMG: + [1657692834.697908][15001:15006] CHIP:DMG: InvokeRequestMessage = + [1657692834.697939][15001:15006] CHIP:DMG: { + [1657692834.697968][15001:15006] CHIP:DMG: suppressResponse = false, + [1657692834.698001][15001:15006] CHIP:DMG: timedRequest = false, + [1657692834.698030][15001:15006] CHIP:DMG: InvokeRequests = + [1657692834.698067][15001:15006] CHIP:DMG: [ + [1657692834.698096][15001:15006] CHIP:DMG: CommandDataIB = + [1657692834.698134][15001:15006] CHIP:DMG: { + [1657692834.698165][15001:15006] CHIP:DMG: CommandPathIB = + [1657692834.698202][15001:15006] CHIP:DMG: { + [1657692834.698241][15001:15006] CHIP:DMG: EndpointId = 0x0, + [1657692834.698284][15001:15006] CHIP:DMG: ClusterId = 0x3e, + [1657692834.698327][15001:15006] CHIP:DMG: CommandId = 0x4, + [1657692834.698368][15001:15006] CHIP:DMG: }, + [1657692834.698406][15001:15006] CHIP:DMG: + [1657692834.698440][15001:15006] CHIP:DMG: CommandFields = + [1657692834.698479][15001:15006] CHIP:DMG: { + [1657692834.698557][15001:15006] CHIP:DMG: 0x0 = [ + [1657692834.698611][15001:15006] CHIP:DMG: 0x9d, 0x85, 0xd4, 0x8a, 0xde, 0xc0, 0xe8, 0xb4, 0x1e, 0xe8, 0xcd, 0x69, 0xc9, 0xd, 0x33, 0xf8, 0x27, 0x34, 0xdb, 0xda, 0x21, 0x79, 0xf8, 0xa, 0xd9, 0x58, 0x3a, 0x3a, 0xf5, 0xd, 0x13, 0x8f, + [1657692834.698658][15001:15006] CHIP:DMG: ] + [1657692834.698697][15001:15006] CHIP:DMG: }, + [1657692834.698731][15001:15006] CHIP:DMG: }, + [1657692834.698769][15001:15006] CHIP:DMG: + [1657692834.698797][15001:15006] CHIP:DMG: ], + [1657692834.698834][15001:15006] CHIP:DMG: + [1657692834.698862][15001:15006] CHIP:DMG: InteractionModelRevision = 1 + [1657692834.698891][15001:15006] CHIP:DMG: }, + [1657692834.698919][15001:15006] CHIP:DMG: + [1657692834.699059][15001:15006] CHIP:DMG: ICR moving to [CommandSen] + [1657692834.699101][15001:15006] CHIP:CTL: Sent CSR request, waiting for the CSR + [1657692834.699162][15001:15006] CHIP:DMG: ICR moving to [AwaitingDe] + [1657692834.779469][15001:15006] CHIP:DL: HandlePlatformSpecificBLEEvent 16387 + [1657692834.827730][15001:15004] CHIP:DL: Indication received, conn = 0xffff98039d40 + [1657692834.827972][15001:15006] CHIP:DL: HandlePlatformSpecificBLEEvent 16389 + [1657692834.926634][15001:15004] CHIP:DL: Indication received, conn = 0xffff98039d40 + [1657692834.926774][15001:15006] CHIP:DL: HandlePlatformSpecificBLEEvent 16389 + [1657692834.927302][15001:15006] CHIP:DMG: << from BLE | 53738031 | [Interaction Model (1) / InvokeCommandResponse (0x09) / Session = 59681 / Exchange = 3701] + [1657692834.927345][15001:15006] CHIP:DMG: Header Flags = + [1657692834.927368][15001:15006] CHIP:DMG: { + [1657692834.927406][15001:15006] CHIP:DMG: } + [1657692834.927428][15001:15006] CHIP:DMG: + [1657692834.927455][15001:15006] CHIP:DMG: Encrypted Payload (373 bytes) = + [1657692834.927477][15001:15006] CHIP:DMG: { + [1657692834.927498][15001:15006] CHIP:DMG: data = 0021e9002ffa3303c4020b916e941fcaae43147a156b15b9e1b0d8918f32067d4462d77b45fb0eb420646ee134d769d4137d00063be9e2695081e24037a737ee07afe2e895206f2e0473326a9049b6ad0d0fb37c5034f9b382fa3ed9eed81e06594d2522271e260f0f0694e25bb6df63c9b91dd7659c32e5a35e9d8581aca39f7d77dca65a0306ce16e8e1da79d8604cf998a2864fc69a29fe88189bcf7db07243ddc18f651389aca85c9a09b5c8a9bf66628fbad1275bd833f1a7669d463ee9c61beff5be8bc3ec67cd919d4600d3a19a1ee7e5a79a649c8044774209098fc3b0bd6e0daf3baabf9b4f24c27b3d4a8a93ae1e473e749e5a3cfecca667aa15622a061447dbf92d464c07df57ce2557a58941bdbda7e16caa75dfc79cd90b154db68ff5170b1cdad5dc387bf587e93ecb575757d54e75d17c1aa0c5f7b5742cf9ff8051d1768cf5fe19e4aa17932906660c6b2a83e04cd17e26e9a9a2d62e5c094980fe57fed943c567afafd648f7eadfc1a025cc2f + [1657692834.927529][15001:15006] CHIP:DMG: buffer_ptr = 281473030654064 + [1657692834.927549][15001:15006] CHIP:DMG: } + [1657692834.927569][15001:15006] CHIP:DMG: + [1657692834.927668][15001:15006] CHIP:DMG: NOCSR Elements = + [1657692834.927691][15001:15006] CHIP:DMG: { + [1657692834.927722][15001:15006] CHIP:DMG: CSR (203) = 3081C83070020100300E310C300A060355040A0C034353523059301306072A8648CE3D020106082A8648CE3D030107034200041DEA2CF348149F1ABFC0E6F947059BB63B30C5A62E14D29482D1265D50E42B55B696D0E9FA32BA0960E6905BE93A89A2F4DE588E3C2C0B9A29FF8128D09BE439A000300A06082A8648CE3D040302034800304502205AD685009D4907C15A852416607F482343DAF1444A0D2E37239CF22F37CEBAFD022100BC6B0D761BFF897DB4E7AF1D16D446E67605B38C064CA7323E7CA405AAB92E77 + [1657692834.927749][15001:15006] CHIP:DMG: CSRNonce (32) = 9D85D48ADEC0E8B41EE8CD69C90D33F82734DBDA2179F80AD9583A3AF50D138F + [1657692834.927771][15001:15006] CHIP:DMG: } + [1657692834.927790][15001:15006] CHIP:DMG: + [1657692834.927811][15001:15006] CHIP:DMG: CSR (203) = + [1657692834.927845][15001:15006] CHIP:DMG: { + -----BEGIN CERTIFICATE REQUEST----- + MIHIMHACAQAwDjEMMAoGA1UECgwDQ1NSMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcD + QgAEHeos80gUnxq/wOb5RwWbtjswxaYuFNKUgtEmXVDkK1W2ltDp+jK6CWDmkFvp + Oomi9N5YjjwsC5op/4Eo0JvkOaAAMAoGCCqGSM49BAMCA0gAMEUCIFrWhQCdSQfB + WoUkFmB/SCND2vFESg0uNyOc8i83zrr9AiEAvGsNdhv/iX20568dFtRG5nYFs4wG + TKcyPnykBaq5Lnc= + -----END CERTIFICATE REQUEST----- + [1657692834.927980][15001:15006] CHIP:DMG: } + [1657692834.928001][15001:15006] CHIP:DMG: + [1657692834.928029][15001:15006] CHIP:DMG: + [1657692834.928064][15001:15006] CHIP:DMG: Additional Fields = + [1657692834.928087][15001:15006] CHIP:DMG: { + [1657692834.928110][15001:15006] CHIP:DMG: peer_address = BLE + [1657692834.928132][15001:15006] CHIP:DMG: } + [1657692834.928153][15001:15006] CHIP:DMG: + [1657692834.928180][15001:15006] CHIP:EM: Received message of type 0x9 with protocolId (0, 1) and MessageCounter:53738031 on exchange 3701i + [1657692834.928208][15001:15006] CHIP:EM: Found matching exchange: 3701i, Delegate: 0xffff9803b4b0 + [1657692834.928248][15001:15006] CHIP:DMG: ICR moving to [ResponseRe] + [1657692834.928288][15001:15006] CHIP:DMG: InvokeResponseMessage = + [1657692834.928312][15001:15006] CHIP:DMG: { + [1657692834.928336][15001:15006] CHIP:DMG: suppressResponse = false, + [1657692834.928361][15001:15006] CHIP:DMG: InvokeResponseIBs = + [1657692834.928392][15001:15006] CHIP:DMG: [ + [1657692834.928415][15001:15006] CHIP:DMG: InvokeResponseIB = + [1657692834.928448][15001:15006] CHIP:DMG: { + [1657692834.928474][15001:15006] CHIP:DMG: CommandDataIB = + [1657692834.928505][15001:15006] CHIP:DMG: { + [1657692834.928533][15001:15006] CHIP:DMG: CommandPathIB = + [1657692834.928565][15001:15006] CHIP:DMG: { + [1657692834.928598][15001:15006] CHIP:DMG: EndpointId = 0x0, + [1657692834.928632][15001:15006] CHIP:DMG: ClusterId = 0x3e, + [1657692834.928665][15001:15006] CHIP:DMG: CommandId = 0x5, + [1657692834.928696][15001:15006] CHIP:DMG: }, + [1657692834.928730][15001:15006] CHIP:DMG: + [1657692834.928759][15001:15006] CHIP:DMG: CommandFields = + [1657692834.928791][15001:15006] CHIP:DMG: { + [1657692834.928823][15001:15006] CHIP:DMG: 0x0 = [ + [1657692834.928936][15001:15006] CHIP:DMG: 0x15, 0x30, 0x1, 0xcb, 0x30, 0x81, 0xc8, 0x30, 0x70, 0x2, 0x1, 0x0, 0x30, 0xe, 0x31, 0xc, 0x30, 0xa, 0x6, 0x3, 0x55, 0x4, 0xa, 0xc, 0x3, 0x43, 0x53, 0x52, 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, 0x1d, 0xea, 0x2c, 0xf3, 0x48, 0x14, 0x9f, 0x1a, 0xbf, 0xc0, 0xe6, 0xf9, 0x47, 0x5, 0x9b, 0xb6, 0x3b, 0x30, 0xc5, 0xa6, 0x2e, 0x14, 0xd2, 0x94, 0x82, 0xd1, 0x26, 0x5d, 0x50, 0xe4, 0x2b, 0x55, 0xb6, 0x96, 0xd0, 0xe9, 0xfa, 0x32, 0xba, 0x9, 0x60, 0xe6, 0x90, 0x5b, 0xe9, 0x3a, 0x89, 0xa2, 0xf4, 0xde, 0x58, 0x8e, 0x3c, 0x2c, 0xb, 0x9a, 0x29, 0xff, 0x81, 0x28, 0xd0, 0x9b, 0xe4, 0x39, 0xa0, 0x0, 0x30, 0xa, 0x6, 0x8, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x4, 0x3, 0x2, 0x3, 0x48, 0x0, 0x30, 0x45, 0x2, 0x20, 0x5a, 0xd6, 0x85, 0x0, 0x9d, 0x49, 0x7, 0xc1, 0x5a, 0x85, 0x24, 0x16, 0x60, 0x7f, 0x48, 0x23, 0x43, 0xda, 0xf1, 0x44, 0x4a, 0xd, 0x2e, 0x37, 0x23, 0x9c, 0xf2, 0x2f, 0x37, 0xce, 0xba, 0xfd, 0x2, 0x21, 0x0, 0xbc, 0x6b, 0xd, 0x76, 0x1b, 0xff, 0x89, 0x7d, 0xb4, 0xe7, 0xaf, 0x1d, 0x16, 0xd4, 0x46, 0xe6, 0x76, 0x5, 0xb3, 0x8c, 0x6, 0x4c, 0xa7, 0x32, 0x3e, 0x7c, 0xa4, 0x5, 0xaa, 0xb9, 0x2e, 0x77, 0x30, 0x2, 0x20, 0x9d, 0x85, 0xd4, 0x8a, 0xde, 0xc0, 0xe8, 0xb4, 0x1e, 0xe8, 0xcd, 0x69, 0xc9, 0xd, 0x33, 0xf8, 0x27, 0x34, 0xdb, 0xda, 0x21, 0x79, 0xf8, 0xa, 0xd9, 0x58, 0x3a, 0x3a, 0xf5, 0xd, 0x13, 0x8f, 0x18, + [1657692834.929002][15001:15006] CHIP:DMG: ] + [1657692834.929034][15001:15006] CHIP:DMG: 0x1 = [ + [1657692834.929087][15001:15006] CHIP:DMG: 0x1b, 0xf3, 0x5, 0x7d, 0x89, 0x4, 0x12, 0x38, 0x6, 0x97, 0xa3, 0x34, 0xa0, 0xd7, 0x2c, 0xba, 0x22, 0xa3, 0xc, 0xe4, 0xfe, 0xf9, 0x7b, 0x4d, 0x70, 0x46, 0xe7, 0xd9, 0x96, 0x82, 0xa3, 0x39, 0xfd, 0x67, 0x54, 0xe8, 0x0, 0xe7, 0xe5, 0xd4, 0x94, 0x8c, 0xd2, 0x7e, 0x14, 0xa9, 0xa2, 0x48, 0xa8, 0x61, 0xbb, 0xba, 0x5b, 0x21, 0xf7, 0xa8, 0x56, 0xe5, 0xcc, 0x8a, 0xae, 0xe6, 0xb5, 0x5c, + [1657692834.929128][15001:15006] CHIP:DMG: ] + [1657692834.929161][15001:15006] CHIP:DMG: }, + [1657692834.929191][15001:15006] CHIP:DMG: }, + [1657692834.929224][15001:15006] CHIP:DMG: + [1657692834.929251][15001:15006] CHIP:DMG: }, + [1657692834.929281][15001:15006] CHIP:DMG: + [1657692834.929304][15001:15006] CHIP:DMG: ], + [1657692834.929336][15001:15006] CHIP:DMG: + [1657692834.929365][15001:15006] CHIP:DMG: InteractionModelRevision = 1 + [1657692834.929394][15001:15006] CHIP:DMG: }, + [1657692834.929525][15001:15006] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_003E Command=0x0000_0005 + [1657692834.929571][15001:15006] CHIP:CTL: Received certificate signing request from the device + disabled: true + + - label: + "TH sends ArmFailSafe command to the DUT with the ExpiryLengthSeconds + field set to 900" + verification: | + Verify in TH Log + + 'ReadCommissioningInfo' -> 'ArmFailSafe' + [1657692833.420958][15001:15006] CHIP:CTL: Performing next commissioning step 'ArmFailSafe' + [1657692833.420983][15001:15006] CHIP:CTL: Arming failsafe (60 seconds) + [1657692833.421063][15001:15006] CHIP:DMG: ICR moving to [AddingComm] + [1657692833.421099][15001:15006] CHIP:DMG: ICR moving to [AddedComma] + [1657692833.421353][15001:15006] CHIP:IN: Prepared secure message 0xffffa231ff98 to 0xFFFFFFFB00000000 (0) of type 0x8 and protocolId (0, 1) on exchange 3696i with MessageCounter:235938694. + [1657692833.421401][15001:15006] CHIP:IN: Sending encrypted msg 0xffffa231ff98 with MessageCounter:235938694 to 0xFFFFFFFB00000000 (0) at monotonic time: 0000000000DE2507 msec + [1657692833.421618][15001:15006] CHIP:DMG: >> to BLE | 235938694 | [Interaction Model (1) / InvokeCommandRequest (0x08) / Session = 5075 / Exchange = 3696] + [1657692833.421674][15001:15006] CHIP:DMG: Header Flags = + [1657692833.421701][15001:15006] CHIP:DMG: { + [1657692833.421740][15001:15006] CHIP:DMG: Exchange (0x01) = + [1657692833.421765][15001:15006] CHIP:DMG: { + [1657692833.421787][15001:15006] CHIP:DMG: Initiator = true + [1657692833.421811][15001:15006] CHIP:DMG: } + [1657692833.421841][15001:15006] CHIP:DMG: } + [1657692833.421866][15001:15006] CHIP:DMG: + [1657692833.421896][15001:15006] CHIP:DMG: Encrypted Payload (65 bytes) = + [1657692833.421921][15001:15006] CHIP:DMG: { + [1657692833.421945][15001:15006] CHIP:DMG: data = 00d313008623100ec0568e8a42213c3eb81624f5e048f16e2b03fd7d7c013b19f4dc0d161a54963004352477071c64f8ce95f0c72bfb946dd3c7380069e8bdb02e + [1657692833.421970][15001:15006] CHIP:DMG: buffer_ptr = 281473030611168 + [1657692833.421994][15001:15006] CHIP:DMG: } + [1657692833.422017][15001:15006] CHIP:DMG: + [1657692833.422089][15001:15006] CHIP:DMG: InvokeRequestMessage = + [1657692833.422119][15001:15006] CHIP:DMG: { + [1657692833.422145][15001:15006] CHIP:DMG: suppressResponse = false, + [1657692833.422175][15001:15006] CHIP:DMG: timedRequest = false, + [1657692833.422202][15001:15006] CHIP:DMG: InvokeRequests = + [1657692833.422237][15001:15006] CHIP:DMG: [ + [1657692833.422265][15001:15006] CHIP:DMG: CommandDataIB = + [1657692833.422298][15001:15006] CHIP:DMG: { + [1657692833.422327][15001:15006] CHIP:DMG: CommandPathIB = + [1657692833.422360][15001:15006] CHIP:DMG: { + [1657692833.422395][15001:15006] CHIP:DMG: EndpointId = 0x0, + [1657692833.422436][15001:15006] CHIP:DMG: ClusterId = 0x30, + [1657692833.422473][15001:15006] CHIP:DMG: CommandId = 0x0, + [1657692833.422508][15001:15006] CHIP:DMG: }, + [1657692833.422543][15001:15006] CHIP:DMG: + [1657692833.422574][15001:15006] CHIP:DMG: CommandFields = + [1657692833.422629][15001:15006] CHIP:DMG: { + [1657692833.422671][15001:15006] CHIP:DMG: 0x0 = 60, + [1657692833.422709][15001:15006] CHIP:DMG: 0x1 = 3, + [1657692833.422745][15001:15006] CHIP:DMG: }, + [1657692833.422777][15001:15006] CHIP:DMG: }, + [1657692833.422810][15001:15006] CHIP:DMG: + [1657692833.422836][15001:15006] CHIP:DMG: ], + [1657692833.422870][15001:15006] CHIP:DMG: + [1657692833.422896][15001:15006] CHIP:DMG: InteractionModelRevision = 1 + [1657692833.422923][15001:15006] CHIP:DMG: }, + [1657692833.422948][15001:15006] CHIP:DMG: + [1657692833.423073][15001:15006] CHIP:DMG: ICR moving to [CommandSen] + [1657692833.512147][15001:15006] CHIP:DL: HandlePlatformSpecificBLEEvent 16387 + [1657692833.514134][15001:15004] CHIP:DL: Indication received, conn = 0xffff98039d40 + [1657692833.514356][15001:15006] CHIP:DL: HandlePlatformSpecificBLEEvent 16389 + [1657692833.515168][15001:15006] CHIP:DMG: << from BLE | 53738026 | [Interaction Model (1) / InvokeCommandResponse (0x09) / Session = 59681 / Exchange = 3696] + [1657692833.515256][15001:15006] CHIP:DMG: Header Flags = + [1657692833.515305][15001:15006] CHIP:DMG: { + [1657692833.515388][15001:15006] CHIP:DMG: } + [1657692833.515434][15001:15006] CHIP:DMG: + [1657692833.515493][15001:15006] CHIP:DMG: Encrypted Payload (66 bytes) = + [1657692833.515539][15001:15006] CHIP:DMG: { + [1657692833.515585][15001:15006] CHIP:DMG: data = 0021e9002afa3303b442b0191cb249e8fb06a8c86401c7b98648f97195ddaca2fa6d234fa4bc7f60edb2abb131576cc7437d77361aadcc6fc5c1f59d304f8571ed1c + [1657692833.515633][15001:15006] CHIP:DMG: buffer_ptr = 281473030638032 + [1657692833.515676][15001:15006] CHIP:DMG: } + [1657692833.515718][15001:15006] CHIP:DMG: + [1657692833.515838][15001:15006] CHIP:DMG: + [1657692833.515909][15001:15006] CHIP:DMG: Additional Fields = + [1657692833.515957][15001:15006] CHIP:DMG: { + [1657692833.516006][15001:15006] CHIP:DMG: peer_address = BLE + [1657692833.516052][15001:15006] CHIP:DMG: } + [1657692833.516094][15001:15006] CHIP:DMG: + [1657692833.516148][15001:15006] CHIP:EM: Received message of type 0x9 with protocolId (0, 1) and MessageCounter:53738026 on exchange 3696i + [1657692833.516204][15001:15006] CHIP:EM: Found matching exchange: 3696i, Delegate: 0xffff8c012680 + [1657692833.516276][15001:15006] CHIP:DMG: ICR moving to [ResponseRe] + [1657692833.516353][15001:15006] CHIP:DMG: InvokeResponseMessage = + [1657692833.516405][15001:15006] CHIP:DMG: { + [1657692833.516454][15001:15006] CHIP:DMG: suppressResponse = false, + [1657692833.516505][15001:15006] CHIP:DMG: InvokeResponseIBs = + [1657692833.516570][15001:15006] CHIP:DMG: [ + [1657692833.516621][15001:15006] CHIP:DMG: InvokeResponseIB = + [1657692833.516689][15001:15006] CHIP:DMG: { + [1657692833.516743][15001:15006] CHIP:DMG: CommandDataIB = + [1657692833.516812][15001:15006] CHIP:DMG: { + [1657692833.516874][15001:15006] CHIP:DMG: CommandPathIB = + [1657692833.516943][15001:15006] CHIP:DMG: { + [1657692833.517013][15001:15006] CHIP:DMG: EndpointId = 0x0, + [1657692833.517086][15001:15006] CHIP:DMG: ClusterId = 0x30, + [1657692833.517157][15001:15006] CHIP:DMG: CommandId = 0x1, + [1657692833.517224][15001:15006] CHIP:DMG: }, + [1657692833.517294][15001:15006] CHIP:DMG: + [1657692833.517355][15001:15006] CHIP:DMG: CommandFields = + [1657692833.517423][15001:15006] CHIP:DMG: { + [1657692833.517494][15001:15006] CHIP:DMG: 0x0 = 0, + [1657692833.517569][15001:15006] CHIP:DMG: 0x1 = "", + [1657692833.517641][15001:15006] CHIP:DMG: }, + [1657692833.517752][15001:15006] CHIP:DMG: }, + [1657692833.517824][15001:15006] CHIP:DMG: + [1657692833.517876][15001:15006] CHIP:DMG: }, + [1657692833.517940][15001:15006] CHIP:DMG: + [1657692833.517989][15001:15006] CHIP:DMG: ], + [1657692833.518052][15001:15006] CHIP:DMG: + [1657692833.518102][15001:15006] CHIP:DMG: InteractionModelRevision = 1 + [1657692833.518151][15001:15006] CHIP:DMG: }, + [1657692833.518271][15001:15006] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0030 Command=0x0000_0001 + [1657692833.518340][15001:15006] CHIP:CTL: Received ArmFailSafe response errorCode=0 + [1657692833.518397][15001:15006] CHIP:CTL: Successfully finished commissioning step 'ArmFailSafe' + disabled: true + + - label: "TH sends AddNOC command to DUT" + verification: | + Verify in TH log: + + + [1657692835.177349][15001:15006] CHIP:CTL: Performing next commissioning step 'SendNOC' + [1657692835.177510][15001:15006] CHIP:DMG: ICR moving to [AddingComm] + [1657692835.177619][15001:15006] CHIP:DMG: ICR moving to [AddedComma] + [1657692835.178491][15001:15006] CHIP:IN: Prepared secure message 0xffffa231f9b8 to 0xFFFFFFFB00000000 (0) of type 0x8 and protocolId (0, 1) on exchange 3703i with MessageCounter:235938701. + [1657692835.178603][15001:15006] CHIP:IN: Sending encrypted msg 0xffffa231f9b8 with MessageCounter:235938701 to 0xFFFFFFFB00000000 (0) at monotonic time: 0000000000DE2BE4 msec + [1657692835.179245][15001:15006] CHIP:DMG: >> to BLE | 235938701 | [Interaction Model (1) / InvokeCommandRequest (0x08) / Session = 5075 / Exchange = 3703] + [1657692835.179298][15001:15006] CHIP:DMG: Header Flags = + [1657692835.179326][15001:15006] CHIP:DMG: { + [1657692835.179370][15001:15006] CHIP:DMG: Exchange (0x01) = + [1657692835.179398][15001:15006] CHIP:DMG: { + [1657692835.179423][15001:15006] CHIP:DMG: Initiator = true + [1657692835.179461][15001:15006] CHIP:DMG: } + [1657692835.179496][15001:15006] CHIP:DMG: } + [1657692835.179533][15001:15006] CHIP:DMG: + [1657692835.179572][15001:15006] CHIP:DMG: Encrypted Payload (566 bytes) = + [1657692835.179612][15001:15006] CHIP:DMG: { + [1657692835.179640][15001:15006] CHIP:DMG: data = 00d313008d23100ec0161d7f2a2d94e784835d5ee5a3c3e17bfea89e3393a3c84c6e3a840656e19aea73ca5b5b415432a612dbc3a6555598c26352abc091b46a955513e94574f230caf3408c06b60e70be4427d5809bca2ed9e96ff138665d49a02927abda056bdee0526fff60cd5cdcaf27a0e71e0f207bbd1ee8957f7b4bd9be9bb2e00fe51c368b89c89c88327d4aa9d3d25a22de8e42b227081a3d99725b9f2aad3c581e9187a640f8f072516a38f0c1090782966e3cde20cf96be76bc5cfb42735f189e484a16f2c2bd7ff13a0504bf6f814bc3988683a75862d6323eaeee263306be3cd9df2f6d11dd78ba60891fba2912b81121ac75fc81db54badd4c848a6cfb7cd2abe13404eed7c689ca1774e8c2364ae33d896fe2900a7abb08c3db945848cb5ae40d8f8b2bc7d8bc833d38ef45bcb82f5a50e22368c2828b3053a378680df697810ed959186ec0a78351b5eaba95beab30cd11df061d70a3241d8ce8cf23ca8e3673e172930355a00c1c8b05c2e208919598757d84233c0ec4c5b3923f253f266a7b5bd86ea1981a934919af3f9821d69247dee8783f54d90250f64d099937bb5963193c9f076fbc3ffe0341fbcdd33f6e314965d52628adf43fbfffe6dd603175bc5b5e4d08edcde6c007eb88b11348675937fb24a2cd1285d6688b73b5da97d22b7bba0bdebb9c3d1eab25d25ff99682739ce2c1e84ff34791f178eae38b2cfe45f315cf0f33759e3cf5ce460d900c4f48c74bd9255b9975d6824242186edd7f414db05ec66159e45dc6370586d645 + [1657692835.179705][15001:15006] CHIP:DMG: buffer_ptr = 281473030664192 + [1657692835.179732][15001:15006] CHIP:DMG: } + [1657692835.179757][15001:15006] CHIP:DMG: + [1657692835.179920][15001:15006] CHIP:DMG: NOCValue (241) = + [1657692835.179981][15001:15006] CHIP:DMG: { + FTABAQEkAgE3AyQTARgmBIAigScmBYAlTTo3BiQVASQRARgkBwEkCAEwCUEEHeos80gUnxq/wOb5RwWbtjswxaYuFNKUgtEmXVDkK1W2ltDp+jK6CWDmkFvpOomi9N5YjjwsC5op/4Eo0JvkOTcKNQEoARgkAgE2AwQCBAEYMAQUhDon//NshCQCqVkPCXWWGmpfcTswBRRhWBj69QlRIaS4sMVnsPKHpKsFexgwC0BqI+xu4SMAl28Oy7dYgvN1CPR9vrAVVnccIpNWxCrccNnmten24I1XywUmalU0hxbZ8VtTZ5H7ti5Zp/RlaHcIGA== + [1657692835.180032][15001:15006] CHIP:DMG: } + [1657692835.180057][15001:15006] CHIP:DMG: + [1657692835.180096][15001:15006] CHIP:DMG: ICACValue (231) = + [1657692835.180134][15001:15006] CHIP:DMG: { + FTABAQAkAgE3AyQUABgmBIAigScmBYAlTTo3BiQTARgkBwEkCAEwCUEEYMUTRY8VM/ZLT1TsZaFUqaZfRGmIBjmtUEVD38tVGsnjG78qXpBWwRdfCiMpfgjB7aiY8la/J81fUSL1TdutvjcKNQEpARgkAmAwBBRhWBj69QlRIaS4sMVnsPKHpKsFezAFFLhDSjEco6yaDJ1cEwah8PMVrfiVGDALQG7odibpeRIIC4SYind3wnK4zys/Q8NkjllAMcDkDNC67vVlhA75WvG0+IZO6TcKwH1xtCKbW4YQC8MYZaYGzh4Y + [1657692835.180198][15001:15006] CHIP:DMG: } + [1657692835.180224][15001:15006] CHIP:DMG: + [1657692835.180286][15001:15006] CHIP:DMG: InvokeRequestMessage = + [1657692835.180317][15001:15006] CHIP:DMG: { + [1657692835.180345][15001:15006] CHIP:DMG: suppressResponse = false, + [1657692835.180388][15001:15006] CHIP:DMG: timedRequest = false, + [1657692835.180417][15001:15006] CHIP:DMG: InvokeRequests = + [1657692835.180468][15001:15006] CHIP:DMG: [ + [1657692835.180499][15001:15006] CHIP:DMG: CommandDataIB = + [1657692835.180544][15001:15006] CHIP:DMG: { + [1657692835.180575][15001:15006] CHIP:DMG: CommandPathIB = + [1657692835.180627][15001:15006] CHIP:DMG: { + [1657692835.180676][15001:15006] CHIP:DMG: EndpointId = 0x0, + [1657692835.180719][15001:15006] CHIP:DMG: ClusterId = 0x3e, + [1657692835.180776][15001:15006] CHIP:DMG: CommandId = 0x6, + [1657692835.180827][15001:15006] CHIP:DMG: }, + [1657692835.180867][15001:15006] CHIP:DMG: + [1657692835.180909][15001:15006] CHIP:DMG: CommandFields = + [1657692835.180947][15001:15006] CHIP:DMG: { + [1657692835.180997][15001:15006] CHIP:DMG: 0x0 = [ + [1657692835.181155][15001:15006] CHIP:DMG: 0x15, 0x30, 0x1, 0x1, 0x1, 0x24, 0x2, 0x1, 0x37, 0x3, 0x24, 0x13, 0x1, 0x18, 0x26, 0x4, 0x80, 0x22, 0x81, 0x27, 0x26, 0x5, 0x80, 0x25, 0x4d, 0x3a, 0x37, 0x6, 0x24, 0x15, 0x1, 0x24, 0x11, 0x1, 0x18, 0x24, 0x7, 0x1, 0x24, 0x8, 0x1, 0x30, 0x9, 0x41, 0x4, 0x1d, 0xea, 0x2c, 0xf3, 0x48, 0x14, 0x9f, 0x1a, 0xbf, 0xc0, 0xe6, 0xf9, 0x47, 0x5, 0x9b, 0xb6, 0x3b, 0x30, 0xc5, 0xa6, 0x2e, 0x14, 0xd2, 0x94, 0x82, 0xd1, 0x26, 0x5d, 0x50, 0xe4, 0x2b, 0x55, 0xb6, 0x96, 0xd0, 0xe9, 0xfa, 0x32, 0xba, 0x9, 0x60, 0xe6, 0x90, 0x5b, 0xe9, 0x3a, 0x89, 0xa2, 0xf4, 0xde, 0x58, 0x8e, 0x3c, 0x2c, 0xb, 0x9a, 0x29, 0xff, 0x81, 0x28, 0xd0, 0x9b, 0xe4, 0x39, 0x37, 0xa, 0x35, 0x1, 0x28, 0x1, 0x18, 0x24, 0x2, 0x1, 0x36, 0x3, 0x4, 0x2, 0x4, 0x1, 0x18, 0x30, 0x4, 0x14, 0x84, 0x3a, 0x27, 0xff, 0xf3, 0x6c, 0x84, 0x24, 0x2, 0xa9, 0x59, 0xf, 0x9, 0x75, 0x96, 0x1a, 0x6a, 0x5f, 0x71, 0x3b, 0x30, 0x5, 0x14, 0x61, 0x58, 0x18, 0xfa, 0xf5, 0x9, 0x51, 0x21, 0xa4, 0xb8, 0xb0, 0xc5, 0x67, 0xb0, 0xf2, 0x87, 0xa4, 0xab, 0x5, 0x7b, 0x18, 0x30, 0xb, 0x40, 0x6a, 0x23, 0xec, 0x6e, 0xe1, 0x23, 0x0, 0x97, 0x6f, 0xe, 0xcb, 0xb7, 0x58, 0x82, 0xf3, 0x75, 0x8, 0xf4, 0x7d, 0xbe, 0xb0, 0x15, 0x56, 0x77, 0x1c, 0x22, 0x93, 0x56, 0xc4, 0x2a, 0xdc, 0x70, 0xd9, 0xe6, 0xb5, 0xe9, 0xf6, 0xe0, 0x8d, 0x57, 0xcb, 0x5, 0x26, 0x6a, 0x55, 0x34, 0x87, 0x16, 0xd9, 0xf1, 0x5b, 0x53, 0x67, 0x91, 0xfb, 0xb6, 0x2e, 0x59, 0xa7, 0xf4, 0x65, 0x68, 0x77, 0x8, 0x18, + [1657692835.181249][15001:15006] CHIP:DMG: ] + [1657692835.181293][15001:15006] CHIP:DMG: 0x1 = [ + [1657692835.181422][15001:15006] CHIP:DMG: 0x15, 0x30, 0x1, 0x1, 0x0, 0x24, 0x2, 0x1, 0x37, 0x3, 0x24, 0x14, 0x0, 0x18, 0x26, 0x4, 0x80, 0x22, 0x81, 0x27, 0x26, 0x5, 0x80, 0x25, 0x4d, 0x3a, 0x37, 0x6, 0x24, 0x13, 0x1, 0x18, 0x24, 0x7, 0x1, 0x24, 0x8, 0x1, 0x30, 0x9, 0x41, 0x4, 0x60, 0xc5, 0x13, 0x45, 0x8f, 0x15, 0x33, 0xf6, 0x4b, 0x4f, 0x54, 0xec, 0x65, 0xa1, 0x54, 0xa9, 0xa6, 0x5f, 0x44, 0x69, 0x88, 0x6, 0x39, 0xad, 0x50, 0x45, 0x43, 0xdf, 0xcb, 0x55, 0x1a, 0xc9, 0xe3, 0x1b, 0xbf, 0x2a, 0x5e, 0x90, 0x56, 0xc1, 0x17, 0x5f, 0xa, 0x23, 0x29, 0x7e, 0x8, 0xc1, 0xed, 0xa8, 0x98, 0xf2, 0x56, 0xbf, 0x27, 0xcd, 0x5f, 0x51, 0x22, 0xf5, 0x4d, 0xdb, 0xad, 0xbe, 0x37, 0xa, 0x35, 0x1, 0x29, 0x1, 0x18, 0x24, 0x2, 0x60, 0x30, 0x4, 0x14, 0x61, 0x58, 0x18, 0xfa, 0xf5, 0x9, 0x51, 0x21, 0xa4, 0xb8, 0xb0, 0xc5, 0x67, 0xb0, 0xf2, 0x87, 0xa4, 0xab, 0x5, 0x7b, 0x30, 0x5, 0x14, 0xb8, 0x43, 0x4a, 0x31, 0x1c, 0xa3, 0xac, 0x9a, 0xc, 0x9d, 0x5c, 0x13, 0x6, 0xa1, 0xf0, 0xf3, 0x15, 0xad, 0xf8, 0x95, 0x18, 0x30, 0xb, 0x40, 0x6e, 0xe8, 0x76, 0x26, 0xe9, 0x79, 0x12, 0x8, 0xb, 0x84, 0x98, 0x8a, 0x77, 0x77, 0xc2, 0x72, 0xb8, 0xcf, 0x2b, 0x3f, 0x43, 0xc3, 0x64, 0x8e, 0x59, 0x40, 0x31, 0xc0, 0xe4, 0xc, 0xd0, 0xba, 0xee, 0xf5, 0x65, 0x84, 0xe, 0xf9, 0x5a, 0xf1, 0xb4, 0xf8, 0x86, 0x4e, 0xe9, 0x37, 0xa, 0xc0, 0x7d, 0x71, 0xb4, 0x22, 0x9b, 0x5b, 0x86, 0x10, 0xb, 0xc3, 0x18, 0x65, 0xa6, 0x6, 0xce, 0x1e, 0x18, + [1657692835.181501][15001:15006] CHIP:DMG: ] + [1657692835.181546][15001:15006] CHIP:DMG: 0x2 = [ + [1657692835.181596][15001:15006] CHIP:DMG: 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x72, 0x79, 0x20, 0x69, 0x70, 0x6b, 0x20, 0x30, 0x31, + [1657692835.181642][15001:15006] CHIP:DMG: ] + [1657692835.181709][15001:15006] CHIP:DMG: 0x3 = 112233, + [1657692835.181756][15001:15006] CHIP:DMG: 0x4 = 65521, + [1657692835.181801][15001:15006] CHIP:DMG: }, + [1657692835.182074][15001:15006] CHIP:DMG: }, + [1657692835.182123][15001:15006] CHIP:DMG: + [1657692835.182198][15001:15006] CHIP:DMG: ], + [1657692835.182243][15001:15006] CHIP:DMG: + [1657692835.182274][15001:15006] CHIP:DMG: InteractionModelRevision = 1 + [1657692835.182304][15001:15006] CHIP:DMG: }, + [1657692835.182334][15001:15006] CHIP:DMG: + [1657692835.182550][15001:15006] CHIP:DMG: ICR moving to [CommandSen] + [1657692835.182600][15001:15006] CHIP:CTL: Sent operational certificate to the device + disabled: true + + - label: + "NOC sent during ADDNOC Command is saved for future purpose in TH + NOCValue as NOC_Test1 ICACValue as ICACValue_Test1 IpkValue as + IpkValue_Test1 CaseAdminSubject as CaseAdminSubject_Test1 + AdminVendorId as adminvendorid1" + verification: | + see above log + disabled: true + + - label: "TH sends AttestationRequest command to DUT" + PICS: OPCREDS.S.C00.Rsp + verification: | + Verify in TH Log + + Create Attestation Nonce by sending below command in TH + echo hex:$(hexdump -vn32 -e'4/4 "%08X" ' /dev/urandom) + Created attestationNonce is hex:8D8B87C6BEC4314A07B4393D49315ECD10CAE8E13E4868161201A13A6CF682CA + + + + ./chip-tool operationalcredentials attestation-request hex:8D8B87C6BEC4314A07B4393D49315ECD10CAE8E13E4868161201A13A6CF682CA 1 0 + + Verify in TH Log + [1657694986.143789][15289:15294] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Command 0x0000_0001 + [1657694986.143843][15289:15294] CHIP:TOO: AttestationResponse: { + [1657694986.143886][15289:15294] CHIP:TOO: attestationElements: 1531011D023082021906092A864886F70D010702A082020A30820206020103310D300B06096086480165030402013082017106092A864886F70D010701A08201620482015E152400012501F1FF3602050080050180050280050380050480050580050680050780050880050980050A80050B80050C80050D80050E80050F80051080051180051280051380051480051580051680051780051880051980051A80051B80051C80051D80051E80051F80052080052180052280052380052480052580052680052780052880052980052A80052B80052C80052D80052E80052F80053080053180053280053380053480053580053680053780053880053980053A80053B80053C80053D80053E80053F80054080054180054280054380054480054580054680054780054880054980054A80054B80054C80054D80054E80054F80055080055180055280055380055480055580055680055780055880055980055A80055B80055C80055D80055E80055F80056080056180056280056380182403162C04135A494732303134325A423333303030332D3234240500240600250794 + [1657694986.143937][15289:15294] CHIP:TOO: ...................: 2624080018317D307B020103801462FA823359ACFAA9963E1CFA140ADDF504F37160300B0609608648016503040201300A06082A8648CE3D04030204473045022024E5D1F47A7D7B0D206A26EF699B7C9757B72D469089DE3192E678C745E7F60C022100F8AA2FA711FCB79B97E397CEDA667BAE464E2BD3FFDFC3CCED7AA8CA5F4C1A7C3002208D8B87C6BEC4314A07B4393D49315ECD10CAE8E13E4868161201A13A6CF682CA24030018 + [1657694986.143970][15289:15294] CHIP:TOO: signature: A90848DF47E54730AC729E08B40944A1DE75901C433AF7C0AC10476C6BD45BB42F0EDDDD2E1AD32A5FBA8228DF510951DC5AD8BA12B19150F0807B8E43C8D430 + disabled: true + + - label: "TH sends CertificateChainRequest command to DUT" + PICS: OPCREDS.S.C02.Rsp + verification: | + ./chip-tool operationalcredentials certificate-chain-request 1 1 0 + + Verify in TH Log + [1657695059.237579][15297:15302] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Command 0x0000_0003 + [1657695059.237631][15297:15302] CHIP:TOO: CertificateChainResponse: { + [1657695059.237699][15297:15302] CHIP:TOO: certificate: 308201E73082018EA003020102020869CDF10DE9E54ED1300A06082A8648CE3D040302303D3125302306035504030C1C4D6174746572204465762050414920307846464631206E6F2050494431143012060A2B0601040182A27C02010C04464646313020170D3232303230353030303030305A180F39393939313233313233353935395A30533125302306035504030C1C4D61747465722044657620444143203078464646312F30783830303131143012060A2B0601040182A27C02010C044646463131143012060A2B0601040182A27C02020C04383030313059301306072A8648CE3D020106082A8648CE3D03010703420004463AC69342910A0E5588FC6FF56BB63E62ECCECB148F7D4EB03EE552601415767D16A5C663F793E49123260B8297A7CD7E7CFC7B316B39D98E90D29377738E82A360305E300C0603551D130101FF04023000300E0603551D0F0101FF040403020780301D0603551D0E0416041488DDE7B300382932CFF734C04624810F44168A6F301F0603551D2304183016801463540E47F64B1C38D13884A462D16C195D8FFB3C300A06082A8648CE3D040302 + [1657695059.237748][15297:15302] CHIP:TOO: ...........: 034700304402200127A27B4B44610EE2FCDC4D2B7885563660BC0F76F17219ED6A08DFB2B3C1CD02206B59E0AF45F3EB2A85B919D35731528C6028C415239545E108E4E54E70971353 + [1657695059.237772][15297:15302] CHIP:TOO: } + disabled: true + + - label: "TH1 Sends CSRRequest command" + PICS: OPCREDS.S.C04.Rsp + verification: | + Send the below command 2 times to create CSR NONCE value in TH + echo hex:$(hexdump -vn32 -e'4/4 "%08X" ' /dev/urandom) + The generated CSRNONCE value is hex:F707BFC795117AAD94D5D95586B3B33984B475E00FFB5950BA21736FFB0FAFDE + + ./chip-tool generalcommissioning arm-fail-safe 500 900 1 0 + + Verify in TH Log + [1657546015.217932][18649:18654] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0030 Command=0x0000_0001 + [1657546015.217979][18649:18654] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0030 Command 0x0000_0001 + [1657546015.218043][18649:18654] CHIP:TOO: ArmFailSafeResponse: { + [1657546015.218111][18649:18654] CHIP:TOO: errorCode: 0 + [1657546015.218136][18649:18654] CHIP:TOO: debugText: + [1657546015.218158][18649:18654] CHIP:TOO: } + + + ./chip-tool operationalcredentials csrrequest hex:F707BFC795117AAD94D5D95586B3B33984B475E00FFB5950BA21736FFB0FAFDE 1 0 --IsForUpdateNOC true + + Verify in TH Log + [1657546020.124932][18656:18661] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_003E Command=0x0000_0005 + [1657546020.124991][18656:18661] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Command 0x0000_0005 + [1657546020.125052][18656:18661] CHIP:TOO: CSRResponse: { + [1657546020.125106][18656:18661] CHIP:TOO: NOCSRElements: 153001CA3081C73070020100300E310C300A060355040A0C034353523059301306072A8648CE3D020106082A8648CE3D03010703420004E9431F76E8D3B083EE08460ED0D5892DEACF1E88A2C76A9F734D10BAD5369BD20B8A33674711FD1DD7F5FA097330EC7BE42700B7EF037F0507BA8DE769C760B9A000300A06082A8648CE3D040302034700304402204A7F88FB88EC7CFE9091DF0500AF53F58D15E4283B8C7851C7CFE6138F33688102201CE8800872A85B69E2E9F19674F68BB2C5FCED56922CB159B56A62445163BD6C30022017B9FC123976D542DD6114F0CBE993E2922864A85925E0B848AED4F9D0B3E60E18 + [1657546020.125151][18656:18661] CHIP:TOO: attestationSignature: 983F2686F7FEFD2DE6238980A1F2DB061C6648BE7BCD6BF410E01B759F33393705C066A1635EDAEFFC1D6D209E51CB506FD1E70DE94709845C0F3AD915D8BFAD + [1657546020.125184][18656:18661] CHIP:TOO: } + disabled: true + + - label: + "TH sends ArmFailSafe command to the DUT with the ExpiryLengthSeconds + field set to 900" + verification: | + ./chip-tool generalcommissioning arm-fail-safe 500 600 1 0 + + Verify in TH Log + [1655721237.001179][13266:13271] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0030 Command=0x0000_0001 + [1655721237.001224][13266:13271] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0030 Command 0x0000_0001 + [1655721237.001284][13266:13271] CHIP:TOO: ArmFailSafeResponse: { + [1655721237.001321][13266:13271] CHIP:TOO: errorCode: 0 + [1655721237.001342][13266:13271] CHIP:TOO: debugText: + [1655721237.001363][13266:13271] CHIP:TOO: } + [1655721237.001422][13266:13271] CHIP:DMG: ICR moving to [AwaitingDe] + disabled: true + + - label: "TH sends UpdateNOC command to DUT" + verification: | + + disabled: true + + - label: + "NOC obtained during UpdateNOC Command is saved for future purpose in + TH NOC value as NOC_Test2 ICAC value as ICAC_Test2" + verification: | + + disabled: true + + - label: "TH reads NOC from DUT" + verification: | + ./chip-tool operationalcredentials read nocs 1 0 + + Verify in TH Log + + [1655721290.426839][13291:13296] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0000 DataVersion: 811331154 + [1655721290.427733][13291:13296] CHIP:TOO: NOCs: 1 entries + [1655721290.427822][13291:13296] CHIP:TOO: [1]: { + [1655721290.427867][13291:13296] CHIP:TOO: Noc: 1530010101240201370324130118260480228127260580254D3A37062415012411011824070124080130094104A024EEDCC13F2D7DE5E60937AA5EC3026111A0352E258C20334CBBF8E0F4BC6A935EBA4DF3B1CF98CF7E0F6D44F05C5F50B0BFD5523A57A93E2CD33D5EB8A23B370A350128011824020136030402040118300414D1B450843018299689BCD8A7953A7ADC4D04D7013005147C7E85AF7415134757BE0466666DB4C22373CF8418300B406F868E2FAC772B73FF293FBF8CFFC3F37DB0E6ADFDA2CD72A4DFD195078DFC9F5AFE67879D32134F2FFFFD8366B58603B5B468A1FD11BD9305B0302DB19F70FF18 + [1655721290.427924][13291:13296] CHIP:TOO: Icac: 1530010100240201370324140018260480228127260580254D3A37062413011824070124080130094104FE7B1E0AC4BD41959379CFBFE66879E611399D3665992D3B7A1381267CDC1D06B2E6C433C737E06D19257A6AC8577D37F47575D72A1BD765D3A2F1C397B64F51370A35012901182402603004147C7E85AF7415134757BE0466666DB4C22373CF843005140E06A3A90EBC2A7A89EE2E5D34875B110B4203C518300B4064048EED19E370AFADF36E5CA08A52D3F5345357C8F34330F8491EFBD04D147343670F8D838E4B402E379CEB7970BE93DB31F7C9E3F0FC9D538D309E978F5EDB18 + [1655721290.427950][13291:13296] CHIP:TOO: FabricIndex: 1 + [1655721290.427967][13291:13296] CHIP:TOO: } + disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_SWTCH_1_1.yaml b/src/app/tests/suites/certification/Test_TC_SWTCH_1_1.yaml index 42f94bd96b2128..9b9b46ae11e8c4 100644 --- a/src/app/tests/suites/certification/Test_TC_SWTCH_1_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_SWTCH_1_1.yaml @@ -13,7 +13,7 @@ # limitations under the License. # Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default -name: 73.1.1. [TC-SWTCH-1.1] Global attributes with server as DUT +name: 74.1.1. [TC-SWTCH-1.1] Global attributes with server as DUT config: nodeId: 0x12344321 @@ -30,6 +30,8 @@ tests: verification: | ./chip-tool switch read feature-map 1 1 + Verify on the TH Log: + [1655271856.827371][2855:2860] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_003B Attribute 0x0000_FFFC DataVersion: 4291766665 [1655271856.827493][2855:2860] CHIP:TOO: FeatureMap: 1 disabled: true @@ -68,6 +70,7 @@ tests: verification: | ./chip-tool switch read cluster-revision 1 1 + Verify on the TH Log: [1651563714.073979][8331:8336] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_003B Attribute 0x0000_FFFD DataVersion: 3331396879 [1651563714.074140][8331:8336] CHIP:TOO: ClusterRevision: 1 @@ -77,6 +80,7 @@ tests: verification: | ./chip-tool switch read attribute-list 1 1 + Verify on the TH Log: [1651563753.140074][8338:8343] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_003B Attribute 0x0000_FFFB DataVersion: 3331396879 [1651563753.140200][8338:8343] CHIP:TOO: AttributeList: 8 entries @@ -99,6 +103,7 @@ tests: verification: | ./chip-tool switch read accepted-command-list 1 1 + Verify on the TH Log: [1651563822.164319][8348:8353] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_003B Attribute 0x0000_FFF9 DataVersion: 3331396879 [1651563822.164424][8348:8353] CHIP:TOO: AcceptedCommandList: 0 entries @@ -108,6 +113,8 @@ tests: verification: | ./chip-tool switch read generated-command-list 1 1 + Verify on the TH Log: + [1651563849.608873][8355:8361] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_003B Attribute 0x0000_FFF8 DataVersion: 3331396879 [1651563849.608977][8355:8361] CHIP:TOO: GeneratedCommandList: 0 entries disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_SWTCH_2_2.yaml b/src/app/tests/suites/certification/Test_TC_SWTCH_2_2.yaml index 140030690d9dc3..e80d3e1c5bfb46 100644 --- a/src/app/tests/suites/certification/Test_TC_SWTCH_2_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_SWTCH_2_2.yaml @@ -31,6 +31,8 @@ tests: verification: | ./chip-tool switch subscribe-event switch-latched 1 100 1 1 + Verify in TH Log: + [1646209067.917157][2496:2501] CHIP:DMG: SubscribeResponseMessage = [1646209067.917184][2496:2501] CHIP:DMG: { [1646209067.917208][2496:2501] CHIP:DMG: SubscriptionId = 0xe1d5f4339dd88873, @@ -50,6 +52,9 @@ tests: PICS: SWTCH.S.F00 verification: | ./chip-tool switch read current-position 1 1 + + Verify in TH Log: + [1646209289.746157][2617:2622] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_003B Attribute 0x0000_0001DataVersion: 1206711661 [1646209289.746228][2617:2622] CHIP:TOO: current position: 0 disabled: true @@ -76,6 +81,8 @@ tests: verification: | ./chip-tool switch read current-position 1 1 + Verify in TH Log: + Event (content will vary on the device) [1646209167.923346][2190:2190] CHIP:DMG: StatusResponseMessage = [1646209167.923415][2190:2190] CHIP:DMG: { @@ -104,6 +111,9 @@ tests: PICS: SWTCH.S.F00 verification: | ./chip-tool switch read current-position 1 1 + + Verify in TH Log: + [1646209289.746157][2617:2622] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_003B Attribute 0x0000_0001DataVersion: 1206711661 [1646209289.746228][2617:2622] CHIP:TOO: current position: 0 disabled: true @@ -112,6 +122,9 @@ tests: PICS: SWTCH.S.F01 verification: | ./chip-tool switch subscribe-event initial-press 1 100 1 1 + + Verify in TH Log: + [1646209546.313236][2641:2646] CHIP:DMG: SubscribeResponseMessage = [1646209546.313263][2641:2646] CHIP:DMG: { [1646209546.313285][2641:2646] CHIP:DMG: SubscriptionId = 0x463c015025bd6b74, @@ -132,6 +145,9 @@ tests: PICS: SWTCH.S.F01 verification: | ./chip-tool switch read current-position 1 1 + + Verify in TH Log: + [1646209289.746157][2617:2622] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_003B Attribute 0x0000_0001DataVersion: 1206711661 [1646209289.746228][2617:2622] CHIP:TOO: current position: 0 disabled: true @@ -208,6 +224,8 @@ tests: ./chip-tool switch subscribe-event short-release 1 100 1 1 + Verify in TH Log: + [1655272080.983330][2922:2927] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_003B Event 0x0000_0003 [1655272080.983357][2922:2927] CHIP:TOO: Event number: 2 [1655272080.983380][2922:2927] CHIP:TOO: Priority: Info diff --git a/src/app/tests/suites/certification/Test_TC_SWTCH_3_1.yaml b/src/app/tests/suites/certification/Test_TC_SWTCH_3_1.yaml index a917082d14f509..ad8509c820ced2 100644 --- a/src/app/tests/suites/certification/Test_TC_SWTCH_3_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_SWTCH_3_1.yaml @@ -13,7 +13,7 @@ # limitations under the License. # Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default -name: 73.3.2. [TC-SWTCH-3.1] Global attributes with client as DUT +name: 74.3.1. [TC-SWTCH-3.1] Global attributes with client as DUT config: nodeId: 0x12344321 @@ -25,6 +25,10 @@ tests: "DUT reads all supported mandatory attributes from TH one at a time in a manufacturer specific order" verification: | + verify on Reference app receives the right response for the data sent in the above commands + + Verify in TH all-clusters-app log + ./chip-tool switch read number-of-positions 1 1 [1650539419.579618][3678:3678] CHIP:IM: Received Read request @@ -47,6 +51,8 @@ tests: ./chip-tool switch read current-position 1 1 + Verify in TH all-clusters-app log + [1650539484.199120][3678:3678] CHIP:DMG: ReadRequestMessage = [1650539484.199188][3678:3678] CHIP:DMG: { [1650539484.199243][3678:3678] CHIP:DMG: AttributePathIBs = @@ -69,8 +75,12 @@ tests: "DUT reads all supported optional attributes from TH one at a time in a manufacturer specific order" verification: | + verify on Reference app receives the right response for the data sent in the above commands + ./chip-tool switch read multi-press-max 1 1 + Verify in TH all-clusters-app log + [1646209889.768919][2190:2190] CHIP:DMG: ReadRequestMessage = [1646209889.768984][2190:2190] CHIP:DMG: { [1646209889.769012][2190:2190] CHIP:DMG: AttributePathIBs = @@ -94,14 +104,14 @@ tests: "DUT writes a suitable value to all supported mandatory attributes on the TH one at a time in a manufacturer specific order" verification: | - no writable attributes + This cluster doesn't have any writable attributes disabled: true - label: "DUT writes a suitable value to all supported optional attributes on the TH one at a time in a manufacturer specific order" verification: | - no writable attributes + This cluster doesn't have any writable attributes disabled: true - label: @@ -110,8 +120,35 @@ tests: also reflects this in global attributes such as FeatureMap and AttributeList. Commission DUT to TH again" verification: | + verify on Reference app receives the right response for the data sent in the above + + ./chip-tool switch read feature-map 1 1 + + Verify in TH all-clusters-app log + + [1656477949231] [49485:5731390] CHIP: [TOO] Endpoint: 1 Cluster: 0x0000_003B Attribute 0x0000_FFFC DataVersion: 2281340739 + [1656477949232] [49485:5731390] CHIP: [TOO] FeatureMap: 1 + + ./chip-tool switch read attribute-list 1 1 + + Verify in TH all-clusters-app log + + [1656477995952] [49490:5731598] CHIP: [TOO] Endpoint: 1 Cluster: 0x0000_003B Attribute 0x0000_FFFB DataVersion: 2281340739 + [1656477995952] [49490:5731598] CHIP: [TOO] AttributeList: 7 entries + [1656477995952] [49490:5731598] CHIP: [TOO] [1]: 0 + [1656477995952] [49490:5731598] CHIP: [TOO] [2]: 1 + [1656477995952] [49490:5731598] CHIP: [TOO] [3]: 65528 + [1656477995952] [49490:5731598] CHIP: [TOO] [4]: 65529 + [1656477995952] [49490:5731598] CHIP: [TOO] [5]: 65531 + [1656477995952] [49490:5731598] CHIP: [TOO] [6]: 65532 + [1656477995952] [49490:5731598] CHIP: [TOO] [7]: 65533 + + + ./chip-tool switch read number-of-positions 1 1 + Verify in TH all-clusters-app log + [1650539419.579618][3678:3678] CHIP:IM: Received Read request [1650539419.579683][3678:3678] CHIP:DMG: ReadRequestMessage = [1650539419.579718][3678:3678] CHIP:DMG: { @@ -132,6 +169,8 @@ tests: ./chip-tool switch read current-position 1 1 + Verify in TH all-clusters-app log + [1650539484.199120][3678:3678] CHIP:DMG: ReadRequestMessage = [1650539484.199188][3678:3678] CHIP:DMG: { [1650539484.199243][3678:3678] CHIP:DMG: AttributePathIBs = @@ -154,12 +193,47 @@ tests: "DUT reads all supported optional attributes from TH one at a time in a manufacturer specific order" verification: | + verify on Reference app receives the right response for the data sent in the above commands + ./chip-tool switch read multi-press-max 1 1 + + Verify in TH all-clusters-app log + + [1656477918495] [49481:5731213] CHIP: [DMG] ReportDataMessage = + [1656477918495] [49481:5731213] CHIP: [DMG] { + [1656477918495] [49481:5731213] CHIP: [DMG] AttributeReportIBs = + [1656477918495] [49481:5731213] CHIP: [DMG] [ + [1656477918495] [49481:5731213] CHIP: [DMG] AttributeReportIB = + [1656477918495] [49481:5731213] CHIP: [DMG] { + [1656477918495] [49481:5731213] CHIP: [DMG] AttributeStatusIB = + [1656477918495] [49481:5731213] CHIP: [DMG] { + [1656477918495] [49481:5731213] CHIP: [DMG] AttributePathIB = + [1656477918495] [49481:5731213] CHIP: [DMG] { + [1656477918495] [49481:5731213] CHIP: [DMG] Endpoint = 0x1, + [1656477918495] [49481:5731213] CHIP: [DMG] Cluster = 0x3b, + [1656477918495] [49481:5731213] CHIP: [DMG] Attribute = 0x0000_0002, + [1656477918495] [49481:5731213] CHIP: [DMG] } + [1656477918495] [49481:5731213] CHIP: [DMG] + [1656477918495] [49481:5731213] CHIP: [DMG] StatusIB = + [1656477918495] [49481:5731213] CHIP: [DMG] { + [1656477918495] [49481:5731213] CHIP: [DMG] status = 0x86 (UNSUPPORTED_ATTRIBUTE), + [1656477918495] [49481:5731213] CHIP: [DMG] }, + [1656477918495] [49481:5731213] CHIP: [DMG] + [1656477918495] [49481:5731213] CHIP: [DMG] }, + [1656477918495] [49481:5731213] CHIP: [DMG] + [1656477918495] [49481:5731213] CHIP: [DMG] }, + [1656477918495] [49481:5731213] CHIP: [DMG] + [1656477918495] [49481:5731213] CHIP: [DMG] ], + [1656477918495] [49481:5731213] CHIP: [DMG] + [1656477918495] [49481:5731213] CHIP: [DMG] SuppressResponse = true, + [1656477918495] [49481:5731213] CHIP: [DMG] InteractionModelRevision = 1 + [1656477918495] [49481:5731213] CHIP: [DMG] } + [1656477918495] [49481:5731213] CHIP: [TOO] Response Failure: IM Error 0x00000586: General error: 0x86 (UNSUPPORTED_ATTRIBUTE) disabled: true - label: "DUT writes a suitable value to all supported optional attributes on the TH one at a time in a manufacturer specific order" verification: | - no writable attributes + This cluster doesn't have any writable attributes disabled: true 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 7056aff1d7c129..0aaed19d046abc 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 @@ -13,25 +13,96 @@ # limitations under the License. # Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default -name: 95.3.1. [TC-ULABEL-3.1] User label cluster [DUT-client] +name: 3.3.1. [TC-ULABEL-3.1] User label cluster [DUT-client] config: nodeId: 0x12344321 - cluster: "User Label" - endpoint: 1 + cluster: "Basic" + endpoint: 0 tests: - - label: "Wait for the commissioned device to be retrieved" - cluster: "DelayCommands" - command: "WaitForCommissionee" - arguments: - values: - - name: "nodeId" - value: nodeId - - - label: "TH reads LabelList attribute of the DUT" - command: "readAttribute" - attribute: "label list" - response: - constraints: - type: list + - label: "DUT reads LabelList from the TH" + PICS: ULABEL.C.A0000 + verification: | + ./chip-tool userlabel read label-list 1 0 + + + Verify in DUT as client side: + Log that DUT reads LabelList from the TH successfully + + [1651124790.936078][2829:2834] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0041 Attribute 0x0000_0000 DataVersion: 953549512 + [1651124790.936142][2829:2834] CHIP:TOO: label list: 0 entries + [1651124790.936236][2829:2834] CHIP:EM: Sending Standalone Ack for MessageCounter:5651248 on exchange 8394i + disabled: true + + - label: + "DUT sends a write request to the TH to write to an entry in the + LabelList" + PICS: ULABEL.C.A0000 + verification: | + ./chip-tool userlabel write label-list '[{"label":"room", "value":"bedroom 1"}, {"label":"orientation", "value":"east"}]' 1 0 + + + Verify in DUT as client side: + Log that DUT is able to write to the LabelList successfully + + [1657187118.343190][4999:5005] CHIP:DMG: WriteResponseMessage = + [1657187118.343215][4999:5005] CHIP:DMG: { + [1657187118.343237][4999:5005] CHIP:DMG: AttributeStatusIBs = + [1657187118.343267][4999:5005] CHIP:DMG: [ + [1657187118.343291][4999:5005] CHIP:DMG: AttributeStatusIB = + [1657187118.343318][4999:5005] CHIP:DMG: { + [1657187118.343343][4999:5005] CHIP:DMG: AttributePathIB = + [1657187118.343372][4999:5005] CHIP:DMG: { + [1657187118.343407][4999:5005] CHIP:DMG: Endpoint = 0x0, + [1657187118.343441][4999:5005] CHIP:DMG: Cluster = 0x41, + [1657187118.343516][4999:5005] CHIP:DMG: Attribute = 0x0000_0000, + [1657187118.343548][4999:5005] CHIP:DMG: } + [1657187118.343582][4999:5005] CHIP:DMG: + [1657187118.343612][4999:5005] CHIP:DMG: StatusIB = + [1657187118.343642][4999:5005] CHIP:DMG: { + [1657187118.343673][4999:5005] CHIP:DMG: status = 0x00 (SUCCESS), + [1657187118.343706][4999:5005] CHIP:DMG: }, + [1657187118.343736][4999:5005] CHIP:DMG: + [1657187118.343760][4999:5005] CHIP:DMG: }, + [1657187118.343794][4999:5005] CHIP:DMG: + [1657187118.343818][4999:5005] CHIP:DMG: AttributeStatusIB = + [1657187118.343846][4999:5005] CHIP:DMG: { + [1657187118.343872][4999:5005] CHIP:DMG: AttributePathIB = + [1657187118.343903][4999:5005] CHIP:DMG: { + [1657187118.343934][4999:5005] CHIP:DMG: Endpoint = 0x0, + [1657187118.343969][4999:5005] CHIP:DMG: Cluster = 0x41, + [1657187118.344002][4999:5005] CHIP:DMG: Attribute = 0x0000_0000, + [1657187118.344036][4999:5005] CHIP:DMG: ListIndex = Null, + [1657187118.344065][4999:5005] CHIP:DMG: } + [1657187118.344098][4999:5005] CHIP:DMG: + [1657187118.344127][4999:5005] CHIP:DMG: StatusIB = + [1657187118.344155][4999:5005] CHIP:DMG: { + [1657187118.344186][4999:5005] CHIP:DMG: status = 0x00 (SUCCESS), + [1657187118.344214][4999:5005] CHIP:DMG: }, + [1657187118.344243][4999:5005] CHIP:DMG: + [1657187118.344270][4999:5005] CHIP:DMG: }, + [1657187118.344327][4999:5005] CHIP:DMG: + [1657187118.344385][4999:5005] CHIP:DMG: AttributeStatusIB = + [1657187118.344458][4999:5005] CHIP:DMG: { + [1657187118.344524][4999:5005] CHIP:DMG: AttributePathIB = + [1657187118.344598][4999:5005] CHIP:DMG: { + [1657187118.344674][4999:5005] CHIP:DMG: Endpoint = 0x0, + [1657187118.344864][4999:5005] CHIP:DMG: Cluster = 0x41, + [1657187118.344954][4999:5005] CHIP:DMG: Attribute = 0x0000_0000, + [1657187118.345030][4999:5005] CHIP:DMG: ListIndex = Null, + [1657187118.345110][4999:5005] CHIP:DMG: } + [1657187118.345192][4999:5005] CHIP:DMG: + [1657187118.345263][4999:5005] CHIP:DMG: StatusIB = + [1657187118.345337][4999:5005] CHIP:DMG: { + [1657187118.345410][4999:5005] CHIP:DMG: status = 0x00 (SUCCESS), + [1657187118.345487][4999:5005] CHIP:DMG: }, + [1657187118.345559][4999:5005] CHIP:DMG: + [1657187118.345625][4999:5005] CHIP:DMG: }, + [1657187118.345699][4999:5005] CHIP:DMG: + [1657187118.345757][4999:5005] CHIP:DMG: ], + [1657187118.345844][4999:5005] CHIP:DMG: + [1657187118.345902][4999:5005] CHIP:DMG: InteractionModelRevision = 1 + [1657187118.345960][4999:5005] CHIP:DMG: } + [1657187118.346260][4999:5005] CHIP:DMG: WriteClient moving to [AwaitingDe] + disabled: true 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 842fb85c2f43d7..e5f4dea9c4cfd2 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 @@ -13,7 +13,7 @@ # limitations under the License. # Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default -name: 3.4.6. [TC-WNCV-5.1] Mandatory Attributes Verification with client as DUT +name: 3.4.6. [TC-WNCV-5.1] Mandatory Attributes Verification [DUT as Client] config: nodeId: 0x12344321 @@ -26,32 +26,17 @@ tests: disabled: true - - label: "DUT reads the FeatureMap attribute from TH" + - label: "DUT reads the (65532) _FeatureMap_ attribute from T" PICS: WNCV.C.Afffc verification: | On TestHarnes (all-cluster-app) a received read of feature-map looks like this: - [1646298926.644020][362295:362295] CHIP:IM: Received Read request - [1646298926.644091][362295:362295] CHIP:DMG: ReadRequestMessage = - [1646298926.644120][362295:362295] CHIP:DMG: { - [1646298926.644194][362295:362295] CHIP:DMG: AttributePathIBs = - [1646298926.644223][362295:362295] CHIP:DMG: [ - [1646298926.644273][362295:362295] CHIP:DMG: AttributePathIB = - [1646298926.644301][362295:362295] CHIP:DMG: { - [1646298926.644450][362295:362295] CHIP:DMG: Endpoint = 0x1, - [1646298926.644493][362295:362295] CHIP:DMG: Cluster = 0x102, - [1646298926.644540][362295:362295] CHIP:DMG: Attribute = 0x0000_FFFC, - [1646298926.644620][362295:362295] CHIP:DMG: } - [1646298926.644819][362295:362295] CHIP:DMG: - [1646298926.644861][362295:362295] CHIP:DMG: ], - [1646298926.644936][362295:362295] CHIP:DMG: - [1646298926.644986][362295:362295] CHIP:DMG: isFabricFiltered = true, - [1646298926.645061][362295:362295] CHIP:DMG: InteractionModelRevision = 1 - [1646298926.645086][362295:362295] CHIP:DMG: }, - [1646298926.645122][362295:362295] CHIP:DMG: IM RH moving to [GeneratingReports] - [1646298926.645190][362295:362295] CHIP:DMG: Cluster 102, Attribute fffc is dirty - [1646298926.645252][362295:362295] CHIP:DMG: Reading attribute: Cluster=0x0000_0102 Endpoint=1 AttributeId=0x0000_FFFC (expanded=0) - [1646298926.645282][362295:362295] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0102 e=1 p=v + ./chip-tool windowcovering read feature-map 1 1 + + Verify in TH all-clusters-app log + + [1657103226.784391][4633:4638] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0102 Attribute 0x0000_FFFC DataVersion: 383647307 + [1657103226.784460][4633:4638] CHIP:TOO: FeatureMap: 23 disabled: true - label: "Check Attribute defining the product" @@ -64,27 +49,12 @@ tests: verification: | On TestHarnes (all-cluster-app) a received read of type looks like this: - [1646299341.831213][362295:362295] CHIP:IM: Received Read request - [1646299341.831257][362295:362295] CHIP:DMG: ReadRequestMessage = - [1646299341.831301][362295:362295] CHIP:DMG: { - [1646299341.831327][362295:362295] CHIP:DMG: AttributePathIBs = - [1646299341.831369][362295:362295] CHIP:DMG: [ - [1646299341.831395][362295:362295] CHIP:DMG: AttributePathIB = - [1646299341.831428][362295:362295] CHIP:DMG: { - [1646299341.831456][362295:362295] CHIP:DMG: Endpoint = 0x1, - [1646299341.831483][362295:362295] CHIP:DMG: Cluster = 0x102, - [1646299341.831527][362295:362295] CHIP:DMG: Attribute = 0x0000_0000, - [1646299341.831553][362295:362295] CHIP:DMG: } - [1646299341.831587][362295:362295] CHIP:DMG: - [1646299341.831613][362295:362295] CHIP:DMG: ], - [1646299341.831641][362295:362295] CHIP:DMG: - [1646299341.831674][362295:362295] CHIP:DMG: isFabricFiltered = true, - [1646299341.831718][362295:362295] CHIP:DMG: InteractionModelRevision = 1 - [1646299341.831744][362295:362295] CHIP:DMG: }, - [1646299341.831808][362295:362295] CHIP:DMG: IM RH moving to [GeneratingReports] - [1646299341.831877][362295:362295] CHIP:DMG: Cluster 102, Attribute 0 is dirty - [1646299341.831923][362295:362295] CHIP:DMG: Reading attribute: Cluster=0x0000_0102 Endpoint=1 AttributeId=0x0000_0000 (expanded=0) - [1646299341.831954][362295:362295] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0102 e=1 p=v + ./chip-tool windowcovering read type 1 1 + + Verify in TH all-clusters-app log + + [1657103199.191382][4627:4632] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0102 Attribute 0x0000_0000 DataVersion: 383647307 + [1657103199.191447][4627:4632] CHIP:TOO: Type: 8 disabled: true - label: "DUT reads the EndProductType attribute from TH" @@ -92,27 +62,12 @@ tests: verification: | On TestHarnes (all-cluster-app) a received read of end-product-type looks like this: - 1646299403.213429][362295:362295] CHIP:IM: Received Read request - [1646299403.213463][362295:362295] CHIP:DMG: ReadRequestMessage = - [1646299403.213491][362295:362295] CHIP:DMG: { - [1646299403.213546][362295:362295] CHIP:DMG: AttributePathIBs = - [1646299403.213576][362295:362295] CHIP:DMG: [ - [1646299403.213617][362295:362295] CHIP:DMG: AttributePathIB = - [1646299403.213644][362295:362295] CHIP:DMG: { - [1646299403.213689][362295:362295] CHIP:DMG: Endpoint = 0x1, - [1646299403.213716][362295:362295] CHIP:DMG: Cluster = 0x102, - [1646299403.213744][362295:362295] CHIP:DMG: Attribute = 0x0000_000D, - [1646299403.213797][362295:362295] CHIP:DMG: } - [1646299403.213828][362295:362295] CHIP:DMG: - [1646299403.213861][362295:362295] CHIP:DMG: ], - [1646299403.213889][362295:362295] CHIP:DMG: - [1646299403.213922][362295:362295] CHIP:DMG: isFabricFiltered = true, - [1646299403.213978][362295:362295] CHIP:DMG: InteractionModelRevision = 1 - [1646299403.214006][362295:362295] CHIP:DMG: }, - [1646299403.214082][362295:362295] CHIP:DMG: IM RH moving to [GeneratingReports] - [1646299403.214193][362295:362295] CHIP:DMG: Cluster 102, Attribute d is dirty - [1646299403.214240][362295:362295] CHIP:DMG: Reading attribute: Cluster=0x0000_0102 Endpoint=1 AttributeId=0x0000_000D (expanded=0) - [1646299403.214286][362295:362295] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0102 e=1 p=v + ./chip-tool windowcovering read end-product-type 1 1 + + Verify in TH all-clusters-app log + + [1657103251.203086][4641:4646] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0102 Attribute 0x0000_000D DataVersion: 383647307 + [1657103251.203153][4641:4646] CHIP:TOO: EndProductType: 0 disabled: true - label: "Check Attribute defining the working status" @@ -125,27 +80,12 @@ tests: verification: | On TestHarnes (all-cluster-app) a received read of mode looks like this: - [1646298391.021408][362295:362295] CHIP:IM: Received Read request - [1646298391.021612][362295:362295] CHIP:DMG: ReadRequestMessage = - [1646298391.021678][362295:362295] CHIP:DMG: { - [1646298391.021770][362295:362295] CHIP:DMG: AttributePathIBs = - [1646298391.021799][362295:362295] CHIP:DMG: [ - [1646298391.021870][362295:362295] CHIP:DMG: AttributePathIB = - [1646298391.021899][362295:362295] CHIP:DMG: { - [1646298391.022134][362295:362295] CHIP:DMG: Endpoint = 0x1, - [1646298391.022444][362295:362295] CHIP:DMG: Cluster = 0x102, - [1646298391.022769][362295:362295] CHIP:DMG: Attribute = 0x0000_0017, - [1646298391.023006][362295:362295] CHIP:DMG: } - [1646298391.023359][362295:362295] CHIP:DMG: - [1646298391.023414][362295:362295] CHIP:DMG: ], - [1646298391.023491][362295:362295] CHIP:DMG: - [1646298391.023577][362295:362295] CHIP:DMG: isFabricFiltered = true, - [1646298391.023605][362295:362295] CHIP:DMG: InteractionModelRevision = 1 - [1646298391.023658][362295:362295] CHIP:DMG: }, - [1646298391.023698][362295:362295] CHIP:DMG: IM RH moving to [GeneratingReports] - [1646298391.023913][362295:362295] CHIP:DMG: Cluster 102, Attribute 17 is dirty - [1646298391.024036][362295:362295] CHIP:DMG: Reading attribute: Cluster=0x0000_0102 Endpoint=1 AttributeId=0x0000_0017 (expanded=0) - [1646298391.024247][362295:362295] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0102 e=1 p=v + ./chip-tool windowcovering read mode 1 1 + + Verify in TH all-clusters-app log + + [1657103273.905725][4647:4652] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0102 Attribute 0x0000_0017 DataVersion: 383647307 + [1657103273.905816][4647:4652] CHIP:TOO: Mode: 0 disabled: true - label: "DUT reads the ConfigStatus attribute from TH" @@ -153,25 +93,10 @@ tests: verification: | On TestHarnes (all-cluster-app) a received read of config-status looks like this: - [1646298854.266428][362295:362295] CHIP:IM: Received Read request - [1646298854.266463][362295:362295] CHIP:DMG: ReadRequestMessage = - [1646298854.266490][362295:362295] CHIP:DMG: { - [1646298854.266537][362295:362295] CHIP:DMG: AttributePathIBs = - [1646298854.266582][362295:362295] CHIP:DMG: [ - [1646298854.266631][362295:362295] CHIP:DMG: AttributePathIB = - [1646298854.266676][362295:362295] CHIP:DMG: { - [1646298854.266726][362295:362295] CHIP:DMG: Endpoint = 0x1, - [1646298854.266769][362295:362295] CHIP:DMG: Cluster = 0x102, - [1646298854.266840][362295:362295] CHIP:DMG: Attribute = 0x0000_0007, - [1646298854.266880][362295:362295] CHIP:DMG: } - [1646298854.266922][362295:362295] CHIP:DMG: - [1646298854.266963][362295:362295] CHIP:DMG: ], - [1646298854.266990][362295:362295] CHIP:DMG: - [1646298854.267021][362295:362295] CHIP:DMG: isFabricFiltered = true, - [1646298854.267047][362295:362295] CHIP:DMG: InteractionModelRevision = 1 - [1646298854.267091][362295:362295] CHIP:DMG: }, - [1646298854.267129][362295:362295] CHIP:DMG: IM RH moving to [GeneratingReports] - [1646298854.267197][362295:362295] CHIP:DMG: Cluster 102, Attribute 7 is dirty - [1646298854.267240][362295:362295] CHIP:DMG: Reading attribute: Cluster=0x0000_0102 Endpoint=1 AttributeId=0x0000_0007 (expanded=0) - [1646298854.267295][362295:362295] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0102 e=1 p=v + ./chip-tool windowcovering read config-status 1 1 + + Verify in TH all-clusters-app log + + [1657103295.608407][4654:4659] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0102 Attribute 0x0000_0007 DataVersion: 383647307 + [1657103295.608521][4654:4659] CHIP:TOO: ConfigStatus: 27 disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_WNCV_6_1.yaml b/src/app/tests/suites/certification/Test_TC_WNCV_6_1.yaml index bb1c84c2d36f38..e3ff2fef2cad10 100644 --- a/src/app/tests/suites/certification/Test_TC_WNCV_6_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_WNCV_6_1.yaml @@ -13,7 +13,7 @@ # limitations under the License. # Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default -name: 3.4.7. [TC-WNCV-6.1] Basic Commands Verification with client as DUT +name: 3.4.7. [TC-WNCV-6.1] Basic Commands Verification [DUT as Client] config: nodeId: 0x12344321 @@ -32,35 +32,39 @@ tests: On TestHarnes (all-cluster-app) a received up-or-open for WindowCovering looks like this ./chip-tool windowcovering up-or-open 1 1 - - [1646243704.407225][352796:352796] CHIP:EM: Received message of type 0x8 with protocolId (0, 1) and MessageCounter:10452706 on exchange 27302r - [1646243704.407277][352796:352796] CHIP:EM: Handling via exchange: 27302r, Delegate: 0x560eb84d5500 - [1646243704.407350][352796:352796] CHIP:DMG: InvokeRequestMessage = - [1646243704.407411][352796:352796] CHIP:DMG: { - [1646243704.407439][352796:352796] CHIP:DMG: suppressResponse = false, - [1646243704.407503][352796:352796] CHIP:DMG: timedRequest = false, - [1646243704.407529][352796:352796] CHIP:DMG: InvokeRequests = - [1646243704.407565][352796:352796] CHIP:DMG: [ - [1646243704.407591][352796:352796] CHIP:DMG: CommandDataIB = - [1646243704.407632][352796:352796] CHIP:DMG: { - [1646243704.407690][352796:352796] CHIP:DMG: CommandPathIB = - [1646243704.407721][352796:352796] CHIP:DMG: { - [1646243704.407807][352796:352796] CHIP:DMG: EndpointId = 0x1, - [1646243704.407835][352796:352796] CHIP:DMG: ClusterId = 0x102, - [1646243704.407899][352796:352796] CHIP:DMG: CommandId = 0x0, - [1646243704.407926][352796:352796] CHIP:DMG: }, - [1646243704.407970][352796:352796] CHIP:DMG: - [1646243704.407997][352796:352796] CHIP:DMG: CommandData = - [1646243704.408030][352796:352796] CHIP:DMG: { - [1646243704.408058][352796:352796] CHIP:DMG: }, - [1646243704.408100][352796:352796] CHIP:DMG: }, - [1646243704.408128][352796:352796] CHIP:DMG: - [1646243704.408154][352796:352796] CHIP:DMG: ], - [1646243704.408356][352796:352796] CHIP:DMG: - [1646243704.408406][352796:352796] CHIP:DMG: InteractionModelRevision = 1 - [1646243704.408447][352796:352796] CHIP:DMG: }, - [1646243704.408561][352796:352796] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0102 e=1 p=o - [1646243704.408618][352796:352796] CHIP:DMG: Received command for Endpoint=1 Cluster=0x0000_0102 Command=0x0000_0000 + Verify in TH all-clusters-app log + + [1657103322.822782][4661:4666] CHIP:DMG: InvokeResponseMessage = + [1657103322.822822][4661:4666] CHIP:DMG: { + [1657103322.822862][4661:4666] CHIP:DMG: suppressResponse = false, + [1657103322.822911][4661:4666] CHIP:DMG: InvokeResponseIBs = + [1657103322.822962][4661:4666] CHIP:DMG: [ + [1657103322.823002][4661:4666] CHIP:DMG: InvokeResponseIB = + [1657103322.823054][4661:4666] CHIP:DMG: { + [1657103322.823097][4661:4666] CHIP:DMG: CommandStatusIB = + [1657103322.823147][4661:4666] CHIP:DMG: { + [1657103322.823200][4661:4666] CHIP:DMG: CommandPathIB = + [1657103322.823256][4661:4666] CHIP:DMG: { + [1657103322.823313][4661:4666] CHIP:DMG: EndpointId = 0x1, + [1657103322.823370][4661:4666] CHIP:DMG: ClusterId = 0x102, + [1657103322.823426][4661:4666] CHIP:DMG: CommandId = 0x0, + [1657103322.823479][4661:4666] CHIP:DMG: }, + [1657103322.823537][4661:4666] CHIP:DMG: + [1657103322.823585][4661:4666] CHIP:DMG: StatusIB = + [1657103322.823644][4661:4666] CHIP:DMG: { + [1657103322.823684][4661:4666] CHIP:DMG: status = 0x00 (SUCCESS), + [1657103322.823724][4661:4666] CHIP:DMG: }, + [1657103322.823821][4661:4666] CHIP:DMG: + [1657103322.823860][4661:4666] CHIP:DMG: }, + [1657103322.823902][4661:4666] CHIP:DMG: + [1657103322.823933][4661:4666] CHIP:DMG: }, + [1657103322.823970][4661:4666] CHIP:DMG: + [1657103322.823999][4661:4666] CHIP:DMG: ], + [1657103322.824035][4661:4666] CHIP:DMG: + [1657103322.824064][4661:4666] CHIP:DMG: InteractionModelRevision = 1 + [1657103322.824093][4661:4666] CHIP:DMG: }, + [1657103322.824161][4661:4666] CHIP:DMG: Received Command Response Status for Endpoint=1 Cluster=0x0000_0102 Command=0x0000_0000 Status=0x0 + [1657103322.824210][4661:4666] CHIP:DMG: ICR moving to [AwaitingDe] disabled: true - label: "Check DownOrClose command" @@ -74,34 +78,39 @@ tests: On TestHarnes (all-cluster-app) a received down-or-close for WindowCovering looks like this ./chip-tool windowcovering down-or-close 1 1 - [1646243773.438732][352796:352796] CHIP:EM: Received message of type 0x8 with protocolId (0, 1) and MessageCounter:8564771 on exchange 6526r - [1646243773.438764][352796:352796] CHIP:EM: Handling via exchange: 6526r, Delegate: 0x560eb84d5500 - [1646243773.438871][352796:352796] CHIP:DMG: InvokeRequestMessage = - [1646243773.439801][352796:352796] CHIP:DMG: { - [1646243773.439829][352796:352796] CHIP:DMG: suppressResponse = false, - [1646243773.439876][352796:352796] CHIP:DMG: timedRequest = false, - [1646243773.439922][352796:352796] CHIP:DMG: InvokeRequests = - [1646243773.440036][352796:352796] CHIP:DMG: [ - [1646243773.440077][352796:352796] CHIP:DMG: CommandDataIB = - [1646243773.440128][352796:352796] CHIP:DMG: { - [1646243773.440176][352796:352796] CHIP:DMG: CommandPathIB = - [1646243773.440224][352796:352796] CHIP:DMG: { - [1646243773.440271][352796:352796] CHIP:DMG: EndpointId = 0x1, - [1646243773.440351][352796:352796] CHIP:DMG: ClusterId = 0x102, - [1646243773.440385][352796:352796] CHIP:DMG: CommandId = 0x1, - [1646243773.440445][352796:352796] CHIP:DMG: }, - [1646243773.440498][352796:352796] CHIP:DMG: - [1646243773.440560][352796:352796] CHIP:DMG: CommandData = - [1646243773.440613][352796:352796] CHIP:DMG: { - [1646243773.440898][352796:352796] CHIP:DMG: }, - [1646243773.440927][352796:352796] CHIP:DMG: }, - [1646243773.440999][352796:352796] CHIP:DMG: - [1646243773.441032][352796:352796] CHIP:DMG: ], - [1646243773.441061][352796:352796] CHIP:DMG: - [1646243773.441132][352796:352796] CHIP:DMG: InteractionModelRevision = 1 - [1646243773.441183][352796:352796] CHIP:DMG: }, - [1646243773.441262][352796:352796] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0102 e=1 p=o - [1646243773.441302][352796:352796] CHIP:DMG: Received command for Endpoint=1 Cluster=0x0000_0102 Command=0x0000_0001 + Verify in TH all-clusters-app log + + [1657103347.810523][4668:4673] CHIP:DMG: InvokeResponseMessage = + [1657103347.810548][4668:4673] CHIP:DMG: { + [1657103347.810572][4668:4673] CHIP:DMG: suppressResponse = false, + [1657103347.810597][4668:4673] CHIP:DMG: InvokeResponseIBs = + [1657103347.810628][4668:4673] CHIP:DMG: [ + [1657103347.810653][4668:4673] CHIP:DMG: InvokeResponseIB = + [1657103347.810685][4668:4673] CHIP:DMG: { + [1657103347.810711][4668:4673] CHIP:DMG: CommandStatusIB = + [1657103347.810744][4668:4673] CHIP:DMG: { + [1657103347.810776][4668:4673] CHIP:DMG: CommandPathIB = + [1657103347.810816][4668:4673] CHIP:DMG: { + [1657103347.810855][4668:4673] CHIP:DMG: EndpointId = 0x1, + [1657103347.810895][4668:4673] CHIP:DMG: ClusterId = 0x102, + [1657103347.810933][4668:4673] CHIP:DMG: CommandId = 0x1, + [1657103347.810969][4668:4673] CHIP:DMG: }, + [1657103347.811011][4668:4673] CHIP:DMG: + [1657103347.811041][4668:4673] CHIP:DMG: StatusIB = + [1657103347.811078][4668:4673] CHIP:DMG: { + [1657103347.811112][4668:4673] CHIP:DMG: status = 0x00 (SUCCESS), + [1657103347.811149][4668:4673] CHIP:DMG: }, + [1657103347.811183][4668:4673] CHIP:DMG: + [1657103347.811212][4668:4673] CHIP:DMG: }, + [1657103347.811245][4668:4673] CHIP:DMG: + [1657103347.811271][4668:4673] CHIP:DMG: }, + [1657103347.811300][4668:4673] CHIP:DMG: + [1657103347.811324][4668:4673] CHIP:DMG: ], + [1657103347.811353][4668:4673] CHIP:DMG: + [1657103347.811378][4668:4673] CHIP:DMG: InteractionModelRevision = 1 + [1657103347.811401][4668:4673] CHIP:DMG: }, + [1657103347.811461][4668:4673] CHIP:DMG: Received Command Response Status for Endpoint=1 Cluster=0x0000_0102 Command=0x0000_0001 Status=0x0 + [1657103347.811504][4668:4673] CHIP:DMG: ICR moving to [AwaitingDe] disabled: true - label: "Check StopMotion command" @@ -116,32 +125,37 @@ tests: ./chip-tool windowcovering stop-motion 1 1 - 1646243464.420695][352796:352796] CHIP:EM: Received message of type 0x8 with protocolId (0, 1) and MessageCounter:3710998 on exchange 7151r - [1646243464.420725][352796:352796] CHIP:EM: Handling via exchange: 7151r, Delegate: 0x560eb84d5500 - [1646243464.420779][352796:352796] CHIP:DMG: InvokeRequestMessage = - [1646243464.420820][352796:352796] CHIP:DMG: { - [1646243464.420845][352796:352796] CHIP:DMG: suppressResponse = false, - [1646243464.420885][352796:352796] CHIP:DMG: timedRequest = false, - [1646243464.420910][352796:352796] CHIP:DMG: InvokeRequests = - [1646243464.420952][352796:352796] CHIP:DMG: [ - [1646243464.420991][352796:352796] CHIP:DMG: CommandDataIB = - [1646243464.421045][352796:352796] CHIP:DMG: { - [1646243464.421072][352796:352796] CHIP:DMG: CommandPathIB = - [1646243464.421104][352796:352796] CHIP:DMG: { - [1646243464.421173][352796:352796] CHIP:DMG: EndpointId = 0x1, - [1646243464.421214][352796:352796] CHIP:DMG: ClusterId = 0x102, - [1646243464.421256][352796:352796] CHIP:DMG: CommandId = 0x2, - [1646243464.421308][352796:352796] CHIP:DMG: }, - [1646243464.421337][352796:352796] CHIP:DMG: - [1646243464.421368][352796:352796] CHIP:DMG: CommandData = - [1646243464.421393][352796:352796] CHIP:DMG: { - [1646243464.421436][352796:352796] CHIP:DMG: }, - [1646243464.421461][352796:352796] CHIP:DMG: }, - [1646243464.421500][352796:352796] CHIP:DMG: - [1646243464.421540][352796:352796] CHIP:DMG: ], - [1646243464.421567][352796:352796] CHIP:DMG: - [1646243464.421609][352796:352796] CHIP:DMG: InteractionModelRevision = 1 - [1646243464.421634][352796:352796] CHIP:DMG: }, - [1646243464.421668][352796:352796] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0102 e=1 p=o - [1646243464.421717][352796:352796] CHIP:DMG: Received command for Endpoint=1 Cluster=0x0000_0102 Command=0x0000_0002 + Verify in TH all-clusters-app log + + [1657103367.961698][4676:4681] CHIP:DMG: InvokeResponseMessage = + [1657103367.961722][4676:4681] CHIP:DMG: { + [1657103367.961747][4676:4681] CHIP:DMG: suppressResponse = false, + [1657103367.961771][4676:4681] CHIP:DMG: InvokeResponseIBs = + [1657103367.961802][4676:4681] CHIP:DMG: [ + [1657103367.961826][4676:4681] CHIP:DMG: InvokeResponseIB = + [1657103367.961861][4676:4681] CHIP:DMG: { + [1657103367.961886][4676:4681] CHIP:DMG: CommandStatusIB = + [1657103367.961917][4676:4681] CHIP:DMG: { + [1657103367.961947][4676:4681] CHIP:DMG: CommandPathIB = + [1657103367.961980][4676:4681] CHIP:DMG: { + [1657103367.962014][4676:4681] CHIP:DMG: EndpointId = 0x1, + [1657103367.962048][4676:4681] CHIP:DMG: ClusterId = 0x102, + [1657103367.962081][4676:4681] CHIP:DMG: CommandId = 0x2, + [1657103367.962116][4676:4681] CHIP:DMG: }, + [1657103367.962154][4676:4681] CHIP:DMG: + [1657103367.962184][4676:4681] CHIP:DMG: StatusIB = + [1657103367.962216][4676:4681] CHIP:DMG: { + [1657103367.962249][4676:4681] CHIP:DMG: status = 0x00 (SUCCESS), + [1657103367.962282][4676:4681] CHIP:DMG: }, + [1657103367.962314][4676:4681] CHIP:DMG: + [1657103367.962343][4676:4681] CHIP:DMG: }, + [1657103367.962409][4676:4681] CHIP:DMG: + [1657103367.962437][4676:4681] CHIP:DMG: }, + [1657103367.962467][4676:4681] CHIP:DMG: + [1657103367.962491][4676:4681] CHIP:DMG: ], + [1657103367.962520][4676:4681] CHIP:DMG: + [1657103367.962544][4676:4681] CHIP:DMG: InteractionModelRevision = 1 + [1657103367.962567][4676:4681] CHIP:DMG: }, + [1657103367.962624][4676:4681] CHIP:DMG: Received Command Response Status for Endpoint=1 Cluster=0x0000_0102 Command=0x0000_0002 Status=0x0 + [1657103367.962664][4676:4681] CHIP:DMG: ICR moving to [AwaitingDe] disabled: true 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 96f7418e16f850..1e4ba638770a24 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 @@ -13,8 +13,7 @@ # limitations under the License. # Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default -name: - 3.4.8. [TC-WNCV-7.1] GoToPercentage Commands Verification with client as DUT +name: 3.4.8. [TC-WNCV-7.1] GoToPercentage Commands Verification [DUT as Client] config: nodeId: 0x12344321 @@ -27,42 +26,46 @@ tests: disabled: true - - label: - "If (PA_LF & LF) DUT sends GoToLiftPercentage command with 50% to DUT" - PICS: WNCV.C.C05.Tx && WNCV.S.F00 && WNCV.S.F02 + - label: "DUT sends GoToLiftPercentage command with 50% to TH" + PICS: WNCV.C.C05.Tx verification: | On TestHarnes (all-cluster-app) a received GoToLift for WindowCovering looks like this - [1646297766.073468][361158:361158] CHIP:EM: Received message of type 0x8 with protocolId (0, 1) and MessageCounter:12638616 on exchange 3757r - [1646297766.073500][361158:361158] CHIP:EM: Handling via exchange: 3757r, Delegate: 0x55d525b25500 - [1646297766.073560][361158:361158] CHIP:DMG: InvokeRequestMessage = - [1646297766.073589][361158:361158] CHIP:DMG: { - [1646297766.073618][361158:361158] CHIP:DMG: suppressResponse = false, - [1646297766.073662][361158:361158] CHIP:DMG: timedRequest = false, - [1646297766.073691][361158:361158] CHIP:DMG: InvokeRequests = - [1646297766.073722][361158:361158] CHIP:DMG: [ - [1646297766.073769][361158:361158] CHIP:DMG: CommandDataIB = - [1646297766.073830][361158:361158] CHIP:DMG: { - [1646297766.073881][361158:361158] CHIP:DMG: CommandPathIB = - [1646297766.073911][361158:361158] CHIP:DMG: { - [1646297766.073970][361158:361158] CHIP:DMG: EndpointId = 0x1, - [1646297766.074008][361158:361158] CHIP:DMG: ClusterId = 0x102, - [1646297766.074069][361158:361158] CHIP:DMG: CommandId = 0x5, - [1646297766.074120][361158:361158] CHIP:DMG: }, - [1646297766.074180][361158:361158] CHIP:DMG: - [1646297766.074211][361158:361158] CHIP:DMG: CommandData = - [1646297766.074258][361158:361158] CHIP:DMG: { - [1646297766.074288][361158:361158] CHIP:DMG: 0x0 = 50, - [1646297766.074316][361158:361158] CHIP:DMG: 0x1 = 5000, - [1646297766.074386][361158:361158] CHIP:DMG: }, - [1646297766.074415][361158:361158] CHIP:DMG: }, - [1646297766.074476][361158:361158] CHIP:DMG: - [1646297766.074505][361158:361158] CHIP:DMG: ], - [1646297766.074565][361158:361158] CHIP:DMG: - [1646297766.074619][361158:361158] CHIP:DMG: InteractionModelRevision = 1 - [1646297766.074647][361158:361158] CHIP:DMG: }, - [1646297766.074705][361158:361158] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0102 e=1 p=o - [1646297766.074745][361158:361158] CHIP:DMG: Received command for Endpoint=1 Cluster=0x0000_0102 Command=0x0000_0005 + ./chip-tool windowcovering go-to-lift-percentage 50 1 1 + + Verify in TH all-clusters-app log + + [1657103392.913017][4682:4687] CHIP:DMG: InvokeResponseMessage = + [1657103392.913042][4682:4687] CHIP:DMG: { + [1657103392.913066][4682:4687] CHIP:DMG: suppressResponse = false, + [1657103392.913090][4682:4687] CHIP:DMG: InvokeResponseIBs = + [1657103392.913120][4682:4687] CHIP:DMG: [ + [1657103392.913145][4682:4687] CHIP:DMG: InvokeResponseIB = + [1657103392.913184][4682:4687] CHIP:DMG: { + [1657103392.913212][4682:4687] CHIP:DMG: CommandStatusIB = + [1657103392.913247][4682:4687] CHIP:DMG: { + [1657103392.913276][4682:4687] CHIP:DMG: CommandPathIB = + [1657103392.913310][4682:4687] CHIP:DMG: { + [1657103392.913345][4682:4687] CHIP:DMG: EndpointId = 0x1, + [1657103392.913380][4682:4687] CHIP:DMG: ClusterId = 0x102, + [1657103392.913413][4682:4687] CHIP:DMG: CommandId = 0x5, + [1657103392.913442][4682:4687] CHIP:DMG: }, + [1657103392.913477][4682:4687] CHIP:DMG: + [1657103392.913505][4682:4687] CHIP:DMG: StatusIB = + [1657103392.913536][4682:4687] CHIP:DMG: { + [1657103392.913571][4682:4687] CHIP:DMG: status = 0x00 (SUCCESS), + [1657103392.913603][4682:4687] CHIP:DMG: }, + [1657103392.913635][4682:4687] CHIP:DMG: + [1657103392.913664][4682:4687] CHIP:DMG: }, + [1657103392.913696][4682:4687] CHIP:DMG: + [1657103392.913723][4682:4687] CHIP:DMG: }, + [1657103392.913753][4682:4687] CHIP:DMG: + [1657103392.913776][4682:4687] CHIP:DMG: ], + [1657103392.913805][4682:4687] CHIP:DMG: + [1657103392.913828][4682:4687] CHIP:DMG: InteractionModelRevision = 1 + [1657103392.913851][4682:4687] CHIP:DMG: }, + [1657103392.913912][4682:4687] CHIP:DMG: Received Command Response Status for Endpoint=1 Cluster=0x0000_0102 Command=0x0000_0005 Status=0x0 + [1657103392.913952][4682:4687] CHIP:DMG: ICR moving to [AwaitingDe] disabled: true - label: "Check GoToTiltPercentage command 50%" @@ -70,40 +73,44 @@ tests: disabled: true - - label: - "If (PA_TL & TL) DUT sends GoToTiltPercentage command with 50% to DUT" - PICS: WNCV.C.C08.Tx && WNCV.S.F01 && WNCV.S.F04 + - label: "DUT sends GoToTiltPercentage command with 50% to TH" + PICS: WNCV.C.C08.Tx verification: | On TestHarnes (all-cluster-app) a received GoToTilt for WindowCovering looks like this - [1646298060.215062][361158:361158] CHIP:EM: Received message of type 0x8 with protocolId (0, 1) and MessageCounter:13675126 on exchange 583r - [1646298060.215092][361158:361158] CHIP:EM: Handling via exchange: 583r, Delegate: 0x55d525b25500 - [1646298060.215225][361158:361158] CHIP:DMG: InvokeRequestMessage = - [1646298060.215260][361158:361158] CHIP:DMG: { - [1646298060.215285][361158:361158] CHIP:DMG: suppressResponse = false, - [1646298060.215355][361158:361158] CHIP:DMG: timedRequest = false, - [1646298060.215745][361158:361158] CHIP:DMG: InvokeRequests = - [1646298060.215925][361158:361158] CHIP:DMG: [ - [1646298060.216063][361158:361158] CHIP:DMG: CommandDataIB = - [1646298060.216460][361158:361158] CHIP:DMG: { - [1646298060.216641][361158:361158] CHIP:DMG: CommandPathIB = - [1646298060.216850][361158:361158] CHIP:DMG: { - [1646298060.217059][361158:361158] CHIP:DMG: EndpointId = 0x1, - [1646298060.217327][361158:361158] CHIP:DMG: ClusterId = 0x102, - [1646298060.217551][361158:361158] CHIP:DMG: CommandId = 0x8, - [1646298060.217768][361158:361158] CHIP:DMG: }, - [1646298060.217960][361158:361158] CHIP:DMG: - [1646298060.218130][361158:361158] CHIP:DMG: CommandData = - [1646298060.218320][361158:361158] CHIP:DMG: { - [1646298060.218510][361158:361158] CHIP:DMG: 0x0 = 50, - [1646298060.218727][361158:361158] CHIP:DMG: 0x1 = 5000, - [1646298060.218944][361158:361158] CHIP:DMG: }, - [1646298060.219135][361158:361158] CHIP:DMG: }, - [1646298060.219301][361158:361158] CHIP:DMG: - [1646298060.219436][361158:361158] CHIP:DMG: ], - [1646298060.219684][361158:361158] CHIP:DMG: - [1646298060.219795][361158:361158] CHIP:DMG: InteractionModelRevision = 1 - [1646298060.219930][361158:361158] CHIP:DMG: }, - [1646298060.220021][361158:361158] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0102 e=1 p=o - [1646298060.220264][361158:361158] CHIP:DMG: Received command for Endpoint=1 Cluster=0x0000_0102 Command=0x0000_0008 + ./chip-tool windowcovering go-to-tilt-percentage 50 1 1 + + Verify in TH all-clusters-app log + + [1657103413.915095][4688:4693] CHIP:DMG: InvokeResponseMessage = + [1657103413.915136][4688:4693] CHIP:DMG: { + [1657103413.915175][4688:4693] CHIP:DMG: suppressResponse = false, + [1657103413.915216][4688:4693] CHIP:DMG: InvokeResponseIBs = + [1657103413.915267][4688:4693] CHIP:DMG: [ + [1657103413.915308][4688:4693] CHIP:DMG: InvokeResponseIB = + [1657103413.915361][4688:4693] CHIP:DMG: { + [1657103413.915403][4688:4693] CHIP:DMG: CommandStatusIB = + [1657103413.915456][4688:4693] CHIP:DMG: { + [1657103413.915508][4688:4693] CHIP:DMG: CommandPathIB = + [1657103413.915563][4688:4693] CHIP:DMG: { + [1657103413.915614][4688:4693] CHIP:DMG: EndpointId = 0x1, + [1657103413.915672][4688:4693] CHIP:DMG: ClusterId = 0x102, + [1657103413.915729][4688:4693] CHIP:DMG: CommandId = 0x8, + [1657103413.915782][4688:4693] CHIP:DMG: }, + [1657103413.915839][4688:4693] CHIP:DMG: + [1657103413.915889][4688:4693] CHIP:DMG: StatusIB = + [1657103413.915943][4688:4693] CHIP:DMG: { + [1657103413.915992][4688:4693] CHIP:DMG: status = 0x00 (SUCCESS), + [1657103413.916046][4688:4693] CHIP:DMG: }, + [1657103413.916095][4688:4693] CHIP:DMG: + [1657103413.916142][4688:4693] CHIP:DMG: }, + [1657103413.916197][4688:4693] CHIP:DMG: + [1657103413.916238][4688:4693] CHIP:DMG: }, + [1657103413.916287][4688:4693] CHIP:DMG: + [1657103413.916326][4688:4693] CHIP:DMG: ], + [1657103413.916366][4688:4693] CHIP:DMG: + [1657103413.916396][4688:4693] CHIP:DMG: InteractionModelRevision = 1 + [1657103413.916425][4688:4693] CHIP:DMG: }, + [1657103413.916507][4688:4693] CHIP:DMG: Received Command Response Status for Endpoint=1 Cluster=0x0000_0102 Command=0x0000_0008 Status=0x0 + [1657103413.916558][4688:4693] CHIP:DMG: ICR moving to [AwaitingDe] disabled: true diff --git a/src/app/tests/suites/certification/ci-pics-values b/src/app/tests/suites/certification/ci-pics-values index 525e3cab80ebaa..42b416240abf77 100644 --- a/src/app/tests/suites/certification/ci-pics-values +++ b/src/app/tests/suites/certification/ci-pics-values @@ -536,6 +536,10 @@ SWTCH.S.F01=1 SWTCH.S.F02=1 SWTCH.S.F03=1 SWTCH.S.F04=1 +SWTCH.C.F00=1 +SWTCH.C.F01=1 +SWTCH.C.M.RA=1 +SWTCH.C.M.EV=1 #General Commissioning Cluster CGEN.S.A0000=1 @@ -593,8 +597,12 @@ OTAC.C.M.NotifyUpdateApplied=1 #User Label ULABEL.S.A0000=1 +ULABEL.C.A0000=1 + #Fixed Label FLABEL.S.A0000=1 +FLABEL.C.A0000=1 + #Thermostat User Configuration Cluster TSUIC.S.A0000=1 TSUIC.S.A0001=1 diff --git a/src/app/tests/suites/tests.js b/src/app/tests/suites/tests.js index c22c2b69480f7d..74010c086b32e5 100644 --- a/src/app/tests/suites/tests.js +++ b/src/app/tests/suites/tests.js @@ -137,6 +137,7 @@ function getManualTests() { "Test_TC_CNET_4_19", "Test_TC_CNET_4_20", "Test_TC_CNET_4_21", + "Test_TC_CNET_4_22", ]; const DiagnosticsLogs = [ @@ -501,6 +502,11 @@ function getManualTests() { "Test_TC_ACL_2_10", ]; + const UserLabel = [ + "Test_TC_ULABEL_3_1", + ]; + + const tests = [ DeviceDiscovery, Groups, @@ -549,6 +555,7 @@ function getManualTests() { Scenes, PumpConfigurationControl, AccessControl, + UserLabel, ].flat(1); tests.disable = disable.bind(tests); @@ -652,7 +659,6 @@ function getTests() { "Test_TC_ULABEL_2_2", "Test_TC_ULABEL_2_3", "Test_TC_ULABEL_2_4", - "Test_TC_ULABEL_3_1", ]; const MediaControl = [ diff --git a/zzz_generated/chip-tool/zap-generated/test/Commands.h b/zzz_generated/chip-tool/zap-generated/test/Commands.h index f9376a07e5e81e..952710f6c1c2a1 100644 --- a/zzz_generated/chip-tool/zap-generated/test/Commands.h +++ b/zzz_generated/chip-tool/zap-generated/test/Commands.h @@ -157,7 +157,6 @@ class TestList : public Command printf("Test_TC_ULABEL_2_2\n"); printf("Test_TC_ULABEL_2_3\n"); printf("Test_TC_ULABEL_2_4\n"); - printf("Test_TC_ULABEL_3_1\n"); printf("Test_TC_DGWIFI_2_1\n"); printf("Test_TC_DGWIFI_2_3\n"); printf("Test_TC_WNCV_1_1\n"); @@ -331,6 +330,7 @@ class ManualTestList : public Command printf("Test_TC_CNET_4_19\n"); printf("Test_TC_CNET_4_20\n"); printf("Test_TC_CNET_4_21\n"); + printf("Test_TC_CNET_4_22\n"); printf("Test_TC_DLOG_1_1\n"); printf("Test_TC_DLOG_2_1\n"); printf("Test_TC_DLOG_2_2\n"); @@ -568,6 +568,7 @@ class ManualTestList : public Command printf("Test_TC_ACL_2_8\n"); printf("Test_TC_ACL_2_9\n"); printf("Test_TC_ACL_2_10\n"); + printf("Test_TC_ULABEL_3_1\n"); return CHIP_NO_ERROR; } @@ -6836,6 +6837,7 @@ class Test_TC_CC_6_1Suite : public TestCommand { uint16_t value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); + VerifyOrReturn(CheckValue("colorTemperature", value, 100U)); VerifyOrReturn(CheckConstraintType("value", "", "uint16")); VerifyOrReturn(CheckConstraintMinValue("value", value, 0U)); VerifyOrReturn(CheckConstraintMaxValue("value", value, 65279U)); @@ -6898,7 +6900,7 @@ class Test_TC_CC_6_1Suite : public TestCommand ListFreer listFreer; chip::app::Clusters::ColorControl::Commands::MoveToColorTemperature::Type value; value.colorTemperature = 100U; - value.transitionTime = 10U; + value.transitionTime = 5U; value.optionsMask = 0U; value.optionsOverride = 0U; return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::MoveToColorTemperature::Id, @@ -6907,10 +6909,10 @@ class Test_TC_CC_6_1Suite : public TestCommand ); } case 5: { - LogStep(5, "Wait 10ms"); + LogStep(5, "Wait 700ms"); ListFreer listFreer; chip::app::Clusters::DelayCommands::Commands::WaitForMs::Type value; - value.ms = 10UL; + value.ms = 700UL; return WaitForMs(kIdentityAlpha, value); } case 6: { @@ -14166,7 +14168,7 @@ class Test_TC_LVL_1_1Suite : public TestCommand class Test_TC_LVL_2_1Suite : public TestCommand { public: - Test_TC_LVL_2_1Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_LVL_2_1", 23, credsIssuerConfig) + Test_TC_LVL_2_1Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_LVL_2_1", 24, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -14219,6 +14221,14 @@ class Test_TC_LVL_2_1Suite : public TestCommand shouldContinue = true; break; case 3: + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); + { + uint8_t value; + VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); + VerifyOrReturn(CheckValue("currentLevel", value, 254U)); + } + break; + case 4: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { uint8_t value; @@ -14227,7 +14237,7 @@ class Test_TC_LVL_2_1Suite : public TestCommand CurrentLevelValue = value; } break; - case 4: + case 5: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { uint16_t value; @@ -14235,7 +14245,7 @@ class Test_TC_LVL_2_1Suite : public TestCommand VerifyOrReturn(CheckConstraintType("value", "", "uint16")); } break; - case 5: + case 6: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { uint8_t value; @@ -14245,7 +14255,7 @@ class Test_TC_LVL_2_1Suite : public TestCommand MinLevelValue = value; } break; - case 6: + case 7: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { uint8_t value; @@ -14256,7 +14266,7 @@ class Test_TC_LVL_2_1Suite : public TestCommand MinLevelValue1 = value; } break; - case 7: + case 8: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { uint8_t value; @@ -14267,7 +14277,7 @@ class Test_TC_LVL_2_1Suite : public TestCommand MaxLevelValue = value; } break; - case 8: + case 9: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { uint8_t value; @@ -14278,7 +14288,7 @@ class Test_TC_LVL_2_1Suite : public TestCommand MaxLevelValue1 = value; } break; - case 9: + case 10: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { uint8_t value; @@ -14288,7 +14298,7 @@ class Test_TC_LVL_2_1Suite : public TestCommand VerifyOrReturn(CheckConstraintMaxValue("value", value, MaxLevelValue)); } break; - case 10: + case 11: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { uint8_t value; @@ -14298,7 +14308,7 @@ class Test_TC_LVL_2_1Suite : public TestCommand VerifyOrReturn(CheckConstraintMaxValue("value", value, MaxLevelValue1)); } break; - case 11: + case 12: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { uint16_t value; @@ -14306,7 +14316,7 @@ class Test_TC_LVL_2_1Suite : public TestCommand VerifyOrReturn(CheckConstraintType("value", "", "uint16")); } break; - case 12: + case 13: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { uint16_t value; @@ -14315,7 +14325,7 @@ class Test_TC_LVL_2_1Suite : public TestCommand MinFrequencyValue = value; } break; - case 13: + case 14: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { uint16_t value; @@ -14324,7 +14334,7 @@ class Test_TC_LVL_2_1Suite : public TestCommand MaxFrequencyValue = value; } break; - case 14: + case 15: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { uint16_t value; @@ -14334,7 +14344,7 @@ class Test_TC_LVL_2_1Suite : public TestCommand VerifyOrReturn(CheckConstraintMaxValue("value", value, MaxFrequencyValue)); } break; - case 15: + case 16: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { uint16_t value; @@ -14343,7 +14353,7 @@ class Test_TC_LVL_2_1Suite : public TestCommand VerifyOrReturn(CheckConstraintType("value", "", "uint16")); } break; - case 16: + case 17: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::Nullable value; @@ -14353,7 +14363,7 @@ class Test_TC_LVL_2_1Suite : public TestCommand VerifyOrReturn(CheckConstraintMaxValue("value", value, MaxLevelValue)); } break; - case 17: + case 18: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::Nullable value; @@ -14363,7 +14373,7 @@ class Test_TC_LVL_2_1Suite : public TestCommand VerifyOrReturn(CheckConstraintMaxValue("value", value, MaxLevelValue1)); } break; - case 18: + case 19: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::Nullable value; @@ -14371,7 +14381,7 @@ class Test_TC_LVL_2_1Suite : public TestCommand VerifyOrReturn(CheckConstraintType("value", "", "uint16")); } break; - case 19: + case 20: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::Nullable value; @@ -14379,7 +14389,7 @@ class Test_TC_LVL_2_1Suite : public TestCommand VerifyOrReturn(CheckConstraintType("value", "", "uint16")); } break; - case 20: + case 21: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::Nullable value; @@ -14387,7 +14397,7 @@ class Test_TC_LVL_2_1Suite : public TestCommand VerifyOrReturn(CheckConstraintType("value", "", "uint8")); } break; - case 21: + case 22: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { uint8_t value; @@ -14396,7 +14406,7 @@ class Test_TC_LVL_2_1Suite : public TestCommand VerifyOrReturn(CheckConstraintType("value", "", "map8")); } break; - case 22: + case 23: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::Nullable value; @@ -14427,7 +14437,8 @@ class Test_TC_LVL_2_1Suite : public TestCommand return WaitForCommissionee(kIdentityAlpha, value); } case 1: { - LogStep(1, "Reset level to 254"); + LogStep(1, "Precondition: Reset level to 254"); + VerifyOrDo(!ShouldSkip("PICS_SDK_CI_ONLY"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::LevelControl::Commands::MoveToLevel::Type value; value.level = 254U; @@ -14441,127 +14452,134 @@ class Test_TC_LVL_2_1Suite : public TestCommand } case 2: { LogStep(2, "Wait 100ms"); + VerifyOrDo(!ShouldSkip("PICS_SDK_CI_ONLY"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::DelayCommands::Commands::WaitForMs::Type value; value.ms = 100UL; return WaitForMs(kIdentityAlpha, value); } case 3: { - LogStep(3, "Reads the CurrentLevel attribute"); + LogStep(3, "Precondition: Reads the CurrentLevel attribute"); VerifyOrDo(!ShouldSkip("LVL.S.A0000"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Attributes::CurrentLevel::Id, true, chip::NullOptional); } case 4: { - LogStep(4, "Reads the RemainingTime attribute"); + LogStep(4, "Reads the CurrentLevel attribute"); + VerifyOrDo(!ShouldSkip("LVL.S.A0000"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + return ReadAttribute(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Attributes::CurrentLevel::Id, true, + chip::NullOptional); + } + case 5: { + LogStep(5, "Reads the RemainingTime attribute"); VerifyOrDo(!ShouldSkip("LVL.S.A0001"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Attributes::RemainingTime::Id, true, chip::NullOptional); } - case 5: { - LogStep(5, "Reads the MinLevel attribute"); + case 6: { + LogStep(6, "Reads the MinLevel attribute"); VerifyOrDo(!ShouldSkip("LVL.S.A0002 && LVL.S.F01"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Attributes::MinLevel::Id, true, chip::NullOptional); } - case 6: { - LogStep(6, "Reads the MinLevel attribute"); + case 7: { + LogStep(7, "Reads the MinLevel attribute"); VerifyOrDo(!ShouldSkip("LVL.S.A0002 && !LVL.S.F01"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Attributes::MinLevel::Id, true, chip::NullOptional); } - case 7: { - LogStep(7, "Reads the MaxLevel attribute"); + case 8: { + LogStep(8, "Reads the MaxLevel attribute"); VerifyOrDo(!ShouldSkip("LVL.S.A0003 && LVL.S.F01"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Attributes::MaxLevel::Id, true, chip::NullOptional); } - case 8: { - LogStep(8, "Reads the MaxLevel attribute"); + case 9: { + LogStep(9, "Reads the MaxLevel attribute"); VerifyOrDo(!ShouldSkip("LVL.S.A0003 && !LVL.S.F01"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Attributes::MaxLevel::Id, true, chip::NullOptional); } - case 9: { - LogStep(9, "Step 4b & 4C Reads the CurrentLevel attribute"); + case 10: { + LogStep(10, "Step 4b & 4C Reads the CurrentLevel attribute"); VerifyOrDo(!ShouldSkip("LVL.S.F01"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Attributes::CurrentLevel::Id, true, chip::NullOptional); } - case 10: { - LogStep(10, "Step 4b & 4C Reads the CurrentLevel attribute"); + case 11: { + LogStep(11, "Step 4b & 4C Reads the CurrentLevel attribute"); VerifyOrDo(!ShouldSkip(" !LVL.S.F01 "), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Attributes::CurrentLevel::Id, true, chip::NullOptional); } - case 11: { - LogStep(11, "Reads the CurrentFrequency attribute"); + case 12: { + LogStep(12, "Reads the CurrentFrequency attribute"); VerifyOrDo(!ShouldSkip("LVL.S.A0004"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Attributes::CurrentFrequency::Id, true, chip::NullOptional); } - case 12: { - LogStep(12, "Reads the MinFrequency attribute"); + case 13: { + LogStep(13, "Reads the MinFrequency attribute"); VerifyOrDo(!ShouldSkip("LVL.S.A0005"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Attributes::MinFrequency::Id, true, chip::NullOptional); } - case 13: { - LogStep(13, "Reads the MaxFrequency attribute"); + case 14: { + LogStep(14, "Reads the MaxFrequency attribute"); VerifyOrDo(!ShouldSkip("LVL.S.A0006"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Attributes::MaxFrequency::Id, true, chip::NullOptional); } - case 14: { - LogStep(14, "Step 7b & 7C Reads the CurrentFrequency attribute"); + case 15: { + LogStep(15, "Step 7b & 7C Reads the CurrentFrequency attribute"); VerifyOrDo(!ShouldSkip("LVL.S.A0004 && LVL.S.A0005 && LVL.S.A0006"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Attributes::CurrentFrequency::Id, true, chip::NullOptional); } - case 15: { - LogStep(15, "Reads the OnOffTransitionTime attribute"); + case 16: { + LogStep(16, "Reads the OnOffTransitionTime attribute"); VerifyOrDo(!ShouldSkip("LVL.S.A0010"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Attributes::OnOffTransitionTime::Id, true, chip::NullOptional); } - case 16: { - LogStep(16, "Reads the OnLevel attribute "); + case 17: { + LogStep(17, "Reads the OnLevel attribute "); VerifyOrDo(!ShouldSkip("LVL.S.F01 && LVL.S.A0011"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Attributes::OnLevel::Id, true, chip::NullOptional); } - case 17: { - LogStep(17, "Reads the OnLevel attribute "); + case 18: { + LogStep(18, "Reads the OnLevel attribute "); VerifyOrDo(!ShouldSkip("LVL.S.A0011 && !LVL.S.F01"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Attributes::OnLevel::Id, true, chip::NullOptional); } - case 18: { - LogStep(18, "Reads the OnTransitionTime attribute "); + case 19: { + LogStep(19, "Reads the OnTransitionTime attribute "); VerifyOrDo(!ShouldSkip("LVL.S.A0012"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Attributes::OnTransitionTime::Id, true, chip::NullOptional); } - case 19: { - LogStep(19, "Reads the OffTransitionTime attribute "); + case 20: { + LogStep(20, "Reads the OffTransitionTime attribute "); VerifyOrDo(!ShouldSkip("LVL.S.A0013"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Attributes::OffTransitionTime::Id, true, chip::NullOptional); } - case 20: { - LogStep(20, "Reads the DefaultMoveRate attribute "); + case 21: { + LogStep(21, "Reads the DefaultMoveRate attribute "); VerifyOrDo(!ShouldSkip("LVL.S.A0014"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Attributes::DefaultMoveRate::Id, true, chip::NullOptional); } - case 21: { - LogStep(21, "Reads the Options attribute "); + case 22: { + LogStep(22, "Reads the Options attribute "); VerifyOrDo(!ShouldSkip("LVL.S.A000f"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Attributes::Options::Id, true, chip::NullOptional); } - case 22: { - LogStep(22, "Reads the StartUpCurrentLevel attribute "); + case 23: { + LogStep(23, "Reads the StartUpCurrentLevel attribute "); VerifyOrDo(!ShouldSkip("LVL.S.A4000"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Attributes::StartUpCurrentLevel::Id, true, chip::NullOptional); @@ -15127,7 +15145,7 @@ class Test_TC_LVL_3_1Suite : public TestCommand ); } case 7: { - LogStep(7, "Wait 100 second"); + LogStep(7, "Wait 100 ms"); ListFreer listFreer; chip::app::Clusters::DelayCommands::Commands::WaitForMs::Type value; value.ms = 100UL; @@ -33823,86 +33841,6 @@ class Test_TC_ULABEL_2_4Suite : public TestCommand } }; -class Test_TC_ULABEL_3_1Suite : public TestCommand -{ -public: - Test_TC_ULABEL_3_1Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_ULABEL_3_1", 2, credsIssuerConfig) - { - AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); - AddArgument("cluster", &mCluster); - AddArgument("endpoint", 0, UINT16_MAX, &mEndpoint); - AddArgument("timeout", 0, UINT16_MAX, &mTimeout); - } - - ~Test_TC_ULABEL_3_1Suite() {} - - chip::System::Clock::Timeout GetWaitDuration() const override - { - return chip::System::Clock::Seconds16(mTimeout.ValueOr(kTimeoutInSeconds)); - } - -private: - chip::Optional mNodeId; - chip::Optional mCluster; - chip::Optional mEndpoint; - chip::Optional mTimeout; - - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } - - // - // Tests methods - // - - void OnResponse(const chip::app::StatusIB & status, chip::TLV::TLVReader * data) override - { - bool shouldContinue = false; - - switch (mTestIndex - 1) - { - case 0: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); - shouldContinue = true; - break; - case 1: - 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")); - } - break; - default: - LogErrorOnFailure(ContinueOnChipMainThread(CHIP_ERROR_INVALID_ARGUMENT)); - } - - if (shouldContinue) - { - ContinueOnChipMainThread(CHIP_NO_ERROR); - } - } - - CHIP_ERROR DoTestStep(uint16_t testIndex) override - { - using namespace chip::app::Clusters; - switch (testIndex) - { - case 0: { - LogStep(0, "Wait for the commissioned device to be retrieved"); - ListFreer listFreer; - chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; - value.nodeId = mNodeId.HasValue() ? mNodeId.Value() : 305414945ULL; - return WaitForCommissionee(kIdentityAlpha, value); - } - case 1: { - LogStep(1, "TH reads LabelList attribute of the DUT"); - return ReadAttribute(kIdentityAlpha, GetEndpoint(1), UserLabel::Id, UserLabel::Attributes::LabelList::Id, true, - chip::NullOptional); - } - } - return CHIP_NO_ERROR; - } -}; - class Test_TC_DGWIFI_2_1Suite : public TestCommand { public: @@ -70697,6 +70635,62 @@ class Test_TC_CNET_4_21Suite : public TestCommand } }; +class Test_TC_CNET_4_22Suite : public TestCommand +{ +public: + Test_TC_CNET_4_22Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_CNET_4_22", 0, credsIssuerConfig) + { + AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); + AddArgument("cluster", &mCluster); + AddArgument("endpoint", 0, UINT16_MAX, &mEndpoint); + AddArgument("timeout", 0, UINT16_MAX, &mTimeout); + } + + ~Test_TC_CNET_4_22Suite() {} + + chip::System::Clock::Timeout GetWaitDuration() const override + { + return chip::System::Clock::Seconds16(mTimeout.ValueOr(kTimeoutInSeconds)); + } + +private: + chip::Optional mNodeId; + chip::Optional mCluster; + chip::Optional mEndpoint; + chip::Optional mTimeout; + + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + + // + // Tests methods + // + + void OnResponse(const chip::app::StatusIB & status, chip::TLV::TLVReader * data) override + { + bool shouldContinue = false; + + switch (mTestIndex - 1) + { + default: + LogErrorOnFailure(ContinueOnChipMainThread(CHIP_ERROR_INVALID_ARGUMENT)); + } + + if (shouldContinue) + { + ContinueOnChipMainThread(CHIP_NO_ERROR); + } + } + + CHIP_ERROR DoTestStep(uint16_t testIndex) override + { + using namespace chip::app::Clusters; + switch (testIndex) + { + } + return CHIP_NO_ERROR; + } +}; + class Test_TC_DLOG_1_1Suite : public TestCommand { public: @@ -89505,6 +89499,62 @@ class Test_TC_ACL_2_10Suite : public TestCommand } }; +class Test_TC_ULABEL_3_1Suite : public TestCommand +{ +public: + Test_TC_ULABEL_3_1Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_ULABEL_3_1", 0, credsIssuerConfig) + { + AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); + AddArgument("cluster", &mCluster); + AddArgument("endpoint", 0, UINT16_MAX, &mEndpoint); + AddArgument("timeout", 0, UINT16_MAX, &mTimeout); + } + + ~Test_TC_ULABEL_3_1Suite() {} + + chip::System::Clock::Timeout GetWaitDuration() const override + { + return chip::System::Clock::Seconds16(mTimeout.ValueOr(kTimeoutInSeconds)); + } + +private: + chip::Optional mNodeId; + chip::Optional mCluster; + chip::Optional mEndpoint; + chip::Optional mTimeout; + + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + + // + // Tests methods + // + + void OnResponse(const chip::app::StatusIB & status, chip::TLV::TLVReader * data) override + { + bool shouldContinue = false; + + switch (mTestIndex - 1) + { + default: + LogErrorOnFailure(ContinueOnChipMainThread(CHIP_ERROR_INVALID_ARGUMENT)); + } + + if (shouldContinue) + { + ContinueOnChipMainThread(CHIP_NO_ERROR); + } + } + + CHIP_ERROR DoTestStep(uint16_t testIndex) override + { + using namespace chip::app::Clusters; + switch (testIndex) + { + } + return CHIP_NO_ERROR; + } +}; + #endif // CONFIG_ENABLE_YAML_TESTS void registerCommandsTests(Commands & commands, CredentialIssuerCommands * credsIssuerConfig) @@ -89638,7 +89688,6 @@ void registerCommandsTests(Commands & commands, CredentialIssuerCommands * creds make_unique(credsIssuerConfig), make_unique(credsIssuerConfig), make_unique(credsIssuerConfig), - make_unique(credsIssuerConfig), make_unique(credsIssuerConfig), make_unique(credsIssuerConfig), make_unique(credsIssuerConfig), @@ -89801,6 +89850,7 @@ void registerCommandsTests(Commands & commands, CredentialIssuerCommands * creds make_unique(credsIssuerConfig), make_unique(credsIssuerConfig), make_unique(credsIssuerConfig), + make_unique(credsIssuerConfig), make_unique(credsIssuerConfig), make_unique(credsIssuerConfig), make_unique(credsIssuerConfig), @@ -90038,6 +90088,7 @@ void registerCommandsTests(Commands & commands, CredentialIssuerCommands * creds make_unique(credsIssuerConfig), make_unique(credsIssuerConfig), make_unique(credsIssuerConfig), + make_unique(credsIssuerConfig), #endif // CONFIG_ENABLE_YAML_TESTS }; 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 d70f315fb643d2..d5c40fa14bb88c 100644 --- a/zzz_generated/darwin-framework-tool/zap-generated/test/Commands.h +++ b/zzz_generated/darwin-framework-tool/zap-generated/test/Commands.h @@ -147,7 +147,6 @@ class TestList : public Command { printf("Test_TC_ULABEL_2_2\n"); printf("Test_TC_ULABEL_2_3\n"); printf("Test_TC_ULABEL_2_4\n"); - printf("Test_TC_ULABEL_3_1\n"); printf("Test_TC_DGWIFI_2_1\n"); printf("Test_TC_DGWIFI_2_3\n"); printf("Test_TC_WNCV_1_1\n"); @@ -11287,8 +11286,8 @@ class Test_TC_CC_6_1 : public TestCommandBridge { err = TestMoveToColorTemperatureCommand_4(); break; case 5: - ChipLogProgress(chipTool, " ***** Test Step 5 : Wait 10ms\n"); - err = TestWait10ms_5(); + ChipLogProgress(chipTool, " ***** Test Step 5 : Wait 700ms\n"); + err = TestWait700ms_5(); break; case 6: ChipLogProgress(chipTool, " ***** Test Step 6 : Read current color temprature\n"); @@ -11443,7 +11442,7 @@ class Test_TC_CC_6_1 : public TestCommandBridge { __auto_type * params = [[MTRColorControlClusterMoveToColorTemperatureParams alloc] init]; params.colorTemperature = [NSNumber numberWithUnsignedShort:100U]; - params.transitionTime = [NSNumber numberWithUnsignedShort:10U]; + params.transitionTime = [NSNumber numberWithUnsignedShort:5U]; params.optionsMask = [NSNumber numberWithUnsignedChar:0U]; params.optionsOverride = [NSNumber numberWithUnsignedChar:0U]; [cluster moveToColorTemperatureWithParams:params @@ -11458,10 +11457,10 @@ class Test_TC_CC_6_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestWait10ms_5() + CHIP_ERROR TestWait700ms_5() { chip::app::Clusters::DelayCommands::Commands::WaitForMs::Type value; - value.ms = 10UL; + value.ms = 700UL; return WaitForMs("alpha", value); } @@ -11478,6 +11477,11 @@ class Test_TC_CC_6_1 : public TestCommandBridge { VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); + { + id actualValue = value; + VerifyOrReturn(CheckValue("ColorTemperature", actualValue, 100U)); + } + VerifyOrReturn(CheckConstraintType("colorTemperature", "", "uint16")); VerifyOrReturn(CheckConstraintMinValue("colorTemperature", [value unsignedShortValue], 0U)); VerifyOrReturn(CheckConstraintMaxValue("colorTemperature", [value unsignedShortValue], 65279U)); @@ -22433,172 +22437,188 @@ class Test_TC_LVL_2_1 : public TestCommandBridge { err = TestWaitForTheCommissionedDeviceToBeRetrieved_0(); break; case 1: - ChipLogProgress(chipTool, " ***** Test Step 1 : Reset level to 254\n"); - err = TestResetLevelTo254_1(); + ChipLogProgress(chipTool, " ***** Test Step 1 : Precondition: Reset level to 254\n"); + if (ShouldSkip("PICS_SDK_CI_ONLY")) { + NextTest(); + return; + } + err = TestPreconditionResetLevelTo254_1(); break; case 2: ChipLogProgress(chipTool, " ***** Test Step 2 : Wait 100ms\n"); + if (ShouldSkip("PICS_SDK_CI_ONLY")) { + NextTest(); + return; + } err = TestWait100ms_2(); break; case 3: - ChipLogProgress(chipTool, " ***** Test Step 3 : Reads the CurrentLevel attribute\n"); + ChipLogProgress(chipTool, " ***** Test Step 3 : Precondition: Reads the CurrentLevel attribute\n"); if (ShouldSkip("LVL.S.A0000")) { NextTest(); return; } - err = TestReadsTheCurrentLevelAttribute_3(); + err = TestPreconditionReadsTheCurrentLevelAttribute_3(); break; case 4: - ChipLogProgress(chipTool, " ***** Test Step 4 : Reads the RemainingTime attribute\n"); - if (ShouldSkip("LVL.S.A0001")) { + ChipLogProgress(chipTool, " ***** Test Step 4 : Reads the CurrentLevel attribute\n"); + if (ShouldSkip("LVL.S.A0000")) { NextTest(); return; } - err = TestReadsTheRemainingTimeAttribute_4(); + err = TestReadsTheCurrentLevelAttribute_4(); break; case 5: - ChipLogProgress(chipTool, " ***** Test Step 5 : Reads the MinLevel attribute\n"); - if (ShouldSkip("LVL.S.A0002 && LVL.S.F01")) { + ChipLogProgress(chipTool, " ***** Test Step 5 : Reads the RemainingTime attribute\n"); + if (ShouldSkip("LVL.S.A0001")) { NextTest(); return; } - err = TestReadsTheMinLevelAttribute_5(); + err = TestReadsTheRemainingTimeAttribute_5(); break; case 6: ChipLogProgress(chipTool, " ***** Test Step 6 : Reads the MinLevel attribute\n"); - if (ShouldSkip("LVL.S.A0002 && !LVL.S.F01")) { + if (ShouldSkip("LVL.S.A0002 && LVL.S.F01")) { NextTest(); return; } err = TestReadsTheMinLevelAttribute_6(); break; case 7: - ChipLogProgress(chipTool, " ***** Test Step 7 : Reads the MaxLevel attribute\n"); - if (ShouldSkip("LVL.S.A0003 && LVL.S.F01")) { + ChipLogProgress(chipTool, " ***** Test Step 7 : Reads the MinLevel attribute\n"); + if (ShouldSkip("LVL.S.A0002 && !LVL.S.F01")) { NextTest(); return; } - err = TestReadsTheMaxLevelAttribute_7(); + err = TestReadsTheMinLevelAttribute_7(); break; case 8: ChipLogProgress(chipTool, " ***** Test Step 8 : Reads the MaxLevel attribute\n"); - if (ShouldSkip("LVL.S.A0003 && !LVL.S.F01")) { + if (ShouldSkip("LVL.S.A0003 && LVL.S.F01")) { NextTest(); return; } err = TestReadsTheMaxLevelAttribute_8(); break; case 9: - ChipLogProgress(chipTool, " ***** Test Step 9 : Step 4b & 4C Reads the CurrentLevel attribute\n"); - if (ShouldSkip("LVL.S.F01")) { + ChipLogProgress(chipTool, " ***** Test Step 9 : Reads the MaxLevel attribute\n"); + if (ShouldSkip("LVL.S.A0003 && !LVL.S.F01")) { NextTest(); return; } - err = TestStep4b4cReadsTheCurrentLevelAttribute_9(); + err = TestReadsTheMaxLevelAttribute_9(); break; case 10: ChipLogProgress(chipTool, " ***** Test Step 10 : Step 4b & 4C Reads the CurrentLevel attribute\n"); - if (ShouldSkip(" !LVL.S.F01 ")) { + if (ShouldSkip("LVL.S.F01")) { NextTest(); return; } err = TestStep4b4cReadsTheCurrentLevelAttribute_10(); break; case 11: - ChipLogProgress(chipTool, " ***** Test Step 11 : Reads the CurrentFrequency attribute\n"); - if (ShouldSkip("LVL.S.A0004")) { + ChipLogProgress(chipTool, " ***** Test Step 11 : Step 4b & 4C Reads the CurrentLevel attribute\n"); + if (ShouldSkip(" !LVL.S.F01 ")) { NextTest(); return; } - err = TestReadsTheCurrentFrequencyAttribute_11(); + err = TestStep4b4cReadsTheCurrentLevelAttribute_11(); break; case 12: - ChipLogProgress(chipTool, " ***** Test Step 12 : Reads the MinFrequency attribute\n"); - if (ShouldSkip("LVL.S.A0005")) { + ChipLogProgress(chipTool, " ***** Test Step 12 : Reads the CurrentFrequency attribute\n"); + if (ShouldSkip("LVL.S.A0004")) { NextTest(); return; } - err = TestReadsTheMinFrequencyAttribute_12(); + err = TestReadsTheCurrentFrequencyAttribute_12(); break; case 13: - ChipLogProgress(chipTool, " ***** Test Step 13 : Reads the MaxFrequency attribute\n"); - if (ShouldSkip("LVL.S.A0006")) { + ChipLogProgress(chipTool, " ***** Test Step 13 : Reads the MinFrequency attribute\n"); + if (ShouldSkip("LVL.S.A0005")) { NextTest(); return; } - err = TestReadsTheMaxFrequencyAttribute_13(); + err = TestReadsTheMinFrequencyAttribute_13(); break; case 14: - ChipLogProgress(chipTool, " ***** Test Step 14 : Step 7b & 7C Reads the CurrentFrequency attribute\n"); - if (ShouldSkip("LVL.S.A0004 && LVL.S.A0005 && LVL.S.A0006")) { + ChipLogProgress(chipTool, " ***** Test Step 14 : Reads the MaxFrequency attribute\n"); + if (ShouldSkip("LVL.S.A0006")) { NextTest(); return; } - err = TestStep7b7cReadsTheCurrentFrequencyAttribute_14(); + err = TestReadsTheMaxFrequencyAttribute_14(); break; case 15: - ChipLogProgress(chipTool, " ***** Test Step 15 : Reads the OnOffTransitionTime attribute\n"); - if (ShouldSkip("LVL.S.A0010")) { + ChipLogProgress(chipTool, " ***** Test Step 15 : Step 7b & 7C Reads the CurrentFrequency attribute\n"); + if (ShouldSkip("LVL.S.A0004 && LVL.S.A0005 && LVL.S.A0006")) { NextTest(); return; } - err = TestReadsTheOnOffTransitionTimeAttribute_15(); + err = TestStep7b7cReadsTheCurrentFrequencyAttribute_15(); break; case 16: - ChipLogProgress(chipTool, " ***** Test Step 16 : Reads the OnLevel attribute \n"); - if (ShouldSkip("LVL.S.F01 && LVL.S.A0011")) { + ChipLogProgress(chipTool, " ***** Test Step 16 : Reads the OnOffTransitionTime attribute\n"); + if (ShouldSkip("LVL.S.A0010")) { NextTest(); return; } - err = TestReadsTheOnLevelAttribute_16(); + err = TestReadsTheOnOffTransitionTimeAttribute_16(); break; case 17: ChipLogProgress(chipTool, " ***** Test Step 17 : Reads the OnLevel attribute \n"); - if (ShouldSkip("LVL.S.A0011 && !LVL.S.F01")) { + if (ShouldSkip("LVL.S.F01 && LVL.S.A0011")) { NextTest(); return; } err = TestReadsTheOnLevelAttribute_17(); break; case 18: - ChipLogProgress(chipTool, " ***** Test Step 18 : Reads the OnTransitionTime attribute \n"); - if (ShouldSkip("LVL.S.A0012")) { + ChipLogProgress(chipTool, " ***** Test Step 18 : Reads the OnLevel attribute \n"); + if (ShouldSkip("LVL.S.A0011 && !LVL.S.F01")) { NextTest(); return; } - err = TestReadsTheOnTransitionTimeAttribute_18(); + err = TestReadsTheOnLevelAttribute_18(); break; case 19: - ChipLogProgress(chipTool, " ***** Test Step 19 : Reads the OffTransitionTime attribute \n"); - if (ShouldSkip("LVL.S.A0013")) { + ChipLogProgress(chipTool, " ***** Test Step 19 : Reads the OnTransitionTime attribute \n"); + if (ShouldSkip("LVL.S.A0012")) { NextTest(); return; } - err = TestReadsTheOffTransitionTimeAttribute_19(); + err = TestReadsTheOnTransitionTimeAttribute_19(); break; case 20: - ChipLogProgress(chipTool, " ***** Test Step 20 : Reads the DefaultMoveRate attribute \n"); - if (ShouldSkip("LVL.S.A0014")) { + ChipLogProgress(chipTool, " ***** Test Step 20 : Reads the OffTransitionTime attribute \n"); + if (ShouldSkip("LVL.S.A0013")) { NextTest(); return; } - err = TestReadsTheDefaultMoveRateAttribute_20(); + err = TestReadsTheOffTransitionTimeAttribute_20(); break; case 21: - ChipLogProgress(chipTool, " ***** Test Step 21 : Reads the Options attribute \n"); - if (ShouldSkip("LVL.S.A000f")) { + ChipLogProgress(chipTool, " ***** Test Step 21 : Reads the DefaultMoveRate attribute \n"); + if (ShouldSkip("LVL.S.A0014")) { NextTest(); return; } - err = TestReadsTheOptionsAttribute_21(); + err = TestReadsTheDefaultMoveRateAttribute_21(); break; case 22: - ChipLogProgress(chipTool, " ***** Test Step 22 : Reads the StartUpCurrentLevel attribute \n"); + ChipLogProgress(chipTool, " ***** Test Step 22 : Reads the Options attribute \n"); + if (ShouldSkip("LVL.S.A000f")) { + NextTest(); + return; + } + err = TestReadsTheOptionsAttribute_22(); + break; + case 23: + ChipLogProgress(chipTool, " ***** Test Step 23 : Reads the StartUpCurrentLevel attribute \n"); if (ShouldSkip("LVL.S.A4000")) { NextTest(); return; } - err = TestReadsTheStartUpCurrentLevelAttribute_22(); + err = TestReadsTheStartUpCurrentLevelAttribute_23(); break; } @@ -22680,6 +22700,9 @@ class Test_TC_LVL_2_1 : public TestCommandBridge { case 22: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); break; + case 23: + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); + break; } // Go on to the next test. @@ -22693,7 +22716,7 @@ class Test_TC_LVL_2_1 : public TestCommandBridge { private: std::atomic_uint16_t mTestIndex; - const uint16_t mTestCount = 23; + const uint16_t mTestCount = 24; chip::Optional mNodeId; chip::Optional mCluster; @@ -22707,7 +22730,7 @@ class Test_TC_LVL_2_1 : public TestCommandBridge { return WaitForCommissionee("alpha", value); } - CHIP_ERROR TestResetLevelTo254_1() + CHIP_ERROR TestPreconditionResetLevelTo254_1() { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device @@ -22722,7 +22745,7 @@ class Test_TC_LVL_2_1 : public TestCommandBridge { params.optionOverride = [NSNumber numberWithUnsignedChar:1U]; [cluster moveToLevelWithParams:params completionHandler:^(NSError * _Nullable err) { - NSLog(@"Reset level to 254 Error: %@", err); + NSLog(@"Precondition: Reset level to 254 Error: %@", err); VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -22738,9 +22761,33 @@ class Test_TC_LVL_2_1 : public TestCommandBridge { value.ms = 100UL; return WaitForMs("alpha", value); } + + CHIP_ERROR TestPreconditionReadsTheCurrentLevelAttribute_3() + { + MTRBaseDevice * device = GetDevice("alpha"); + MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device + endpoint:1 + queue:mCallbackQueue]; + VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); + + [cluster readAttributeCurrentLevelWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { + NSLog(@"Precondition: Reads the CurrentLevel attribute Error: %@", err); + + VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); + + { + id actualValue = value; + VerifyOrReturn(CheckValue("current level", actualValue, 254U)); + } + + NextTest(); + }]; + + return CHIP_NO_ERROR; + } NSNumber * _Nonnull CurrentLevelValue; - CHIP_ERROR TestReadsTheCurrentLevelAttribute_3() + CHIP_ERROR TestReadsTheCurrentLevelAttribute_4() { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device @@ -22764,7 +22811,7 @@ class Test_TC_LVL_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestReadsTheRemainingTimeAttribute_4() + CHIP_ERROR TestReadsTheRemainingTimeAttribute_5() { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device @@ -22785,7 +22832,7 @@ class Test_TC_LVL_2_1 : public TestCommandBridge { } NSNumber * _Nonnull MinLevelValue; - CHIP_ERROR TestReadsTheMinLevelAttribute_5() + CHIP_ERROR TestReadsTheMinLevelAttribute_6() { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device @@ -22815,7 +22862,7 @@ class Test_TC_LVL_2_1 : public TestCommandBridge { } NSNumber * _Nonnull MinLevelValue1; - CHIP_ERROR TestReadsTheMinLevelAttribute_6() + CHIP_ERROR TestReadsTheMinLevelAttribute_7() { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device @@ -22842,7 +22889,7 @@ class Test_TC_LVL_2_1 : public TestCommandBridge { } NSNumber * _Nonnull MaxLevelValue; - CHIP_ERROR TestReadsTheMaxLevelAttribute_7() + CHIP_ERROR TestReadsTheMaxLevelAttribute_8() { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device @@ -22873,7 +22920,7 @@ class Test_TC_LVL_2_1 : public TestCommandBridge { } NSNumber * _Nonnull MaxLevelValue1; - CHIP_ERROR TestReadsTheMaxLevelAttribute_8() + CHIP_ERROR TestReadsTheMaxLevelAttribute_9() { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device @@ -22899,7 +22946,7 @@ class Test_TC_LVL_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4b4cReadsTheCurrentLevelAttribute_9() + CHIP_ERROR TestStep4b4cReadsTheCurrentLevelAttribute_10() { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device @@ -22922,7 +22969,7 @@ class Test_TC_LVL_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4b4cReadsTheCurrentLevelAttribute_10() + CHIP_ERROR TestStep4b4cReadsTheCurrentLevelAttribute_11() { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device @@ -22945,7 +22992,7 @@ class Test_TC_LVL_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestReadsTheCurrentFrequencyAttribute_11() + CHIP_ERROR TestReadsTheCurrentFrequencyAttribute_12() { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device @@ -22966,7 +23013,7 @@ class Test_TC_LVL_2_1 : public TestCommandBridge { } NSNumber * _Nonnull MinFrequencyValue; - CHIP_ERROR TestReadsTheMinFrequencyAttribute_12() + CHIP_ERROR TestReadsTheMinFrequencyAttribute_13() { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device @@ -22991,7 +23038,7 @@ class Test_TC_LVL_2_1 : public TestCommandBridge { } NSNumber * _Nonnull MaxFrequencyValue; - CHIP_ERROR TestReadsTheMaxFrequencyAttribute_13() + CHIP_ERROR TestReadsTheMaxFrequencyAttribute_14() { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device @@ -23015,7 +23062,7 @@ class Test_TC_LVL_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep7b7cReadsTheCurrentFrequencyAttribute_14() + CHIP_ERROR TestStep7b7cReadsTheCurrentFrequencyAttribute_15() { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device @@ -23038,7 +23085,7 @@ class Test_TC_LVL_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestReadsTheOnOffTransitionTimeAttribute_15() + CHIP_ERROR TestReadsTheOnOffTransitionTimeAttribute_16() { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device @@ -23063,7 +23110,7 @@ class Test_TC_LVL_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestReadsTheOnLevelAttribute_16() + CHIP_ERROR TestReadsTheOnLevelAttribute_17() { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device @@ -23089,7 +23136,7 @@ class Test_TC_LVL_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestReadsTheOnLevelAttribute_17() + CHIP_ERROR TestReadsTheOnLevelAttribute_18() { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device @@ -23115,7 +23162,7 @@ class Test_TC_LVL_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestReadsTheOnTransitionTimeAttribute_18() + CHIP_ERROR TestReadsTheOnTransitionTimeAttribute_19() { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device @@ -23139,7 +23186,7 @@ class Test_TC_LVL_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestReadsTheOffTransitionTimeAttribute_19() + CHIP_ERROR TestReadsTheOffTransitionTimeAttribute_20() { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device @@ -23163,7 +23210,7 @@ class Test_TC_LVL_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestReadsTheDefaultMoveRateAttribute_20() + CHIP_ERROR TestReadsTheDefaultMoveRateAttribute_21() { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device @@ -23187,7 +23234,7 @@ class Test_TC_LVL_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestReadsTheOptionsAttribute_21() + CHIP_ERROR TestReadsTheOptionsAttribute_22() { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device @@ -23212,7 +23259,7 @@ class Test_TC_LVL_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestReadsTheStartUpCurrentLevelAttribute_22() + CHIP_ERROR TestReadsTheStartUpCurrentLevelAttribute_23() { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device @@ -24111,8 +24158,8 @@ class Test_TC_LVL_3_1 : public TestCommandBridge { err = TestSendsAMoveToLevelCommand_6(); break; case 7: - ChipLogProgress(chipTool, " ***** Test Step 7 : Wait 100 second\n"); - err = TestWait100Second_7(); + ChipLogProgress(chipTool, " ***** Test Step 7 : Wait 100 ms\n"); + err = TestWait100Ms_7(); break; case 8: ChipLogProgress(chipTool, " ***** Test Step 8 : Reads CurrentLevel attribute from DUT\n"); @@ -24393,7 +24440,7 @@ class Test_TC_LVL_3_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestWait100Second_7() + CHIP_ERROR TestWait100Ms_7() { chip::app::Clusters::DelayCommands::Commands::WaitForMs::Type value; value.ms = 100UL; @@ -54239,115 +54286,6 @@ class Test_TC_ULABEL_2_4 : public TestCommandBridge { } }; -class Test_TC_ULABEL_3_1 : public TestCommandBridge { -public: - // NOLINTBEGIN(clang-analyzer-nullability.NullPassedToNonnull): Test constructor nullability not enforced - Test_TC_ULABEL_3_1() - : TestCommandBridge("Test_TC_ULABEL_3_1") - , mTestIndex(0) - { - AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); - AddArgument("cluster", &mCluster); - AddArgument("endpoint", 0, UINT16_MAX, &mEndpoint); - AddArgument("timeout", 0, UINT16_MAX, &mTimeout); - } - // NOLINTEND(clang-analyzer-nullability.NullPassedToNonnull) - - ~Test_TC_ULABEL_3_1() {} - - /////////// TestCommand Interface ///////// - void NextTest() override - { - CHIP_ERROR err = CHIP_NO_ERROR; - - if (0 == mTestIndex) { - ChipLogProgress(chipTool, " **** Test Start: Test_TC_ULABEL_3_1\n"); - } - - if (mTestCount == mTestIndex) { - ChipLogProgress(chipTool, " **** Test Complete: Test_TC_ULABEL_3_1\n"); - SetCommandExitStatus(CHIP_NO_ERROR); - return; - } - - Wait(); - - // Ensure we increment mTestIndex before we start running the relevant - // command. That way if we lose the timeslice after we send the message - // but before our function call returns, we won't end up with an - // incorrect mTestIndex value observed when we get the response. - switch (mTestIndex++) { - case 0: - ChipLogProgress(chipTool, " ***** Test Step 0 : Wait for the commissioned device to be retrieved\n"); - err = TestWaitForTheCommissionedDeviceToBeRetrieved_0(); - break; - case 1: - ChipLogProgress(chipTool, " ***** Test Step 1 : TH reads LabelList attribute of the DUT\n"); - err = TestThReadsLabelListAttributeOfTheDut_1(); - break; - } - - if (CHIP_NO_ERROR != err) { - ChipLogError(chipTool, " ***** Test Failure: %s\n", chip::ErrorStr(err)); - SetCommandExitStatus(err); - } - } - - void OnStatusUpdate(const chip::app::StatusIB & status) override - { - switch (mTestIndex - 1) { - case 0: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); - break; - case 1: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); - break; - } - - // Go on to the next test. - ContinueOnChipMainThread(CHIP_NO_ERROR); - } - - chip::System::Clock::Timeout GetWaitDuration() const override - { - return chip::System::Clock::Seconds16(mTimeout.ValueOr(kTimeoutInSeconds)); - } - -private: - std::atomic_uint16_t mTestIndex; - const uint16_t mTestCount = 2; - - chip::Optional mNodeId; - chip::Optional mCluster; - chip::Optional mEndpoint; - chip::Optional mTimeout; - - CHIP_ERROR TestWaitForTheCommissionedDeviceToBeRetrieved_0() - { - chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; - value.nodeId = mNodeId.HasValue() ? mNodeId.Value() : 305414945ULL; - return WaitForCommissionee("alpha", value); - } - - CHIP_ERROR TestThReadsLabelListAttributeOfTheDut_1() - { - MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterUserLabel * cluster = [[MTRBaseClusterUserLabel alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; - VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); - - [cluster readAttributeLabelListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { - NSLog(@"TH reads LabelList attribute of the DUT Error: %@", err); - - VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); - - VerifyOrReturn(CheckConstraintType("labelList", "", "list")); - NextTest(); - }]; - - return CHIP_NO_ERROR; - } -}; - class Test_TC_DGWIFI_2_1 : public TestCommandBridge { public: // NOLINTBEGIN(clang-analyzer-nullability.NullPassedToNonnull): Test constructor nullability not enforced @@ -112165,7 +112103,6 @@ void registerCommandsTests(Commands & commands) make_unique(), make_unique(), make_unique(), - make_unique(), make_unique(), make_unique(), make_unique(),