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 298ed854fb7598..ff5b5fa052e1ad 100644 --- a/src/app/tests/suites/certification/Test_TC_BR_4.yaml +++ b/src/app/tests/suites/certification/Test_TC_BR_4.yaml @@ -1724,19 +1724,19 @@ tests: [1659973152.263905][3652:3652] CHIP:IM: Received Read request [1659973152.264002][3652:3652] CHIP:DMG: ReadRequestMessage = [1659973152.264053][3652:3652] CHIP:DMG: { - [1659973152.264083][3652:3652] CHIP:DMG: AttributePathIBs = - [1659973152.264130][3652:3652] CHIP:DMG: [ - [1659973152.264163][3652:3652] CHIP:DMG: AttributePathIB = - [1659973152.264214][3652:3652] CHIP:DMG: { - [1659973152.264255][3652:3652] CHIP:DMG: Endpoint = 0x3, - [1659973152.264308][3652:3652] CHIP:DMG: Cluster = 0x6, - [1659973152.264350][3652:3652] CHIP:DMG: Attribute = 0x0000_0000, - [1659973152.264404][3652:3652] CHIP:DMG: } + [1659973152.264083][3652:3652] CHIP:DMG: AttributePathIBs = + [1659973152.264130][3652:3652] CHIP:DMG: [ + [1659973152.264163][3652:3652] CHIP:DMG: AttributePathIB = + [1659973152.264214][3652:3652] CHIP:DMG: { + [1659973152.264255][3652:3652] CHIP:DMG: Endpoint = 0x3, + [1659973152.264308][3652:3652] CHIP:DMG: Cluster = 0x6, + [1659973152.264350][3652:3652] CHIP:DMG: Attribute = 0x0000_0000, + [1659973152.264404][3652:3652] CHIP:DMG: } [1659973152.264457][3652:3652] CHIP:DMG: - [1659973152.264494][3652:3652] CHIP:DMG: ], + [1659973152.264494][3652:3652] CHIP:DMG: ], [1659973152.264541][3652:3652] CHIP:DMG: - [1659973152.264577][3652:3652] CHIP:DMG: isFabricFiltered = true, - [1659973152.264622][3652:3652] CHIP:DMG: InteractionModelRevision = 1 + [1659973152.264577][3652:3652] CHIP:DMG: isFabricFiltered = true, + [1659973152.264622][3652:3652] CHIP:DMG: InteractionModelRevision = 1 [1659973152.264654][3652:3652] CHIP:DMG: }, [1659973152.264756][3652:3652] CHIP:DMG: IM RH moving to [GeneratingReports] [1659973152.264871][3652:3652] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 @@ -1919,7 +1919,7 @@ tests: [1659973028.617533][3652:3652] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 [1659973028.617572][3652:3652] CHIP:DMG: Cluster 39, Attribute 5 is dirty - Verify on DUT(chip-tool) Log + Verify on TH(chip-tool) Log "b [1659089470.077297][12236:12241] CHIP:DL: Device[Light 1]: New Name=""Light 1b"" @@ -1953,7 +1953,7 @@ tests: - label: "Verify DUT contains the added device in the list of devices" PICS: MCORE.DEVLIST.UseDeviceNames verification: | - Verify on DUT(chip-tool) Log + Verify on TH(chip-tool) Log b @@ -2073,7 +2073,7 @@ tests: - label: "Verify DUT contains the added device in the list of devices" PICS: MCORE.DEVLIST.UseDevices verification: | - Verify on DUT(chip-tool) Log + Verify on TH(chip-tool) Log 2 [1659352274.915018][14237:14242] CHIP:DMG: Endpoint 1, Cluster 0x0000_001D update version to 7e918bae @@ -2141,7 +2141,7 @@ tests: devices" PICS: MCORE.DEVLIST.UseDevices verification: | - Verify on DUT(chip-tool) Log + Verify on TH(chip-tool) Log 4 [1659352426.184434][14237:14242] CHIP:DMG: Endpoint 1, Cluster 0x0000_001D update version to 7e918baf 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 4a1dfefa8cd73e..7f814d445035cb 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 @@ -90,7 +90,7 @@ tests: [1653478044.911109][30351:30356] CHIP:TOO: Networks: 1 entries [1653478044.911192][30351:30356] CHIP:TOO: [1]: { [1653478044.911238][30351:30356] CHIP:TOO: NetworkID: 47524C50726976617465 - [1653478044.911280][30351:30356] CHIP:TOO: Connected: FALSE + [1653478044.911280][30351:30356] CHIP:TOO: Connected: TRUE [1653478044.911322][30351:30356] CHIP:TOO: } [1653478044.911474][30351:30356] CHIP:EM: Sending Standalone Ack for MessageCounter:3575760 on exchange 51774i 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 486bdf4bc9a00f..543111e93f45ce 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 @@ -41,6 +41,23 @@ tests: "TH1 does a non-fabric filtered read of the NOCs attribute from the Node Operational Credentials cluster and saves the returned list as noc_th1" + verification: | + ./chip-tool operationalcredentials read nocs 1 0 + + Verify there is single entry and Fabric ID matches FabricID of TH1 on TH(chip-tool) log: + + [1658392350.745452][3254:3259] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0000 DataVersion: 1660110003 + [1658392350.748972][3254:3259] CHIP:TOO: NOCs: 1 entries + [1658392350.749041][3254:3259] CHIP:TOO: [1]: { + [1658392350.749086][3254:3259] CHIP:TOO: Noc: 1530010101240201370324130118260480228127260580254D3A37062415012411011824070124080130094104C983D16057AA6B80F551CE7686F96EA2D2C0787A2C22B1D746B13A85C67A2BEAAF9485C72F12F770D59FC0E1FF59D21EF988209249C07B229F84CFD4F51E9611370A3501280118240201360304020401183004142BC90AF48A63F83F7E8F2BAFB6703795028429BB3005149B9F5879F33019C19B6796BD02FD13D044E2AA2818300B4061D02714DC750BE3524C8DE04AFC971CC1B25AE98C366809D1257052B91DA6B252A3CF035DD55980B4E3C865FD933B2F19151379122A50599E8A869A0EC29AD318 + [1658392350.749133][3254:3259] CHIP:TOO: Icac: 1530010100240201370324140018260480228127260580254D3A37062413011824070124080130094104AD24B19A35BD1B1808EFF5F46C6D3AC98B57FF0F55BC5AF7BB6B09905A1B66AD1DFBC2511EBF4DC40033A4676EF056A498F599DA98507A14F82490D6EE0B22C5370A35012901182402603004149B9F5879F33019C19B6796BD02FD13D044E2AA283005141590E75A2828F170F5670E51629ACFF8E4D37B9218300B40FACB9C9CD92EB1C595C21C17371E15D1E2F7F58CF3E9A17636CDEDAF1EF18D6F88CB0C3D45682FDEBEA58F5926DCC72872DB545B77F4961292B849D05AA659AF18 + [1658392350.749168][3254:3259] CHIP:TOO: FabricIndex: 1 + [1658392350.749194][3254:3259] CHIP:TOO: } + disabled: true + + - label: + "TH1 does a non-fabric-filtered read of the Fabrics attribute from the + Node Operational Credentials cluster" verification: | ./chip-tool operationalcredentials read fabrics 1 0 @@ -58,23 +75,6 @@ tests: [1655471672.386750][13377:13382] CHIP:TOO: } disabled: true - - label: - "TH1 does a non-fabric-filtered read of the Fabrics attribute from the - Node Operational Credentials cluster" - verification: | - ./chip-tool operationalcredentials read nocs 1 0 - - Verify there is single entry and Fabric ID matches FabricID of TH1 on TH(chip-tool) log: - - [1658392350.745452][3254:3259] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0000 DataVersion: 1660110003 - [1658392350.748972][3254:3259] CHIP:TOO: NOCs: 1 entries - [1658392350.749041][3254:3259] CHIP:TOO: [1]: { - [1658392350.749086][3254:3259] CHIP:TOO: Noc: 1530010101240201370324130118260480228127260580254D3A37062415012411011824070124080130094104C983D16057AA6B80F551CE7686F96EA2D2C0787A2C22B1D746B13A85C67A2BEAAF9485C72F12F770D59FC0E1FF59D21EF988209249C07B229F84CFD4F51E9611370A3501280118240201360304020401183004142BC90AF48A63F83F7E8F2BAFB6703795028429BB3005149B9F5879F33019C19B6796BD02FD13D044E2AA2818300B4061D02714DC750BE3524C8DE04AFC971CC1B25AE98C366809D1257052B91DA6B252A3CF035DD55980B4E3C865FD933B2F19151379122A50599E8A869A0EC29AD318 - [1658392350.749133][3254:3259] CHIP:TOO: Icac: 1530010100240201370324140018260480228127260580254D3A37062413011824070124080130094104AD24B19A35BD1B1808EFF5F46C6D3AC98B57FF0F55BC5AF7BB6B09905A1B66AD1DFBC2511EBF4DC40033A4676EF056A498F599DA98507A14F82490D6EE0B22C5370A35012901182402603004149B9F5879F33019C19B6796BD02FD13D044E2AA283005141590E75A2828F170F5670E51629ACFF8E4D37B9218300B40FACB9C9CD92EB1C595C21C17371E15D1E2F7F58CF3E9A17636CDEDAF1EF18D6F88CB0C3D45682FDEBEA58F5926DCC72872DB545B77F4961292B849D05AA659AF18 - [1658392350.749168][3254:3259] CHIP:TOO: FabricIndex: 1 - [1658392350.749194][3254:3259] CHIP:TOO: } - disabled: true - - label: "Factory reset DUT Perform the device discovery flow checks as covered in TC-DD-2.2" diff --git a/src/app/tests/suites/certification/Test_TC_DGETH_3_1.yaml b/src/app/tests/suites/certification/Test_TC_DGETH_3_1.yaml index 736ff0899969c0..9d6ce69da622cc 100644 --- a/src/app/tests/suites/certification/Test_TC_DGETH_3_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_DGETH_3_1.yaml @@ -232,7 +232,7 @@ tests: verification: | ./chip-tool ethernetnetworkdiagnostics read overrun-count 1 0 - Verify on TH(all-clusters-app) Log + Verify the value of OverrunCount is in range uint64 on TH(all-clusters-app) Log [1659971467.437214][3458:3458] CHIP:IM: Received Read request [1659971467.437292][3458:3458] CHIP:DMG: ReadRequestMessage = diff --git a/src/app/tests/suites/certification/Test_TC_DGGEN_2_2.yaml b/src/app/tests/suites/certification/Test_TC_DGGEN_2_2.yaml index e9426841124b86..3d863c10062229 100644 --- a/src/app/tests/suites/certification/Test_TC_DGGEN_2_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_DGGEN_2_2.yaml @@ -30,8 +30,7 @@ tests: "NOTE: https://github.com/project-chip/connectedhomeip/tree/master/examples/all-clusters-app/linux#readme Events to be executed as following 1. Compile app using below command in connectedhomeip folder - a. ./scripts/run_in_build_env.sh ""./scripts/build/build_examples.py --target linux-arm64-all-clusters-no-ble-asan-clang build"" - b. ./scripts/run_in_build_env.sh ""./scripts/build/build_examples.py --target linux-arm64-all-clusters-no-ble-asan-libfuzzer-clang build"" + a. ./scripts/run_in_build_env.sh "./scripts/build/build_examples.py --target linux-arm64-all-clusters-no-ble-asan-clang build" 2. Build respective app (all-clusters-app) 3. Commission DUT to TH 4. Open 2nd terminal of DUT and provide the below command to obtain PID of DUT diff --git a/src/app/tests/suites/certification/Test_TC_DGGEN_3_1.yaml b/src/app/tests/suites/certification/Test_TC_DGGEN_3_1.yaml index d9bac3b570cf3a..1568bc776cdcc2 100644 --- a/src/app/tests/suites/certification/Test_TC_DGGEN_3_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_DGGEN_3_1.yaml @@ -26,7 +26,7 @@ config: tests: - label: "Note" verification: | - Chip-tool command used below are an example to verify the DUT as client test cases. For certification test, we expect DUT should have a capability or way to run the equivalent command. + For DUT as client test cases, Chip-tool command used below are an example to verify the functionality. For certification test, we expect DUT should have a capability or way to run the equivalent command. disabled: true - label: "Commission TH to DUT" @@ -44,189 +44,28 @@ tests: verify that list of supported NetworkInterfaces structures, Structure data includes Name, IsOperational, OffPremiseServicesReachableIPv4, OffPremiseServicesReachableIPv6, HardwareAddress, IPv4Addresses, IPv6Addresses and type on TH(all-clusters-app) - 1659772635.992784][17263:17263] CHIP:DMG: } - [1659772635.992786][17263:17263] CHIP:DMG: - [1659772635.992848][17263:17263] CHIP:DMG: ReportDataMessage = - [1659772635.992851][17263:17263] CHIP:DMG: { - [1659772635.992853][17263:17263] CHIP:DMG: AttributeReportIBs = - [1659772635.992858][17263:17263] CHIP:DMG: [ - [1659772635.992860][17263:17263] CHIP:DMG: AttributeReportIB = - [1659772635.992865][17263:17263] CHIP:DMG: { - [1659772635.992868][17263:17263] CHIP:DMG: AttributeDataIB = - [1659772635.992871][17263:17263] CHIP:DMG: { - [1659772635.992874][17263:17263] CHIP:DMG: DataVersion = 0x4dcd1218, - [1659772635.992877][17263:17263] CHIP:DMG: AttributePathIB = - [1659772635.992880][17263:17263] CHIP:DMG: { - [1659772635.992885][17263:17263] CHIP:DMG: Endpoint = 0x0, - [1659772635.992890][17263:17263] CHIP:DMG: Cluster = 0x33, - [1659772635.992894][17263:17263] CHIP:DMG: Attribute = 0x0000_0000, - [1659772635.992898][17263:17263] CHIP:DMG: } - [1659772635.992902][17263:17263] CHIP:DMG: - [1659772635.992906][17263:17263] CHIP:DMG: Data = [ - [1659772635.992910][17263:17263] CHIP:DMG: - [1659772635.992914][17263:17263] CHIP:DMG: ], - [1659772635.992918][17263:17263] CHIP:DMG: }, - [1659772635.992923][17263:17263] CHIP:DMG: - [1659772635.992926][17263:17263] CHIP:DMG: }, - [1659772635.992935][17263:17263] CHIP:DMG: - [1659772635.992939][17263:17263] CHIP:DMG: AttributeReportIB = - [1659772635.992946][17263:17263] CHIP:DMG: { - [1659772635.992949][17263:17263] CHIP:DMG: AttributeDataIB = - [1659772635.992953][17263:17263] CHIP:DMG: { - [1659772635.992957][17263:17263] CHIP:DMG: DataVersion = 0x4dcd1218, - [1659772635.992960][17263:17263] CHIP:DMG: AttributePathIB = - [1659772635.992964][17263:17263] CHIP:DMG: { - [1659772635.992968][17263:17263] CHIP:DMG: Endpoint = 0x0, - [1659772635.992973][17263:17263] CHIP:DMG: Cluster = 0x33, - [1659772635.992977][17263:17263] CHIP:DMG: Attribute = 0x0000_0000, - [1659772635.992981][17263:17263] CHIP:DMG: ListIndex = Null, - [1659772635.992986][17263:17263] CHIP:DMG: } - [1659772635.992990][17263:17263] CHIP:DMG: - [1659772635.992994][17263:17263] CHIP:DMG: Data = - [1659772635.992998][17263:17263] CHIP:DMG: { - [1659772635.993003][17263:17263] CHIP:DMG: 0x0 = "docker0" (7 chars), - [1659772635.993007][17263:17263] CHIP:DMG: 0x1 = false, - [1659772635.993012][17263:17263] CHIP:DMG: 0x2 = NULL - [1659772635.993016][17263:17263] CHIP:DMG: 0x3 = NULL - [1659772635.993021][17263:17263] CHIP:DMG: 0x4 = [ - [1659772635.993025][17263:17263] CHIP:DMG: 0x2, 0x42, 0x2d, 0x7f, 0xa5, 0x93, - [1659772635.993031][17263:17263] CHIP:DMG: ] (6 bytes) - [1659772635.993035][17263:17263] CHIP:DMG: 0x5 = [ - [1659772635.993041][17263:17263] CHIP:DMG: [ - [1659772635.993045][17263:17263] CHIP:DMG: 0xac, 0x11, 0x0, 0x1, - [1659772635.993051][17263:17263] CHIP:DMG: ] (4 bytes) - [1659772635.993057][17263:17263] CHIP:DMG: ], - [1659772635.993060][17263:17263] CHIP:DMG: 0x6 = [ - [1659772635.993064][17263:17263] CHIP:DMG: [ - [1659772635.993068][17263:17263] CHIP:DMG: - [1659772635.993074][17263:17263] CHIP:DMG: ] (0 bytes) - [1659772635.993080][17263:17263] CHIP:DMG: ], - [1659772635.993084][17263:17263] CHIP:DMG: 0x7 = 0, - [1659772635.993088][17263:17263] CHIP:DMG: }, - [1659772635.993091][17263:17263] CHIP:DMG: }, - [1659772635.993098][17263:17263] CHIP:DMG: - [1659772635.993101][17263:17263] CHIP:DMG: }, - [1659772635.993113][17263:17263] CHIP:DMG: - [1659772635.993116][17263:17263] CHIP:DMG: AttributeReportIB = - [1659772635.993125][17263:17263] CHIP:DMG: { - [1659772635.993128][17263:17263] CHIP:DMG: AttributeDataIB = - [1659772635.993131][17263:17263] CHIP:DMG: { - [1659772635.993135][17263:17263] CHIP:DMG: DataVersion = 0x4dcd1218, - [1659772635.993139][17263:17263] CHIP:DMG: AttributePathIB = - [1659772635.993143][17263:17263] CHIP:DMG: { - [1659772635.993146][17263:17263] CHIP:DMG: Endpoint = 0x0, - [1659772635.993150][17263:17263] CHIP:DMG: Cluster = 0x33, - [1659772635.993154][17263:17263] CHIP:DMG: Attribute = 0x0000_0000, - [1659772635.993159][17263:17263] CHIP:DMG: ListIndex = Null, - [1659772635.993163][17263:17263] CHIP:DMG: } - [1659772635.993167][17263:17263] CHIP:DMG: - [1659772635.993171][17263:17263] CHIP:DMG: Data = - [1659772635.993175][17263:17263] CHIP:DMG: { - [1659772635.993179][17263:17263] CHIP:DMG: 0x0 = "wlp0s20f3" (9 chars), - [1659772635.993183][17263:17263] CHIP:DMG: 0x1 = true, - [1659772635.993188][17263:17263] CHIP:DMG: 0x2 = NULL - [1659772635.993193][17263:17263] CHIP:DMG: 0x3 = NULL - [1659772635.993197][17263:17263] CHIP:DMG: 0x4 = [ - [1659772635.993202][17263:17263] CHIP:DMG: 0x8, 0x71, 0x90, 0x45, 0x8b, 0x2f, - [1659772635.993207][17263:17263] CHIP:DMG: ] (6 bytes) - [1659772635.993211][17263:17263] CHIP:DMG: 0x5 = [ - [1659772635.993216][17263:17263] CHIP:DMG: [ - [1659772635.993220][17263:17263] CHIP:DMG: 0xc0, 0xa8, 0x64, 0xa, - [1659772635.993226][17263:17263] CHIP:DMG: ] (4 bytes) - [1659772635.993231][17263:17263] CHIP:DMG: ], - [1659772635.993235][17263:17263] CHIP:DMG: 0x6 = [ - [1659772635.993239][17263:17263] CHIP:DMG: [ - [1659772635.993246][17263:17263] CHIP:DMG: 0xfe, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x4e, 0x4e, 0xd5, 0x79, 0x10, 0xe8, 0x45, 0xb5, - [1659772635.993252][17263:17263] CHIP:DMG: ] (16 bytes) - [1659772635.993257][17263:17263] CHIP:DMG: ], - [1659772635.993261][17263:17263] CHIP:DMG: 0x7 = 1, - [1659772635.993264][17263:17263] CHIP:DMG: }, - [1659772635.993268][17263:17263] CHIP:DMG: }, - [1659772635.993275][17263:17263] CHIP:DMG: - [1659772635.993278][17263:17263] CHIP:DMG: }, - [1659772635.993289][17263:17263] CHIP:DMG: - [1659772635.993292][17263:17263] CHIP:DMG: AttributeReportIB = - [1659772635.993299][17263:17263] CHIP:DMG: { - [1659772635.993302][17263:17263] CHIP:DMG: AttributeDataIB = - [1659772635.993306][17263:17263] CHIP:DMG: { - [1659772635.993310][17263:17263] CHIP:DMG: DataVersion = 0x4dcd1218, - [1659772635.993314][17263:17263] CHIP:DMG: AttributePathIB = - [1659772635.993317][17263:17263] CHIP:DMG: { - [1659772635.993321][17263:17263] CHIP:DMG: Endpoint = 0x0, - [1659772635.993326][17263:17263] CHIP:DMG: Cluster = 0x33, - [1659772635.993330][17263:17263] CHIP:DMG: Attribute = 0x0000_0000, - [1659772635.993335][17263:17263] CHIP:DMG: ListIndex = Null, - [1659772635.993338][17263:17263] CHIP:DMG: } - [1659772635.993343][17263:17263] CHIP:DMG: - [1659772635.993347][17263:17263] CHIP:DMG: Data = - [1659772635.993351][17263:17263] CHIP:DMG: { - [1659772635.993355][17263:17263] CHIP:DMG: 0x0 = "enp3s0" (6 chars), - [1659772635.993359][17263:17263] CHIP:DMG: 0x1 = true, - [1659772635.993363][17263:17263] CHIP:DMG: 0x2 = NULL - [1659772635.993367][17263:17263] CHIP:DMG: 0x3 = NULL - [1659772635.993372][17263:17263] CHIP:DMG: 0x4 = [ - [1659772635.993376][17263:17263] CHIP:DMG: 0xe4, 0x54, 0xe8, 0x15, 0x1d, 0xb3, - [1659772635.993382][17263:17263] CHIP:DMG: ] (6 bytes) - [1659772635.993385][17263:17263] CHIP:DMG: 0x5 = [ - [1659772635.993390][17263:17263] CHIP:DMG: [ - [1659772635.993394][17263:17263] CHIP:DMG: 0xc0, 0xa8, 0x64, 0xb, - [1659772635.993400][17263:17263] CHIP:DMG: ] (4 bytes) - [1659772635.993406][17263:17263] CHIP:DMG: ], - [1659772635.993410][17263:17263] CHIP:DMG: 0x6 = [ - [1659772635.993414][17263:17263] CHIP:DMG: [ - [1659772635.993420][17263:17263] CHIP:DMG: 0xfe, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xe6, 0x54, 0xe8, 0xff, 0xfe, 0x15, 0x1d, 0xb3, - [1659772635.993426][17263:17263] CHIP:DMG: ] (16 bytes) - [1659772635.993430][17263:17263] CHIP:DMG: ], - [1659772635.993434][17263:17263] CHIP:DMG: 0x7 = 2, - [1659772635.993438][17263:17263] CHIP:DMG: }, - [1659772635.993442][17263:17263] CHIP:DMG: }, - [1659772635.993450][17263:17263] CHIP:DMG: - [1659772635.993453][17263:17263] CHIP:DMG: }, - [1659772635.993463][17263:17263] CHIP:DMG: - [1659772635.993466][17263:17263] CHIP:DMG: AttributeReportIB = - [1659772635.993474][17263:17263] CHIP:DMG: { - [1659772635.993477][17263:17263] CHIP:DMG: AttributeDataIB = - [1659772635.993480][17263:17263] CHIP:DMG: { - [1659772635.993484][17263:17263] CHIP:DMG: DataVersion = 0x4dcd1218, - [1659772635.993488][17263:17263] CHIP:DMG: AttributePathIB = - [1659772635.993492][17263:17263] CHIP:DMG: { - [1659772635.993496][17263:17263] CHIP:DMG: Endpoint = 0x0, - [1659772635.993501][17263:17263] CHIP:DMG: Cluster = 0x33, - [1659772635.993505][17263:17263] CHIP:DMG: Attribute = 0x0000_0000, - [1659772635.993509][17263:17263] CHIP:DMG: ListIndex = Null, - [1659772635.993513][17263:17263] CHIP:DMG: } - [1659772635.993517][17263:17263] CHIP:DMG: - [1659772635.993521][17263:17263] CHIP:DMG: Data = - [1659772635.993525][17263:17263] CHIP:DMG: { - [1659772635.993529][17263:17263] CHIP:DMG: 0x0 = "lo" (2 chars), - [1659772635.993534][17263:17263] CHIP:DMG: 0x1 = true, - [1659772635.993538][17263:17263] CHIP:DMG: 0x2 = NULL - [1659772635.993542][17263:17263] CHIP:DMG: 0x3 = NULL - [1659772635.993545][17263:17263] CHIP:DMG: 0x4 = [ - [1659772635.993550][17263:17263] CHIP:DMG: 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, - [1659772635.993556][17263:17263] CHIP:DMG: ] (6 bytes) - [1659772635.993559][17263:17263] CHIP:DMG: 0x5 = [ - [1659772635.993565][17263:17263] CHIP:DMG: [ - [1659772635.993570][17263:17263] CHIP:DMG: 0x7f, 0x0, 0x0, 0x1, - [1659772635.993575][17263:17263] CHIP:DMG: ] (4 bytes) - [1659772635.993579][17263:17263] CHIP:DMG: ], - [1659772635.993583][17263:17263] CHIP:DMG: 0x6 = [ - [1659772635.993587][17263:17263] CHIP:DMG: [ - [1659772635.993594][17263:17263] CHIP:DMG: 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1, - [1659772635.993600][17263:17263] CHIP:DMG: ] (16 bytes) - [1659772635.993605][17263:17263] CHIP:DMG: ], - [1659772635.993609][17263:17263] CHIP:DMG: 0x7 = 0, - [1659772635.993613][17263:17263] CHIP:DMG: }, - [1659772635.993617][17263:17263] CHIP:DMG: }, - [1659772635.993623][17263:17263] CHIP:DMG: - [1659772635.993627][17263:17263] CHIP:DMG: }, - [1659772635.993634][17263:17263] CHIP:DMG: - [1659772635.993637][17263:17263] CHIP:DMG: ], - [1659772635.993656][17263:17263] CHIP:DMG: - [1659772635.993659][17263:17263] CHIP:DMG: SuppressResponse = true, - [1659772635.993662][17263:17263] CHIP:DMG: InteractionModelRevision = 1 - [1659772635.993665][17263:17263] CHIP:DMG: } - [1659772635.993669][17263:17263] CHIP:DMG: + ReadRequestMessage = + [1661421334.265953][2362:2362] CHIP:DMG: { + [1661421334.266009][2362:2362] CHIP:DMG: AttributePathIBs = + [1661421334.266074][2362:2362] CHIP:DMG: [ + [1661421334.266135][2362:2362] CHIP:DMG: AttributePathIB = + [1661421334.266206][2362:2362] CHIP:DMG: { + [1661421334.266288][2362:2362] CHIP:DMG: Endpoint = 0x0, + [1661421334.266370][2362:2362] CHIP:DMG: Cluster = 0x33, + [1661421334.266450][2362:2362] CHIP:DMG: Attribute = 0x0000_0000, + [1661421334.266528][2362:2362] CHIP:DMG: } + [1661421334.266605][2362:2362] CHIP:DMG: + [1661421334.266675][2362:2362] CHIP:DMG: ], + [1661421334.266748][2362:2362] CHIP:DMG: + [1661421334.266814][2362:2362] CHIP:DMG: isFabricFiltered = true, + [1661421334.266884][2362:2362] CHIP:DMG: InteractionModelRevision = 1 + [1661421334.266944][2362:2362] CHIP:DMG: }, + [1661421334.267126][2362:2362] CHIP:DMG: IM RH moving to [GeneratingReports] + [1661421334.267365][2362:2362] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 + [1661421334.267437][2362:2362] CHIP:DMG: Cluster 33, Attribute 0 is dirty + [1661421334.267491][2362:2362] CHIP:DMG: Reading attribute: Cluster=0x0000_0033 Endpoint=0 AttributeId=0x0000_0000 (expanded=0) + [1661421334.267558][2362:2362] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0033 e=0 p=v + [1661421334.267638][2362:2362] CHIP:DMG: AccessControl: allowed disabled: true - label: @@ -237,40 +76,31 @@ 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) ./chip-tool generaldiagnostics read reboot-count 1 0 - Verify in DUT as client side: verify that RebootCount attribute data type must be UINT16 and the count should match with the number of rebooted times. - - [1659772809.009830][17263:17263] CHIP:DMG: buffer_ptr = 94267919976192 - [1659772809.009842][17263:17263] CHIP:DMG: } - [1659772809.009854][17263:17263] CHIP:DMG: - [1659772809.009924][17263:17263] CHIP:DMG: ReportDataMessage = - [1659772809.009939][17263:17263] CHIP:DMG: { - [1659772809.009951][17263:17263] CHIP:DMG: AttributeReportIBs = - [1659772809.009973][17263:17263] CHIP:DMG: [ - [1659772809.009987][17263:17263] CHIP:DMG: AttributeReportIB = - [1659772809.010008][17263:17263] CHIP:DMG: { - [1659772809.010022][17263:17263] CHIP:DMG: AttributeDataIB = - [1659772809.010036][17263:17263] CHIP:DMG: { - [1659772809.010052][17263:17263] CHIP:DMG: DataVersion = 0x4dcd1218, - [1659772809.010068][17263:17263] CHIP:DMG: AttributePathIB = - [1659772809.010084][17263:17263] CHIP:DMG: { - [1659772809.010107][17263:17263] CHIP:DMG: Endpoint = 0x0, - [1659772809.010124][17263:17263] CHIP:DMG: Cluster = 0x33, - [1659772809.010141][17263:17263] CHIP:DMG: Attribute = 0x0000_0001, - [1659772809.010156][17263:17263] CHIP:DMG: } - [1659772809.010173][17263:17263] CHIP:DMG: - [1659772809.010190][17263:17263] CHIP:DMG: Data = 2, - [1659772809.010205][17263:17263] CHIP:DMG: }, - [1659772809.010223][17263:17263] CHIP:DMG: - [1659772809.010236][17263:17263] CHIP:DMG: }, - [1659772809.010256][17263:17263] CHIP:DMG: - [1659772809.010269][17263:17263] CHIP:DMG: ], - [1659772809.010289][17263:17263] CHIP:DMG: - [1659772809.010303][17263:17263] CHIP:DMG: SuppressResponse = true, - [1659772809.010315][17263:17263] CHIP:DMG: InteractionModelRevision = 1 - [1659772809.010327][17263:17263] CHIP:DMG: } - [1659772809.010340][17263:17263] CHIP:DMG: - [1659772809.010472][17263:17263] CHIP:DMG: OnReportConfirm: NumReports = 0 - [1659772809.010651][17263:17263] CHIP:DMG: ReportsIn + verify that RebootCount attribute data type must be UINT16 and the count should match with the number of rebooted times on TH(all-clusters-app). + + Received Read request + [1661421488.051680][2362:2362] CHIP:DMG: ReadRequestMessage = + [1661421488.051755][2362:2362] CHIP:DMG: { + [1661421488.051811][2362:2362] CHIP:DMG: AttributePathIBs = + [1661421488.051876][2362:2362] CHIP:DMG: [ + [1661421488.051937][2362:2362] CHIP:DMG: AttributePathIB = + [1661421488.052025][2362:2362] CHIP:DMG: { + [1661421488.052098][2362:2362] CHIP:DMG: Endpoint = 0x0, + [1661421488.052185][2362:2362] CHIP:DMG: Cluster = 0x33, + [1661421488.052266][2362:2362] CHIP:DMG: Attribute = 0x0000_0001, + [1661421488.052355][2362:2362] CHIP:DMG: } + [1661421488.052430][2362:2362] CHIP:DMG: + [1661421488.052496][2362:2362] CHIP:DMG: ], + [1661421488.052570][2362:2362] CHIP:DMG: + [1661421488.052637][2362:2362] CHIP:DMG: isFabricFiltered = true, + [1661421488.052701][2362:2362] CHIP:DMG: InteractionModelRevision = 1 + [1661421488.052763][2362:2362] CHIP:DMG: }, + [1661421488.052936][2362:2362] CHIP:DMG: IM RH moving to [GeneratingReports] + [1661421488.053176][2362:2362] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 + [1661421488.053301][2362:2362] CHIP:DMG: Cluster 33, Attribute 1 is dirty + [1661421488.053361][2362:2362] CHIP:DMG: Reading attribute: Cluster=0x0000_0033 Endpoint=0 AttributeId=0x0000_0001 (expanded=0) + [1661421488.053431][2362:2362] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0033 e=0 p=v + [1661421488.053510][2362:2362] CHIP:DMG: AccessControl: allowed disabled: true - label: @@ -282,37 +112,30 @@ tests: ./chip-tool generaldiagnostics read up-time 1 0 - Verify in DUT as client side: Verify that UpTime attribute data type must be UINT64 and the time duratoin should be represented in seconds since DUT (node) has been rebooted. - - 659772924.705797][17263:17263] CHIP:DMG: } - [1659772924.705813][17263:17263] CHIP:DMG: - [1659772924.705907][17263:17263] CHIP:DMG: ReportDataMessage = - [1659772924.705928][17263:17263] CHIP:DMG: { - [1659772924.705943][17263:17263] CHIP:DMG: AttributeReportIBs = - [1659772924.705973][17263:17263] CHIP:DMG: [ - [1659772924.705990][17263:17263] CHIP:DMG: AttributeReportIB = - [1659772924.706019][17263:17263] CHIP:DMG: { - [1659772924.706037][17263:17263] CHIP:DMG: AttributeDataIB = - [1659772924.706060][17263:17263] CHIP:DMG: { - [1659772924.706084][17263:17263] CHIP:DMG: DataVersion = 0x4dcd1218, - [1659772924.706105][17263:17263] CHIP:DMG: AttributePathIB = - [1659772924.706128][17263:17263] CHIP:DMG: { - [1659772924.706152][17263:17263] CHIP:DMG: Endpoint = 0x0, - [1659772924.706173][17263:17263] CHIP:DMG: Cluster = 0x33, - [1659772924.706195][17263:17263] CHIP:DMG: Attribute = 0x0000_0002, - [1659772924.706221][17263:17263] CHIP:DMG: } - [1659772924.706248][17263:17263] CHIP:DMG: - [1659772924.706273][17263:17263] CHIP:DMG: Data = 804, - [1659772924.706293][17263:17263] CHIP:DMG: }, - [1659772924.706318][17263:17263] CHIP:DMG: - [1659772924.706335][17263:17263] CHIP:DMG: }, - [1659772924.706361][17263:17263] CHIP:DMG: - [1659772924.706375][17263:17263] CHIP:DMG: ], - [1659772924.706401][17263:17263] CHIP:DMG: - [1659772924.706422][17263:17263] CHIP:DMG: SuppressResponse = true, - [1659772924.706441][17263:17263] CHIP:DMG: InteractionModelRevision = 1 - [1659772924.706461][17263:17263] CHIP:DMG: } - [1659772924.706480][17263:17263] CHIP:DMG: + Verify that UpTime attribute data type must be UINT64 and the time duratoin should be represented in seconds since DUT (node) has been rebooted on TH(all-clusters-app). + + ReadRequestMessage = + [1661421563.809563][2362:2362] CHIP:DMG: { + [1661421563.809617][2362:2362] CHIP:DMG: AttributePathIBs = + [1661421563.809681][2362:2362] CHIP:DMG: [ + [1661421563.809741][2362:2362] CHIP:DMG: AttributePathIB = + [1661421563.809812][2362:2362] CHIP:DMG: { + [1661421563.809885][2362:2362] CHIP:DMG: Endpoint = 0x0, + [1661421563.809983][2362:2362] CHIP:DMG: Cluster = 0x33, + [1661421563.810076][2362:2362] CHIP:DMG: Attribute = 0x0000_0002, + [1661421563.810155][2362:2362] CHIP:DMG: } + [1661421563.810228][2362:2362] CHIP:DMG: + [1661421563.810293][2362:2362] CHIP:DMG: ], + [1661421563.810366][2362:2362] CHIP:DMG: + [1661421563.810433][2362:2362] CHIP:DMG: isFabricFiltered = true, + [1661421563.810497][2362:2362] CHIP:DMG: InteractionModelRevision = 1 + [1661421563.810557][2362:2362] CHIP:DMG: }, + [1661421563.810736][2362:2362] CHIP:DMG: IM RH moving to [GeneratingReports] + [1661421563.810990][2362:2362] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 + [1661421563.811066][2362:2362] CHIP:DMG: Cluster 33, Attribute 2 is dirty + [1661421563.811120][2362:2362] CHIP:DMG: Reading attribute: Cluster=0x0000_0033 Endpoint=0 AttributeId=0x0000_0002 (expanded=0) + [1661421563.811190][2362:2362] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0033 e=0 p=v + [1661421563.811271][2362:2362] CHIP:DMG: AccessControl: allowed disabled: true - label: "DUT reads a TotalOperationalHours attribute value from TH." @@ -321,31 +144,30 @@ 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) ./chip-tool generaldiagnostics read total-operational-hours 1 0 - Verify in DUT as client side: verify that TotalOperationalHours attribute data type must be UINT32 and the value indicates the number of hours the node has been operational since DUT (node) has been rebooted. - - [1659971129.330245][3458:3458] CHIP:IM: Received Read request - [1659971129.330322][3458:3458] CHIP:DMG: ReadRequestMessage = - [1659971129.330349][3458:3458] CHIP:DMG: { - [1659971129.330370][3458:3458] CHIP:DMG: AttributePathIBs = - [1659971129.330397][3458:3458] CHIP:DMG: [ - [1659971129.330420][3458:3458] CHIP:DMG: AttributePathIB = - [1659971129.330454][3458:3458] CHIP:DMG: { - [1659971129.330483][3458:3458] CHIP:DMG: Endpoint = 0x0, - [1659971129.330513][3458:3458] CHIP:DMG: Cluster = 0x33, - [1659971129.330545][3458:3458] CHIP:DMG: Attribute = 0x0000_0003, - [1659971129.330574][3458:3458] CHIP:DMG: } - [1659971129.330602][3458:3458] CHIP:DMG: - [1659971129.330626][3458:3458] CHIP:DMG: ], - [1659971129.330654][3458:3458] CHIP:DMG: - [1659971129.330680][3458:3458] CHIP:DMG: isFabricFiltered = true, - [1659971129.330705][3458:3458] CHIP:DMG: InteractionModelRevision = 1 - [1659971129.330727][3458:3458] CHIP:DMG: }, - [1659971129.330800][3458:3458] CHIP:DMG: IM RH moving to [GeneratingReports] - [1659971129.330881][3458:3458] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 - [1659971129.330910][3458:3458] CHIP:DMG: Cluster 33, Attribute 3 is dirty - [1659971129.330931][3458:3458] CHIP:DMG: Reading attribute: Cluster=0x0000_0033 Endpoint=0 AttributeId=0x0000_0003 (expanded=0) - [1659971129.330958][3458:3458] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0033 e=0 p=v - [1659971129.330990][3458:3458] CHIP:DMG: AccessControl: allowed + verify that TotalOperationalHours attribute data type must be UINT32 and the value indicates the number of hours the node has been operational since DUT (node) has been rebooted on TH(all-clusters-app). + + ReadRequestMessage = + [1661421632.317370][2362:2362] CHIP:DMG: { + [1661421632.317431][2362:2362] CHIP:DMG: AttributePathIBs = + [1661421632.317490][2362:2362] CHIP:DMG: [ + [1661421632.317551][2362:2362] CHIP:DMG: AttributePathIB = + [1661421632.317652][2362:2362] CHIP:DMG: { + [1661421632.317733][2362:2362] CHIP:DMG: Endpoint = 0x0, + [1661421632.317830][2362:2362] CHIP:DMG: Cluster = 0x33, + [1661421632.317923][2362:2362] CHIP:DMG: Attribute = 0x0000_0003, + [1661421632.318008][2362:2362] CHIP:DMG: } + [1661421632.318090][2362:2362] CHIP:DMG: + [1661421632.318163][2362:2362] CHIP:DMG: ], + [1661421632.318235][2362:2362] CHIP:DMG: + [1661421632.318304][2362:2362] CHIP:DMG: isFabricFiltered = true, + [1661421632.318368][2362:2362] CHIP:DMG: InteractionModelRevision = 1 + [1661421632.318428][2362:2362] CHIP:DMG: }, + [1661421632.318615][2362:2362] CHIP:DMG: IM RH moving to [GeneratingReports] + [1661421632.318881][2362:2362] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 + [1661421632.318960][2362:2362] CHIP:DMG: Cluster 33, Attribute 3 is dirty + [1661421632.319014][2362:2362] CHIP:DMG: Reading attribute: Cluster=0x0000_0033 Endpoint=0 AttributeId=0x0000_0003 (expanded=0) + [1661421632.319081][2362:2362] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0033 e=0 p=v + [1661421632.319159][2362:2362] CHIP:DMG: AccessControl: allowed disabled: true - label: @@ -356,82 +178,31 @@ tests: ./chip-tool generaldiagnostics read boot-reasons 1 0 - Verify in DUT as client side: verify that bootreason attribute data type must match the value listed in Table 105 BootReason ENUM table in spec - [1659971157.321998][3458:3458] CHIP:IM: Received Read request - [1659971157.322081][3458:3458] CHIP:DMG: ReadRequestMessage = - [1659971157.322109][3458:3458] CHIP:DMG: { - [1659971157.322133][3458:3458] CHIP:DMG: AttributePathIBs = - [1659971157.322160][3458:3458] CHIP:DMG: [ - [1659971157.322185][3458:3458] CHIP:DMG: AttributePathIB = - [1659971157.322217][3458:3458] CHIP:DMG: { - [1659971157.322247][3458:3458] CHIP:DMG: Endpoint = 0x0, - [1659971157.322280][3458:3458] CHIP:DMG: Cluster = 0x33, - [1659971157.322313][3458:3458] CHIP:DMG: Attribute = 0x0000_0004, - [1659971157.322344][3458:3458] CHIP:DMG: } - [1659971157.322374][3458:3458] CHIP:DMG: - [1659971157.322400][3458:3458] CHIP:DMG: ], - [1659971157.322429][3458:3458] CHIP:DMG: - [1659971157.322456][3458:3458] CHIP:DMG: isFabricFiltered = true, - [1659971157.322483][3458:3458] CHIP:DMG: InteractionModelRevision = 1 - [1659971157.322507][3458:3458] CHIP:DMG: }, - [1659971157.322585][3458:3458] CHIP:DMG: IM RH moving to [GeneratingReports] - [1659971157.322672][3458:3458] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 - [1659971157.322703][3458:3458] CHIP:DMG: Cluster 33, Attribute 4 is dirty - [1659971157.322725][3458:3458] CHIP:DMG: Reading attribute: Cluster=0x0000_0033 Endpoint=0 AttributeId=0x0000_0004 (expanded=0) - [1659971157.322753][3458:3458] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0033 e=0 p=v - [1659971157.322788][3458:3458] CHIP:DMG: AccessControl: allowed - [1659971157.321998][3458:3458] CHIP:IM: Received Read request - [1659971157.322081][3458:3458] CHIP:DMG: ReadRequestMessage = - [1659971157.322109][3458:3458] CHIP:DMG: { - [1659971157.322133][3458:3458] CHIP:DMG: AttributePathIBs = - [1659971157.322160][3458:3458] CHIP:DMG: [ - [1659971157.322185][3458:3458] CHIP:DMG: AttributePathIB = - [1659971157.322217][3458:3458] CHIP:DMG: { - [1659971157.322247][3458:3458] CHIP:DMG: Endpoint = 0x0, - [1659971157.322280][3458:3458] CHIP:DMG: Cluster = 0x33, - [1659971157.322313][3458:3458] CHIP:DMG: Attribute = 0x0000_0004, - [1659971157.322344][3458:3458] CHIP:DMG: } - [1659971157.322374][3458:3458] CHIP:DMG: - [1659971157.322400][3458:3458] CHIP:DMG: ], - [1659971157.322429][3458:3458] CHIP:DMG: - [1659971157.322456][3458:3458] CHIP:DMG: isFabricFiltered = true, - [1659971157.322483][3458:3458] CHIP:DMG: InteractionModelRevision = 1 - [1659971157.322507][3458:3458] CHIP:DMG: }, - [1659971157.322585][3458:3458] CHIP:DMG: IM RH moving to [GeneratingReports] - [1659971157.322672][3458:3458] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 - [1659971157.322703][3458:3458] CHIP:DMG: Cluster 33, Attribute 4 is dirty - [1659971157.322725][3458:3458] CHIP:DMG: Reading attribute: Cluster=0x0000_0033 Endpoint=0 AttributeId=0x0000_0004 (expanded=0) - [1659971157.322753][3458:3458] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0033 e=0 p=v - [1659971157.322788][3458:3458] CHIP:DMG: AccessControl: allowed - - - 1659773092.660797][17263:17263] CHIP:DMG: ReportDataMessage = - [1659773092.660823][17263:17263] CHIP:DMG: { - [1659773092.660855][17263:17263] CHIP:DMG: AttributeReportIBs = - [1659773092.660879][17263:17263] CHIP:DMG: [ - [1659773092.660893][17263:17263] CHIP:DMG: AttributeReportIB = - [1659773092.660917][17263:17263] CHIP:DMG: { - [1659773092.660931][17263:17263] CHIP:DMG: AttributeDataIB = - [1659773092.660948][17263:17263] CHIP:DMG: { - [1659773092.660964][17263:17263] CHIP:DMG: DataVersion = 0x4dcd1218, - [1659773092.660983][17263:17263] CHIP:DMG: AttributePathIB = - [1659773092.660999][17263:17263] CHIP:DMG: { - [1659773092.661017][17263:17263] CHIP:DMG: Endpoint = 0x0, - [1659773092.661053][17263:17263] CHIP:DMG: Cluster = 0x33, - [1659773092.661082][17263:17263] CHIP:DMG: Attribute = 0x0000_0004, - [1659773092.661104][17263:17263] CHIP:DMG: } - [1659773092.661130][17263:17263] CHIP:DMG: - [1659773092.661152][17263:17263] CHIP:DMG: Data = 0, - [1659773092.661168][17263:17263] CHIP:DMG: }, - [1659773092.661212][17263:17263] CHIP:DMG: - [1659773092.661230][17263:17263] CHIP:DMG: }, - [1659773092.661251][17263:17263] CHIP:DMG: - [1659773092.661263][17263:17263] CHIP:DMG: ], - [1659773092.661284][17263:17263] CHIP:DMG: - [1659773092.661297][17263:17263] CHIP:DMG: SuppressResponse = true, - [1659773092.661311][17263:17263] CHIP:DMG: InteractionModelRevision = 1 - [1659773092.661323][17263:17263] CHIP:DMG: } - [1659773092.661337][17263:17263] CHIP:DMG: + verify that bootreason attribute data type must match the value listed in Table 105 BootReason ENUM table in spec on TH(all-clusters-app). + + + ReadRequestMessage = + [1661421678.360282][2362:2362] CHIP:DMG: { + [1661421678.360336][2362:2362] CHIP:DMG: AttributePathIBs = + [1661421678.360400][2362:2362] CHIP:DMG: [ + [1661421678.360461][2362:2362] CHIP:DMG: AttributePathIB = + [1661421678.360531][2362:2362] CHIP:DMG: { + [1661421678.360605][2362:2362] CHIP:DMG: Endpoint = 0x0, + [1661421678.360688][2362:2362] CHIP:DMG: Cluster = 0x33, + [1661421678.360767][2362:2362] CHIP:DMG: Attribute = 0x0000_0004, + [1661421678.360843][2362:2362] CHIP:DMG: } + [1661421678.360914][2362:2362] CHIP:DMG: + [1661421678.360978][2362:2362] CHIP:DMG: ], + [1661421678.361048][2362:2362] CHIP:DMG: + [1661421678.361114][2362:2362] CHIP:DMG: isFabricFiltered = true, + [1661421678.361178][2362:2362] CHIP:DMG: InteractionModelRevision = 1 + [1661421678.361322][2362:2362] CHIP:DMG: }, + [1661421678.361498][2362:2362] CHIP:DMG: IM RH moving to [GeneratingReports] + [1661421678.361719][2362:2362] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 + [1661421678.361792][2362:2362] CHIP:DMG: Cluster 33, Attribute 4 is dirty + [1661421678.361847][2362:2362] CHIP:DMG: Reading attribute: Cluster=0x0000_0033 Endpoint=0 AttributeId=0x0000_0004 (expanded=0) + [1661421678.361912][2362:2362] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0033 e=0 p=v + [1661421678.361988][2362:2362] CHIP:DMG: AccessControl: allowed disabled: true - label: @@ -442,8 +213,7 @@ 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) ./chip-tool generaldiagnostics read active-hardware-faults 1 0 - - Verify in DUT as client side: verify that ActiveHardwareFaults attribute the attribute response should be empty. But when a hardware fault occurs, the return attribute value must match the value listed in the HardwareFault ENUM table 11.11.6.1 + verify that ActiveHardwareFaults attribute the attribute response should be empty. But when a hardware fault occurs, the return attribute value must match the value listed in the HardwareFault ENUM table 11.11.6.1 on TH(all-clusters-app). [1659773303.234177][17263:17263] CHIP:DMG: [1659773303.234225][17263:17263] CHIP:DMG: ReportDataMessage = @@ -485,24 +255,24 @@ 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) ./chip-tool generaldiagnostics read active-radio-faults 1 0 - Verify in DUT as client side:verify that the attribute response should be empty. But when a radio fault occurs, the return attribute value must match the value listed in the RadioFault ENUM table. 11.11.6.2 + verify that the attribute response should be empty. But when a radio fault occurs, the return attribute value must match the value listed in the RadioFault ENUM table. 11.11.6.2 on TH(all-clusters-app). [1659971190.358722][3458:3458] CHIP:IM: Received Read request [1659971190.358800][3458:3458] CHIP:DMG: ReadRequestMessage = [1659971190.358827][3458:3458] CHIP:DMG: { - [1659971190.358848][3458:3458] CHIP:DMG: AttributePathIBs = - [1659971190.358874][3458:3458] CHIP:DMG: [ - [1659971190.358897][3458:3458] CHIP:DMG: AttributePathIB = - [1659971190.358924][3458:3458] CHIP:DMG: { - [1659971190.358952][3458:3458] CHIP:DMG: Endpoint = 0x0, - [1659971190.358988][3458:3458] CHIP:DMG: Cluster = 0x33, - [1659971190.359019][3458:3458] CHIP:DMG: Attribute = 0x0000_0006, - [1659971190.359049][3458:3458] CHIP:DMG: } + [1659971190.358848][3458:3458] CHIP:DMG: AttributePathIBs = + [1659971190.358874][3458:3458] CHIP:DMG: [ + [1659971190.358897][3458:3458] CHIP:DMG: AttributePathIB = + [1659971190.358924][3458:3458] CHIP:DMG: { + [1659971190.358952][3458:3458] CHIP:DMG: Endpoint = 0x0, + [1659971190.358988][3458:3458] CHIP:DMG: Cluster = 0x33, + [1659971190.359019][3458:3458] CHIP:DMG: Attribute = 0x0000_0006, + [1659971190.359049][3458:3458] CHIP:DMG: } [1659971190.359077][3458:3458] CHIP:DMG: - [1659971190.359101][3458:3458] CHIP:DMG: ], + [1659971190.359101][3458:3458] CHIP:DMG: ], [1659971190.359129][3458:3458] CHIP:DMG: - [1659971190.359154][3458:3458] CHIP:DMG: isFabricFiltered = true, - [1659971190.359178][3458:3458] CHIP:DMG: InteractionModelRevision = 1 + [1659971190.359154][3458:3458] CHIP:DMG: isFabricFiltered = true, + [1659971190.359178][3458:3458] CHIP:DMG: InteractionModelRevision = 1 [1659971190.359201][3458:3458] CHIP:DMG: }, [1659971190.359274][3458:3458] CHIP:DMG: IM RH moving to [GeneratingReports] [1659971190.359356][3458:3458] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 @@ -520,38 +290,30 @@ 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) ./chip-tool generaldiagnostics read active-network-faults 1 0 - Verify in DUT as client side: verify that ActiveNetworkFaults attribute value attribute response should be empty. But when a network fault occurs, the return attribute value must match the value listed in the NetworkFault ENUM ta - - [1659773398.933596][17263:17263] CHIP:DMG: } - [1659773398.933607][17263:17263] CHIP:DMG: - [1659773398.933677][17263:17263] CHIP:DMG: ReportDataMessage = - [1659773398.933692][17263:17263] CHIP:DMG: { - [1659773398.933703][17263:17263] CHIP:DMG: AttributeReportIBs = - [1659773398.933725][17263:17263] CHIP:DMG: [ - [1659773398.933738][17263:17263] CHIP:DMG: AttributeReportIB = - [1659773398.933759][17263:17263] CHIP:DMG: { - [1659773398.933773][17263:17263] CHIP:DMG: AttributeDataIB = - [1659773398.933787][17263:17263] CHIP:DMG: { - [1659773398.933803][17263:17263] CHIP:DMG: DataVersion = 0x4dcd1218, - [1659773398.933818][17263:17263] CHIP:DMG: AttributePathIB = - [1659773398.933834][17263:17263] CHIP:DMG: { - [1659773398.933850][17263:17263] CHIP:DMG: Endpoint = 0x0, - [1659773398.933867][17263:17263] CHIP:DMG: Cluster = 0x33, - [1659773398.933883][17263:17263] CHIP:DMG: Attribute = 0x0000_0006, - [1659773398.933898][17263:17263] CHIP:DMG: } - [1659773398.933916][17263:17263] CHIP:DMG: - [1659773398.933931][17263:17263] CHIP:DMG: Data = [ - [1659773398.933947][17263:17263] CHIP:DMG: - [1659773398.933963][17263:17263] CHIP:DMG: ], - [1659773398.933977][17263:17263] CHIP:DMG: }, - [1659773398.933996][17263:17263] CHIP:DMG: - [1659773398.934009][17263:17263] CHIP:DMG: }, - [1659773398.934029][17263:17263] CHIP:DMG: - [1659773398.934042][17263:17263] CHIP:DMG: ], - [1659773398.934062][17263:17263] CHIP:DMG: - [1659773398.934076][17263:17263] CHIP:DMG: SuppressResponse = true, - [1659773398.934090][17263:17263] CHIP:DMG: InteractionModelRevision = 1 - [1659773398.934102][17263:17263] CHIP:DMG: } + verify that ActiveNetworkFaults attribute value attribute response should be empty. But when a network fault occurs, the return attribute value must match the value listed in the NetworkFault ENUM on TH(all-clusters-app) + + ReadRequestMessage = + [1661422339.662496][2220:2220] CHIP:DMG: { + [1661422339.662554][2220:2220] CHIP:DMG: AttributePathIBs = + [1661422339.662619][2220:2220] CHIP:DMG: [ + [1661422339.662681][2220:2220] CHIP:DMG: AttributePathIB = + [1661422339.662752][2220:2220] CHIP:DMG: { + [1661422339.662825][2220:2220] CHIP:DMG: Endpoint = 0x0, + [1661422339.662926][2220:2220] CHIP:DMG: Cluster = 0x33, + [1661422339.663022][2220:2220] CHIP:DMG: Attribute = 0x0000_0007, + [1661422339.663110][2220:2220] CHIP:DMG: } + [1661422339.663184][2220:2220] CHIP:DMG: + [1661422339.663249][2220:2220] CHIP:DMG: ], + [1661422339.663321][2220:2220] CHIP:DMG: + [1661422339.663389][2220:2220] CHIP:DMG: isFabricFiltered = true, + [1661422339.663454][2220:2220] CHIP:DMG: InteractionModelRevision = 1 + [1661422339.663514][2220:2220] CHIP:DMG: }, + [1661422339.663697][2220:2220] CHIP:DMG: IM RH moving to [GeneratingReports] + [1661422339.663957][2220:2220] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 + [1661422339.664032][2220:2220] CHIP:DMG: Cluster 33, Attribute 7 is dirty + [1661422339.664088][2220:2220] CHIP:DMG: Reading attribute: Cluster=0x0000_0033 Endpoint=0 AttributeId=0x0000_0007 (expanded=0) + [1661422339.664157][2220:2220] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0033 e=0 p=v + [1661422339.664234][2220:2220] CHIP:DMG: AccessControl: allowed disabled: true - label: @@ -563,35 +325,28 @@ 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) ./chip-tool generaldiagnostics read test-event-triggers-enabled 1 0 - Verify in DUT as client side: verify that TestEventTriggersEnabled attribute value should be data type bool - - [1659773457.295991][17263:17263] CHIP:DMG: ReportDataMessage = - [1659773457.296017][17263:17263] CHIP:DMG: { - [1659773457.296036][17263:17263] CHIP:DMG: AttributeReportIBs = - [1659773457.296068][17263:17263] CHIP:DMG: [ - [1659773457.296087][17263:17263] CHIP:DMG: AttributeReportIB = - [1659773457.296119][17263:17263] CHIP:DMG: { - [1659773457.296139][17263:17263] CHIP:DMG: AttributeDataIB = - [1659773457.296162][17263:17263] CHIP:DMG: { - [1659773457.296187][17263:17263] CHIP:DMG: DataVersion = 0x4dcd1218, - [1659773457.296210][17263:17263] CHIP:DMG: AttributePathIB = - [1659773457.296235][17263:17263] CHIP:DMG: { - [1659773457.296259][17263:17263] CHIP:DMG: Endpoint = 0x0, - [1659773457.296284][17263:17263] CHIP:DMG: Cluster = 0x33, - [1659773457.296315][17263:17263] CHIP:DMG: Attribute = 0x0000_0008, - [1659773457.296339][17263:17263] CHIP:DMG: } - [1659773457.296366][17263:17263] CHIP:DMG: - [1659773457.296390][17263:17263] CHIP:DMG: Data = false, - [1659773457.296405][17263:17263] CHIP:DMG: }, - [1659773457.296428][17263:17263] CHIP:DMG: - [1659773457.296446][17263:17263] CHIP:DMG: }, - [1659773457.296468][17263:17263] CHIP:DMG: - [1659773457.296481][17263:17263] CHIP:DMG: ], - [1659773457.296510][17263:17263] CHIP:DMG: - [1659773457.296531][17263:17263] CHIP:DMG: SuppressResponse = true, - [1659773457.296549][17263:17263] CHIP:DMG: InteractionModelRevision = 1 - [1659773457.296566][17263:17263] CHIP:DMG: } - [1659773457.296585][17263:17263] CHIP:DMG: - [1659773457.296794][17263:17263] CHIP:DMG: OnReportConfirm: NumReports = 0 - [1659773457.296849][17263:17263] CHIP:DMG: ReportsInFlight = 0 with readHandle + verify that TestEventTriggersEnabled attribute value should be data type bool on TH(all-clusters-app) + + ReadRequestMessage = + [1661422384.680672][2220:2220] CHIP:DMG: { + [1661422384.680728][2220:2220] CHIP:DMG: AttributePathIBs = + [1661422384.680794][2220:2220] CHIP:DMG: [ + [1661422384.680856][2220:2220] CHIP:DMG: AttributePathIB = + [1661422384.680937][2220:2220] CHIP:DMG: { + [1661422384.681020][2220:2220] CHIP:DMG: Endpoint = 0x0, + [1661422384.681105][2220:2220] CHIP:DMG: Cluster = 0x33, + [1661422384.681189][2220:2220] CHIP:DMG: Attribute = 0x0000_0008, + [1661422384.681267][2220:2220] CHIP:DMG: } + [1661422384.681348][2220:2220] CHIP:DMG: + [1661422384.681421][2220:2220] CHIP:DMG: ], + [1661422384.681494][2220:2220] CHIP:DMG: + [1661422384.681562][2220:2220] CHIP:DMG: isFabricFiltered = true, + [1661422384.681627][2220:2220] CHIP:DMG: InteractionModelRevision = 1 + [1661422384.681688][2220:2220] CHIP:DMG: }, + [1661422384.681857][2220:2220] CHIP:DMG: IM RH moving to [GeneratingReports] + [1661422384.682101][2220:2220] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 + [1661422384.682174][2220:2220] CHIP:DMG: Cluster 33, Attribute 8 is dirty + [1661422384.682229][2220:2220] CHIP:DMG: Reading attribute: Cluster=0x0000_0033 Endpoint=0 AttributeId=0x0000_0008 (expanded=0) + [1661422384.682297][2220:2220] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0033 e=0 p=v + [1661422384.682364][2220:2220] CHIP:DMG: AccessControl: allowed disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_DGSW_3_1.yaml b/src/app/tests/suites/certification/Test_TC_DGSW_3_1.yaml index 9771f051c5759c..f59e19c6b8c057 100644 --- a/src/app/tests/suites/certification/Test_TC_DGSW_3_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_DGSW_3_1.yaml @@ -70,24 +70,25 @@ tests: PICS: DGSW.C.A0001 verification: | ./chip-tool softwarediagnostics read current-heap-free 1 0 - Verify the thread-metrics attribute has entries with ThreadMetrics Struct on TH(all-clusters-app) Log: + + Verify the value of CurrentHeapFree is in range uint64 on TH(all-clusters-app) Log: [1659972026.540043][3458:3458] CHIP:IM: Received Read request [1659972026.540208][3458:3458] CHIP:DMG: ReadRequestMessage = [1659972026.540273][3458:3458] CHIP:DMG: { - [1659972026.540325][3458:3458] CHIP:DMG: AttributePathIBs = - [1659972026.540387][3458:3458] CHIP:DMG: [ - [1659972026.540444][3458:3458] CHIP:DMG: AttributePathIB = - [1659972026.540510][3458:3458] CHIP:DMG: { - [1659972026.540577][3458:3458] CHIP:DMG: Endpoint = 0x0, - [1659972026.540661][3458:3458] CHIP:DMG: Cluster = 0x34, - [1659972026.540737][3458:3458] CHIP:DMG: Attribute = 0x0000_0001, - [1659972026.540810][3458:3458] CHIP:DMG: } + [1659972026.540325][3458:3458] CHIP:DMG: AttributePathIBs = + [1659972026.540387][3458:3458] CHIP:DMG: [ + [1659972026.540444][3458:3458] CHIP:DMG: AttributePathIB = + [1659972026.540510][3458:3458] CHIP:DMG: { + [1659972026.540577][3458:3458] CHIP:DMG: Endpoint = 0x0, + [1659972026.540661][3458:3458] CHIP:DMG: Cluster = 0x34, + [1659972026.540737][3458:3458] CHIP:DMG: Attribute = 0x0000_0001, + [1659972026.540810][3458:3458] CHIP:DMG: } [1659972026.540878][3458:3458] CHIP:DMG: - [1659972026.540939][3458:3458] CHIP:DMG: ], + [1659972026.540939][3458:3458] CHIP:DMG: ], [1659972026.541006][3458:3458] CHIP:DMG: - [1659972026.541118][3458:3458] CHIP:DMG: isFabricFiltered = true, - [1659972026.541182][3458:3458] CHIP:DMG: InteractionModelRevision = 1 + [1659972026.541118][3458:3458] CHIP:DMG: isFabricFiltered = true, + [1659972026.541182][3458:3458] CHIP:DMG: InteractionModelRevision = 1 [1659972026.541239][3458:3458] CHIP:DMG: }, [1659972026.541397][3458:3458] CHIP:DMG: IM RH moving to [GeneratingReports] [1659972026.541584][3458:3458] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 @@ -102,7 +103,7 @@ tests: verification: | ./chip-tool softwarediagnostics read current-heap-used 1 0 - Verify the value of CurrentHeapUsed is in range uint6 on TH(all-clusters-app) Log: + Verify the value of CurrentHeapUsed is in range uint64 on TH(all-clusters-app) Log: [1659972063.411625][3458:3458] CHIP:IM: Received Read request [1659972063.411702][3458:3458] CHIP:DMG: ReadRequestMessage = diff --git a/src/app/tests/suites/certification/Test_TC_DGSW_3_2.yaml b/src/app/tests/suites/certification/Test_TC_DGSW_3_2.yaml index 49715b155c022b..8e04e498052098 100644 --- a/src/app/tests/suites/certification/Test_TC_DGSW_3_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_DGSW_3_2.yaml @@ -26,7 +26,7 @@ config: tests: - label: "Note" verification: | - Chip-tool command used below are an example to verify the DUT as client test cases. For certification test, we expect DUT should have a capability or way to run the equivalent command. + For DUT as client test cases, Chip-tool command used below are an example to verify the functionality. For certification test, we expect DUT should have a capability or way to run the equivalent command. disabled: true - label: "Commission TH to DUT" diff --git a/src/app/tests/suites/certification/Test_TC_DGTHREAD_3_1.yaml b/src/app/tests/suites/certification/Test_TC_DGTHREAD_3_1.yaml index 868372c7a4c9b0..001f2a99646552 100644 --- a/src/app/tests/suites/certification/Test_TC_DGTHREAD_3_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_DGTHREAD_3_1.yaml @@ -507,7 +507,7 @@ tests: - label: "DUT reads ChannelPage0Mask attribute value from TH" PICS: DGTHREAD.C.A003c verification: | - ./chip-tool threadnetworkdiagnostics read channel-mask 54 0 + ./chip-tool threadnetworkdiagnostics read channel-page0mask 54 0 Verify "ChannelMask response" on the TH(All-cluster-app) Log: diff --git a/src/app/tests/suites/certification/Test_TC_DRLK_2_1.yaml b/src/app/tests/suites/certification/Test_TC_DRLK_2_1.yaml index 379c95d8385008..9903e4b342bd5e 100644 --- a/src/app/tests/suites/certification/Test_TC_DRLK_2_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_DRLK_2_1.yaml @@ -24,6 +24,12 @@ config: endpoint: 0 tests: + - label: "Pre-Conditions" + verification: | + TH is commissioned with the DUT + Lock device is the DUT + disabled: true + - label: "TH reads LockState attribute from DUT" PICS: DRLK.S.A0000 verification: | @@ -120,7 +126,7 @@ tests: - label: "TH sends a Unlock Door command to the DUT." PICS: DRLK.S.A0000 verification: | - ./chip-tool doorlock unlock-door 1 1 --timedInteractionTimeoutMs 100 + ./chip-tool doorlock unlock-door 1 1 --timedInteractionTimeoutMs 1000 Verify "DUT performs the door unlock action" on the TH(Chip-tool) Log: @@ -328,7 +334,7 @@ tests: verification: | This is an Optional attribute, so its not compulsory to get the expected outcome - ./chip-tool doorlock write-by-id 4 10 1 1 + ./chip-tool doorlock write-by-id 4 0 1 1 Verify " DUT sends SUCCESS response " on the TH(Chip-tool) Log: @@ -398,7 +404,7 @@ tests: verification: | This is an Optional attribute, so its not compulsory to get the expected outcome - ./chip-tool doorlock write-by-id 5 11 1 1 + ./chip-tool doorlock write-by-id 5 0 1 1 Verify " DUT sends SUCCESS response" on the TH(Chip-tool) Log: @@ -1049,7 +1055,7 @@ tests: verification: | This is an Optional attribute, so its not compulsory to get the expected outcome - ./chip-tool doorlock write ledsettings 1 1 1 + ./chip-tool doorlock write ledsettings 2 1 1 Verify " DUT responds with UNSUPPORTED_WRITE " on the TH(Chip-tool) Log: @@ -2009,7 +2015,7 @@ tests: - label: "TH writes NumberOfCredentials SupportedPerUser attribute as 85" verification: | - ./chip-tool doorlock write-by-id 28 10 1 1 + ./chip-tool doorlock write-by-id 28 85 1 1 Verify " DUT responds with UNSUPPORTED_WRITE" on the TH(Chip-tool) Log: [1654683627.680196][4148:4153] CHIP:DMG: StatusIB = diff --git a/src/app/tests/suites/certification/Test_TC_DRLK_2_10.yaml b/src/app/tests/suites/certification/Test_TC_DRLK_2_10.yaml index 0ecf3c718743cc..ac3e56a27d585c 100644 --- a/src/app/tests/suites/certification/Test_TC_DRLK_2_10.yaml +++ b/src/app/tests/suites/certification/Test_TC_DRLK_2_10.yaml @@ -31,7 +31,6 @@ tests: Events to be executed as following 1. Compile app using below command in connectedhomeip folder a. ./scripts/run_in_build_env.sh ./scripts/build/build_examples.py --target linux-arm64-all-clusters-no-ble-asan-clang build - b. ./scripts/run_in_build_env.sh ./scripts/build/build_examples.py --target linux-arm64-all-clusters-no-ble-asan-libfuzzer-clang build 2. Build respective app (lock-app) 3. Commission DUT to TH 4. Open 2nd terminal of DUT and provide the below command to obtain PID of DUT diff --git a/src/app/tests/suites/certification/Test_TC_DRLK_3_3.yaml b/src/app/tests/suites/certification/Test_TC_DRLK_3_3.yaml index ced573eba94550..3b55deac358bbe 100644 --- a/src/app/tests/suites/certification/Test_TC_DRLK_3_3.yaml +++ b/src/app/tests/suites/certification/Test_TC_DRLK_3_3.yaml @@ -36,7 +36,6 @@ tests: Events to be executed as following 1. Compile app using below command in connectedhomeip folder a. ./scripts/run_in_build_env.sh ./scripts/build/build_examples.py --target linux-arm64-all-clusters-no-ble-asan-clang build - b. ./scripts/run_in_build_env.sh ./scripts/build/build_examples.py --target linux-arm64-all-clusters-no-ble-asan-libfuzzer-clang build 2. Build respective app (lock-app) 3. Commission DUT to TH 4. Open 2nd terminal of DUT and provide the below command to obtain PID of DUT diff --git a/src/app/tests/suites/certification/Test_TC_IDM_4_2.yaml b/src/app/tests/suites/certification/Test_TC_IDM_4_2.yaml index d8783a1caa0a4c..a6b78a9c57ad9b 100644 --- a/src/app/tests/suites/certification/Test_TC_IDM_4_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_IDM_4_2.yaml @@ -315,14 +315,13 @@ tests: onoff subscribe on-time 500 100 1 1 On TH Verify that the DUT sends an error message - [1657451028.957761][11635:11640] CHIP:EM: Removed CHIP MessageCounter:190733056 from RetransTable on exchange 33632i - [1657451028.957867][11635:11640] CHIP:DMG: StatusResponseMessage = - [1657451028.957963][11635:11640] CHIP:DMG: { - [1657451028.958028][11635:11640] CHIP:DMG: Status = 0x01 (FAILURE), - [1657451028.958094][11635:11640] CHIP:DMG: InteractionModelRevision = 1 - [1657451028.958175][11635:11640] CHIP:DMG: } - [1657451028.958236][11635:11640] CHIP:IM: Received status response, status is 0x01 (FAILURE) - [1657451028.958324][11635:11640] CHIP:DMG: mResubscribePolicy is null + [1661754615.089845][103654:103659] CHIP:DMG: StatusResponseMessage = + [1661754615.089857][103654:103659] CHIP:DMG: { + [1661754615.089868][103654:103659] CHIP:DMG: Status = 0x80 (INVALID_ACTION), + [1661754615.089879][103654:103659] CHIP:DMG: InteractionModelRevision = 1 + [1661754615.089889][103654:103659] CHIP:DMG: } + [1661754615.089901][103654:103659] CHIP:IM: Received status response, status is 0x80 (INVALID_ACTION) + [1661754615.089927][103654:103659] CHIP:EM: Piggybacking Ack for MessageCounter:223396916 on exchange: 6193i disabled: true - label: diff --git a/src/app/tests/suites/certification/Test_TC_IDM_8_1.yaml b/src/app/tests/suites/certification/Test_TC_IDM_8_1.yaml index a3e3dcd5463521..0320f91139cd10 100644 --- a/src/app/tests/suites/certification/Test_TC_IDM_8_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_IDM_8_1.yaml @@ -30,6 +30,20 @@ tests: Here the command to enter interactive mode:-- ./chip-tool interactive start disabled: true + - label: "Precondition" + verification: | + To Provision the DUT using ethernet + ./chip-all-clusters-app + + *Provision the device using chip tool on first controller(RC1) + *./chip-tool pairing ethernet node-id setup-pin-code discriminator device-remote-ip device-remote-port(5540) + on first controller open a commissioning window using below command (In RC1) + ./chip-tool pairing open-commissioning-window 1 1 400 2000 3840 (Save the manualcode for 2nd Provision) + + *Provision the device using chip tool on 2nd controller(RC2) + * ./chip-tool pairing code 2 mannualcode –commissioner name beta + disabled: true + - label: "Send a Read Request Message from RC1 and RC2 to read the ACL attribute, which is a fabric scoped list, from the DUT. Fabric @@ -38,49 +52,51 @@ tests: On RC1 and RC2, Verify that the number of entries returned by the DUT for both the reads are same.By sending below commands - ./chip-tool accesscontrol read acl 1 0 --fabric-filtered 0 - On RC1, verify that the number of entries - [1657779742.905642][2620:2625] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Attribute 0x0000_0000 DataVersion: 4140182590 - [1657779742.905736][2620:2625] CHIP:TOO: ACL: 2 entries - [1657779742.905794][2620:2625] CHIP:TOO: [1]: { - [1657779742.905845][2620:2625] CHIP:TOO: Privilege: 5 - [1657779742.905877][2620:2625] CHIP:TOO: AuthMode: 2 - [1657779742.905913][2620:2625] CHIP:TOO: Subjects: 1 entries - [1657779742.905952][2620:2625] CHIP:TOO: [1]: 112233 - [1657779742.905986][2620:2625] CHIP:TOO: Targets: null - [1657779742.906017][2620:2625] CHIP:TOO: FabricIndex: 1 - [1657779742.906047][2620:2625] CHIP:TOO: } - [1657779742.906083][2620:2625] CHIP:TOO: [2]: { - [1657779742.906114][2620:2625] CHIP:TOO: Privilege: 0 - [1657779742.906144][2620:2625] CHIP:TOO: AuthMode: 0 - [1657779742.906174][2620:2625] CHIP:TOO: Subjects: null - [1657779742.906203][2620:2625] CHIP:TOO: Targets: null - [1657779742.906233][2620:2625] CHIP:TOO: FabricIndex: 2 - [1657779742.906262][2620:2625] CHIP:TOO: } - [1657779742.906365][2620:2625] CHIP:EM: Sending Standalone Ack for MessageCounter:156304177 on exchange 7994i - - - - ./chip-tool accesscontrol read acl 2 0 --fabric-filtered 0 - On RC2, verify that the number of entries - [1657777306.528148][2474:2479] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Attribute 0x0000_0000 DataVersion: 3942609879 - [1657777306.529101][2474:2479] CHIP:TOO: ACL: 2 entries - [1657777306.529144][2474:2479] CHIP:TOO: [1]: { - [1657777306.531412][2474:2479] CHIP:TOO: Privilege: 0 - [1657777306.531449][2474:2479] CHIP:TOO: AuthMode: 0 - [1657777306.531476][2474:2479] CHIP:TOO: Subjects: null - [1657777306.531502][2474:2479] CHIP:TOO: Targets: null - [1657777306.531527][2474:2479] CHIP:TOO: FabricIndex: 1 - [1657777306.531551][2474:2479] CHIP:TOO: } - [1657777306.531596][2474:2479] CHIP:TOO: [2]: { - [1657777306.531623][2474:2479] CHIP:TOO: Privilege: 5 - [1657777306.531647][2474:2479] CHIP:TOO: AuthMode: 2 - [1657777306.531675][2474:2479] CHIP:TOO: Subjects: 1 entries - [1657777306.531708][2474:2479] CHIP:TOO: [1]: 112233 - [1657777306.531736][2474:2479] CHIP:TOO: Targets: null - [1657777306.531761][2474:2479] CHIP:TOO: FabricIndex: 2 - [1657777306.531785][2474:2479] CHIP:TOO: } - [1657777306.531885][2474:2479] CHIP:EM: Sending Standalone Ack for MessageCounter:98574249 on exchange 20274i + ./chip-tool accesscontrol read acl 1 0 --fabric-filtered 0 + On RC1, Verify that the number of entries returned by the DUT + [1660734999.949283][8689:8694] CHIP:DMG: } + [1660734999.949728][8689:8694] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Attribute 0x0000_0000 DataVersion: 1094083523 + [1660734999.949818][8689:8694] CHIP:TOO: ACL: 2 entries + [1660734999.949889][8689:8694] CHIP:TOO: [1]: { + [1660734999.949964][8689:8694] CHIP:TOO: Privilege: 5 + [1660734999.949995][8689:8694] CHIP:TOO: AuthMode: 2 + [1660734999.950029][8689:8694] CHIP:TOO: Subjects: 1 entries + [1660734999.950066][8689:8694] CHIP:TOO: [1]: 112233 + [1660734999.950098][8689:8694] CHIP:TOO: Targets: null + [1660734999.950127][8689:8694] CHIP:TOO: FabricIndex: 1 + [1660734999.950155][8689:8694] CHIP:TOO: } + [1660734999.950189][8689:8694] CHIP:TOO: [2]: { + [1660734999.950219][8689:8694] CHIP:TOO: Privilege: 0 + [1660734999.950248][8689:8694] CHIP:TOO: AuthMode: 0 + [1660734999.950276][8689:8694] CHIP:TOO: Subjects: null + [1660734999.950304][8689:8694] CHIP:TOO: Targets: null + [1660734999.950332][8689:8694] CHIP:TOO: FabricIndex: 2 + [1660734999.950359][8689:8694] CHIP:TOO: } + [1660734999.950462][8689:8694] CHIP:EM: Sending Standalone Ack for MessageCounter:145020876 on exchange 52587i + + + + + ./chip-tool accesscontrol read acl 2 0 --fabric-filtered 0 --commissioner-name beta + On RC2, Verify that the number of entries returned by the DUT + [1660735145.069516][16316:16321] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Attribute 0x0000_0000 DataVersion: 1094083523 + [1660735145.069525][16316:16321] CHIP:TOO: ACL: 2 entries + [1660735145.069530][16316:16321] CHIP:TOO: [1]: { + [1660735145.069535][16316:16321] CHIP:TOO: Privilege: 0 + [1660735145.069538][16316:16321] CHIP:TOO: AuthMode: 0 + [1660735145.069540][16316:16321] CHIP:TOO: Subjects: null + [1660735145.069542][16316:16321] CHIP:TOO: Targets: null + [1660735145.069545][16316:16321] CHIP:TOO: FabricIndex: 1 + [1660735145.069547][16316:16321] CHIP:TOO: } + [1660735145.069552][16316:16321] CHIP:TOO: [2]: { + [1660735145.069554][16316:16321] CHIP:TOO: Privilege: 5 + [1660735145.069556][16316:16321] CHIP:TOO: AuthMode: 2 + [1660735145.069559][16316:16321] CHIP:TOO: Subjects: 1 entries + [1660735145.069562][16316:16321] CHIP:TOO: [1]: 112233 + [1660735145.069565][16316:16321] CHIP:TOO: Targets: null + [1660735145.069567][16316:16321] CHIP:TOO: FabricIndex: 2 + [1660735145.069569][16316:16321] CHIP:TOO: } + [1660735145.069588][16316:16321] CHIP:EM: Sending Standalone Ack for MessageCounter:58627510 on exchange 63634i disabled: true - label: @@ -94,121 +110,139 @@ tests: verification: | By sending the command mentioned below, change attribute values on DUT to create events multiple times.Send a fabric-filtered Read Request Message from each of RC1 and RC2 - ./chip-tool accesscontrol read acl 1 0 --commissioner-name beta - On RC1, verify that acl atrribute reading an entries from DUT - [1657781757.866389][2878:2883] CHIP:DMG: } - [1657781757.866649][2878:2883] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Attribute 0x0000_0000 DataVersion: 4140182590 - [1657781757.866722][2878:2883] CHIP:TOO: ACL: 1 entries - [1657781757.866769][2878:2883] CHIP:TOO: [1]: { - [1657781757.866809][2878:2883] CHIP:TOO: Privilege: 5 - [1657781757.866832][2878:2883] CHIP:TOO: AuthMode: 2 - [1657781757.866859][2878:2883] CHIP:TOO: Subjects: 1 entries - [1657781757.866887][2878:2883] CHIP:TOO: [1]: 112233 - [1657781757.866913][2878:2883] CHIP:TOO: Targets: null - [1657781757.866935][2878:2883] CHIP:TOO: FabricIndex: 1 - [1657781757.866958][2878:2883] CHIP:TOO: } - [1657781757.867038][2878:2883] CHIP:EM: Sending Standalone Ack for MessageCounter:31035884 on exchange 64038i - - - ./chip-tool accesscontrol read acl 2 0 --commissioner-name gamma + ./chip-tool accesscontrol read acl 1 0 + On RC1, verify that acl atrribute reading an entries from DUT + [1660736093.612611][8743:8748] CHIP:DMG: } + [1660736093.612923][8743:8748] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Attribute 0x0000_0000 DataVersion: 1094083523 + [1660736093.613008][8743:8748] CHIP:TOO: ACL: 1 entries + [1660736093.613080][8743:8748] CHIP:TOO: [1]: { + [1660736093.613129][8743:8748] CHIP:TOO: Privilege: 5 + [1660736093.613161][8743:8748] CHIP:TOO: AuthMode: 2 + [1660736093.613196][8743:8748] CHIP:TOO: Subjects: 1 entries + [1660736093.613232][8743:8748] CHIP:TOO: [1]: 112233 + [1660736093.613265][8743:8748] CHIP:TOO: Targets: null + [1660736093.613294][8743:8748] CHIP:TOO: FabricIndex: 1 + [1660736093.613323][8743:8748] CHIP:TOO: } + [1660736093.613424][8743:8748] CHIP:EM: Sending Standalone Ack for MessageCounter:107756092 on exchange 62143i + i + + + ./chip-tool accesscontrol read acl 2 0 --commissioner-name beta On RC2, verify that acl atrribute reading an entries from DUT - [1657781810.474993][2821:2826] CHIP:DMG: } - [1657781810.475304][2821:2826] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Attribute 0x0000_0000 DataVersion: 4140182590 - [1657781810.475389][2821:2826] CHIP:TOO: ACL: 1 entries - [1657781810.475442][2821:2826] CHIP:TOO: [1]: { - [1657781810.475488][2821:2826] CHIP:TOO: Privilege: 5 - [1657781810.475517][2821:2826] CHIP:TOO: AuthMode: 2 - [1657781810.475549][2821:2826] CHIP:TOO: Subjects: 1 entries - [1657781810.475583][2821:2826] CHIP:TOO: [1]: 112233 - [1657781810.475614][2821:2826] CHIP:TOO: Targets: null - [1657781810.475643][2821:2826] CHIP:TOO: FabricIndex: 2 - [1657781810.475670][2821:2826] CHIP:TOO: } - [1657781810.475763][2821:2826] CHIP:EM: Sending Standalone Ack for MessageCounter:227198602 on exchange 37948i + [1660736154.632572][16573:16579] CHIP:DMG: } + [1660736154.632618][16573:16579] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Attribute 0x0000_0000 DataVersion: 1094083523 + [1660736154.632629][16573:16579] CHIP:TOO: ACL: 1 entries + [1660736154.632641][16573:16579] CHIP:TOO: [1]: { + [1660736154.632647][16573:16579] CHIP:TOO: Privilege: 5 + [1660736154.632649][16573:16579] CHIP:TOO: AuthMode: 2 + [1660736154.632653][16573:16579] CHIP:TOO: Subjects: 1 entries + [1660736154.632656][16573:16579] CHIP:TOO: [1]: 112233 + [1660736154.632659][16573:16579] CHIP:TOO: Targets: null + [1660736154.632661][16573:16579] CHIP:TOO: FabricIndex: 2 + [1660736154.632664][16573:16579] CHIP:TOO: } + [1660736154.632680][16573:16579] CHIP:EM: Sending Standalone Ack for MessageCounter:29510790 on exchange 4088i + From RC1 send a Write Request message to the DUT to write to an entry in the fabric scoped list associated with its own fabric. - ./chip-tool accesscontrol write acl "[{"fabricIndex": 1, "privilege": 5, "authMode": 2, "subjects": [112233], "targets":[{ "cluster": 3, "endpoint": 1, "deviceType": null }]}]" 1 0 --commissioner-name beta - - On RC1, Verify that DUT responds as success - - [1657782547.448455][2974:2979] CHIP:DMG: WriteResponseMessage = - [1657782547.448486][2974:2979] CHIP:DMG: { - [1657782547.448513][2974:2979] CHIP:DMG: AttributeStatusIBs = - [1657782547.448551][2974:2979] CHIP:DMG: [ - [1657782547.448581][2974:2979] CHIP:DMG: AttributeStatusIB = - [1657782547.448619][2974:2979] CHIP:DMG: { - [1657782547.448651][2974:2979] CHIP:DMG: AttributePathIB = - [1657782547.448690][2974:2979] CHIP:DMG: { - [1657782547.448730][2974:2979] CHIP:DMG: Endpoint = 0x0, - [1657782547.448776][2974:2979] CHIP:DMG: Cluster = 0x1f, - [1657782547.448818][2974:2979] CHIP:DMG: Attribute = 0x0000_0000, - [1657782547.448857][2974:2979] CHIP:DMG: } - [1657782547.448899][2974:2979] CHIP:DMG: - [1657782547.448941][2974:2979] CHIP:DMG: StatusIB = - [1657782547.448980][2974:2979] CHIP:DMG: { - [1657782547.449018][2974:2979] CHIP:DMG: status = 0x00 (SUCCESS), - [1657782547.449061][2974:2979] CHIP:DMG: }, - [1657782547.449100][2974:2979] CHIP:DMG: - [1657782547.449134][2974:2979] CHIP:DMG: }, - [1657782547.449178][2974:2979] CHIP:DMG: - [1657782547.449208][2974:2979] CHIP:DMG: AttributeStatusIB = - [1657782547.449244][2974:2979] CHIP:DMG: { - [1657782547.449278][2974:2979] CHIP:DMG: AttributePathIB = - [1657782547.449316][2974:2979] CHIP:DMG: { - [1657782547.449356][2974:2979] CHIP:DMG: Endpoint = 0x0, - [1657782547.449397][2974:2979] CHIP:DMG: Cluster = 0x1f, - [1657782547.449439][2974:2979] CHIP:DMG: Attribute = 0x0000_0000, - [1657782547.449483][2974:2979] CHIP:DMG: ListIndex = Null, - [1657782547.449525][2974:2979] CHIP:DMG: } - [1657782547.449568][2974:2979] CHIP:DMG: - [1657782547.449642][2974:2979] CHIP:DMG: StatusIB = - [1657782547.449687][2974:2979] CHIP:DMG: { - [1657782547.449727][2974:2979] CHIP:DMG: status = 0x00 (SUCCESS), - [1657782547.449766][2974:2979] CHIP:DMG: }, - [1657782547.449805][2974:2979] CHIP:DMG: - [1657782547.449838][2974:2979] CHIP:DMG: }, - [1657782547.449878][2974:2979] CHIP:DMG: - [1657782547.449907][2974:2979] CHIP:DMG: ], - [1657782547.449948][2974:2979] CHIP:DMG: - [1657782547.449978][2974:2979] CHIP:DMG: InteractionModelRevision = 1 - [1657782547.450006][2974:2979] CHIP:DMG: } - [1657782547.450127][2974:2979] CHIP:DMG: WriteClient moving to [AwaitingDe] - - - - Send a fabric-filtered Read Request Message from each of RC1 and RC2 to read the fabric scoped list from the DUT. - - ./chip-tool accesscontrol read acl 2 0 --fabric-filtered 0 --commissioner-name gamma - On RC2, Verify that the data received from DUT is same as the data received in first read request - [1657782203.827787][2957:2962] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Attribute 0x0000_0000 DataVersion: 4140182592 - [1657782203.827866][2957:2962] CHIP:TOO: ACL: 2 entries - [1657782203.827914][2957:2962] CHIP:TOO: [1]: { - [1657782203.827956][2957:2962] CHIP:TOO: Privilege: 5 - [1657782203.827982][2957:2962] CHIP:TOO: AuthMode: 2 - [1657782203.828011][2957:2962] CHIP:TOO: Subjects: 1 entries - [1657782203.828042][2957:2962] CHIP:TOO: [1]: 112233 - [1657782203.828070][2957:2962] CHIP:TOO: Targets: null - [1657782203.828095][2957:2962] CHIP:TOO: FabricIndex: 1 - [1657782203.828115][2957:2962] CHIP:TOO: } - [1657782203.828140][2957:2962] CHIP:TOO: [2]: { - [1657782203.828159][2957:2962] CHIP:TOO: Privilege: 0 - [1657782203.828178][2957:2962] CHIP:TOO: AuthMode: 0 - [1657782203.828198][2957:2962] CHIP:TOO: Subjects: null - [1657782203.828216][2957:2962] CHIP:TOO: Targets: null - [1657782203.828235][2957:2962] CHIP:TOO: FabricIndex: 2 - [1657782203.828253][2957:2962] CHIP:TOO: } - [1657782203.828346][2957:2962] CHIP:EM: Sending Standalone Ack for MessageCounter:211465645 on exchange 51184i - - - ./chip-tool accesscontrol read acl 1 0 --commissioner-name beta - - On RC1, Verify that DUT responds as UNSUPPORTED_ACCESS - [1657782688.737945][2996:3001] CHIP:DMG: SuppressResponse = true, - [1657782688.737974][2996:3001] CHIP:DMG: InteractionModelRevision = 1 - [1657782688.737999][2996:3001] CHIP:DMG: } - [1657782688.738108][2996:3001] CHIP:TOO: Response Failure: IM Error 0x0000057E: General error: 0x7e (UNSUPPORTED_ACCESS) - [1657782688.738197][2996:3001] CHIP:EM: Sending Standalone Ack for MessageCounter:110177776 on exchange 22939i + ./chip-tool accesscontrol write acl "[{"fabricIndex": 1, "privilege": 5, "authMode": 2, "subjects":[1,112233], "targets": [{ "cluster":31, "endpoint":0, "deviceType":null }]}]" 1 0 + + On RC1, Verify the success response from DUT + + [1659419722.669629][1915:1920] CHIP:DMG: WriteResponseMessage = + [1659419722.669657][1915:1920] CHIP:DMG: { + [1659419722.669687][1915:1920] CHIP:DMG: AttributeStatusIBs = + [1659419722.669727][1915:1920] CHIP:DMG: [ + [1659419722.669758][1915:1920] CHIP:DMG: AttributeStatusIB = + [1659419722.669796][1915:1920] CHIP:DMG: { + [1659419722.669833][1915:1920] CHIP:DMG: AttributePathIB = + [1659419722.669871][1915:1920] CHIP:DMG: { + [1659419722.669912][1915:1920] CHIP:DMG: Endpoint = 0x0, + [1659419722.669953][1915:1920] CHIP:DMG: Cluster = 0x1f, + [1659419722.669993][1915:1920] CHIP:DMG: Attribute = 0x0000_0000, + [1659419722.670034][1915:1920] CHIP:DMG: } + [1659419722.670077][1915:1920] CHIP:DMG: + [1659419722.670114][1915:1920] CHIP:DMG: StatusIB = + [1659419722.670153][1915:1920] CHIP:DMG: { + [1659419722.670191][1915:1920] CHIP:DMG: status = 0x00 (SUCCESS), + [1659419722.670229][1915:1920] CHIP:DMG: }, + [1659419722.670266][1915:1920] CHIP:DMG: + [1659419722.670300][1915:1920] CHIP:DMG: }, + [1659419722.670343][1915:1920] CHIP:DMG: + [1659419722.670373][1915:1920] CHIP:DMG: AttributeStatusIB = + [1659419722.670405][1915:1920] CHIP:DMG: { + [1659419722.670436][1915:1920] CHIP:DMG: AttributePathIB = + [1659419722.670471][1915:1920] CHIP:DMG: { + [1659419722.670510][1915:1920] CHIP:DMG: Endpoint = 0x0, + [1659419722.670550][1915:1920] CHIP:DMG: Cluster = 0x1f, + [1659419722.670590][1915:1920] CHIP:DMG: Attribute = 0x0000_0000, + [1659419722.670661][1915:1920] CHIP:DMG: ListIndex = Null, + [1659419722.670700][1915:1920] CHIP:DMG: } + [1659419722.670740][1915:1920] CHIP:DMG: + [1659419722.670776][1915:1920] CHIP:DMG: StatusIB = + [1659419722.670813][1915:1920] CHIP:DMG: { + [1659419722.670851][1915:1920] CHIP:DMG: status = 0x00 (SUCCESS), + [1659419722.670888][1915:1920] CHIP:DMG: }, + [1659419722.670925][1915:1920] CHIP:DMG: + [1659419722.670958][1915:1920] CHIP:DMG: }, + [1659419722.670994][1915:1920] CHIP:DMG: + [1659419722.671022][1915:1920] CHIP:DMG: ], + [1659419722.671062][1915:1920] CHIP:DMG: + [1659419722.671092][1915:1920] CHIP:DMG: InteractionModelRevision = 1 + [1659419722.671120][1915:1920] CHIP:DMG: } + [1659419722.671244][1915:1920] CHIP:DMG: WriteClient moving to [AwaitingDe] + [1659419722.671314][1915:1920] CHIP:EM: Sending Standalone Ack for MessageCounter:153124628 on + + + + Send fabric-filtered Read Request Message from each of RC1 and RC2 to read the fabric scoped list from the DUT. + + ./chip-tool accesscontrol read acl 1 0 + + On RC1 verify modified data which is based the write request message sent in above command + [1660817711.424566][8879:8884] CHIP:DMG: } + [1660817711.424711][8879:8884] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Attribute 0x0000_0000 DataVersion: 2820130624 + [1660817711.424742][8879:8884] CHIP:TOO: ACL: 1 entries + [1660817711.424770][8879:8884] CHIP:TOO: [1]: { + [1660817711.424777][8879:8884] CHIP:TOO: Privilege: 5 + [1660817711.424784][8879:8884] CHIP:TOO: AuthMode: 2 + [1660817711.424793][8879:8884] CHIP:TOO: Subjects: 2 entries + [1660817711.424803][8879:8884] CHIP:TOO: [1]: 1 + [1660817711.424810][8879:8884] CHIP:TOO: [2]: 112233 + [1660817711.424820][8879:8884] CHIP:TOO: Targets: 1 entries + [1660817711.424846][8879:8884] CHIP:TOO: [1]: { + [1660817711.424854][8879:8884] CHIP:TOO: Cluster: 31 + [1660817711.424862][8879:8884] CHIP:TOO: Endpoint: 0 + [1660817711.424868][8879:8884] CHIP:TOO: DeviceType: null + [1660817711.424875][8879:8884] CHIP:TOO: } + [1660817711.424883][8879:8884] CHIP:TOO: FabricIndex: 1 + [1660817711.424889][8879:8884] CHIP:TOO: } + [1660817711.424930][8879:8884] CHIP:EM: Sending Standalone Ack for MessageCounter:9593070 on exchange 29150i + + + + ./chip-tool accesscontrol read acl 2 0 --commissioner-name beta + On RC2, Verify that the data received from DUT is same as the data received in first read request + [1660736551.755490][16621:16626] CHIP:DMG: } + [1660736551.755536][16621:16626] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Attribute 0x0000_0000 DataVersion: 1094083525 + [1660736551.755550][16621:16626] CHIP:TOO: ACL: 1 entries + [1660736551.755560][16621:16626] CHIP:TOO: [1]: { + [1660736551.755565][16621:16626] CHIP:TOO: Privilege: 5 + [1660736551.755567][16621:16626] CHIP:TOO: AuthMode: 2 + [1660736551.755571][16621:16626] CHIP:TOO: Subjects: 1 entries + [1660736551.755574][16621:16626] CHIP:TOO: [1]: 112233 + [1660736551.755577][16621:16626] CHIP:TOO: Targets: null + [1660736551.755579][16621:16626] CHIP:TOO: FabricIndex: 2 + [1660736551.755581][16621:16626] CHIP:TOO: } + [1660736551.755597][16621:16626] CHIP:EM: Sending Standalone Ack for MessageCounter:197256549 on exchange 34220i + + + + + With the above command, we are overwriting the default privilege that chip-tool has as an admin. After this test step you need to send below mentioned command to Grant access to all clusters again. + + ./chip-tool accesscontrol write acl "[{"fabricIndex": 1, "privilege": 5, "authMode":2, "subjects":[112233], "targets":null}]" 1 0 disabled: true - label: @@ -221,108 +255,108 @@ tests: verification: | Send a Read Request Message to the DUT from RC1 and RC2 to read the fabric scoped list "Fabrics" from OperationalCredentialsCluster. Fabric filtered should be set to false. - ./chip-tool operationalcredentials read fabrics 1 0 --fabric-filtered 0 --commissioner-name beta + ./chip-tool operationalcredentials read fabrics 1 0 --fabric-filtered 0 On RC1 verify the Fabrics entries [1657780124.975404][2664:2669] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0001 DataVersion: 1307873919 - [1657780124.975642][2664:2669] CHIP:TOO: Fabrics: 2 entries - [1657780124.975710][2664:2669] CHIP:TOO: [1]: { - [1657780124.975747][2664:2669] CHIP:TOO: RootPublicKey: 04100A4370AD71A180C267C29E364FC595A24A0D3CC2EC1A0595B2319E8E65D0BC1C7B62EBB0D91F7207CE306A094EAD0084A8A9359FC568D1279BDD275701F0ED - [1657780124.975791][2664:2669] CHIP:TOO: VendorId: 65521 - [1657780124.975829][2664:2669] CHIP:TOO: FabricId: 2 - [1657780124.975854][2664:2669] CHIP:TOO: NodeId: 1 - [1657780124.975891][2664:2669] CHIP:TOO: Label: - [1657780124.975916][2664:2669] CHIP:TOO: FabricIndex: 1 - [1657780124.975940][2664:2669] CHIP:TOO: } - [1657780124.975985][2664:2669] CHIP:TOO: [2]: { - [1657780124.976026][2664:2669] CHIP:TOO: RootPublicKey: 04BC41C77289C6CCE2752CA88DFE1C1A0EB3742B31A32D32C7185CAE22CC0665889702E82706F952524618EFC34A5462A08B793C5AC3C5B45E55598AD362975FFC - [1657780124.976053][2664:2669] CHIP:TOO: VendorId: 65521 - [1657780124.976088][2664:2669] CHIP:TOO: FabricId: 3 - [1657780124.976112][2664:2669] CHIP:TOO: NodeId: 2 - [1657780124.976135][2664:2669] CHIP:TOO: Label: - [1657780124.976217][2664:2669] CHIP:TOO: FabricIndex: 2 - [1657780124.976242][2664:2669] CHIP:TOO: } + [1657780124.975642][2664:2669] CHIP:TOO: Fabrics: 2 entries + [1657780124.975710][2664:2669] CHIP:TOO: [1]: { + [1657780124.975747][2664:2669] CHIP:TOO: RootPublicKey: 04100A4370AD71A180C267C29E364FC595A24A0D3CC2EC1A0595B2319E8E65D0BC1C7B62EBB0D91F7207CE306A094EAD0084A8A9359FC568D1279BDD275701F0ED + [1657780124.975791][2664:2669] CHIP:TOO: VendorId: 65521 + [1657780124.975829][2664:2669] CHIP:TOO: FabricId: 2 + [1657780124.975854][2664:2669] CHIP:TOO: NodeId: 1 + [1657780124.975891][2664:2669] CHIP:TOO: Label: + [1657780124.975916][2664:2669] CHIP:TOO: FabricIndex: 1 + [1657780124.975940][2664:2669] CHIP:TOO: } + [1657780124.975985][2664:2669] CHIP:TOO: [2]: { + [1657780124.976026][2664:2669] CHIP:TOO: RootPublicKey: 04BC41C77289C6CCE2752CA88DFE1C1A0EB3742B31A32D32C7185CAE22CC0665889702E82706F952524618EFC34A5462A08B793C5AC3C5B45E55598AD362975FFC + [1657780124.976053][2664:2669] CHIP:TOO: VendorId: 65521 + [1657780124.976088][2664:2669] CHIP:TOO: FabricId: 3 + [1657780124.976112][2664:2669] CHIP:TOO: NodeId: 2 + [1657780124.976135][2664:2669] CHIP:TOO: Label: + [1657780124.976217][2664:2669] CHIP:TOO: FabricIndex: 2 + [1657780124.976242][2664:2669] CHIP:TOO: } [1657780124.976356][2664:2669] CHIP:EM: Sending Standalone Ack for MessageCounter:266273154 on exchange 62310i - ./chip-tool operationalcredentials read fabrics 2 0 --fabric-filtered 0 --commissioner-name gamma + ./chip-tool operationalcredentials read fabrics 2 0 --fabric-filtered 0 --commissioner-name beta On RC2 verify the Fabrics entries [1657780154.150519][2728:2733] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0001 DataVersion: 1307873919 - [1657780154.150627][2728:2733] CHIP:TOO: Fabrics: 2 entries - [1657780154.150694][2728:2733] CHIP:TOO: [1]: { - [1657780154.150734][2728:2733] CHIP:TOO: RootPublicKey: 04100A4370AD71A180C267C29E364FC595A24A0D3CC2EC1A0595B2319E8E65D0BC1C7B62EBB0D91F7207CE306A094EAD0084A8A9359FC568D1279BDD275701F0ED - [1657780154.150782][2728:2733] CHIP:TOO: VendorId: 65521 - [1657780154.150826][2728:2733] CHIP:TOO: FabricId: 2 - [1657780154.150855][2728:2733] CHIP:TOO: NodeId: 1 - [1657780154.150882][2728:2733] CHIP:TOO: Label: - [1657780154.150910][2728:2733] CHIP:TOO: FabricIndex: 1 - [1657780154.150937][2728:2733] CHIP:TOO: } - [1657780154.150977][2728:2733] CHIP:TOO: [2]: { - [1657780154.151011][2728:2733] CHIP:TOO: RootPublicKey: 04BC41C77289C6CCE2752CA88DFE1C1A0EB3742B31A32D32C7185CAE22CC0665889702E82706F952524618EFC34A5462A08B793C5AC3C5B45E55598AD362975FFC - [1657780154.151041][2728:2733] CHIP:TOO: VendorId: 65521 - [1657780154.151069][2728:2733] CHIP:TOO: FabricId: 3 - [1657780154.151096][2728:2733] CHIP:TOO: NodeId: 2 - [1657780154.151122][2728:2733] CHIP:TOO: Label: - [1657780154.151149][2728:2733] CHIP:TOO: FabricIndex: 2 - [1657780154.151176][2728:2733] CHIP:TOO: } + [1657780154.150627][2728:2733] CHIP:TOO: Fabrics: 2 entries + [1657780154.150694][2728:2733] CHIP:TOO: [1]: { + [1657780154.150734][2728:2733] CHIP:TOO: RootPublicKey: 04100A4370AD71A180C267C29E364FC595A24A0D3CC2EC1A0595B2319E8E65D0BC1C7B62EBB0D91F7207CE306A094EAD0084A8A9359FC568D1279BDD275701F0ED + [1657780154.150782][2728:2733] CHIP:TOO: VendorId: 65521 + [1657780154.150826][2728:2733] CHIP:TOO: FabricId: 2 + [1657780154.150855][2728:2733] CHIP:TOO: NodeId: 1 + [1657780154.150882][2728:2733] CHIP:TOO: Label: + [1657780154.150910][2728:2733] CHIP:TOO: FabricIndex: 1 + [1657780154.150937][2728:2733] CHIP:TOO: } + [1657780154.150977][2728:2733] CHIP:TOO: [2]: { + [1657780154.151011][2728:2733] CHIP:TOO: RootPublicKey: 04BC41C77289C6CCE2752CA88DFE1C1A0EB3742B31A32D32C7185CAE22CC0665889702E82706F952524618EFC34A5462A08B793C5AC3C5B45E55598AD362975FFC + [1657780154.151041][2728:2733] CHIP:TOO: VendorId: 65521 + [1657780154.151069][2728:2733] CHIP:TOO: FabricId: 3 + [1657780154.151096][2728:2733] CHIP:TOO: NodeId: 2 + [1657780154.151122][2728:2733] CHIP:TOO: Label: + [1657780154.151149][2728:2733] CHIP:TOO: FabricIndex: 2 + [1657780154.151176][2728:2733] CHIP:TOO: } [1657780154.151277][2728:2733] CHIP:EM: Sending Standalone Ack for MessageCounter:218603951 on exchange 21910i RC1 sends an Invoke command(UpdateFabricLabel) to update the label of its fabric. - ./chip-tool operationalcredentials update-fabric-label 1 1 0 --commissioner-name beta + ./chip-tool operationalcredentials update-fabric-label 1 1 0 [1657780486.902409][2687:2692] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_003E Command=0x0000_0008 [1657780486.902474][2687:2692] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Command 0x0000_0008 - [1657780486.902544][2687:2692] CHIP:TOO: NOCResponse: { - [1657780486.902612][2687:2692] CHIP:TOO: statusCode: 0 - [1657780486.902649][2687:2692] CHIP:TOO: fabricIndex: 1 - [1657780486.902684][2687:2692] CHIP:TOO: } + [1657780486.902544][2687:2692] CHIP:TOO: NOCResponse: { + [1657780486.902612][2687:2692] CHIP:TOO: statusCode: 0 + [1657780486.902649][2687:2692] CHIP:TOO: fabricIndex: 1 + [1657780486.902684][2687:2692] CHIP:TOO: } [1657780486.902736][2687:2692] CHIP:DMG: ICR moving to [AwaitingDe] [1657780486.902804][2687:2692] CHIP:EM: Sending Standalone Ack for MessageCounter:243850872 on exchange 45753i - Send a non-filtered Read Request Message from RC1 to read the fabric scoped list from the DUT. - ./chip-tool operationalcredentials read fabrics 1 0 --fabric-filtered 0 --commissioner-name beta + Send a non-filtered Read Request Message from RC1 to read the fabric scoped list from the DUT. + ./chip-tool operationalcredentials read fabrics 1 0 --fabric-filtered 0 [1657780552.471227][2696:2701] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0001 DataVersion: 1307873920 - [1657780552.471361][2696:2701] CHIP:TOO: Fabrics: 2 entries - [1657780552.471450][2696:2701] CHIP:TOO: [1]: { - [1657780552.471503][2696:2701] CHIP:TOO: RootPublicKey: 04100A4370AD71A180C267C29E364FC595A24A0D3CC2EC1A0595B2319E8E65D0BC1C7B62EBB0D91F7207CE306A094EAD0084A8A9359FC568D1279BDD275701F0ED - [1657780552.471566][2696:2701] CHIP:TOO: VendorId: 65521 - [1657780552.471605][2696:2701] CHIP:TOO: FabricId: 2 - [1657780552.471642][2696:2701] CHIP:TOO: NodeId: 1 - [1657780552.471679][2696:2701] CHIP:TOO: Label: 1 - [1657780552.471715][2696:2701] CHIP:TOO: FabricIndex: 1 - [1657780552.471752][2696:2701] CHIP:TOO: } - [1657780552.471805][2696:2701] CHIP:TOO: [2]: { - [1657780552.471850][2696:2701] CHIP:TOO: RootPublicKey: 04BC41C77289C6CCE2752CA88DFE1C1A0EB3742B31A32D32C7185CAE22CC0665889702E82706F952524618EFC34A5462A08B793C5AC3C5B45E55598AD362975FFC - [1657780552.471891][2696:2701] CHIP:TOO: VendorId: 65521 - [1657780552.471928][2696:2701] CHIP:TOO: FabricId: 3 - [1657780552.471965][2696:2701] CHIP:TOO: NodeId: 2 - [1657780552.472001][2696:2701] CHIP:TOO: Label: - [1657780552.472037][2696:2701] CHIP:TOO: FabricIndex: 2 - [1657780552.472073][2696:2701] CHIP:TOO: } + [1657780552.471361][2696:2701] CHIP:TOO: Fabrics: 2 entries + [1657780552.471450][2696:2701] CHIP:TOO: [1]: { + [1657780552.471503][2696:2701] CHIP:TOO: RootPublicKey: 04100A4370AD71A180C267C29E364FC595A24A0D3CC2EC1A0595B2319E8E65D0BC1C7B62EBB0D91F7207CE306A094EAD0084A8A9359FC568D1279BDD275701F0ED + [1657780552.471566][2696:2701] CHIP:TOO: VendorId: 65521 + [1657780552.471605][2696:2701] CHIP:TOO: FabricId: 2 + [1657780552.471642][2696:2701] CHIP:TOO: NodeId: 1 + [1657780552.471679][2696:2701] CHIP:TOO: Label: 1 + [1657780552.471715][2696:2701] CHIP:TOO: FabricIndex: 1 + [1657780552.471752][2696:2701] CHIP:TOO: } + [1657780552.471805][2696:2701] CHIP:TOO: [2]: { + [1657780552.471850][2696:2701] CHIP:TOO: RootPublicKey: 04BC41C77289C6CCE2752CA88DFE1C1A0EB3742B31A32D32C7185CAE22CC0665889702E82706F952524618EFC34A5462A08B793C5AC3C5B45E55598AD362975FFC + [1657780552.471891][2696:2701] CHIP:TOO: VendorId: 65521 + [1657780552.471928][2696:2701] CHIP:TOO: FabricId: 3 + [1657780552.471965][2696:2701] CHIP:TOO: NodeId: 2 + [1657780552.472001][2696:2701] CHIP:TOO: Label: + [1657780552.472037][2696:2701] CHIP:TOO: FabricIndex: 2 + [1657780552.472073][2696:2701] CHIP:TOO: } [1657780552.472199][2696:2701] CHIP:EM: Sending Standalone Ack for MessageCounter:2814032 on exchange 31449i Send a non-filtered Read Request Message from RC2 to read the fabric scoped list from the DUT. - ./chip-tool operationalcredentials read fabrics 2 0 --fabric-filtered 0 --commissioner-name gamma + ./chip-tool operationalcredentials read fabrics 2 0 --fabric-filtered 0 --commissioner-name beta [1657780904.261593][2741:2746] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0001 DataVersion: 1307873922 - [1657780904.261701][2741:2746] CHIP:TOO: Fabrics: 2 entries - [1657780904.261761][2741:2746] CHIP:TOO: [1]: { - [1657780904.261797][2741:2746] CHIP:TOO: RootPublicKey: 04100A4370AD71A180C267C29E364FC595A24A0D3CC2EC1A0595B2319E8E65D0BC1C7B62EBB0D91F7207CE306A094EAD0084A8A9359FC568D1279BDD275701F0ED - [1657780904.261840][2741:2746] CHIP:TOO: VendorId: 65521 - [1657780904.261865][2741:2746] CHIP:TOO: FabricId: 2 - [1657780904.261889][2741:2746] CHIP:TOO: NodeId: 1 - [1657780904.261913][2741:2746] CHIP:TOO: Label: - [1657780904.261937][2741:2746] CHIP:TOO: FabricIndex: 1 - [1657780904.261960][2741:2746] CHIP:TOO: } - [1657780904.261994][2741:2746] CHIP:TOO: [2]: { - [1657780904.262023][2741:2746] CHIP:TOO: RootPublicKey: 04BC41C77289C6CCE2752CA88DFE1C1A0EB3742B31A32D32C7185CAE22CC0665889702E82706F952524618EFC34A5462A08B793C5AC3C5B45E55598AD362975FFC - [1657780904.262049][2741:2746] CHIP:TOO: VendorId: 65521 - [1657780904.262073][2741:2746] CHIP:TOO: FabricId: 3 - [1657780904.262096][2741:2746] CHIP:TOO: NodeId: 2 - [1657780904.262119][2741:2746] CHIP:TOO: Label: 1 - [1657780904.262141][2741:2746] CHIP:TOO: FabricIndex: 2 - [1657780904.262164][2741:2746] CHIP:TOO: } + [1657780904.261701][2741:2746] CHIP:TOO: Fabrics: 2 entries + [1657780904.261761][2741:2746] CHIP:TOO: [1]: { + [1657780904.261797][2741:2746] CHIP:TOO: RootPublicKey: 04100A4370AD71A180C267C29E364FC595A24A0D3CC2EC1A0595B2319E8E65D0BC1C7B62EBB0D91F7207CE306A094EAD0084A8A9359FC568D1279BDD275701F0ED + [1657780904.261840][2741:2746] CHIP:TOO: VendorId: 65521 + [1657780904.261865][2741:2746] CHIP:TOO: FabricId: 2 + [1657780904.261889][2741:2746] CHIP:TOO: NodeId: 1 + [1657780904.261913][2741:2746] CHIP:TOO: Label: + [1657780904.261937][2741:2746] CHIP:TOO: FabricIndex: 1 + [1657780904.261960][2741:2746] CHIP:TOO: } + [1657780904.261994][2741:2746] CHIP:TOO: [2]: { + [1657780904.262023][2741:2746] CHIP:TOO: RootPublicKey: 04BC41C77289C6CCE2752CA88DFE1C1A0EB3742B31A32D32C7185CAE22CC0665889702E82706F952524618EFC34A5462A08B793C5AC3C5B45E55598AD362975FFC + [1657780904.262049][2741:2746] CHIP:TOO: VendorId: 65521 + [1657780904.262073][2741:2746] CHIP:TOO: FabricId: 3 + [1657780904.262096][2741:2746] CHIP:TOO: NodeId: 2 + [1657780904.262119][2741:2746] CHIP:TOO: Label: 1 + [1657780904.262141][2741:2746] CHIP:TOO: FabricIndex: 2 + [1657780904.262164][2741:2746] CHIP:TOO: } [1657780904.262252][2741:2746] CHIP:EM: Sending Standalone Ack for MessageCounter:203207506 on exchange 27504i disabled: true @@ -333,33 +367,7 @@ tests: whose value is a list of structs which contain some fabric-sensitive data. Modify attribute1 on the DUT." verification: | - Please run this test in chip tool interactive mode ./chip-tool interactive start - - - Activate the subscription between RC1 and DUT for an attribute1 whose value is a list of structs which contain some fabric-sensitive data - - operationalcredentials subscribe nocs 10 100 1 0 - - [1657802879.008816][4548:4553] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0000 DataVersion: 567747175 - [1657802879.008927][4548:4553] CHIP:TOO: NOCs: 1 entries - [1657802879.009017][4548:4553] CHIP:TOO: [1]: { - [1657802879.009105][4548:4553] CHIP:TOO: Noc: 1530010101240201370324130118260480228127260580254D3A37062415012411011824070124080130094104EA61A44385992E365092182D59E3DAF164D2B2F1818B071779A8A0C8832720B52691E4100925D0427C7643BDB43D4ECBCF3D740B0DA0D5E00517143E88676E87370A350128011824020136030402040118300414668A31137585F054F68F571251E644FECF98BEEB3005142179BF06A074A00549577FF0F68071038C6019A118300B407E6F0AFEFAF6EA93D8F39B077C97F175B9C417E37816F229C39D2A36F46576E52787E4610075270222053BFDDE853F06EF52F5C4BCC1102A25F089AFA675200418 - [1657802879.009203][4548:4553] CHIP:TOO: Icac: 1530010100240201370324140018260480228127260580254D3A37062413011824070124080130094104E02FFF23357C6B135568AA3E456204672E5BDDF5B68B1A9B39E670E56B9982298B1BBEEBD9F3723C2B58944A11ACD9B2CD8DE7C94DC6FEEFA67E2CBF0A8CCDBC370A35012901182402603004142179BF06A074A00549577FF0F68071038C6019A130051474B77548C9D04E936F951F0775C7AE9F88AF9FA318300B405AB8763179CF1E865E20E19F81E1286EF7B9D417BDC85D536406230816A438EDB48E946D5821FE54D97D1C337505AA6DEC1746C884344A769F63E9DC8318186918 - [1657802879.009273][4548:4553] CHIP:TOO: FabricIndex: 1 - [1657802879.009329][4548:4553] CHIP:TOO: } - [1657802879.009426][4548:4553] CHIP:DMG: MoveToState ReadClient[0xffff7c008e40]: Moving to [AwaitingSu] - - Activate the subscription between RC2 and DUT for the same attribute1 whose value is a list of structs which contain some fabric-sensitive data. - operationalcredentials subscribe nocs 10 100 2 0 --commissioner-name beta - [1657803363.013803][5522:5527] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0000 DataVersion: 567747179 - [1657803363.013897][5522:5527] CHIP:TOO: NOCs: 1 entries - [1657803363.013971][5522:5527] CHIP:TOO: [1]: { - [1657803363.014015][5522:5527] CHIP:TOO: Noc: 1530010101240201370324130118260480228127260580254D3A37062415022411021824070124080130094104CBB7ECF6D0E5814461597F9EA23B2616F55CA3144225CAFDFA651E88C0C6E79B6E02A734F61F8DA0D0A286C9C6E3C786680E8419C505F07DF431D86F7D900A10370A350128011824020136030402040118300414FE58E8B6E61BD3B492E81DF99EC967B0C26BF711300514A75280F34A91D76EA45936672A84D498FB1D67B418300B40175ECC1BA10A4F90D408468F4E212534B74537AE0178B22E05DBD14048748AD50CB7C5324FFE28356E7D37717384EA500B9B6423D12E64D3B825C4E72CCE199918 - [1657803363.014077][5522:5527] CHIP:TOO: Icac: 1530010100240201370324140018260480228127260580254D3A3706241301182407012408013009410434E10386BC3B08489513C394AC3EFB2151EEAEFC929D157586DD31838D79A2FCED41CCB036D312EBBC879504CA7C5889E447E1F602141F9C9531D6A3178A0B91370A3501290118240260300414A75280F34A91D76EA45936672A84D498FB1D67B43005144DC5ED208AA1EEC31D5C5A52F95EAC45FE6AFA0D18300B40702DEDF1A21987C4675D53F050024AC51BE975CCAC09BC6398522FF337E023AA20185E9D68D7CA22A26B937FD4A9644015AF75EAAB2F43E8415E17F698A48CEA18 - [1657803363.014113][5522:5527] CHIP:TOO: FabricIndex: 2 - [1657803363.014141][5522:5527] CHIP:TOO: } - [1657803363.014189][5522:5527] CHIP:DMG: MoveToState ReadClient[0xffff6c008e70]: Moving to [AwaitingSu] - [1657803363.014248][5522:5527] CHIP:EM: Piggybacking Ack for MessageCounter:84457338 on exchange: 56555i + DUT implementation required to verify the list of structs which contain some fabric-sensitive data disabled: true - label: @@ -368,117 +376,203 @@ tests: same Event1 which is fabric sensitive. Trigger Event1 on DUT on the fabric where RC1 is present." verification: | - Please run this test in chip tool interactive mode ./chip-tool interactive start - - - Activate the subscription between RC1 and DUT for an Event1 which is fabric sensitive - accesscontrol subscribe-event access-control-entry-changed 20 500 1 0 + Please run this test in chip tool interactive mode ./chip-tool interactive start + #1 : Activate the subscription between RC1 and DUT for an Event1 which is fabric sensitive by sending below command + accesscontrol subscribe-event access-control-entry-changed 100 500 1 0 [1657887424.932830][3496:3501] CHIP:DMG: } [1657887424.933020][3496:3501] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Event 0x0000_0000 - [1657887424.933049][3496:3501] CHIP:TOO: Event number: 1 - [1657887424.933075][3496:3501] CHIP:TOO: Priority: Info - [1657887424.933100][3496:3501] CHIP:TOO: Timestamp: 10640831 - [1657887424.933204][3496:3501] CHIP:TOO: AccessControlEntryChanged: { - [1657887424.933247][3496:3501] CHIP:TOO: AdminNodeID: null - [1657887424.933287][3496:3501] CHIP:TOO: AdminPasscodeID: 0 - [1657887424.933315][3496:3501] CHIP:TOO: ChangeType: 1 - [1657887424.933342][3496:3501] CHIP:TOO: LatestValue: { - [1657887424.933368][3496:3501] CHIP:TOO: Privilege: 5 - [1657887424.933395][3496:3501] CHIP:TOO: AuthMode: 2 - [1657887424.933426][3496:3501] CHIP:TOO: Subjects: 1 entries - [1657887424.933460][3496:3501] CHIP:TOO: [1]: 112233 - [1657887424.933489][3496:3501] CHIP:TOO: Targets: null - [1657887424.933515][3496:3501] CHIP:TOO: FabricIndex: 1 - [1657887424.933541][3496:3501] CHIP:TOO: } - [1657887424.933567][3496:3501] CHIP:TOO: AdminFabricIndex: 1 - [1657887424.933593][3496:3501] CHIP:TOO: } + [1657887424.933049][3496:3501] CHIP:TOO: Event number: 1 + [1657887424.933075][3496:3501] CHIP:TOO: Priority: Info + [1657887424.933100][3496:3501] CHIP:TOO: Timestamp: 10640831 + [1657887424.933204][3496:3501] CHIP:TOO: AccessControlEntryChanged: { + [1657887424.933247][3496:3501] CHIP:TOO: AdminNodeID: null + [1657887424.933287][3496:3501] CHIP:TOO: AdminPasscodeID: 0 + [1657887424.933315][3496:3501] CHIP:TOO: ChangeType: 1 + [1657887424.933342][3496:3501] CHIP:TOO: LatestValue: { + [1657887424.933368][3496:3501] CHIP:TOO: Privilege: 5 + [1657887424.933395][3496:3501] CHIP:TOO: AuthMode: 2 + [1657887424.933426][3496:3501] CHIP:TOO: Subjects: 1 entries + [1657887424.933460][3496:3501] CHIP:TOO: [1]: 112233 + [1657887424.933489][3496:3501] CHIP:TOO: Targets: null + [1657887424.933515][3496:3501] CHIP:TOO: FabricIndex: 1 + [1657887424.933541][3496:3501] CHIP:TOO: } + [1657887424.933567][3496:3501] CHIP:TOO: AdminFabricIndex: 1 + [1657887424.933593][3496:3501] CHIP:TOO: } [1657887424.933661][3496:3501] CHIP:DMG: MoveToState ReadClient[0xffff940091f0]: Moving to [AwaitingSu] [1657887424.933717][3496:3501] CHIP:EM: Piggybacking Ack for MessageCounter:100554100 on exchange: 44633i + Please run this test in chip tool interactive mode ./chip-tool interactive start --commissioner-name beta - Activate the subscription between RC2 and DUT for an Event1 which is fabric sensitive - accesscontrol subscribe-event access-control-entry-changed 20 700 2 0 --commissioner-name beta + #2: Activate the subscription between RC2 and DUT for an Event1 which is fabric sensitive by sending below command + accesscontrol subscribe-event access-control-entry-changed 100 700 2 0 --commissioner-name beta --keepSubscriptions 1 [1657887441.417553][2862:2867] CHIP:DMG: } [1657887441.417766][2862:2867] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Event 0x0000_0000 - [1657887441.417796][2862:2867] CHIP:TOO: Event number: 2 - [1657887441.417822][2862:2867] CHIP:TOO: Priority: Info - [1657887441.417849][2862:2867] CHIP:TOO: Timestamp: 13545202 - [1657887441.417964][2862:2867] CHIP:TOO: AccessControlEntryChanged: { - [1657887441.418020][2862:2867] CHIP:TOO: AdminNodeID: null - [1657887441.418061][2862:2867] CHIP:TOO: AdminPasscodeID: 0 - [1657887441.418090][2862:2867] CHIP:TOO: ChangeType: 1 - [1657887441.418128][2862:2867] CHIP:TOO: LatestValue: { - [1657887441.418156][2862:2867] CHIP:TOO: Privilege: 5 - [1657887441.418193][2862:2867] CHIP:TOO: AuthMode: 2 - [1657887441.418228][2862:2867] CHIP:TOO: Subjects: 1 entries - [1657887441.418273][2862:2867] CHIP:TOO: [1]: 112233 - [1657887441.418305][2862:2867] CHIP:TOO: Targets: null - [1657887441.418344][2862:2867] CHIP:TOO: FabricIndex: 2 - [1657887441.418371][2862:2867] CHIP:TOO: } - [1657887441.418409][2862:2867] CHIP:TOO: AdminFabricIndex: 2 - [1657887441.418436][2862:2867] CHIP:TOO: } + [1657887441.417796][2862:2867] CHIP:TOO: Event number: 2 + [1657887441.417822][2862:2867] CHIP:TOO: Priority: Info + [1657887441.417849][2862:2867] CHIP:TOO: Timestamp: 13545202 + [1657887441.417964][2862:2867] CHIP:TOO: AccessControlEntryChanged: { + [1657887441.418020][2862:2867] CHIP:TOO: AdminNodeID: null + [1657887441.418061][2862:2867] CHIP:TOO: AdminPasscodeID: 0 + [1657887441.418090][2862:2867] CHIP:TOO: ChangeType: 1 + [1657887441.418128][2862:2867] CHIP:TOO: LatestValue: { + [1657887441.418156][2862:2867] CHIP:TOO: Privilege: 5 + [1657887441.418193][2862:2867] CHIP:TOO: AuthMode: 2 + [1657887441.418228][2862:2867] CHIP:TOO: Subjects: 1 entries + [1657887441.418273][2862:2867] CHIP:TOO: [1]: 112233 + [1657887441.418305][2862:2867] CHIP:TOO: Targets: null + [1657887441.418344][2862:2867] CHIP:TOO: FabricIndex: 2 + [1657887441.418371][2862:2867] CHIP:TOO: } + [1657887441.418409][2862:2867] CHIP:TOO: AdminFabricIndex: 2 + [1657887441.418436][2862:2867] CHIP:TOO: } [1657887441.418517][2862:2867] CHIP:DMG: MoveToState ReadClient[0xffff74009260]: Moving to [AwaitingSu] [1657887441.418591][2862:2867] CHIP:EM: Piggybacking Ack for MessageCounter:217452290 on exchange: 44658i - From RC1 send a Write Request message to the DUT to write to an entry in the fabric scoped list associated with its own fabric. - accesscontrol write acl "[{"fabricIndex": 1, "privilege": 5, "authMode": 2, "subjects": [112233], "targets":[{ "cluster": 3, "endpoint": 1, "deviceType": null }]}]" 1 0 - [1658231022.614323][2305:2310] CHIP:DMG: } - [1658231022.614489][2305:2310] CHIP:TOO: Response Failure: IM Error 0x0000057E: General error: 0x7e (UNSUPPORTED_ACCESS) - [1658231022.614598][2305:2310] CHIP:TOO: Response Failure: IM Error 0x0000057E: General error: 0x7e (UNSUPPORTED_ACCESS) - [1658231022.614699][2305:2310] CHIP:TOO: Response Failure: IM Error 0x0000057E: General error: 0x7e (UNSUPPORTED_ACCESS) - [1658231022.614795][2305:2310] CHIP:DMG: MoveToState ReadClient[0xffff88008e70]: Moving to [AwaitingSu] - [1658231022.614873][2305:2310] CHIP:EM: Piggybacking Ack for MessageCounter:177580574 on exchange: 34289i - [1658231022.614987][2305:2310] CHIP:IN: Prepared secure message 0xffff880057e8 to 0x0000000000000001 (1) of type 0x1 and protocolId (0, 1) on exchange 34289i with MessageCounter:134890885. - [1658231022.615047][2305:2310] CHIP:IN: Sending encrypted msg 0xffff880057e8 with MessageCounter:134890885 to 0x0000000000000001 (1) at monotonic time: 00000000000C7D98 msec - [1658231022.616881][2305:2310] CHIP:EM: Received message of type 0x4 with protocolId (0, 1) and MessageCounter:177580575 on exchange 34289i - [1658231022.616932][2305:2310] CHIP:EM: Found matching exchange: 34289i, Delegate: 0xffff88008e70 - [1658231022.616983][2305:2310] CHIP:EM: Rxd Ack; Removing MessageCounter:134890885 from Retrans Table on exchange 34289i - [1658231022.617023][2305:2310] CHIP:EM: Removed CHIP MessageCounter:134890885 from RetransTable on exchange 34289i - [1658231022.617085][2305:2310] CHIP:DMG: SubscribeResponseMessage = - [1658231022.617129][2305:2310] CHIP:DMG: { - [1658231022.617169][2305:2310] CHIP:DMG: SubscriptionId = 0x1cf72de7, - [1658231022.617214][2305:2310] CHIP:DMG: MaxInterval = 0x1f4, - [1658231022.617257][2305:2310] CHIP:DMG: InteractionModelRevision = 1 - [1658231022.617297][2305:2310] CHIP:DMG: } - [1658231022.617340][2305:2310] CHIP:DMG: Subscription established with SubscriptionID = 0x1cf72de7 MinInterval = 20s MaxInterval = 500s Peer = 01:0000000000000001 - - ON RC1 Verify that the DUT sends a response - [1658231053.511709][10291:10296] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Event 0x0000_0000 - [1658231053.511772][10291:10296] CHIP:TOO: Event number: 3 - [1658231053.511828][10291:10296] CHIP:TOO: Priority: Info - [1658231053.511879][10291:10296] CHIP:TOO: Timestamp: 386270 - [1658231053.511997][10291:10296] CHIP:TOO: AccessControlEntryChanged: { - [1658231053.512038][10291:10296] CHIP:TOO: AdminNodeID: null - [1658231053.512076][10291:10296] CHIP:TOO: AdminPasscodeID: 0 - [1658231053.512183][10291:10296] CHIP:TOO: ChangeType: 1 - [1658231053.512222][10291:10296] CHIP:TOO: LatestValue: { - [1658231053.512256][10291:10296] CHIP:TOO: Privilege: 5 - [1658231053.512291][10291:10296] CHIP:TOO: AuthMode: 2 - [1658231053.512333][10291:10296] CHIP:TOO: Subjects: 1 entries - [1658231053.512376][10291:10296] CHIP:TOO: [1]: 112233 - [1658231053.512415][10291:10296] CHIP:TOO: Targets: null - [1658231053.512450][10291:10296] CHIP:TOO: FabricIndex: 2 - [1658231053.512484][10291:10296] CHIP:TOO: } - [1658231053.512519][10291:10296] CHIP:TOO: AdminFabricIndex: 2 - [1658231053.512553][10291:10296] CHIP:TOO: } - [1658231053.512642][10291:10296] CHIP:DMG: MoveToState ReadClient[0xffff98009000]: Moving to [AwaitingSu] - [1658231053.512715][10291:10296] CHIP:EM: Piggybacking Ack for MessageCounter:36331302 on exchange: 58513i - [1658231053.512799][10291:10296] CHIP:IN: Prepared secure message 0xaaaac4ba0828 to 0x0000000000000002 (2) of type 0x1 and protocolId (0, 1) on exchange 58513i with MessageCounter:160830417. - [1658231053.512853][10291:10296] CHIP:IN: Sending encrypted msg 0xaaaac4ba0828 with MessageCounter:160830417 to 0x0000000000000002 (2) at monotonic time: 0000000001A6A793 msec - [1658231053.514813][10291:10296] CHIP:EM: Received message of type 0x4 with protocolId (0, 1) and MessageCounter:36331303 on exchange 58513i - [1658231053.514863][10291:10296] CHIP:EM: Found matching exchange: 58513i, Delegate: 0xffff98009000 - [1658231053.514909][10291:10296] CHIP:EM: Rxd Ack; Removing MessageCounter:160830417 from Retrans Table on exchange 58513i - [1658231053.514946][10291:10296] CHIP:EM: Removed CHIP MessageCounter:160830417 from RetransTable on exchange 58513i - [1658231053.515006][10291:10296] CHIP:DMG: SubscribeResponseMessage = - [1658231053.515046][10291:10296] CHIP:DMG: { - [1658231053.515082][10291:10296] CHIP:DMG: SubscriptionId = 0x8260b5, - [1658231053.515121][10291:10296] CHIP:DMG: MaxInterval = 0x2bc, - [1658231053.515160][10291:10296] CHIP:DMG: InteractionModelRevision = 1 - [1658231053.515195][10291:10296] CHIP:DMG: } - [1658231053.515235][10291:10296] CHIP:DMG: Subscription established with SubscriptionID = 0x008260b5 MinInterval = 20s MaxInterval = 700s Peer = 02:0000000000000002 + #3: From RC1 send a Write Request message to the DUT to write to an entry in the fabric scoped list associated with its own fabric. + accesscontrol write acl "[{"fabricIndex": 1, "privilege": 5, "authMode": 2, "subjects": [112233], "targets":[{ "cluster": 31, "endpoint": 0, "deviceType": null }]}]" 1 0 + ON RC1 Verify that the DUT sends a changed report data + [1660742282.279163][9069:9074] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Event 0x0000_0000 + [1660742282.279187][9069:9074] CHIP:TOO: Event number: 3 + [1660742282.279205][9069:9074] CHIP:TOO: Priority: Info + [1660742282.279222][9069:9074] CHIP:TOO: Timestamp: 26626774 + [1660742282.279281][9069:9074] CHIP:TOO: AccessControlEntryChanged: { + [1660742282.279305][9069:9074] CHIP:TOO: AdminNodeID: null + [1660742282.279341][9069:9074] CHIP:TOO: AdminPasscodeID: 0 + [1660742282.279363][9069:9074] CHIP:TOO: ChangeType: 1 + [1660742282.279383][9069:9074] CHIP:TOO: LatestValue: { + [1660742282.279413][9069:9074] CHIP:TOO: Privilege: 5 + [1660742282.279435][9069:9074] CHIP:TOO: AuthMode: 2 + [1660742282.279468][9069:9074] CHIP:TOO: Subjects: 1 entries + [1660742282.279495][9069:9074] CHIP:TOO: [1]: 112233 + [1660742282.279518][9069:9074] CHIP:TOO: Targets: null + [1660742282.279547][9069:9074] CHIP:TOO: FabricIndex: 1 + [1660742282.279568][9069:9074] CHIP:TOO: } + [1660742282.279588][9069:9074] CHIP:TOO: FabricIndex: 1 + [1660742282.279617][9069:9074] CHIP:TOO: } + [1660742282.279726][9069:9074] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Event 0x0000_0000 + [1660742282.279755][9069:9074] CHIP:TOO: Event number: 5 + [1660742282.279772][9069:9074] CHIP:TOO: Priority: Info + [1660742282.279789][9069:9074] CHIP:TOO: Timestamp: 26726736 + [1660742282.279823][9069:9074] CHIP:TOO: AccessControlEntryChanged: { + [1660742282.279846][9069:9074] CHIP:TOO: AdminNodeID: 112233 + [1660742282.279875][9069:9074] CHIP:TOO: AdminPasscodeID: null + [1660742282.279897][9069:9074] CHIP:TOO: ChangeType: 2 + [1660742282.279917][9069:9074] CHIP:TOO: LatestValue: { + [1660742282.279945][9069:9074] CHIP:TOO: Privilege: 5 + [1660742282.279966][9069:9074] CHIP:TOO: AuthMode: 2 + [1660742282.279989][9069:9074] CHIP:TOO: Subjects: 1 entries + [1660742282.280020][9069:9074] CHIP:TOO: [1]: 112233 + [1660742282.280043][9069:9074] CHIP:TOO: Targets: null + [1660742282.280063][9069:9074] CHIP:TOO: FabricIndex: 1 + [1660742282.280091][9069:9074] CHIP:TOO: } + [1660742282.280110][9069:9074] CHIP:TOO: FabricIndex: 1 + [1660742282.280138][9069:9074] CHIP:TOO: } + [1660742282.280258][9069:9074] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Event 0x0000_0000 + [1660742282.280279][9069:9074] CHIP:TOO: Event number: 6 + [1660742282.280296][9069:9074] CHIP:TOO: Priority: Info + [1660742282.280313][9069:9074] CHIP:TOO: Timestamp: 26726740 + [1660742282.280349][9069:9074] CHIP:TOO: AccessControlEntryChanged: { + [1660742282.280371][9069:9074] CHIP:TOO: AdminNodeID: 112233 + [1660742282.280402][9069:9074] CHIP:TOO: AdminPasscodeID: null + [1660742282.280423][9069:9074] CHIP:TOO: ChangeType: 1 + [1660742282.280442][9069:9074] CHIP:TOO: LatestValue: { + [1660742282.280470][9069:9074] CHIP:TOO: Privilege: 5 + [1660742282.280490][9069:9074] CHIP:TOO: AuthMode: 2 + [1660742282.280513][9069:9074] CHIP:TOO: 660742282.279281][9069:9074] CHIP:TOO: AccessControlEntryChanged: { + [1660742282.279305][9069:9074] CHIP:TOO: AdminNodeID: null + [1660742282.279341][9069:9074] CHIP:TOO: AdminPasscodeID: 0 + [1660742282.279363][9069:9074] CHIP:TOO: ChangeType: 1 + [1660742282.279383][9069:9074] CHIP:TOO: LatestValue: { + [1660742282.279413][9069:9074] CHIP:TOO: Privilege: 5 + [1660742282.279435][9069:9074] CHIP:TOO: AuthMode: 2 + [1660742282.279468][9069:9074] CHIP:TOO: Subjects: 1 entries + [1660742282.279495][9069:9074] CHIP:TOO: [1]: 112233 + [1660742282.279518][9069:9074] CHIP:TOO: Targets: null + [1660742282.279547][9069:9074] CHIP:TOO: FabricIndex: 1 + [1660742282.279568][9069:9074] CHIP:TOO: } + [1660742282.279588][9069:9074] CHIP:TOO: FabricIndex: 1 + [1660742282.279617][9069:9074] CHIP:TOO: } + [1660742282.279726][9069:9074] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Event 0x0000_0000 + [1660742282.279755][9069:9074] CHIP:TOO: Event number: 5 + [1660742282.279772][9069:9074] CHIP:TOO: Priority: Info + [1660742282.279789][9069:9074] CHIP:TOO: Timestamp: 26726736 + [1660742282.279823][9069:9074] CHIP:TOO: AccessControlEntryChanged: { + [1660742282.279846][9069:9074] CHIP:TOO: AdminNodeID: 112233 + [1660742282.279875][9069:9074] CHIP:TOO: AdminPasscodeID: null + [1660742282.279897][9069:9074] CHIP:TOO: ChangeType: 2 + [1660742282.279917][9069:9074] CHIP:TOO: LatestValue: { + [1660742282.279945][9069:9074] CHIP:TOO: Privilege: 5 + [1660742282.279966][9069:9074] CHIP:TOO: AuthMode: 2 + [1660742282.279989][9069:9074] CHIP:TOO: Subjects: 1 entries + [1660742282.280020][9069:9074] CHIP:TOO: [1]: 112233 + [1660742282.280043][9069:9074] CHIP:TOO: Targets: null + [1660742282.280063][9069:9074] CHIP:TOO: FabricIndex: 1 + [1660742282.280091][9069:9074] CHIP:TOO: } + [1660742282.280110][9069:9074] CHIP:TOO: FabricIndex: 1 + [1660742282.280138][9069:9074] CHIP:TOO: } + [1660742282.280258][9069:9074] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Event 0x0000_0000 + [1660742282.280279][9069:9074] CHIP:TOO: Event number: 6 + [1660742282.280296][9069:9074] CHIP:TOO: Priority: Info + [1660742282.280313][9069:9074] CHIP:TOO: Timestamp: 26726740 + [1660742282.280349][9069:9074] CHIP:TOO: AccessControlEntryChanged: { + [1660742282.280371][9069:9074] CHIP:TOO: AdminNodeID: 112233 + [1660742282.280402][9069:9074] CHIP:TOO: AdminPasscodeID: null + [1660742282.280423][9069:9074] CHIP:TOO: ChangeType: 1 + [1660742282.280442][9069:9074] CHIP:TOO: LatestValue: { + [1660742282.280470][9069:9074] CHIP:TOO: Privilege: 5 + [1660742282.280490][9069:9074] CHIP:TOO: AuthMode: 2 + [1660742282.280513][9069:9074] CHIP:TOO: Subjects: 2 entries + [1660742282.280543][9069:9074] CHIP:TOO: [1]: 1 + [1660742282.280565][9069:9074] CHIP:TOO: [2]: 112233 + [1660742282.280598][9069:9074] CHIP:TOO: Targets: 1 entries + [1660742282.280631][9069:9074] CHIP:TOO: [1]: { + [1660742282.280662][9069:9074] CHIP:TOO: Cluster: 31 + [1660742282.280684][9069:9074] CHIP:TOO: Endpoint: 0 + [1660742282.280705][9069:9074] CHIP:TOO: DeviceType: null + [1660742282.280735][9069:9074] CHIP:TOO: } + [1660742282.280758][9069:9074] CHIP:TOO: FabricIndex: 1 + [1660742282.280778][9069:9074] CHIP:TOO: } + [1660742282.280807][9069:9074] CHIP:TOO: FabricIndex: 1 + [1660742282.280838][9069:9074] CHIP:TOO: } Subjects: 2 entries + [1660742282.280543][9069:9074] CHIP:TOO: [1]: 1 + [1660742282.280565][9069:9074] CHIP:TOO: [2]: 112233 + [1660742282.280598][9069:9074] CHIP:TOO: Targets: 1 entries + [1660742282.280631][9069:9074] CHIP:TOO: [1]: { + [1660742282.280662][9069:9074] CHIP:TOO: Cluster: 31 + [1660742282.280684][9069:9074] CHIP:TOO: Endpoint: 0 + [1660742282.280705][9069:9074] CHIP:TOO: DeviceType: null + [1660742282.280735][9069:9074] CHIP:TOO: } + [1660742282.280758][9069:9074] CHIP:TOO: FabricIndex: 1 + [1660742282.280778][9069:9074] CHIP:TOO: } + [1660742282.280807][9069:9074] CHIP:TOO: FabricIndex: 1 + [1660742282.280838][9069:9074] CHIP:TOO: } + [1660742282.280940][9069:9074] CHIP:DMG: MoveToState ReadClient[0xffff7000ce70]: Moving to [AwaitingSu] + + + ON RC2 Verify that the DUT sends a response remains same as in sub-step #2 + [1660742276.568516][17561:17566] CHIP:DMG: } + [1660742276.568676][17561:17566] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Event 0x0000_0000 + [1660742276.568688][17561:17566] CHIP:TOO: Event number: 2 + [1660742276.568697][17561:17566] CHIP:TOO: Priority: Info + [1660742276.568705][17561:17566] CHIP:TOO: Timestamp: 26641130 + [1660742276.568745][17561:17566] CHIP:TOO: AccessControlEntryChanged: { + [1660742276.568757][17561:17566] CHIP:TOO: AdminNodeID: null + [1660742276.568770][17561:17566] CHIP:TOO: AdminPasscodeID: 0 + [1660742276.568782][17561:17566] CHIP:TOO: ChangeType: 1 + [1660742276.568792][17561:17566] CHIP:TOO: LatestValue: { + [1660742276.568803][17561:17566] CHIP:TOO: Privilege: 5 + [1660742276.568813][17561:17566] CHIP:TOO: AuthMode: 2 + [1660742276.568828][17561:17566] CHIP:TOO: Subjects: 1 entries + [1660742276.568844][17561:17566] CHIP:TOO: [1]: 112233 + [1660742276.568856][17561:17566] CHIP:TOO: Targets: null + [1660742276.568867][17561:17566] CHIP:TOO: FabricIndex: 2 + [1660742276.568877][17561:17566] CHIP:TOO: } + [1660742276.568887][17561:17566] CHIP:TOO: FabricIndex: 2 + [1660742276.568897][17561:17566] CHIP:TOO: } + [1660742276.568954][17561:17566] CHIP:DMG: MoveToState ReadClient[0x7f8624024eb0]: Moving to [AwaitingSu] + [1660742276.568986][17561:17566] CHIP:EM: Piggybacking Ack for MessageCounter:39674556 on exchange: 26542i disabled: true - label: @@ -486,125 +580,7 @@ tests: path where an event in the path is fabric-sensitive and the associated fabric does not match the accessing fabric." verification: | - Please run this test in chip tool interactive mode ./chip-tool interactive start - - - Activate the subscription between RC1 and DUT for an Event1 which is fabric sensitive - accesscontrol subscribe-event access-control-entry-changed 1 20 1 0 - [1659010068.961559][7928:7933] CHIP:DMG: } - [1659010068.961735][7928:7933] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Event 0x0000_0000 - [1659010068.961767][7928:7933] CHIP:TOO: Event number: 2 - [1659010068.961795][7928:7933] CHIP:TOO: Priority: Info - [1659010068.961822][7928:7933] CHIP:TOO: Timestamp: 12513658 - [1659010068.961889][7928:7933] CHIP:TOO: AccessControlEntryChanged: { - [1659010068.961923][7928:7933] CHIP:TOO: AdminNodeID: null - [1659010068.961955][7928:7933] CHIP:TOO: AdminPasscodeID: 0 - [1659010068.961985][7928:7933] CHIP:TOO: ChangeType: 1 - [1659010068.962014][7928:7933] CHIP:TOO: LatestValue: { - [1659010068.962042][7928:7933] CHIP:TOO: Privilege: 5 - [1659010068.962071][7928:7933] CHIP:TOO: AuthMode: 2 - [1659010068.962106][7928:7933] CHIP:TOO: Subjects: 1 entries - [1659010068.962142][7928:7933] CHIP:TOO: [1]: 112233 - [1659010068.962174][7928:7933] CHIP:TOO: Targets: null - [1659010068.962203][7928:7933] CHIP:TOO: FabricIndex: 1 - [1659010068.962231][7928:7933] CHIP:TOO: } - [1659010068.962260][7928:7933] CHIP:TOO: AdminFabricIndex: 1 - [1659010068.962288][7928:7933] CHIP:TOO: } - [1659010068.962363][7928:7933] CHIP:DMG: MoveToState ReadClient[0xffffa0009e00]: Moving to [AwaitingSu] - [1659010068.962424][7928:7933] CHIP:EM: Piggybacking Ack for MessageCounter:119024590 on exchange: 58655i - - Activate the subscription between RC2 and DUT for an Event1 which is fabric sensitive - accesscontrol subscribe-event access-control-entry-changed 1 20 2 0 - [1659009987.167510][5306:5311] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Event 0x0000_0000 - [1659009987.167555][5306:5311] CHIP:TOO: Event number: 3 - [1659009987.167583][5306:5311] CHIP:TOO: Priority: Info - [1659009987.167612][5306:5311] CHIP:TOO: Timestamp: 12804805 - [1659009987.167767][5306:5311] CHIP:TOO: AccessControlEntryChanged: { - [1659009987.168574][5306:5311] CHIP:TOO: AdminNodeID: null - [1659009987.168622][5306:5311] CHIP:TOO: AdminPasscodeID: 0 - [1659009987.168653][5306:5311] CHIP:TOO: ChangeType: 1 - [1659009987.168683][5306:5311] CHIP:TOO: LatestValue: { - [1659009987.168755][5306:5311] CHIP:TOO: Privilege: 5 - [1659009987.168786][5306:5311] CHIP:TOO: AuthMode: 2 - [1659009987.168824][5306:5311] CHIP:TOO: Subjects: 1 entries - [1659009987.168861][5306:5311] CHIP:TOO: [1]: 112233 - [1659009987.168892][5306:5311] CHIP:TOO: Targets: null - [1659009987.168921][5306:5311] CHIP:TOO: FabricIndex: 2 - [1659009987.168949][5306:5311] CHIP:TOO: } - [1659009987.168978][5306:5311] CHIP:TOO: AdminFabricIndex: 2 - [1659009987.169006][5306:5311] CHIP:TOO: } - [1659009987.169089][5306:5311] CHIP:DMG: MoveToState ReadClient[0xffff98009f00]: Moving to [AwaitingSu] - [1659009987.169168][5306:5311] CHIP:EM: Piggybacking Ack for MessageCounter:217147877 on exchange: 52695i - - - From RC2 send a Write Request message to the DUT to write to an entry in the fabric scoped list associated with its own fabric. - accesscontrol write acl "[{"fabricIndex": 1, "privilege": 5, "authMode": 2, "subjects": [112233,1111], "targets":null},{"fabricIndex": 1, "privilege": 3, "authMode": 3, "subjects": [3333], "targets":null}]" 2 0 - [1659010027.191655][5306:5311] CHIP:DMG: } - [1659010027.191874][5306:5311] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Event 0x0000_0000 - [1659010027.191902][5306:5311] CHIP:TOO: Event number: 4 - [1659010027.191925][5306:5311] CHIP:TOO: Priority: Info - [1659010027.191947][5306:5311] CHIP:TOO: Timestamp: 14468055 - [1659010027.192010][5306:5311] CHIP:TOO: AccessControlEntryChanged: { - [1659010027.192077][5306:5311] CHIP:TOO: AdminNodeID: 112233 - [1659010027.192102][5306:5311] CHIP:TOO: AdminPasscodeID: null - [1659010027.192127][5306:5311] CHIP:TOO: ChangeType: 2 - [1659010027.192150][5306:5311] CHIP:TOO: LatestValue: { - [1659010027.192173][5306:5311] CHIP:TOO: Privilege: 5 - [1659010027.192197][5306:5311] CHIP:TOO: AuthMode: 2 - [1659010027.192225][5306:5311] CHIP:TOO: Subjects: 1 entries - [1659010027.192254][5306:5311] CHIP:TOO: [1]: 112233 - [1659010027.192280][5306:5311] CHIP:TOO: Targets: null - [1659010027.192303][5306:5311] CHIP:TOO: FabricIndex: 2 - [1659010027.192326][5306:5311] CHIP:TOO: } - [1659010027.192349][5306:5311] CHIP:TOO: AdminFabricIndex: 2 - [1659010027.192372][5306:5311] CHIP:TOO: } - [1659010027.192489][5306:5311] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Event 0x0000_0000 - [1659010027.192513][5306:5311] CHIP:TOO: Event number: 5 - [1659010027.192535][5306:5311] CHIP:TOO: Priority: Info - [1659010027.192557][5306:5311] CHIP:TOO: Timestamp: 14468057 - [1659010027.192597][5306:5311] CHIP:TOO: AccessControlEntryChanged: { - [1659010027.192623][5306:5311] CHIP:TOO: AdminNodeID: 112233 - [1659010027.192646][5306:5311] CHIP:TOO: AdminPasscodeID: null - [1659010027.192669][5306:5311] CHIP:TOO: ChangeType: 1 - [1659010027.192692][5306:5311] CHIP:TOO: LatestValue: { - [1659010027.192715][5306:5311] CHIP:TOO: Privilege: 5 - [1659010027.192737][5306:5311] CHIP:TOO: AuthMode: 2 - [1659010027.192764][5306:5311] CHIP:TOO: Subjects: 2 entries - [1659010027.192791][5306:5311] CHIP:TOO: [1]: 112233 - [1659010027.192816][5306:5311] CHIP:TOO: [2]: 1111 - [1659010027.192841][5306:5311] CHIP:TOO: Targets: null - [1659010027.192864][5306:5311] CHIP:TOO: FabricIndex: 2 - [1659010027.192886][5306:5311] CHIP:TOO: } - [1659010027.192909][5306:5311] CHIP:TOO: AdminFabricIndex: 2 - [1659010027.192931][5306:5311] CHIP:TOO: } - [1659010027.193044][5306:5311] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Event 0x0000_0000 - [1659010027.193068][5306:5311] CHIP:TOO: Event number: 6 - [1659010027.193090][5306:5311] CHIP:TOO: Priority: Info - [1659010027.193112][5306:5311] CHIP:TOO: Timestamp: 14468058 - [1659010027.193151][5306:5311] CHIP:TOO: AccessControlEntryChanged: { - [1659010027.193176][5306:5311] CHIP:TOO: AdminNodeID: 112233 - [1659010027.193199][5306:5311] CHIP:TOO: AdminPasscodeID: null - [1659010027.193222][5306:5311] CHIP:TOO: ChangeType: 1 - [1659010027.193245][5306:5311] CHIP:TOO: LatestValue: { - [1659010027.193267][5306:5311] CHIP:TOO: Privilege: 3 - [1659010027.193290][5306:5311] CHIP:TOO: AuthMode: 3 - [1659010027.193372][5306:5311] CHIP:TOO: Subjects: 1 entries - [1659010027.193401][5306:5311] CHIP:TOO: [1]: 3333 - [1659010027.193426][5306:5311] CHIP:TOO: Targets: null - [1659010027.193450][5306:5311] CHIP:TOO: FabricIndex: 2 - [1659010027.193472][5306:5311] CHIP:TOO: } - [1659010027.193495][5306:5311] CHIP:TOO: AdminFabricIndex: 2 - [1659010027.193518][5306:5311] CHIP:TOO: } - [1659010027.193624][5306:5311] CHIP:DMG: Refresh LivenessCheckTime for 45000 milliseconds with SubscriptionId = 0xa89e20c1 Peer = 01:0000000000000002 - [1659010027.193682][5306:5311] CHIP:EM: Piggybacking Ack for MessageCounter:217147882 on exchange: 27524r - - On RC1 verify that DUT sends a Report Data Message with no entry for that event in EventReports list. - [1659011129.062422][7928:7933] CHIP:DMG: ReportDataMessage = - [1659011129.062495][7928:7933] CHIP:DMG: { - [1659011129.062558][7928:7933] CHIP:DMG: SubscriptionId = 0x3af80a9c, - [1659011129.062625][7928:7933] CHIP:DMG: InteractionModelRevision = 1 - [1659011129.062687][7928:7933] CHIP:DMG: } - [1659011129.062823][7928:7933] CHIP:DMG: Refresh LivenessCheckTime for 45000 milliseconds with SubscriptionId = 0x3af80a9c Peer = 01:0000000000000001 + Mark this as not testable /NA. Out of Scope for V1.1 disabled: true - label: diff --git a/src/app/tests/suites/certification/Test_TC_LCFG_2_1.yaml b/src/app/tests/suites/certification/Test_TC_LCFG_2_1.yaml index 45e15fe6bfd33d..67facdbb55b9f1 100644 --- a/src/app/tests/suites/certification/Test_TC_LCFG_2_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_LCFG_2_1.yaml @@ -32,16 +32,17 @@ tests: ./chip-tool localizationconfiguration read supported-locales 1 0 On TH(chip-tool) verify that the entry values in the SupportedLocales attribute are not repeated - [1651129546.170573][174082:174087] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_002B Attribute 0x0000_0002 DataVersion: 3111654481 - [1651129546.170622][174082:174087] CHIP:TOO: SupportedLocales: 8 entries - [1651129546.170636][174082:174087] CHIP:TOO: [1]: en-US - [1651129546.170647][174082:174087] CHIP:TOO: [2]: de-DE - [1651129546.170656][174082:174087] CHIP:TOO: [3]: fr-FR - [1651129546.170664][174082:174087] CHIP:TOO: [4]: en-GB - [1651129546.170672][174082:174087] CHIP:TOO: [5]: es-ES - [1651129546.170681][174082:174087] CHIP:TOO: [6]: zh-CN - [1651129546.170689][174082:174087] CHIP:TOO: [7]: it-IT - [1651129546.170697][174082:174087] CHIP:TOO: [8]: ja-JP + [1661759583.481746][104665:104670] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_002B Attribute 0x0000_0001 DataVersion: 3207653748 + [1661759583.482016][104665:104670] CHIP:TOO: SupportedLocales: 8 entries + [1661759583.482037][104665:104670] CHIP:TOO: [1]: en-US + [1661759583.482045][104665:104670] CHIP:TOO: [2]: de-DE + [1661759583.482052][104665:104670] CHIP:TOO: [3]: fr-FR + [1661759583.482059][104665:104670] CHIP:TOO: [4]: en-GB + [1661759583.482069][104665:104670] CHIP:TOO: [5]: es-ES + [1661759583.482080][104665:104670] CHIP:TOO: [6]: zh-CN + [1661759583.482089][104665:104670] CHIP:TOO: [7]: it-IT + [1661759583.482097][104665:104670] CHIP:TOO: [8]: ja-JP + [1661759583.482158][104665:104670] CHIP:EM: Sending Standalone Ack for MessageCounter:46420218 on exchange 20687i disabled: true - label: "TH writes xx-XX to SupportedLocales attribute" @@ -75,12 +76,10 @@ tests: verification: | ./chip-tool localizationconfiguration read active-locale 1 0 On TH(chip-tool) verify that the ActiveLocale Attribute value is present in the SupportedLocales attribute list - - [1651035208.064278][2761:2766] CHIP:DMG: SuppressResponse = true, - [1651035208.064316][2761:2766] CHIP:DMG: InteractionModelRevision = 1 - [1651035208.064350][2761:2766] CHIP:DMG: } - [1651035208.064552][2761:2766] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_002B Attribute 0x0000_0001 DataVersion: 1509240084 - [1651035208.064613][2761:2766] CHIP:TOO: ActiveLocale: en-US + [1661759849.744419][104758:104763] CHIP:DMG: } + [1661759849.744488][104758:104763] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_002B Attribute 0x0000_0000 DataVersion: 3207653748 + [1661759849.744509][104758:104763] CHIP:TOO: ActiveLocale: en-US + [1661759849.744553][104758:104763] CHIP:EM: Sending Standalone Ack for MessageCounter:93577923 on exchange 47198i disabled: true - label: @@ -126,29 +125,40 @@ tests: ./chip-tool localizationconfiguration write active-locale fr-FR 1 0 On TH(chip-tool) verify that DUT responds as SUCCESS - [1651035259.959116][2776:2781] CHIP:DMG: StatusIB = - [1651035259.959158][2776:2781] CHIP:DMG: { - [1651035259.959195][2776:2781] CHIP:DMG: status = 0x00 (SUCCESS), - [1651035259.959234][2776:2781] CHIP:DMG: }, - [1651035259.959271][2776:2781] CHIP:DMG: - [1651035259.959304][2776:2781] CHIP:DMG: }, - [1651035259.959343][2776:2781] CHIP:DMG: - [1651035259.959372][2776:2781] CHIP:DMG: ], - [1651035259.959409][2776:2781] CHIP:DMG: - [1651035259.959438][2776:2781] CHIP:DMG: InteractionModelRevision = 1 - [1651035259.959466][2776:2781] CHIP:DMG: } - [1651035259.959552][2776:2781] CHIP:DMG: WriteClient moving to [AwaitingDe] + [1661759978.806730][104802:104807] CHIP:DMG: WriteResponseMessage = + [1661759978.806741][104802:104807] CHIP:DMG: { + [1661759978.806749][104802:104807] CHIP:DMG: AttributeStatusIBs = + [1661759978.806766][104802:104807] CHIP:DMG: [ + [1661759978.806775][104802:104807] CHIP:DMG: AttributeStatusIB = + [1661759978.806785][104802:104807] CHIP:DMG: { + [1661759978.806794][104802:104807] CHIP:DMG: AttributePathIB = + [1661759978.806805][104802:104807] CHIP:DMG: { + [1661759978.806817][104802:104807] CHIP:DMG: Endpoint = 0x0, + [1661759978.806828][104802:104807] CHIP:DMG: Cluster = 0x2b, + [1661759978.806842][104802:104807] CHIP:DMG: Attribute = 0x0000_0000, + [1661759978.806852][104802:104807] CHIP:DMG: } + [1661759978.806866][104802:104807] CHIP:DMG: + [1661759978.806875][104802:104807] CHIP:DMG: StatusIB = + [1661759978.806887][104802:104807] CHIP:DMG: { + [1661759978.806897][104802:104807] CHIP:DMG: status = 0x00 (SUCCESS), + [1661759978.806909][104802:104807] CHIP:DMG: }, + [1661759978.806921][104802:104807] CHIP:DMG: + [1661759978.806929][104802:104807] CHIP:DMG: }, + [1661759978.806944][104802:104807] CHIP:DMG: + [1661759978.806952][104802:104807] CHIP:DMG: ], + [1661759978.806967][104802:104807] CHIP:DMG: + [1661759978.806976][104802:104807] CHIP:DMG: InteractionModelRevision = 1 + [1661759978.806985][104802:104807] CHIP:DMG: } + [1661759978.807036][104802:104807] CHIP:DMG: WriteClient moving to [AwaitingDe] + [1661759978.807064][104802:104807] CHIP:EM: Sending Standalone Ack for MessageCounter:124959015 on exchange 61726i disabled: true - label: "TH Reads ActiveLocale" verification: | ./chip-tool localizationconfiguration read active-locale 1 0 On TH(chip-tool) Verify that the value of the ActiveLocale attribute is changed - - [1645772597.252904][3816:3821] CHIP:DMG: - [1645772597.252948][3816:3821] CHIP:DMG: SuppressResponse = true, - [1645772597.252981][3816:3821] CHIP:DMG: InteractionModelRevision = 1 - [1645772597.253024][3816:3821] CHIP:DMG: } - [1645772597.253230][3816:3821] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_002B Attribute 0x0000_0001DataVersion: 3479138639 - [1645772597.253293][3816:3821] CHIP:TOO: ActiveLocale: fr-FR + [1661760013.634782][104820:104825] CHIP:DMG: } + [1661760013.634848][104820:104825] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_002B Attribute 0x0000_0000 DataVersion: 3207653749 + [1661760013.634861][104820:104825] CHIP:TOO: ActiveLocale: fr-FR + [1661760013.634901][104820:104825] CHIP:EM: Sending Standalone Ack for MessageCounter:230450777 on exchange 24487i disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_LVL_7_1.yaml b/src/app/tests/suites/certification/Test_TC_LVL_7_1.yaml index 192c5a04b403a9..18bc441f9e2c37 100644 --- a/src/app/tests/suites/certification/Test_TC_LVL_7_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_LVL_7_1.yaml @@ -104,36 +104,37 @@ tests: ./chip-tool levelcontrol move-to-level 253 0 0 0 1 1 On TH(chip-tool) verify that DUT sends a success response - [1654065833.084144][10181:10186] CHIP:DMG: InvokeResponseMessage = - [1654065833.084161][10181:10186] CHIP:DMG: { - [1654065833.084175][10181:10186] CHIP:DMG: suppressResponse = false, - [1654065833.084188][10181:10186] CHIP:DMG: InvokeResponseIBs = - [1654065833.084208][10181:10186] CHIP:DMG: [ - [1654065833.084237][10181:10186] CHIP:DMG: InvokeResponseIB = - [1654065833.084259][10181:10186] CHIP:DMG: { - [1654065833.084274][10181:10186] CHIP:DMG: CommandStatusIB = - [1654065833.084292][10181:10186] CHIP:DMG: { - [1654065833.084310][10181:10186] CHIP:DMG: CommandPathIB = - [1654065833.084331][10181:10186] CHIP:DMG: { - [1654065833.084352][10181:10186] CHIP:DMG: EndpointId = 0x1, - [1654065833.084370][10181:10186] CHIP:DMG: ClusterId = 0x8, - [1654065833.084386][10181:10186] CHIP:DMG: CommandId = 0x4, - [1654065833.084404][10181:10186] CHIP:DMG: }, - [1654065833.084428][10181:10186] CHIP:DMG: - [1654065833.084445][10181:10186] CHIP:DMG: StatusIB = - [1654065833.084467][10181:10186] CHIP:DMG: { - [1654065833.084485][10181:10186] CHIP:DMG: status = 0x00 (SUCCESS), - [1654065833.084503][10181:10186] CHIP:DMG: }, - [1654065833.084523][10181:10186] CHIP:DMG: - [1654065833.084540][10181:10186] CHIP:DMG: }, - [1654065833.084563][10181:10186] CHIP:DMG: - [1654065833.084580][10181:10186] CHIP:DMG: }, - [1654065833.084601][10181:10186] CHIP:DMG: - [1654065833.084617][10181:10186] CHIP:DMG: ], - [1654065833.084640][10181:10186] CHIP:DMG: - [1654065833.084657][10181:10186] CHIP:DMG: InteractionModelRevision = 1 - [1654065833.084672][10181:10186] CHIP:DMG: }, - [1654065833.084734][10181:10186] CHIP:DMG: Received Command Response Status for Endpoint=1 Cluster=0x0000_0008 Command=0x0000_0004 Status=0x0 + [1661759404.121731][104632:104637] CHIP:DMG: InvokeResponseMessage = + [1661759404.121739][104632:104637] CHIP:DMG: { + [1661759404.121750][104632:104637] CHIP:DMG: suppressResponse = false, + [1661759404.121759][104632:104637] CHIP:DMG: InvokeResponseIBs = + [1661759404.121774][104632:104637] CHIP:DMG: [ + [1661759404.121782][104632:104637] CHIP:DMG: InvokeResponseIB = + [1661759404.121797][104632:104637] CHIP:DMG: { + [1661759404.121805][104632:104637] CHIP:DMG: CommandStatusIB = + [1661759404.121817][104632:104637] CHIP:DMG: { + [1661759404.121826][104632:104637] CHIP:DMG: CommandPathIB = + [1661759404.121838][104632:104637] CHIP:DMG: { + [1661759404.121849][104632:104637] CHIP:DMG: EndpointId = 0x1, + [1661759404.121862][104632:104637] CHIP:DMG: ClusterId = 0x8, + [1661759404.121871][104632:104637] CHIP:DMG: CommandId = 0x0, + [1661759404.121878][104632:104637] CHIP:DMG: }, + [1661759404.121889][104632:104637] CHIP:DMG: + [1661759404.121896][104632:104637] CHIP:DMG: StatusIB = + [1661759404.121906][104632:104637] CHIP:DMG: { + [1661759404.121914][104632:104637] CHIP:DMG: status = 0x00 (SUCCESS), + [1661759404.121922][104632:104637] CHIP:DMG: }, + [1661759404.121930][104632:104637] CHIP:DMG: + [1661759404.121937][104632:104637] CHIP:DMG: }, + [1661759404.121947][104632:104637] CHIP:DMG: + [1661759404.121954][104632:104637] CHIP:DMG: }, + [1661759404.121964][104632:104637] CHIP:DMG: + [1661759404.121970][104632:104637] CHIP:DMG: ], + [1661759404.121981][104632:104637] CHIP:DMG: + [1661759404.121988][104632:104637] CHIP:DMG: InteractionModelRevision = 1 + [1661759404.121995][104632:104637] CHIP:DMG: }, + [1661759404.122021][104632:104637] CHIP:DMG: Received Command Response Status for Endpoint=1 Cluster=0x0000_0008 Command=0x0000_0000 Status=0x0 + [1661759404.122040][104632:104637] CHIP:DMG: ICR moving to [AwaitingDe] disabled: true - label: "TH reads CurrentLevel attribute from DUT" diff --git a/src/app/tests/suites/certification/Test_TC_SWTCH_3_2.yaml b/src/app/tests/suites/certification/Test_TC_SWTCH_3_2.yaml index 7a302ef34271d6..1034429074839e 100644 --- a/src/app/tests/suites/certification/Test_TC_SWTCH_3_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_SWTCH_3_2.yaml @@ -35,7 +35,6 @@ tests: Events to be executed as following 1. Compile app using below command in connectedhomeip folder a. ./scripts/run_in_build_env.sh ./scripts/build/build_examples.py --target linux-arm64-all-clusters-no-ble-asan-clang build - b. ./scripts/run_in_build_env.sh ./scripts/build/build_examples.py --target linux-arm64-all-clusters-no-ble-asan-libfuzzer-clang build 2. Build respective app (all-clusters-app) 3. Commission DUT to TH 4. Open 2nd terminal of DUT and provide the below command to obtain PID of DUT diff --git a/src/app/tests/suites/certification/Test_TC_TSUIC_3_1.yaml b/src/app/tests/suites/certification/Test_TC_TSUIC_3_1.yaml index 93899e3ed8eb66..efb786cb64b22d 100644 --- a/src/app/tests/suites/certification/Test_TC_TSUIC_3_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_TSUIC_3_1.yaml @@ -121,30 +121,34 @@ tests: ./chip-tool thermostatuserinterfaceconfiguration write temperature-display-mode 1 1 1 Verify DUT receives temperature-display-mode attribute write response on the TH(all-clusters-app) Log: - [1658143515.699171][13946:13946] CHIP:DMG: WriteRequestMessage = - [1658143515.699197][13946:13946] CHIP:DMG: { - [1658143515.699221][13946:13946] CHIP:DMG: suppressResponse = false, - [1658143515.699248][13946:13946] CHIP:DMG: timedRequest = false, - [1658143515.699272][13946:13946] CHIP:DMG: AttributeDataIBs = - [1658143515.699302][13946:13946] CHIP:DMG: [ - [1658143515.699326][13946:13946] CHIP:DMG: AttributeDataIB = - [1658143515.699362][13946:13946] CHIP:DMG: { - [1658143515.699388][13946:13946] CHIP:DMG: AttributePathIB = - [1658143515.699419][13946:13946] CHIP:DMG: { - [1658143515.699451][13946:13946] CHIP:DMG: Endpoint = 0x1, - [1658143515.699484][13946:13946] CHIP:DMG: Cluster = 0x204, - [1658143515.699514][13946:13946] CHIP:DMG: Attribute = 0x0000_0001, - [1658143515.699544][13946:13946] CHIP:DMG: } - [1658143515.699577][13946:13946] CHIP:DMG: - [1658143515.699609][13946:13946] CHIP:DMG: Data = 1, - [1658143515.699638][13946:13946] CHIP:DMG: }, - [1658143515.699667][13946:13946] CHIP:DMG: - [1658143515.699690][13946:13946] CHIP:DMG: ], - [1658143515.699719][13946:13946] CHIP:DMG: - [1658143515.699743][13946:13946] CHIP:DMG: moreChunkedMessages = false, - [1658143515.699768][13946:13946] CHIP:DMG: InteractionModelRevision = 1 - [1658143515.699792][13946:13946] CHIP:DMG: }, - [1658143515.699876][13946:13946] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0204 e=1 p=m + [1661765030.276401][103574:103574] CHIP:DMG: IM WH moving to [Initialized] + [1661765030.276428][103574:103574] CHIP:DMG: WriteRequestMessage = + [1661765030.276436][103574:103574] CHIP:DMG: { + [1661765030.276443][103574:103574] CHIP:DMG: suppressResponse = false, + [1661765030.276450][103574:103574] CHIP:DMG: timedRequest = false, + [1661765030.276457][103574:103574] CHIP:DMG: AttributeDataIBs = + [1661765030.276469][103574:103574] CHIP:DMG: [ + [1661765030.276476][103574:103574] CHIP:DMG: AttributeDataIB = + [1661765030.276484][103574:103574] CHIP:DMG: { + [1661765030.276492][103574:103574] CHIP:DMG: AttributePathIB = + [1661765030.276500][103574:103574] CHIP:DMG: { + [1661765030.276509][103574:103574] CHIP:DMG: Endpoint = 0x1, + [1661765030.276517][103574:103574] CHIP:DMG: Cluster = 0x204, + [1661765030.276525][103574:103574] CHIP:DMG: Attribute = 0x0000_0000, + [1661765030.276532][103574:103574] CHIP:DMG: } + [1661765030.276542][103574:103574] CHIP:DMG: + [1661765030.276550][103574:103574] CHIP:DMG: Data = 1, + [1661765030.276557][103574:103574] CHIP:DMG: }, + [1661765030.276567][103574:103574] CHIP:DMG: + [1661765030.276573][103574:103574] CHIP:DMG: ], + [1661765030.276582][103574:103574] CHIP:DMG: + [1661765030.276589][103574:103574] CHIP:DMG: moreChunkedMessages = false, + [1661765030.276597][103574:103574] CHIP:DMG: InteractionModelRevision = 1 + [1661765030.276603][103574:103574] CHIP:DMG: }, + [1661765030.276642][103574:103574] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0204 e=1 p=o + [1661765030.276657][103574:103574] CHIP:DMG: AccessControl: allowed + [1661765030.276675][103574:103574] CHIP:DMG: Endpoint 1, Cluster 0x0000_0204 update version to 929de252 + ./chip-tool thermostatuserinterfaceconfiguration write keypad-lockout 1 1 1