From 0006f070f14f8fd9f003def24ded4ab1da376842 Mon Sep 17 00:00:00 2001 From: Justin Wood Date: Wed, 14 Sep 2022 22:33:23 -0700 Subject: [PATCH] Test added sep14 (#22631) (#22649) * Added updated manual scripts * Added Auto generated file * Restyled by clang-format * Added updated manual scripts * Added auto generated file * Restyled by clang-format Co-authored-by: Restyled.io Co-authored-by: kowsisoundhar12 <57476670+kowsisoundhar12@users.noreply.github.com> Co-authored-by: Restyled.io --- .../suites/certification/Test_TC_ACE_1_1.yaml | 12 +- .../suites/certification/Test_TC_ACL_2_5.yaml | 10 +- .../suites/certification/Test_TC_BR_2.yaml | 126 +++---- .../suites/certification/Test_TC_BR_4.yaml | 42 +-- .../certification/Test_TC_CADMIN_1_19.yaml | 2 +- .../certification/Test_TC_CADMIN_1_20.yaml | 2 +- .../suites/certification/Test_TC_DD_2_2.yaml | 12 +- .../suites/certification/Test_TC_G_3_2.yaml | 102 +++++- .../suites/certification/Test_TC_IDM_2_1.yaml | 86 +++-- .../suites/certification/Test_TC_IDM_6_2.yaml | 83 ++--- .../suites/certification/Test_TC_LVL_2_3.yaml | 308 +++++++++++++++++- .../suites/certification/Test_TC_MOD_1_3.yaml | 28 +- .../suites/certification/Test_TC_OO_3_1.yaml | 25 ++ .../certification/Test_TC_PSCFG_3_1.yaml | 26 ++ .../suites/certification/Test_TC_PS_3_1.yaml | 146 +++++++++ .../suites/certification/Test_TC_RH_3_1.yaml | 26 ++ 16 files changed, 875 insertions(+), 161 deletions(-) diff --git a/src/app/tests/suites/certification/Test_TC_ACE_1_1.yaml b/src/app/tests/suites/certification/Test_TC_ACE_1_1.yaml index 5b7211b67cd717..17ca29b62ddc3c 100644 --- a/src/app/tests/suites/certification/Test_TC_ACE_1_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_ACE_1_1.yaml @@ -44,7 +44,7 @@ tests: AuthMode field: CASE (2) Subjects field: [N1] Targets field: [{Endpoint: 0}]" verification: | - ./chip-tool accesscontrol write acl '[{ "privilege": 5, "authMode": 2, "subjects": [112233], "targets": [{ "cluster": null, "endpoint": 0, "deviceType": null }]}]' 1 0 + ./chip-tool accesscontrol write acl "[{ "privilege": 5, "authMode": 2, "subjects": [112233], "targets": [{ "cluster": null, "endpoint": 0, "deviceType": null }]}]" 1 0 On TH(Chiptool),Verify ACL attribute with a list of AccessControlEntryStruct entries containing 1 element. [1659419235.790198][3332:3337] CHIP:DMG: WriteClient moving to [ResponseRe] [1659419235.790263][3332:3337] CHIP:DMG: WriteResponseMessage = @@ -317,7 +317,7 @@ tests: 0}] 2.struct Privilege field: Manage (4) AuthMode field: CASE (2) Subjects field: [N1] Targets field: [{Endpoint: 0}]" verification: | - ./chip-tool accesscontrol write acl '[{ "privilege": 5, "authMode": 2, "subjects": [112233], "targets": [{ "cluster": 31, "endpoint": 0, "deviceType": null }]},{ "privilege": 4, "authMode": 2, "subjects": [112233], "targets": [{ "cluster": null, "endpoint": 0, "deviceType": null }]}]' 1 0 + ./chip-tool accesscontrol write acl "[{ "privilege": 5, "authMode": 2, "subjects": [112233], "targets": [{ "cluster": 31, "endpoint": 0, "deviceType": null }]},{ "privilege": 4, "authMode": 2, "subjects": [112233], "targets": [{ "cluster": null, "endpoint": 0, "deviceType": null }]}]" 1 0 On TH(Chiptool),Verify ACL attribute with a list of AccessControlEntryStruct entries containing 2 elements 1660288528.919407][3487:3493] CHIP:DMG: WriteClient moving to [ResponseRe] @@ -614,7 +614,7 @@ tests: 0}] 2. struct Privilege field: Operate (3) AuthMode field: CASE (2) Subjects field: [N1] Targets field: [{Endpoint: 0}]" verification: | - ./chip-tool accesscontrol write acl '[{ "privilege": 5, "authMode": 2, "subjects": [112233], "targets": [{ "cluster": 31, "endpoint": 0, "deviceType": null }]},{ "privilege": 3, "authMode": 2, "subjects": [112233], "targets": [{ "cluster": null, "endpoint": 0, "deviceType": null }]}]' 1 0 + ./chip-tool accesscontrol write acl "[{ "privilege": 5, "authMode": 2, "subjects": [112233], "targets": [{ "cluster": 31, "endpoint": 0, "deviceType": null }]},{ "privilege": 3, "authMode": 2, "subjects": [112233], "targets": [{ "cluster": null, "endpoint": 0, "deviceType": null }]}]" 1 0 On TH(Chiptool),Verify ACL attribute with a list of AccessControlEntryStruct entries containing 2 elements 1660289539.245027][3576:3581] CHIP:DMG: WriteResponseMessage = @@ -823,7 +823,7 @@ tests: cluster with the EnableKey set to 0 and the EventTrigger set to 0. (requires manage privilege)" verification: | - ./chip-tool basic write node-label TestNode 1 0 + ./chip-tool generaldiagnostics test-event-trigger 0 0 1 0 On TH(Chiptool),Verify TestEventTrigger command to the General Diagnostics cluster with the EnableKey set to 0 and the EventTrigger set to 0. (requires manage privilege) Returns UNSUPPORTED_ACCESS (0x7e) [1660290186.783158][3633:3638] CHIP:DMG: InvokeResponseMessage = @@ -905,7 +905,7 @@ tests: 2.struct Privilege field: View (1) AuthMode field: CASE (2) Subjects field: [N1] Targets field: [{Endpoint: 0}]" verification: | - ./chip-tool accesscontrol write acl '[{ "privilege": 5, "authMode": 2, "subjects": [112233], "targets": [{ "cluster": 31, "endpoint": 0, "deviceType": null }]},{ "privilege": 1, "authMode": 2, "subjects": [112233], "targets": [{ "cluster": null, "endpoint": 0, "deviceType": null }]}]' 1 0 + ./chip-tool accesscontrol write acl "[{ "privilege": 5, "authMode": 2, "subjects": [112233], "targets": [{ "cluster": 31, "endpoint": 0, "deviceType": null }]},{ "privilege": 1, "authMode": 2, "subjects": [112233], "targets": [{ "cluster": null, "endpoint": 0, "deviceType": null }]}]" 1 0 On TH(Chiptool),Verify ACL attribute with a list of AccessControlEntryStruct entries containing 2 elements @@ -1186,7 +1186,7 @@ tests: verification: | On TH(Chiptool)1,Verify ACL attribute with a list of AccessControlEntryStruct entries containing 1 element. - ./chip-tool accesscontrol write acl '[{"fabricIndex": 1, "privilege": 5, "authMode": 2, "subjects": [112233], "targets": [{ "cluster": 31, "endpoint": 0, "deviceType": null }]}]' 1 0 + ./chip-tool accesscontrol write acl "[{ "privilege": 5, "authMode": 2, "subjects": [112233], "targets": [{ "cluster": 31, "endpoint": 0, "deviceType": null }]}]" 1 0 60291527.086023][3753:3758] CHIP:DMG: Cluster = 0x1f, [1660291527.086060][3753:3758] CHIP:DMG: Attribute = 0x0000_0000, 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 bdd2f5ca9b3fb9..60f9e277dbea10 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 @@ -93,7 +93,7 @@ tests: 1.struct Data field: D_OK_EMPTY : 1718" PICS: ACL.S.A0001 verification: | - ./chip-tool accesscontrol write extension "[{"data":"1718"}]" 1 0 + ./chip-tool accesscontrol write extension '[{"data":"1718"}]' 1 0 On TH1(Chiptool), Verify AccessControl cluster Extension attribute, value is list of AccessControlExtensionStruct containing 1 element 217.510779][2371:2376] CHIP:DMG: AttributePathIB = @@ -170,7 +170,7 @@ tests: 17D00000F1FF01003D48656C6C6F20576F726C642E205468697320697320612073696E676C6520656C656D656E74206C6976696E6720617320612063686172737472696E670018" PICS: ACL.S.A0001 verification: | - ./chip-tool accesscontrol write extension "[{"data":"17D00000F1FF01003D48656C6C6F20576F726C642E205468697320697320612073696E676C6520656C656D656E74206C6976696E6720617320612063686172737472696E670018"}]" 1 0 + ./chip-tool accesscontrol write extension '[{"data":"17D00000F1FF01003D48656C6C6F20576F726C642E205468697320697320612073696E676C6520656C656D656E74206C6976696E6720617320612063686172737472696E670018"}]' 1 0 On TH1(Chiptool) , Verify Successfully extension attribute list containing one element 7284747.131523][2411:2416] CHIP:DMG: StatusIB = [1657284747.131568][2411:2416] CHIP:DMG: { @@ -251,7 +251,7 @@ tests: 17D00000F1FF01003D48656C6C6F20576F726C642E205468697320697320612073696E676C6520656C656D656E74206C6976696E6720617320612063686172737472696E6700D00000F1FF02003248656C6C6F20576F726C642E205468697320697320612073696E676C6520656C656D656E7420616761696E2E2E2E2E2E2E0018" PICS: ACL.S.A0001 verification: | - ./chip-tool accesscontrol write extension "[{"data":"17D00000F1FF01003D48656C6C6F20576F726C642E205468697320697320612073696E676C6520656C656D656E74206C6976696E6720617320612063686172737472696E6700D00000F1FF02003248656C6C6F20576F726C642E205468697320697320612073696E676C6520656C656D656E7420616761696E2E2E2E2E2E2E0018"}]" 1 0 + ./chip-tool accesscontrol write extension '[{"data":"17D00000F1FF01003D48656C6C6F20576F726C642E205468697320697320612073696E676C6520656C656D656E74206C6976696E6720617320612063686172737472696E6700D00000F1FF02003248656C6C6F20576F726C642E205468697320697320612073696E676C6520656C656D656E7420616761696E2E2E2E2E2E2E0018"}]' 1 0 On TH1(Chiptool) , Verify AccessControl cluster Extension attribute value is list of AccessControlExtensionStruct containing 1 element Data, exceeds maximum length. @@ -305,7 +305,7 @@ tests: :17D00000F1FF01003D48656C6C6F20576F726C642E205468697320697320612073696E676C6520656C656D656E74206C6976696E6720617320612063686172737472696E670018" PICS: ACL.S.A0001 verification: | - ./chip-tool accesscontrol write extension "[{"data":"1718"},{"data":"17D00000F1FF01003D48656C6C6F20576F726C642E205468697320697320612073696E676C6520656C656D656E74206C6976696E6720617320612063686172737472696E670018"}]" 1 0 + ./chip-tool accesscontrol write extension '[{"data":"1718"},{"data":"17D00000F1FF01003D48656C6C6F20576F726C642E205468697320697320612073696E676C6520656C656D656E74206C6976696E6720617320612063686172737472696E670018"}]' 1 0 On TH1(Chiptool) , Verify AccessControl cluster Extension attribute, value is list of AccessControlExtensionStruct containing 2 elements Returns 0x87 (CONSTRAINT_ERROR)-as there are more than 1 entry @@ -358,7 +358,7 @@ tests: value is an empty list" PICS: ACL.S.A0001 verification: | - ./chip-tool accesscontrol write extension "[]" 1 0 + ./chip-tool accesscontrol write extension '[]' 1 0 On TH1(Chiptool) , Verify AccessControl cluster Extension attribute, value is an empty list diff --git a/src/app/tests/suites/certification/Test_TC_BR_2.yaml b/src/app/tests/suites/certification/Test_TC_BR_2.yaml index 45039e715732c1..a515357fea095b 100644 --- a/src/app/tests/suites/certification/Test_TC_BR_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_BR_2.yaml @@ -24,6 +24,13 @@ config: endpoint: 0 tests: + - label: "Precondition" + verification: | + 1. DUT has been commissioned to TH + + 2.Two or more bridged devices of a supported type connected via non-Matter network/protocol to DUT (bridge) + disabled: true + - label: "Read PartsList and DeviceTypeList attributes of the Descriptor cluster of endpoint 0 For each endpoint listed in the PartsList @@ -204,32 +211,29 @@ tests: Verify in TH(chip-tool) Log [1657004014.927308][4678:4683] CHIP:TOO: Endpoint: 4 Cluster: 0x0000_001D Attribute 0x0000_0000 DataVersion: 1398882309 - [1657004014.927387][4678:4683] CHIP:TOO: device list: 2 entries - [1657004014.927460][4678:4683] CHIP:TOO: [1]: { - [1657004014.927514][4678:4683] CHIP:TOO: Type: 259 - [1657004014.927551][4678:4683] CHIP:TOO: Revision: 1 - [1657004014.927585][4678:4683] CHIP:TOO: } - [1657004014.927622][4678:4683] CHIP:TOO: [2]: { - [1657004014.927650][4678:4683] CHIP:TOO: Type: 19 - [1657004014.927678][4678:4683] CHIP:TOO: Revision: 1 - [1657004014.927705][4678:4683] CHIP:TOO: } - + [1663141236.408628][40968:40973] CHIP:TOO: device list: 2 entries + [1663141236.408688][40968:40973] CHIP:TOO: [1]: { + [1663141236.408723][40968:40973] CHIP:TOO: Type: 770 + [1663141236.408744][40968:40973] CHIP:TOO: Revision: 1 + [1663141236.408762][40968:40973] CHIP:TOO: } + [1663141236.408791][40968:40973] CHIP:TOO: [2]: { + [1663141236.408812][40968:40973] CHIP:TOO: Type: 19 + [1663141236.408836][40968:40973] CHIP:TOO: Revision: 1 + [1663141236.408860][40968:40973] CHIP:TOO: } ./chip-tool descriptor read device-list 1 5 Verify in TH(chip-tool) Log - - [1657004035.789404][4690:4695] CHIP:TOO: Endpoint: 5 Cluster: 0x0000_001D Attribute 0x0000_0000 DataVersion: 130458766 - [1657004035.789470][4690:4695] CHIP:TOO: device list: 2 entries - [1657004035.789526][4690:4695] CHIP:TOO: [1]: { - [1657004035.789571][4690:4695] CHIP:TOO: Type: 259 - [1657004035.789601][4690:4695] CHIP:TOO: Revision: 1 - [1657004035.789629][4690:4695] CHIP:TOO: } - [1657004035.789663][4690:4695] CHIP:TOO: [2]: { - [1657004035.789691][4690:4695] CHIP:TOO: Type: 19 - [1657004035.789717][4690:4695] CHIP:TOO: Revision: 1 - [1657004035.789744][4690:4695] CHIP:TOO: } - + [1663141236.408519][40968:40973] CHIP:TOO: Endpoint: 5 Cluster: 0x0000_001D Attribute 0x0000_0000 DataVersion: 934498373 + [1663141236.408628][40968:40973] CHIP:TOO: device list: 2 entries + [1663141236.408688][40968:40973] CHIP:TOO: [1]: { + [1663141236.408723][40968:40973] CHIP:TOO: Type: 770 + [1663141236.408744][40968:40973] CHIP:TOO: Revision: 1 + [1663141236.408762][40968:40973] CHIP:TOO: } + [1663141236.408791][40968:40973] CHIP:TOO: [2]: { + [1663141236.408812][40968:40973] CHIP:TOO: Type: 19 + [1663141236.408836][40968:40973] CHIP:TOO: Revision: 1 + [1663141236.408860][40968:40973] CHIP:TOO: } ./chip-tool descriptor read device-list 1 6 @@ -349,16 +353,15 @@ tests: Verify in TH(chip-tool) Log [1657002348.693948][3989:3994] CHIP:TOO: Endpoint: 4 Cluster: 0x0000_001D Attribute 0x0000_0000 DataVersion: 1398882309 - [1657002348.694013][3989:3994] CHIP:TOO: device list: 2 entries - [1657002348.694063][3989:3994] CHIP:TOO: [1]: { - [1657002348.694100][3989:3994] CHIP:TOO: Type: 259 - [1657002348.694125][3989:3994] CHIP:TOO: Revision: 1 - [1657002348.694149][3989:3994] CHIP:TOO: } - [1657002348.694176][3989:3994] CHIP:TOO: [2]: { - [1657002348.694199][3989:3994] CHIP:TOO: Type: 19 - [1657002348.694221][3989:3994] CHIP:TOO: Revision: 1 - [1657002348.694242][3989:3994] CHIP:TOO: } - + [1663141236.408628][40968:40973] CHIP:TOO: device list: 2 entries + [1663141236.408688][40968:40973] CHIP:TOO: [1]: { + [1663141236.408723][40968:40973] CHIP:TOO: Type: 770 + [1663141236.408744][40968:40973] CHIP:TOO: Revision: 1 + [1663141236.408762][40968:40973] CHIP:TOO: } + [1663141236.408791][40968:40973] CHIP:TOO: [2]: { + [1663141236.408812][40968:40973] CHIP:TOO: Type: 19 + [1663141236.408836][40968:40973] CHIP:TOO: Revision: 1 + [1663141236.408860][40968:40973] CHIP:TOO: } ./chip-tool descriptor read device-list 1 5 @@ -366,16 +369,15 @@ tests: Verify in TH(chip-tool) Log [1657002369.589492][3996:4001] CHIP:TOO: Endpoint: 5 Cluster: 0x0000_001D Attribute 0x0000_0000 DataVersion: 130458766 - [1657002369.589556][3996:4001] CHIP:TOO: device list: 2 entries - [1657002369.589610][3996:4001] CHIP:TOO: [1]: { - [1657002369.589653][3996:4001] CHIP:TOO: Type: 259 - [1657002369.589682][3996:4001] CHIP:TOO: Revision: 1 - [1657002369.589710][3996:4001] CHIP:TOO: } - [1657002369.589742][3996:4001] CHIP:TOO: [2]: { - [1657002369.589768][3996:4001] CHIP:TOO: Type: 19 - [1657002369.589794][3996:4001] CHIP:TOO: Revision: 1 - [1657002369.589819][3996:4001] CHIP:TOO: } - + [1663141236.408628][40968:40973] CHIP:TOO: device list: 2 entries + [1663141236.408688][40968:40973] CHIP:TOO: [1]: { + [1663141236.408723][40968:40973] CHIP:TOO: Type: 770 + [1663141236.408744][40968:40973] CHIP:TOO: Revision: 1 + [1663141236.408762][40968:40973] CHIP:TOO: } + [1663141236.408791][40968:40973] CHIP:TOO: [2]: { + [1663141236.408812][40968:40973] CHIP:TOO: Type: 19 + [1663141236.408836][40968:40973] CHIP:TOO: Revision: 1 + [1663141236.408860][40968:40973] CHIP:TOO: } ./chip-tool descriptor read device-list 1 6 @@ -1173,31 +1175,33 @@ tests: Verify in TH(chip-tool) Log [1657004014.927308][4678:4683] CHIP:TOO: Endpoint: 4 Cluster: 0x0000_001D Attribute 0x0000_0000 DataVersion: 1398882309 - [1657004014.927387][4678:4683] CHIP:TOO: device list: 2 entries - [1657004014.927460][4678:4683] CHIP:TOO: [1]: { - [1657004014.927514][4678:4683] CHIP:TOO: Type: 259 - [1657004014.927551][4678:4683] CHIP:TOO: Revision: 1 - [1657004014.927585][4678:4683] CHIP:TOO: } - [1657004014.927622][4678:4683] CHIP:TOO: [2]: { - [1657004014.927650][4678:4683] CHIP:TOO: Type: 19 - [1657004014.927678][4678:4683] CHIP:TOO: Revision: 1 - [1657004014.927705][4678:4683] CHIP:TOO: } - + OO: Endpoint: 4 Cluster: 0x0000_001D Attribute 0x0000_0000 DataVersion: 2589882031 + [1663150288.097040][45626:45633] CHIP:TOO: device list: 2 entries + [1663150288.097069][45626:45633] CHIP:TOO: [1]: { + [1663150288.097090][45626:45633] CHIP:TOO: Type: 770 + [1663150288.097109][45626:45633] CHIP:TOO: Revision: 1 + [1663150288.097127][45626:45633] CHIP:TOO: } + [1663150288.097152][45626:45633] CHIP:TOO: [2]: { + [1663150288.097170][45626:45633] CHIP:TOO: Type: 19 + [1663150288.097187][45626:45633] CHIP:TOO: Revision: 1 + [1663150288.097205][45626:45633] CHIP:TOO: } ./chip-tool descriptor read device-list 1 5 Verify in TH(chip-tool) Log [1657004035.789404][4690:4695] CHIP:TOO: Endpoint: 5 Cluster: 0x0000_001D Attribute 0x0000_0000 DataVersion: 130458766 - [1657004035.789470][4690:4695] CHIP:TOO: device list: 2 entries - [1657004035.789526][4690:4695] CHIP:TOO: [1]: { - [1657004035.789571][4690:4695] CHIP:TOO: Type: 259 - [1657004035.789601][4690:4695] CHIP:TOO: Revision: 1 - [1657004035.789629][4690:4695] CHIP:TOO: } - [1657004035.789663][4690:4695] CHIP:TOO: [2]: { - [1657004035.789691][4690:4695] CHIP:TOO: Type: 19 - [1657004035.789717][4690:4695] CHIP:TOO: Revision: 1 - [1657004035.789744][4690:4695] CHIP:TOO: } + OO: Endpoint: 4 Cluster: 0x0000_001D Attribute 0x0000_0000 DataVersion: 2589882031 + [1663150288.097040][45626:45633] CHIP:TOO: device list: 2 entries + [1663150288.097069][45626:45633] CHIP:TOO: [1]: { + [1663150288.097090][45626:45633] CHIP:TOO: Type: 770 + [1663150288.097109][45626:45633] CHIP:TOO: Revision: 1 + [1663150288.097127][45626:45633] CHIP:TOO: } + [1663150288.097152][45626:45633] CHIP:TOO: [2]: { + [1663150288.097170][45626:45633] CHIP:TOO: Type: 19 + [1663150288.097187][45626:45633] CHIP:TOO: Revision: 1 + [1663150288.097205][45626:45633] CHIP:TOO: } + ./chip-tool descriptor read device-list 1 6 diff --git a/src/app/tests/suites/certification/Test_TC_BR_4.yaml b/src/app/tests/suites/certification/Test_TC_BR_4.yaml index 526df3b1aa8e6b..9c1bfb0836f417 100644 --- a/src/app/tests/suites/certification/Test_TC_BR_4.yaml +++ b/src/app/tests/suites/certification/Test_TC_BR_4.yaml @@ -1900,26 +1900,28 @@ tests: Verify on TH(bridge-app) Log: - [1659973227.630446][3652:3652] CHIP:IM: Received Read request - [1659973227.630527][3652:3652] CHIP:DMG: ReadRequestMessage = - [1659973227.630570][3652:3652] CHIP:DMG: { - [1659973227.630594][3652:3652] CHIP:DMG: AttributePathIBs = - [1659973227.630633][3652:3652] CHIP:DMG: [ - [1659973227.630658][3652:3652] CHIP:DMG: AttributePathIB = - [1659973227.630699][3652:3652] CHIP:DMG: { - [1659973227.630728][3652:3652] CHIP:DMG: Endpoint = 0x4, - [1659973227.630779][3652:3652] CHIP:DMG: Cluster = 0x402, - [1659973227.630821][3652:3652] CHIP:DMG: Attribute = 0x0000_0000, - [1659973227.630853][3652:3652] CHIP:DMG: } - [1659973227.630892][3652:3652] CHIP:DMG: - [1659973227.630919][3652:3652] CHIP:DMG: ], - [1659973227.630957][3652:3652] CHIP:DMG: - [1659973227.630984][3652:3652] CHIP:DMG: isFabricFiltered = true, - [1659973227.631020][3652:3652] CHIP:DMG: InteractionModelRevision = 1 - [1659973227.631044][3652:3652] CHIP:DMG: }, - [1659973227.631126][3652:3652] CHIP:DMG: IM RH moving to [GeneratingReports] - [1659973227.631231][3652:3652] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 - [1659973227.631262][3652:3652] CHIP:DMG: Cluster 402, Attribute 0 is dirty + [1663150444.546356][3294:3294] CHIP:IM: Received Read request + [1663150444.546475][3294:3294] CHIP:DMG: ReadRequestMessage = + [1663150444.546520][3294:3294] CHIP:DMG: { + [1663150444.546556][3294:3294] CHIP:DMG: AttributePathIBs = + [1663150444.546604][3294:3294] CHIP:DMG: [ + [1663150444.546646][3294:3294] CHIP:DMG: AttributePathIB = + [1663150444.546784][3294:3294] CHIP:DMG: { + [1663150444.546836][3294:3294] CHIP:DMG: Endpoint = 0x9, + [1663150444.546890][3294:3294] CHIP:DMG: Cluster = 0x2f, + [1663150444.546945][3294:3294] CHIP:DMG: Attribute = 0x0000_000E, + [1663150444.546996][3294:3294] CHIP:DMG: } + [1663150444.547047][3294:3294] CHIP:DMG: + [1663150444.547094][3294:3294] CHIP:DMG: ], + [1663150444.547142][3294:3294] CHIP:DMG: + [1663150444.547190][3294:3294] CHIP:DMG: isFabricFiltered = true, + [1663150444.547233][3294:3294] CHIP:DMG: InteractionModelRevision = 1 + [1663150444.547273][3294:3294] CHIP:DMG: }, + [1663150444.547388][3294:3294] CHIP:DMG: IM RH moving to [GeneratingReports] + [1663150444.547520][3294:3294] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 + [1663150444.547568][3294:3294] CHIP:DMG: Cluster 2f, Attribute e is dirty + [1663150444.547603][3294:3294] CHIP:DMG: Reading attribute: Cluster=0x0000_002F Endpoint=9 AttributeId=0x0000_000E (expanded=0) + [1663150444.547647][3294:3294 disabled: true - label: diff --git a/src/app/tests/suites/certification/Test_TC_CADMIN_1_19.yaml b/src/app/tests/suites/certification/Test_TC_CADMIN_1_19.yaml index bb99e0d88ac3b9..5458b1bec42e47 100644 --- a/src/app/tests/suites/certification/Test_TC_CADMIN_1_19.yaml +++ b/src/app/tests/suites/certification/Test_TC_CADMIN_1_19.yaml @@ -102,7 +102,7 @@ tests: CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_003E Command=0x0000_0008 [1649756670.402192][10794:10799] CHIP:CTL: Device returned status 5 on receiving the NOC [1649756670.402221][10794:10799] CHIP:CTL: Add NOC failed with error ../../third_party/connectedhomeip/src/controller/CHIPDeviceController.cpp:1110: CHIP Error 0x0000000B: No memory - [1649756670.402241][10794:10799] CHIP:CTL: Failed to perform commissioning step 12 + [1649756670.402241][10794:10799] CHIP:CTL: Failed to perform commissioning step 13 disabled: true - label: "TH_CR1 removes FabricIndex1" diff --git a/src/app/tests/suites/certification/Test_TC_CADMIN_1_20.yaml b/src/app/tests/suites/certification/Test_TC_CADMIN_1_20.yaml index e723b6d8694234..f61c2d425265ad 100644 --- a/src/app/tests/suites/certification/Test_TC_CADMIN_1_20.yaml +++ b/src/app/tests/suites/certification/Test_TC_CADMIN_1_20.yaml @@ -122,7 +122,7 @@ tests: CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_003E Command=0x0000_0008 [1649756670.402192][10794:10799] CHIP:CTL: Device returned status 5 on receiving the NOC [1649756670.402221][10794:10799] CHIP:CTL: Add NOC failed with error ../../third_party/connectedhomeip/src/controller/CHIPDeviceController.cpp:1110: CHIP Error 0x0000000B: No memory - [1649756670.402241][10794:10799] CHIP:CTL: Failed to perform commissioning step 12 + [1649756670.402241][10794:10799] CHIP:CTL: Failed to perform commissioning step 13 disabled: true - label: "TH_CR1 removes FabricIndex1" diff --git a/src/app/tests/suites/certification/Test_TC_DD_2_2.yaml b/src/app/tests/suites/certification/Test_TC_DD_2_2.yaml index c02101c86ed49e..9a48e3588b20bb 100644 --- a/src/app/tests/suites/certification/Test_TC_DD_2_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_DD_2_2.yaml @@ -36,6 +36,10 @@ tests: 1 - 5.4.3. Discovery by Commissioner - DUT supports BLE (central role), Wi-Fi and IP connectivity - Wi-Fi certified n client 2 - Test Harness must support all discovery transport technologies as the DUT (i.e. BLE, Wi-Fi and IP connectivity) + + To put the DUT into commissionable state and verify commissionable state. + This step is same in couple of other cases (like DD) so use the same verification method here too i.e. if your DUT is discoverable over mDNS then use "chiptool discover commissionables" to discover mDNS adv and provision the device using "chip-tool pairing code node-id payload". + otherwise if your DUT is advertising over BLE , pls use the "/chip-tool pairing ble-wifi 1 zigbeehome matter123 20202021 3841 --trace_decode 1" command to discover and provision the device (BTW the SSID , passwd, descriminator ..etc are configurable parameters for your DUT) disabled: true - label: "TH starts matter announcement procedure using BLE transport" @@ -69,14 +73,14 @@ tests: verification: | 1. Discover commissionables over BLE using DUT=chip-tool pairing - Verify in TH as commissionee side: + Verify in TH as commissioner side: $ ./chip-tool pairing ble-wifi 1 zigbeehome matter123 20202021 3841 [1651743342.299897][3461:3464] CHIP:BLE: New device scanned: E4:5F:01:0F:1A:02 [1651743342.299951][3461:3464] CHIP:BLE: Device discriminator match. Attempting to connect. [1651743342.303783][3461:3464] CHIP:BLE: Scan complete notification without an active scan. [1651743346.244175][3461:3464] CHIP:DL: ConnectDevice complete - Verify in DUT as commissioner side: + Verify in DUT as commissionee side: [1651743346.152716][5072:5075] CHIP:DL: Device E4:5F:01:0F:3B:B1 (Path: /org/bluez/hci0/dev_E4_5F_01_0F_3B_B1) Connected [1651743347.908807][5072:5075] CHIP:DL: BluezCharacteristicAcquireWrite is called, conn: 0xffffa0043700 [1651743347.911151][5072:5075] CHIP:DL: c1 BluezCharacteristicWriteFD mtu, 517 @@ -127,14 +131,14 @@ tests: verification: | 1. Discover commissionables over BLE using DUT=chip-tool pairing command - Verify in TH as commissionee side: + Verify in TH as commissioner side: $ ./chip-tool pairing ble-wifi 1 zigbeehome matter123 20202021 3841 [1651743342.299897][3461:3464] CHIP:BLE: New device scanned: E4:5F:01:0F:1A:02 [1651743342.299951][3461:3464] CHIP:BLE: Device discriminator match. Attempting to connect. [1651743342.303783][3461:3464] CHIP:BLE: Scan complete notification without an active scan. [1651743346.244175][3461:3464] CHIP:DL: ConnectDevice complete - Verify in DUT as commissioner side: + Verify in DUT as commissionee side: [1651743346.152716][5072:5075] CHIP:DL: Device E4:5F:01:0F:3B:B1 (Path: /org/bluez/hci0/dev_E4_5F_01_0F_3B_B1) Connected [1651743347.908807][5072:5075] CHIP:DL: BluezCharacteristicAcquireWrite is called, conn: 0xffffa0043700 [1651743347.911151][5072:5075] CHIP:DL: c1 BluezCharacteristicWriteFD mtu, 517 diff --git a/src/app/tests/suites/certification/Test_TC_G_3_2.yaml b/src/app/tests/suites/certification/Test_TC_G_3_2.yaml index ce50bdaa67601a..3a3180a56245f7 100644 --- a/src/app/tests/suites/certification/Test_TC_G_3_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_G_3_2.yaml @@ -92,7 +92,7 @@ tests: Before adding the Group 0x0002,0x0003 execute this command in DUT - ../chip-tool groupkeymanagement write group-key-map "[{"groupId":2, "groupKeySetID": 1, "fabricIndex": 1},{"groupId": 3, "groupKeySetID": 1,"fabricIndex": 1} ]" 1 0 + ./chip-tool groupkeymanagement write group-key-map "[{"groupId":2, "groupKeySetID": 1, "fabricIndex": 1},{"groupId": 3, "groupKeySetID": 1,"fabricIndex": 1} ]" 1 0 Verify the command response in TH (all-Clusters-app) log @@ -159,6 +159,73 @@ tests: [1662658902.326776][231145:231145] CHIP:DMG: AccessControl: allowed + ./chip-tool groups add-group 0x0002 gp2 1 1 + + Verify the command response in TH (all-Clusters-app) log + + [1663135868.553238][326599:326599] CHIP:DMG: InvokeRequestMessage = + [1663135868.553242][326599:326599] CHIP:DMG: { + [1663135868.553245][326599:326599] CHIP:DMG: suppressResponse = false, + [1663135868.553249][326599:326599] CHIP:DMG: timedRequest = false, + [1663135868.553252][326599:326599] CHIP:DMG: InvokeRequests = + [1663135868.553257][326599:326599] CHIP:DMG: [ + [1663135868.553261][326599:326599] CHIP:DMG: CommandDataIB = + [1663135868.553266][326599:326599] CHIP:DMG: { + [1663135868.553269][326599:326599] CHIP:DMG: CommandPathIB = + [1663135868.553273][326599:326599] CHIP:DMG: { + [1663135868.553276][326599:326599] CHIP:DMG: EndpointId = 0x1, + [1663135868.553280][326599:326599] CHIP:DMG: ClusterId = 0x4, + [1663135868.553284][326599:326599] CHIP:DMG: CommandId = 0x0, + [1663135868.553287][326599:326599] CHIP:DMG: }, + [1663135868.553291][326599:326599] CHIP:DMG: + [1663135868.553294][326599:326599] CHIP:DMG: CommandFields = + [1663135868.553298][326599:326599] CHIP:DMG: { + [1663135868.553303][326599:326599] CHIP:DMG: 0x0 = 2, + [1663135868.553307][326599:326599] CHIP:DMG: 0x1 = "gp2" (3 chars), + [1663135868.553311][326599:326599] CHIP:DMG: }, + [1663135868.553313][326599:326599] CHIP:DMG: }, + [1663135868.553318][326599:326599] CHIP:DMG: + [1663135868.553320][326599:326599] CHIP:DMG: ], + [1663135868.553325][326599:326599] CHIP:DMG: + [1663135868.553328][326599:326599] CHIP:DMG: InteractionModelRevision = 1 + [1663135868.553331][326599:326599] CHIP:DMG: }, + [1663135868.553347][326599:326599] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0004 e=1 p=m + [1663135868.553353][326599:326599] CHIP:DMG: AccessControl: allowed + + + ./chip-tool groups add-group 0x0003 gp3 1 1 + + Verify the command response in TH (all-Clusters-app) log + + [1663135947.996375][326599:326599] CHIP:DMG: InvokeRequestMessage = + [1663135947.996379][326599:326599] CHIP:DMG: { + [1663135947.996382][326599:326599] CHIP:DMG: suppressResponse = false, + [1663135947.996385][326599:326599] CHIP:DMG: timedRequest = false, + [1663135947.996388][326599:326599] CHIP:DMG: InvokeRequests = + [1663135947.996394][326599:326599] CHIP:DMG: [ + [1663135947.996397][326599:326599] CHIP:DMG: CommandDataIB = + [1663135947.996400][326599:326599] CHIP:DMG: { + [1663135947.996403][326599:326599] CHIP:DMG: CommandPathIB = + [1663135947.996407][326599:326599] CHIP:DMG: { + [1663135947.996411][326599:326599] CHIP:DMG: EndpointId = 0x1, + [1663135947.996414][326599:326599] CHIP:DMG: ClusterId = 0x4, + [1663135947.996418][326599:326599] CHIP:DMG: CommandId = 0x0, + [1663135947.996421][326599:326599] CHIP:DMG: }, + [1663135947.996425][326599:326599] CHIP:DMG: + [1663135947.996428][326599:326599] CHIP:DMG: CommandFields = + [1663135947.996432][326599:326599] CHIP:DMG: { + [1663135947.996436][326599:326599] CHIP:DMG: 0x0 = 3, + [1663135947.996440][326599:326599] CHIP:DMG: 0x1 = "gp3" (3 chars), + [1663135947.996444][326599:326599] CHIP:DMG: }, + [1663135947.996447][326599:326599] CHIP:DMG: }, + [1663135947.996451][326599:326599] CHIP:DMG: + [1663135947.996454][326599:326599] CHIP:DMG: ], + [1663135947.996459][326599:326599] CHIP:DMG: + [1663135947.996462][326599:326599] CHIP:DMG: InteractionModelRevision = 1 + [1663135947.996465][326599:326599] CHIP:DMG: }, + [1663135947.996481][326599:326599] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0004 e=1 p=m + [1663135947.996488][326599:326599] CHIP:DMG: AccessControl: allowed + [1663135947.996493][326599:326599] CHIP:DMG: Received command for Endpoint=1 Cluster=0x0000_0004 Command=0x0000_0000 Execute the below command before adding the Group0x0004 execute this command in step-4. @@ -210,6 +277,39 @@ tests: [1662658956.898277][231145:231145] CHIP:DMG: InteractionModelRevision = 1 [1662658956.898278][231145:231145] CHIP:DMG: }, [1662658956.898293][231145:231145] CHIP:DMG: AccessControl: checking + + ./chip-tool groups add-group 0x0004 gp4 1 1 + + Verify the command response in TH (all-Clusters-app) log + + [1663135947.996375][326599:326599] CHIP:DMG: InvokeRequestMessage = + [1663135947.996379][326599:326599] CHIP:DMG: { + [1663135947.996382][326599:326599] CHIP:DMG: suppressResponse = false, + [1663135947.996385][326599:326599] CHIP:DMG: timedRequest = false, + [1663135947.996388][326599:326599] CHIP:DMG: InvokeRequests = + [1663135947.996394][326599:326599] CHIP:DMG: [ + [1663135947.996397][326599:326599] CHIP:DMG: CommandDataIB = + [1663135947.996400][326599:326599] CHIP:DMG: { + [1663135947.996403][326599:326599] CHIP:DMG: CommandPathIB = + [1663135947.996407][326599:326599] CHIP:DMG: { + [1663135947.996411][326599:326599] CHIP:DMG: EndpointId = 0x1, + [1663135947.996414][326599:326599] CHIP:DMG: ClusterId = 0x4, + [1663135947.996418][326599:326599] CHIP:DMG: CommandId = 0x0, + [1663135947.996421][326599:326599] CHIP:DMG: }, + [1663135947.996425][326599:326599] CHIP:DMG: + [1663135947.996428][326599:326599] CHIP:DMG: CommandFields = + [1663135947.996432][326599:326599] CHIP:DMG: { + [1663135947.996436][326599:326599] CHIP:DMG: 0x0 = 4, + [1663135947.996440][326599:326599] CHIP:DMG: 0x1 = "gp4" (3 chars), + [1663135947.996444][326599:326599] CHIP:DMG: }, + [1663135947.996447][326599:326599] CHIP:DMG: }, + [1663135947.996451][326599:326599] CHIP:DMG: + [1663135947.996454][326599:326599] CHIP:DMG: ], + [1663135947.996459][326599:326599] CHIP:DMG: + [1663135947.996462][326599:326599] CHIP:DMG: InteractionModelRevision = 1 + [1663135947.996465][326599:326599] CHIP:DMG: }, + [1663135947.996481][326599:326599] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0004 e=1 p=m + [1663135947.996488][326599:326599] CHIP:DMG: AccessControl: allowed disabled: true - label: "DUT sends GetGroupMembership command to TH" diff --git a/src/app/tests/suites/certification/Test_TC_IDM_2_1.yaml b/src/app/tests/suites/certification/Test_TC_IDM_2_1.yaml index bc9c3b5dee16da..1fe257aa36c8ad 100644 --- a/src/app/tests/suites/certification/Test_TC_IDM_2_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_IDM_2_1.yaml @@ -585,7 +585,7 @@ tests: verification: | DUT implementation required to verify read an attribute of data type Float - If the Vendor DUT doesn"t implement/supported this attribute, Please mark the test step as "Not Applicable" + If the Vendor DUT doesn"t implement/supported this attribute, Please mark the test step as "\Not Applicable\" disabled: true - label: @@ -871,24 +871,72 @@ tests: ./chip-tool any read-by-id 0xFFFFFFFF 0xFFFFFFFF 1 0xFFFF The message flow can expect as mentioned below - TH -> DUT ReadRequest - DUT -> TH ReportData, not last chunk - TH -> DUT StatusResponse - Possibly repeat steps 2 & 3 a few times - DUT -> TH ReportData, last chunk, SuppressResponse set to true - TH -> DUT standalone ack - - On TH verify that The last chunked message should not receive any status response from the DUT - - [1658396687.401934][3726:3731] CHIP:DMG: - [1658396687.401958][3726:3731] CHIP:DMG: }, - [1658396687.401987][3726:3731] CHIP:DMG: - [1658396687.402010][3726:3731] CHIP:DMG: ], - [1658396687.402048][3726:3731] CHIP:DMG: - [1658396687.402072][3726:3731] CHIP:DMG: SuppressResponse = true, - [1658396687.402097][3726:3731] CHIP:DMG: InteractionModelRevision = 1 - [1658396687.402119][3726:3731] CHIP:DMG: } - [1658396687.402400][3726:3731] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0201 Attribute 0x0000_FFFB DataVersion: 3456275847 + TH(all-clusters-app) -> DUT(chip-tool) ReadRequest + DUT(chip-tool) -> TH(all-clusters-app) ReportData, not last chunk + TH (all-clusters-app)-> DUT(chip-tool) StatusResponse + Possibly DUT and TH repeat itself steps 2 & 3 a few times + DUT(chip-tool) -> TH(all-clusters-app) ReportData, last chunk, SuppressResponse set to true + TH(all-clusters-app) -> DUT(chip-tool) standalone ack + + From TH(all-clusters-app) will send read request to DUT(chip-tool), Then DUT(chip-tool) will send the report data message for the request which sent from TH(All-clusters-app), this report message keep on generating the report data until it reaches the last chuck message and for last chunk message DUT(chip-tool) will not get status response message + [1663148506.794519][39604:39604] CHIP:EM: Removed CHIP MessageCounter:119127068 from RetransTable on exchange 23857r + [1663148506.794525][39604:39604] CHIP:DMG: StatusResponseMessage = + [1663148506.794527][39604:39604] CHIP:DMG: { + [1663148506.794530][39604:39604] CHIP:DMG: Status = 0x00 (SUCCESS), + [1663148506.794533][39604:39604] CHIP:DMG: InteractionModelRevision = 1 + [1663148506.794535][39604:39604] CHIP:DMG: } + [1663148506.794538][39604:39604] CHIP:IM: Received status response, status is 0x00 (SUCCESS) + [1663148506.794542][39604:39604] CHIP:DMG: OnReportConfirm: NumReports = 0 + [1663148506.794544][39604:39604] CHIP:DMG: IM RH moving to [GeneratingReports] + [1663148506.794550][39604:39604] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 + [1663148506.794553][39604:39604] CHIP:DMG: Cluster 2f, Attribute fffb is dirty + [1663148506.794554][39604:39604] CHIP:DMG: Reading attribute: Cluster=0x0000_002F Endpoint=2 AttributeId=0x0000_FFFB (expanded=1) + [1663148506.794558][39604:39604] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_002F e=2 p=v + [1663148506.794561][39604:39604] CHIP:DMG: AccessControl: allowed + [1663148506.794570][39604:39604] CHIP:DMG: Cluster 406, Attribute 0 is dirty + [1663148506.794572][39604:39604] CHIP:DMG: Reading attribute: Cluster=0x0000_0406 Endpoint=2 AttributeId=0x0000_0000 (expanded=1) + [1663148506.794575][39604:39604] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0406 e=2 p=v + [1663148506.794578][39604:39604] CHIP:DMG: AccessControl: allowed + [1663148506.794583][39604:39604] CHIP:DMG: Cluster 406, Attribute 1 is dirty + [1663148506.794585][39604:39604] CHIP:DMG: Reading attribute: Cluster=0x0000_0406 Endpoint=2 AttributeId=0x0000_0001 (expanded=1) + [1663148506.794588][39604:39604] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0406 e=2 p=v + [1663148506.794591][39604:39604] CHIP:DMG: AccessControl: allowed + [1663148506.794595][39604:39604] CHIP:DMG: Cluster 406, Attribute 2 is dirty + [1663148506.794597][39604:39604] CHIP:DMG: Reading attribute: Cluster=0x0000_0406 Endpoint=2 AttributeId=0x0000_0002 (expanded=1) + [1663148506.794600][39604:39604] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0406 e=2 p=v + [1663148506.794603][39604:39604] CHIP:DMG: AccessControl: allowed + [1663148506.794607][39604:39604] CHIP:DMG: Cluster 406, Attribute fffc is dirty + [1663148506.794609][39604:39604] CHIP:DMG: Reading attribute: Cluster=0x0000_0406 Endpoint=2 AttributeId=0x0000_FFFC (expanded=1) + [1663148506.794613][39604:39604] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0406 e=2 p=v + [1663148506.794615][39604:39604] CHIP:DMG: AccessControl: allowed + [1663148506.794620][39604:39604] CHIP:DMG: Cluster 406, Attribute fffd is dirty + [1663148506.794622][39604:39604] CHIP:DMG: Reading attribute: Cluster=0x0000_0406 Endpoint=2 AttributeId=0x0000_FFFD (expanded=1) + [1663148506.794624][39604:39604] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0406 e=2 p=v + [1663148506.794626][39604:39604] CHIP:DMG: AccessControl: allowed + [1663148506.794630][39604:39604] CHIP:DMG: Cluster 406, Attribute fff8 is dirty + [1663148506.794632][39604:39604] CHIP:DMG: Reading attribute: Cluster=0x0000_0406 Endpoint=2 AttributeId=0x0000_FFF8 (expanded=1) + [1663148506.794635][39604:39604] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0406 e=2 p=v + [1663148506.794638][39604:39604] CHIP:DMG: AccessControl: allowed + [1663148506.794642][39604:39604] CHIP:DMG: Cluster 406, Attribute fff9 is dirty + [1663148506.794644][39604:39604] CHIP:DMG: Reading attribute: Cluster=0x0000_0406 Endpoint=2 AttributeId=0x0000_FFF9 (expanded=1) + [1663148506.794647][39604:39604] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0406 e=2 p=v + [1663148506.794650][39604:39604] CHIP:DMG: AccessControl: allowed + [1663148506.794653][39604:39604] CHIP:DMG: Cluster 406, Attribute fffb is dirty + [1663148506.794655][39604:39604] CHIP:DMG: Reading attribute: Cluster=0x0000_0406 Endpoint=2 AttributeId=0x0000_FFFB (expanded=1) + [1663148506.794657][39604:39604] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0406 e=2 p=v + [1663148506.794660][39604:39604] CHIP:DMG: AccessControl: allowed + [1663148506.794671][39604:39604] CHIP:DMG: Sending report (payload has 626 bytes)... + [1663148506.794675][39604:39604] CHIP:EM: Piggybacking Ack for MessageCounter:219862429 on exchange: 23857r + [1663148506.794682][39604:39604] CHIP:IN: Prepared secure message 0x56076c430da8 to 0x000000000001B669 (1) of type 0x5 and protocolId (0, 1) on exchange 23857r with MessageCounter:119127069. + [1663148506.794686][39604:39604] CHIP:IN: Sending encrypted msg 0x56076c430da8 with MessageCounter:119127069 to 0x000000000001B669 (1) at monotonic time: 000000000279FAAD msec + [1663148506.794700][39604:39604] CHIP:DMG: OnReportConfirm: NumReports = 0 + [1663148506.794703][39604:39604] CHIP:DMG: ReportsInFlight = 0 with readHandler 0, RE has no more messages + [1663148506.794705][39604:39604] CHIP:DMG: IM RH moving to [AwaitingDestruction] + [1663148506.794710][39604:39604] CHIP:DMG: All ReadHandler-s are clean, clear GlobalDirtySet + [1663148506.796418][39604:39604] CHIP:EM: Received message of type 0x10 with protocolId (0, 0) and MessageCounter:219862430 on exchange 23857r + [1663148506.796422][39604:39604] CHIP:EM: Found matching exchange: 23857r, Delegate: (nil) + [1663148506.796427][39604:39604] CHIP:EM: Rxd Ack; Removing MessageCounter:119127069 from Retrans Table on exchange 23857r + [1663148506.796429][39604:39604] CHIP:EM: Removed CHIP MessageCounter:119127069 from RetransTable on exchange 23857r disabled: true - label: diff --git a/src/app/tests/suites/certification/Test_TC_IDM_6_2.yaml b/src/app/tests/suites/certification/Test_TC_IDM_6_2.yaml index eb766a273d658d..e5651a7e5bf8e1 100644 --- a/src/app/tests/suites/certification/Test_TC_IDM_6_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_IDM_6_2.yaml @@ -878,52 +878,57 @@ tests: the path." verification: | The cluster used in the below command is an example, User can use any supported chip cluster. - Please run this test in chip tool interactive mode ./chip-tool interactive start - - - To Setup the TH(chip-tool) such that it should not have the privilege for the cluster in the path. , 1st we need to send below mentioned ACL command - Here by sending below mentioned ACL command giving only access for identify cluster(3), So except identify cluster command if try to send any other command will get status as unsupported access. + #1:- Please run this test in chip tool interactive mode ./chip-tool interactive start - accesscontrol write acl '[{"fabricIndex": 1, "privilege": 5, "authMode": 2, "subjects": [112233], "targets":[{ "cluster": 3, "endpoint": 1, "deviceType": null }]}]' 1 0 + #2:- To Setup the TH(chip-tool) such that it should not have the privilege for the cluster in the path. , 1st we need to send below mentioned ACL command + Here by sending below mentioned ACL command giving only access for ACL cluster(31), So except ACL cluster command if try to send any other command will get status as unsupported access. - basic subscribe-event-by-id 0x000 100 1000 1 0 - on TH(chip-tool) verify DUT responds with UNSUPPORTED_ACCESS for the data sent in the above command + accesscontrol write acl '[{"fabricIndex": 1, "privilege": 5, "authMode": 2, "subjects":[1,112233], "targets": [{ "cluster":31, "endpoint":0, "deviceType":null }]}]' 1 0 - [1653479886.551289][22629:22634] CHIP:DMG: ReportDataMessage = - [1653479886.551299][22629:22634] CHIP:DMG: { - [1653479886.551308][22629:22634] CHIP:DMG: SubscriptionId = 0xf5695d45, - [1653479886.551316][22629:22634] CHIP:DMG: EventReportIBs = - [1653479886.551330][22629:22634] CHIP:DMG: [ - [1653479886.551338][22629:22634] CHIP:DMG: EventReportIB = - [1653479886.551352][22629:22634] CHIP:DMG: { - [1653479886.551373][22629:22634] CHIP:DMG: EventStatusIB = - [1653479886.551378][22629:22634] CHIP:DMG: { - [1653479886.551382][22629:22634] CHIP:DMG: EventPath = - [1653479886.551387][22629:22634] CHIP:DMG: { - [1653479886.551391][22629:22634] CHIP:DMG: Endpoint = 0x0, - [1653479886.551397][22629:22634] CHIP:DMG: Cluster = 0x28, - [1653479886.551412][22629:22634] CHIP:DMG: Event = 0x0, - [1653479886.551420][22629:22634] CHIP:DMG: }, - [1653479886.551431][22629:22634] CHIP:DMG: - [1653479886.551438][22629:22634] CHIP:DMG: StatusIB = - [1653479886.551446][22629:22634] CHIP:DMG: { - [1653479886.551454][22629:22634] CHIP:DMG: status = 0x7e (UNSUPPORTED_ACCESS), - [1653479886.551462][22629:22634] CHIP:DMG: }, - [1653479886.551471][22629:22634] CHIP:DMG: - [1653479886.551477][22629:22634] CHIP:DMG: }, - [1653479886.551487][22629:22634] CHIP:DMG: - [1653479886.551495][22629:22634] CHIP:DMG: }, - [1653479886.551506][22629:22634] CHIP:DMG: - [1653479886.551513][22629:22634] CHIP:DMG: ], - [1653479886.551524][22629:22634] CHIP:DMG: - [1653479886.551532][22629:22634] CHIP:DMG: InteractionModelRevision = 1 - [1653479886.551538][22629:22634] CHIP:DMG: } - [1653479886.551583][22629:22634] CHIP:TOO: Response Failure: IM Error 0x0000057E: General error: 0x7e (UNSUPPORTED_ACCESS) + #3:- basic subscribe-event-by-id 0x000 100 1000 1 0 + on TH(chip-tool) verify DUT responds with UNSUPPORTED_ACCESS for the data sent in the above command - With the above command, we are overwriting the default privilege that chip-tool has as an admin. After this test step you need to factory reset the DUT and reprovision the DUT again, Otherwise the below steps can not be executed. + [1663151225.226869][41115:41120] CHIP:DMG: ReportDataMessage = + [1663151225.226879][41115:41120] CHIP:DMG: { + [1663151225.226890][41115:41120] CHIP:DMG: SubscriptionId = 0xd7d61f38, + [1663151225.226899][41115:41120] CHIP:DMG: EventReportIBs = + [1663151225.226915][41115:41120] CHIP:DMG: [ + [1663151225.226923][41115:41120] CHIP:DMG: EventReportIB = + [1663151225.226939][41115:41120] CHIP:DMG: { + [1663151225.226948][41115:41120] CHIP:DMG: EventStatusIB = + [1663151225.226960][41115:41120] CHIP:DMG: { + [1663151225.226977][41115:41120] CHIP:DMG: EventPath = + [1663151225.226989][41115:41120] CHIP:DMG: { + [1663151225.227000][41115:41120] CHIP:DMG: Endpoint = 0x0, + [1663151225.227014][41115:41120] CHIP:DMG: Cluster = 0x28, + [1663151225.227022][41115:41120] CHIP:DMG: Event = 0x0, + [1663151225.227030][41115:41120] CHIP:DMG: }, + [1663151225.227041][41115:41120] CHIP:DMG: + [1663151225.227049][41115:41120] CHIP:DMG: StatusIB = + [1663151225.227058][41115:41120] CHIP:DMG: { + [1663151225.227079][41115:41120] CHIP:DMG: status = 0x7e (UNSUPPORTED_ACCESS), + [1663151225.227090][41115:41120] CHIP:DMG: }, + [1663151225.227099][41115:41120] CHIP:DMG: + [1663151225.227105][41115:41120] CHIP:DMG: }, + [1663151225.227115][41115:41120] CHIP:DMG: + [1663151225.227122][41115:41120] CHIP:DMG: }, + [1663151225.227132][41115:41120] CHIP:DMG: + [1663151225.227138][41115:41120] CHIP:DMG: ], + [1663151225.227149][41115:41120] CHIP:DMG: + [1663151225.227156][41115:41120] CHIP:DMG: InteractionModelRevision = 1 + [1663151225.227162][41115:41120] CHIP:DMG: } + [1663151225.227206][41115:41120] CHIP:TOO: Response Failure: IM Error 0x0000057E: General error: 0x7e (UNSUPPORTED_ACCESS) + [1663151225.227226][41115:41120] CHIP:DMG: MoveToState ReadClient[0x7f52100258b0]: Moving to [AwaitingSu] + + + + + + With the ACL command in step-2, we are overwriting the default privilege that chip-tool has an admin. After this step-3 you need to send below mentioned command to Grant access to all clusters again. + accesscontrol write acl "[{"fabricIndex": 1, "privilege": 5, "authMode":2, "subjects":[112233], "targets":null}]" 1 0 disabled: true - label: diff --git a/src/app/tests/suites/certification/Test_TC_LVL_2_3.yaml b/src/app/tests/suites/certification/Test_TC_LVL_2_3.yaml index 77aef9ae3e41b0..0ef22f6180a4d0 100644 --- a/src/app/tests/suites/certification/Test_TC_LVL_2_3.yaml +++ b/src/app/tests/suites/certification/Test_TC_LVL_2_3.yaml @@ -39,7 +39,8 @@ tests: verification: | Product maker needs to provide instructions for how to trigger the command on the DUT. For comparison, the DUT behavior for this test step can be simulated using chip-tool (when DUT is a commissioner/Client) - ./chip-tool pairing onnetwork 1 20202021 + + ./chip-tool levelcontrol read current-level 1 1 Verify DUT receives current-level attribute response on the TH(all-clusters-app) Log: [1657279115.433005][4417:4417] CHIP:IM: Received Read request [1657279115.433184][4417:4417] CHIP:DMG: ReadRequestMessage = @@ -522,6 +523,8 @@ tests: verification: | Product maker needs to provide instructions for how to trigger the command on the DUT. For comparison, the DUT behavior for this test step can be simulated using chip-tool (when DUT is a commissioner/Client) + + ./chip-tool levelcontrol read current-level 1 1 Verify DUT receives current-level attribute response on the TH(all-clusters-minimal-app) Log: [1657913862.815749][3126:3126] CHIP:IM: Received Read request @@ -605,6 +608,28 @@ tests: [1657913906.649731][3126:3126] CHIP:DMG: isFabricFiltered = true, [1657913906.649757][3126:3126] CHIP:DMG: InteractionModelRevision = 1 [1657913906.649781][3126:3126] CHIP:DMG: }, + + + ./chip-tool levelcontrol read feature-map 1 1 + Verify DUT receives feature-map attribute response on the TH(all-clusters-minimal-app) Log: + [1663070713.467153][4422:4422] CHIP:IM: Received Read request + [1663070713.467242][4422:4422] CHIP:DMG: ReadRequestMessage = + [1663070713.467275][4422:4422] CHIP:DMG: { + [1663070713.467300][4422:4422] CHIP:DMG: AttributePathIBs = + [1663070713.467329][4422:4422] CHIP:DMG: [ + [1663070713.467355][4422:4422] CHIP:DMG: AttributePathIB = + [1663070713.467390][4422:4422] CHIP:DMG: { + [1663070713.467422][4422:4422] CHIP:DMG: Endpoint = 0x1, + [1663070713.467455][4422:4422] CHIP:DMG: Cluster = 0x8, + [1663070713.467487][4422:4422] CHIP:DMG: Attribute = 0x0000_FFFC, + [1663070713.467517][4422:4422] CHIP:DMG: } + [1663070713.467548][4422:4422] CHIP:DMG: + [1663070713.467576][4422:4422] CHIP:DMG: ], + [1663070713.467606][4422:4422] CHIP:DMG: + [1663070713.467635][4422:4422] CHIP:DMG: isFabricFiltered = true, + [1663070713.467663][4422:4422] CHIP:DMG: InteractionModelRevision = 1 + [1663070713.467689][4422:4422] CHIP:DMG: }, + [1663070713.467767][4422:4422] CHIP:DMG: IM RH moving to [GeneratingReports] disabled: true - label: @@ -614,20 +639,158 @@ tests: Product maker needs to provide instructions for how to trigger the command on the DUT. For comparison, the DUT behavior for this test step can be simulated using chip-tool (when DUT is a commissioner/Client) TH all-clusters-minimal-app does not support optional attributes - To verify this behaviour send the below mentioned commands and check the result as unsupported attribute + ./chip-tool levelcontrol read remaining-time 1 1 + Verify DUT(chip-tool) receives remaining-time attribute response on the TH(all-clusters-minimal-app) Log: + [1663147148.155292][37702:37702] CHIP:IM: Received Read request + [1663147148.155312][37702:37702] CHIP:DMG: ReadRequestMessage = + [1663147148.155315][37702:37702] CHIP:DMG: { + [1663147148.155317][37702:37702] CHIP:DMG: AttributePathIBs = + [1663147148.155320][37702:37702] CHIP:DMG: [ + [1663147148.155323][37702:37702] CHIP:DMG: AttributePathIB = + [1663147148.155326][37702:37702] CHIP:DMG: { + [1663147148.155328][37702:37702] CHIP:DMG: Endpoint = 0x1, + [1663147148.155331][37702:37702] CHIP:DMG: Cluster = 0x8, + [1663147148.155334][37702:37702] CHIP:DMG: Attribute = 0x0000_0001, + [1663147148.155338][37702:37702] CHIP:DMG: } + [1663147148.155341][37702:37702] CHIP:DMG: + [1663147148.155343][37702:37702] CHIP:DMG: ], + [1663147148.155346][37702:37702] CHIP:DMG: + [1663147148.155349][37702:37702] CHIP:DMG: isFabricFiltered = true, + [1663147148.155351][37702:37702] CHIP:DMG: InteractionModelRevision = 1 + [1663147148.155353][37702:37702] CHIP:DMG: }, + [1663147148.155366][37702:37702] CHIP:DMG: IM RH moving to [GeneratingReports] + [1663147148.155376][37702:37702] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 + + ./chip-tool levelcontrol read min-level 1 1 + Verify DUT(chip-tool) receives min-level attribute response on the TH(all-clusters-minimal-app) Log: + [1663147176.255360][37702:37702] CHIP:DMG: ReadRequestMessage = + [1663147176.255364][37702:37702] CHIP:DMG: { + [1663147176.255368][37702:37702] CHIP:DMG: AttributePathIBs = + [1663147176.255373][37702:37702] CHIP:DMG: [ + [1663147176.255376][37702:37702] CHIP:DMG: AttributePathIB = + [1663147176.255381][37702:37702] CHIP:DMG: { + [1663147176.255385][37702:37702] CHIP:DMG: Endpoint = 0x1, + [1663147176.255389][37702:37702] CHIP:DMG: Cluster = 0x8, + [1663147176.255393][37702:37702] CHIP:DMG: Attribute = 0x0000_0002, + [1663147176.255396][37702:37702] CHIP:DMG: } + [1663147176.255401][37702:37702] CHIP:DMG: + [1663147176.255404][37702:37702] CHIP:DMG: ], + [1663147176.255409][37702:37702] CHIP:DMG: + [1663147176.255413][37702:37702] CHIP:DMG: isFabricFiltered = true, + [1663147176.255416][37702:37702] CHIP:DMG: InteractionModelRevision = 1 + [1663147176.255419][37702:37702] CHIP:DMG: }, + [1663147176.255436][37702:37702] CHIP:DMG: IM RH moving to [GeneratingReports] + [1663147176.255451][37702:37702] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 + ./chip-tool levelcontrol read max-level 1 1 + Verify DUT(chip-tool) receives max-level attribute response on the TH(all-clusters-minimal-app) Log: + [1663147204.133512][37702:37702] CHIP:IM: Received Read request + [1663147204.133528][37702:37702] CHIP:DMG: ReadRequestMessage = + [1663147204.133531][37702:37702] CHIP:DMG: { + [1663147204.133533][37702:37702] CHIP:DMG: AttributePathIBs = + [1663147204.133536][37702:37702] CHIP:DMG: [ + [1663147204.133538][37702:37702] CHIP:DMG: AttributePathIB = + [1663147204.133541][37702:37702] CHIP:DMG: { + [1663147204.133543][37702:37702] CHIP:DMG: Endpoint = 0x1, + [1663147204.133546][37702:37702] CHIP:DMG: Cluster = 0x8, + [1663147204.133549][37702:37702] CHIP:DMG: Attribute = 0x0000_0003, + [1663147204.133551][37702:37702] CHIP:DMG: } + [1663147204.133553][37702:37702] CHIP:DMG: + [1663147204.133555][37702:37702] CHIP:DMG: ], + [1663147204.133558][37702:37702] CHIP:DMG: + [1663147204.133561][37702:37702] CHIP:DMG: isFabricFiltered = true, + [1663147204.133563][37702:37702] CHIP:DMG: InteractionModelRevision = 1 + [1663147204.133565][37702:37702] CHIP:DMG: }, + [1663147204.133577][37702:37702] CHIP:DMG: IM RH moving to [GeneratingReports] + [1663147204.133587][37702:37702] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 ./chip-tool levelcontrol read current-frequency 1 1 + Verify DUT(chip-tool) receives current-frequency attribute response on the TH(all-clusters-minimal-app) Log: + [1663147223.228680][37702:37702] CHIP:IM: Received Read request + [1663147223.228702][37702:37702] CHIP:DMG: ReadRequestMessage = + [1663147223.228706][37702:37702] CHIP:DMG: { + [1663147223.228710][37702:37702] CHIP:DMG: AttributePathIBs = + [1663147223.228714][37702:37702] CHIP:DMG: [ + [1663147223.228717][37702:37702] CHIP:DMG: AttributePathIB = + [1663147223.228722][37702:37702] CHIP:DMG: { + [1663147223.228726][37702:37702] CHIP:DMG: Endpoint = 0x1, + [1663147223.228730][37702:37702] CHIP:DMG: Cluster = 0x8, + [1663147223.228734][37702:37702] CHIP:DMG: Attribute = 0x0000_0004, + [1663147223.228738][37702:37702] CHIP:DMG: } + [1663147223.228742][37702:37702] CHIP:DMG: + [1663147223.228746][37702:37702] CHIP:DMG: ], + [1663147223.228751][37702:37702] CHIP:DMG: + [1663147223.228754][37702:37702] CHIP:DMG: isFabricFiltered = true, + [1663147223.228758][37702:37702] CHIP:DMG: InteractionModelRevision = 1 + [1663147223.228761][37702:37702] CHIP:DMG: }, + [1663147223.228780][37702:37702] CHIP:DMG: IM RH moving to [GeneratingReports] ./chip-tool levelcontrol read min-frequency 1 1 + Verify DUT(chip-tool) receives min-frequency attribute response on the TH(all-clusters-minimal-app) Log: + [1663147242.442251][37702:37702] CHIP:IM: Received Read request + [1663147242.442277][37702:37702] CHIP:DMG: ReadRequestMessage = + [1663147242.442282][37702:37702] CHIP:DMG: { + [1663147242.442287][37702:37702] CHIP:DMG: AttributePathIBs = + [1663147242.442293][37702:37702] CHIP:DMG: [ + [1663147242.442298][37702:37702] CHIP:DMG: AttributePathIB = + [1663147242.442304][37702:37702] CHIP:DMG: { + [1663147242.442309][37702:37702] CHIP:DMG: Endpoint = 0x1, + [1663147242.442315][37702:37702] CHIP:DMG: Cluster = 0x8, + [1663147242.442320][37702:37702] CHIP:DMG: Attribute = 0x0000_0005, + [1663147242.442324][37702:37702] CHIP:DMG: } + [1663147242.442331][37702:37702] CHIP:DMG: + [1663147242.442336][37702:37702] CHIP:DMG: ], + [1663147242.442342][37702:37702] CHIP:DMG: + [1663147242.442347][37702:37702] CHIP:DMG: isFabricFiltered = true, + [1663147242.442352][37702:37702] CHIP:DMG: InteractionModelRevision = 1 + [1663147242.442355][37702:37702] CHIP:DMG: }, + [1663147242.442378][37702:37702] CHIP:DMG: IM RH moving to [GeneratingReports] ./chip-tool levelcontrol read max-frequency 1 1 + Verify DUT(chip-tool) receives max-frequency attribute response on the TH(all-clusters-minimal-app) Log: + [1663147259.687422][37702:37702] CHIP:IM: Received Read request + [1663147259.687445][37702:37702] CHIP:DMG: ReadRequestMessage = + [1663147259.687450][37702:37702] CHIP:DMG: { + [1663147259.687454][37702:37702] CHIP:DMG: AttributePathIBs = + [1663147259.687458][37702:37702] CHIP:DMG: [ + [1663147259.687463][37702:37702] CHIP:DMG: AttributePathIB = + [1663147259.687469][37702:37702] CHIP:DMG: { + [1663147259.687474][37702:37702] CHIP:DMG: Endpoint = 0x1, + [1663147259.687478][37702:37702] CHIP:DMG: Cluster = 0x8, + [1663147259.687481][37702:37702] CHIP:DMG: Attribute = 0x0000_0006, + [1663147259.687485][37702:37702] CHIP:DMG: } + [1663147259.687490][37702:37702] CHIP:DMG: + [1663147259.687494][37702:37702] CHIP:DMG: ], + [1663147259.687500][37702:37702] CHIP:DMG: + [1663147259.687504][37702:37702] CHIP:DMG: isFabricFiltered = true, + [1663147259.687509][37702:37702] CHIP:DMG: InteractionModelRevision = 1 + [1663147259.687513][37702:37702] CHIP:DMG: }, + [1663147259.687532][37702:37702] CHIP:DMG: IM RH moving to [GeneratingReports] ./chip-tool levelcontrol read on-off-transition-time 1 1 + Verify DUT(chip-tool) receives on-off-transition-time attribute response on the TH(all-clusters-minimal-app) Log: + [1663147276.525081][37702:37702] CHIP:IM: Received Read request + [1663147276.525105][37702:37702] CHIP:DMG: ReadRequestMessage = + [1663147276.525110][37702:37702] CHIP:DMG: { + [1663147276.525115][37702:37702] CHIP:DMG: AttributePathIBs = + [1663147276.525120][37702:37702] CHIP:DMG: [ + [1663147276.525124][37702:37702] CHIP:DMG: AttributePathIB = + [1663147276.525129][37702:37702] CHIP:DMG: { + [1663147276.525133][37702:37702] CHIP:DMG: Endpoint = 0x1, + [1663147276.525138][37702:37702] CHIP:DMG: Cluster = 0x8, + [1663147276.525143][37702:37702] CHIP:DMG: Attribute = 0x0000_0010, + [1663147276.525148][37702:37702] CHIP:DMG: } + [1663147276.525155][37702:37702] CHIP:DMG: + [1663147276.525159][37702:37702] CHIP:DMG: ], + [1663147276.525166][37702:37702] CHIP:DMG: + [1663147276.525171][37702:37702] CHIP:DMG: isFabricFiltered = true, + [1663147276.525177][37702:37702] CHIP:DMG: InteractionModelRevision = 1 + [1663147276.525181][37702:37702] CHIP:DMG: }, + [1663147276.525202][37702:37702] CHIP:DMG: IM RH moving to [GeneratingReports] disabled: true - label: @@ -637,10 +800,149 @@ tests: Product maker needs to provide instructions for how to trigger the command on the DUT. For comparison, the DUT behavior for this test step can be simulated using chip-tool (when DUT is a commissioner/Client) TH all-clusters-minimal-app does not support optional attributes - To verify this behaviour send the below mentioned commands and check the result as unsupported attribute + ./chip-tool levelcontrol write on-off-transition-time 5 1 1 + Verify DUT(chip-tool) receives on-off-transition-time attribute response on the TH(all-clusters-minimal-app) Log: + [1663147558.231731][37702:37702] CHIP:IM: Received Write request + [1663147558.231735][37702:37702] CHIP:DMG: IM WH moving to [Initialized] + [1663147558.231746][37702:37702] CHIP:DMG: WriteRequestMessage = + [1663147558.231749][37702:37702] CHIP:DMG: { + [1663147558.231753][37702:37702] CHIP:DMG: suppressResponse = false, + [1663147558.231757][37702:37702] CHIP:DMG: timedRequest = false, + [1663147558.231760][37702:37702] CHIP:DMG: AttributeDataIBs = + [1663147558.231765][37702:37702] CHIP:DMG: [ + [1663147558.231767][37702:37702] CHIP:DMG: AttributeDataIB = + [1663147558.231771][37702:37702] CHIP:DMG: { + [1663147558.231773][37702:37702] CHIP:DMG: AttributePathIB = + [1663147558.231777][37702:37702] CHIP:DMG: { + [1663147558.231781][37702:37702] CHIP:DMG: Endpoint = 0x1, + [1663147558.231784][37702:37702] CHIP:DMG: Cluster = 0x8, + [1663147558.231789][37702:37702] CHIP:DMG: Attribute = 0x0000_0010, + [1663147558.231792][37702:37702] CHIP:DMG: } + [1663147558.231795][37702:37702] CHIP:DMG: + [1663147558.231798][37702:37702] CHIP:DMG: Data = 5, + [1663147558.231801][37702:37702] CHIP:DMG: }, + [1663147558.231805][37702:37702] CHIP:DMG: + [1663147558.231809][37702:37702] CHIP:DMG: ], + [1663147558.231813][37702:37702] CHIP:DMG: + [1663147558.231816][37702:37702] CHIP:DMG: moreChunkedMessages = false, + [1663147558.231820][37702:37702] CHIP:DMG: InteractionModelRevision = 1 + [1663147558.231822][37702:37702] CHIP:DMG: }, + [1663147558.231844][37702:37702] CHIP:DMG: IM WH moving to [AddStatus] + ./chip-tool levelcontrol write on-transition-time 5 1 1 + Verify DUT(chip-tool) receives on-transition-time attribute response on the TH(all-clusters-minimal-app) Log: + [1663147582.702165][37702:37702] CHIP:IM: Received Write request + [1663147582.702168][37702:37702] CHIP:DMG: IM WH moving to [Initialized] + [1663147582.702179][37702:37702] CHIP:DMG: WriteRequestMessage = + [1663147582.702182][37702:37702] CHIP:DMG: { + [1663147582.702185][37702:37702] CHIP:DMG: suppressResponse = false, + [1663147582.702188][37702:37702] CHIP:DMG: timedRequest = false, + [1663147582.702191][37702:37702] CHIP:DMG: AttributeDataIBs = + [1663147582.702196][37702:37702] CHIP:DMG: [ + [1663147582.702199][37702:37702] CHIP:DMG: AttributeDataIB = + [1663147582.702202][37702:37702] CHIP:DMG: { + [1663147582.702205][37702:37702] CHIP:DMG: AttributePathIB = + [1663147582.702209][37702:37702] CHIP:DMG: { + [1663147582.702212][37702:37702] CHIP:DMG: Endpoint = 0x1, + [1663147582.702216][37702:37702] CHIP:DMG: Cluster = 0x8, + [1663147582.702219][37702:37702] CHIP:DMG: Attribute = 0x0000_0012, + [1663147582.702222][37702:37702] CHIP:DMG: } + [1663147582.702226][37702:37702] CHIP:DMG: + [1663147582.702230][37702:37702] CHIP:DMG: Data = 5, + [1663147582.702233][37702:37702] CHIP:DMG: }, + [1663147582.702236][37702:37702] CHIP:DMG: + [1663147582.702239][37702:37702] CHIP:DMG: ], + [1663147582.702243][37702:37702] CHIP:DMG: + [1663147582.702246][37702:37702] CHIP:DMG: moreChunkedMessages = false, + [1663147582.702248][37702:37702] CHIP:DMG: InteractionModelRevision = 1 + [1663147582.702252][37702:37702] CHIP:DMG: }, + [1663147582.702271][37702:37702] CHIP:DMG: IM WH moving to [AddStatus] + ./chip-tool levelcontrol write off-transition-time 5 1 1 + Verify DUT(chip-tool) receives off-transition-time attribute response on the TH(all-clusters-minimal-app) Log: + [1663147605.317885][37702:37702] CHIP:IM: Received Write request + [1663147605.317891][37702:37702] CHIP:DMG: IM WH moving to [Initialized] + [1663147605.317910][37702:37702] CHIP:DMG: WriteRequestMessage = + [1663147605.317915][37702:37702] CHIP:DMG: { + [1663147605.317920][37702:37702] CHIP:DMG: suppressResponse = false, + [1663147605.317925][37702:37702] CHIP:DMG: timedRequest = false, + [1663147605.317930][37702:37702] CHIP:DMG: AttributeDataIBs = + [1663147605.317936][37702:37702] CHIP:DMG: [ + [1663147605.317941][37702:37702] CHIP:DMG: AttributeDataIB = + [1663147605.317945][37702:37702] CHIP:DMG: { + [1663147605.317950][37702:37702] CHIP:DMG: AttributePathIB = + [1663147605.317956][37702:37702] CHIP:DMG: { + [1663147605.317962][37702:37702] CHIP:DMG: Endpoint = 0x1, + [1663147605.317968][37702:37702] CHIP:DMG: Cluster = 0x8, + [1663147605.317973][37702:37702] CHIP:DMG: Attribute = 0x0000_0013, + [1663147605.317978][37702:37702] CHIP:DMG: } + [1663147605.317985][37702:37702] CHIP:DMG: + [1663147605.317990][37702:37702] CHIP:DMG: Data = 5, + [1663147605.317996][37702:37702] CHIP:DMG: }, + [1663147605.318002][37702:37702] CHIP:DMG: + [1663147605.318007][37702:37702] CHIP:DMG: ], + [1663147605.318014][37702:37702] CHIP:DMG: + [1663147605.318018][37702:37702] CHIP:DMG: moreChunkedMessages = false, + [1663147605.318024][37702:37702] CHIP:DMG: InteractionModelRevision = 1 + [1663147605.318028][37702:37702] CHIP:DMG: }, + [1663147605.318058][37702:37702] CHIP:DMG: IM WH moving to [AddStatus] + ./chip-tool levelcontrol write default-move-rate 5 1 1 + Verify DUT(chip-tool) receives default-move-rate attribute response on the TH(all-clusters-minimal-app) Log: + [1663147644.857538][37702:37702] CHIP:IM: Received Write request + [1663147644.857541][37702:37702] CHIP:DMG: IM WH moving to [Initialized] + [1663147644.857552][37702:37702] CHIP:DMG: WriteRequestMessage = + [1663147644.857555][37702:37702] CHIP:DMG: { + [1663147644.857557][37702:37702] CHIP:DMG: suppressResponse = false, + [1663147644.857560][37702:37702] CHIP:DMG: timedRequest = false, + [1663147644.857562][37702:37702] CHIP:DMG: AttributeDataIBs = + [1663147644.857566][37702:37702] CHIP:DMG: [ + [1663147644.857568][37702:37702] CHIP:DMG: AttributeDataIB = + [1663147644.857571][37702:37702] CHIP:DMG: { + [1663147644.857574][37702:37702] CHIP:DMG: AttributePathIB = + [1663147644.857577][37702:37702] CHIP:DMG: { + [1663147644.857580][37702:37702] CHIP:DMG: Endpoint = 0x1, + [1663147644.857582][37702:37702] CHIP:DMG: Cluster = 0x8, + [1663147644.857585][37702:37702] CHIP:DMG: Attribute = 0x0000_0014, + [1663147644.857587][37702:37702] CHIP:DMG: } + [1663147644.857591][37702:37702] CHIP:DMG: + [1663147644.857594][37702:37702] CHIP:DMG: Data = 5, + [1663147644.857596][37702:37702] CHIP:DMG: }, + [1663147644.857601][37702:37702] CHIP:DMG: + [1663147644.857603][37702:37702] CHIP:DMG: ], + [1663147644.857606][37702:37702] CHIP:DMG: + [1663147644.857609][37702:37702] CHIP:DMG: moreChunkedMessages = false, + [1663147644.857611][37702:37702] CHIP:DMG: InteractionModelRevision = 1 + [1663147644.857613][37702:37702] CHIP:DMG: }, + [1663147644.857629][37702:37702] CHIP:DMG: IM WH moving to [AddStatus] + ./chip-tool levelcontrol write start-up-current-level 5 1 1 + Verify DUT(chip-tool) receives start-up-current-level attribute response on the TH(all-clusters-minimal-app) Log: + [1663147665.149448][37702:37702] CHIP:IM: Received Write request + [1663147665.149453][37702:37702] CHIP:DMG: IM WH moving to [Initialized] + [1663147665.149474][37702:37702] CHIP:DMG: WriteRequestMessage = + [1663147665.149480][37702:37702] CHIP:DMG: { + [1663147665.149486][37702:37702] CHIP:DMG: suppressResponse = false, + [1663147665.149492][37702:37702] CHIP:DMG: timedRequest = false, + [1663147665.149497][37702:37702] CHIP:DMG: AttributeDataIBs = + [1663147665.149506][37702:37702] CHIP:DMG: [ + [1663147665.149511][37702:37702] CHIP:DMG: AttributeDataIB = + [1663147665.149520][37702:37702] CHIP:DMG: { + [1663147665.149525][37702:37702] CHIP:DMG: AttributePathIB = + [1663147665.149532][37702:37702] CHIP:DMG: { + [1663147665.149539][37702:37702] CHIP:DMG: Endpoint = 0x1, + [1663147665.149545][37702:37702] CHIP:DMG: Cluster = 0x8, + [1663147665.149552][37702:37702] CHIP:DMG: Attribute = 0x0000_4000, + [1663147665.149558][37702:37702] CHIP:DMG: } + [1663147665.149565][37702:37702] CHIP:DMG: + [1663147665.149572][37702:37702] CHIP:DMG: Data = 5, + [1663147665.149578][37702:37702] CHIP:DMG: }, + [1663147665.149586][37702:37702] CHIP:DMG: + [1663147665.149590][37702:37702] CHIP:DMG: ], + [1663147665.149598][37702:37702] CHIP:DMG: + [1663147665.149604][37702:37702] CHIP:DMG: moreChunkedMessages = false, + [1663147665.149609][37702:37702] CHIP:DMG: InteractionModelRevision = 1 + [1663147665.149614][37702:37702] CHIP:DMG: }, + [1663147665.149652][37702:37702] CHIP:DMG: IM WH moving to [AddStatus] disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_MOD_1_3.yaml b/src/app/tests/suites/certification/Test_TC_MOD_1_3.yaml index 095deb01323ba0..5a92a02a5fc3cb 100644 --- a/src/app/tests/suites/certification/Test_TC_MOD_1_3.yaml +++ b/src/app/tests/suites/certification/Test_TC_MOD_1_3.yaml @@ -241,7 +241,33 @@ tests: [1659589890.492658][3088:3088] CHIP:DMG: InteractionModelRevision = 1 [1659589890.492679][3088:3088] CHIP:DMG: }, - + ./chip-tool modeselect read feature-map 1 1 + + verify the " feature-map " on the TH (all-cluster-minimal-app) log: + + [1663142252.747239][5476:5476] CHIP:IM: Received Read request + [1663142252.747411][5476:5476] CHIP:DMG: ReadRequestMessage = + [1663142252.747649][5476:5476] CHIP:DMG: { + [1663142252.747731][5476:5476] CHIP:DMG: AttributePathIBs = + [1663142252.747799][5476:5476] CHIP:DMG: [ + [1663142252.747861][5476:5476] CHIP:DMG: AttributePathIB = + [1663142252.747966][5476:5476] CHIP:DMG: { + [1663142252.748039][5476:5476] CHIP:DMG: Endpoint = 0x1, + [1663142252.748137][5476:5476] CHIP:DMG: Cluster = 0x50, + [1663142252.748226][5476:5476] CHIP:DMG: Attribute = 0x0000_FFFC, + [1663142252.748321][5476:5476] CHIP:DMG: } + [1663142252.748398][5476:5476] CHIP:DMG: + [1663142252.748488][5476:5476] CHIP:DMG: ], + [1663142252.748561][5476:5476] CHIP:DMG: + [1663142252.748627][5476:5476] CHIP:DMG: isFabricFiltered = true, + [1663142252.748716][5476:5476] CHIP:DMG: InteractionModelRevision = 1 + [1663142252.748775][5476:5476] CHIP:DMG: }, + [1663142252.748965][5476:5476] CHIP:DMG: IM RH moving to [GeneratingReports] + [1663142252.749188][5476:5476] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 + [1663142252.749311][5476:5476] CHIP:DMG: Cluster 50, Attribute fffc is dirty + [1663142252.749358][5476:5476] CHIP:DMG: Reading attribute: Cluster=0x0000_0050 Endpoint=1 AttributeId=0x0000_FFFC (expanded=0) + [1663142252.749531][5476:5476] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0050 e=1 p=v + [1663142252.749617][5476:5476] CHIP:DMG: AccessControl: allowed ./chip-tool modeselect read supported-modes 1 1 diff --git a/src/app/tests/suites/certification/Test_TC_OO_3_1.yaml b/src/app/tests/suites/certification/Test_TC_OO_3_1.yaml index 313c82f44ebab9..efea15f75ef5b9 100644 --- a/src/app/tests/suites/certification/Test_TC_OO_3_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_OO_3_1.yaml @@ -300,6 +300,31 @@ tests: [1657906380.687904][2361:2361] CHIP:DMG: }, + ./chip-tool onoff read feature-map 1 1 + + verify the " feature-map response" on the TH (all-cluster-minimal-app) log: + + [1663142640.719145][5476:5476] CHIP:EM: Handling via exchange: 32627r, Delegate: 0xaaaac9e6b028 + [1663142640.719195][5476:5476] CHIP:IM: Received Read request + [1663142640.719289][5476:5476] CHIP:DMG: ReadRequestMessage = + [1663142640.719321][5476:5476] CHIP:DMG: { + [1663142640.719347][5476:5476] CHIP:DMG: AttributePathIBs = + [1663142640.719377][5476:5476] CHIP:DMG: [ + [1663142640.719406][5476:5476] CHIP:DMG: AttributePathIB = + [1663142640.719524][5476:5476] CHIP:DMG: { + [1663142640.719562][5476:5476] CHIP:DMG: Endpoint = 0x1, + [1663142640.719601][5476:5476] CHIP:DMG: Cluster = 0x6, + [1663142640.719643][5476:5476] CHIP:DMG: Attribute = 0x0000_FFFC, + [1663142640.719681][5476:5476] CHIP:DMG: } + [1663142640.719716][5476:5476] CHIP:DMG: + [1663142640.719749][5476:5476] CHIP:DMG: ], + [1663142640.719782][5476:5476] CHIP:DMG: + [1663142640.719813][5476:5476] CHIP:DMG: isFabricFiltered = true, + [1663142640.719843][5476:5476] CHIP:DMG: InteractionModelRevision = 1 + [1663142640.719870][5476:5476] CHIP:DMG: }, + [1663142640.719954][5476:5476] CHIP:DMG: IM RH moving to [GeneratingReports] + [1663142640.720064][5476:5476] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 + [1663142640.720099][5476:5476] CHIP:DMG: Cluster 6, Attribute fffc is dirty ./chip-tool onoff read on-off 1 1 diff --git a/src/app/tests/suites/certification/Test_TC_PSCFG_3_1.yaml b/src/app/tests/suites/certification/Test_TC_PSCFG_3_1.yaml index f82b198ea5dd73..4af8ab15bb3c27 100644 --- a/src/app/tests/suites/certification/Test_TC_PSCFG_3_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_PSCFG_3_1.yaml @@ -86,6 +86,32 @@ tests: also reflects this in global attributes such as FeatureMap and AttributeList. Commission DUT to TH aga" verification: | + ./chip-tool powersourceconfiguration read attribute-list 1 0 + + Verify the ReadRequestMessage the TH (all-cluster-minimal-app) log: + + [1663147271.622589][2750:2750] CHIP:IM: Received Read request + [1663147271.622666][2750:2750] CHIP:DMG: ReadRequestMessage = + [1663147271.622692][2750:2750] CHIP:DMG: { + [1663147271.622714][2750:2750] CHIP:DMG: AttributePathIBs = + [1663147271.622739][2750:2750] CHIP:DMG: [ + [1663147271.622789][2750:2750] CHIP:DMG: AttributePathIB = + [1663147271.622821][2750:2750] CHIP:DMG: { + [1663147271.622849][2750:2750] CHIP:DMG: Endpoint = 0x0, + [1663147271.622880][2750:2750] CHIP:DMG: Cluster = 0x2e, + [1663147271.622914][2750:2750] CHIP:DMG: Attribute = 0x0000_FFFB, + [1663147271.622943][2750:2750] CHIP:DMG: } + [1663147271.622971][2750:2750] CHIP:DMG: + [1663147271.622996][2750:2750] CHIP:DMG: ], + [1663147271.623023][2750:2750] CHIP:DMG: + [1663147271.623049][2750:2750] CHIP:DMG: isFabricFiltered = true, + [1663147271.623074][2750:2750] CHIP:DMG: InteractionModelRevision = 1 + [1663147271.623097][2750:2750] CHIP:DMG: }, + [1663147271.623168][2750:2750] CHIP:DMG: IM RH moving to [GeneratingReports] + [1663147271.623246][2750:2750] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 + [1663147271.623274][2750:2750] CHIP:DMG: Cluster 2e, Attribute fffb is dirty + + ./chip-tool powersourceconfiguration read sources 1 0 verify the " sources response" on the TH (all-cluster-minimal-app) log: diff --git a/src/app/tests/suites/certification/Test_TC_PS_3_1.yaml b/src/app/tests/suites/certification/Test_TC_PS_3_1.yaml index 1808f11adfa5bd..9d3a4c8e265b61 100644 --- a/src/app/tests/suites/certification/Test_TC_PS_3_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_PS_3_1.yaml @@ -113,6 +113,79 @@ tests: [1653395620.021104][19412:19412] CHIP:DMG: InteractionModelRevision = 1 [1653395620.021153][19412:19412] CHIP:DMG: }, [1653395620.021252][19412:19412] CHIP:DMG: IM RH moving to [GeneratingReports] + + + ./chip-tool powersource read bat-charge-level 1 1 + + Verify the ReadRequestMessage on TH(all-clusters-app) log) + + [1663140804.059599][2414:2414] CHIP:IM: Received Read request + [1663140804.059679][2414:2414] CHIP:DMG: ReadRequestMessage = + [1663140804.059706][2414:2414] CHIP:DMG: { + [1663140804.059728][2414:2414] CHIP:DMG: AttributePathIBs = + [1663140804.059754][2414:2414] CHIP:DMG: [ + [1663140804.059779][2414:2414] CHIP:DMG: AttributePathIB = + [1663140804.059828][2414:2414] CHIP:DMG: { + [1663140804.059861][2414:2414] CHIP:DMG: Endpoint = 0x1, + [1663140804.059913][2414:2414] CHIP:DMG: Cluster = 0x2f, + [1663140804.059946][2414:2414] CHIP:DMG: Attribute = 0x0000_000E, + [1663140804.059976][2414:2414] CHIP:DMG: } + [1663140804.060006][2414:2414] CHIP:DMG: + [1663140804.060033][2414:2414] CHIP:DMG: ], + [1663140804.060060][2414:2414] CHIP:DMG: + [1663140804.060087][2414:2414] CHIP:DMG: isFabricFiltered = true, + [1663140804.060111][2414:2414] CHIP:DMG: InteractionModelRevision = 1 + [1663140804.060136][2414:2414] CHIP:DMG: }, + + + ./chip-tool powersource read bat-replacement-needed 1 1 + + Verify the ReadRequestMessage on TH(all-clusters-app) log) + + [1663141268.348233][2414:2414] CHIP:IM: Received Read request + [1663141268.348332][2414:2414] CHIP:DMG: ReadRequestMessage = + [1663141268.348388][2414:2414] CHIP:DMG: { + [1663141268.348418][2414:2414] CHIP:DMG: AttributePathIBs = + [1663141268.348465][2414:2414] CHIP:DMG: [ + [1663141268.348498][2414:2414] CHIP:DMG: AttributePathIB = + [1663141268.348545][2414:2414] CHIP:DMG: { + [1663141268.348584][2414:2414] CHIP:DMG: Endpoint = 0x1, + [1663141268.348637][2414:2414] CHIP:DMG: Cluster = 0x2f, + [1663141268.348685][2414:2414] CHIP:DMG: Attribute = 0x0000_000F, + [1663141268.348735][2414:2414] CHIP:DMG: } + [1663141268.348774][2414:2414] CHIP:DMG: + [1663141268.348820][2414:2414] CHIP:DMG: ], + [1663141268.348857][2414:2414] CHIP:DMG: + [1663141268.348904][2414:2414] CHIP:DMG: isFabricFiltered = true, + [1663141268.348938][2414:2414] CHIP:DMG: InteractionModelRevision = 1 + [1663141268.348982][2414:2414] CHIP:DMG: }, + [1663141268.349086][2414:2414] CHIP:DMG: IM RH moving to [GeneratingReports] + [1663141268.349214][2414:2414] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 + [1663141268.349251][2414:2414] CHIP:DMG: Cluster 2f, Attribute f is dirty + + + ./chip-tool powersource read bat-replaceability 1 1 + + Verify the ReadRequestMessage on TH(all-clusters-app) log + + + [1663141378.115928][2414:2414] CHIP:DMG: ReadRequestMessage = + [1663141378.115978][2414:2414] CHIP:DMG: { + [1663141378.116006][2414:2414] CHIP:DMG: AttributePathIBs = + [1663141378.116050][2414:2414] CHIP:DMG: [ + [1663141378.116080][2414:2414] CHIP:DMG: AttributePathIB = + [1663141378.116124][2414:2414] CHIP:DMG: { + [1663141378.116160][2414:2414] CHIP:DMG: Endpoint = 0x1, + [1663141378.116208][2414:2414] CHIP:DMG: Cluster = 0x2f, + [1663141378.116247][2414:2414] CHIP:DMG: Attribute = 0x0000_0010, + [1663141378.116294][2414:2414] CHIP:DMG: } + [1663141378.116330][2414:2414] CHIP:DMG: + [1663141378.116372][2414:2414] CHIP:DMG: ], + [1663141378.116407][2414:2414] CHIP:DMG: + [1663141378.116450][2414:2414] CHIP:DMG: isFabricFiltered = true, + [1663141378.116481][2414:2414] CHIP:DMG: InteractionModelRevision = 1 + [1663141378.116521][2414:2414] CHIP:DMG: }, + [1663141378.116621][2414:2414] CHIP:DMG: IM RH moving to [GeneratingReports] disabled: true - label: @@ -240,6 +313,79 @@ tests: [1653395620.021104][19412:19412] CHIP:DMG: InteractionModelRevision = 1 [1653395620.021153][19412:19412] CHIP:DMG: }, [1653395620.021252][19412:19412] CHIP:DMG: IM RH moving to [GeneratingReports] + + + ./chip-tool powersource read bat-charge-level 1 1 + + Verify the ReadRequestMessage on TH(all-clusters-minimal-app) log + + [1663140804.059599][2414:2414] CHIP:IM: Received Read request + [1663140804.059679][2414:2414] CHIP:DMG: ReadRequestMessage = + [1663140804.059706][2414:2414] CHIP:DMG: { + [1663140804.059728][2414:2414] CHIP:DMG: AttributePathIBs = + [1663140804.059754][2414:2414] CHIP:DMG: [ + [1663140804.059779][2414:2414] CHIP:DMG: AttributePathIB = + [1663140804.059828][2414:2414] CHIP:DMG: { + [1663140804.059861][2414:2414] CHIP:DMG: Endpoint = 0x1, + [1663140804.059913][2414:2414] CHIP:DMG: Cluster = 0x2f, + [1663140804.059946][2414:2414] CHIP:DMG: Attribute = 0x0000_000E, + [1663140804.059976][2414:2414] CHIP:DMG: } + [1663140804.060006][2414:2414] CHIP:DMG: + [1663140804.060033][2414:2414] CHIP:DMG: ], + [1663140804.060060][2414:2414] CHIP:DMG: + [1663140804.060087][2414:2414] CHIP:DMG: isFabricFiltered = true, + [1663140804.060111][2414:2414] CHIP:DMG: InteractionModelRevision = 1 + [1663140804.060136][2414:2414] CHIP:DMG: }, + + + ./chip-tool powersource read bat-replacement-needed 1 1 + + Verify the ReadRequestMessage on TH(all-clusters-minimal-app) log + + [1663141268.348233][2414:2414] CHIP:IM: Received Read request + [1663141268.348332][2414:2414] CHIP:DMG: ReadRequestMessage = + [1663141268.348388][2414:2414] CHIP:DMG: { + [1663141268.348418][2414:2414] CHIP:DMG: AttributePathIBs = + [1663141268.348465][2414:2414] CHIP:DMG: [ + [1663141268.348498][2414:2414] CHIP:DMG: AttributePathIB = + [1663141268.348545][2414:2414] CHIP:DMG: { + [1663141268.348584][2414:2414] CHIP:DMG: Endpoint = 0x1, + [1663141268.348637][2414:2414] CHIP:DMG: Cluster = 0x2f, + [1663141268.348685][2414:2414] CHIP:DMG: Attribute = 0x0000_000F, + [1663141268.348735][2414:2414] CHIP:DMG: } + [1663141268.348774][2414:2414] CHIP:DMG: + [1663141268.348820][2414:2414] CHIP:DMG: ], + [1663141268.348857][2414:2414] CHIP:DMG: + [1663141268.348904][2414:2414] CHIP:DMG: isFabricFiltered = true, + [1663141268.348938][2414:2414] CHIP:DMG: InteractionModelRevision = 1 + [1663141268.348982][2414:2414] CHIP:DMG: }, + [1663141268.349086][2414:2414] CHIP:DMG: IM RH moving to [GeneratingReports] + [1663141268.349214][2414:2414] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 + [1663141268.349251][2414:2414] CHIP:DMG: Cluster 2f, Attribute f is dirty + + + ./chip-tool powersource read bat-replaceability 1 1 + + Verify the ReadRequestMessage on TH(all-clusters-minimal-app) log + + + [1663141378.115928][2414:2414] CHIP:DMG: ReadRequestMessage = + [1663141378.115978][2414:2414] CHIP:DMG: { + [1663141378.116006][2414:2414] CHIP:DMG: AttributePathIBs = + [1663141378.116050][2414:2414] CHIP:DMG: [ + [1663141378.116080][2414:2414] CHIP:DMG: AttributePathIB = + [1663141378.116124][2414:2414] CHIP:DMG: { + [1663141378.116160][2414:2414] CHIP:DMG: Endpoint = 0x1, + [1663141378.116208][2414:2414] CHIP:DMG: Cluster = 0x2f, + [1663141378.116247][2414:2414] CHIP:DMG: Attribute = 0x0000_0010, + [1663141378.116294][2414:2414] CHIP:DMG: } + [1663141378.116330][2414:2414] CHIP:DMG: + [1663141378.116372][2414:2414] CHIP:DMG: ], + [1663141378.116407][2414:2414] CHIP:DMG: + [1663141378.116450][2414:2414] CHIP:DMG: isFabricFiltered = true, + [1663141378.116481][2414:2414] CHIP:DMG: InteractionModelRevision = 1 + [1663141378.116521][2414:2414] CHIP:DMG: }, + [1663141378.116621][2414:2414] CHIP:DMG: IM RH moving to [GeneratingReports] disabled: true - label: diff --git a/src/app/tests/suites/certification/Test_TC_RH_3_1.yaml b/src/app/tests/suites/certification/Test_TC_RH_3_1.yaml index 4f33bf4e31ab3f..1159f992a3fb7b 100644 --- a/src/app/tests/suites/certification/Test_TC_RH_3_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_RH_3_1.yaml @@ -160,6 +160,32 @@ tests: also reflects this in global attributes such as FeatureMap and AttributeList. Commission DUT to TH again" verification: | + ./chip-tool relativehumiditymeasurement read feature-map 1 1 + + verify the "feature-map response" on the TH (all-cluster-minimal-app) log: + + [1663157920.343837][6214:6214] CHIP:IM: Received Read request + [1663157920.343910][6214:6214] CHIP:DMG: ReadRequestMessage = + [1663157920.343933][6214:6214] CHIP:DMG: { + [1663157920.343952][6214:6214] CHIP:DMG: AttributePathIBs = + [1663157920.343974][6214:6214] CHIP:DMG: [ + [1663157920.343994][6214:6214] CHIP:DMG: AttributePathIB = + [1663157920.344021][6214:6214] CHIP:DMG: { + [1663157920.344048][6214:6214] CHIP:DMG: Endpoint = 0x1, + [1663157920.344076][6214:6214] CHIP:DMG: Cluster = 0x405, + [1663157920.344104][6214:6214] CHIP:DMG: Attribute = 0x0000_FFFC, + [1663157920.344128][6214:6214] CHIP:DMG: } + [1663157920.344154][6214:6214] CHIP:DMG: + [1663157920.344177][6214:6214] CHIP:DMG: ], + [1663157920.344202][6214:6214] CHIP:DMG: + [1663157920.344225][6214:6214] CHIP:DMG: isFabricFiltered = true, + [1663157920.344246][6214:6214] CHIP:DMG: InteractionModelRevision = 1 + [1663157920.344266][6214:6214] CHIP:DMG: }, + [1663157920.344332][6214:6214] CHIP:DMG: IM RH moving to [GeneratingReports] + [1663157920.344414][6214:6214] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 + [1663157920.344440][6214:6214] CHIP:DMG: Cluster 405, Attribute fffc is dirty + + ./chip-tool relativehumiditymeasurement read attribute-list 1 1