diff --git a/src/app/tests/suites/certification/Test_TC_ACE_1_5.yaml b/src/app/tests/suites/certification/Test_TC_ACE_1_5.yaml index 75dcd4e537f0df..0cf6457f916e20 100644 --- a/src/app/tests/suites/certification/Test_TC_ACE_1_5.yaml +++ b/src/app/tests/suites/certification/Test_TC_ACE_1_5.yaml @@ -25,6 +25,9 @@ config: discriminator: type: int16u defaultValue: 3840 + waitAfterCommissioning: + type: int16u + defaultValue: 5000 PakeVerifier: type: octet_string defaultValue: "hex:b96170aae803346884724fe9a3b287c30330c2a660375d17bb205a8cf1aecb350457f8ab79ee253ab6a8e46bb09e543ae422736de501e3db37d441fe344920d09548e4c18240630c4ff4913c53513839b7c07fcc0627a1b8573a149fcd1fa466cf" @@ -62,6 +65,14 @@ tests: - name: "Salt" value: "SPAKE2P Key Salt" + - label: "Waiting after opening commissioning window" + cluster: "DelayCommands" + command: "WaitForMs" + arguments: + values: + - name: "ms" + value: waitAfterCommissioning + - label: "Commission from TH2" identity: "beta" cluster: "CommissionerCommands" diff --git a/src/app/tests/suites/certification/Test_TC_ACL_2_10.yaml b/src/app/tests/suites/certification/Test_TC_ACL_2_10.yaml index 3f52bd29623551..3e683e146d6e74 100644 --- a/src/app/tests/suites/certification/Test_TC_ACL_2_10.yaml +++ b/src/app/tests/suites/certification/Test_TC_ACL_2_10.yaml @@ -28,6 +28,9 @@ config: discriminator: type: int16u defaultValue: 3840 + waitAfterCommissioning: + type: int16u + defaultValue: 5000 payload: type: char_string defaultValue: "MT:-24J0AFN00KA0648G00" @@ -84,6 +87,14 @@ tests: - name: "Salt" value: "SPAKE2P Key Salt" + - label: "Waiting after opening commissioning window" + cluster: "DelayCommands" + command: "WaitForMs" + arguments: + values: + - name: "ms" + value: waitAfterCommissioning + - label: "TH2 starts a commissioning process with DUT" identity: "beta" cluster: "CommissionerCommands" diff --git a/src/app/tests/suites/certification/Test_TC_ACL_2_7.yaml b/src/app/tests/suites/certification/Test_TC_ACL_2_7.yaml index cca2cec6d76409..94a3afb028496b 100644 --- a/src/app/tests/suites/certification/Test_TC_ACL_2_7.yaml +++ b/src/app/tests/suites/certification/Test_TC_ACL_2_7.yaml @@ -31,6 +31,9 @@ config: discriminator: type: int16u defaultValue: 3840 + waitAfterCommissioning: + type: int16u + defaultValue: 5000 PakeVerifier: type: octet_string defaultValue: "hex:b96170aae803346884724fe9a3b287c30330c2a660375d17bb205a8cf1aecb350457f8ab79ee253ab6a8e46bb09e543ae422736de501e3db37d441fe344920d09548e4c18240630c4ff4913c53513839b7c07fcc0627a1b8573a149fcd1fa466cf" @@ -84,6 +87,14 @@ tests: - name: "Salt" value: "SPAKE2P Key Salt" + - label: "Waiting after opening commissioning window" + cluster: "DelayCommands" + command: "WaitForMs" + arguments: + values: + - name: "ms" + value: waitAfterCommissioning + - label: "Step 4:TH2 starts a commissioning process with DUT" identity: "beta" cluster: "CommissionerCommands" diff --git a/src/app/tests/suites/certification/Test_TC_ACL_2_8.yaml b/src/app/tests/suites/certification/Test_TC_ACL_2_8.yaml index f744b108df2649..7958e8a794d15f 100644 --- a/src/app/tests/suites/certification/Test_TC_ACL_2_8.yaml +++ b/src/app/tests/suites/certification/Test_TC_ACL_2_8.yaml @@ -24,6 +24,9 @@ config: nodeId2: type: node_id defaultValue: 0xCAFE + waitAfterCommissioning: + type: int16u + defaultValue: 5000 payload: type: char_string defaultValue: "MT:-24J0AFN00KA0648G00" @@ -76,6 +79,14 @@ tests: - name: "Salt" value: "SPAKE2P Key Salt" + - label: "Waiting after opening commissioning window" + cluster: "DelayCommands" + command: "WaitForMs" + arguments: + values: + - name: "ms" + value: waitAfterCommissioning + - label: "TH2 starts a commissioning process with DUT" identity: "beta" cluster: "CommissionerCommands" diff --git a/src/app/tests/suites/certification/Test_TC_ACT_3_1_Simulated.yaml b/src/app/tests/suites/certification/Test_TC_ACT_3_1_Simulated.yaml index 82191e78bf1efd..4f60f1d947f669 100644 --- a/src/app/tests/suites/certification/Test_TC_ACT_3_1_Simulated.yaml +++ b/src/app/tests/suites/certification/Test_TC_ACT_3_1_Simulated.yaml @@ -27,9 +27,9 @@ config: endpoint: 0 tests: - - label: "Wait for the device to be commissioned" - cluster: "DelayCommands" - command: "WaitForCommissioning" + #- label: "Wait for the device to be commissioned" + # cluster: "DelayCommands" + # command: "WaitForCommissioning" - label: "Read attribute: ActionList" wait: "readAttribute" diff --git a/src/app/tests/suites/certification/Test_TC_BINFO_2_2.yaml b/src/app/tests/suites/certification/Test_TC_BINFO_2_2.yaml index 9ab45650356b1b..5037d2015f244d 100644 --- a/src/app/tests/suites/certification/Test_TC_BINFO_2_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_BINFO_2_2.yaml @@ -32,7 +32,7 @@ tests: 3. BINFO.S.A0011(Reachable) - TH reads Reachable attribute from DUT and saves for future use(should be true) - 4. BINFO.S.E00(StartUp) | BINFO.S.E01(ShutDown) && BINFO.S.E02(Leave) - TH subscribes to StartUp, ShutDown, Leave and ReachableChanged events on the Basic Information cluster of the DUT + 4. BINFO.S.E00(StartUp) | BINFO.S.E01(ShutDown) || BINFO.S.E02(Leave) - TH subscribes to StartUp, ShutDown, Leave and ReachableChanged events on the Basic Information cluster of the DUT 5. TH saves the FabricIndex during commissioning disabled: true @@ -45,7 +45,7 @@ tests: ./chip-tool basicinformation read-event start-up 1 0 - verify that StartUp event as priority set has CRITICAL and software verision on TH(chip-tool) + Verify that StartUp event priority is set is to CRITICAL and software verision is 1 on TH(chip-tool) [1657193007.841105][5422:5427] CHIP:DMG: ], [1657193007.841137][5422:5427] CHIP:DMG: @@ -65,7 +65,7 @@ tests: - label: "TH subscribes to the ShutDown event on the DUT. Shutdown DUT." PICS: BINFO.S.E01 verification: | - To verify leave event follow the below commands , Pls use equivalent command on the respective DUT + To verify ShutDown event follow the below commands , Pls use equivalent command on the respective DUT 1. Launch chip-tool into interactive mode with the command diff --git a/src/app/tests/suites/certification/Test_TC_BINFO_2_3_Simulated.yaml b/src/app/tests/suites/certification/Test_TC_BINFO_2_3_Simulated.yaml index f23b7ebee430f5..fd497721e12901 100644 --- a/src/app/tests/suites/certification/Test_TC_BINFO_2_3_Simulated.yaml +++ b/src/app/tests/suites/certification/Test_TC_BINFO_2_3_Simulated.yaml @@ -23,9 +23,9 @@ config: endpoint: 0 tests: - - label: "Wait for the device to be commissioned" - cluster: "DelayCommands" - command: "WaitForCommissioning" + #- label: "Wait for the device to be commissioned" + # cluster: "DelayCommands" + # command: "WaitForCommissioning" - label: "Log OnOff Test Startup" cluster: "LogCommands" diff --git a/src/app/tests/suites/certification/Test_TC_BINFO_2_4.yaml b/src/app/tests/suites/certification/Test_TC_BINFO_2_4.yaml index a615503773bd0d..b248279c1df7a1 100644 --- a/src/app/tests/suites/certification/Test_TC_BINFO_2_4.yaml +++ b/src/app/tests/suites/certification/Test_TC_BINFO_2_4.yaml @@ -58,12 +58,12 @@ tests: 2. run below subscribe-event command in interactive mode shell and then Turn down the TH (all-clusters-app) - basic subscribe-event shut-down 20 100 1 0 + basicinformation subscribe-event shut-down 20 100 1 0 On TH(all-cluster-app), ,verify that Shutdown event has priority set as CRITICAL (0x2) [1666095658.719821][16788:16788] CHIP:DMG: Unblock report hold after min 20 seconds - ^C[1666095661.196050][16788:16788] CHIP:DL: Caught signal 2 + [1666095661.196050][16788:16788] CHIP:DL: Caught signal 2 [1666095661.196434][16788:16788] CHIP:DL: Select failed: ../../third_party/connectedhomeip/src/system/SystemLayerImplSelect.cpp:493: OS Error 0x02000004: Interrupted system call [1666095661.196516][16788:16788] CHIP:ZCL: Emitting ShutDown event [1666095661.196659][16788:16788] CHIP:EVL: LogEvent event number: 0x0000000000000004 priority: 2, endpoint id: 0x0 cluster id: 0x0000_0028 event id: 0x1 Sys timestamp: 0x0000000006C599DA @@ -208,7 +208,7 @@ tests: To verify leave event follow the below commands 1. ./chip-tool interactive start - 2. basic subscribe-event leave 1 100 1 0 + 2. basicinformation subscribe-event leave 1 100 1 0 3. operationalcredentials remove-fabric 1 1 0 verify that leave event has priority as INFO(0x1) on TH (all-clusters-app) diff --git a/src/app/tests/suites/certification/Test_TC_BOOL_2_2.yaml b/src/app/tests/suites/certification/Test_TC_BOOL_2_2.yaml index 35c115c597cd69..208ce792d2d204 100644 --- a/src/app/tests/suites/certification/Test_TC_BOOL_2_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_BOOL_2_2.yaml @@ -60,9 +60,8 @@ tests: - label: "TH reads the StateValue attribute from the DUT" PICS: BOOL.M.ManuallyControlled && BOOL.S.A0000 verification: | - ./chip-tool booleanstate read state-value 1 1 - On TH(chip-tool), verify the StateValue value as TRUE + ./chip-tool booleanstate read state-value 1 1 [1646118838.087500][3279:3284] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0045 Attribute 0x0000_0000DataVersion: 2127727071 [1646118838.087536][3279:3284] CHIP:TOO: StateValue: TRUE diff --git a/src/app/tests/suites/certification/Test_TC_BOOL_3_1_Simulated.yaml b/src/app/tests/suites/certification/Test_TC_BOOL_3_1_Simulated.yaml index 9999df777ec779..ccf94d4de452b6 100644 --- a/src/app/tests/suites/certification/Test_TC_BOOL_3_1_Simulated.yaml +++ b/src/app/tests/suites/certification/Test_TC_BOOL_3_1_Simulated.yaml @@ -27,9 +27,9 @@ config: endpoint: 0 tests: - - label: "Wait for the device to be commissioned" - cluster: "DelayCommands" - command: "WaitForCommissioning" + #- label: "Wait for the device to be commissioned" + # cluster: "DelayCommands" + # command: "WaitForCommissioning" - label: "Read attribute: StateValue" wait: "readAttribute" diff --git a/src/app/tests/suites/certification/Test_TC_CADMIN_1_1.yaml b/src/app/tests/suites/certification/Test_TC_CADMIN_1_1.yaml index 10ba53bfafaede..5c6344e3f64e07 100644 --- a/src/app/tests/suites/certification/Test_TC_CADMIN_1_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_CADMIN_1_1.yaml @@ -74,38 +74,40 @@ tests: Verify 1 entry in the Fabrics list attributeOn TH_CR1(CHIP-TOOL) Log Verify TH_CE reports 1 entry in fabrics list - - - [1661486369.837260][7071:7071] CHIP:DMG: AttributeReportIB = - [1661486369.837292][7071:7071] CHIP:DMG: { - [1661486369.837317][7071:7071] CHIP:DMG: AttributeDataIB = - [1661486369.837343][7071:7071] CHIP:DMG: { - [1661486369.837371][7071:7071] CHIP:DMG: DataVersion = 0x8d915768, - [1661486369.837398][7071:7071] CHIP:DMG: AttributePathIB = - [1661486369.837426][7071:7071] CHIP:DMG: { - [1661486369.837455][7071:7071] CHIP:DMG: Endpoint = 0x0, - [1661486369.837485][7071:7071] CHIP:DMG: Cluster = 0x3e, - [1661486369.837515][7071:7071] CHIP:DMG: Attribute = 0x0000_0001, - [1661486369.837544][7071:7071] CHIP:DMG: ListIndex = Null, - [1661486369.837572][7071:7071] CHIP:DMG: } - [1661486369.837601][7071:7071] CHIP:DMG: - [1661486369.837629][7071:7071] CHIP:DMG: Data = - [1661486369.837656][7071:7071] CHIP:DMG: { - [1661486369.837685][7071:7071] CHIP:DMG: 0x1 = [ - [1661486369.837731][7071:7071] CHIP:DMG: 0x4, 0xb5, 0xc1, 0xfd, 0xdd, 0x6a, 0xdd, 0xc3, 0xa1, 0x3d, 0xee, 0x39, 0xa2, 0xe, 0x66, 0x7, 0xa2, 0x3a, 0x6d, 0x4a, 0x86, 0x57, 0x36, 0xf7, 0x1f, 0x20, 0x7c, 0x9d, 0xe8, 0x8, 0xa, 0xd5, 0xf2, 0x9c, 0x9d, 0x1b, 0x14, 0x5f, 0xbc, 0x60, 0xb9, 0xe7, 0xee, 0xb3, 0x4c, 0x2, 0xf4, 0x7b, 0x21, 0xdb, 0x74, 0x4e, 0xb1, 0x65, 0x22, 0xd3, 0xe0, 0x32, 0xbd, 0xbe, 0xde, 0x43, 0xfe, 0x26, 0xd6, - [1661486369.837769][7071:7071] CHIP:DMG: ] (65 bytes) - [1661486369.837799][7071:7071] CHIP:DMG: 0x2 = 65521, - [1661486369.837830][7071:7071] CHIP:DMG: 0x3 = 1, - [1661486369.837861][7071:7071] CHIP:DMG: 0x4 = 1, - [1661486369.837893][7071:7071] CHIP:DMG: 0x5 = "" (0 chars), - [1661486369.837923][7071:7071] CHIP:DMG: 0xfe = 1, - [1661486369.837953][7071:7071] CHIP:DMG: }, - [1661486369.837979][7071:7071] CHIP:DMG: }, - [1661486369.838010][7071:7071] CHIP:DMG: - [1661486369.838034][7071:7071] CHIP:DMG: }, - [1661486369.838064][7071:7071] CHIP:DMG: - [1661486369.838084][7071:7071] CHIP:DMG: ], - [1661486369.838116][7071:7071] CHIP:DMG: + [1676355303.608991][997145:997145] CHIP:IM: Received Read request + [1676355303.609044][997145:997145] CHIP:DMG: ReadRequestMessage = + [1676355303.609054][997145:997145] CHIP:DMG: { + [1676355303.609062][997145:997145] CHIP:DMG: AttributePathIBs = + [1676355303.609072][997145:997145] CHIP:DMG: [ + [1676355303.609080][997145:997145] CHIP:DMG: AttributePathIB = + [1676355303.609090][997145:997145] CHIP:DMG: { + [1676355303.609129][997145:997145] CHIP:DMG: Endpoint = 0x0, + [1676355303.609141][997145:997145] CHIP:DMG: Cluster = 0x3e, + [1676355303.609150][997145:997145] CHIP:DMG: Attribute = 0x0000_0001, + [1676355303.609158][997145:997145] CHIP:DMG: } + [1676355303.609168][997145:997145] CHIP:DMG: + [1676355303.609175][997145:997145] CHIP:DMG: ], + [1676355303.609186][997145:997145] CHIP:DMG: + [1676355303.609196][997145:997145] CHIP:DMG: isFabricFiltered = false, + [1676355303.609206][997145:997145] CHIP:DMG: InteractionModelRevision = 1 + [1676355303.609214][997145:997145] CHIP:DMG: }, + [1676355303.609271][997145:997145] CHIP:DMG: IM RH moving to [GeneratingReports] + [1676355303.609309][997145:997145] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 + + + + If the DUT has to provision to verify the logs, verify that TH all-clusters-app sent 1 entry in the Fabrics list attribute reports and that this entry matches the first commissioning’s information. + [1676355303.610452][997160:997162] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0001 DataVersion: 784275529 + [1676355303.610499][997160:997162] CHIP:TOO: Fabrics: 1 entries + [1676355303.610525][997160:997162] CHIP:TOO: [1]: { + [1676355303.610538][997160:997162] CHIP:TOO: RootPublicKey: 04E8581EC896E1F4C0C460F03B20B5F785669CEA9C950487F564F8AFEDD6414F92B47F7B3EF810454DFC8D912C77A8F477378207908941C5E1225609DF4E7751C7 + [1676355303.610557][997160:997162] CHIP:TOO: VendorID: 65521 + [1676355303.610563][997160:997162] CHIP:TOO: FabricID: 1 + [1676355303.610569][997160:997162] CHIP:TOO: NodeID: 1 + [1676355303.610576][997160:997162] CHIP:TOO: Label: + [1676355303.610582][997160:997162] CHIP:TOO: FabricIndex: 1 + [1676355303.610588][997160:997162] CHIP:TOO: } + [1676355303.610660][997160:997162] CHIP:EM: <<< [E:41653i S:27265 M:61334885 (Ack:214003320)] (S) Msg TX to 1:0000000000000001 [6193] --- Type 0000:10 (SecureChannel:StandaloneAck) disabled: true - label: "DUT_CR2 starts a commissioning process with TH_CE" @@ -131,18 +133,21 @@ tests: On TH_CR1 send the below command avahi-browse -rt _matter._tcp - + eth0 IPv6 E0AF53B23E580769-0000000000000002 _matter._tcp local - + eth0 IPv6 7FF84D214A19B581-0000000000000001 _matter._tcp local - = eth0 IPv6 E0AF53B23E580769-0000000000000002 _matter._tcp local - hostname = [E45F010F3BAF0000.local] - address = [fe80::e65f:1ff:fe0f:3baf] + + If the DUT has to provision to verify the logs, verify that TH all-clusters-app is now discoverable over DNS-SD with two SRV Records commissioning’s information. + + + wlp0s20f3 IPv6 3767A62E3306BE7C-0000000000000002 _matter._tcp local + + wlp0s20f3 IPv6 B64553F058906CB3-0000000000000001 _matter._tcp local + = wlp0s20f3 IPv6 3767A62E3306BE7C-0000000000000002 _matter._tcp local + hostname = [8C1D96786A130000.local] + address = [fe80::73a0:f1da:5228:b4be] port = [5540] - txt = ["T=1" "CRA=300" "CRI=5000"] - = eth0 IPv6 7FF84D214A19B581-0000000000000001 _matter._tcp local - hostname = [E45F010F3BAF0000.local] - address = [fe80::e65f:1ff:fe0f:3baf] + txt = ["T=1"] + = wlp0s20f3 IPv6 B64553F058906CB3-0000000000000001 _matter._tcp local + hostname = [8C1D96786A130000.local] + address = [fe80::73a0:f1da:5228:b4be] port = [5540] - txt = ["T=1" "CRA=300" "CRI=5000"] + txt = ["T=1"] disabled: true - label: @@ -208,65 +213,46 @@ tests: ./chip-tool operationalcredentials read fabrics 2 0 --fabric-filtered 0 --commissioner-name beta - Verify 2 entries in TH_CE log - - - [1661481567.477399][6453:6453] CHIP:DMG: AttributeReportIB = - [1661481567.477428][6453:6453] CHIP:DMG: { - [1661481567.477450][6453:6453] CHIP:DMG: AttributeDataIB = - [1661481567.477475][6453:6453] CHIP:DMG: { - [1661481567.477503][6453:6453] CHIP:DMG: DataVersion = 0x482f8cf0, - [1661481567.477530][6453:6453] CHIP:DMG: AttributePathIB = - [1661481567.477558][6453:6453] CHIP:DMG: { - [1661481567.477586][6453:6453] CHIP:DMG: Endpoint = 0x0, - [1661481567.477616][6453:6453] CHIP:DMG: Cluster = 0x3e, - [1661481567.477649][6453:6453] CHIP:DMG: Attribute = 0x0000_0001, - [1661481567.477678][6453:6453] CHIP:DMG: ListIndex = Null, - [1661481567.477706][6453:6453] CHIP:DMG: } - [1661481567.477735][6453:6453] CHIP:DMG: - [1661481567.477762][6453:6453] CHIP:DMG: Data = - [1661481567.477791][6453:6453] CHIP:DMG: { - [1661481567.477823][6453:6453] CHIP:DMG: 0x1 = [ - [1661481567.477871][6453:6453] CHIP:DMG: 0x4, 0xb5, 0xc1, 0xfd, 0xdd, 0x6a, 0xdd, 0xc3, 0xa1, 0x3d, 0xee, 0x39, 0xa2, 0xe, 0x66, 0x7, 0xa2, 0x3a, 0x6d, 0x4a, 0x86, 0x57, 0x36, 0xf7, 0x1f, 0x20, 0x7c, 0x9d, 0xe8, 0x8, 0xa, 0xd5, 0xf2, 0x9c, 0x9d, 0x1b, 0x14, 0x5f, 0xbc, 0x60, 0xb9, 0xe7, 0xee, 0xb3, 0x4c, 0x2, 0xf4, 0x7b, 0x21, 0xdb, 0x74, 0x4e, 0xb1, 0x65, 0x22, 0xd3, 0xe0, 0x32, 0xbd, 0xbe, 0xde, 0x43, 0xfe, 0x26, 0xd6, - [1661481567.477909][6453:6453] CHIP:DMG: ] (65 bytes) - [1661481567.477942][6453:6453] CHIP:DMG: 0x2 = 65521, - [1661481567.477974][6453:6453] CHIP:DMG: 0x3 = 1, - [1661481567.478007][6453:6453] CHIP:DMG: 0x4 = 1, - [1661481567.478096][6453:6453] CHIP:DMG: 0x5 = "" (0 chars), - [1661481567.478129][6453:6453] CHIP:DMG: 0xfe = 1, - [1661481567.478160][6453:6453] CHIP:DMG: }, - [1661481567.478187][6453:6453] CHIP:DMG: }, - [1661481567.478217][6453:6453] CHIP:DMG: - [1661481567.478241][6453:6453] CHIP:DMG: }, - [1661481567.478278][6453:6453] CHIP:DMG: - [1661481567.478298][6453:6453] CHIP:DMG: AttributeReportIB = - [1661481567.478330][6453:6453] CHIP:DMG: { - [1661481567.478354][6453:6453] CHIP:DMG: AttributeDataIB = - [1661481567.478380][6453:6453] CHIP:DMG: { - [1661481567.478406][6453:6453] CHIP:DMG: DataVersion = 0x482f8cf0, - [1661481567.478433][6453:6453] CHIP:DMG: AttributePathIB = - [1661481567.478461][6453:6453] CHIP:DMG: { - [1661481567.478489][6453:6453] CHIP:DMG: Endpoint = 0x0, - [1661481567.478522][6453:6453] CHIP:DMG: Cluster = 0x3e, - [1661481567.478554][6453:6453] CHIP:DMG: Attribute = 0x0000_0001, - [1661481567.478584][6453:6453] CHIP:DMG: ListIndex = Null, - [1661481567.478612][6453:6453] CHIP:DMG: } - [1661481567.478643][6453:6453] CHIP:DMG: - [1661481567.478672][6453:6453] CHIP:DMG: Data = - [1661481567.478702][6453:6453] CHIP:DMG: { - [1661481567.478732][6453:6453] CHIP:DMG: 0x1 = [ - [1661481567.478777][6453:6453] CHIP:DMG: 0x4, 0x7b, 0x5b, 0x9a, 0x2a, 0xd1, 0x4e, 0x1e, 0x8d, 0xf4, 0xca, 0xea, 0xde, 0x1c, 0xbe, 0xa7, 0xf6, 0xd4, 0xa1, 0xe8, 0xf0, 0x20, 0x9f, 0x6c, 0x38, 0x30, 0x31, 0x88, 0xb5, 0x89, 0x69, 0xd4, 0x7, 0x17, 0x16, 0x85, 0x25, 0x55, 0x8f, 0x5b, 0xed, 0x58, 0x68, 0x27, 0xde, 0x5e, 0xf6, 0xf9, 0xf8, 0x99, 0x54, 0x92, 0x8e, 0x33, 0xa6, 0xf4, 0xb0, 0x5a, 0xc1, 0xa6, 0x1a, 0xf5, 0x2, 0xb4, 0x4f, - [1661481567.478815][6453:6453] CHIP:DMG: ] (65 bytes) - [1661481567.478848][6453:6453] CHIP:DMG: 0x2 = 65521, - [1661481567.478877][6453:6453] CHIP:DMG: 0x3 = 2, - [1661481567.478907][6453:6453] CHIP:DMG: 0x4 = 1, - [1661481567.478938][6453:6453] CHIP:DMG: 0x5 = "" (0 chars), - [1661481567.478968][6453:6453] CHIP:DMG: 0xfe = 2, - [1661481567.478999][6453:6453] CHIP:DMG: }, - [1661481567.479026][6453:6453] CHIP:DMG: }, - [1661481567.479056][6453:6453] CHIP:DMG: - [1661481567.479079][6453:6453] CHIP:DMG: }, - [1661481567.479107][6453:6453] CHIP:DMG: + [1676355937.247133][997283:997283] CHIP:IM: Received Read request + [1676355937.247187][997283:997283] CHIP:DMG: ReadRequestMessage = + [1676355937.247196][997283:997283] CHIP:DMG: { + [1676355937.247202][997283:997283] CHIP:DMG: AttributePathIBs = + [1676355937.247210][997283:997283] CHIP:DMG: [ + [1676355937.247215][997283:997283] CHIP:DMG: AttributePathIB = + [1676355937.247223][997283:997283] CHIP:DMG: { + [1676355937.247230][997283:997283] CHIP:DMG: Endpoint = 0x0, + [1676355937.247238][997283:997283] CHIP:DMG: Cluster = 0x3e, + [1676355937.247245][997283:997283] CHIP:DMG: Attribute = 0x0000_0001, + [1676355937.247251][997283:997283] CHIP:DMG: } + [1676355937.247259][997283:997283] CHIP:DMG: + [1676355937.247264][997283:997283] CHIP:DMG: ], + [1676355937.247273][997283:997283] CHIP:DMG: + [1676355937.247279][997283:997283] CHIP:DMG: isFabricFiltered = false, + [1676355937.247285][997283:997283] CHIP:DMG: InteractionModelRevision = 1 + [1676355937.247291][997283:997283] CHIP:DMG: }, + [1676355937.247324][997283:997283] CHIP:DMG: IM RH moving to [GeneratingReports] + [1676355937.247353][997283:997283] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 + + If the DUT has to provision to verify the logs, verify that TH all-clusters-app sent 1 entry in the Fabrics list attribute reports andand that these entries match the commissioning state to date. + [1676355937.249107][997381:997383] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0001 DataVersion: 3110912421 + [1676355937.249126][997381:997383] CHIP:TOO: Fabrics: 2 entries + [1676355937.249137][997381:997383] CHIP:TOO: [1]: { + [1676355937.249141][997381:997383] CHIP:TOO: RootPublicKey: 04CE05E675BAE5E141A6FF8412C01E7A418005EE3B3CDBAE730DAB3354F58B4F5DB4F4093E2C0DF28068817D24E9EB9A65A5D64DC776BE90D2B663A5EFFFB11636 + [1676355937.249150][997381:997383] CHIP:TOO: VendorID: 65521 + [1676355937.249152][997381:997383] CHIP:TOO: FabricID: 1 + [1676355937.249154][997381:997383] CHIP:TOO: NodeID: 1 + [1676355937.249156][997381:997383] CHIP:TOO: Label: + [1676355937.249158][997381:997383] CHIP:TOO: FabricIndex: 1 + [1676355937.249160][997381:997383] CHIP:TOO: } + [1676355937.249163][997381:997383] CHIP:TOO: [2]: { + [1676355937.249166][997381:997383] CHIP:TOO: RootPublicKey: 04068A95301585A6EF6D23575F863B7C2DDA71D69E1AD58590CFEB34B18A31C54FCC5CF1ABBB889BCBE2EE9D8EBB5435EC8DABB8ADC0E203A59F801BD1ACDBB835 + [1676355937.249168][997381:997383] CHIP:TOO: VendorID: 65521 + [1676355937.249170][997381:997383] CHIP:TOO: FabricID: 2 + [1676355937.249172][997381:997383] CHIP:TOO: NodeID: 2 + [1676355937.249173][997381:997383] CHIP:TOO: Label: + [1676355937.249175][997381:997383] CHIP:TOO: FabricIndex: 2 + [1676355937.249176][997381:997383] CHIP:TOO: } + [1676355937.249199][997381:997383] CHIP:EM: <<< [E:40732i S:56928 M:242798967 (Ack:118300610)] (S) Msg TX to 2:0000000000000002 [BE7C] --- Type 0000:10 (SecureChannel:StandaloneAck) disabled: true - label: @@ -414,7 +400,6 @@ tests: On DUT_CR2 send the below command - ./chip-tool pairing open-commissioning-window 2 1 300 1000 3841 --commissioner-name beta Verify the Commissioning window is opened in TH_CE(all-clusters-app) Log @@ -452,16 +437,31 @@ tests: ./chip-tool pairing code 3 34995354639 --commissioner-name gamma - verify you got the following message in the TH_CR3(chip-tool) log + verify you got the following message in the TH_CR3(all-clusters-app) log + - [1670391303.300531][1397:1397] CHIP:TS: Reverted Last Known Good Time to previous value - [1670391303.301023][1397:1397] CHIP:DL: writing settings to file (/tmp/chip_counters.ini-E9JWJd) - [1670391303.302361][1397:1397] CHIP:DL: renamed tmp file to file (/tmp/chip_counters.ini) - [1670391303.302492][1397:1397] CHIP:DL: NVS set: chip-counters/total-operational-hours = 0 (0x0) - [1670391303.302553][1397:1397] CHIP:DL: Inet Layer shutdown - [1670391303.302602][1397:1397] CHIP:DL: BLE shutdown - [1670391303.302653][1397:1397] CHIP:DL: System Layer shutdown - [1670391303.303218][1397:1397] CHIP:TOO: Run command failure: ../../commands/pairing/PairingCommand.cpp:179: CHIP Error 0x00000003: Incorrect state + + + If the DUT has to provision to verify the logs, Verify that either no _matterc._udp commissionable records exist matching the previously obtained discriminator, or that TH_CE refuses to allow a PASE with the provided passcode from the onboarding payload. + + [1676356124.529686][997434:997434] CHIP:TS: Reverted Last Known Good Time to previous value + [1676356124.529707][997434:997434] CHIP:CTL: Shutting down the commissioner + [1676356124.529711][997434:997434] CHIP:CTL: Stopping commissioning discovery over DNS-SD + [1676356124.529728][997434:997434] CHIP:CTL: Shutting down the controller + [1676356124.529732][997434:997434] CHIP:CTL: Shutting down the System State, this will teardown the CHIP Stack + [1676356124.530546][997434:997434] CHIP:DMG: All ReadHandler-s are clean, clear GlobalDirtySet + [1676356124.530584][997434:997434] CHIP:BLE: BleConnectionDelegate::CancelConnection is not implemented. + [1676356124.530603][997434:997434] CHIP:FP: Shutting down FabricTable + [1676356124.530617][997434:997434] CHIP:TS: Pending Last Known Good Time: 2023-02-13T11:57:54 + [1676356124.530729][997434:997434] CHIP:TS: Previous Last Known Good Time: 2023-02-13T11:57:54 + [1676356124.530736][997434:997434] CHIP:TS: Reverted Last Known Good Time to previous value + [1676356124.530884][997434:997434] CHIP:DL: writing settings to file (/tmp/chip_counters.ini-G154Fy) + [1676356124.531158][997434:997434] CHIP:DL: renamed tmp file to file (/tmp/chip_counters.ini) + [1676356124.531183][997434:997434] CHIP:DL: NVS set: chip-counters/total-operational-hours = 0 (0x0) + [1676356124.531192][997434:997434] CHIP:DL: Inet Layer shutdown + [1676356124.531199][997434:997434] CHIP:DL: BLE shutdown + [1676356124.531204][997434:997434] CHIP:DL: System Layer shutdown + [1676356124.531299][997434:997434] CHIP:TOO: Run command failure: ../../commands/pairing/PairingCommand.cpp:196: CHIP Error 0x00000003: Incorrect state disabled: true - label: @@ -571,12 +571,27 @@ tests: On TH_CR1 send the below command (considering 34995354639 as the manual code generated by DUT) - ./chip-tool pairing code 2 34995354639 - - Verify the OperationalCert error 9 in TH_CE(all-clusters-app) Log - - [1660902716.613196][3045:3045] CHIP:DMG: Command handler moving to [AddedComma] - [1660902716.613274][3045:3045] CHIP:ZCL: OpCreds: Failed AddNOC request (err=../../examples/all-clusters-app/linux/third_party/connectedhomeip/src/credentials/FabricTable.cpp:1692: CHIP Error 0x0000007E: Trying to add a NOC for a fabric that already exists) with OperationalCert error 9 - [1660902716.613394][3045:3045] CHIP:DMG: Decreasing reference count for CommandHandler, remaining 0 - [1660902716.613497][3045:3045] CHIP:EM: Piggybacking Ack for MessageCounter:176866087 on exchange: 56605r + ./chip-tool pairing code 1 34995354639 + [1676358083.879096][997283:997283] CHIP:SVR: Failsafe timer expired + [1676358083.879098][997283:997283] CHIP:IN: SecureSession[0x563d5294d7b0]: MarkForEviction Type:1 LSID:55630 + [1676358083.879100][997283:997283] CHIP:SC: SecureSession[0x563d5294d7b0]: Moving from state "kActive" --> "kPendingEviction" + [1676358083.879109][997283:997283] CHIP:IN: SecureSession[0x563d5294d7b0]: Released - Type:1 LSID:55630 + [1676358083.879113][997283:997283] CHIP:SVR: Commissioning failed (attempt 1): ../../third_party/connectedhomeip/src/app/server/CommissioningWindowManager.cpp:77: CHIP Error 0x00000032: Timeout + [1676358083.879123][997283:997283] CHIP:IN: SecureSession[0x563d5294d7b0]: Allocated Type:1 LSID:55631 + [1676358083.879127][997283:997283] CHIP:SC: Assigned local session key ID 55631 + [1676358083.879129][997283:997283] CHIP:SC: Waiting for PBKDF param request + [1676358083.879131][997283:997283] CHIP:DIS: Updating services using commissioning mode 2 + [1676358083.879233][997283:997283] CHIP:DIS: CHIP minimal mDNS started advertising. + [1676358083.880559][997283:997283] CHIP:DL: Using wifi MAC for hostname + + + If the DUT has to provision to verify the logs, Verify the OperationalCert error 9 in TH_CE(all-clusters-app) Log + [1676358083.879250][998226:998228] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0030 Command=0x0000_0001 + [1676358083.879258][998226:998228] CHIP:CTL: Failsafe disarmed + [1676358083.879264][998226:998228] CHIP:CTL: Successfully finished commissioning step "Cleanup" + [1676358083.879274][998226:998228] CHIP:TOO: Device commissioning Failure: ../../third_party/connectedhomeip/src/controller/CHIPDeviceController.cpp:1365: CHIP Error 0x0000007E: Trying to add a NOC for a fabric that already exists + [1676358083.879284][998226:998228] CHIP:IN: SecureSession[0x7fe26000eec0]: MarkForEviction Type:1 LSID:21508 + [1676358083.879287][998226:998228] CHIP:SC: SecureSession[0x7fe26000eec0]: Moving from state "kActive" --> "kPendingEviction" + [1676358083.879312][998226:998228] CHIP:EM: Failed to send Solitary ack for MessageCounter:80598822 on exchange 54053i:../../third_party/connectedhomeip/src/messaging/ExchangeContext.cpp:144: CHIP Error 0x00000002: Connection aborted + [1676358083.879325][998226:998228] CHIP:DMG: ICR moving to [AwaitingDe] disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_CADMIN_1_10.yaml b/src/app/tests/suites/certification/Test_TC_CADMIN_1_10.yaml index 04010ae564a617..b826804790c34a 100644 --- a/src/app/tests/suites/certification/Test_TC_CADMIN_1_10.yaml +++ b/src/app/tests/suites/certification/Test_TC_CADMIN_1_10.yaml @@ -33,6 +33,9 @@ config: type: node_id defaultValue: 0xC00FEE endpoint: 0 + waitAfterCommissioning: + type: int16u + defaultValue: 5000 discriminator: type: int16u defaultValue: 3840 @@ -81,6 +84,14 @@ tests: - name: "CommissioningTimeout" value: 900 + - label: "Waiting after opening commissioning window" + cluster: "DelayCommands" + command: "WaitForMs" + arguments: + values: + - name: "ms" + value: waitAfterCommissioning + #Check for DNS-SD advertisement CM is not possible in YAML - label: "Verify that the DNS-SD advertisement shows CM=1" verification: | @@ -438,3 +449,17 @@ tests: value: correctPayload response: error: FAILURE + + - label: "TH_CR3 starts a commissioning process with DUT_CE" + identity: "gamma" + cluster: "CommissionerCommands" + command: "PairWithCode" + PICS: CADMIN.S + arguments: + values: + - name: "nodeId" + value: nodeId3 + - name: "payload" + value: correctPayload + response: + error: FAILURE diff --git a/src/app/tests/suites/certification/Test_TC_CADMIN_1_11.yaml b/src/app/tests/suites/certification/Test_TC_CADMIN_1_11.yaml index e5e364c257017e..cf6d428543061f 100644 --- a/src/app/tests/suites/certification/Test_TC_CADMIN_1_11.yaml +++ b/src/app/tests/suites/certification/Test_TC_CADMIN_1_11.yaml @@ -30,6 +30,9 @@ config: type: node_id defaultValue: 0xC00FEE endpoint: 0 + waitAfterCommissioning: + type: int16u + defaultValue: 5000 discriminator: type: int16u defaultValue: 3840 @@ -86,6 +89,14 @@ tests: - name: "Salt" value: "SPAKE2P Key Salt" + - label: "Waiting after opening commissioning window" + cluster: "DelayCommands" + command: "WaitForMs" + arguments: + values: + - name: "ms" + value: waitAfterCommissioning + #Check for DNS-SD advertisement CM is not possible in YAML - label: "Verify that the DNS-SD advertisement shows CM=2" verification: | @@ -155,6 +166,14 @@ tests: - name: "Salt" value: "SPAKE2P Key Salt" + - label: "Waiting after opening commissioning window" + cluster: "DelayCommands" + command: "WaitForMs" + arguments: + values: + - name: "ms" + value: waitAfterCommissioning + - label: "TH_CR2 starts a commissioning process with DUT_CE" identity: "beta" cluster: "CommissionerCommands" @@ -195,6 +214,14 @@ tests: - name: "Salt" value: "SPAKE2P Key Salt" + - label: "Waiting after opening commissioning window" + cluster: "DelayCommands" + command: "WaitForMs" + arguments: + values: + - name: "ms" + value: waitAfterCommissioning + - label: "Before the expiration of PIXIT.CADMIN.CwDuration seconds which was set in step 5, TH_CR1 opens a 2nd commissioning window on DUT_CE using @@ -257,6 +284,14 @@ tests: - name: "CommissioningTimeout" value: 180 + - label: "Waiting after opening commissioning window" + cluster: "DelayCommands" + command: "WaitForMs" + arguments: + values: + - name: "ms" + value: waitAfterCommissioning + #Check for DNS-SD advertisement CM is not possible in YAML - label: "Verify that the DNS-SD advertisement shows CM=1" verification: | @@ -332,6 +367,14 @@ tests: - name: "CommissioningTimeout" value: 180 + - label: "Waiting after opening commissioning window" + cluster: "DelayCommands" + command: "WaitForMs" + arguments: + values: + - name: "ms" + value: waitAfterCommissioning + - label: "Before the expiration of PIXIT.CADMIN.CwDuration seconds that was set in step 14, TH_CR2 opens a second commissioning window on DUT_CE using diff --git a/src/app/tests/suites/certification/Test_TC_CADMIN_1_12.yaml b/src/app/tests/suites/certification/Test_TC_CADMIN_1_12.yaml index ea4af2680dc8e7..1020e53022c33c 100644 --- a/src/app/tests/suites/certification/Test_TC_CADMIN_1_12.yaml +++ b/src/app/tests/suites/certification/Test_TC_CADMIN_1_12.yaml @@ -188,7 +188,7 @@ tests: [1650527622.374896][15824:15829] CHIP:DMG: StatusIB = [1650527622.374979][15824:15829] CHIP:DMG: { [1650527622.375086][15824:15829] CHIP:DMG: status = 0x01 (FAILURE), - [1650527622.375236][15824:15829] CHIP:DMG: cluster-status = 0x1, + [1650527622.375236][15824:15829] CHIP:DMG: cluster-status = 0x2, [1650527622.375320][15824:15829] CHIP:DMG: }, [1650527622.375426][15824:15829] CHIP:DMG: [1650527622.375527][15824:15829] CHIP:DMG: }, @@ -301,7 +301,7 @@ tests: Below are the example command for using single RPI as multiple controller. Vendor should have the provision to use the equivalent command in their DUT or use multiple commissioners/controllers - ./chip-tool administratorcommissioning open-basic-commissioning-window 500 1 0 --timedInteractionTimeoutMs 1000 + ./chip-tool administratorcommissioning open-basic-commissioning-window 500 2 0 --timedInteractionTimeoutMs 1000 Verify the Open commisioning window on the TH_CE(all-cluster-app) Log: diff --git a/src/app/tests/suites/certification/Test_TC_CADMIN_1_13.yaml b/src/app/tests/suites/certification/Test_TC_CADMIN_1_13.yaml index b8c30e9a268b8f..91c60edfcd417f 100644 --- a/src/app/tests/suites/certification/Test_TC_CADMIN_1_13.yaml +++ b/src/app/tests/suites/certification/Test_TC_CADMIN_1_13.yaml @@ -34,6 +34,9 @@ config: type: node_id defaultValue: 0xC00FEE endpoint: 0 + waitAfterCommissioning: + type: int16u + defaultValue: 5000 discriminator: type: int16u defaultValue: 3840 @@ -84,6 +87,14 @@ tests: - name: "CommissioningTimeout" value: 180 + - label: "Waiting after opening commissioning window" + cluster: "DelayCommands" + command: "WaitForMs" + arguments: + values: + - name: "ms" + value: waitAfterCommissioning + - label: "TH_CR1 reads WindowStatus attribute from DUT_CE" cluster: "Administrator Commissioning" command: "readAttribute" @@ -237,6 +248,14 @@ tests: - name: "CommissioningTimeout" value: 180 + - label: "Waiting after opening commissioning window" + cluster: "DelayCommands" + command: "WaitForMs" + arguments: + values: + - name: "ms" + value: waitAfterCommissioning + - label: "TH_CR2 starts a commissioning process with DUT_CE" identity: "beta" cluster: "CommissionerCommands" @@ -268,6 +287,14 @@ tests: - name: "CommissioningTimeout" value: 180 + - label: "Waiting after opening commissioning window" + cluster: "DelayCommands" + command: "WaitForMs" + arguments: + values: + - name: "ms" + value: waitAfterCommissioning + - label: "TH_CR1 opens a 2nd commissioning window on DUT_CE" identity: "alpha" cluster: "Administrator Commissioning" @@ -334,6 +361,14 @@ tests: - name: "Salt" value: "SPAKE2P Key Salt" + - label: "Waiting after opening commissioning window" + cluster: "DelayCommands" + command: "WaitForMs" + arguments: + values: + - name: "ms" + value: waitAfterCommissioning + - label: "TH_CR1 reads WindowStatus attribute from DUT_CE" cluster: "Administrator Commissioning" command: "readAttribute" @@ -436,6 +471,14 @@ tests: - name: "Salt" value: "SPAKE2P Key Salt" + - label: "Waiting after opening commissioning window" + cluster: "DelayCommands" + command: "WaitForMs" + arguments: + values: + - name: "ms" + value: waitAfterCommissioning + - label: "TH_CR2 opens a 2nd commissioning window on DUT_CE using ECM" identity: "beta" cluster: "Administrator Commissioning" diff --git a/src/app/tests/suites/certification/Test_TC_CADMIN_1_15.yaml b/src/app/tests/suites/certification/Test_TC_CADMIN_1_15.yaml index 8692225739b419..2372d67c0cc284 100644 --- a/src/app/tests/suites/certification/Test_TC_CADMIN_1_15.yaml +++ b/src/app/tests/suites/certification/Test_TC_CADMIN_1_15.yaml @@ -28,6 +28,9 @@ config: type: node_id defaultValue: 0xC00FEE endpoint: 0 + waitAfterCommissioning: + type: int16u + defaultValue: 5000 discriminator: type: int16u defaultValue: 3840 @@ -86,6 +89,14 @@ tests: - name: "Salt" value: "SPAKE2P Key Salt" + - label: "Waiting after opening commissioning window" + cluster: "DelayCommands" + command: "WaitForMs" + arguments: + values: + - name: "ms" + value: waitAfterCommissioning + - label: "TH_CR2 starts a commissioning process with DUT_CE" identity: "beta" cluster: "CommissionerCommands" @@ -127,6 +138,14 @@ tests: - name: "Salt" value: "SPAKE2P Key Salt" + - label: "Waiting after opening commissioning window" + cluster: "DelayCommands" + command: "WaitForMs" + arguments: + values: + - name: "ms" + value: waitAfterCommissioning + - label: "TH_CR3 Commissions with DUT_CE" PICS: CADMIN.S identity: "gamma" @@ -279,6 +298,14 @@ tests: - name: "Salt" value: "SPAKE2P Key Salt" + - label: "Waiting after opening commissioning window" + cluster: "DelayCommands" + command: "WaitForMs" + arguments: + values: + - name: "ms" + value: waitAfterCommissioning + - label: "TH_CR2 starts a commissioning process with DUT_CE" identity: "beta" cluster: "CommissionerCommands" diff --git a/src/app/tests/suites/certification/Test_TC_CADMIN_1_16.yaml b/src/app/tests/suites/certification/Test_TC_CADMIN_1_16.yaml index 7964c3947511fc..1bd5b7371f33dd 100644 --- a/src/app/tests/suites/certification/Test_TC_CADMIN_1_16.yaml +++ b/src/app/tests/suites/certification/Test_TC_CADMIN_1_16.yaml @@ -29,6 +29,9 @@ config: type: node_id defaultValue: 0xC00FEE endpoint: 0 + waitAfterCommissioning: + type: int16u + defaultValue: 5000 discriminator: type: int16u defaultValue: 3840 @@ -76,6 +79,14 @@ tests: - name: "CommissioningTimeout" value: 180 + - label: "Waiting after opening commissioning window" + cluster: "DelayCommands" + command: "WaitForMs" + arguments: + values: + - name: "ms" + value: waitAfterCommissioning + - label: "TH_CR2 starts a commissioning process with DUT_CE" identity: "beta" cluster: "CommissionerCommands" @@ -109,6 +120,14 @@ tests: - name: "CommissioningTimeout" value: 180 + - label: "Waiting after opening commissioning window" + cluster: "DelayCommands" + command: "WaitForMs" + arguments: + values: + - name: "ms" + value: waitAfterCommissioning + - label: "TH_CR3 Commissions with DUT_CE" PICS: CADMIN.S identity: "gamma" @@ -223,6 +242,14 @@ tests: - name: "CommissioningTimeout" value: 180 + - label: "Waiting after opening commissioning window" + cluster: "DelayCommands" + command: "WaitForMs" + arguments: + values: + - name: "ms" + value: waitAfterCommissioning + - label: "TH_CR2 starts a commissioning process with DUT_CE" identity: "beta" cluster: "CommissionerCommands" diff --git a/src/app/tests/suites/certification/Test_TC_CADMIN_1_18.yaml b/src/app/tests/suites/certification/Test_TC_CADMIN_1_18.yaml index 47c36f56dd1722..11d26f817d985b 100644 --- a/src/app/tests/suites/certification/Test_TC_CADMIN_1_18.yaml +++ b/src/app/tests/suites/certification/Test_TC_CADMIN_1_18.yaml @@ -217,7 +217,7 @@ tests: [1661484795.153752][6993:6993] CHIP:DMG: } disabled: true - - label: "DUT_CR1 sends RemoveFabric with FabricIndex = 2command to TH_CE" + - label: "DUT_CR1 sends RemoveFabric with FabricIndex = 2 command to TH_CE" PICS: OPCREDS.C.C0a.Tx verification: | on DUT_CR1 ( using chip tool), remove fabric with FabricIndex=2 @@ -248,7 +248,7 @@ tests: Verify read/write commands fail as expected since the TH_CR2 is no longer on the network on TH_CE (all-clusters-app) - ./chip-tool basicinformation write node-label te5new 2 0 --commissioner-name beta + ./chip-tool basicinformation write node-label te5new 2 0 --commissioner-name beta [1663571657.500021][3463:3463] CHIP:DL: NVS set: chip-counters/total-operational-hours = 0 (0x0) [1663571657.500077][3463:3463] CHIP:DL: Inet Layer shutdown @@ -256,7 +256,7 @@ tests: [1663571657.500168][3463:3463] CHIP:DL: System Layer shutdown [1663571657.500383][3463:3463] CHIP:TOO: Run command failure: ../../examples/chip-tool/commands/common/CHIPCommand.cpp:454: CHIP Error 0x00000032: Timeout - ./chip-tool basicinformation read node-label 2 0 --commissioner-name beta + ./chip-tool basicinformation read node-label 2 0 --commissioner-name beta [1663571960.877702][3488:3488] CHIP:DL: NVS set: chip-counters/total-operational-hours = 0 (0x0) [1663571960.877766][3488:3488] CHIP:DL: Inet Layer shutdown diff --git a/src/app/tests/suites/certification/Test_TC_CADMIN_1_19.yaml b/src/app/tests/suites/certification/Test_TC_CADMIN_1_19.yaml index d3a0dd065fa8c1..b67881e17aa4d8 100644 --- a/src/app/tests/suites/certification/Test_TC_CADMIN_1_19.yaml +++ b/src/app/tests/suites/certification/Test_TC_CADMIN_1_19.yaml @@ -88,7 +88,7 @@ tests: to reach an index value of SupportedFabrics on DUT_CE" PICS: CADMIN.S.C00.Rsp verification: | - Repeat step 3 until CommissionedFabrics=SupportedFabrics (Supported fabrics value obtained in the step 1) + Repeat step 3 until CommissionedFabrics=SupportedFabrics (Supported fabrics value obtained in the precondition) Use the following command to verify the currentcommissioned fabric (Output number may vary depends on the number successful commissioning ) diff --git a/src/app/tests/suites/certification/Test_TC_CADMIN_1_2.yaml b/src/app/tests/suites/certification/Test_TC_CADMIN_1_2.yaml index 8e39c74f0abc1c..1bc6802514368a 100644 --- a/src/app/tests/suites/certification/Test_TC_CADMIN_1_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_CADMIN_1_2.yaml @@ -64,46 +64,46 @@ tests: - label: "TH_CR1 sends command to TH_CE to read the list of Fabrics" PICS: OPCREDS.C.A0001 verification: | - Below are the example command for using single RPI as multiple controller. Vendor should have the provision to use the equivalent command in their DUT or use multiple commissioners/controllers + Below are the example command for using single RPI as multiple controller. Vendor should have the provision to use the equivalent command with their all-cluster-app and for the second and third commissioners. On TH_CR1 send the below command ./chip-tool operationalcredentials read fabrics 1 0 --fabric-filtered 0 - - Verify TH_CE reports 1 entry in fabrics list - - - [1661486369.837260][7071:7071] CHIP:DMG: AttributeReportIB = - [1661486369.837292][7071:7071] CHIP:DMG: { - [1661486369.837317][7071:7071] CHIP:DMG: AttributeDataIB = - [1661486369.837343][7071:7071] CHIP:DMG: { - [1661486369.837371][7071:7071] CHIP:DMG: DataVersion = 0x8d915768, - [1661486369.837398][7071:7071] CHIP:DMG: AttributePathIB = - [1661486369.837426][7071:7071] CHIP:DMG: { - [1661486369.837455][7071:7071] CHIP:DMG: Endpoint = 0x0, - [1661486369.837485][7071:7071] CHIP:DMG: Cluster = 0x3e, - [1661486369.837515][7071:7071] CHIP:DMG: Attribute = 0x0000_0001, - [1661486369.837544][7071:7071] CHIP:DMG: ListIndex = Null, - [1661486369.837572][7071:7071] CHIP:DMG: } - [1661486369.837601][7071:7071] CHIP:DMG: - [1661486369.837629][7071:7071] CHIP:DMG: Data = - [1661486369.837656][7071:7071] CHIP:DMG: { - [1661486369.837685][7071:7071] CHIP:DMG: 0x1 = [ - [1661486369.837731][7071:7071] CHIP:DMG: 0x4, 0xb5, 0xc1, 0xfd, 0xdd, 0x6a, 0xdd, 0xc3, 0xa1, 0x3d, 0xee, 0x39, 0xa2, 0xe, 0x66, 0x7, 0xa2, 0x3a, 0x6d, 0x4a, 0x86, 0x57, 0x36, 0xf7, 0x1f, 0x20, 0x7c, 0x9d, 0xe8, 0x8, 0xa, 0xd5, 0xf2, 0x9c, 0x9d, 0x1b, 0x14, 0x5f, 0xbc, 0x60, 0xb9, 0xe7, 0xee, 0xb3, 0x4c, 0x2, 0xf4, 0x7b, 0x21, 0xdb, 0x74, 0x4e, 0xb1, 0x65, 0x22, 0xd3, 0xe0, 0x32, 0xbd, 0xbe, 0xde, 0x43, 0xfe, 0x26, 0xd6, - [1661486369.837769][7071:7071] CHIP:DMG: ] (65 bytes) - [1661486369.837799][7071:7071] CHIP:DMG: 0x2 = 65521, - [1661486369.837830][7071:7071] CHIP:DMG: 0x3 = 1, - [1661486369.837861][7071:7071] CHIP:DMG: 0x4 = 1, - [1661486369.837893][7071:7071] CHIP:DMG: 0x5 = "" (0 chars), - [1661486369.837923][7071:7071] CHIP:DMG: 0xfe = 1, - [1661486369.837953][7071:7071] CHIP:DMG: }, - [1661486369.837979][7071:7071] CHIP:DMG: }, - [1661486369.838010][7071:7071] CHIP:DMG: - [1661486369.838034][7071:7071] CHIP:DMG: }, - [1661486369.838064][7071:7071] CHIP:DMG: - [1661486369.838084][7071:7071] CHIP:DMG: ], - [1661486369.838116][7071:7071] CHIP:DMG: + [1676355303.608991][997145:997145] CHIP:IM: Received Read request + [1676355303.609044][997145:997145] CHIP:DMG: ReadRequestMessage = + [1676355303.609054][997145:997145] CHIP:DMG: { + [1676355303.609062][997145:997145] CHIP:DMG: AttributePathIBs = + [1676355303.609072][997145:997145] CHIP:DMG: [ + [1676355303.609080][997145:997145] CHIP:DMG: AttributePathIB = + [1676355303.609090][997145:997145] CHIP:DMG: { + [1676355303.609129][997145:997145] CHIP:DMG: Endpoint = 0x0, + [1676355303.609141][997145:997145] CHIP:DMG: Cluster = 0x3e, + [1676355303.609150][997145:997145] CHIP:DMG: Attribute = 0x0000_0001, + [1676355303.609158][997145:997145] CHIP:DMG: } + [1676355303.609168][997145:997145] CHIP:DMG: + [1676355303.609175][997145:997145] CHIP:DMG: ], + [1676355303.609186][997145:997145] CHIP:DMG: + [1676355303.609196][997145:997145] CHIP:DMG: isFabricFiltered = false, + [1676355303.609206][997145:997145] CHIP:DMG: InteractionModelRevision = 1 + [1676355303.609214][997145:997145] CHIP:DMG: }, + [1676355303.609271][997145:997145] CHIP:DMG: IM RH moving to [GeneratingReports] + [1676355303.609309][997145:997145] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 + + + + If the DUT has to provision to verify the logs, verify that TH all-clusters-app sent 1 entry in the Fabrics list attribute reports and that this entry matches the first commissioning’s information. + [1676355303.610452][997160:997162] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0001 DataVersion: 784275529 + [1676355303.610499][997160:997162] CHIP:TOO: Fabrics: 1 entries + [1676355303.610525][997160:997162] CHIP:TOO: [1]: { + [1676355303.610538][997160:997162] CHIP:TOO: RootPublicKey: 04E8581EC896E1F4C0C460F03B20B5F785669CEA9C950487F564F8AFEDD6414F92B47F7B3EF810454DFC8D912C77A8F477378207908941C5E1225609DF4E7751C7 + [1676355303.610557][997160:997162] CHIP:TOO: VendorID: 65521 + [1676355303.610563][997160:997162] CHIP:TOO: FabricID: 1 + [1676355303.610569][997160:997162] CHIP:TOO: NodeID: 1 + [1676355303.610576][997160:997162] CHIP:TOO: Label: + [1676355303.610582][997160:997162] CHIP:TOO: FabricIndex: 1 + [1676355303.610588][997160:997162] CHIP:TOO: } + [1676355303.610660][997160:997162] CHIP:EM: <<< [E:41653i S:27265 M:61334885 (Ack:214003320)] (S) Msg TX to 1:0000000000000001 [6193] --- Type 0000:10 (SecureChannel:StandaloneAck) disabled: true - label: "DUT_CR2 starts a commissioning process with TH_CE" @@ -128,7 +128,10 @@ tests: On TH_CR1 send the below command - avahi-browse -rt _matter._tcp + ubuntu@ubuntu:~/may10_cntrl2/connectedhomeip/examples/chip-tool/out/debug$ avahi-browse -rt _matter._tcp + + + If the DUT has to provision to verify the logs, verify that TH all-clusters-app is now discoverable over DNS-SD with two SRV Records commissioning’s information. + eth0 IPv6 E0AF53B23E580769-0000000000000002 _matter._tcp local + eth0 IPv6 7FF84D214A19B581-0000000000000001 _matter._tcp local @@ -153,7 +156,7 @@ tests: On DUT_CR2 send the below command - ./chip-tool basicinformation write node-label te5new 2 0 --commissioner-name beta + ./chip-tool basicinformation write node-label te5new 2 0 --commissioner-name beta On TH2(all-clusters-app) Log @@ -175,7 +178,7 @@ tests: [1660894021.902302][2871:2871] CHIP:DMG: Endpoint = 0x0, - ./chip-tool basicinformation read node-label 2 0 --commissioner-name beta + ./chip-tool basicinformation read node-label 2 0 --commissioner-name beta Verify read request on TH_CE(all-clusters-app) Log @@ -202,66 +205,48 @@ tests: On DUT_CR2 send the below command ./chip-tool operationalcredentials read fabrics 2 0 --fabric-filtered 0 --commissioner-name beta - - Verify 2 entries in TH_CE log - - - [1661481567.477399][6453:6453] CHIP:DMG: AttributeReportIB = - [1661481567.477428][6453:6453] CHIP:DMG: { - [1661481567.477450][6453:6453] CHIP:DMG: AttributeDataIB = - [1661481567.477475][6453:6453] CHIP:DMG: { - [1661481567.477503][6453:6453] CHIP:DMG: DataVersion = 0x482f8cf0, - [1661481567.477530][6453:6453] CHIP:DMG: AttributePathIB = - [1661481567.477558][6453:6453] CHIP:DMG: { - [1661481567.477586][6453:6453] CHIP:DMG: Endpoint = 0x0, - [1661481567.477616][6453:6453] CHIP:DMG: Cluster = 0x3e, - [1661481567.477649][6453:6453] CHIP:DMG: Attribute = 0x0000_0001, - [1661481567.477678][6453:6453] CHIP:DMG: ListIndex = Null, - [1661481567.477706][6453:6453] CHIP:DMG: } - [1661481567.477735][6453:6453] CHIP:DMG: - [1661481567.477762][6453:6453] CHIP:DMG: Data = - [1661481567.477791][6453:6453] CHIP:DMG: { - [1661481567.477823][6453:6453] CHIP:DMG: 0x1 = [ - [1661481567.477871][6453:6453] CHIP:DMG: 0x4, 0xb5, 0xc1, 0xfd, 0xdd, 0x6a, 0xdd, 0xc3, 0xa1, 0x3d, 0xee, 0x39, 0xa2, 0xe, 0x66, 0x7, 0xa2, 0x3a, 0x6d, 0x4a, 0x86, 0x57, 0x36, 0xf7, 0x1f, 0x20, 0x7c, 0x9d, 0xe8, 0x8, 0xa, 0xd5, 0xf2, 0x9c, 0x9d, 0x1b, 0x14, 0x5f, 0xbc, 0x60, 0xb9, 0xe7, 0xee, 0xb3, 0x4c, 0x2, 0xf4, 0x7b, 0x21, 0xdb, 0x74, 0x4e, 0xb1, 0x65, 0x22, 0xd3, 0xe0, 0x32, 0xbd, 0xbe, 0xde, 0x43, 0xfe, 0x26, 0xd6, - [1661481567.477909][6453:6453] CHIP:DMG: ] (65 bytes) - [1661481567.477942][6453:6453] CHIP:DMG: 0x2 = 65521, - [1661481567.477974][6453:6453] CHIP:DMG: 0x3 = 1, - [1661481567.478007][6453:6453] CHIP:DMG: 0x4 = 1, - [1661481567.478096][6453:6453] CHIP:DMG: 0x5 = "" (0 chars), - [1661481567.478129][6453:6453] CHIP:DMG: 0xfe = 1, - [1661481567.478160][6453:6453] CHIP:DMG: }, - [1661481567.478187][6453:6453] CHIP:DMG: }, - [1661481567.478217][6453:6453] CHIP:DMG: - [1661481567.478241][6453:6453] CHIP:DMG: }, - [1661481567.478278][6453:6453] CHIP:DMG: - [1661481567.478298][6453:6453] CHIP:DMG: AttributeReportIB = - [1661481567.478330][6453:6453] CHIP:DMG: { - [1661481567.478354][6453:6453] CHIP:DMG: AttributeDataIB = - [1661481567.478380][6453:6453] CHIP:DMG: { - [1661481567.478406][6453:6453] CHIP:DMG: DataVersion = 0x482f8cf0, - [1661481567.478433][6453:6453] CHIP:DMG: AttributePathIB = - [1661481567.478461][6453:6453] CHIP:DMG: { - [1661481567.478489][6453:6453] CHIP:DMG: Endpoint = 0x0, - [1661481567.478522][6453:6453] CHIP:DMG: Cluster = 0x3e, - [1661481567.478554][6453:6453] CHIP:DMG: Attribute = 0x0000_0001, - [1661481567.478584][6453:6453] CHIP:DMG: ListIndex = Null, - [1661481567.478612][6453:6453] CHIP:DMG: } - [1661481567.478643][6453:6453] CHIP:DMG: - [1661481567.478672][6453:6453] CHIP:DMG: Data = - [1661481567.478702][6453:6453] CHIP:DMG: { - [1661481567.478732][6453:6453] CHIP:DMG: 0x1 = [ - [1661481567.478777][6453:6453] CHIP:DMG: 0x4, 0x7b, 0x5b, 0x9a, 0x2a, 0xd1, 0x4e, 0x1e, 0x8d, 0xf4, 0xca, 0xea, 0xde, 0x1c, 0xbe, 0xa7, 0xf6, 0xd4, 0xa1, 0xe8, 0xf0, 0x20, 0x9f, 0x6c, 0x38, 0x30, 0x31, 0x88, 0xb5, 0x89, 0x69, 0xd4, 0x7, 0x17, 0x16, 0x85, 0x25, 0x55, 0x8f, 0x5b, 0xed, 0x58, 0x68, 0x27, 0xde, 0x5e, 0xf6, 0xf9, 0xf8, 0x99, 0x54, 0x92, 0x8e, 0x33, 0xa6, 0xf4, 0xb0, 0x5a, 0xc1, 0xa6, 0x1a, 0xf5, 0x2, 0xb4, 0x4f, - [1661481567.478815][6453:6453] CHIP:DMG: ] (65 bytes) - [1661481567.478848][6453:6453] CHIP:DMG: 0x2 = 65521, - [1661481567.478877][6453:6453] CHIP:DMG: 0x3 = 2, - [1661481567.478907][6453:6453] CHIP:DMG: 0x4 = 1, - [1661481567.478938][6453:6453] CHIP:DMG: 0x5 = "" (0 chars), - [1661481567.478968][6453:6453] CHIP:DMG: 0xfe = 2, - [1661481567.478999][6453:6453] CHIP:DMG: }, - [1661481567.479026][6453:6453] CHIP:DMG: }, - [1661481567.479056][6453:6453] CHIP:DMG: - [1661481567.479079][6453:6453] CHIP:DMG: }, - [1661481567.479107][6453:6453] CHIP:DMG: + [1676359089.319707][999199:999199] CHIP:IM: Received Read request + [1676359089.319728][999199:999199] CHIP:DMG: ReadRequestMessage = + [1676359089.319731][999199:999199] CHIP:DMG: { + [1676359089.319734][999199:999199] CHIP:DMG: AttributePathIBs = + [1676359089.319737][999199:999199] CHIP:DMG: [ + [1676359089.319739][999199:999199] CHIP:DMG: AttributePathIB = + [1676359089.319743][999199:999199] CHIP:DMG: { + [1676359089.319745][999199:999199] CHIP:DMG: Endpoint = 0x0, + [1676359089.319748][999199:999199] CHIP:DMG: Cluster = 0x3e, + [1676359089.319752][999199:999199] CHIP:DMG: Attribute = 0x0000_0001, + [1676359089.319754][999199:999199] CHIP:DMG: } + [1676359089.319757][999199:999199] CHIP:DMG: + [1676359089.319759][999199:999199] CHIP:DMG: ], + [1676359089.319763][999199:999199] CHIP:DMG: + [1676359089.319765][999199:999199] CHIP:DMG: isFabricFiltered = false, + [1676359089.319768][999199:999199] CHIP:DMG: InteractionModelRevision = 1 + [1676359089.319770][999199:999199] CHIP:DMG: }, + [1676359089.319787][999199:999199] CHIP:DMG: IM RH moving to [GeneratingReports] + [1676359089.319799][999199:999199] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 + + + If the DUT has to provision to verify the logs, verify that TH all-clusters-app sent 1 entry in the Fabrics list attribute reports andand that these entries match the commissioning state to date. + + [1676359089.320184][999284:999286] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0001 DataVersion: 277955638 + [1676359089.320212][999284:999286] CHIP:TOO: Fabrics: 2 entries + [1676359089.320222][999284:999286] CHIP:TOO: [1]: { + [1676359089.320226][999284:999286] CHIP:TOO: RootPublicKey: 041A8688563FB58D7CBEC5FE07ACF350C5A8C7B5C2F21BC16C713D02845C6EB0017818F25A422762FA1E1F8563A6D9DF99C7A34B0DC9B8F04A669739EFE98EEBD1 + [1676359089.320234][999284:999286] CHIP:TOO: VendorID: 65521 + [1676359089.320236][999284:999286] CHIP:TOO: FabricID: 1 + [1676359089.320238][999284:999286] CHIP:TOO: NodeID: 1 + [1676359089.320240][999284:999286] CHIP:TOO: Label: + [1676359089.320243][999284:999286] CHIP:TOO: FabricIndex: 1 + [1676359089.320244][999284:999286] CHIP:TOO: } + [1676359089.320248][999284:999286] CHIP:TOO: [2]: { + [1676359089.320251][999284:999286] CHIP:TOO: RootPublicKey: 048260812572CCEAE7F21DDA78D205ADF06E04F8240DAA7A97BD531BF6B5A9983BA53A446E126B6DAB72DC6AE3D2E85BC740770A90047B3A43CF6E8CF993D98A11 + [1676359089.320253][999284:999286] CHIP:TOO: VendorID: 65521 + [1676359089.320255][999284:999286] CHIP:TOO: FabricID: 2 + [1676359089.320257][999284:999286] CHIP:TOO: NodeID: 2 + [1676359089.320258][999284:999286] CHIP:TOO: Label: + [1676359089.320260][999284:999286] CHIP:TOO: FabricIndex: 2 + [1676359089.320262][999284:999286] CHIP:TOO: } + [1676359089.320282][999284:999286] CHIP:EM: <<< [E:47443i S:6334 M:207103685 (Ack:267947381)] (S) Msg TX to 2:0000000000000002 [5F40] --- Type 0000:10 (SecureChannel:StandaloneAck) disabled: true - label: @@ -272,7 +257,7 @@ tests: Below are the example command for using single RPI as multiple controller. Vendor should have the provision to use the equivalent command in their DUT or use multiple commissioners/controllers - ./chip-tool basicinformation write node-label te8 1 0 + ./chip-tool basicinformation write node-label te8 1 0 Verify the Write request On TH_CE(all-clusters-app) Log @@ -288,7 +273,7 @@ tests: [1660894538.805196][2871:2871] CHIP:DMG: [ - ./chip-tool basicinformation read node-label 1 0 + ./chip-tool basicinformation read node-label 1 0 Verify the Read request On TH_CE(all-clusters-app) Log @@ -320,7 +305,7 @@ tests: On DUT_CR2 send the below command - ./chip-tool basicinformation read node-label 2 0 --commissioner-name beta + ./chip-tool basicinformation read node-label 2 0 --commissioner-name beta Verify the Read request On TH_CE(all-clusters-app) Log @@ -341,7 +326,7 @@ tests: - ./chip-tool basicinformation write node-label te5new 2 0 --commissioner-name beta + ./chip-tool basicinformation write node-label te5new 2 0 --commissioner-name beta Verify the Write request On TH_CE(all-clusters-app) Log @@ -370,7 +355,7 @@ tests: - ./chip-tool basicinformation read node-label 2 0 --commissioner-name beta + ./chip-tool basicinformation read node-label 2 0 --commissioner-name beta Verify the Read request On TH_CE(all-clusters-app) Log @@ -436,17 +421,37 @@ tests: with TH_CE" PICS: CADMIN.C verification: | - Below are the example command for using single RPI as multiple controller. Vendor should have the provision to use the equivalent command in their DUT or use multiple commissioners/controllers + Below are the example command for using single RPI as multiple controller. Vendor should have the provision to use the equivalent command with their all-cluster-app and for the second and third commissioners. On TH_CR3 send the below command - ./chip-tool pairing onnetwork 3 20202021 --commissioner-name gamma + ./chip-tool pairing code 3 20202021 --commissioner-name gamma - verify you got the following message in the TH_CR3(chip-tool) log + verify you got the following message in the TH_CR3(all-clusters-app) log - CHIP:SC: PASESession timed out while waiting for a response from the peer. Expected message type was 33 - CHIP:TOO: Secure Pairing Failed - CHIP:TOO: Pairing Failure: ../../third_party/connectedhomeip/src/protocols/secure_channel/PASESession.cpp:324: CHIP Error 0x00000032: Timeout + + + + If the DUT has to provision to verify the logs, Verify that either no _matterc._udp commissionable records exist matching the previously obtained discriminator, or that TH_CE refuses to allow a PASE with the provided passcode from the onboarding payload. + + [1676356124.529686][997434:997434] CHIP:TS: Reverted Last Known Good Time to previous value + [1676356124.529707][997434:997434] CHIP:CTL: Shutting down the commissioner + [1676356124.529711][997434:997434] CHIP:CTL: Stopping commissioning discovery over DNS-SD + [1676356124.529728][997434:997434] CHIP:CTL: Shutting down the controller + [1676356124.529732][997434:997434] CHIP:CTL: Shutting down the System State, this will teardown the CHIP Stack + [1676356124.530546][997434:997434] CHIP:DMG: All ReadHandler-s are clean, clear GlobalDirtySet + [1676356124.530584][997434:997434] CHIP:BLE: BleConnectionDelegate::CancelConnection is not implemented. + [1676356124.530603][997434:997434] CHIP:FP: Shutting down FabricTable + [1676356124.530617][997434:997434] CHIP:TS: Pending Last Known Good Time: 2023-02-13T11:57:54 + [1676356124.530729][997434:997434] CHIP:TS: Previous Last Known Good Time: 2023-02-13T11:57:54 + [1676356124.530736][997434:997434] CHIP:TS: Reverted Last Known Good Time to previous value + [1676356124.530884][997434:997434] CHIP:DL: writing settings to file (/tmp/chip_counters.ini-G154Fy) + [1676356124.531158][997434:997434] CHIP:DL: renamed tmp file to file (/tmp/chip_counters.ini) + [1676356124.531183][997434:997434] CHIP:DL: NVS set: chip-counters/total-operational-hours = 0 (0x0) + [1676356124.531192][997434:997434] CHIP:DL: Inet Layer shutdown + [1676356124.531199][997434:997434] CHIP:DL: BLE shutdown + [1676356124.531204][997434:997434] CHIP:DL: System Layer shutdown + [1676356124.531299][997434:997434] CHIP:TOO: Run command failure: ../../commands/pairing/PairingCommand.cpp:196: CHIP Error 0x00000003: Incorrect state disabled: true - label: @@ -458,7 +463,7 @@ tests: On DUT_CR2 send the below command - ./chip-tool basicinformation write node-label te5new 2 0 --commissioner-name beta + ./chip-tool basicinformation write node-label te5new 2 0 --commissioner-name beta Verify the Write request On TH_CE(all-clusters-app) Log @@ -473,7 +478,7 @@ tests: [1660902144.915374][3045:3045] CHIP:DMG: - ./chip-tool basicinformation read node-label 2 0 --commissioner-name beta + ./chip-tool basicinformation read node-label 2 0 --commissioner-name beta Verify the Read request On TH_CE(all-clusters-app) Log @@ -539,12 +544,28 @@ tests: On TH_CR1 send the below command - ./chip-tool pairing onnetwork 1 20202021 - - Verify the OperationalCert error 9 in TH_CE(all-clusters-app) Log - - [1660902716.613196][3045:3045] CHIP:DMG: Command handler moving to [AddedComma] - [1660902716.613274][3045:3045] CHIP:ZCL: OpCreds: Failed AddNOC request (err=../../examples/all-clusters-app/linux/third_party/connectedhomeip/src/credentials/FabricTable.cpp:1692: CHIP Error 0x0000007E: Trying to add a NOC for a fabric that already exists) with OperationalCert error 9 - [1660902716.613394][3045:3045] CHIP:DMG: Decreasing reference count for CommandHandler, remaining 0 - [1660902716.613497][3045:3045] CHIP:EM: Piggybacking Ack for MessageCounter:176866087 on exchange: 56605r + (considering 34995354639 as the manual code generated by DUT) + ./chip-tool pairing code 1 20202021 + [1676358083.879096][997283:997283] CHIP:SVR: Failsafe timer expired + [1676358083.879098][997283:997283] CHIP:IN: SecureSession[0x563d5294d7b0]: MarkForEviction Type:1 LSID:55630 + [1676358083.879100][997283:997283] CHIP:SC: SecureSession[0x563d5294d7b0]: Moving from state "kActive" --> "kPendingEviction" + [1676358083.879109][997283:997283] CHIP:IN: SecureSession[0x563d5294d7b0]: Released - Type:1 LSID:55630 + [1676358083.879113][997283:997283] CHIP:SVR: Commissioning failed (attempt 1): ../../third_party/connectedhomeip/src/app/server/CommissioningWindowManager.cpp:77: CHIP Error 0x00000032: Timeout + [1676358083.879123][997283:997283] CHIP:IN: SecureSession[0x563d5294d7b0]: Allocated Type:1 LSID:55631 + [1676358083.879127][997283:997283] CHIP:SC: Assigned local session key ID 55631 + [1676358083.879129][997283:997283] CHIP:SC: Waiting for PBKDF param request + [1676358083.879131][997283:997283] CHIP:DIS: Updating services using commissioning mode 2 + [1676358083.879233][997283:997283] CHIP:DIS: CHIP minimal mDNS started advertising. + [1676358083.880559][997283:997283] CHIP:DL: Using wifi MAC for hostname + + + If the DUT has to provision to verify the logs, Verify the OperationalCert error 9 in TH_CE(all-clusters-app) Log + [1676358083.879250][998226:998228] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0030 Command=0x0000_0001 + [1676358083.879258][998226:998228] CHIP:CTL: Failsafe disarmed + [1676358083.879264][998226:998228] CHIP:CTL: Successfully finished commissioning step "Cleanup" + [1676358083.879274][998226:998228] CHIP:TOO: Device commissioning Failure: ../../third_party/connectedhomeip/src/controller/CHIPDeviceController.cpp:1365: CHIP Error 0x0000007E: Trying to add a NOC for a fabric that already exists + [1676358083.879284][998226:998228] CHIP:IN: SecureSession[0x7fe26000eec0]: MarkForEviction Type:1 LSID:21508 + [1676358083.879287][998226:998228] CHIP:SC: SecureSession[0x7fe26000eec0]: Moving from state "kActive" --> "kPendingEviction" + [1676358083.879312][998226:998228] CHIP:EM: Failed to send Solitary ack for MessageCounter:80598822 on exchange 54053i:../../third_party/connectedhomeip/src/messaging/ExchangeContext.cpp:144: CHIP Error 0x00000002: Connection aborted + [1676358083.879325][998226:998228] CHIP:DMG: ICR moving to [AwaitingDe] disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_CADMIN_1_20.yaml b/src/app/tests/suites/certification/Test_TC_CADMIN_1_20.yaml index b8b3f132227324..a1eb7d8e8c0395 100644 --- a/src/app/tests/suites/certification/Test_TC_CADMIN_1_20.yaml +++ b/src/app/tests/suites/certification/Test_TC_CADMIN_1_20.yaml @@ -108,7 +108,7 @@ tests: to reach an index value of SupportedFabrics on DUT_CE" PICS: CADMIN.S.C01.Rsp verification: | - Repeat step 3 until CommissionedFabrics=SupportedFabrics (Supported fabrics value obtained in the step 1) + Repeat step 3 until CommissionedFabrics=SupportedFabrics (Supported fabrics value obtained in the precondition) Use the following command to verify the currentcommissioned fabric (Output number may vary depends on the number successful commissioning ) @@ -126,7 +126,7 @@ tests: ./chip-tool pairing onnetwork 6 20202021 --commissioner-name 4 - Verify DUT_CE responds with NOCResponse with a StatusCode of 0x05 on THn (chip-tool) log + Verify DUT_CE responds with NOCResponse with a StatusCode of 0x05 on TH (chip-tool) log CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_003E Command=0x0000_0008 [1649756670.402192][10794:10799] CHIP:CTL: Device returned status 5 on receiving the NOC diff --git a/src/app/tests/suites/certification/Test_TC_CADMIN_1_3.yaml b/src/app/tests/suites/certification/Test_TC_CADMIN_1_3.yaml index 5859c20e8d4736..719702fe3308fd 100644 --- a/src/app/tests/suites/certification/Test_TC_CADMIN_1_3.yaml +++ b/src/app/tests/suites/certification/Test_TC_CADMIN_1_3.yaml @@ -33,6 +33,9 @@ config: PakeVerifier: type: octet_string defaultValue: "hex:b96170aae803346884724fe9a3b287c30330c2a660375d17bb205a8cf1aecb350457f8ab79ee253ab6a8e46bb09e543ae422736de501e3db37d441fe344920d09548e4c18240630c4ff4913c53513839b7c07fcc0627a1b8573a149fcd1fa466cf" + waitAfterCommissioning: + type: int16u + defaultValue: 5000 tests: - label: "Precondition: Reset Devices to factory defaults" @@ -80,6 +83,14 @@ tests: - name: "Salt" value: "SPAKE2P Key Salt" + - label: "Waiting after opening commissioning window" + cluster: "DelayCommands" + command: "WaitForMs" + arguments: + values: + - name: "ms" + value: waitAfterCommissioning + #Check for DNS-SD advertisement CM is not possible in YAML - label: "Verify that the DNS-SD advertisement shows CM=2" verification: | @@ -306,6 +317,14 @@ tests: - name: "Salt" value: "SPAKE2P Key Salt" + - label: "Waiting after opening commissioning window" + cluster: "DelayCommands" + command: "WaitForMs" + arguments: + values: + - name: "ms" + value: waitAfterCommissioning + - label: "TH_CR1 starts a commissioning process with DUT_CE before the timeout from step 12" diff --git a/src/app/tests/suites/certification/Test_TC_CADMIN_1_4.yaml b/src/app/tests/suites/certification/Test_TC_CADMIN_1_4.yaml index c4bb68b4ccb617..575738c81b8932 100644 --- a/src/app/tests/suites/certification/Test_TC_CADMIN_1_4.yaml +++ b/src/app/tests/suites/certification/Test_TC_CADMIN_1_4.yaml @@ -31,6 +31,9 @@ config: payload: type: char_string defaultValue: "MT:-24J0AFN00KA0648G00" + waitAfterCommissioning: + type: int16u + defaultValue: 5000 tests: - label: "Precondition: Reset Devices to factory defaults" @@ -70,6 +73,14 @@ tests: - name: "CommissioningTimeout" value: 180 + - label: "Waiting after opening commissioning window" + cluster: "DelayCommands" + command: "WaitForMs" + arguments: + values: + - name: "ms" + value: waitAfterCommissioning + #Check for DNS-SD advertisement CM is not possible in YAML - label: "Verify that the DNS-SD advertisement shows CM=1" verification: | @@ -277,6 +288,14 @@ tests: - name: "CommissioningTimeout" value: 180 + - label: "Waiting after opening commissioning window" + cluster: "DelayCommands" + command: "WaitForMs" + arguments: + values: + - name: "ms" + value: waitAfterCommissioning + - label: "TH_CR1 starts a commissioning process with DUT_CE before the timeout from step 12" diff --git a/src/app/tests/suites/certification/Test_TC_CADMIN_1_5.yaml b/src/app/tests/suites/certification/Test_TC_CADMIN_1_5.yaml index 87ed2ae7a1b38a..05ed69c10fdcb3 100644 --- a/src/app/tests/suites/certification/Test_TC_CADMIN_1_5.yaml +++ b/src/app/tests/suites/certification/Test_TC_CADMIN_1_5.yaml @@ -32,6 +32,9 @@ config: type: node_id defaultValue: 0xC00FEE endpoint: 0 + waitAfterCommissioning: + type: int16u + defaultValue: 5000 discriminator: type: int16u defaultValue: 3840 @@ -153,6 +156,14 @@ tests: - name: "Salt" value: "SPAKE2P Key Salt" + - label: "Waiting after opening commissioning window" + cluster: "DelayCommands" + command: "WaitForMs" + arguments: + values: + - name: "ms" + value: waitAfterCommissioning + - label: "TH_CR1 revokes the commissioning window on DUT_CE" cluster: "Administrator Commissioning" command: "RevokeCommissioning" @@ -238,6 +249,14 @@ tests: - name: "Salt" value: "SPAKE2P Key Salt" + - label: "Waiting after opening commissioning window" + cluster: "DelayCommands" + command: "WaitForMs" + arguments: + values: + - name: "ms" + value: waitAfterCommissioning + - label: "TH_CR1 opens another commissioning window on DUT_CE using ECM" cluster: "Administrator Commissioning" command: "OpenCommissioningWindow" diff --git a/src/app/tests/suites/certification/Test_TC_CADMIN_1_6.yaml b/src/app/tests/suites/certification/Test_TC_CADMIN_1_6.yaml index c39732ed9a6e32..a602517f4d1034 100644 --- a/src/app/tests/suites/certification/Test_TC_CADMIN_1_6.yaml +++ b/src/app/tests/suites/certification/Test_TC_CADMIN_1_6.yaml @@ -33,6 +33,9 @@ config: type: node_id defaultValue: 0xC00FEE endpoint: 0 + waitAfterCommissioning: + type: int16u + defaultValue: 5000 discriminator: type: int16u defaultValue: 3840 @@ -139,6 +142,14 @@ tests: - name: "CommissioningTimeout" value: 180 + - label: "Waiting after opening commissioning window" + cluster: "DelayCommands" + command: "WaitForMs" + arguments: + values: + - name: "ms" + value: waitAfterCommissioning + - label: "TH_CR1 revokes the commissioning window on DUT_CE" cluster: "Administrator Commissioning" command: "RevokeCommissioning" @@ -195,6 +206,14 @@ tests: - name: "CommissioningTimeout" value: 180 + - label: "Waiting after opening commissioning window" + cluster: "DelayCommands" + command: "WaitForMs" + arguments: + values: + - name: "ms" + value: waitAfterCommissioning + - label: "TH_CR1 opens another commissioning window on DUT_CE" identity: "alpha" cluster: "Administrator Commissioning" diff --git a/src/app/tests/suites/certification/Test_TC_CADMIN_1_9.yaml b/src/app/tests/suites/certification/Test_TC_CADMIN_1_9.yaml index ccd2143096e31e..1692301ff764b0 100644 --- a/src/app/tests/suites/certification/Test_TC_CADMIN_1_9.yaml +++ b/src/app/tests/suites/certification/Test_TC_CADMIN_1_9.yaml @@ -32,6 +32,9 @@ config: type: node_id defaultValue: 0xC00FEE endpoint: 0 + waitAfterCommissioning: + type: int16u + defaultValue: 5000 discriminator: type: int16u defaultValue: 3840 @@ -91,6 +94,14 @@ tests: - name: "Salt" value: "SPAKE2P Key Salt" + - label: "Waiting after opening commissioning window" + cluster: "DelayCommands" + command: "WaitForMs" + arguments: + values: + - name: "ms" + value: waitAfterCommissioning + #Check for DNS-SD advertisement CM is not possible in YAML - label: "Verify that the DNS-SD advertisement shows CM=2" verification: | diff --git a/src/app/tests/suites/certification/Test_TC_CC_3_1.yaml b/src/app/tests/suites/certification/Test_TC_CC_3_1.yaml index c2a46db5276c82..8149cb3a304804 100644 --- a/src/app/tests/suites/certification/Test_TC_CC_3_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_CC_3_1.yaml @@ -243,14 +243,24 @@ tests: - name: "ms" value: 10000 + #https://github.com/CHIP-Specifications/chip-test-scripts/issues/493#issuecomment-1422075950 - label: "TH reads CurrentHue attribute from DUT" - PICS: CC.S.F00 && CC.S.A0000 - command: "readAttribute" - attribute: "CurrentHue" - response: - constraints: - minValue: 166 - maxValue: 224 + PICS: CC.S.F00 && CC.S.A0000 && PICS_SKIP_SAMPLE_APP + verification: | + ./chip-tool colorcontrol read current-hue 1 1 + + After another 10 seconds , Verify that CurrentHue value as 195 On TH(chip-tool) Logs: + [1649661821.298198][8292:8297] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0300 Attribute 0x0000_0000 DataVersion: 4087274517 + [1649661821.298271][8292:8297] CHIP:TOO: current hue: 195 (value can vary) + [1649661821.298374][8292:8297] CHIP:EM: Sending Standalone Ack for MessageCounter:13643708 on exchange 28536i + cluster: "LogCommands" + command: "UserPrompt" + arguments: + values: + - name: "message" + value: "Enter 'y' after success" + - name: "expectedValue" + value: "y" - label: "Wait 10s" PICS: CC.S.F00 @@ -261,14 +271,24 @@ tests: - name: "ms" value: 10000 + #https://github.com/CHIP-Specifications/chip-test-scripts/issues/493#issuecomment-1422075950 - label: "TH reads CurrentHue attribute from DUT" - PICS: CC.S.F00 && CC.S.A0000 - command: "readAttribute" - attribute: "CurrentHue" - response: - constraints: - minValue: 115 - maxValue: 155 + PICS: CC.S.F00 && CC.S.A0000 && PICS_SKIP_SAMPLE_APP + verification: | + ./chip-tool colorcontrol read current-hue 1 1 + After another 10 seconds , Verify that CurrentHue value as 135 On TH(chip-tool) Logs: + + [1649661821.298198][8292:8297] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0300 Attribute 0x0000_0000 DataVersion: 4087274517 + [1649661821.298271][8292:8297] CHIP:TOO: current hue: 135 + [1649661821.298374][8292:8297] CHIP:EM: Sending Standalone Ack for MessageCounter:13643708 on exchange 28536i" + cluster: "LogCommands" + command: "UserPrompt" + arguments: + values: + - name: "message" + value: "Enter 'y' after success" + - name: "expectedValue" + value: "y" - label: "Wait 5s" PICS: CC.S.F00 diff --git a/src/app/tests/suites/certification/Test_TC_CC_6_3.yaml b/src/app/tests/suites/certification/Test_TC_CC_6_3.yaml index c0fd6a5dc6154b..67f74654fe4c40 100644 --- a/src/app/tests/suites/certification/Test_TC_CC_6_3.yaml +++ b/src/app/tests/suites/certification/Test_TC_CC_6_3.yaml @@ -174,15 +174,14 @@ tests: - name: "ms" value: 5000 - #Issue https://github.com/CHIP-Specifications/chip-test-plans/issues/2175 + #Issue https://github.com/CHIP-Specifications/chip-certification-tool/issues/689#issuecomment-1422612456 - label: "TH reads ColorTemperatureMireds attribute from DUT." PICS: CC.S.F04 && CC.S.A0007 && CC.S.C4c.Rsp && PICS_SKIP_SAMPLE_APP command: "readAttribute" attribute: "ColorTemperatureMireds" response: - value: ColorTempPhysicalMaxMiredsValue constraints: - minValue: ColorTempPhysicalMinMiredsValue + minValue: ColorTempPhysicalMaxMiredsValue - 1 maxValue: ColorTempPhysicalMaxMiredsValue - label: diff --git a/src/app/tests/suites/certification/Test_TC_DESC_2_1.yaml b/src/app/tests/suites/certification/Test_TC_DESC_2_1.yaml index 84164724587fcc..15723da98bd466 100644 --- a/src/app/tests/suites/certification/Test_TC_DESC_2_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_DESC_2_1.yaml @@ -48,23 +48,23 @@ tests: Verify "PartsList" response is not empty (use this list of endpoints in step 1b) on the TH (Chip-tool) and below is the sample log provided for the raspi platform: - [1641456769.777217][16238:16244] CHIP:DMG: SuppressResponse = true, - [1641456769.777267][16238:16244] CHIP:DMG: } - [1641456769.777839][16238:16244] CHIP:TOO: Descriptor.PartsList response: 2 entries - [1641456769.777925][16238:16244] CHIP:TOO: [1]: 1 - [1641456769.777978][16238:16244] CHIP:TOO: [2]: 2 - [1641456769.778080][16238:16244] CHIP:EM: Sending Standalone Ack for MessageCounter:2830202 on exchange 38042i - - ./chip-tool descriptor read device-list 1 0 - - Verify "DeviceList" response at least one entry it contains one Root Node Device Type and not an Application Device Types on TH (Chip-tool) and below is the sample log provided for the raspi platform and Revision value is not less than 1: - - [1641454498.809603][16120:16125] CHIP:TOO: Descriptor.DeviceList response: 1 entries - [1641454498.809737][16120:16125] CHIP:TOO: [1]: { - [1641454498.809780][16120:16125] CHIP:TOO: Type: 22 - [1641454498.809817][16120:16125] CHIP:TOO: Revision: 1 - [1641454498.809852][16120:16125] CHIP:TOO: } - [1641454498.809938][16120:16125] CHIP:EM: Sending Standalone Ack for MessageCounter:52943 on exchange 24061i + } + [1672919206.069327][33426:33428] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001D Attribute 0x0000_0003 DataVersion: 2847656117 + [1672919206.069380][33426:33428] CHIP:TOO: PartsList: 2 entries + [1672919206.069398][33426:33428] CHIP:TOO: [1]: 1 + [1672919206.069410][33426:33428] CHIP:TOO: [2]: 2 + + ./chip-tool descriptor read device-type-list 1 0 + + Verify "DeviceTypeList" response has at least one entry as Root Node Device Type and is not an Application Device Types on TH (Chip-tool) and below is the sample log provided for the raspi platform and Revision value is not less than 1: + + [1674552598.748946][21129:21131] CHIP:DMG: } + [1674552598.749017][21129:21131] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001D Attribute 0x0000_0000 DataVersion: 2963153058 + [1674552598.749027][21129:21131] CHIP:TOO: DeviceTypeList: 1 entries + [1674552598.749036][21129:21131] CHIP:TOO: [1]: { + [1674552598.749042][21129:21131] CHIP:TOO: DeviceType: 22 + [1674552598.749045][21129:21131] CHIP:TOO: Revision: 1 + [1674552598.749048][21129:21131] CHIP:TOO: } disabled: true - label: @@ -72,53 +72,50 @@ tests: Endpoint supported by DUT (except Endpoint 0)." PICS: DESC.S.A0000 && DESC.S.A0003 verification: | - For all the Endpoint id’s listed from the previous step run the following steps. The device type should correspond to the id value in the device_type.json + For all the Endpoint’s listed from the previous step run the following steps. The device type should correspond to the id value in the device_type.json Chip tool outputs all values in integer, convert to hex before comparing. ./chip-tool descriptor read parts-list 1 1 - Verify parts-list response 0 entries on the TH (Chip-tool) and below is the sample log provided for the raspi platform: + Verify parts-list response contains 0 entries on the TH (Chip-tool) and below is the sample log provided for the raspi platform: [1660127331.634565][46437:46442] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_001D Attribute 0x0000_0003 DataVersion: 934889243 [1660127331.634631][46437:46442] CHIP:TOO: parts list: 0 entries - - ./chip-tool descriptor read device-type-list 1 1 - Verify DeviceTypeList response 1 entries on the TH (Chip-tool) and below is the sample log provided for the raspi platform: - - - [1657200303.724408][2509:2514] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_001D Attribute 0x0000_0000 DataVersion: 1624758542 - [1657200303.724508][2509:2514] CHIP:TOO: device list: 1 entries - [1657200303.724565][2509:2514] CHIP:TOO: [1]: { - [1657200303.724594][2509:2514] CHIP:TOO: Type: 256 - [1657200303.724621][2509:2514] CHIP:TOO: Revision: 1 - [1657200303.724647][2509:2514] CHIP:TOO: } + Verify DeviceTypeList response contains 1 entries on the TH (Chip-tool) and below is the sample log provided for the raspi platform: + [1674552599.264189][21135:21137] CHIP:DMG: } + [1674552599.264258][21135:21137] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_001D Attribute 0x0000_0000 DataVersion: 2605122001 + [1674552599.264268][21135:21137] CHIP:TOO: DeviceTypeList: 1 entries + [1674552599.264277][21135:21137] CHIP:TOO: [1]: { + [1674552599.264284][21135:21137] CHIP:TOO: DeviceType: 256 + [1674552599.264287][21135:21137] CHIP:TOO: Revision: 1 + [1674552599.264290][21135:21137] CHIP:TOO: } ./chip-tool descriptor read parts-list 1 2 - Verify parts-list response 0 entries on the TH (Chip-tool) and below is the sample log provided for the raspi platform: + Verify parts-list response contains 0 entries on the TH (Chip-tool) and below is the sample log provided for the raspi platform: [1660127879.565330][46472:46477] CHIP:TOO: Endpoint: 2 Cluster: 0x0000_001D Attribute 0x0000_0003 DataVersion: 1237610137 [1660127879.565473][46472:46477] CHIP:TOO: parts list: 0 entries - ./chip-tool descriptor read device-type-list 1 2 - Verify DeviceTypeList response 1 entries on the TH (Chip-tool) and below is the sample log provided for the raspi platform: + ./chip-tool descriptor read device-type-list 1 2 - [1660127725.802512][46460:46465] CHIP:TOO: Endpoint: 2 Cluster: 0x0000_001D Attribute 0x0000_0000 DataVersion: 1237610137 - [1660127725.802614][46460:46465] CHIP:TOO: device list: 1 entries - [1660127725.802669][46460:46465] CHIP:TOO: [1]: { - [1660127725.802707][46460:46465] CHIP:TOO: Type: 256 - [1660127725.802745][46460:46465] CHIP:TOO: Revision: 1 - [1660127725.802781][46460:46465] CHIP:TOO: } + Verify DeviceTypeList response contains 1 entries on the TH (Chip-tool) and below is the sample log provided for the raspi platform: + [1674552599.786124][21141:21143] CHIP:TOO: Endpoint: 2 Cluster: 0x0000_001D Attribute 0x0000_0000 DataVersion: 4029338401 + [1674552599.786141][21141:21143] CHIP:TOO: DeviceTypeList: 1 entries + [1674552599.786155][21141:21143] CHIP:TOO: [1]: { + [1674552599.786164][21141:21143] CHIP:TOO: DeviceType: 256 + [1674552599.786168][21141:21143] CHIP:TOO: Revision: 1 + [1674552599.786171][21141:21143] CHIP:TOO: } disabled: true - - label: "TH reads ServerList attribute." + - label: "TH reads 'ServerList' attribute." PICS: DESC.S.A0001 verification: | For all the Endpoint id’s listed in step 1a run the following steps. For all the server list entries listed in the output - Convert them to Hex values. For example 29 is 0x001D. Verify that these are also present in the device_type.json. Every server cluster listed in the JSON should correspond to a number here in the output. @@ -127,56 +124,59 @@ tests: Verify server list on the TH (Chip-tool) and below is the sample log provided for the raspi platform: - [1660149731.921734][49539:49544] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_001D Attribute 0x0000_0001 DataVersion: 2312399478 - [1660149731.921749][49539:49544] CHIP:TOO: server list: 44 entries - [1660149731.921753][49539:49544] CHIP:TOO: [1]: 3 - [1660149731.921755][49539:49544] CHIP:TOO: [2]: 4 - [1660149731.921758][49539:49544] CHIP:TOO: [3]: 5 - [1660149731.921760][49539:49544] CHIP:TOO: [4]: 6 - [1660149731.921762][49539:49544] CHIP:TOO: [5]: 7 - [1660149731.921765][49539:49544] CHIP:TOO: [6]: 8 - [1660149731.921767][49539:49544] CHIP:TOO: [7]: 15 - [1660149731.921769][49539:49544] CHIP:TOO: [8]: 29 - [1660149731.921772][49539:49544] CHIP:TOO: [9]: 30 - [1660149731.921774][49539:49544] CHIP:TOO: [10]: 37 - [1660149731.921776][49539:49544] CHIP:TOO: [11]: 47 - [1660149731.921779][49539:49544] CHIP:TOO: [12]: 59 - [1660149731.921781][49539:49544] CHIP:TOO: [13]: 64 - [1660149731.921783][49539:49544] CHIP:TOO: [14]: 65 - [1660149731.921785][49539:49544] CHIP:TOO: [15]: 69 - [1660149731.921787][49539:49544] CHIP:TOO: [16]: 80 - [1660149731.921790][49539:49544] CHIP:TOO: [17]: 257 - [1660149731.921792][49539:49544] CHIP:TOO: [18]: 258 - [1660149731.921795][49539:49544] CHIP:TOO: [19]: 259 - [1660149731.921797][49539:49544] CHIP:TOO: [20]: 512 - [1660149731.921799][49539:49544] CHIP:TOO: [21]: 513 - [1660149731.921801][49539:49544] CHIP:TOO: [22]: 514 - [1660149731.921804][49539:49544] CHIP:TOO: [23]: 516 - [1660149731.921806][49539:49544] CHIP:TOO: [24]: 768 - [1660149731.921808][49539:49544] CHIP:TOO: [25]: 1024 - [1660149731.921810][49539:49544] CHIP:TOO: [26]: 1026 - [1660149731.921812][49539:49544] CHIP:TOO: [27]: 1027 - [1660149731.921814][49539:49544] CHIP:TOO: [28]: 1028 - [1660149731.921817][49539:49544] CHIP:TOO: [29]: 1029 - [1660149731.921819][49539:49544] CHIP:TOO: [30]: 1030 - [1660149731.921821][49539:49544] CHIP:TOO: [31]: 1283 - [1660149731.921824][49539:49544] CHIP:TOO: [32]: 1284 - [1660149731.921826][49539:49544] CHIP:TOO: [33]: 1285 - [1660149731.921828][49539:49544] CHIP:TOO: [34]: 1286 - [1660149731.921830][49539:49544] CHIP:TOO: [35]: 1287 - [1660149731.921832][49539:49544] CHIP:TOO: [36]: 1288 - [1660149731.921835][49539:49544] CHIP:TOO: [37]: 1289 - [1660149731.921837][49539:49544] CHIP:TOO: [38]: 1290 - [1660149731.921839][49539:49544] CHIP:TOO: [39]: 1291 - [1660149731.921841][49539:49544] CHIP:TOO: [40]: 1292 - [1660149731.921844][49539:49544] CHIP:TOO: [41]: 1293 - [1660149731.921846][49539:49544] CHIP:TOO: [42]: 1294 - [1660149731.921848][49539:49544] CHIP:TOO: [43]: 2820 - [1660149731.921851][49539:49544] CHIP:TOO: [44]: 4294048773 + + [1676367247.572430][9790:9792] CHIP:DMG: } + [1676367247.572742][9790:9792] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_001D Attribute 0x0000_0001 DataVersion: 3336430903 + [1676367247.572770][9790:9792] CHIP:TOO: ServerList: 45 entries + [1676367247.572775][9790:9792] CHIP:TOO: [1]: 3 + [1676367247.572778][9790:9792] CHIP:TOO: [2]: 4 + [1676367247.572781][9790:9792] CHIP:TOO: [3]: 5 + [1676367247.572784][9790:9792] CHIP:TOO: [4]: 6 + [1676367247.572787][9790:9792] CHIP:TOO: [5]: 7 + [1676367247.572790][9790:9792] CHIP:TOO: [6]: 8 + [1676367247.572792][9790:9792] CHIP:TOO: [7]: 15 + [1676367247.572795][9790:9792] CHIP:TOO: [8]: 29 + [1676367247.572798][9790:9792] CHIP:TOO: [9]: 30 + [1676367247.572801][9790:9792] CHIP:TOO: [10]: 37 + [1676367247.572804][9790:9792] CHIP:TOO: [11]: 47 + [1676367247.572807][9790:9792] CHIP:TOO: [12]: 59 + [1676367247.572810][9790:9792] CHIP:TOO: [13]: 64 + [1676367247.572813][9790:9792] CHIP:TOO: [14]: 65 + [1676367247.572815][9790:9792] CHIP:TOO: [15]: 69 + [1676367247.572818][9790:9792] CHIP:TOO: [16]: 80 + [1676367247.572821][9790:9792] CHIP:TOO: [17]: 257 + [1676367247.572824][9790:9792] CHIP:TOO: [18]: 258 + [1676367247.572827][9790:9792] CHIP:TOO: [19]: 259 + [1676367247.572829][9790:9792] CHIP:TOO: [20]: 512 + [1676367247.572832][9790:9792] CHIP:TOO: [21]: 513 + [1676367247.572835][9790:9792] CHIP:TOO: [22]: 514 + [1676367247.572838][9790:9792] CHIP:TOO: [23]: 516 + [1676367247.572841][9790:9792] CHIP:TOO: [24]: 768 + [1676367247.572843][9790:9792] CHIP:TOO: [25]: 769 + [1676367247.572846][9790:9792] CHIP:TOO: [26]: 1024 + [1676367247.572849][9790:9792] CHIP:TOO: [27]: 1026 + [1676367247.572852][9790:9792] CHIP:TOO: [28]: 1027 + [1676367247.572855][9790:9792] CHIP:TOO: [29]: 1028 + [1676367247.572858][9790:9792] CHIP:TOO: [30]: 1029 + [1676367247.572860][9790:9792] CHIP:TOO: [31]: 1030 + [1676367247.572863][9790:9792] CHIP:TOO: [32]: 1283 + [1676367247.572866][9790:9792] CHIP:TOO: [33]: 1284 + [1676367247.572869][9790:9792] CHIP:TOO: [34]: 1285 + [1676367247.572872][9790:9792] CHIP:TOO: [35]: 1286 + [1676367247.572874][9790:9792] CHIP:TOO: [36]: 1287 + [1676367247.572877][9790:9792] CHIP:TOO: [37]: 1288 + [1676367247.572880][9790:9792] CHIP:TOO: [38]: 1289 + [1676367247.572883][9790:9792] CHIP:TOO: [39]: 1290 + [1676367247.572886][9790:9792] CHIP:TOO: [40]: 1291 + [1676367247.572889][9790:9792] CHIP:TOO: [41]: 1292 + [1676367247.572892][9790:9792] CHIP:TOO: [42]: 1293 + [1676367247.572894][9790:9792] CHIP:TOO: [43]: 1294 + [1676367247.572897][9790:9792] CHIP:TOO: [44]: 2820 + [1676367247.572900][9790:9792] CHIP:TOO: [45]: 4294048773 ./chip-tool descriptor read server-list 1 2 - Verify server list on RPI in the TH (Chip-tool) Log: + Verify server list entries on TH (Chip-tool) Log: [1660146145.982691][46811:46816] CHIP:TOO: Endpoint: 2 Cluster: 0x0000_001D Attribute 0x0000_0001 DataVersion: 1051414887 [1660146145.982733][46811:46816] CHIP:TOO: server list: 5 entries @@ -187,40 +187,40 @@ tests: [1660146145.982778][46811:46816] CHIP:TOO: [5]: 1030 disabled: true - - label: "TH reads ClientList attribute" + - label: "TH reads 'ClientList' attribute" PICS: DESC.S.A0002 verification: | For all the Endpoint id’s listed in step 1a run the following steps. For all the client list entries listed in the output - Convert them to Hex values. For example 29 is 0x001D. Verify that these are also present in the device_type.json. Every server cluster listed in the JSON should correspond to a number here in the output. ./chip-tool descriptor read client-list 1 1 - Verify client list on the TH (Chip-tool) and below is the sample log provided for the raspi platform: + Verify client list entries on the TH (Chip-tool) and below is the sample log provided for the raspi platform: - [1660195618.042544][2905:2910] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_001D Attribute 0x0000_0002 DataVersion: 2955150741 - [1660195618.042605][2905:2910] CHIP:TOO: client list: 0 entries + [1676367470.160199][9805:9807] CHIP:DMG: } + [1676367470.160268][9805:9807] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_001D Attribute 0x0000_0002 DataVersion: 3336430903 + [1676367470.160282][9805:9807] CHIP:TOO: ClientList: 1 entries + [1676367470.160289][9805:9807] CHIP:TOO: [1]: 6 ./chip-tool descriptor read client-list 1 2 - Verify client list on the TH (Chip-tool) and below is the sample log provided for the raspi platform: + Verify client list entries on the TH (Chip-tool) and below is the sample log provided for the raspi platform: [1660146160.390200][46818:46823] CHIP:TOO: Endpoint: 2 Cluster: 0x0000_001D Attribute 0x0000_0002 DataVersion: 1051414887 [1660146160.390211][46818:46823] CHIP:TOO: client list: 0 entries disabled: true - - label: "TH reads PartsList attribute." + - label: "TH reads 'PartsList' attribute." PICS: DESC.S.A0003 verification: | ./chip-tool descriptor read parts-list 1 0 Verify PartsList response greater than 0 and Endpoint is in the range of 1 to 65534 on the TH (Chip-tool) and below is the sample log provided for the raspi platform: - [1641456769.777217][16238:16244] CHIP:DMG: SuppressResponse = true, - [1641456769.777267][16238:16244] CHIP:DMG: } - [1641456769.777839][16238:16244] CHIP:TOO: Descriptor.PartsList response: 2 entries - [1641456769.777925][16238:16244] CHIP:TOO: [1]: 1 - [1641456769.777978][16238:16244] CHIP:TOO: [2]: 2 - [1641456769.778080][16238:16244] CHIP:EM: Sending Standalone Ack for MessageCounter:2830202 on exchange 38042i + [1672919326.178697][33468:33470] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001D Attribute 0x0000_0003 DataVersion: 2847656117 + [1672919326.178739][33468:33470] CHIP:TOO: PartsList: 2 entries + [1672919326.178765][33468:33470] CHIP:TOO: [1]: 1 + [1672919326.178777][33468:33470] CHIP:TOO: [2]: 2 disabled: true - label: diff --git a/src/app/tests/suites/certification/Test_TC_DESC_2_2_Simulated.yaml b/src/app/tests/suites/certification/Test_TC_DESC_2_2_Simulated.yaml index 71904d370d0dc4..c9675237edaa55 100644 --- a/src/app/tests/suites/certification/Test_TC_DESC_2_2_Simulated.yaml +++ b/src/app/tests/suites/certification/Test_TC_DESC_2_2_Simulated.yaml @@ -23,9 +23,9 @@ config: endpoint: 0 tests: - - label: "Wait for the device to be commissioned" - cluster: "DelayCommands" - command: "WaitForCommissioning" + #- label: "Wait for the device to be commissioned" + # cluster: "DelayCommands" + # command: "WaitForCommissioning" - label: "DUT reads DeviceTypeList from TH." PICS: DESC.C.A0000 diff --git a/src/app/tests/suites/certification/Test_TC_DGETH_2_2.yaml b/src/app/tests/suites/certification/Test_TC_DGETH_2_2.yaml index 7331e64eb36fe9..78c53eb9436548 100644 --- a/src/app/tests/suites/certification/Test_TC_DGETH_2_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_DGETH_2_2.yaml @@ -171,21 +171,43 @@ tests: PICS: DGETH.S.C00.Rsp command: "ResetCounts" + #https://github.com/CHIP-Specifications/chip-certification-tool/issues/702#issuecomment-1427974329 - label: "TH reads PacketRxCount attribute value from DUT" - PICS: DGETH.S.A0002 - command: "readAttribute" - attribute: "PacketRxCount" - response: - constraints: - maxValue: PacketRxCount + PICS: DGETH.S.A0002 && PICS_SKIP_SAMPLE_APP + verification: | + ./chip-tool ethernetnetworkdiagnostics read packet-rx-count 1 0 + + Verify the value of PacketRxCount is less than the value from step 2b on TH(chip-tool) log + + [1657259203.212932][2661:2666] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0037 Attribute 0x0000_0002 DataVersion: 4077191321 + [1657259203.213000][2661:2666] CHIP:TOO: PacketRxCount: 30 + cluster: "LogCommands" + command: "UserPrompt" + arguments: + values: + - name: "message" + value: "Enter 'y' after success" + - name: "expectedValue" + value: "y" + #https://github.com/CHIP-Specifications/chip-certification-tool/issues/702#issuecomment-1427974329 - label: "TH reads PacketTxCount attribute value from DUT" - PICS: DGETH.S.A0003 - command: "readAttribute" - attribute: "PacketTxCount" - response: - constraints: - maxValue: PacketTxCount + PICS: DGETH.S.A0003 && PICS_SKIP_SAMPLE_APP + verification: | + ./chip-tool ethernetnetworkdiagnostics read packet-tx-count 1 0 + + Verify the value of PacketTxCount is less than the value from step 2c on TH(chip-tool) log + + [1657259233.211240][2668:2673] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0037 Attribute 0x0000_0003 DataVersion: 4077191321 + [1657259233.211315][2668:2673] CHIP:TOO: PacketTxCount: 96 + cluster: "LogCommands" + command: "UserPrompt" + arguments: + values: + - name: "message" + value: "Enter 'y' after success" + - name: "expectedValue" + value: "y" - label: "TH reads TxErrCount attribute value from DUT" PICS: DGETH.S.A0004 diff --git a/src/app/tests/suites/certification/Test_TC_DGETH_3_1_Simulated.yaml b/src/app/tests/suites/certification/Test_TC_DGETH_3_1_Simulated.yaml index da51a18383597e..d9d5df4e8e4c31 100644 --- a/src/app/tests/suites/certification/Test_TC_DGETH_3_1_Simulated.yaml +++ b/src/app/tests/suites/certification/Test_TC_DGETH_3_1_Simulated.yaml @@ -23,9 +23,9 @@ config: endpoint: 0 tests: - - label: "Wait for the device to be commissioned" - cluster: "DelayCommands" - command: "WaitForCommissioning" + #- label: "Wait for the device to be commissioned" + # cluster: "DelayCommands" + # command: "WaitForCommissioning" - label: "Read attribute: PHYRate" PICS: DGETH.C.A0000 diff --git a/src/app/tests/suites/certification/Test_TC_DGSW_3_1_Simulated.yaml b/src/app/tests/suites/certification/Test_TC_DGSW_3_1_Simulated.yaml index 8481a256324e49..e315cd95958a6f 100644 --- a/src/app/tests/suites/certification/Test_TC_DGSW_3_1_Simulated.yaml +++ b/src/app/tests/suites/certification/Test_TC_DGSW_3_1_Simulated.yaml @@ -23,9 +23,9 @@ config: endpoint: 0 tests: - - label: "Wait for the device to be commissioned" - cluster: "DelayCommands" - command: "WaitForCommissioning" + #- label: "Wait for the device to be commissioned" + # cluster: "DelayCommands" + # command: "WaitForCommissioning" - label: "Read attribute: ThreadMetrics" PICS: DGSW.C.A0000 diff --git a/src/app/tests/suites/certification/Test_TC_DGWIFI_3_1_Simulated.yaml b/src/app/tests/suites/certification/Test_TC_DGWIFI_3_1_Simulated.yaml index eae91de4b5e79d..6205550ad8abbc 100644 --- a/src/app/tests/suites/certification/Test_TC_DGWIFI_3_1_Simulated.yaml +++ b/src/app/tests/suites/certification/Test_TC_DGWIFI_3_1_Simulated.yaml @@ -24,9 +24,9 @@ config: endpoint: 0 tests: - - label: "Wait for the device to be commissioned" - cluster: "DelayCommands" - command: "WaitForCommissioning" + #- label: "Wait for the device to be commissioned" + # cluster: "DelayCommands" + # command: "WaitForCommissioning" - label: "Read attribute: BSSID" PICS: DGWIFI.C.A0000 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 37f3d7d11d2d3e..af6d2e1c9cd46e 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 @@ -751,6 +751,7 @@ tests: - label: "TH writes NumberOfHoliday SchedulesSupported attribute as 36" verification: | ./chip-tool doorlock write-by-id 22 36 1 1 + Verify " DUT responds with UNSUPPORTED_WRITE " on the TH(Chip-tool) Log: [1654680084.923185][3619:3624] CHIP:DMG: StatusIB = @@ -767,6 +768,7 @@ tests: - label: "TH reads NumberOfHoliday SchedulesSupported attribute from DUT" verification: | ./chip-tool doorlock read number-of-holiday-schedules-supported 1 1 + Verify " NumberOfHoliDaySchedulesSupported " on the TH(Chip-tool) Log: [1654680009.422218][3611:3616] CHIP:DMG: SuppressResponse = true, @@ -780,6 +782,7 @@ tests: PICS: DRLK.S.F00 && DRLK.S.A0017 verification: | ./chip-tool doorlock read max-pincode-length 1 1 + Verify " MaxPINCodeLength " on the TH(Chip-tool) Log: [1654680165.814980][3630:3635] CHIP:DMG: @@ -793,6 +796,7 @@ tests: - label: "TH writes MaxPINCodeLength attribute as 85" verification: | ./chip-tool doorlock write-by-id 23 85 1 1 + Verify " DUT responds with UNSUPPORTED_WRITE " on the TH(Chip-tool) Log: [1653636463.990965][3391:3396] CHIP:DMG: StatusIB = @@ -807,6 +811,7 @@ tests: - label: "TH reads MaxPINCodeLength attribute from DUT" verification: | ./chip-tool doorlock read max-pincode-length 1 1 + Verify " MaxPINCodeLength " on the TH(Chip-tool) Log: [1654680165.814980][3630:3635] CHIP:DMG: @@ -821,6 +826,7 @@ tests: PICS: DRLK.S.F00 && DRLK.S.A0018 verification: | ./chip-tool doorlock read min-pincode-length 1 1 + Verify " MinPINCodeLength " on the TH(Chip-tool) Log: [1654680280.327216][3639:3644] CHIP:DMG: SuppressResponse = true, @@ -833,6 +839,7 @@ tests: - label: "TH writes MinPINCodeLength attribute as 63" verification: | ./chip-tool doorlock write-by-id 24 63 1 1 + Verify " DUT responds with UNSUPPORTED_WRITE" on the TH(Chip-tool) Log: [1653636555.069388][3409:3414] CHIP:DMG: StatusIB = @@ -848,6 +855,7 @@ tests: - label: "TH reads MinPINCodeLength attribute from DUT" verification: | ./chip-tool doorlock read min-pincode-length 1 1 + Verify " MinPINCodeLength " on the TH(Chip-tool) Log: [1654680280.327216][3639:3644] CHIP:DMG: SuppressResponse = true, @@ -861,6 +869,7 @@ tests: PICS: DRLK.S.F01 && DRLK.S.A0019 verification: | ./chip-tool doorlock read max-rfidcode-length 1 1 + Verify " MaxRFIDCodeLength " on the TH(Chip-tool) Log: [1654680386.044531][3650:3655] CHIP:DMG: SuppressResponse = true, @@ -873,6 +882,7 @@ tests: - label: "TH writes MaxRFIDCodeLength attribute as 46" verification: | ./chip-tool doorlock write-by-id 25 46 1 1 + Verify " DUT responds with UNSUPPORTED_WRITE " on the TH(Chip-tool) Log: [1653636648.222617][3428:3433] CHIP:DMG: @@ -889,6 +899,7 @@ tests: - label: "TH reads MaxRFIDCodeLength attribute from DUT" verification: | ./chip-tool doorlock read max-rfidcode-length 1 1 + Verify " MaxRFIDCodeLength " on the TH(Chip-tool) Log: [1654680386.044531][3650:3655] CHIP:DMG: SuppressResponse = true, @@ -902,6 +913,7 @@ tests: PICS: DRLK.S.F01 && DRLK.S.A001a verification: | ./chip-tool doorlock read min-rfidcode-length 1 1 + Verify " MinRFIDCodeLength " on the TH(Chip-tool) Log: [1654680510.153261][3668:3673] CHIP:DMG: SuppressResponse = true, @@ -914,6 +926,7 @@ tests: - label: "TH writes MinRFIDCodeLength attribute as 17" verification: | ./chip-tool doorlock write-by-id 26 17 1 1 + Verify "DUT responds with UNSUPPORTED_WRITE " on the TH(Chip-tool) Log: [1654680561.429054][3676:3681] CHIP:DMG: StatusIB = @@ -929,6 +942,7 @@ tests: - label: "TH reads MinRFIDCodeLength attribute from DUT" verification: | ./chip-tool doorlock read min-rfidcode-length 1 1 + Verify " MinRFIDCodeLength " on the TH(Chip-tool) Log: [1654680510.153261][3668:3673] CHIP:DMG: SuppressResponse = true, @@ -1001,6 +1015,7 @@ tests: - label: "TH writes Language attribute as fr" verification: | ./chip-tool doorlock write language fr 1 1 + Verify "DUT sends SUCCESS response " on the TH(Chip-tool) Log: [1654680959.481870][3711:3716] CHIP:DMG: StatusIB = @@ -1019,6 +1034,7 @@ tests: - label: "TH reads Language attribute from DUT" verification: | ./chip-tool doorlock read language 1 1 + Verify " Language " on the TH(Chip-tool) Log: [1654681045.720848][3721:3726] CHIP:DMG: SuppressResponse = true, @@ -1097,6 +1113,7 @@ tests: PICS: DRLK.S.A0023 verification: | ./chip-tool doorlock read auto-relock-time 1 1 + Verify " AutoRelockTime " on the TH(Chip-tool) Log: [1654681151.469284][3736:3741] CHIP:DMG: SuppressResponse = true, @@ -1109,6 +1126,7 @@ tests: - label: "TH writes AutoRelockTime attribute as 180 seconds" verification: | ./chip-tool doorlock write auto-relock-time 180 1 1 + Verify " DUT sends SUCCESS response " on the TH(Chip-tool) Log: [1654681228.902110][3744:3749] CHIP:DMG: StatusIB = @@ -1127,6 +1145,7 @@ tests: - label: "TH reads AutoRelockTime attribute from DUT" verification: | ./chip-tool doorlock read auto-relock-time 1 1 + Verify " AutoRelockTime " on the TH(Chip-tool) Log: [1654681283.157135][3754:3759] CHIP:DMG: SuppressResponse = true, @@ -1142,6 +1161,7 @@ tests: PICS: DRLK.S.A0024 verification: | ./chip-tool doorlock read sound-volume 1 1 + Verify " SoundVolume " on the TH(Chip-tool) Log: [1654681357.022476][3768:3773] CHIP:DMG: SuppressResponse = true, @@ -1154,6 +1174,7 @@ tests: - label: "TH writes SoundVolume attribute as 3" verification: | ./chip-tool doorlock write sound-volume 3 1 1 + Verify " DUT sends SUCCESS response" on the TH(Chip-tool) Log: [1654681412.367916][3782:3787] CHIP:DMG: StatusIB = @@ -1169,6 +1190,7 @@ tests: - label: "TH reads SoundVolume attribute from DUT" verification: | ./chip-tool doorlock read sound-volume 1 1 + Verify " SoundVolume " on the TH(Chip-tool) Log: [1654681449.086921][3789:3794] CHIP:DMG: SuppressResponse = true, @@ -1182,6 +1204,7 @@ tests: PICS: DRLK.S.A0026 verification: | ./chip-tool doorlock read supported-operating-modes 1 1 + Verify " SupportedOperatingModes " on the TH(Chip-tool) Log: [1654681500.464948][3797:3802] CHIP:DMG: SuppressResponse = true, @@ -1194,6 +1217,7 @@ tests: - label: "TH writes Supported OperatingModes attribute as bit 0 is set to 0" verification: | ./chip-tool doorlock write-by-id 38 0 1 1 + Verify " DUT responds with UNSUPPORTED_WRITE" on the TH(Chip-tool) Log: [1653637108.039160][3522:3527] CHIP:DMG: StatusIB = @@ -1209,6 +1233,7 @@ tests: - label: "TH reads Supported OperatingModes attribute from DUT" verification: | ./chip-tool doorlock read supported-operating-modes 1 1 + Verify " SupportedOperatingModes " on the TH(Chip-tool) Log: [1654681500.464948][3797:3802] CHIP:DMG: SuppressResponse = true, @@ -1224,6 +1249,7 @@ tests: PICS: DRLK.S.A0025 verification: | ./chip-tool doorlock read operating-mode 1 1 + Verify "OperatingMode " on the TH(Chip-tool) Log: @@ -1239,6 +1265,7 @@ tests: value is present in SupportedOperatingModes" verification: | ./chip-tool doorlock write operating-mode 0 1 1 + Verify "DUT sends SUCCESS response " on the TH(Chip-tool) Log: [1654681685.239429][3833:3838] CHIP:DMG: StatusIB = @@ -1257,6 +1284,7 @@ tests: and the new value is present in Supported OperatingModes" verification: | ./chip-tool doorlock write operating-mode 3 1 1 + Verify "OperatingMode response " on the TH(Chip-tool) Log: @@ -1274,6 +1302,7 @@ tests: - label: "TH reads OperatingMode attribute from DUT" verification: | ./chip-tool doorlock read operating-mode 1 1 + Verify "OperatingMode " on the TH(Chip-tool) Log: [1654681926.819078][3864:3870] CHIP:DMG: SuppressResponse = true, @@ -1428,6 +1457,7 @@ tests: PICS: DRLK.S.A0029 verification: | ./chip-tool doorlock write enable-one-touch-locking 1 1 1 + Verify "DUT send the success response" on the TH(Chip-tool) Log: [1654682241.954790][3903:3908] CHIP:DMG: StatusIB = @@ -1444,6 +1474,7 @@ tests: - label: "TH reads EnableOneTouchLocking attribute from DUT" verification: | ./chip-tool doorlock read enable-one-touch-locking 1 1 + Verify "EnableOneTouchLocking " on the TH(Chip-tool) Log: [1654682289.946247][3914:3919] CHIP:DMG: SuppressResponse = true, @@ -1894,6 +1925,7 @@ tests: - label: "TH writes RequirePINfor RemoteOperation attribute as true" verification: | ./chip-tool doorlock write require-pinfor-remote-operation 1 1 1 + Verify " DUT sends SUCCESS response" on the TH(Chip-tool) Log: [1655211439.627206][18643:18648] CHIP:DMG: ReportDataMessage = 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 4128efc4dd2c6f..a322d877a4b2ea 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 @@ -116,18 +116,18 @@ tests: [1656497453.684077][25847:25853] CHIP:DMG: status = 0x00 (SUCCESS), - ./chip-tool doorlock set-credential 0 '{ "credentialType" : 1 , "credentialIndex" : 2 }' 123456 1 null null 1 1 --timedInteractionTimeoutMs 1000 + ./chip-tool doorlock set-credential 0 '{ "credentialType" : 1 , "credentialIndex" : 1 }' 123456 1 null null 1 1 --timedInteractionTimeoutMs 1000 Verify "DUT sends SUCCESS response" on the TH(Chip-tool) Log: [1656497508.814196][25858:25863] CHIP:TOO: SetCredentialResponse: { [1656497508.814257][25858:25863] CHIP:TOO: status: 0 [1656497508.814301][25858:25863] CHIP:TOO: userIndex: null - [1656497508.814343][25858:25863] CHIP:TOO: nextCredentialIndex: 3 + [1656497508.814343][25858:25863] CHIP:TOO: nextCredentialIndex: 2 - ./chip-tool doorlock lock-door 1 1 --timedInteractionTimeoutMs 1000 --PinCode 123456 + ./chip-tool doorlock lock-door 1 1 --timedInteractionTimeoutMs 1000 --PINCode 123456 Verify "DUT sends SUCCESS response" on the TH(Chip-tool) Log: @@ -152,7 +152,7 @@ tests: verification: | ./chip-tool doorlock read-event lock-operation 1 1 - Verify " LockOperationType is set to Lock and Event priority is set to CRITICALi, UserIndex is 1, CredentialIndex is 2" on the TH(Chip-tool) Log: + Verify " LockOperationType is set to Lock and Event priority is set to CRITICAL" on the TH(Chip-tool) Log: [1659777214.883129][3089:3094] CHIP:DMG: SuppressResponse = true, [1659777214.883159][3089:3094] CHIP:DMG: InteractionModelRevision = 1 @@ -170,7 +170,7 @@ tests: [1659777214.883675][3089:3094] CHIP:TOO: Credentials: 1 entries [1659777214.883722][3089:3094] CHIP:TOO: [1]: { [1659777214.883744][3089:3094] CHIP:TOO: CredentialType: 1 - [1659777214.883764][3089:3094] CHIP:TOO: CredentialIndex: 2 + [1659777214.883764][3089:3094] CHIP:TOO: CredentialIndex: 1 [1659777214.883784][3089:3094] CHIP:TOO: } [1659777214.883804][3089:3094] CHIP:TOO: } disabled: true @@ -180,7 +180,7 @@ tests: PINCode" PICS: DRLK.S.C01.Rsp verification: | - ./chip-tool doorlock unlock-door 1 1 --timedInteractionTimeoutMs 1000 --PinCode 123456 + ./chip-tool doorlock unlock-door 1 1 --timedInteractionTimeoutMs 1000 --PINCode 123456 Verify "DUT sends SUCCESS response" on the TH(Chip-tool) Log: @@ -205,7 +205,7 @@ tests: verification: | ./chip-tool doorlock read-event lock-operation 1 1 - Verify " LockOperationType is set to Lock and Event priority is set to CRITICAL, UserIndex is 1, CredentialIndex is 2" on the TH(Chip-tool) Log: + Verify " LockOperationType is set to Lock and Event priority is set to CRITICAL" on the TH(Chip-tool) Log: [1659777667.226139][3222:3227] CHIP:DMG: } [1659777667.226318][3222:3227] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0101 Event 0x0000_0002 @@ -221,7 +221,7 @@ tests: [1659777667.226707][3222:3227] CHIP:TOO: Credentials: 1 entries [1659777667.226758][3222:3227] CHIP:TOO: [1]: { [1659777667.226780][3222:3227] CHIP:TOO: CredentialType: 1 - [1659777667.226800][3222:3227] CHIP:TOO: CredentialIndex: 2 + [1659777667.226800][3222:3227] CHIP:TOO: CredentialIndex: 1 [1659777667.226820][3222:3227] CHIP:TOO: } [1659777667.226841][3222:3227] CHIP:TOO: } [1659777667.226944][3222:3227] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0101 Event 0x0000_0002 @@ -237,7 +237,7 @@ tests: [1659777667.227167][3222:3227] CHIP:TOO: Credentials: 1 entries [1659777667.227193][3222:3227] CHIP:TOO: [1]: { [1659777667.227213][3222:3227] CHIP:TOO: CredentialType: 1 - [1659777667.227232][3222:3227] CHIP:TOO: CredentialIndex: 2 + [1659777667.227232][3222:3227] CHIP:TOO: CredentialIndex: 1 [1659777667.227251][3222:3227] CHIP:TOO: } [1659777667.227325][3222:3227] CHIP:TOO: } disabled: true @@ -247,7 +247,7 @@ tests: PINCode" PICS: DRLK.S.C00.Rsp verification: | - ./chip-tool doorlock lock-door 1 1 --timedInteractionTimeoutMs 1000 --PinCode 12345678 + ./chip-tool doorlock lock-door 1 1 --timedInteractionTimeoutMs 1000 --PINCode 12345678 Verify "DUT sends SUCCESS response" on the TH(Chip-tool) Log: @@ -273,7 +273,7 @@ tests: verification: | ./chip-tool doorlock read-event lock-operation-error 1 1 - Verify " LockOperationType is set to Unlock and Event priority is set to CRITICAL, UserIndex and Credentials are set to null" on the TH(Chip-tool) Log: + Verify " LockOperationType is set to Unlock and Event priority is set to CRITICAL" on the TH(Chip-tool) Log: [1659777833.226970][3243:3248] CHIP:DMG: } [1659777833.227194][3243:3248] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0101 Event 0x0000_0003 @@ -284,17 +284,21 @@ tests: [1659777833.227407][3243:3248] CHIP:TOO: LockOperationType: 0 [1659777833.227431][3243:3248] CHIP:TOO: OperationSource: 7 [1659777833.227453][3243:3248] CHIP:TOO: OperationError: 1 - [1659777833.227476][3243:3248] CHIP:TOO: UserIndex: null + [1659777833.227476][3243:3248] CHIP:TOO: UserIndex: 0 [1659777833.227498][3243:3248] CHIP:TOO: FabricIndex: 1 [1659777833.227523][3243:3248] CHIP:TOO: SourceNode: 112233 - [1659777833.227553][3243:3248] CHIP:TOO: Credentials: null + [1659777833.227553][3243:3248] CHIP:TOO: Credentials: 1 entries + [1659777833.227604][3243:3248] CHIP:TOO: [1]: { + [1659777833.227629][3243:3248] CHIP:TOO: CredentialType: 1 + [1659777833.227651][3243:3248] CHIP:TOO: CredentialIndex: 0 + [1659777833.227673][3243:3248] CHIP:TOO: } [1659777833.227696][3243:3248] CHIP:TOO: } disabled: true - label: "TH sends Unlock Door Command to the DUT with InvalidPINCode." PICS: DRLK.S.C01.Rsp verification: | - ./chip-tool doorlock unlock-door 1 1 --timedInteractionTimeoutMs 1000 --PinCode 12345678 + ./chip-tool doorlock unlock-door 1 1 --timedInteractionTimeoutMs 1000 --PINCode 12345678 Verify "DUT sends failure response" on the TH(Chip-tool) Log: @@ -320,7 +324,7 @@ tests: verification: | ./chip-tool doorlock read-event lock-operation-error 1 1 - Verify " LockOperationType is set to Lock and Event priority is set to info, UserIndex and Credentials are set to null" on the TH(Chip-tool) Log: + Verify " LockOperationType is set to Lock and Event priority is set to info" on the TH(Chip-tool) Log: [1659777937.333613][3260:3265] CHIP:DMG: } [1659777937.333844][3260:3265] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0101 Event 0x0000_0003 @@ -331,10 +335,14 @@ tests: [1659777937.334086][3260:3265] CHIP:TOO: LockOperationType: 0 [1659777937.334115][3260:3265] CHIP:TOO: OperationSource: 7 [1659777937.334142][3260:3265] CHIP:TOO: OperationError: 1 - [1659777937.334170][3260:3265] CHIP:TOO: UserIndex: null + [1659777937.334170][3260:3265] CHIP:TOO: UserIndex: 0 [1659777937.334197][3260:3265] CHIP:TOO: FabricIndex: 1 [1659777937.334226][3260:3265] CHIP:TOO: SourceNode: 112233 - [1659777937.334261][3260:3265] CHIP:TOO: Credentials: null + [1659777937.334261][3260:3265] CHIP:TOO: Credentials: 1 entries + [1659777937.334371][3260:3265] CHIP:TOO: [1]: { + [1659777937.334402][3260:3265] CHIP:TOO: CredentialType: 1 + [1659777937.334429][3260:3265] CHIP:TOO: CredentialIndex: 0 + [1659777937.334456][3260:3265] CHIP:TOO: } [1659777937.334484][3260:3265] CHIP:TOO: } [1659777937.334614][3260:3265] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0101 Event 0x0000_0003 [1659777937.334642][3260:3265] CHIP:TOO: Event number: 9 @@ -344,10 +352,14 @@ tests: [1659777937.334767][3260:3265] CHIP:TOO: LockOperationType: 1 [1659777937.334794][3260:3265] CHIP:TOO: OperationSource: 7 [1659777937.334821][3260:3265] CHIP:TOO: OperationError: 1 - [1659777937.334846][3260:3265] CHIP:TOO: UserIndex: null + [1659777937.334846][3260:3265] CHIP:TOO: UserIndex: 0 [1659777937.334873][3260:3265] CHIP:TOO: FabricIndex: 1 [1659777937.334899][3260:3265] CHIP:TOO: SourceNode: 112233 - [1659777937.334970][3260:3265] CHIP:TOO: Credentials: null + [1659777937.334970][3260:3265] CHIP:TOO: Credentials: 1 entries + [1659777937.335008][3260:3265] CHIP:TOO: [1]: { + [1659777937.335036][3260:3265] CHIP:TOO: CredentialType: 1 + [1659777937.335063][3260:3265] CHIP:TOO: CredentialIndex: 0 + [1659777937.335089][3260:3265] CHIP:TOO: } [1659777937.335116][3260:3265] CHIP:TOO: } disabled: true @@ -384,7 +396,7 @@ tests: verification: | ./chip-tool doorlock read-event lock-user-change 1 1 - Verify " LockDataType is set to UserIndex and Event priority is set to INFO, DataIndex is set to 4" on the TH(Chip-tool) Log: + Verify " LockDataType is set to UserIndex and Event priority is set to INFO" on the TH(Chip-tool) Log: [1659778039.468487][3278:3283] CHIP:DMG: } [1659778039.468725][3278:3283] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0101 Event 0x0000_0004 @@ -411,7 +423,7 @@ tests: [1659778039.469532][3278:3283] CHIP:TOO: UserIndex: 1 [1659778039.469557][3278:3283] CHIP:TOO: FabricIndex: 1 [1659778039.469582][3278:3283] CHIP:TOO: SourceNode: 112233 - [1659778039.469607][3278:3283] CHIP:TOO: DataIndex: 2 + [1659778039.469607][3278:3283] CHIP:TOO: DataIndex: 1 [1659778039.469632][3278:3283] CHIP:TOO: } [1659778039.469739][3278:3283] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0101 Event 0x0000_0004 [1659778039.469765][3278:3283] CHIP:TOO: Event number: 10 @@ -485,7 +497,7 @@ tests: [1659778136.033669][3293:3298] CHIP:TOO: UserIndex: 1 [1659778136.033694][3293:3298] CHIP:TOO: FabricIndex: 1 [1659778136.033719][3293:3298] CHIP:TOO: SourceNode: 112233 - [1659778136.033744][3293:3298] CHIP:TOO: DataIndex: 2 + [1659778136.033744][3293:3298] CHIP:TOO: DataIndex: 1 [1659778136.033768][3293:3298] CHIP:TOO: } [1659778136.033902][3293:3298] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0101 Event 0x0000_0004 [1659778136.033931][3293:3298] CHIP:TOO: Event number: 10 @@ -521,7 +533,7 @@ tests: 123456 UserIndex as 1 UserStatus as 0 UserType as 0" PICS: DRLK.S.F08 && DRLK.S.C22.Rsp && DRLK.S.C23.Tx verification: | - ./chip-tool doorlock clear-credential '{ "credentialType" : 1 , "credentialIndex" : 2 }' 1 1 --timedInteractionTimeoutMs 1000 + ./chip-tool doorlock clear-credential '{ "credentialType" : 1 , "credentialIndex" : 1 }' 1 1 --timedInteractionTimeoutMs 1000 Verify "DUT sends SUCCESS response" on the TH(Chip-tool) Log: @@ -543,7 +555,7 @@ tests: [1659778601.601785][3414:3419] CHIP:DMG: }, [1659778601.601823][3414:3419] CHIP:DMG: - ./chip-tool doorlock set-credential 0 '{ "credentialType" : 1 , "credentialIndex" : 2 }' 123456 1 null null 1 1 --timedInteractionTimeoutMs 1000 + ./chip-tool doorlock set-credential 0 '{ "credentialType" : 1 , "credentialIndex" : 1 }' 123456 1 null null 1 1 --timedInteractionTimeoutMs 1000 Verify "DUT sends Set Credential Response command with status as SUCCESS" on the TH(Chip-tool) Log: @@ -554,7 +566,7 @@ tests: [1658142472.351853][2966:2971] CHIP:TOO: SetCredentialResponse: { [1658142472.351910][2966:2971] CHIP:TOO: status: 0 [1658142472.351942][2966:2971] CHIP:TOO: userIndex: null - [1658142472.351983][2966:2971] CHIP:TOO: nextCredentialIndex: 3 + [1658142472.351983][2966:2971] CHIP:TOO: nextCredentialIndex: 2 [1658142472.352012][2966:2971] CHIP:TOO: } disabled: true @@ -563,7 +575,7 @@ tests: verification: | ./chip-tool doorlock read-event lock-user-change 1 1 - Verify "LockDataType is set to PIN and LockUserChange event has priority set as INFO, DataIndex is set to 2" on the TH(Chip-tool) Log: + Verify "LockDataType is set to PIN and LockUserChange event has priority set as INFO " on the TH(Chip-tool) Log: [1658223096.124315][4517:4522] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0101 Event 0x0000_0004 [1658223096.124350][4517:4522] CHIP:TOO: Event number: 3 @@ -589,14 +601,14 @@ tests: [1658223096.125250][4517:4522] CHIP:TOO: UserIndex: 1 [1658223096.125281][4517:4522] CHIP:TOO: FabricIndex: 1 [1658223096.125312][4517:4522] CHIP:TOO: SourceNode: 112233 - [1658223096.125342][4517:4522] CHIP:TOO: DataIndex: 2 + [1658223096.125342][4517:4522] CHIP:TOO: DataIndex: 1 [1658223096.125372][4517:4522] CHIP:TOO: } disabled: true - label: "TH sends Clear Credential Command to DUT" PICS: DRLK.S.C26.Rsp verification: | - ./chip-tool doorlock clear-credential '{ "credentialType" : 1 , "credentialIndex" : 2 }' 1 1 --timedInteractionTimeoutMs 1000 + ./chip-tool doorlock clear-credential '{ "credentialType" : 1 , "credentialIndex" : 1 }' 1 1 --timedInteractionTimeoutMs 1000 Verify "DUT sends SUCCESS response" on the TH(Chip-tool) Log: diff --git a/src/app/tests/suites/certification/Test_TC_DRLK_3_1.yaml b/src/app/tests/suites/certification/Test_TC_DRLK_3_1.yaml index bc6db998b92bf9..ceee072acb9ce2 100644 --- a/src/app/tests/suites/certification/Test_TC_DRLK_3_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_DRLK_3_1.yaml @@ -45,19 +45,19 @@ tests: [1667199968.914314][13711:13711] CHIP:IM: Received Read request [1667199968.914560][13711:13711] CHIP:DMG: ReadRequestMessage = [1667199968.914630][13711:13711] CHIP:DMG: { - [1667199968.914710][13711:13711] CHIP:DMG: AttributePathIBs = - [1667199968.914778][13711:13711] CHIP:DMG: [ - [1667199968.914868][13711:13711] CHIP:DMG: AttributePathIB = - [1667199968.914937][13711:13711] CHIP:DMG: { - [1667199968.915008][13711:13711] CHIP:DMG: Endpoint = 0x1, - [1667199968.915087][13711:13711] CHIP:DMG: Cluster = 0x101, - [1667199968.915191][13711:13711] CHIP:DMG: Attribute = 0x0000_0000, - [1667199968.915268][13711:13711] CHIP:DMG: } + [1667199968.914710][13711:13711] CHIP:DMG: AttributePathIBs = + [1667199968.914778][13711:13711] CHIP:DMG: [ + [1667199968.914868][13711:13711] CHIP:DMG: AttributePathIB = + [1667199968.914937][13711:13711] CHIP:DMG: { + [1667199968.915008][13711:13711] CHIP:DMG: Endpoint = 0x1, + [1667199968.915087][13711:13711] CHIP:DMG: Cluster = 0x101, + [1667199968.915191][13711:13711] CHIP:DMG: Attribute = 0x0000_0000, + [1667199968.915268][13711:13711] CHIP:DMG: } [1667199968.915369][13711:13711] CHIP:DMG: - [1667199968.915444][13711:13711] CHIP:DMG: ], + [1667199968.915444][13711:13711] CHIP:DMG: ], [1667199968.915538][13711:13711] CHIP:DMG: - [1667199968.915611][13711:13711] CHIP:DMG: isFabricFiltered = true, - [1667199968.915675][13711:13711] CHIP:DMG: InteractionModelRevision = 1 + [1667199968.915611][13711:13711] CHIP:DMG: isFabricFiltered = true, + [1667199968.915675][13711:13711] CHIP:DMG: InteractionModelRevision = 1 [1667199968.915759][13711:13711] CHIP:DMG: }, [1667199968.915947][13711:13711] CHIP:DMG: IM RH moving to [GeneratingReports] [1667199968.916198][13711:13711] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 @@ -91,26 +91,26 @@ tests: [1667199968.919422][13711:13711] CHIP:DMG: [1667199968.919594][13711:13711] CHIP:DMG: ReportDataMessage = [1667199968.919660][13711:13711] CHIP:DMG: { - [1667199968.919719][13711:13711] CHIP:DMG: AttributeReportIBs = - [1667199968.919828][13711:13711] CHIP:DMG: [ - [1667199968.919893][13711:13711] CHIP:DMG: AttributeReportIB = - [1667199968.919969][13711:13711] CHIP:DMG: { - [1667199968.920056][13711:13711] CHIP:DMG: AttributeDataIB = - [1667199968.920143][13711:13711] CHIP:DMG: { - [1667199968.920259][13711:13711] CHIP:DMG: DataVersion = 0x42cd700, - [1667199968.920332][13711:13711] CHIP:DMG: AttributePathIB = - [1667199968.920411][13711:13711] CHIP:DMG: { - [1667199968.920516][13711:13711] CHIP:DMG: Endpoint = 0x1, - [1667199968.920604][13711:13711] CHIP:DMG: Cluster = 0x101, - [1667199968.920687][13711:13711] CHIP:DMG: Attribute = 0x0000_0000, - [1667199968.920793][13711:13711] CHIP:DMG: } + [1667199968.919719][13711:13711] CHIP:DMG: AttributeReportIBs = + [1667199968.919828][13711:13711] CHIP:DMG: [ + [1667199968.919893][13711:13711] CHIP:DMG: AttributeReportIB = + [1667199968.919969][13711:13711] CHIP:DMG: { + [1667199968.920056][13711:13711] CHIP:DMG: AttributeDataIB = + [1667199968.920143][13711:13711] CHIP:DMG: { + [1667199968.920259][13711:13711] CHIP:DMG: DataVersion = 0x42cd700, + [1667199968.920332][13711:13711] CHIP:DMG: AttributePathIB = + [1667199968.920411][13711:13711] CHIP:DMG: { + [1667199968.920516][13711:13711] CHIP:DMG: Endpoint = 0x1, + [1667199968.920604][13711:13711] CHIP:DMG: Cluster = 0x101, + [1667199968.920687][13711:13711] CHIP:DMG: Attribute = 0x0000_0000, + [1667199968.920793][13711:13711] CHIP:DMG: } [1667199968.920877][13711:13711] CHIP:DMG: - [1667199968.920973][13711:13711] CHIP:DMG: Data = 1, - [1667199968.921049][13711:13711] CHIP:DMG: }, + [1667199968.920973][13711:13711] CHIP:DMG: Data = 1, + [1667199968.921049][13711:13711] CHIP:DMG: }, [1667199968.921151][13711:13711] CHIP:DMG: - [1667199968.921219][13711:13711] CHIP:DMG: }, + [1667199968.921219][13711:13711] CHIP:DMG: }, [1667199968.921295][13711:13711] CHIP:DMG: - [1667199968.921379][13711:13711] CHIP:DMG: ], + [1667199968.921379][13711:13711] CHIP:DMG: ], disabled: true - label: "DUT reads LockType from the TH." @@ -360,19 +360,19 @@ tests: [1667200185.593489][13711:13711] CHIP:IM: Received Read request [1667200185.593673][13711:13711] CHIP:DMG: ReadRequestMessage = [1667200185.593742][13711:13711] CHIP:DMG: { - [1667200185.593801][13711:13711] CHIP:DMG: AttributePathIBs = - [1667200185.593869][13711:13711] CHIP:DMG: [ - [1667200185.593933][13711:13711] CHIP:DMG: AttributePathIB = - [1667200185.594012][13711:13711] CHIP:DMG: { - [1667200185.594095][13711:13711] CHIP:DMG: Endpoint = 0x1, - [1667200185.594190][13711:13711] CHIP:DMG: Cluster = 0x101, - [1667200185.594267][13711:13711] CHIP:DMG: Attribute = 0x0000_0004, - [1667200185.594355][13711:13711] CHIP:DMG: } + [1667200185.593801][13711:13711] CHIP:DMG: AttributePathIBs = + [1667200185.593869][13711:13711] CHIP:DMG: [ + [1667200185.593933][13711:13711] CHIP:DMG: AttributePathIB = + [1667200185.594012][13711:13711] CHIP:DMG: { + [1667200185.594095][13711:13711] CHIP:DMG: Endpoint = 0x1, + [1667200185.594190][13711:13711] CHIP:DMG: Cluster = 0x101, + [1667200185.594267][13711:13711] CHIP:DMG: Attribute = 0x0000_0004, + [1667200185.594355][13711:13711] CHIP:DMG: } [1667200185.594436][13711:13711] CHIP:DMG: - [1667200185.594553][13711:13711] CHIP:DMG: ], + [1667200185.594553][13711:13711] CHIP:DMG: ], [1667200185.594631][13711:13711] CHIP:DMG: - [1667200185.594707][13711:13711] CHIP:DMG: isFabricFiltered = true, - [1667200185.594774][13711:13711] CHIP:DMG: InteractionModelRevision = 1 + [1667200185.594707][13711:13711] CHIP:DMG: isFabricFiltered = true, + [1667200185.594774][13711:13711] CHIP:DMG: InteractionModelRevision = 1 [1667200185.594836][13711:13711] CHIP:DMG: }, [1667200185.595001][13711:13711] CHIP:DMG: IM RH moving to [GeneratingReports] [1667200185.595264][13711:13711] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 @@ -404,29 +404,29 @@ tests: [1667200185.598208][13711:13711] CHIP:DMG: [1667200185.598352][13711:13711] CHIP:DMG: ReportDataMessage = [1667200185.598413][13711:13711] CHIP:DMG: { - [1667200185.598572][13711:13711] CHIP:DMG: AttributeReportIBs = - [1667200185.598666][13711:13711] CHIP:DMG: [ - [1667200185.598729][13711:13711] CHIP:DMG: AttributeReportIB = - [1667200185.598817][13711:13711] CHIP:DMG: { - [1667200185.598890][13711:13711] CHIP:DMG: AttributeStatusIB = - [1667200185.598982][13711:13711] CHIP:DMG: { - [1667200185.599070][13711:13711] CHIP:DMG: AttributePathIB = - [1667200185.599166][13711:13711] CHIP:DMG: { - [1667200185.599258][13711:13711] CHIP:DMG: Endpoint = 0x1, - [1667200185.599361][13711:13711] CHIP:DMG: Cluster = 0x101, - [1667200185.599460][13711:13711] CHIP:DMG: Attribute = 0x0000_0004, - [1667200185.599545][13711:13711] CHIP:DMG: } + [1667200185.598572][13711:13711] CHIP:DMG: AttributeReportIBs = + [1667200185.598666][13711:13711] CHIP:DMG: [ + [1667200185.598729][13711:13711] CHIP:DMG: AttributeReportIB = + [1667200185.598817][13711:13711] CHIP:DMG: { + [1667200185.598890][13711:13711] CHIP:DMG: AttributeStatusIB = + [1667200185.598982][13711:13711] CHIP:DMG: { + [1667200185.599070][13711:13711] CHIP:DMG: AttributePathIB = + [1667200185.599166][13711:13711] CHIP:DMG: { + [1667200185.599258][13711:13711] CHIP:DMG: Endpoint = 0x1, + [1667200185.599361][13711:13711] CHIP:DMG: Cluster = 0x101, + [1667200185.599460][13711:13711] CHIP:DMG: Attribute = 0x0000_0004, + [1667200185.599545][13711:13711] CHIP:DMG: } [1667200185.599637][13711:13711] CHIP:DMG: - [1667200185.599714][13711:13711] CHIP:DMG: StatusIB = - [1667200185.599809][13711:13711] CHIP:DMG: { - [1667200185.599905][13711:13711] CHIP:DMG: status = 0x86 (UNSUPPORTED_ATTRIBUTE), - [1667200185.600000][13711:13711] CHIP:DMG: }, + [1667200185.599714][13711:13711] CHIP:DMG: StatusIB = + [1667200185.599809][13711:13711] CHIP:DMG: { + [1667200185.599905][13711:13711] CHIP:DMG: status = 0x86 (UNSUPPORTED_ATTRIBUTE), + [1667200185.600000][13711:13711] CHIP:DMG: }, [1667200185.600073][13711:13711] CHIP:DMG: - [1667200185.600161][13711:13711] CHIP:DMG: }, + [1667200185.600161][13711:13711] CHIP:DMG: }, [1667200185.600257][13711:13711] CHIP:DMG: - [1667200185.600329][13711:13711] CHIP:DMG: }, + [1667200185.600329][13711:13711] CHIP:DMG: }, [1667200185.600504][13711:13711] CHIP:DMG: - [1667200185.600574][13711:13711] CHIP:DMG: ], + [1667200185.600574][13711:13711] CHIP:DMG: ], disabled: true - label: "DUT reads DoorClosedEvents from the TH." @@ -443,19 +443,19 @@ tests: [1667200235.619156][13711:13711] CHIP:IM: Received Read request [1667200235.619330][13711:13711] CHIP:DMG: ReadRequestMessage = [1667200235.619396][13711:13711] CHIP:DMG: { - [1667200235.619444][13711:13711] CHIP:DMG: AttributePathIBs = - [1667200235.619590][13711:13711] CHIP:DMG: [ - [1667200235.619661][13711:13711] CHIP:DMG: AttributePathIB = - [1667200235.619793][13711:13711] CHIP:DMG: { - [1667200235.619874][13711:13711] CHIP:DMG: Endpoint = 0x1, - [1667200235.619967][13711:13711] CHIP:DMG: Cluster = 0x101, - [1667200235.620043][13711:13711] CHIP:DMG: Attribute = 0x0000_0005, - [1667200235.620111][13711:13711] CHIP:DMG: } + [1667200235.619444][13711:13711] CHIP:DMG: AttributePathIBs = + [1667200235.619590][13711:13711] CHIP:DMG: [ + [1667200235.619661][13711:13711] CHIP:DMG: AttributePathIB = + [1667200235.619793][13711:13711] CHIP:DMG: { + [1667200235.619874][13711:13711] CHIP:DMG: Endpoint = 0x1, + [1667200235.619967][13711:13711] CHIP:DMG: Cluster = 0x101, + [1667200235.620043][13711:13711] CHIP:DMG: Attribute = 0x0000_0005, + [1667200235.620111][13711:13711] CHIP:DMG: } [1667200235.620183][13711:13711] CHIP:DMG: - [1667200235.620242][13711:13711] CHIP:DMG: ], + [1667200235.620242][13711:13711] CHIP:DMG: ], [1667200235.620313][13711:13711] CHIP:DMG: - [1667200235.620379][13711:13711] CHIP:DMG: isFabricFiltered = true, - [1667200235.620444][13711:13711] CHIP:DMG: InteractionModelRevision = 1 + [1667200235.620379][13711:13711] CHIP:DMG: isFabricFiltered = true, + [1667200235.620444][13711:13711] CHIP:DMG: InteractionModelRevision = 1 [1667200235.620504][13711:13711] CHIP:DMG: }, [1667200235.620670][13711:13711] CHIP:DMG: IM RH moving to [GeneratingReports] [1667200235.620898][13711:13711] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 @@ -487,27 +487,27 @@ tests: [1667200235.624069][13711:13711] CHIP:DMG: [1667200235.624202][13711:13711] CHIP:DMG: ReportDataMessage = [1667200235.624266][13711:13711] CHIP:DMG: { - [1667200235.624320][13711:13711] CHIP:DMG: AttributeReportIBs = - [1667200235.624406][13711:13711] CHIP:DMG: [ - [1667200235.624468][13711:13711] CHIP:DMG: AttributeReportIB = - [1667200235.624555][13711:13711] CHIP:DMG: { - [1667200235.624629][13711:13711] CHIP:DMG: AttributeStatusIB = - [1667200235.624704][13711:13711] CHIP:DMG: { - [1667200235.624934][13711:13711] CHIP:DMG: AttributePathIB = - [1667200235.625025][13711:13711] CHIP:DMG: { - [1667200235.625124][13711:13711] CHIP:DMG: Endpoint = 0x1, - [1667200235.625206][13711:13711] CHIP:DMG: Cluster = 0x101, - [1667200235.625373][13711:13711] CHIP:DMG: Attribute = 0x0000_0005, - [1667200235.625465][13711:13711] CHIP:DMG: } + [1667200235.624320][13711:13711] CHIP:DMG: AttributeReportIBs = + [1667200235.624406][13711:13711] CHIP:DMG: [ + [1667200235.624468][13711:13711] CHIP:DMG: AttributeReportIB = + [1667200235.624555][13711:13711] CHIP:DMG: { + [1667200235.624629][13711:13711] CHIP:DMG: AttributeStatusIB = + [1667200235.624704][13711:13711] CHIP:DMG: { + [1667200235.624934][13711:13711] CHIP:DMG: AttributePathIB = + [1667200235.625025][13711:13711] CHIP:DMG: { + [1667200235.625124][13711:13711] CHIP:DMG: Endpoint = 0x1, + [1667200235.625206][13711:13711] CHIP:DMG: Cluster = 0x101, + [1667200235.625373][13711:13711] CHIP:DMG: Attribute = 0x0000_0005, + [1667200235.625465][13711:13711] CHIP:DMG: } [1667200235.625574][13711:13711] CHIP:DMG: - [1667200235.625667][13711:13711] CHIP:DMG: StatusIB = - [1667200235.625762][13711:13711] CHIP:DMG: { - [1667200235.625861][13711:13711] CHIP:DMG: status = 0x86 (UNSUPPORTED_ATTRIBUTE), - [1667200235.625934][13711:13711] CHIP:DMG: }, + [1667200235.625667][13711:13711] CHIP:DMG: StatusIB = + [1667200235.625762][13711:13711] CHIP:DMG: { + [1667200235.625861][13711:13711] CHIP:DMG: status = 0x86 (UNSUPPORTED_ATTRIBUTE), + [1667200235.625934][13711:13711] CHIP:DMG: }, [1667200235.626031][13711:13711] CHIP:DMG: - [1667200235.626116][13711:13711] CHIP:DMG: }, + [1667200235.626116][13711:13711] CHIP:DMG: }, [1667200235.626212][13711:13711] CHIP:DMG: - [1667200235.626293][13711:13711] CHIP:DMG: }, + [1667200235.626293][13711:13711] CHIP:DMG: }, disabled: true - label: "DUT reads OpenPeriod from the TH." @@ -679,19 +679,19 @@ tests: [1667200386.300236][13711:13711] CHIP:IM: Received Read request [1667200386.300439][13711:13711] CHIP:DMG: ReadRequestMessage = [1667200386.300508][13711:13711] CHIP:DMG: { - [1667200386.300567][13711:13711] CHIP:DMG: AttributePathIBs = - [1667200386.300639][13711:13711] CHIP:DMG: [ - [1667200386.300701][13711:13711] CHIP:DMG: AttributePathIB = - [1667200386.300778][13711:13711] CHIP:DMG: { - [1667200386.300848][13711:13711] CHIP:DMG: Endpoint = 0x1, - [1667200386.300939][13711:13711] CHIP:DMG: Cluster = 0x101, - [1667200386.301030][13711:13711] CHIP:DMG: Attribute = 0x0000_0012, - [1667200386.301103][13711:13711] CHIP:DMG: } + [1667200386.300567][13711:13711] CHIP:DMG: AttributePathIBs = + [1667200386.300639][13711:13711] CHIP:DMG: [ + [1667200386.300701][13711:13711] CHIP:DMG: AttributePathIB = + [1667200386.300778][13711:13711] CHIP:DMG: { + [1667200386.300848][13711:13711] CHIP:DMG: Endpoint = 0x1, + [1667200386.300939][13711:13711] CHIP:DMG: Cluster = 0x101, + [1667200386.301030][13711:13711] CHIP:DMG: Attribute = 0x0000_0012, + [1667200386.301103][13711:13711] CHIP:DMG: } [1667200386.301176][13711:13711] CHIP:DMG: - [1667200386.301248][13711:13711] CHIP:DMG: ], + [1667200386.301248][13711:13711] CHIP:DMG: ], [1667200386.301322][13711:13711] CHIP:DMG: - [1667200386.301389][13711:13711] CHIP:DMG: isFabricFiltered = true, - [1667200386.301453][13711:13711] CHIP:DMG: InteractionModelRevision = 1 + [1667200386.301389][13711:13711] CHIP:DMG: isFabricFiltered = true, + [1667200386.301453][13711:13711] CHIP:DMG: InteractionModelRevision = 1 [1667200386.301513][13711:13711] CHIP:DMG: }, [1667200386.301673][13711:13711] CHIP:DMG: IM RH moving to [GeneratingReports] [1667200386.301911][13711:13711] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 @@ -725,24 +725,24 @@ tests: [1667200386.305170][13711:13711] CHIP:DMG: [1667200386.305321][13711:13711] CHIP:DMG: ReportDataMessage = [1667200386.305386][13711:13711] CHIP:DMG: { - [1667200386.305440][13711:13711] CHIP:DMG: AttributeReportIBs = - [1667200386.305524][13711:13711] CHIP:DMG: [ - [1667200386.305586][13711:13711] CHIP:DMG: AttributeReportIB = - [1667200386.305685][13711:13711] CHIP:DMG: { - [1667200386.305758][13711:13711] CHIP:DMG: AttributeDataIB = - [1667200386.305850][13711:13711] CHIP:DMG: { - [1667200386.305982][13711:13711] CHIP:DMG: DataVersion = 0x42cd700, - [1667200386.306073][13711:13711] CHIP:DMG: AttributePathIB = - [1667200386.306151][13711:13711] CHIP:DMG: { - [1667200386.306249][13711:13711] CHIP:DMG: Endpoint = 0x1, - [1667200386.306351][13711:13711] CHIP:DMG: Cluster = 0x101, - [1667200386.306453][13711:13711] CHIP:DMG: Attribute = 0x0000_0012, - [1667200386.306557][13711:13711] CHIP:DMG: } + [1667200386.305440][13711:13711] CHIP:DMG: AttributeReportIBs = + [1667200386.305524][13711:13711] CHIP:DMG: [ + [1667200386.305586][13711:13711] CHIP:DMG: AttributeReportIB = + [1667200386.305685][13711:13711] CHIP:DMG: { + [1667200386.305758][13711:13711] CHIP:DMG: AttributeDataIB = + [1667200386.305850][13711:13711] CHIP:DMG: { + [1667200386.305982][13711:13711] CHIP:DMG: DataVersion = 0x42cd700, + [1667200386.306073][13711:13711] CHIP:DMG: AttributePathIB = + [1667200386.306151][13711:13711] CHIP:DMG: { + [1667200386.306249][13711:13711] CHIP:DMG: Endpoint = 0x1, + [1667200386.306351][13711:13711] CHIP:DMG: Cluster = 0x101, + [1667200386.306453][13711:13711] CHIP:DMG: Attribute = 0x0000_0012, + [1667200386.306557][13711:13711] CHIP:DMG: } [1667200386.306659][13711:13711] CHIP:DMG: - [1667200386.306756][13711:13711] CHIP:DMG: Data = 10, - [1667200386.306846][13711:13711] CHIP:DMG: }, + [1667200386.306756][13711:13711] CHIP:DMG: Data = 10, + [1667200386.306846][13711:13711] CHIP:DMG: }, [1667200386.306967][13711:13711] CHIP:DMG: - [1667200386.307042][13711:13711] CHIP:DMG: }, + [1667200386.307042][13711:13711] CHIP:DMG: }, disabled: true - label: "DUT reads NumberofRFIDUsersSupported from the TH." @@ -756,19 +756,19 @@ tests: [1667200631.810094][13711:13711] CHIP:IM: Received Read request [1667200631.810297][13711:13711] CHIP:DMG: ReadRequestMessage = [1667200631.810367][13711:13711] CHIP:DMG: { - [1667200631.810447][13711:13711] CHIP:DMG: AttributePathIBs = - [1667200631.810588][13711:13711] CHIP:DMG: [ - [1667200631.810680][13711:13711] CHIP:DMG: AttributePathIB = - [1667200631.810756][13711:13711] CHIP:DMG: { - [1667200631.810830][13711:13711] CHIP:DMG: Endpoint = 0x1, - [1667200631.810909][13711:13711] CHIP:DMG: Cluster = 0x101, - [1667200631.811016][13711:13711] CHIP:DMG: Attribute = 0x0000_0013, - [1667200631.811093][13711:13711] CHIP:DMG: } + [1667200631.810447][13711:13711] CHIP:DMG: AttributePathIBs = + [1667200631.810588][13711:13711] CHIP:DMG: [ + [1667200631.810680][13711:13711] CHIP:DMG: AttributePathIB = + [1667200631.810756][13711:13711] CHIP:DMG: { + [1667200631.810830][13711:13711] CHIP:DMG: Endpoint = 0x1, + [1667200631.810909][13711:13711] CHIP:DMG: Cluster = 0x101, + [1667200631.811016][13711:13711] CHIP:DMG: Attribute = 0x0000_0013, + [1667200631.811093][13711:13711] CHIP:DMG: } [1667200631.811192][13711:13711] CHIP:DMG: - [1667200631.811252][13711:13711] CHIP:DMG: ], + [1667200631.811252][13711:13711] CHIP:DMG: ], [1667200631.811340][13711:13711] CHIP:DMG: - [1667200631.811410][13711:13711] CHIP:DMG: isFabricFiltered = true, - [1667200631.811478][13711:13711] CHIP:DMG: InteractionModelRevision = 1 + [1667200631.811410][13711:13711] CHIP:DMG: isFabricFiltered = true, + [1667200631.811478][13711:13711] CHIP:DMG: InteractionModelRevision = 1 [1667200631.811561][13711:13711] CHIP:DMG: }, [1667200631.811757][13711:13711] CHIP:DMG: IM RH moving to [GeneratingReports] [1667200631.812013][13711:13711] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 @@ -802,24 +802,24 @@ tests: [1667200631.815237][13711:13711] CHIP:DMG: [1667200631.815406][13711:13711] CHIP:DMG: ReportDataMessage = [1667200631.815473][13711:13711] CHIP:DMG: { - [1667200631.815550][13711:13711] CHIP:DMG: AttributeReportIBs = - [1667200631.815638][13711:13711] CHIP:DMG: [ - [1667200631.815729][13711:13711] CHIP:DMG: AttributeReportIB = - [1667200631.815821][13711:13711] CHIP:DMG: { - [1667200631.815881][13711:13711] CHIP:DMG: AttributeDataIB = - [1667200631.815958][13711:13711] CHIP:DMG: { - [1667200631.816055][13711:13711] CHIP:DMG: DataVersion = 0x42cd700, - [1667200631.816152][13711:13711] CHIP:DMG: AttributePathIB = - [1667200631.816263][13711:13711] CHIP:DMG: { - [1667200631.816385][13711:13711] CHIP:DMG: Endpoint = 0x1, - [1667200631.816472][13711:13711] CHIP:DMG: Cluster = 0x101, - [1667200631.816557][13711:13711] CHIP:DMG: Attribute = 0x0000_0013, - [1667200631.816666][13711:13711] CHIP:DMG: } + [1667200631.815550][13711:13711] CHIP:DMG: AttributeReportIBs = + [1667200631.815638][13711:13711] CHIP:DMG: [ + [1667200631.815729][13711:13711] CHIP:DMG: AttributeReportIB = + [1667200631.815821][13711:13711] CHIP:DMG: { + [1667200631.815881][13711:13711] CHIP:DMG: AttributeDataIB = + [1667200631.815958][13711:13711] CHIP:DMG: { + [1667200631.816055][13711:13711] CHIP:DMG: DataVersion = 0x42cd700, + [1667200631.816152][13711:13711] CHIP:DMG: AttributePathIB = + [1667200631.816263][13711:13711] CHIP:DMG: { + [1667200631.816385][13711:13711] CHIP:DMG: Endpoint = 0x1, + [1667200631.816472][13711:13711] CHIP:DMG: Cluster = 0x101, + [1667200631.816557][13711:13711] CHIP:DMG: Attribute = 0x0000_0013, + [1667200631.816666][13711:13711] CHIP:DMG: } [1667200631.816759][13711:13711] CHIP:DMG: - [1667200631.816872][13711:13711] CHIP:DMG: Data = 10, - [1667200631.816954][13711:13711] CHIP:DMG: }, + [1667200631.816872][13711:13711] CHIP:DMG: Data = 10, + [1667200631.816954][13711:13711] CHIP:DMG: }, [1667200631.817069][13711:13711] CHIP:DMG: - [1667200631.817144][13711:13711] CHIP:DMG: }, + [1667200631.817144][13711:13711] CHIP:DMG: }, disabled: true - label: "DUT reads NumberofWeekDaysSchedulesSupported from the TH." @@ -1066,19 +1066,19 @@ tests: [1667200996.851156][13711:13711] CHIP:IM: Received Read request [1667200996.851354][13711:13711] CHIP:DMG: ReadRequestMessage = [1667200996.851445][13711:13711] CHIP:DMG: { - [1667200996.851500][13711:13711] CHIP:DMG: AttributePathIBs = - [1667200996.851586][13711:13711] CHIP:DMG: [ - [1667200996.851650][13711:13711] CHIP:DMG: AttributePathIB = - [1667200996.851732][13711:13711] CHIP:DMG: { - [1667200996.851814][13711:13711] CHIP:DMG: Endpoint = 0x1, - [1667200996.851916][13711:13711] CHIP:DMG: Cluster = 0x101, - [1667200996.852002][13711:13711] CHIP:DMG: Attribute = 0x0000_0017, - [1667200996.852110][13711:13711] CHIP:DMG: } + [1667200996.851500][13711:13711] CHIP:DMG: AttributePathIBs = + [1667200996.851586][13711:13711] CHIP:DMG: [ + [1667200996.851650][13711:13711] CHIP:DMG: AttributePathIB = + [1667200996.851732][13711:13711] CHIP:DMG: { + [1667200996.851814][13711:13711] CHIP:DMG: Endpoint = 0x1, + [1667200996.851916][13711:13711] CHIP:DMG: Cluster = 0x101, + [1667200996.852002][13711:13711] CHIP:DMG: Attribute = 0x0000_0017, + [1667200996.852110][13711:13711] CHIP:DMG: } [1667200996.852193][13711:13711] CHIP:DMG: - [1667200996.852283][13711:13711] CHIP:DMG: ], + [1667200996.852283][13711:13711] CHIP:DMG: ], [1667200996.852356][13711:13711] CHIP:DMG: - [1667200996.852453][13711:13711] CHIP:DMG: isFabricFiltered = true, - [1667200996.852527][13711:13711] CHIP:DMG: InteractionModelRevision = 1 + [1667200996.852453][13711:13711] CHIP:DMG: isFabricFiltered = true, + [1667200996.852527][13711:13711] CHIP:DMG: InteractionModelRevision = 1 [1667200996.852594][13711:13711] CHIP:DMG: }, [1667200996.852780][13711:13711] CHIP:DMG: IM RH moving to [GeneratingReports] [1667200996.853051][13711:13711] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 @@ -1112,24 +1112,24 @@ tests: [1667200996.856267][13711:13711] CHIP:DMG: [1667200996.856420][13711:13711] CHIP:DMG: ReportDataMessage = [1667200996.856485][13711:13711] CHIP:DMG: { - [1667200996.856562][13711:13711] CHIP:DMG: AttributeReportIBs = - [1667200996.856647][13711:13711] CHIP:DMG: [ - [1667200996.856730][13711:13711] CHIP:DMG: AttributeReportIB = - [1667200996.856821][13711:13711] CHIP:DMG: { - [1667200996.856910][13711:13711] CHIP:DMG: AttributeDataIB = - [1667200996.857003][13711:13711] CHIP:DMG: { - [1667200996.857116][13711:13711] CHIP:DMG: DataVersion = 0x42cd700, - [1667200996.857208][13711:13711] CHIP:DMG: AttributePathIB = - [1667200996.857312][13711:13711] CHIP:DMG: { - [1667200996.857387][13711:13711] CHIP:DMG: Endpoint = 0x1, - [1667200996.857673][13711:13711] CHIP:DMG: Cluster = 0x101, - [1667200996.857778][13711:13711] CHIP:DMG: Attribute = 0x0000_0017, - [1667200996.857903][13711:13711] CHIP:DMG: } + [1667200996.856562][13711:13711] CHIP:DMG: AttributeReportIBs = + [1667200996.856647][13711:13711] CHIP:DMG: [ + [1667200996.856730][13711:13711] CHIP:DMG: AttributeReportIB = + [1667200996.856821][13711:13711] CHIP:DMG: { + [1667200996.856910][13711:13711] CHIP:DMG: AttributeDataIB = + [1667200996.857003][13711:13711] CHIP:DMG: { + [1667200996.857116][13711:13711] CHIP:DMG: DataVersion = 0x42cd700, + [1667200996.857208][13711:13711] CHIP:DMG: AttributePathIB = + [1667200996.857312][13711:13711] CHIP:DMG: { + [1667200996.857387][13711:13711] CHIP:DMG: Endpoint = 0x1, + [1667200996.857673][13711:13711] CHIP:DMG: Cluster = 0x101, + [1667200996.857778][13711:13711] CHIP:DMG: Attribute = 0x0000_0017, + [1667200996.857903][13711:13711] CHIP:DMG: } [1667200996.858006][13711:13711] CHIP:DMG: - [1667200996.858105][13711:13711] CHIP:DMG: Data = 8, - [1667200996.858180][13711:13711] CHIP:DMG: }, + [1667200996.858105][13711:13711] CHIP:DMG: Data = 8, + [1667200996.858180][13711:13711] CHIP:DMG: }, [1667200996.858276][13711:13711] CHIP:DMG: - [1667200996.858348][13711:13711] CHIP:DMG: }, + [1667200996.858348][13711:13711] CHIP:DMG: }, [1667200996.858454][13711:13711] CHIP:DMG: disabled: true @@ -1221,19 +1221,19 @@ tests: [1667201100.421158][13711:13711] CHIP:IM: Received Read request [1667201100.421351][13711:13711] CHIP:DMG: ReadRequestMessage = [1667201100.421409][13711:13711] CHIP:DMG: { - [1667201100.421487][13711:13711] CHIP:DMG: AttributePathIBs = - [1667201100.421561][13711:13711] CHIP:DMG: [ - [1667201100.421622][13711:13711] CHIP:DMG: AttributePathIB = - [1667201100.421718][13711:13711] CHIP:DMG: { - [1667201100.421796][13711:13711] CHIP:DMG: Endpoint = 0x1, - [1667201100.421912][13711:13711] CHIP:DMG: Cluster = 0x101, - [1667201100.422004][13711:13711] CHIP:DMG: Attribute = 0x0000_0019, - [1667201100.422106][13711:13711] CHIP:DMG: } + [1667201100.421487][13711:13711] CHIP:DMG: AttributePathIBs = + [1667201100.421561][13711:13711] CHIP:DMG: [ + [1667201100.421622][13711:13711] CHIP:DMG: AttributePathIB = + [1667201100.421718][13711:13711] CHIP:DMG: { + [1667201100.421796][13711:13711] CHIP:DMG: Endpoint = 0x1, + [1667201100.421912][13711:13711] CHIP:DMG: Cluster = 0x101, + [1667201100.422004][13711:13711] CHIP:DMG: Attribute = 0x0000_0019, + [1667201100.422106][13711:13711] CHIP:DMG: } [1667201100.422176][13711:13711] CHIP:DMG: - [1667201100.422247][13711:13711] CHIP:DMG: ], + [1667201100.422247][13711:13711] CHIP:DMG: ], [1667201100.422319][13711:13711] CHIP:DMG: - [1667201100.422402][13711:13711] CHIP:DMG: isFabricFiltered = true, - [1667201100.422509][13711:13711] CHIP:DMG: InteractionModelRevision = 1 + [1667201100.422402][13711:13711] CHIP:DMG: isFabricFiltered = true, + [1667201100.422509][13711:13711] CHIP:DMG: InteractionModelRevision = 1 [1667201100.422569][13711:13711] CHIP:DMG: }, [1667201100.422760][13711:13711] CHIP:DMG: IM RH moving to [GeneratingReports] [1667201100.423015][13711:13711] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 @@ -1267,24 +1267,24 @@ tests: [1667201100.426182][13711:13711] CHIP:DMG: [1667201100.426327][13711:13711] CHIP:DMG: ReportDataMessage = [1667201100.426414][13711:13711] CHIP:DMG: { - [1667201100.426507][13711:13711] CHIP:DMG: AttributeReportIBs = - [1667201100.426587][13711:13711] CHIP:DMG: [ - [1667201100.426674][13711:13711] CHIP:DMG: AttributeReportIB = - [1667201100.426763][13711:13711] CHIP:DMG: { - [1667201100.426860][13711:13711] CHIP:DMG: AttributeDataIB = - [1667201100.426931][13711:13711] CHIP:DMG: { - [1667201100.427034][13711:13711] CHIP:DMG: DataVersion = 0x42cd700, - [1667201100.427103][13711:13711] CHIP:DMG: AttributePathIB = - [1667201100.427197][13711:13711] CHIP:DMG: { - [1667201100.427310][13711:13711] CHIP:DMG: Endpoint = 0x1, - [1667201100.427412][13711:13711] CHIP:DMG: Cluster = 0x101, - [1667201100.427529][13711:13711] CHIP:DMG: Attribute = 0x0000_0019, - [1667201100.427626][13711:13711] CHIP:DMG: } + [1667201100.426507][13711:13711] CHIP:DMG: AttributeReportIBs = + [1667201100.426587][13711:13711] CHIP:DMG: [ + [1667201100.426674][13711:13711] CHIP:DMG: AttributeReportIB = + [1667201100.426763][13711:13711] CHIP:DMG: { + [1667201100.426860][13711:13711] CHIP:DMG: AttributeDataIB = + [1667201100.426931][13711:13711] CHIP:DMG: { + [1667201100.427034][13711:13711] CHIP:DMG: DataVersion = 0x42cd700, + [1667201100.427103][13711:13711] CHIP:DMG: AttributePathIB = + [1667201100.427197][13711:13711] CHIP:DMG: { + [1667201100.427310][13711:13711] CHIP:DMG: Endpoint = 0x1, + [1667201100.427412][13711:13711] CHIP:DMG: Cluster = 0x101, + [1667201100.427529][13711:13711] CHIP:DMG: Attribute = 0x0000_0019, + [1667201100.427626][13711:13711] CHIP:DMG: } [1667201100.427747][13711:13711] CHIP:DMG: - [1667201100.427872][13711:13711] CHIP:DMG: Data = 20, - [1667201100.427951][13711:13711] CHIP:DMG: }, + [1667201100.427872][13711:13711] CHIP:DMG: Data = 20, + [1667201100.427951][13711:13711] CHIP:DMG: }, [1667201100.428066][13711:13711] CHIP:DMG: - [1667201100.428142][13711:13711] CHIP:DMG: }, + [1667201100.428142][13711:13711] CHIP:DMG: }, disabled: true - label: "DUT reads MinRFIDCodedLength from the TH." @@ -1298,19 +1298,19 @@ tests: [1667201144.645298][13711:13711] CHIP:IM: Received Read request [1667201144.645497][13711:13711] CHIP:DMG: ReadRequestMessage = [1667201144.645566][13711:13711] CHIP:DMG: { - [1667201144.645643][13711:13711] CHIP:DMG: AttributePathIBs = - [1667201144.645709][13711:13711] CHIP:DMG: [ - [1667201144.645797][13711:13711] CHIP:DMG: AttributePathIB = - [1667201144.645863][13711:13711] CHIP:DMG: { - [1667201144.645942][13711:13711] CHIP:DMG: Endpoint = 0x1, - [1667201144.646035][13711:13711] CHIP:DMG: Cluster = 0x101, - [1667201144.646104][13711:13711] CHIP:DMG: Attribute = 0x0000_001A, - [1667201144.646198][13711:13711] CHIP:DMG: } + [1667201144.645643][13711:13711] CHIP:DMG: AttributePathIBs = + [1667201144.645709][13711:13711] CHIP:DMG: [ + [1667201144.645797][13711:13711] CHIP:DMG: AttributePathIB = + [1667201144.645863][13711:13711] CHIP:DMG: { + [1667201144.645942][13711:13711] CHIP:DMG: Endpoint = 0x1, + [1667201144.646035][13711:13711] CHIP:DMG: Cluster = 0x101, + [1667201144.646104][13711:13711] CHIP:DMG: Attribute = 0x0000_001A, + [1667201144.646198][13711:13711] CHIP:DMG: } [1667201144.646279][13711:13711] CHIP:DMG: - [1667201144.646370][13711:13711] CHIP:DMG: ], + [1667201144.646370][13711:13711] CHIP:DMG: ], [1667201144.646440][13711:13711] CHIP:DMG: - [1667201144.646549][13711:13711] CHIP:DMG: isFabricFiltered = true, - [1667201144.646640][13711:13711] CHIP:DMG: InteractionModelRevision = 1 + [1667201144.646549][13711:13711] CHIP:DMG: isFabricFiltered = true, + [1667201144.646640][13711:13711] CHIP:DMG: InteractionModelRevision = 1 [1667201144.646699][13711:13711] CHIP:DMG: }, [1667201144.646889][13711:13711] CHIP:DMG: IM RH moving to [GeneratingReports] [1667201144.647143][13711:13711] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 @@ -1344,24 +1344,24 @@ tests: [1667201144.650347][13711:13711] CHIP:DMG: [1667201144.650551][13711:13711] CHIP:DMG: ReportDataMessage = [1667201144.650619][13711:13711] CHIP:DMG: { - [1667201144.650698][13711:13711] CHIP:DMG: AttributeReportIBs = - [1667201144.650775][13711:13711] CHIP:DMG: [ - [1667201144.650858][13711:13711] CHIP:DMG: AttributeReportIB = - [1667201144.650935][13711:13711] CHIP:DMG: { - [1667201144.651001][13711:13711] CHIP:DMG: AttributeDataIB = - [1667201144.651093][13711:13711] CHIP:DMG: { - [1667201144.651165][13711:13711] CHIP:DMG: DataVersion = 0x42cd700, - [1667201144.651261][13711:13711] CHIP:DMG: AttributePathIB = - [1667201144.651356][13711:13711] CHIP:DMG: { - [1667201144.651475][13711:13711] CHIP:DMG: Endpoint = 0x1, - [1667201144.651597][13711:13711] CHIP:DMG: Cluster = 0x101, - [1667201144.651699][13711:13711] CHIP:DMG: Attribute = 0x0000_001A, - [1667201144.651809][13711:13711] CHIP:DMG: } + [1667201144.650698][13711:13711] CHIP:DMG: AttributeReportIBs = + [1667201144.650775][13711:13711] CHIP:DMG: [ + [1667201144.650858][13711:13711] CHIP:DMG: AttributeReportIB = + [1667201144.650935][13711:13711] CHIP:DMG: { + [1667201144.651001][13711:13711] CHIP:DMG: AttributeDataIB = + [1667201144.651093][13711:13711] CHIP:DMG: { + [1667201144.651165][13711:13711] CHIP:DMG: DataVersion = 0x42cd700, + [1667201144.651261][13711:13711] CHIP:DMG: AttributePathIB = + [1667201144.651356][13711:13711] CHIP:DMG: { + [1667201144.651475][13711:13711] CHIP:DMG: Endpoint = 0x1, + [1667201144.651597][13711:13711] CHIP:DMG: Cluster = 0x101, + [1667201144.651699][13711:13711] CHIP:DMG: Attribute = 0x0000_001A, + [1667201144.651809][13711:13711] CHIP:DMG: } [1667201144.651909][13711:13711] CHIP:DMG: - [1667201144.652024][13711:13711] CHIP:DMG: Data = 10, - [1667201144.652114][13711:13711] CHIP:DMG: }, + [1667201144.652024][13711:13711] CHIP:DMG: Data = 10, + [1667201144.652114][13711:13711] CHIP:DMG: }, [1667201144.652227][13711:13711] CHIP:DMG: - [1667201144.652297][13711:13711] CHIP:DMG: }, + [1667201144.652297][13711:13711] CHIP:DMG: }, disabled: true - label: "DUT reads CredentialRulesSupport from the TH." @@ -1376,19 +1376,19 @@ tests: [1667201179.770039][13711:13711] CHIP:IM: Received Read request [1667201179.770213][13711:13711] CHIP:DMG: ReadRequestMessage = [1667201179.770279][13711:13711] CHIP:DMG: { - [1667201179.770334][13711:13711] CHIP:DMG: AttributePathIBs = - [1667201179.770399][13711:13711] CHIP:DMG: [ - [1667201179.770579][13711:13711] CHIP:DMG: AttributePathIB = - [1667201179.770660][13711:13711] CHIP:DMG: { - [1667201179.770773][13711:13711] CHIP:DMG: Endpoint = 0x1, - [1667201179.770873][13711:13711] CHIP:DMG: Cluster = 0x101, - [1667201179.770966][13711:13711] CHIP:DMG: Attribute = 0x0000_001B, - [1667201179.771029][13711:13711] CHIP:DMG: } + [1667201179.770334][13711:13711] CHIP:DMG: AttributePathIBs = + [1667201179.770399][13711:13711] CHIP:DMG: [ + [1667201179.770579][13711:13711] CHIP:DMG: AttributePathIB = + [1667201179.770660][13711:13711] CHIP:DMG: { + [1667201179.770773][13711:13711] CHIP:DMG: Endpoint = 0x1, + [1667201179.770873][13711:13711] CHIP:DMG: Cluster = 0x101, + [1667201179.770966][13711:13711] CHIP:DMG: Attribute = 0x0000_001B, + [1667201179.771029][13711:13711] CHIP:DMG: } [1667201179.771102][13711:13711] CHIP:DMG: - [1667201179.771160][13711:13711] CHIP:DMG: ], + [1667201179.771160][13711:13711] CHIP:DMG: ], [1667201179.771231][13711:13711] CHIP:DMG: - [1667201179.771302][13711:13711] CHIP:DMG: isFabricFiltered = true, - [1667201179.771367][13711:13711] CHIP:DMG: InteractionModelRevision = 1 + [1667201179.771302][13711:13711] CHIP:DMG: isFabricFiltered = true, + [1667201179.771367][13711:13711] CHIP:DMG: InteractionModelRevision = 1 [1667201179.771427][13711:13711] CHIP:DMG: }, [1667201179.771595][13711:13711] CHIP:DMG: IM RH moving to [GeneratingReports] [1667201179.771840][13711:13711] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 @@ -1422,24 +1422,24 @@ tests: [1667201179.775084][13711:13711] CHIP:DMG: [1667201179.775239][13711:13711] CHIP:DMG: ReportDataMessage = [1667201179.775307][13711:13711] CHIP:DMG: { - [1667201179.775361][13711:13711] CHIP:DMG: AttributeReportIBs = - [1667201179.775438][13711:13711] CHIP:DMG: [ - [1667201179.775500][13711:13711] CHIP:DMG: AttributeReportIB = - [1667201179.775589][13711:13711] CHIP:DMG: { - [1667201179.775687][13711:13711] CHIP:DMG: AttributeDataIB = - [1667201179.775779][13711:13711] CHIP:DMG: { - [1667201179.775875][13711:13711] CHIP:DMG: DataVersion = 0x42cd700, - [1667201179.775966][13711:13711] CHIP:DMG: AttributePathIB = - [1667201179.776050][13711:13711] CHIP:DMG: { - [1667201179.776131][13711:13711] CHIP:DMG: Endpoint = 0x1, - [1667201179.776231][13711:13711] CHIP:DMG: Cluster = 0x101, - [1667201179.776332][13711:13711] CHIP:DMG: Attribute = 0x0000_001B, - [1667201179.776427][13711:13711] CHIP:DMG: } + [1667201179.775361][13711:13711] CHIP:DMG: AttributeReportIBs = + [1667201179.775438][13711:13711] CHIP:DMG: [ + [1667201179.775500][13711:13711] CHIP:DMG: AttributeReportIB = + [1667201179.775589][13711:13711] CHIP:DMG: { + [1667201179.775687][13711:13711] CHIP:DMG: AttributeDataIB = + [1667201179.775779][13711:13711] CHIP:DMG: { + [1667201179.775875][13711:13711] CHIP:DMG: DataVersion = 0x42cd700, + [1667201179.775966][13711:13711] CHIP:DMG: AttributePathIB = + [1667201179.776050][13711:13711] CHIP:DMG: { + [1667201179.776131][13711:13711] CHIP:DMG: Endpoint = 0x1, + [1667201179.776231][13711:13711] CHIP:DMG: Cluster = 0x101, + [1667201179.776332][13711:13711] CHIP:DMG: Attribute = 0x0000_001B, + [1667201179.776427][13711:13711] CHIP:DMG: } [1667201179.776510][13711:13711] CHIP:DMG: - [1667201179.776586][13711:13711] CHIP:DMG: Data = 1, - [1667201179.776677][13711:13711] CHIP:DMG: }, + [1667201179.776586][13711:13711] CHIP:DMG: Data = 1, + [1667201179.776677][13711:13711] CHIP:DMG: }, [1667201179.776774][13711:13711] CHIP:DMG: - [1667201179.776846][13711:13711] CHIP:DMG: }, + [1667201179.776846][13711:13711] CHIP:DMG: }, disabled: true - label: "DUT reads Language from the TH." @@ -1532,19 +1532,19 @@ tests: [1667201388.324667][13711:13711] CHIP:IM: Received Read request [1667201388.324840][13711:13711] CHIP:DMG: ReadRequestMessage = [1667201388.324910][13711:13711] CHIP:DMG: { - [1667201388.324985][13711:13711] CHIP:DMG: AttributePathIBs = - [1667201388.325043][13711:13711] CHIP:DMG: [ - [1667201388.325109][13711:13711] CHIP:DMG: AttributePathIB = - [1667201388.325172][13711:13711] CHIP:DMG: { - [1667201388.325257][13711:13711] CHIP:DMG: Endpoint = 0x1, - [1667201388.325325][13711:13711] CHIP:DMG: Cluster = 0x101, - [1667201388.325393][13711:13711] CHIP:DMG: Attribute = 0x0000_0022, - [1667201388.325462][13711:13711] CHIP:DMG: } + [1667201388.324985][13711:13711] CHIP:DMG: AttributePathIBs = + [1667201388.325043][13711:13711] CHIP:DMG: [ + [1667201388.325109][13711:13711] CHIP:DMG: AttributePathIB = + [1667201388.325172][13711:13711] CHIP:DMG: { + [1667201388.325257][13711:13711] CHIP:DMG: Endpoint = 0x1, + [1667201388.325325][13711:13711] CHIP:DMG: Cluster = 0x101, + [1667201388.325393][13711:13711] CHIP:DMG: Attribute = 0x0000_0022, + [1667201388.325462][13711:13711] CHIP:DMG: } [1667201388.325527][13711:13711] CHIP:DMG: - [1667201388.325606][13711:13711] CHIP:DMG: ], + [1667201388.325606][13711:13711] CHIP:DMG: ], [1667201388.325671][13711:13711] CHIP:DMG: - [1667201388.325739][13711:13711] CHIP:DMG: isFabricFiltered = true, - [1667201388.325795][13711:13711] CHIP:DMG: InteractionModelRevision = 1 + [1667201388.325739][13711:13711] CHIP:DMG: isFabricFiltered = true, + [1667201388.325795][13711:13711] CHIP:DMG: InteractionModelRevision = 1 [1667201388.325847][13711:13711] CHIP:DMG: }, [1667201388.326025][13711:13711] CHIP:DMG: IM RH moving to [GeneratingReports] [1667201388.326302][13711:13711] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 @@ -1576,25 +1576,25 @@ tests: [1667201388.329574][13711:13711] CHIP:DMG: [1667201388.329713][13711:13711] CHIP:DMG: ReportDataMessage = [1667201388.329781][13711:13711] CHIP:DMG: { - [1667201388.329838][13711:13711] CHIP:DMG: AttributeReportIBs = - [1667201388.329919][13711:13711] CHIP:DMG: [ - [1667201388.330011][13711:13711] CHIP:DMG: AttributeReportIB = - [1667201388.330104][13711:13711] CHIP:DMG: { - [1667201388.330182][13711:13711] CHIP:DMG: AttributeStatusIB = - [1667201388.330253][13711:13711] CHIP:DMG: { - [1667201388.330368][13711:13711] CHIP:DMG: AttributePathIB = - [1667201388.330516][13711:13711] CHIP:DMG: { - [1667201388.330625][13711:13711] CHIP:DMG: Endpoint = 0x1, - [1667201388.330728][13711:13711] CHIP:DMG: Cluster = 0x101, - [1667201388.330827][13711:13711] CHIP:DMG: Attribute = 0x0000_0022, - [1667201388.330926][13711:13711] CHIP:DMG: } + [1667201388.329838][13711:13711] CHIP:DMG: AttributeReportIBs = + [1667201388.329919][13711:13711] CHIP:DMG: [ + [1667201388.330011][13711:13711] CHIP:DMG: AttributeReportIB = + [1667201388.330104][13711:13711] CHIP:DMG: { + [1667201388.330182][13711:13711] CHIP:DMG: AttributeStatusIB = + [1667201388.330253][13711:13711] CHIP:DMG: { + [1667201388.330368][13711:13711] CHIP:DMG: AttributePathIB = + [1667201388.330516][13711:13711] CHIP:DMG: { + [1667201388.330625][13711:13711] CHIP:DMG: Endpoint = 0x1, + [1667201388.330728][13711:13711] CHIP:DMG: Cluster = 0x101, + [1667201388.330827][13711:13711] CHIP:DMG: Attribute = 0x0000_0022, + [1667201388.330926][13711:13711] CHIP:DMG: } [1667201388.331060][13711:13711] CHIP:DMG: - [1667201388.331147][13711:13711] CHIP:DMG: StatusIB = - [1667201388.331247][13711:13711] CHIP:DMG: { - [1667201388.331347][13711:13711] CHIP:DMG: status = 0x86 (UNSUPPORTED_ATTRIBUTE), - [1667201388.331448][13711:13711] CHIP:DMG: }, + [1667201388.331147][13711:13711] CHIP:DMG: StatusIB = + [1667201388.331247][13711:13711] CHIP:DMG: { + [1667201388.331347][13711:13711] CHIP:DMG: status = 0x86 (UNSUPPORTED_ATTRIBUTE), + [1667201388.331448][13711:13711] CHIP:DMG: }, [1667201388.331546][13711:13711] CHIP:DMG: - [1667201388.331641][13711:13711] CHIP:DMG: }, + [1667201388.331641][13711:13711] CHIP:DMG: }, [1667201388.331733][13711:13711] CHIP:DMG: disabled: true @@ -1609,19 +1609,19 @@ tests: [1667201427.189949][13711:13711] CHIP:IM: Received Read request [1667201427.190145][13711:13711] CHIP:DMG: ReadRequestMessage = [1667201427.190246][13711:13711] CHIP:DMG: { - [1667201427.190302][13711:13711] CHIP:DMG: AttributePathIBs = - [1667201427.190368][13711:13711] CHIP:DMG: [ - [1667201427.190430][13711:13711] CHIP:DMG: AttributePathIB = - [1667201427.190577][13711:13711] CHIP:DMG: { - [1667201427.190653][13711:13711] CHIP:DMG: Endpoint = 0x1, - [1667201427.190765][13711:13711] CHIP:DMG: Cluster = 0x101, - [1667201427.190847][13711:13711] CHIP:DMG: Attribute = 0x0000_0023, - [1667201427.190951][13711:13711] CHIP:DMG: } + [1667201427.190302][13711:13711] CHIP:DMG: AttributePathIBs = + [1667201427.190368][13711:13711] CHIP:DMG: [ + [1667201427.190430][13711:13711] CHIP:DMG: AttributePathIB = + [1667201427.190577][13711:13711] CHIP:DMG: { + [1667201427.190653][13711:13711] CHIP:DMG: Endpoint = 0x1, + [1667201427.190765][13711:13711] CHIP:DMG: Cluster = 0x101, + [1667201427.190847][13711:13711] CHIP:DMG: Attribute = 0x0000_0023, + [1667201427.190951][13711:13711] CHIP:DMG: } [1667201427.191033][13711:13711] CHIP:DMG: - [1667201427.191127][13711:13711] CHIP:DMG: ], + [1667201427.191127][13711:13711] CHIP:DMG: ], [1667201427.191201][13711:13711] CHIP:DMG: - [1667201427.191283][13711:13711] CHIP:DMG: isFabricFiltered = true, - [1667201427.191350][13711:13711] CHIP:DMG: InteractionModelRevision = 1 + [1667201427.191283][13711:13711] CHIP:DMG: isFabricFiltered = true, + [1667201427.191350][13711:13711] CHIP:DMG: InteractionModelRevision = 1 [1667201427.191410][13711:13711] CHIP:DMG: }, [1667201427.191597][13711:13711] CHIP:DMG: IM RH moving to [GeneratingReports] [1667201427.191831][13711:13711] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 @@ -1655,24 +1655,24 @@ tests: [1667201427.195071][13711:13711] CHIP:DMG: [1667201427.195219][13711:13711] CHIP:DMG: ReportDataMessage = [1667201427.195284][13711:13711] CHIP:DMG: { - [1667201427.195338][13711:13711] CHIP:DMG: AttributeReportIBs = - [1667201427.195412][13711:13711] CHIP:DMG: [ - [1667201427.195473][13711:13711] CHIP:DMG: AttributeReportIB = - [1667201427.195559][13711:13711] CHIP:DMG: { - [1667201427.195626][13711:13711] CHIP:DMG: AttributeDataIB = - [1667201427.195717][13711:13711] CHIP:DMG: { - [1667201427.195811][13711:13711] CHIP:DMG: DataVersion = 0x42cd700, - [1667201427.195893][13711:13711] CHIP:DMG: AttributePathIB = - [1667201427.195970][13711:13711] CHIP:DMG: { - [1667201427.196067][13711:13711] CHIP:DMG: Endpoint = 0x1, - [1667201427.196169][13711:13711] CHIP:DMG: Cluster = 0x101, - [1667201427.196269][13711:13711] CHIP:DMG: Attribute = 0x0000_0023, - [1667201427.196366][13711:13711] CHIP:DMG: } + [1667201427.195338][13711:13711] CHIP:DMG: AttributeReportIBs = + [1667201427.195412][13711:13711] CHIP:DMG: [ + [1667201427.195473][13711:13711] CHIP:DMG: AttributeReportIB = + [1667201427.195559][13711:13711] CHIP:DMG: { + [1667201427.195626][13711:13711] CHIP:DMG: AttributeDataIB = + [1667201427.195717][13711:13711] CHIP:DMG: { + [1667201427.195811][13711:13711] CHIP:DMG: DataVersion = 0x42cd700, + [1667201427.195893][13711:13711] CHIP:DMG: AttributePathIB = + [1667201427.195970][13711:13711] CHIP:DMG: { + [1667201427.196067][13711:13711] CHIP:DMG: Endpoint = 0x1, + [1667201427.196169][13711:13711] CHIP:DMG: Cluster = 0x101, + [1667201427.196269][13711:13711] CHIP:DMG: Attribute = 0x0000_0023, + [1667201427.196366][13711:13711] CHIP:DMG: } [1667201427.196464][13711:13711] CHIP:DMG: - [1667201427.196539][13711:13711] CHIP:DMG: Data = 60, - [1667201427.196620][13711:13711] CHIP:DMG: }, + [1667201427.196539][13711:13711] CHIP:DMG: Data = 60, + [1667201427.196620][13711:13711] CHIP:DMG: }, [1667201427.196714][13711:13711] CHIP:DMG: - [1667201427.196785][13711:13711] CHIP:DMG: }, + [1667201427.196785][13711:13711] CHIP:DMG: }, disabled: true - label: "DUT reads SoundVolume from the TH." @@ -1841,19 +1841,19 @@ tests: [1667201865.290199][13711:13711] CHIP:IM: Received Read request [1667201865.290400][13711:13711] CHIP:DMG: ReadRequestMessage = [1667201865.290522][13711:13711] CHIP:DMG: { - [1667201865.290584][13711:13711] CHIP:DMG: AttributePathIBs = - [1667201865.290650][13711:13711] CHIP:DMG: [ - [1667201865.290728][13711:13711] CHIP:DMG: AttributePathIB = - [1667201865.290807][13711:13711] CHIP:DMG: { - [1667201865.290909][13711:13711] CHIP:DMG: Endpoint = 0x1, - [1667201865.290989][13711:13711] CHIP:DMG: Cluster = 0x101, - [1667201865.291091][13711:13711] CHIP:DMG: Attribute = 0x0000_0026, - [1667201865.291163][13711:13711] CHIP:DMG: } + [1667201865.290584][13711:13711] CHIP:DMG: AttributePathIBs = + [1667201865.290650][13711:13711] CHIP:DMG: [ + [1667201865.290728][13711:13711] CHIP:DMG: AttributePathIB = + [1667201865.290807][13711:13711] CHIP:DMG: { + [1667201865.290909][13711:13711] CHIP:DMG: Endpoint = 0x1, + [1667201865.290989][13711:13711] CHIP:DMG: Cluster = 0x101, + [1667201865.291091][13711:13711] CHIP:DMG: Attribute = 0x0000_0026, + [1667201865.291163][13711:13711] CHIP:DMG: } [1667201865.291231][13711:13711] CHIP:DMG: - [1667201865.291289][13711:13711] CHIP:DMG: ], + [1667201865.291289][13711:13711] CHIP:DMG: ], [1667201865.291383][13711:13711] CHIP:DMG: - [1667201865.291448][13711:13711] CHIP:DMG: isFabricFiltered = true, - [1667201865.291513][13711:13711] CHIP:DMG: InteractionModelRevision = 1 + [1667201865.291448][13711:13711] CHIP:DMG: isFabricFiltered = true, + [1667201865.291513][13711:13711] CHIP:DMG: InteractionModelRevision = 1 [1667201865.291587][13711:13711] CHIP:DMG: }, [1667201865.291776][13711:13711] CHIP:DMG: IM RH moving to [GeneratingReports] [1667201865.292031][13711:13711] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 @@ -1887,24 +1887,24 @@ tests: [1667201865.295314][13711:13711] CHIP:DMG: [1667201865.295484][13711:13711] CHIP:DMG: ReportDataMessage = [1667201865.295577][13711:13711] CHIP:DMG: { - [1667201865.295633][13711:13711] CHIP:DMG: AttributeReportIBs = - [1667201865.295712][13711:13711] CHIP:DMG: [ - [1667201865.295774][13711:13711] CHIP:DMG: AttributeReportIB = - [1667201865.295879][13711:13711] CHIP:DMG: { - [1667201865.295947][13711:13711] CHIP:DMG: AttributeDataIB = - [1667201865.296029][13711:13711] CHIP:DMG: { - [1667201865.296136][13711:13711] CHIP:DMG: DataVersion = 0x42cd700, - [1667201865.296223][13711:13711] CHIP:DMG: AttributePathIB = - [1667201865.296302][13711:13711] CHIP:DMG: { - [1667201865.296425][13711:13711] CHIP:DMG: Endpoint = 0x1, - [1667201865.296532][13711:13711] CHIP:DMG: Cluster = 0x101, - [1667201865.296650][13711:13711] CHIP:DMG: Attribute = 0x0000_0026, - [1667201865.296738][13711:13711] CHIP:DMG: } + [1667201865.295633][13711:13711] CHIP:DMG: AttributeReportIBs = + [1667201865.295712][13711:13711] CHIP:DMG: [ + [1667201865.295774][13711:13711] CHIP:DMG: AttributeReportIB = + [1667201865.295879][13711:13711] CHIP:DMG: { + [1667201865.295947][13711:13711] CHIP:DMG: AttributeDataIB = + [1667201865.296029][13711:13711] CHIP:DMG: { + [1667201865.296136][13711:13711] CHIP:DMG: DataVersion = 0x42cd700, + [1667201865.296223][13711:13711] CHIP:DMG: AttributePathIB = + [1667201865.296302][13711:13711] CHIP:DMG: { + [1667201865.296425][13711:13711] CHIP:DMG: Endpoint = 0x1, + [1667201865.296532][13711:13711] CHIP:DMG: Cluster = 0x101, + [1667201865.296650][13711:13711] CHIP:DMG: Attribute = 0x0000_0026, + [1667201865.296738][13711:13711] CHIP:DMG: } [1667201865.296828][13711:13711] CHIP:DMG: - [1667201865.296933][13711:13711] CHIP:DMG: Data = 65526, - [1667201865.297016][13711:13711] CHIP:DMG: }, + [1667201865.296933][13711:13711] CHIP:DMG: Data = 65526, + [1667201865.297016][13711:13711] CHIP:DMG: }, [1667201865.297126][13711:13711] CHIP:DMG: - [1667201865.297197][13711:13711] CHIP:DMG: }, + [1667201865.297197][13711:13711] CHIP:DMG: }, disabled: true - label: "DUT reads DefaultConfigurationRegister from the TH." @@ -1920,19 +1920,19 @@ tests: [1667201906.379706][13711:13711] CHIP:IM: Received Read request [1667201906.379909][13711:13711] CHIP:DMG: ReadRequestMessage = [1667201906.380000][13711:13711] CHIP:DMG: { - [1667201906.380048][13711:13711] CHIP:DMG: AttributePathIBs = - [1667201906.380134][13711:13711] CHIP:DMG: [ - [1667201906.380189][13711:13711] CHIP:DMG: AttributePathIB = - [1667201906.380260][13711:13711] CHIP:DMG: { - [1667201906.380340][13711:13711] CHIP:DMG: Endpoint = 0x1, - [1667201906.380439][13711:13711] CHIP:DMG: Cluster = 0x101, - [1667201906.380522][13711:13711] CHIP:DMG: Attribute = 0x0000_0027, - [1667201906.380600][13711:13711] CHIP:DMG: } + [1667201906.380048][13711:13711] CHIP:DMG: AttributePathIBs = + [1667201906.380134][13711:13711] CHIP:DMG: [ + [1667201906.380189][13711:13711] CHIP:DMG: AttributePathIB = + [1667201906.380260][13711:13711] CHIP:DMG: { + [1667201906.380340][13711:13711] CHIP:DMG: Endpoint = 0x1, + [1667201906.380439][13711:13711] CHIP:DMG: Cluster = 0x101, + [1667201906.380522][13711:13711] CHIP:DMG: Attribute = 0x0000_0027, + [1667201906.380600][13711:13711] CHIP:DMG: } [1667201906.380694][13711:13711] CHIP:DMG: - [1667201906.380768][13711:13711] CHIP:DMG: ], + [1667201906.380768][13711:13711] CHIP:DMG: ], [1667201906.380839][13711:13711] CHIP:DMG: - [1667201906.380906][13711:13711] CHIP:DMG: isFabricFiltered = true, - [1667201906.380997][13711:13711] CHIP:DMG: InteractionModelRevision = 1 + [1667201906.380906][13711:13711] CHIP:DMG: isFabricFiltered = true, + [1667201906.380997][13711:13711] CHIP:DMG: InteractionModelRevision = 1 [1667201906.381059][13711:13711] CHIP:DMG: }, [1667201906.381229][13711:13711] CHIP:DMG: IM RH moving to [GeneratingReports] [1667201906.381484][13711:13711] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 @@ -1964,25 +1964,25 @@ tests: [1667201906.384554][13711:13711] CHIP:DMG: [1667201906.384718][13711:13711] CHIP:DMG: ReportDataMessage = [1667201906.384777][13711:13711] CHIP:DMG: { - [1667201906.384832][13711:13711] CHIP:DMG: AttributeReportIBs = - [1667201906.384935][13711:13711] CHIP:DMG: [ - [1667201906.384998][13711:13711] CHIP:DMG: AttributeReportIB = - [1667201906.385108][13711:13711] CHIP:DMG: { - [1667201906.385177][13711:13711] CHIP:DMG: AttributeStatusIB = - [1667201906.385277][13711:13711] CHIP:DMG: { - [1667201906.385351][13711:13711] CHIP:DMG: AttributePathIB = - [1667201906.385456][13711:13711] CHIP:DMG: { - [1667201906.385540][13711:13711] CHIP:DMG: Endpoint = 0x1, - [1667201906.385653][13711:13711] CHIP:DMG: Cluster = 0x101, - [1667201906.385740][13711:13711] CHIP:DMG: Attribute = 0x0000_0027, - [1667201906.385846][13711:13711] CHIP:DMG: } + [1667201906.384832][13711:13711] CHIP:DMG: AttributeReportIBs = + [1667201906.384935][13711:13711] CHIP:DMG: [ + [1667201906.384998][13711:13711] CHIP:DMG: AttributeReportIB = + [1667201906.385108][13711:13711] CHIP:DMG: { + [1667201906.385177][13711:13711] CHIP:DMG: AttributeStatusIB = + [1667201906.385277][13711:13711] CHIP:DMG: { + [1667201906.385351][13711:13711] CHIP:DMG: AttributePathIB = + [1667201906.385456][13711:13711] CHIP:DMG: { + [1667201906.385540][13711:13711] CHIP:DMG: Endpoint = 0x1, + [1667201906.385653][13711:13711] CHIP:DMG: Cluster = 0x101, + [1667201906.385740][13711:13711] CHIP:DMG: Attribute = 0x0000_0027, + [1667201906.385846][13711:13711] CHIP:DMG: } [1667201906.385937][13711:13711] CHIP:DMG: - [1667201906.386035][13711:13711] CHIP:DMG: StatusIB = - [1667201906.386117][13711:13711] CHIP:DMG: { - [1667201906.386218][13711:13711] CHIP:DMG: status = 0x86 (UNSUPPORTED_ATTRIBUTE), - [1667201906.386293][13711:13711] CHIP:DMG: }, + [1667201906.386035][13711:13711] CHIP:DMG: StatusIB = + [1667201906.386117][13711:13711] CHIP:DMG: { + [1667201906.386218][13711:13711] CHIP:DMG: status = 0x86 (UNSUPPORTED_ATTRIBUTE), + [1667201906.386293][13711:13711] CHIP:DMG: }, [1667201906.386598][13711:13711] CHIP:DMG: - [1667201906.386674][13711:13711] CHIP:DMG: }, + [1667201906.386674][13711:13711] CHIP:DMG: }, disabled: true - label: "DUT reads EnableLocalProgramming from the TH." @@ -2074,19 +2074,19 @@ tests: [1667202085.220880][13711:13711] CHIP:IM: Received Read request [1667202085.221091][13711:13711] CHIP:DMG: ReadRequestMessage = [1667202085.221161][13711:13711] CHIP:DMG: { - [1667202085.221212][13711:13711] CHIP:DMG: AttributePathIBs = - [1667202085.221275][13711:13711] CHIP:DMG: [ - [1667202085.221337][13711:13711] CHIP:DMG: AttributePathIB = - [1667202085.221416][13711:13711] CHIP:DMG: { - [1667202085.221494][13711:13711] CHIP:DMG: Endpoint = 0x1, - [1667202085.221568][13711:13711] CHIP:DMG: Cluster = 0x101, - [1667202085.221660][13711:13711] CHIP:DMG: Attribute = 0x0000_0029, - [1667202085.221745][13711:13711] CHIP:DMG: } + [1667202085.221212][13711:13711] CHIP:DMG: AttributePathIBs = + [1667202085.221275][13711:13711] CHIP:DMG: [ + [1667202085.221337][13711:13711] CHIP:DMG: AttributePathIB = + [1667202085.221416][13711:13711] CHIP:DMG: { + [1667202085.221494][13711:13711] CHIP:DMG: Endpoint = 0x1, + [1667202085.221568][13711:13711] CHIP:DMG: Cluster = 0x101, + [1667202085.221660][13711:13711] CHIP:DMG: Attribute = 0x0000_0029, + [1667202085.221745][13711:13711] CHIP:DMG: } [1667202085.221823][13711:13711] CHIP:DMG: - [1667202085.221889][13711:13711] CHIP:DMG: ], + [1667202085.221889][13711:13711] CHIP:DMG: ], [1667202085.221960][13711:13711] CHIP:DMG: - [1667202085.222034][13711:13711] CHIP:DMG: isFabricFiltered = true, - [1667202085.222099][13711:13711] CHIP:DMG: InteractionModelRevision = 1 + [1667202085.222034][13711:13711] CHIP:DMG: isFabricFiltered = true, + [1667202085.222099][13711:13711] CHIP:DMG: InteractionModelRevision = 1 [1667202085.222162][13711:13711] CHIP:DMG: }, [1667202085.222325][13711:13711] CHIP:DMG: IM RH moving to [GeneratingReports] [1667202085.222709][13711:13711] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 @@ -2120,24 +2120,24 @@ tests: [1667202085.225862][13711:13711] CHIP:DMG: [1667202085.226017][13711:13711] CHIP:DMG: ReportDataMessage = [1667202085.226086][13711:13711] CHIP:DMG: { - [1667202085.226139][13711:13711] CHIP:DMG: AttributeReportIBs = - [1667202085.226224][13711:13711] CHIP:DMG: [ - [1667202085.226287][13711:13711] CHIP:DMG: AttributeReportIB = - [1667202085.226388][13711:13711] CHIP:DMG: { - [1667202085.226528][13711:13711] CHIP:DMG: AttributeDataIB = - [1667202085.226613][13711:13711] CHIP:DMG: { - [1667202085.226708][13711:13711] CHIP:DMG: DataVersion = 0x42cd700, - [1667202085.226788][13711:13711] CHIP:DMG: AttributePathIB = - [1667202085.226868][13711:13711] CHIP:DMG: { - [1667202085.226965][13711:13711] CHIP:DMG: Endpoint = 0x1, - [1667202085.227067][13711:13711] CHIP:DMG: Cluster = 0x101, - [1667202085.227168][13711:13711] CHIP:DMG: Attribute = 0x0000_0029, - [1667202085.227264][13711:13711] CHIP:DMG: } + [1667202085.226139][13711:13711] CHIP:DMG: AttributeReportIBs = + [1667202085.226224][13711:13711] CHIP:DMG: [ + [1667202085.226287][13711:13711] CHIP:DMG: AttributeReportIB = + [1667202085.226388][13711:13711] CHIP:DMG: { + [1667202085.226528][13711:13711] CHIP:DMG: AttributeDataIB = + [1667202085.226613][13711:13711] CHIP:DMG: { + [1667202085.226708][13711:13711] CHIP:DMG: DataVersion = 0x42cd700, + [1667202085.226788][13711:13711] CHIP:DMG: AttributePathIB = + [1667202085.226868][13711:13711] CHIP:DMG: { + [1667202085.226965][13711:13711] CHIP:DMG: Endpoint = 0x1, + [1667202085.227067][13711:13711] CHIP:DMG: Cluster = 0x101, + [1667202085.227168][13711:13711] CHIP:DMG: Attribute = 0x0000_0029, + [1667202085.227264][13711:13711] CHIP:DMG: } [1667202085.227343][13711:13711] CHIP:DMG: - [1667202085.227431][13711:13711] CHIP:DMG: Data = false, - [1667202085.227498][13711:13711] CHIP:DMG: }, + [1667202085.227431][13711:13711] CHIP:DMG: Data = false, + [1667202085.227498][13711:13711] CHIP:DMG: }, [1667202085.227606][13711:13711] CHIP:DMG: - [1667202085.227681][13711:13711] CHIP:DMG: }, + [1667202085.227681][13711:13711] CHIP:DMG: }, [1667202085.227766][13711:13711] CHIP:DMG: disabled: true @@ -2309,19 +2309,19 @@ tests: [1667202241.815941][13711:13711] CHIP:IM: Received Read request [1667202241.816141][13711:13711] CHIP:DMG: ReadRequestMessage = [1667202241.816232][13711:13711] CHIP:DMG: { - [1667202241.816289][13711:13711] CHIP:DMG: AttributePathIBs = - [1667202241.816355][13711:13711] CHIP:DMG: [ - [1667202241.816441][13711:13711] CHIP:DMG: AttributePathIB = - [1667202241.816523][13711:13711] CHIP:DMG: { - [1667202241.816624][13711:13711] CHIP:DMG: Endpoint = 0x1, - [1667202241.816699][13711:13711] CHIP:DMG: Cluster = 0x101, - [1667202241.816792][13711:13711] CHIP:DMG: Attribute = 0x0000_002C, - [1667202241.816869][13711:13711] CHIP:DMG: } + [1667202241.816289][13711:13711] CHIP:DMG: AttributePathIBs = + [1667202241.816355][13711:13711] CHIP:DMG: [ + [1667202241.816441][13711:13711] CHIP:DMG: AttributePathIB = + [1667202241.816523][13711:13711] CHIP:DMG: { + [1667202241.816624][13711:13711] CHIP:DMG: Endpoint = 0x1, + [1667202241.816699][13711:13711] CHIP:DMG: Cluster = 0x101, + [1667202241.816792][13711:13711] CHIP:DMG: Attribute = 0x0000_002C, + [1667202241.816869][13711:13711] CHIP:DMG: } [1667202241.816949][13711:13711] CHIP:DMG: - [1667202241.817035][13711:13711] CHIP:DMG: ], + [1667202241.817035][13711:13711] CHIP:DMG: ], [1667202241.817109][13711:13711] CHIP:DMG: - [1667202241.817176][13711:13711] CHIP:DMG: isFabricFiltered = true, - [1667202241.817262][13711:13711] CHIP:DMG: InteractionModelRevision = 1 + [1667202241.817176][13711:13711] CHIP:DMG: isFabricFiltered = true, + [1667202241.817262][13711:13711] CHIP:DMG: InteractionModelRevision = 1 [1667202241.817322][13711:13711] CHIP:DMG: }, [1667202241.817513][13711:13711] CHIP:DMG: IM RH moving to [GeneratingReports] [1667202241.817794][13711:13711] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 @@ -2353,25 +2353,25 @@ tests: [1667202241.820830][13711:13711] CHIP:DMG: [1667202241.820994][13711:13711] CHIP:DMG: ReportDataMessage = [1667202241.821052][13711:13711] CHIP:DMG: { - [1667202241.821128][13711:13711] CHIP:DMG: AttributeReportIBs = - [1667202241.821206][13711:13711] CHIP:DMG: [ - [1667202241.821285][13711:13711] CHIP:DMG: AttributeReportIB = - [1667202241.821378][13711:13711] CHIP:DMG: { - [1667202241.821474][13711:13711] CHIP:DMG: AttributeStatusIB = - [1667202241.821568][13711:13711] CHIP:DMG: { - [1667202241.821677][13711:13711] CHIP:DMG: AttributePathIB = - [1667202241.821773][13711:13711] CHIP:DMG: { - [1667202241.821890][13711:13711] CHIP:DMG: Endpoint = 0x1, - [1667202241.821994][13711:13711] CHIP:DMG: Cluster = 0x101, - [1667202241.822108][13711:13711] CHIP:DMG: Attribute = 0x0000_002C, - [1667202241.822206][13711:13711] CHIP:DMG: } + [1667202241.821128][13711:13711] CHIP:DMG: AttributeReportIBs = + [1667202241.821206][13711:13711] CHIP:DMG: [ + [1667202241.821285][13711:13711] CHIP:DMG: AttributeReportIB = + [1667202241.821378][13711:13711] CHIP:DMG: { + [1667202241.821474][13711:13711] CHIP:DMG: AttributeStatusIB = + [1667202241.821568][13711:13711] CHIP:DMG: { + [1667202241.821677][13711:13711] CHIP:DMG: AttributePathIB = + [1667202241.821773][13711:13711] CHIP:DMG: { + [1667202241.821890][13711:13711] CHIP:DMG: Endpoint = 0x1, + [1667202241.821994][13711:13711] CHIP:DMG: Cluster = 0x101, + [1667202241.822108][13711:13711] CHIP:DMG: Attribute = 0x0000_002C, + [1667202241.822206][13711:13711] CHIP:DMG: } [1667202241.822336][13711:13711] CHIP:DMG: - [1667202241.822454][13711:13711] CHIP:DMG: StatusIB = - [1667202241.822596][13711:13711] CHIP:DMG: { - [1667202241.822713][13711:13711] CHIP:DMG: status = 0x86 (UNSUPPORTED_ATTRIBUTE), - [1667202241.822810][13711:13711] CHIP:DMG: }, + [1667202241.822454][13711:13711] CHIP:DMG: StatusIB = + [1667202241.822596][13711:13711] CHIP:DMG: { + [1667202241.822713][13711:13711] CHIP:DMG: status = 0x86 (UNSUPPORTED_ATTRIBUTE), + [1667202241.822810][13711:13711] CHIP:DMG: }, [1667202241.822930][13711:13711] CHIP:DMG: - [1667202241.823038][13711:13711] CHIP:DMG: }, + [1667202241.823038][13711:13711] CHIP:DMG: }, disabled: true - label: "DUT reads WrongCodeEntryLimit from the TH." @@ -2385,19 +2385,19 @@ tests: [1667202274.486826][13711:13711] CHIP:IM: Received Read request [1667202274.487004][13711:13711] CHIP:DMG: ReadRequestMessage = [1667202274.487071][13711:13711] CHIP:DMG: { - [1667202274.487125][13711:13711] CHIP:DMG: AttributePathIBs = - [1667202274.487191][13711:13711] CHIP:DMG: [ - [1667202274.487253][13711:13711] CHIP:DMG: AttributePathIB = - [1667202274.487316][13711:13711] CHIP:DMG: { - [1667202274.487395][13711:13711] CHIP:DMG: Endpoint = 0x1, - [1667202274.487488][13711:13711] CHIP:DMG: Cluster = 0x101, - [1667202274.487557][13711:13711] CHIP:DMG: Attribute = 0x0000_0030, - [1667202274.487641][13711:13711] CHIP:DMG: } + [1667202274.487125][13711:13711] CHIP:DMG: AttributePathIBs = + [1667202274.487191][13711:13711] CHIP:DMG: [ + [1667202274.487253][13711:13711] CHIP:DMG: AttributePathIB = + [1667202274.487316][13711:13711] CHIP:DMG: { + [1667202274.487395][13711:13711] CHIP:DMG: Endpoint = 0x1, + [1667202274.487488][13711:13711] CHIP:DMG: Cluster = 0x101, + [1667202274.487557][13711:13711] CHIP:DMG: Attribute = 0x0000_0030, + [1667202274.487641][13711:13711] CHIP:DMG: } [1667202274.487719][13711:13711] CHIP:DMG: - [1667202274.487778][13711:13711] CHIP:DMG: ], + [1667202274.487778][13711:13711] CHIP:DMG: ], [1667202274.487849][13711:13711] CHIP:DMG: - [1667202274.487915][13711:13711] CHIP:DMG: isFabricFiltered = true, - [1667202274.487987][13711:13711] CHIP:DMG: InteractionModelRevision = 1 + [1667202274.487915][13711:13711] CHIP:DMG: isFabricFiltered = true, + [1667202274.487987][13711:13711] CHIP:DMG: InteractionModelRevision = 1 [1667202274.488054][13711:13711] CHIP:DMG: }, [1667202274.488221][13711:13711] CHIP:DMG: IM RH moving to [GeneratingReports] [1667202274.488464][13711:13711] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 @@ -2431,22 +2431,22 @@ tests: [1667202274.491604][13711:13711] CHIP:DMG: [1667202274.491768][13711:13711] CHIP:DMG: ReportDataMessage = [1667202274.491832][13711:13711] CHIP:DMG: { - [1667202274.491887][13711:13711] CHIP:DMG: AttributeReportIBs = - [1667202274.491973][13711:13711] CHIP:DMG: [ - [1667202274.492035][13711:13711] CHIP:DMG: AttributeReportIB = - [1667202274.492122][13711:13711] CHIP:DMG: { - [1667202274.492198][13711:13711] CHIP:DMG: AttributeDataIB = - [1667202274.492288][13711:13711] CHIP:DMG: { - [1667202274.492377][13711:13711] CHIP:DMG: DataVersion = 0x42cd700, - [1667202274.492468][13711:13711] CHIP:DMG: AttributePathIB = - [1667202274.492564][13711:13711] CHIP:DMG: { - [1667202274.492642][13711:13711] CHIP:DMG: Endpoint = 0x1, - [1667202274.492740][13711:13711] CHIP:DMG: Cluster = 0x101, - [1667202274.492840][13711:13711] CHIP:DMG: Attribute = 0x0000_0030, - [1667202274.492935][13711:13711] CHIP:DMG: } + [1667202274.491887][13711:13711] CHIP:DMG: AttributeReportIBs = + [1667202274.491973][13711:13711] CHIP:DMG: [ + [1667202274.492035][13711:13711] CHIP:DMG: AttributeReportIB = + [1667202274.492122][13711:13711] CHIP:DMG: { + [1667202274.492198][13711:13711] CHIP:DMG: AttributeDataIB = + [1667202274.492288][13711:13711] CHIP:DMG: { + [1667202274.492377][13711:13711] CHIP:DMG: DataVersion = 0x42cd700, + [1667202274.492468][13711:13711] CHIP:DMG: AttributePathIB = + [1667202274.492564][13711:13711] CHIP:DMG: { + [1667202274.492642][13711:13711] CHIP:DMG: Endpoint = 0x1, + [1667202274.492740][13711:13711] CHIP:DMG: Cluster = 0x101, + [1667202274.492840][13711:13711] CHIP:DMG: Attribute = 0x0000_0030, + [1667202274.492935][13711:13711] CHIP:DMG: } [1667202274.493034][13711:13711] CHIP:DMG: - [1667202274.493133][13711:13711] CHIP:DMG: Data = 3, - [1667202274.493198][13711:13711] CHIP:DMG: }, + [1667202274.493133][13711:13711] CHIP:DMG: Data = 3, + [1667202274.493198][13711:13711] CHIP:DMG: }, disabled: true - label: "DUT reads UserCodedTemporaryDisableTime from the TH." @@ -2460,19 +2460,19 @@ tests: [1667202354.904251][13711:13711] CHIP:IM: Received Read request [1667202354.904434][13711:13711] CHIP:DMG: ReadRequestMessage = [1667202354.904500][13711:13711] CHIP:DMG: { - [1667202354.904555][13711:13711] CHIP:DMG: AttributePathIBs = - [1667202354.904622][13711:13711] CHIP:DMG: [ - [1667202354.904683][13711:13711] CHIP:DMG: AttributePathIB = - [1667202354.904761][13711:13711] CHIP:DMG: { - [1667202354.904826][13711:13711] CHIP:DMG: Endpoint = 0x1, - [1667202354.904908][13711:13711] CHIP:DMG: Cluster = 0x101, - [1667202354.904993][13711:13711] CHIP:DMG: Attribute = 0x0000_0031, - [1667202354.905070][13711:13711] CHIP:DMG: } + [1667202354.904555][13711:13711] CHIP:DMG: AttributePathIBs = + [1667202354.904622][13711:13711] CHIP:DMG: [ + [1667202354.904683][13711:13711] CHIP:DMG: AttributePathIB = + [1667202354.904761][13711:13711] CHIP:DMG: { + [1667202354.904826][13711:13711] CHIP:DMG: Endpoint = 0x1, + [1667202354.904908][13711:13711] CHIP:DMG: Cluster = 0x101, + [1667202354.904993][13711:13711] CHIP:DMG: Attribute = 0x0000_0031, + [1667202354.905070][13711:13711] CHIP:DMG: } [1667202354.905147][13711:13711] CHIP:DMG: - [1667202354.905207][13711:13711] CHIP:DMG: ], + [1667202354.905207][13711:13711] CHIP:DMG: ], [1667202354.905278][13711:13711] CHIP:DMG: - [1667202354.905343][13711:13711] CHIP:DMG: isFabricFiltered = true, - [1667202354.905406][13711:13711] CHIP:DMG: InteractionModelRevision = 1 + [1667202354.905343][13711:13711] CHIP:DMG: isFabricFiltered = true, + [1667202354.905406][13711:13711] CHIP:DMG: InteractionModelRevision = 1 [1667202354.905466][13711:13711] CHIP:DMG: }, [1667202354.905630][13711:13711] CHIP:DMG: IM RH moving to [GeneratingReports] [1667202354.905859][13711:13711] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 @@ -2506,24 +2506,24 @@ tests: [1667202354.908880][13711:13711] CHIP:DMG: [1667202354.909029][13711:13711] CHIP:DMG: ReportDataMessage = [1667202354.909095][13711:13711] CHIP:DMG: { - [1667202354.909150][13711:13711] CHIP:DMG: AttributeReportIBs = - [1667202354.909235][13711:13711] CHIP:DMG: [ - [1667202354.909299][13711:13711] CHIP:DMG: AttributeReportIB = - [1667202354.909387][13711:13711] CHIP:DMG: { - [1667202354.909447][13711:13711] CHIP:DMG: AttributeDataIB = - [1667202354.909535][13711:13711] CHIP:DMG: { - [1667202354.909627][13711:13711] CHIP:DMG: DataVersion = 0x42cd700, - [1667202354.909698][13711:13711] CHIP:DMG: AttributePathIB = - [1667202354.909791][13711:13711] CHIP:DMG: { - [1667202354.909887][13711:13711] CHIP:DMG: Endpoint = 0x1, - [1667202354.909964][13711:13711] CHIP:DMG: Cluster = 0x101, - [1667202354.910062][13711:13711] CHIP:DMG: Attribute = 0x0000_0031, - [1667202354.910157][13711:13711] CHIP:DMG: } + [1667202354.909150][13711:13711] CHIP:DMG: AttributeReportIBs = + [1667202354.909235][13711:13711] CHIP:DMG: [ + [1667202354.909299][13711:13711] CHIP:DMG: AttributeReportIB = + [1667202354.909387][13711:13711] CHIP:DMG: { + [1667202354.909447][13711:13711] CHIP:DMG: AttributeDataIB = + [1667202354.909535][13711:13711] CHIP:DMG: { + [1667202354.909627][13711:13711] CHIP:DMG: DataVersion = 0x42cd700, + [1667202354.909698][13711:13711] CHIP:DMG: AttributePathIB = + [1667202354.909791][13711:13711] CHIP:DMG: { + [1667202354.909887][13711:13711] CHIP:DMG: Endpoint = 0x1, + [1667202354.909964][13711:13711] CHIP:DMG: Cluster = 0x101, + [1667202354.910062][13711:13711] CHIP:DMG: Attribute = 0x0000_0031, + [1667202354.910157][13711:13711] CHIP:DMG: } [1667202354.910234][13711:13711] CHIP:DMG: - [1667202354.910331][13711:13711] CHIP:DMG: Data = 10, - [1667202354.910421][13711:13711] CHIP:DMG: }, + [1667202354.910331][13711:13711] CHIP:DMG: Data = 10, + [1667202354.910421][13711:13711] CHIP:DMG: }, [1667202354.910528][13711:13711] CHIP:DMG: - [1667202354.910594][13711:13711] CHIP:DMG: }, + [1667202354.910594][13711:13711] CHIP:DMG: }, disabled: true - label: "DUT reads SendPINOverTheAir from the TH." @@ -2615,19 +2615,19 @@ tests: [1667210944.050380][14571:14571] CHIP:IM: Received Read request [1667210944.050599][14571:14571] CHIP:DMG: ReadRequestMessage = [1667210944.050669][14571:14571] CHIP:DMG: { - [1667210944.050724][14571:14571] CHIP:DMG: AttributePathIBs = - [1667210944.050796][14571:14571] CHIP:DMG: [ - [1667210944.050857][14571:14571] CHIP:DMG: AttributePathIB = - [1667210944.050933][14571:14571] CHIP:DMG: { - [1667210944.051010][14571:14571] CHIP:DMG: Endpoint = 0x1, - [1667210944.051100][14571:14571] CHIP:DMG: Cluster = 0x101, - [1667210944.051174][14571:14571] CHIP:DMG: Attribute = 0x0000_0033, - [1667210944.051257][14571:14571] CHIP:DMG: } + [1667210944.050724][14571:14571] CHIP:DMG: AttributePathIBs = + [1667210944.050796][14571:14571] CHIP:DMG: [ + [1667210944.050857][14571:14571] CHIP:DMG: AttributePathIB = + [1667210944.050933][14571:14571] CHIP:DMG: { + [1667210944.051010][14571:14571] CHIP:DMG: Endpoint = 0x1, + [1667210944.051100][14571:14571] CHIP:DMG: Cluster = 0x101, + [1667210944.051174][14571:14571] CHIP:DMG: Attribute = 0x0000_0033, + [1667210944.051257][14571:14571] CHIP:DMG: } [1667210944.051336][14571:14571] CHIP:DMG: - [1667210944.051414][14571:14571] CHIP:DMG: ], + [1667210944.051414][14571:14571] CHIP:DMG: ], [1667210944.051486][14571:14571] CHIP:DMG: - [1667210944.051650][14571:14571] CHIP:DMG: isFabricFiltered = true, - [1667210944.051716][14571:14571] CHIP:DMG: InteractionModelRevision = 1 + [1667210944.051650][14571:14571] CHIP:DMG: isFabricFiltered = true, + [1667210944.051716][14571:14571] CHIP:DMG: InteractionModelRevision = 1 [1667210944.051777][14571:14571] CHIP:DMG: }, [1667210944.051942][14571:14571] CHIP:DMG: IM RH moving to [GeneratingReports] [1667210944.052239][14571:14571] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 @@ -2661,22 +2661,22 @@ tests: [1667210944.055667][14571:14571] CHIP:DMG: [1667210944.055819][14571:14571] CHIP:DMG: ReportDataMessage = [1667210944.055886][14571:14571] CHIP:DMG: { - [1667210944.055940][14571:14571] CHIP:DMG: AttributeReportIBs = - [1667210944.056126][14571:14571] CHIP:DMG: [ - [1667210944.056195][14571:14571] CHIP:DMG: AttributeReportIB = - [1667210944.056284][14571:14571] CHIP:DMG: { - [1667210944.056351][14571:14571] CHIP:DMG: AttributeDataIB = - [1667210944.056439][14571:14571] CHIP:DMG: { - [1667210944.056530][14571:14571] CHIP:DMG: DataVersion = 0xb353ec50, - [1667210944.056620][14571:14571] CHIP:DMG: AttributePathIB = - [1667210944.056712][14571:14571] CHIP:DMG: { - [1667210944.056805][14571:14571] CHIP:DMG: Endpoint = 0x1, - [1667210944.056905][14571:14571] CHIP:DMG: Cluster = 0x101, - [1667210944.057029][14571:14571] CHIP:DMG: Attribute = 0x0000_0033, - [1667210944.057180][14571:14571] CHIP:DMG: } + [1667210944.055940][14571:14571] CHIP:DMG: AttributeReportIBs = + [1667210944.056126][14571:14571] CHIP:DMG: [ + [1667210944.056195][14571:14571] CHIP:DMG: AttributeReportIB = + [1667210944.056284][14571:14571] CHIP:DMG: { + [1667210944.056351][14571:14571] CHIP:DMG: AttributeDataIB = + [1667210944.056439][14571:14571] CHIP:DMG: { + [1667210944.056530][14571:14571] CHIP:DMG: DataVersion = 0xb353ec50, + [1667210944.056620][14571:14571] CHIP:DMG: AttributePathIB = + [1667210944.056712][14571:14571] CHIP:DMG: { + [1667210944.056805][14571:14571] CHIP:DMG: Endpoint = 0x1, + [1667210944.056905][14571:14571] CHIP:DMG: Cluster = 0x101, + [1667210944.057029][14571:14571] CHIP:DMG: Attribute = 0x0000_0033, + [1667210944.057180][14571:14571] CHIP:DMG: } [1667210944.057279][14571:14571] CHIP:DMG: - [1667210944.057372][14571:14571] CHIP:DMG: Data = false, - [1667210944.057457][14571:14571] CHIP:DMG: }, + [1667210944.057372][14571:14571] CHIP:DMG: Data = false, + [1667210944.057457][14571:14571] CHIP:DMG: }, disabled: true - label: "DUT reads ExpiringUserTimeOut from the TH" @@ -2692,19 +2692,19 @@ tests: [1667211094.878084][14571:14571] CHIP:IM: Received Read request [1667211094.878326][14571:14571] CHIP:DMG: ReadRequestMessage = [1667211094.878399][14571:14571] CHIP:DMG: { - [1667211094.878454][14571:14571] CHIP:DMG: AttributePathIBs = - [1667211094.878721][14571:14571] CHIP:DMG: [ - [1667211094.878941][14571:14571] CHIP:DMG: AttributePathIB = - [1667211094.879021][14571:14571] CHIP:DMG: { - [1667211094.879099][14571:14571] CHIP:DMG: Endpoint = 0x1, - [1667211094.879188][14571:14571] CHIP:DMG: Cluster = 0x101, - [1667211094.879269][14571:14571] CHIP:DMG: Attribute = 0x0000_0035, - [1667211094.879352][14571:14571] CHIP:DMG: } + [1667211094.878454][14571:14571] CHIP:DMG: AttributePathIBs = + [1667211094.878721][14571:14571] CHIP:DMG: [ + [1667211094.878941][14571:14571] CHIP:DMG: AttributePathIB = + [1667211094.879021][14571:14571] CHIP:DMG: { + [1667211094.879099][14571:14571] CHIP:DMG: Endpoint = 0x1, + [1667211094.879188][14571:14571] CHIP:DMG: Cluster = 0x101, + [1667211094.879269][14571:14571] CHIP:DMG: Attribute = 0x0000_0035, + [1667211094.879352][14571:14571] CHIP:DMG: } [1667211094.879429][14571:14571] CHIP:DMG: - [1667211094.879500][14571:14571] CHIP:DMG: ], + [1667211094.879500][14571:14571] CHIP:DMG: ], [1667211094.879571][14571:14571] CHIP:DMG: - [1667211094.879637][14571:14571] CHIP:DMG: isFabricFiltered = true, - [1667211094.879702][14571:14571] CHIP:DMG: InteractionModelRevision = 1 + [1667211094.879637][14571:14571] CHIP:DMG: isFabricFiltered = true, + [1667211094.879702][14571:14571] CHIP:DMG: InteractionModelRevision = 1 [1667211094.879762][14571:14571] CHIP:DMG: }, [1667211094.879927][14571:14571] CHIP:DMG: IM RH moving to [GeneratingReports] [1667211094.880152][14571:14571] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 @@ -2736,25 +2736,25 @@ tests: [1667211094.883324][14571:14571] CHIP:DMG: [1667211094.883462][14571:14571] CHIP:DMG: ReportDataMessage = [1667211094.883527][14571:14571] CHIP:DMG: { - [1667211094.883581][14571:14571] CHIP:DMG: AttributeReportIBs = - [1667211094.883728][14571:14571] CHIP:DMG: [ - [1667211094.883799][14571:14571] CHIP:DMG: AttributeReportIB = - [1667211094.883888][14571:14571] CHIP:DMG: { - [1667211094.883961][14571:14571] CHIP:DMG: AttributeStatusIB = - [1667211094.884044][14571:14571] CHIP:DMG: { - [1667211094.884129][14571:14571] CHIP:DMG: AttributePathIB = - [1667211094.884215][14571:14571] CHIP:DMG: { - [1667211094.884309][14571:14571] CHIP:DMG: Endpoint = 0x1, - [1667211094.884400][14571:14571] CHIP:DMG: Cluster = 0x101, - [1667211094.884489][14571:14571] CHIP:DMG: Attribute = 0x0000_0035, - [1667211094.884580][14571:14571] CHIP:DMG: } + [1667211094.883581][14571:14571] CHIP:DMG: AttributeReportIBs = + [1667211094.883728][14571:14571] CHIP:DMG: [ + [1667211094.883799][14571:14571] CHIP:DMG: AttributeReportIB = + [1667211094.883888][14571:14571] CHIP:DMG: { + [1667211094.883961][14571:14571] CHIP:DMG: AttributeStatusIB = + [1667211094.884044][14571:14571] CHIP:DMG: { + [1667211094.884129][14571:14571] CHIP:DMG: AttributePathIB = + [1667211094.884215][14571:14571] CHIP:DMG: { + [1667211094.884309][14571:14571] CHIP:DMG: Endpoint = 0x1, + [1667211094.884400][14571:14571] CHIP:DMG: Cluster = 0x101, + [1667211094.884489][14571:14571] CHIP:DMG: Attribute = 0x0000_0035, + [1667211094.884580][14571:14571] CHIP:DMG: } [1667211094.884683][14571:14571] CHIP:DMG: - [1667211094.884758][14571:14571] CHIP:DMG: StatusIB = - [1667211094.884850][14571:14571] CHIP:DMG: { - [1667211094.884942][14571:14571] CHIP:DMG: status = 0x86 (UNSUPPORTED_ATTRIBUTE), - [1667211094.885033][14571:14571] CHIP:DMG: }, + [1667211094.884758][14571:14571] CHIP:DMG: StatusIB = + [1667211094.884850][14571:14571] CHIP:DMG: { + [1667211094.884942][14571:14571] CHIP:DMG: status = 0x86 (UNSUPPORTED_ATTRIBUTE), + [1667211094.885033][14571:14571] CHIP:DMG: }, [1667211094.885119][14571:14571] CHIP:DMG: - [1667211094.885195][14571:14571] CHIP:DMG: }, + [1667211094.885195][14571:14571] CHIP:DMG: }, disabled: true - label: "DUT reads NumberOfCredentialsSupportedPerUser attribute from TH" @@ -2768,19 +2768,19 @@ tests: [1667211128.170318][14571:14571] CHIP:IM: Received Read request [1667211128.170585][14571:14571] CHIP:DMG: ReadRequestMessage = [1667211128.170654][14571:14571] CHIP:DMG: { - [1667211128.170731][14571:14571] CHIP:DMG: AttributePathIBs = - [1667211128.170799][14571:14571] CHIP:DMG: [ - [1667211128.170861][14571:14571] CHIP:DMG: AttributePathIB = - [1667211128.170938][14571:14571] CHIP:DMG: { - [1667211128.171032][14571:14571] CHIP:DMG: Endpoint = 0x1, - [1667211128.171125][14571:14571] CHIP:DMG: Cluster = 0x101, - [1667211128.171236][14571:14571] CHIP:DMG: Attribute = 0x0000_001C, - [1667211128.171320][14571:14571] CHIP:DMG: } + [1667211128.170731][14571:14571] CHIP:DMG: AttributePathIBs = + [1667211128.170799][14571:14571] CHIP:DMG: [ + [1667211128.170861][14571:14571] CHIP:DMG: AttributePathIB = + [1667211128.170938][14571:14571] CHIP:DMG: { + [1667211128.171032][14571:14571] CHIP:DMG: Endpoint = 0x1, + [1667211128.171125][14571:14571] CHIP:DMG: Cluster = 0x101, + [1667211128.171236][14571:14571] CHIP:DMG: Attribute = 0x0000_001C, + [1667211128.171320][14571:14571] CHIP:DMG: } [1667211128.171398][14571:14571] CHIP:DMG: - [1667211128.171491][14571:14571] CHIP:DMG: ], + [1667211128.171491][14571:14571] CHIP:DMG: ], [1667211128.171563][14571:14571] CHIP:DMG: - [1667211128.171652][14571:14571] CHIP:DMG: isFabricFiltered = true, - [1667211128.171717][14571:14571] CHIP:DMG: InteractionModelRevision = 1 + [1667211128.171652][14571:14571] CHIP:DMG: isFabricFiltered = true, + [1667211128.171717][14571:14571] CHIP:DMG: InteractionModelRevision = 1 [1667211128.171778][14571:14571] CHIP:DMG: }, [1667211128.171962][14571:14571] CHIP:DMG: IM RH moving to [GeneratingReports] [1667211128.172229][14571:14571] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 @@ -2814,21 +2814,21 @@ tests: [1667211128.175539][14571:14571] CHIP:DMG: [1667211128.175716][14571:14571] CHIP:DMG: ReportDataMessage = [1667211128.175782][14571:14571] CHIP:DMG: { - [1667211128.175836][14571:14571] CHIP:DMG: AttributeReportIBs = - [1667211128.175913][14571:14571] CHIP:DMG: [ - [1667211128.175997][14571:14571] CHIP:DMG: AttributeReportIB = - [1667211128.176090][14571:14571] CHIP:DMG: { - [1667211128.176185][14571:14571] CHIP:DMG: AttributeDataIB = - [1667211128.176275][14571:14571] CHIP:DMG: { - [1667211128.176382][14571:14571] CHIP:DMG: DataVersion = 0xb353ec50, - [1667211128.176473][14571:14571] CHIP:DMG: AttributePathIB = - [1667211128.176582][14571:14571] CHIP:DMG: { - [1667211128.176670][14571:14571] CHIP:DMG: Endpoint = 0x1, - [1667211128.176786][14571:14571] CHIP:DMG: Cluster = 0x101, - [1667211128.176876][14571:14571] CHIP:DMG: Attribute = 0x0000_001C, - [1667211128.176980][14571:14571] CHIP:DMG: } + [1667211128.175836][14571:14571] CHIP:DMG: AttributeReportIBs = + [1667211128.175913][14571:14571] CHIP:DMG: [ + [1667211128.175997][14571:14571] CHIP:DMG: AttributeReportIB = + [1667211128.176090][14571:14571] CHIP:DMG: { + [1667211128.176185][14571:14571] CHIP:DMG: AttributeDataIB = + [1667211128.176275][14571:14571] CHIP:DMG: { + [1667211128.176382][14571:14571] CHIP:DMG: DataVersion = 0xb353ec50, + [1667211128.176473][14571:14571] CHIP:DMG: AttributePathIB = + [1667211128.176582][14571:14571] CHIP:DMG: { + [1667211128.176670][14571:14571] CHIP:DMG: Endpoint = 0x1, + [1667211128.176786][14571:14571] CHIP:DMG: Cluster = 0x101, + [1667211128.176876][14571:14571] CHIP:DMG: Attribute = 0x0000_001C, + [1667211128.176980][14571:14571] CHIP:DMG: } [1667211128.177078][14571:14571] CHIP:DMG: - [1667211128.177360][14571:14571] CHIP:DMG: Data = 5, - [1667211128.177444][14571:14571] CHIP:DMG: }, + [1667211128.177360][14571:14571] CHIP:DMG: Data = 5, + [1667211128.177444][14571:14571] CHIP:DMG: }, [1667211128.177561][14571:14571] CHIP:DMG: disabled: true 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 c4f5bf00b8df6d..22e1489713fe11 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 @@ -391,7 +391,7 @@ tests: - ./chip-tool doorlock unlock-door 1 1 --timedInteractionTimeoutMs 1000 --PinCode 123456 + ./chip-tool doorlock unlock-door 1 1 --timedInteractionTimeoutMs 1000 --PINCode 123456 Verify "DUT receives the unlock-door response " on the TH(Lock-app) Log: @@ -583,7 +583,7 @@ tests: - label: "DUT sends the Lock Door command to the TH with valid PINCode" PICS: DRLK.C.C00.Tx verification: | - ./chip-tool doorlock lock-door 1 1 --timedInteractionTimeoutMs 1000 --PinCode 123456 + ./chip-tool doorlock lock-door 1 1 --timedInteractionTimeoutMs 1000 --PINCode 123456 Verify "DUT receives lock Door response" on the TH(Lock-app) Log: @@ -991,7 +991,7 @@ tests: - label: "DUT sends the Unlock Door command to the TH with Invalid PINCode" PICS: DRLK.C.C01.Tx verification: | - ./chip-tool doorlock unlock-door 1 1 --timedInteractionTimeoutMs 1000 --PinCode 12345678 + ./chip-tool doorlock unlock-door 1 1 --timedInteractionTimeoutMs 1000 --PINCode 12345678 Verify "DUT receives Unlock Door command response" on the TH(Lock-app) Log: @@ -1211,34 +1211,34 @@ tests: [1667215343.626313][14571:14571] CHIP:DMG: Handing timed invoke to IM engine: handler 0xaaab1aea1e50 exchange 62569r [1667215343.626425][14571:14571] CHIP:DMG: InvokeRequestMessage = [1667215343.626536][14571:14571] CHIP:DMG: { - [1667215343.626597][14571:14571] CHIP:DMG: suppressResponse = false, - [1667215343.626665][14571:14571] CHIP:DMG: timedRequest = true, - [1667215343.626726][14571:14571] CHIP:DMG: InvokeRequests = - [1667215343.626813][14571:14571] CHIP:DMG: [ - [1667215343.626876][14571:14571] CHIP:DMG: CommandDataIB = - [1667215343.626961][14571:14571] CHIP:DMG: { - [1667215343.627033][14571:14571] CHIP:DMG: CommandPathIB = - [1667215343.627120][14571:14571] CHIP:DMG: { - [1667215343.627210][14571:14571] CHIP:DMG: EndpointId = 0x1, - [1667215343.627297][14571:14571] CHIP:DMG: ClusterId = 0x101, - [1667215343.627381][14571:14571] CHIP:DMG: CommandId = 0x1a, - [1667215343.627460][14571:14571] CHIP:DMG: }, + [1667215343.626597][14571:14571] CHIP:DMG: suppressResponse = false, + [1667215343.626665][14571:14571] CHIP:DMG: timedRequest = true, + [1667215343.626726][14571:14571] CHIP:DMG: InvokeRequests = + [1667215343.626813][14571:14571] CHIP:DMG: [ + [1667215343.626876][14571:14571] CHIP:DMG: CommandDataIB = + [1667215343.626961][14571:14571] CHIP:DMG: { + [1667215343.627033][14571:14571] CHIP:DMG: CommandPathIB = + [1667215343.627120][14571:14571] CHIP:DMG: { + [1667215343.627210][14571:14571] CHIP:DMG: EndpointId = 0x1, + [1667215343.627297][14571:14571] CHIP:DMG: ClusterId = 0x101, + [1667215343.627381][14571:14571] CHIP:DMG: CommandId = 0x1a, + [1667215343.627460][14571:14571] CHIP:DMG: }, [1667215343.627550][14571:14571] CHIP:DMG: - [1667215343.627623][14571:14571] CHIP:DMG: CommandFields = - [1667215343.627709][14571:14571] CHIP:DMG: { - [1667215343.627800][14571:14571] CHIP:DMG: 0x0 = 0, - [1667215343.627893][14571:14571] CHIP:DMG: 0x1 = 3, - [1667215343.627983][14571:14571] CHIP:DMG: 0x2 = "xxx" (3 chars), - [1667215343.628071][14571:14571] CHIP:DMG: 0x3 = 6452, - [1667215343.628157][14571:14571] CHIP:DMG: 0x4 = 1, - [1667215343.628242][14571:14571] CHIP:DMG: 0x5 = 0, - [1667215343.628327][14571:14571] CHIP:DMG: 0x6 = 0, - [1667215343.628410][14571:14571] CHIP:DMG: }, - [1667215343.628493][14571:14571] CHIP:DMG: }, + [1667215343.627623][14571:14571] CHIP:DMG: CommandFields = + [1667215343.627709][14571:14571] CHIP:DMG: { + [1667215343.627800][14571:14571] CHIP:DMG: 0x0 = 0, + [1667215343.627893][14571:14571] CHIP:DMG: 0x1 = 3, + [1667215343.627983][14571:14571] CHIP:DMG: 0x2 = "xxx" (3 chars), + [1667215343.628071][14571:14571] CHIP:DMG: 0x3 = 6452, + [1667215343.628157][14571:14571] CHIP:DMG: 0x4 = 1, + [1667215343.628242][14571:14571] CHIP:DMG: 0x5 = 0, + [1667215343.628327][14571:14571] CHIP:DMG: 0x6 = 0, + [1667215343.628410][14571:14571] CHIP:DMG: }, + [1667215343.628493][14571:14571] CHIP:DMG: }, [1667215343.628584][14571:14571] CHIP:DMG: - [1667215343.628646][14571:14571] CHIP:DMG: ], + [1667215343.628646][14571:14571] CHIP:DMG: ], [1667215343.628730][14571:14571] CHIP:DMG: - [1667215343.628792][14571:14571] CHIP:DMG: InteractionModelRevision = 1 + [1667215343.628792][14571:14571] CHIP:DMG: InteractionModelRevision = 1 [1667215343.628851][14571:14571] CHIP:DMG: }, [1667215343.629010][14571:14571] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0101 e=1 p=a [1667215343.629090][14571:14571] CHIP:DMG: AccessControl: allowed @@ -1282,28 +1282,28 @@ tests: [1667215343.633412][14571:14571] CHIP:DMG: [1667215343.633543][14571:14571] CHIP:DMG: InvokeResponseMessage = [1667215343.634057][14571:14571] CHIP:DMG: { - [1667215343.634124][14571:14571] CHIP:DMG: suppressResponse = false, - [1667215343.634188][14571:14571] CHIP:DMG: InvokeResponseIBs = - [1667215343.634413][14571:14571] CHIP:DMG: [ - [1667215343.634525][14571:14571] CHIP:DMG: InvokeResponseIB = - [1667215343.634618][14571:14571] CHIP:DMG: { - [1667215343.634690][14571:14571] CHIP:DMG: CommandStatusIB = - [1667215343.634777][14571:14571] CHIP:DMG: { - [1667215343.634861][14571:14571] CHIP:DMG: CommandPathIB = - [1667215343.634947][14571:14571] CHIP:DMG: { - [1667215343.635041][14571:14571] CHIP:DMG: EndpointId = 0x1, - [1667215343.635139][14571:14571] CHIP:DMG: ClusterId = 0x101, - [1667215343.635235][14571:14571] CHIP:DMG: CommandId = 0x1a, - [1667215343.635318][14571:14571] CHIP:DMG: }, + [1667215343.634124][14571:14571] CHIP:DMG: suppressResponse = false, + [1667215343.634188][14571:14571] CHIP:DMG: InvokeResponseIBs = + [1667215343.634413][14571:14571] CHIP:DMG: [ + [1667215343.634525][14571:14571] CHIP:DMG: InvokeResponseIB = + [1667215343.634618][14571:14571] CHIP:DMG: { + [1667215343.634690][14571:14571] CHIP:DMG: CommandStatusIB = + [1667215343.634777][14571:14571] CHIP:DMG: { + [1667215343.634861][14571:14571] CHIP:DMG: CommandPathIB = + [1667215343.634947][14571:14571] CHIP:DMG: { + [1667215343.635041][14571:14571] CHIP:DMG: EndpointId = 0x1, + [1667215343.635139][14571:14571] CHIP:DMG: ClusterId = 0x101, + [1667215343.635235][14571:14571] CHIP:DMG: CommandId = 0x1a, + [1667215343.635318][14571:14571] CHIP:DMG: }, [1667215343.635420][14571:14571] CHIP:DMG: - [1667215343.635498][14571:14571] CHIP:DMG: StatusIB = - [1667215343.635583][14571:14571] CHIP:DMG: { - [1667215343.635678][14571:14571] CHIP:DMG: status = 0x00 (SUCCESS), - [1667215343.635761][14571:14571] CHIP:DMG: }, + [1667215343.635498][14571:14571] CHIP:DMG: StatusIB = + [1667215343.635583][14571:14571] CHIP:DMG: { + [1667215343.635678][14571:14571] CHIP:DMG: status = 0x00 (SUCCESS), + [1667215343.635761][14571:14571] CHIP:DMG: }, [1667215343.635853][14571:14571] CHIP:DMG: - [1667215343.635930][14571:14571] CHIP:DMG: }, + [1667215343.635930][14571:14571] CHIP:DMG: }, [1667215343.636023][14571:14571] CHIP:DMG: - [1667215343.636330][14571:14571] CHIP:DMG: }, + [1667215343.636330][14571:14571] CHIP:DMG: }, disabled: true - label: @@ -1311,6 +1311,8 @@ tests: User command" PICS: DRLK.C.E04 verification: | + ./chip-tool doorlock read-event lock-user-change 1 1 + Verify "DUT receives read-event lock-user-change response" on the TH(Lock-app) Log: [1667215381.519551][14571:14571] CHIP:EM: Handling via exchange: 17082r, Delegate: 0xaaaae921d988 diff --git a/src/app/tests/suites/certification/Test_TC_FLABEL_3_1_Simulated.yaml b/src/app/tests/suites/certification/Test_TC_FLABEL_3_1_Simulated.yaml index a5a6a809070efe..70ea959ef7a268 100644 --- a/src/app/tests/suites/certification/Test_TC_FLABEL_3_1_Simulated.yaml +++ b/src/app/tests/suites/certification/Test_TC_FLABEL_3_1_Simulated.yaml @@ -23,9 +23,9 @@ config: endpoint: 1 tests: - - label: "Wait for the device to be commissioned" - cluster: "DelayCommands" - command: "WaitForCommissioning" + #- label: "Wait for the device to be commissioned" + # cluster: "DelayCommands" + # command: "WaitForCommissioning" - label: "DUT reads LabelList from the TH" PICS: FLABEL.C.A0000 diff --git a/src/app/tests/suites/certification/Test_TC_FLW_3_1_Simulated.yaml b/src/app/tests/suites/certification/Test_TC_FLW_3_1_Simulated.yaml index de8b26fe9e1fc0..6ab195a44dc9f3 100644 --- a/src/app/tests/suites/certification/Test_TC_FLW_3_1_Simulated.yaml +++ b/src/app/tests/suites/certification/Test_TC_FLW_3_1_Simulated.yaml @@ -27,9 +27,9 @@ config: endpoint: 0 tests: - - label: "Wait for the device to be commissioned" - cluster: "DelayCommands" - command: "WaitForCommissioning" + #- label: "Wait for the device to be commissioned" + # cluster: "DelayCommands" + # command: "WaitForCommissioning" - label: "Read attribute: MeasuredValue" wait: "readAttribute" diff --git a/src/app/tests/suites/certification/Test_TC_G_3_1_Simulated.yaml b/src/app/tests/suites/certification/Test_TC_G_3_1_Simulated.yaml index 94d80faf410903..291ad030cf8cf2 100644 --- a/src/app/tests/suites/certification/Test_TC_G_3_1_Simulated.yaml +++ b/src/app/tests/suites/certification/Test_TC_G_3_1_Simulated.yaml @@ -23,9 +23,9 @@ config: endpoint: 1 tests: - - label: "Wait for the device to be commissioned" - cluster: "DelayCommands" - command: "WaitForCommissioning" + #- label: "Wait for the device to be commissioned" + # cluster: "DelayCommands" + # command: "WaitForCommissioning" - label: "DUT reads NameSupport attribute value from TH" PICS: G.C.A0000 diff --git a/src/app/tests/suites/certification/Test_TC_I_3_1_Simulated.yaml b/src/app/tests/suites/certification/Test_TC_I_3_1_Simulated.yaml index 68bf2f90ced322..7b24a5f5560e29 100644 --- a/src/app/tests/suites/certification/Test_TC_I_3_1_Simulated.yaml +++ b/src/app/tests/suites/certification/Test_TC_I_3_1_Simulated.yaml @@ -23,9 +23,9 @@ config: endpoint: 1 tests: - - label: "Wait for the device to be commissioned" - cluster: "DelayCommands" - command: "WaitForCommissioning" + #- label: "Wait for the device to be commissioned" + # cluster: "DelayCommands" + # command: "WaitForCommissioning" - label: "Read attribute: IdentifyTime" wait: "readAttribute" diff --git a/src/app/tests/suites/certification/Test_TC_LCFG_3_1_Simulated.yaml b/src/app/tests/suites/certification/Test_TC_LCFG_3_1_Simulated.yaml index 22b8f3b528317d..a004c2c02a0021 100644 --- a/src/app/tests/suites/certification/Test_TC_LCFG_3_1_Simulated.yaml +++ b/src/app/tests/suites/certification/Test_TC_LCFG_3_1_Simulated.yaml @@ -25,9 +25,9 @@ config: endpoint: 1 tests: - - label: "Wait for the device to be commissioned" - cluster: "DelayCommands" - command: "WaitForCommissioning" + #- label: "Wait for the device to be commissioned" + # cluster: "DelayCommands" + # command: "WaitForCommissioning" - label: "DUT reads SupportedLocales attribute from TH" PICS: LCFG.C.A0001 diff --git a/src/app/tests/suites/certification/Test_TC_LTIME_1_1_Simulated.yaml b/src/app/tests/suites/certification/Test_TC_LTIME_1_1_Simulated.yaml index d92644f4ebf741..5d315c8c3cf9bc 100644 --- a/src/app/tests/suites/certification/Test_TC_LTIME_1_1_Simulated.yaml +++ b/src/app/tests/suites/certification/Test_TC_LTIME_1_1_Simulated.yaml @@ -23,9 +23,9 @@ config: endpoint: 0 tests: - - label: "Wait for the device to be commissioned" - cluster: "DelayCommands" - command: "WaitForCommissioning" + #- label: "Wait for the device to be commissioned" + # cluster: "DelayCommands" + # command: "WaitForCommissioning" - label: "DUT read (0xFFFD) ClusterRevision attribute" PICS: LTIME.C.Afffd diff --git a/src/app/tests/suites/certification/Test_TC_LUNIT_1_1_Simulated.yaml b/src/app/tests/suites/certification/Test_TC_LUNIT_1_1_Simulated.yaml index 643d764df507d5..ee5159751bbf42 100644 --- a/src/app/tests/suites/certification/Test_TC_LUNIT_1_1_Simulated.yaml +++ b/src/app/tests/suites/certification/Test_TC_LUNIT_1_1_Simulated.yaml @@ -24,9 +24,9 @@ config: endpoint: 1 tests: - - label: "Wait for the device to be commissioned" - cluster: "DelayCommands" - command: "WaitForCommissioning" + #- label: "Wait for the device to be commissioned" + # cluster: "DelayCommands" + # command: "WaitForCommissioning" - label: "DUT read (0xFFFD) ClusterRevision attribute" PICS: LUNIT.C.Afffd diff --git a/src/app/tests/suites/certification/Test_TC_LUNIT_2_1_Simulated.yaml b/src/app/tests/suites/certification/Test_TC_LUNIT_2_1_Simulated.yaml index cbe78ea0ed8321..9030404b43cc1c 100644 --- a/src/app/tests/suites/certification/Test_TC_LUNIT_2_1_Simulated.yaml +++ b/src/app/tests/suites/certification/Test_TC_LUNIT_2_1_Simulated.yaml @@ -26,9 +26,9 @@ config: endpoint: 1 tests: - - label: "Wait for the device to be commissioned" - cluster: "DelayCommands" - command: "WaitForCommissioning" + #- label: "Wait for the device to be commissioned" + # cluster: "DelayCommands" + # command: "WaitForCommissioning" - label: "DUT reads TemperatureUnit attribute from TH" PICS: LUNIT.C.A0000 diff --git a/src/app/tests/suites/certification/Test_TC_OCC_2_2_Simulated.yaml b/src/app/tests/suites/certification/Test_TC_OCC_2_2_Simulated.yaml index 5de3cedb1e768f..b376651adffaf4 100644 --- a/src/app/tests/suites/certification/Test_TC_OCC_2_2_Simulated.yaml +++ b/src/app/tests/suites/certification/Test_TC_OCC_2_2_Simulated.yaml @@ -23,9 +23,9 @@ config: endpoint: 0 tests: - - label: "Wait for the device to be commissioned" - cluster: "DelayCommands" - command: "WaitForCommissioning" + #- label: "Wait for the device to be commissioned" + # cluster: "DelayCommands" + # command: "WaitForCommissioning" - label: "DUT reads from the TH the (0x0000) Occupancy attribute" PICS: OCC.C.A0000 diff --git a/src/app/tests/suites/certification/Test_TC_OCC_2_4_Simulated.yaml b/src/app/tests/suites/certification/Test_TC_OCC_2_4_Simulated.yaml index 8580dcdeff6f22..8db97983edd9fc 100644 --- a/src/app/tests/suites/certification/Test_TC_OCC_2_4_Simulated.yaml +++ b/src/app/tests/suites/certification/Test_TC_OCC_2_4_Simulated.yaml @@ -23,9 +23,9 @@ config: endpoint: 0 tests: - - label: "Wait for the device to be commissioned" - cluster: "DelayCommands" - command: "WaitForCommissioning" + #- label: "Wait for the device to be commissioned" + # cluster: "DelayCommands" + # command: "WaitForCommissioning" - label: "TH reads OccupancySensorType attribute from DUT" PICS: OCC.S.A0001 diff --git a/src/app/tests/suites/certification/Test_TC_OO_3_1.yaml b/src/app/tests/suites/certification/Test_TC_OO_3_1.yaml index c24b16379a94e9..917dc66118e1ad 100644 --- a/src/app/tests/suites/certification/Test_TC_OO_3_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_OO_3_1.yaml @@ -80,7 +80,7 @@ tests: ./chip-tool onoff read global-scene-control 1 1 - verify the " global-scene-control response" on the TH (all-cluster-app) log: + Verify TH receives global-scene-control attribute response on the TH(all-clusters-app) Log: [...] ReportDataMessage = @@ -112,7 +112,7 @@ tests: ./chip-tool onoff read on-time 1 1 - verify the " on-time response" on the TH (all-cluster-app) log: + Verify TH receives on-time attribute response on the TH(all-clusters-app) Log: [...] [ReportDataMessage = @@ -145,7 +145,7 @@ tests: ./chip-tool onoff read off-wait-time 1 1 - verify the " off-wait-time response" on the TH (all-cluster-app) log: + Verify TH receives off-wait-time attribute response on the TH(all-clusters-app) Log: [...] ReportDataMessage = @@ -178,7 +178,7 @@ tests: ./chip-tool onoff read start-up-on-off 1 1 - verify the " start-up-on-off response" on the TH (all-cluster-app) log: + Verify TH recieves " start-up-on-off response" on the TH (all-cluster-app) log: [...] ReportDataMessage = @@ -226,7 +226,7 @@ tests: ./chip-tool onoff write on-time 1 1 1 - verify the WriteResponseMessage of " on-time" on the TH (all-cluster-app) log: + Verify the WriteResponseMessage of " on-time" on the TH (all-cluster-app) log: [1666941297.380594][9718:9718] CHIP:DMG: WriteResponseMessage = [1666941297.380596][9718:9718] CHIP:DMG: { @@ -255,7 +255,7 @@ tests: ./chip-tool onoff write off-wait-time 22 1 1 - verify the WriteResponseMessage of " off-wait-time" on the TH (all-cluster-app) log: + Verify the WriteResponseMessage of " off-wait-time" on the TH (all-cluster-app) log: [1666941329.582813][9718:9718] CHIP:DMG: WriteResponseMessage = [1666941329.582820][9718:9718] CHIP:DMG: { [1666941329.582828][9718:9718] CHIP:DMG: AttributeStatusIBs = @@ -285,7 +285,7 @@ tests: ./chip-tool onoff write start-up-on-off 2 1 1 - verify the WriteResponseMessage of " start-up-on-off " on the TH (all-cluster-app) log: + Verify the WriteResponseMessage of " start-up-on-off " on the TH (all-cluster-app) log: [1666941347.639597][9718:9718] CHIP:DMG: WriteResponseMessage = [1666941347.639609][9718:9718] CHIP:DMG: { @@ -322,7 +322,7 @@ tests: ./chip-tool onoff read attribute-list 1 1 - verify the " attribute-list response" on the TH (all-cluster-minimal-app) log: + Verify the " attribute-list response" on the TH (all-cluster-minimal-app) log: [1666943616.274425][12769:12769] CHIP:DMG: [1666943616.274453][12769:12769] CHIP:DMG: ReportDataMessage = @@ -465,7 +465,7 @@ tests: ./chip-tool onoff read feature-map 1 1 - verify the " feature-map response" on the TH (all-cluster-minimal-app) log: + Verify the " feature-map response" on the TH (all-cluster-minimal-app) log: [1666943673.928358][12769:12769] CHIP:DMG: ReportDataMessage = [1666943673.928360][12769:12769] CHIP:DMG: { @@ -497,7 +497,7 @@ tests: ./chip-tool onoff read on-off 1 1 - verify the " on-off response" on the TH (all-cluster-minimal-app) log: + Verify the " on-off response" on the TH (all-cluster-minimal-app) log: [1666943688.655282][12769:12769] CHIP:DMG: ReportDataMessage = [1666943688.655285][12769:12769] CHIP:DMG: { diff --git a/src/app/tests/suites/certification/Test_TC_PCC_3_1.yaml b/src/app/tests/suites/certification/Test_TC_PCC_3_1.yaml index 9c55007a93ed52..26347afdc7943a 100644 --- a/src/app/tests/suites/certification/Test_TC_PCC_3_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_PCC_3_1.yaml @@ -35,420 +35,307 @@ tests: - label: "DUT reads all supported mandatory attributes from TH one at a time in - a manufacturer specific order" + a manufacturer specific order." verification: | - TH receives the read command and knows this attribute for this cluster and provides a plausable value, DUT processes the values and operates normally + 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 pumpconfigurationandcontrol read max-pressure 1 1 verify on TH all-cluster-app receives the right ReadRequest for the data sent in the above command - [1666771501.560631][10494:10494] CHIP:DMG: ReportDataMessage = - [1666771501.560693][10494:10494] CHIP:DMG: { - [1666771501.560749][10494:10494] CHIP:DMG: AttributeReportIBs = - [1666771501.560827][10494:10494] CHIP:DMG: [ - [1666771501.560886][10494:10494] CHIP:DMG: AttributeReportIB = - [1666771501.560968][10494:10494] CHIP:DMG: { - [1666771501.561088][10494:10494] CHIP:DMG: AttributeDataIB = - [1666771501.561159][10494:10494] CHIP:DMG: { - [1666771501.561286][10494:10494] CHIP:DMG: DataVersion = 0x6d9ca432, - [1666771501.561364][10494:10494] CHIP:DMG: AttributePathIB = - [1666771501.561498][10494:10494] CHIP:DMG: { - [1666771501.561736][10494:10494] CHIP:DMG: Endpoint = 0x1, - [1666771501.561881][10494:10494] CHIP:DMG: Cluster = 0x200, - [1666771501.561967][10494:10494] CHIP:DMG: Attribute = 0x0000_0000, - [1666771501.562101][10494:10494] CHIP:DMG: } - [1666771501.562241][10494:10494] CHIP:DMG: - [1666771501.562380][10494:10494] CHIP:DMG: Data = 0, - [1666771501.562457][10494:10494] CHIP:DMG: }, - [1666771501.562538][10494:10494] CHIP:DMG: - [1666771501.562604][10494:10494] CHIP:DMG: }, - [1666771501.562735][10494:10494] CHIP:DMG: - [1666771501.562799][10494:10494] CHIP:DMG: ], - [1666771501.562875][10494:10494] CHIP:DMG: - [1666771501.562937][10494:10494] CHIP:DMG: SuppressResponse = true, - [1666771501.563003][10494:10494] CHIP:DMG: InteractionModelRevision = 1 - + [1651148412.273866][2336:2336] CHIP:IM: Received Read request + [1651148412.273922][2336:2336] CHIP:DMG: ReadRequestMessage = + [1651148412.273950][2336:2336] CHIP:DMG: { + [1651148412.273972][2336:2336] CHIP:DMG: AttributePathIBs = + [1651148412.273999][2336:2336] CHIP:DMG: [ + [1651148412.274024][2336:2336] CHIP:DMG: AttributePathIB = + [1651148412.274063][2336:2336] CHIP:DMG: { + [1651148412.274093][2336:2336] CHIP:DMG: Endpoint = 0x1, + [1651148412.274126][2336:2336] CHIP:DMG: Cluster = 0x200, + [1651148412.274156][2336:2336] CHIP:DMG: Attribute = 0x0000_0000, + [1651148412.274186][2336:2336] CHIP:DMG: } + [1651148412.274216][2336:2336] CHIP:DMG: + [1651148412.274242][2336:2336] CHIP:DMG: ], + [1651148412.274271][2336:2336] CHIP:DMG: + [1651148412.274298][2336:2336] CHIP:DMG: isFabricFiltered = true, + [1651148412.274325][2336:2336] CHIP:DMG: InteractionModelRevision = 1 + [1651148412.274349][2336:2336] CHIP:DMG: }, + [1651148412.274424][2336:2336] CHIP:DMG: IM RH moving to [GeneratingReports] ./chip-tool pumpconfigurationandcontrol read max-speed 1 1 verify on TH all-cluster-app receives the right ReadRequest for the data sent in the above command - [1666771563.741093][10494:10494] CHIP:DMG: ReportDataMessage = - [1666771563.741160][10494:10494] CHIP:DMG: { - [1666771563.741215][10494:10494] CHIP:DMG: AttributeReportIBs = - [1666771563.741290][10494:10494] CHIP:DMG: [ - [1666771563.741352][10494:10494] CHIP:DMG: AttributeReportIB = - [1666771563.741446][10494:10494] CHIP:DMG: { - [1666771563.741518][10494:10494] CHIP:DMG: AttributeDataIB = - [1666771563.741605][10494:10494] CHIP:DMG: { - [1666771563.741677][10494:10494] CHIP:DMG: DataVersion = 0x6d9ca432, - [1666771563.741765][10494:10494] CHIP:DMG: AttributePathIB = - [1666771563.741843][10494:10494] CHIP:DMG: { - [1666771563.741936][10494:10494] CHIP:DMG: Endpoint = 0x1, - [1666771563.742027][10494:10494] CHIP:DMG: Cluster = 0x200, - [1666771563.742117][10494:10494] CHIP:DMG: Attribute = 0x0000_0001, - [1666771563.742200][10494:10494] CHIP:DMG: } - [1666771563.742288][10494:10494] CHIP:DMG: - [1666771563.742376][10494:10494] CHIP:DMG: Data = 0, - [1666771563.742463][10494:10494] CHIP:DMG: }, - [1666771563.742557][10494:10494] CHIP:DMG: - [1666771563.742627][10494:10494] CHIP:DMG: }, - [1666771563.742709][10494:10494] CHIP:DMG: - [1666771563.742766][10494:10494] CHIP:DMG: ], - [1666771563.742841][10494:10494] CHIP:DMG: - [1666771563.742903][10494:10494] CHIP:DMG: SuppressResponse = true, - [1666771563.742963][10494:10494] CHIP:DMG: InteractionModelRevision = 1 - + [1651148440.471321][2336:2336] CHIP:IM: Received Read request + [1651148440.471389][2336:2336] CHIP:DMG: ReadRequestMessage = + [1651148440.471416][2336:2336] CHIP:DMG: { + [1651148440.471438][2336:2336] CHIP:DMG: AttributePathIBs = + [1651148440.471481][2336:2336] CHIP:DMG: [ + [1651148440.471507][2336:2336] CHIP:DMG: AttributePathIB = + [1651148440.471546][2336:2336] CHIP:DMG: { + [1651148440.471571][2336:2336] CHIP:DMG: Endpoint = 0x1, + [1651148440.471609][2336:2336] CHIP:DMG: Cluster = 0x200, + [1651148440.471642][2336:2336] CHIP:DMG: Attribute = 0x0000_0001, + [1651148440.471681][2336:2336] CHIP:DMG: } + [1651148440.471719][2336:2336] CHIP:DMG: + [1651148440.471745][2336:2336] CHIP:DMG: ], + [1651148440.471770][2336:2336] CHIP:DMG: + [1651148440.471806][2336:2336] CHIP:DMG: isFabricFiltered = true, + [1651148440.471831][2336:2336] CHIP:DMG: InteractionModelRevision = 1 + [1651148440.471867][2336:2336] CHIP:DMG: }, + [1651148440.471947][2336:2336] CHIP:DMG: IM RH moving to [GeneratingReports] + [1651148440.472042][2336:2336] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 ./chip-tool pumpconfigurationandcontrol read max-flow 1 1 verify on TH all-cluster-app receives the right ReadRequest for the data sent in the above command - [1666771593.839903][10494:10494] CHIP:DMG: ReportDataMessage = - [1666771593.839937][10494:10494] CHIP:DMG: { - [1666771593.839959][10494:10494] CHIP:DMG: AttributeReportIBs = - [1666771593.839991][10494:10494] CHIP:DMG: [ - [1666771593.840029][10494:10494] CHIP:DMG: AttributeReportIB = - [1666771593.840071][10494:10494] CHIP:DMG: { - [1666771593.840100][10494:10494] CHIP:DMG: AttributeDataIB = - [1666771593.840138][10494:10494] CHIP:DMG: { - [1666771593.840176][10494:10494] CHIP:DMG: DataVersion = 0x6d9ca432, - [1666771593.840211][10494:10494] CHIP:DMG: AttributePathIB = - [1666771593.840249][10494:10494] CHIP:DMG: { - [1666771593.840286][10494:10494] CHIP:DMG: Endpoint = 0x1, - [1666771593.840325][10494:10494] CHIP:DMG: Cluster = 0x200, - [1666771593.840378][10494:10494] CHIP:DMG: Attribute = 0x0000_0002, - [1666771593.840414][10494:10494] CHIP:DMG: } - [1666771593.840459][10494:10494] CHIP:DMG: - [1666771593.840497][10494:10494] CHIP:DMG: Data = 0, - [1666771593.840535][10494:10494] CHIP:DMG: }, - [1666771593.840580][10494:10494] CHIP:DMG: - [1666771593.840613][10494:10494] CHIP:DMG: }, - [1666771593.840651][10494:10494] CHIP:DMG: - [1666771593.840680][10494:10494] CHIP:DMG: ], - [1666771593.840715][10494:10494] CHIP:DMG: - [1666771593.840744][10494:10494] CHIP:DMG: SuppressResponse = true, - [1666771593.840774][10494:10494] CHIP:DMG: InteractionModelRevision = 1 - + [1651148472.518933][2336:2336] CHIP:IM: Received Read request + [1651148472.518993][2336:2336] CHIP:DMG: ReadRequestMessage = + [1651148472.519023][2336:2336] CHIP:DMG: { + [1651148472.519071][2336:2336] CHIP:DMG: AttributePathIBs = + [1651148472.519104][2336:2336] CHIP:DMG: [ + [1651148472.519163][2336:2336] CHIP:DMG: AttributePathIB = + [1651148472.519218][2336:2336] CHIP:DMG: { + [1651148472.519286][2336:2336] CHIP:DMG: Endpoint = 0x1, + [1651148472.519328][2336:2336] CHIP:DMG: Cluster = 0x200, + [1651148472.519364][2336:2336] CHIP:DMG: Attribute = 0x0000_0002, + [1651148472.519400][2336:2336] CHIP:DMG: } + [1651148472.519459][2336:2336] CHIP:DMG: + [1651148472.519521][2336:2336] CHIP:DMG: ], + [1651148472.519555][2336:2336] CHIP:DMG: + [1651148472.519584][2336:2336] CHIP:DMG: isFabricFiltered = true, + [1651148472.519666][2336:2336] CHIP:DMG: InteractionModelRevision = 1 + [1651148472.519695][2336:2336] CHIP:DMG: }, + [1651148472.519802][2336:2336] CHIP:DMG: IM RH moving to [GeneratingReports] + [1651148472.519971][2336:2336] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 ./chip-tool pumpconfigurationandcontrol read effective-operation-mode 1 1 verify on TH all-cluster-app receives the right ReadRequest for the data sent in the above command - [1666771621.097341][10494:10494] CHIP:DMG: ReportDataMessage = - [1666771621.097376][10494:10494] CHIP:DMG: { - [1666771621.097406][10494:10494] CHIP:DMG: AttributeReportIBs = - [1666771621.097446][10494:10494] CHIP:DMG: [ - [1666771621.097480][10494:10494] CHIP:DMG: AttributeReportIB = - [1666771621.097522][10494:10494] CHIP:DMG: { - [1666771621.097556][10494:10494] CHIP:DMG: AttributeDataIB = - [1666771621.097598][10494:10494] CHIP:DMG: { - [1666771621.097641][10494:10494] CHIP:DMG: DataVersion = 0x6d9ca432, - [1666771621.097683][10494:10494] CHIP:DMG: AttributePathIB = - [1666771621.097726][10494:10494] CHIP:DMG: { - [1666771621.097769][10494:10494] CHIP:DMG: Endpoint = 0x1, - [1666771621.097816][10494:10494] CHIP:DMG: Cluster = 0x200, - [1666771621.097869][10494:10494] CHIP:DMG: Attribute = 0x0000_0011, - [1666771621.097913][10494:10494] CHIP:DMG: } - [1666771621.097957][10494:10494] CHIP:DMG: - [1666771621.098010][10494:10494] CHIP:DMG: Data = 0, - [1666771621.098055][10494:10494] CHIP:DMG: }, - [1666771621.098103][10494:10494] CHIP:DMG: - [1666771621.098141][10494:10494] CHIP:DMG: }, - [1666771621.098184][10494:10494] CHIP:DMG: - [1666771621.098212][10494:10494] CHIP:DMG: ], - [1666771621.098247][10494:10494] CHIP:DMG: - [1666771621.098280][10494:10494] CHIP:DMG: SuppressResponse = true, - [1666771621.098310][10494:10494] CHIP:DMG: InteractionModelRevision = 1 - + [1651570515.206834][9246:9246] CHIP:IM: Received Read request + [1651570515.206917][9246:9246] CHIP:DMG: ReadRequestMessage = + [1651570515.206966][9246:9246] CHIP:DMG: { + [1651570515.207006][9246:9246] CHIP:DMG: AttributePathIBs = + [1651570515.207053][9246:9246] CHIP:DMG: [ + [1651570515.207098][9246:9246] CHIP:DMG: AttributePathIB = + [1651570515.207154][9246:9246] CHIP:DMG: { + [1651570515.207210][9246:9246] CHIP:DMG: Endpoint = 0x1, + [1651570515.207265][9246:9246] CHIP:DMG: Cluster = 0x200, + [1651570515.207322][9246:9246] CHIP:DMG: Attribute = 0x0000_0011, + [1651570515.207381][9246:9246] CHIP:DMG: } + [1651570515.207436][9246:9246] CHIP:DMG: + [1651570515.207483][9246:9246] CHIP:DMG: ], + [1651570515.207535][9246:9246] CHIP:DMG: + [1651570515.207587][9246:9246] CHIP:DMG: isFabricFiltered = true, + [1651570515.207634][9246:9246] CHIP:DMG: InteractionModelRevision = 1 + [1651570515.207677][9246:9246] CHIP:DMG: } ./chip-tool pumpconfigurationandcontrol read effective-control-mode 1 1 verify on TH all-cluster-app receives the right ReadRequest for the data sent in the above command - [1666771644.088645][10494:10494] CHIP:DMG: ReportDataMessage = - [1666771644.088673][10494:10494] CHIP:DMG: { - [1666771644.088695][10494:10494] CHIP:DMG: AttributeReportIBs = - [1666771644.088725][10494:10494] CHIP:DMG: [ - [1666771644.088751][10494:10494] CHIP:DMG: AttributeReportIB = - [1666771644.088781][10494:10494] CHIP:DMG: { - [1666771644.088812][10494:10494] CHIP:DMG: AttributeDataIB = - [1666771644.088843][10494:10494] CHIP:DMG: { - [1666771644.088883][10494:10494] CHIP:DMG: DataVersion = 0x6d9ca432, - [1666771644.088913][10494:10494] CHIP:DMG: AttributePathIB = - [1666771644.088952][10494:10494] CHIP:DMG: { - [1666771644.088985][10494:10494] CHIP:DMG: Endpoint = 0x1, - [1666771644.089025][10494:10494] CHIP:DMG: Cluster = 0x200, - [1666771644.089058][10494:10494] CHIP:DMG: Attribute = 0x0000_0012, - [1666771644.089093][10494:10494] CHIP:DMG: } - [1666771644.089128][10494:10494] CHIP:DMG: - [1666771644.089169][10494:10494] CHIP:DMG: Data = 0, - [1666771644.089195][10494:10494] CHIP:DMG: }, - [1666771644.089234][10494:10494] CHIP:DMG: - [1666771644.089260][10494:10494] CHIP:DMG: }, - [1666771644.089295][10494:10494] CHIP:DMG: - [1666771644.089320][10494:10494] CHIP:DMG: ], - [1666771644.089351][10494:10494] CHIP:DMG: - [1666771644.089374][10494:10494] CHIP:DMG: SuppressResponse = true, - [1666771644.089399][10494:10494] CHIP:DMG: InteractionModelRevision = 1 - + [1651570975.559213][9246:9246] CHIP:IM: Received Read request + [1651570975.559268][9246:9246] CHIP:DMG: ReadRequestMessage = + [1651570975.559295][9246:9246] CHIP:DMG: { + [1651570975.559317][9246:9246] CHIP:DMG: AttributePathIBs = + [1651570975.559343][9246:9246] CHIP:DMG: [ + [1651570975.559367][9246:9246] CHIP:DMG: AttributePathIB = + [1651570975.559400][9246:9246] CHIP:DMG: { + [1651570975.559428][9246:9246] CHIP:DMG: Endpoint = 0x1, + [1651570975.559465][9246:9246] CHIP:DMG: Cluster = 0x200, + [1651570975.559602][9246:9246] CHIP:DMG: Attribute = 0x0000_0012, + [1651570975.559626][9246:9246] CHIP:DMG: } + [1651570975.559655][9246:9246] CHIP:DMG: + [1651570975.559681][9246:9246] CHIP:DMG: ], + [1651570975.559710][9246:9246] CHIP:DMG: ./chip-tool pumpconfigurationandcontrol read capacity 1 1 verify on TH all-cluster-app receives the right ReadRequest for the data sent in the above command - [1666771664.082878][10494:10494] CHIP:DMG: ReportDataMessage = - [1666771664.082918][10494:10494] CHIP:DMG: { - [1666771664.082950][10494:10494] CHIP:DMG: AttributeReportIBs = - [1666771664.082994][10494:10494] CHIP:DMG: [ - [1666771664.083030][10494:10494] CHIP:DMG: AttributeReportIB = - [1666771664.083074][10494:10494] CHIP:DMG: { - [1666771664.083115][10494:10494] CHIP:DMG: AttributeDataIB = - [1666771664.083166][10494:10494] CHIP:DMG: { - [1666771664.083205][10494:10494] CHIP:DMG: DataVersion = 0x6d9ca432, - [1666771664.083257][10494:10494] CHIP:DMG: AttributePathIB = - [1666771664.083301][10494:10494] CHIP:DMG: { - [1666771664.083357][10494:10494] CHIP:DMG: Endpoint = 0x1, - [1666771664.083399][10494:10494] CHIP:DMG: Cluster = 0x200, - [1666771664.083455][10494:10494] CHIP:DMG: Attribute = 0x0000_0013, - [1666771664.083516][10494:10494] CHIP:DMG: } - [1666771664.083565][10494:10494] CHIP:DMG: - [1666771664.083622][10494:10494] CHIP:DMG: Data = 0, - [1666771664.083664][10494:10494] CHIP:DMG: }, - [1666771664.083710][10494:10494] CHIP:DMG: - [1666771664.083744][10494:10494] CHIP:DMG: }, - [1666771664.083793][10494:10494] CHIP:DMG: - [1666771664.083827][10494:10494] CHIP:DMG: ], - [1666771664.083872][10494:10494] CHIP:DMG: - [1666771664.083908][10494:10494] CHIP:DMG: SuppressResponse = true, - [1666771664.083941][10494:10494] CHIP:DMG: InteractionModelRevision = 1 - + [1651571009.295069][9246:9246] CHIP:IM: Received Read request + [1651571009.295158][9246:9246] CHIP:DMG: ReadRequestMessage = + [1651571009.295203][9246:9246] CHIP:DMG: { + [1651571009.295244][9246:9246] CHIP:DMG: AttributePathIBs = + [1651571009.295293][9246:9246] CHIP:DMG: [ + [1651571009.295339][9246:9246] CHIP:DMG: AttributePathIB = + [1651571009.295387][9246:9246] CHIP:DMG: { + [1651571009.295438][9246:9246] CHIP:DMG: Endpoint = 0x1, + [1651571009.295493][9246:9246] CHIP:DMG: Cluster = 0x200, + [1651571009.295548][9246:9246] CHIP:DMG: Attribute = 0x0000_0013, + [1651571009.295597][9246:9246] CHIP:DMG: } + [1651571009.295649][9246:9246] CHIP:DMG: + [1651571009.295696][9246:9246] CHIP:DMG: ], + [1651571009.295747][9246:9246] CHIP:DMG: ./chip-tool pumpconfigurationandcontrol read operation-mode 1 1 verify on TH all-cluster-app receives the right ReadRequest for the data sent in the above command - [1666771691.803694][10494:10494] CHIP:DMG: ReportDataMessage = - [1666771691.803748][10494:10494] CHIP:DMG: { - [1666771691.803792][10494:10494] CHIP:DMG: AttributeReportIBs = - [1666771691.803853][10494:10494] CHIP:DMG: [ - [1666771691.803902][10494:10494] CHIP:DMG: AttributeReportIB = - [1666771691.803971][10494:10494] CHIP:DMG: { - [1666771691.804024][10494:10494] CHIP:DMG: AttributeDataIB = - [1666771691.804099][10494:10494] CHIP:DMG: { - [1666771691.804153][10494:10494] CHIP:DMG: DataVersion = 0x6d9ca432, - [1666771691.804224][10494:10494] CHIP:DMG: AttributePathIB = - [1666771691.804284][10494:10494] CHIP:DMG: { - [1666771691.804360][10494:10494] CHIP:DMG: Endpoint = 0x1, - [1666771691.804424][10494:10494] CHIP:DMG: Cluster = 0x200, - [1666771691.804502][10494:10494] CHIP:DMG: Attribute = 0x0000_0020, - [1666771691.804562][10494:10494] CHIP:DMG: } - [1666771691.804638][10494:10494] CHIP:DMG: - [1666771691.804696][10494:10494] CHIP:DMG: Data = 0, - [1666771691.804765][10494:10494] CHIP:DMG: }, - [1666771691.804827][10494:10494] CHIP:DMG: - [1666771691.804889][10494:10494] CHIP:DMG: }, - [1666771691.804949][10494:10494] CHIP:DMG: - [1666771691.804997][10494:10494] CHIP:DMG: ], - [1666771691.805056][10494:10494] CHIP:DMG: - [1666771691.805099][10494:10494] CHIP:DMG: SuppressResponse = true, - [1666771691.805150][10494:10494] CHIP:DMG: InteractionModelRevision = 1 - [1666771691.805196][10494:10494] CHIP:DMG: } + [1651571334.617100][9337:9337] CHIP:IM: Received Read request + [1651571334.617155][9337:9337] CHIP:DMG: ReadRequestMessage = + [1651571334.617181][9337:9337] CHIP:DMG: { + [1651571334.617213][9337:9337] CHIP:DMG: AttributePathIBs = + [1651571334.617250][9337:9337] CHIP:DMG: [ + [1651571334.617291][9337:9337] CHIP:DMG: AttributePathIB = + [1651571334.617338][9337:9337] CHIP:DMG: { + [1651571334.617368][9337:9337] CHIP:DMG: Endpoint = 0x1, + [1651571334.617404][9337:9337] CHIP:DMG: Cluster = 0x200, + [1651571334.617433][9337:9337] CHIP:DMG: Attribute = 0x0000_0020, + [1651571334.617467][9337:9337] CHIP:DMG: } + [1651571334.617499][9337:9337] CHIP:DMG: + [1651571334.617537][9337:9337] CHIP:DMG: ], + [1651571334.617567][9337:9337] CHIP:DMG: disabled: true - label: "DUT reads all supported optional attributes from TH one at a time in - a manufacturer specific order" + a manufacturer specific order." verification: | - TH receives the read command and knows this attribute for this cluster and provides a plausable value, DUT processes the values and operates normally + 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 pumpconfigurationandcontrol read min-const-pressure 1 1 verify on TH all-cluster-app receives the right ReadRequest for the data sent in the above command - [1666771728.211002][10494:10494] CHIP:DMG: ReportDataMessage = - [1666771728.211044][10494:10494] CHIP:DMG: { - [1666771728.211079][10494:10494] CHIP:DMG: AttributeReportIBs = - [1666771728.211127][10494:10494] CHIP:DMG: [ - [1666771728.211169][10494:10494] CHIP:DMG: AttributeReportIB = - [1666771728.211222][10494:10494] CHIP:DMG: { - [1666771728.211268][10494:10494] CHIP:DMG: AttributeDataIB = - [1666771728.211320][10494:10494] CHIP:DMG: { - [1666771728.211373][10494:10494] CHIP:DMG: DataVersion = 0x6d9ca432, - [1666771728.211419][10494:10494] CHIP:DMG: AttributePathIB = - [1666771728.211471][10494:10494] CHIP:DMG: { - [1666771728.211634][10494:10494] CHIP:DMG: Endpoint = 0x1, - [1666771728.211699][10494:10494] CHIP:DMG: Cluster = 0x200, - [1666771728.211755][10494:10494] CHIP:DMG: Attribute = 0x0000_0003, - [1666771728.211807][10494:10494] CHIP:DMG: } - [1666771728.211853][10494:10494] CHIP:DMG: - [1666771728.211911][10494:10494] CHIP:DMG: Data = 0, - [1666771728.211955][10494:10494] CHIP:DMG: }, - [1666771728.212014][10494:10494] CHIP:DMG: - [1666771728.212058][10494:10494] CHIP:DMG: }, - [1666771728.212117][10494:10494] CHIP:DMG: - [1666771728.212150][10494:10494] CHIP:DMG: ], - [1666771728.212198][10494:10494] CHIP:DMG: - [1666771728.212236][10494:10494] CHIP:DMG: SuppressResponse = true, - [1666771728.212276][10494:10494] CHIP:DMG: InteractionModelRevision = 1 - + [1651148507.711384][2336:2336] CHIP:IM: Received Read request + [1651148507.711452][2336:2336] CHIP:DMG: ReadRequestMessage = + [1651148507.711478][2336:2336] CHIP:DMG: { + [1651148507.711500][2336:2336] CHIP:DMG: AttributePathIBs = + [1651148507.711526][2336:2336] CHIP:DMG: [ + [1651148507.711560][2336:2336] CHIP:DMG: AttributePathIB = + [1651148507.711606][2336:2336] CHIP:DMG: { + [1651148507.711637][2336:2336] CHIP:DMG: Endpoint = 0x1, + [1651148507.711677][2336:2336] CHIP:DMG: Cluster = 0x200, + [1651148507.711709][2336:2336] CHIP:DMG: Attribute = 0x0000_0003, + [1651148507.711747][2336:2336] CHIP:DMG: } + [1651148507.711778][2336:2336] CHIP:DMG: + [1651148507.711813][2336:2336] CHIP:DMG: ], + [1651148507.711841][2336:2336] CHIP:DMG: + [1651148507.711876][2336:2336] CHIP:DMG: isFabricFiltered = true, + [1651148507.711902][2336:2336] CHIP:DMG: InteractionModelRevision = 1 + [1651148507.711934][2336:2336] CHIP:DMG: }, + [1651148507.712016][2336:2336] CHIP:DMG: IM RH moving to [GeneratingReports] + [1651148507.712119][2336:2336] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0" ./chip-tool pumpconfigurationandcontrol read max-const-pressure 1 1 verify on TH all-cluster-app receives the right ReadRequest for the data sent in the above command - [1666771760.815377][10494:10494] CHIP:DMG: ReportDataMessage = - [1666771760.815411][10494:10494] CHIP:DMG: { - [1666771760.815438][10494:10494] CHIP:DMG: AttributeReportIBs = - [1666771760.815477][10494:10494] CHIP:DMG: [ - [1666771760.815541][10494:10494] CHIP:DMG: AttributeReportIB = - [1666771760.815589][10494:10494] CHIP:DMG: { - [1666771760.815624][10494:10494] CHIP:DMG: AttributeDataIB = - [1666771760.815667][10494:10494] CHIP:DMG: { - [1666771760.815711][10494:10494] CHIP:DMG: DataVersion = 0x6d9ca432, - [1666771760.815759][10494:10494] CHIP:DMG: AttributePathIB = - [1666771760.815803][10494:10494] CHIP:DMG: { - [1666771760.815850][10494:10494] CHIP:DMG: Endpoint = 0x1, - [1666771760.815896][10494:10494] CHIP:DMG: Cluster = 0x200, - [1666771760.815948][10494:10494] CHIP:DMG: Attribute = 0x0000_0004, - [1666771760.815988][10494:10494] CHIP:DMG: } - [1666771760.816028][10494:10494] CHIP:DMG: - [1666771760.816066][10494:10494] CHIP:DMG: Data = 0, - [1666771760.816103][10494:10494] CHIP:DMG: }, - [1666771760.816172][10494:10494] CHIP:DMG: - [1666771760.816204][10494:10494] CHIP:DMG: }, - [1666771760.816243][10494:10494] CHIP:DMG: - [1666771760.816273][10494:10494] CHIP:DMG: ], - [1666771760.816311][10494:10494] CHIP:DMG: - [1666771760.816343][10494:10494] CHIP:DMG: SuppressResponse = true, - [1666771760.816373][10494:10494] CHIP:DMG: InteractionModelRevision = 1 - + [1651148537.336390][2336:2336] CHIP:IM: Received Read request + [1651148537.336445][2336:2336] CHIP:DMG: ReadRequestMessage = + [1651148537.336471][2336:2336] CHIP:DMG: { + [1651148537.336503][2336:2336] CHIP:DMG: AttributePathIBs = + [1651148537.336530][2336:2336] CHIP:DMG: [ + [1651148537.336554][2336:2336] CHIP:DMG: AttributePathIB = + [1651148537.336593][2336:2336] CHIP:DMG: { + [1651148537.336621][2336:2336] CHIP:DMG: Endpoint = 0x1, + [1651148537.336666][2336:2336] CHIP:DMG: Cluster = 0x200, + [1651148537.336701][2336:2336] CHIP:DMG: Attribute = 0x0000_0004, + [1651148537.336741][2336:2336] CHIP:DMG: } + [1651148537.336770][2336:2336] CHIP:DMG: + [1651148537.336796][2336:2336] CHIP:DMG: ], + [1651148537.336836][2336:2336] CHIP:DMG: + [1651148537.336863][2336:2336] CHIP:DMG: isFabricFiltered = true, + [1651148537.336888][2336:2336] CHIP:DMG: InteractionModelRevision = 1 + [1651148537.336921][2336:2336] CHIP:DMG: }, + [1651148537.337002][2336:2336] CHIP:DMG: IM RH moving to [GeneratingReports] + [1651148537.337095][2336:2336] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0" ./chip-tool pumpconfigurationandcontrol read min-comp-pressure 1 1 verify on TH all-cluster-app receives the right ReadRequest for the data sent in the above command - [1666771843.144146][10494:10494] CHIP:DMG: ReportDataMessage = - [1666771843.144204][10494:10494] CHIP:DMG: { - [1666771843.144247][10494:10494] CHIP:DMG: AttributeReportIBs = - [1666771843.144313][10494:10494] CHIP:DMG: [ - [1666771843.144367][10494:10494] CHIP:DMG: AttributeReportIB = - [1666771843.144437][10494:10494] CHIP:DMG: { - [1666771843.144502][10494:10494] CHIP:DMG: AttributeDataIB = - [1666771843.144570][10494:10494] CHIP:DMG: { - [1666771843.144650][10494:10494] CHIP:DMG: DataVersion = 0x6d9ca432, - [1666771843.144720][10494:10494] CHIP:DMG: AttributePathIB = - [1666771843.144799][10494:10494] CHIP:DMG: { - [1666771843.144879][10494:10494] CHIP:DMG: Endpoint = 0x1, - [1666771843.144955][10494:10494] CHIP:DMG: Cluster = 0x200, - [1666771843.145034][10494:10494] CHIP:DMG: Attribute = 0x0000_0005, - [1666771843.145110][10494:10494] CHIP:DMG: } - [1666771843.145191][10494:10494] CHIP:DMG: - [1666771843.145269][10494:10494] CHIP:DMG: Data = 0, - [1666771843.145339][10494:10494] CHIP:DMG: }, - [1666771843.145411][10494:10494] CHIP:DMG: - [1666771843.145467][10494:10494] CHIP:DMG: }, - [1666771843.145540][10494:10494] CHIP:DMG: - [1666771843.145588][10494:10494] CHIP:DMG: ], - [1666771843.145653][10494:10494] CHIP:DMG: - [1666771843.145708][10494:10494] CHIP:DMG: SuppressResponse = true, - [1666771843.145778][10494:10494] CHIP:DMG: InteractionModelRevision = 1 - + [1651148566.361843][2336:2336] CHIP:IM: Received Read request + [1651148566.361897][2336:2336] CHIP:DMG: ReadRequestMessage = + [1651148566.361923][2336:2336] CHIP:DMG: { + [1651148566.361944][2336:2336] CHIP:DMG: AttributePathIBs = + [1651148566.361967][2336:2336] CHIP:DMG: [ + [1651148566.361988][2336:2336] CHIP:DMG: AttributePathIB = + [1651148566.362012][2336:2336] CHIP:DMG: { + [1651148566.362038][2336:2336] CHIP:DMG: Endpoint = 0x1, + [1651148566.362068][2336:2336] CHIP:DMG: Cluster = 0x200, + [1651148566.362093][2336:2336] CHIP:DMG: Attribute = 0x0000_0005, + [1651148566.362119][2336:2336] CHIP:DMG: } + [1651148566.362147][2336:2336] CHIP:DMG: + [1651148566.362173][2336:2336] CHIP:DMG: ], + [1651148566.362201][2336:2336] CHIP:DMG: + [1651148566.362226][2336:2336] CHIP:DMG: isFabricFiltered = true, + [1651148566.362251][2336:2336] CHIP:DMG: InteractionModelRevision = 1 + [1651148566.362274][2336:2336] CHIP:DMG: } ./chip-tool pumpconfigurationandcontrol read max-comp-pressure 1 1 verify on TH all-cluster-app receives the right ReadRequest for the data sent in the above command - [1666771869.651025][10494:10494] CHIP:DMG: ReportDataMessage = - [1666771869.651059][10494:10494] CHIP:DMG: { - [1666771869.651085][10494:10494] CHIP:DMG: AttributeReportIBs = - [1666771869.651122][10494:10494] CHIP:DMG: [ - [1666771869.651153][10494:10494] CHIP:DMG: AttributeReportIB = - [1666771869.651195][10494:10494] CHIP:DMG: { - [1666771869.651230][10494:10494] CHIP:DMG: AttributeDataIB = - [1666771869.651269][10494:10494] CHIP:DMG: { - [1666771869.651314][10494:10494] CHIP:DMG: DataVersion = 0x6d9ca432, - [1666771869.651349][10494:10494] CHIP:DMG: AttributePathIB = - [1666771869.651394][10494:10494] CHIP:DMG: { - [1666771869.651433][10494:10494] CHIP:DMG: Endpoint = 0x1, - [1666771869.651481][10494:10494] CHIP:DMG: Cluster = 0x200, - [1666771869.651547][10494:10494] CHIP:DMG: Attribute = 0x0000_0006, - [1666771869.651581][10494:10494] CHIP:DMG: } - [1666771869.651631][10494:10494] CHIP:DMG: - [1666771869.651678][10494:10494] CHIP:DMG: Data = 0, - [1666771869.651713][10494:10494] CHIP:DMG: }, - [1666771869.651751][10494:10494] CHIP:DMG: - [1666771869.651782][10494:10494] CHIP:DMG: }, - [1666771869.651817][10494:10494] CHIP:DMG: - [1666771869.651846][10494:10494] CHIP:DMG: ], - [1666771869.651879][10494:10494] CHIP:DMG: - [1666771869.651910][10494:10494] CHIP:DMG: SuppressResponse = true, - [1666771869.651941][10494:10494] CHIP:DMG: InteractionModelRevision = 1 - + [1651148595.417817][2336:2336] CHIP:IM: Received Read request + [1651148595.417901][2336:2336] CHIP:DMG: ReadRequestMessage = + [1651148595.417932][2336:2336] CHIP:DMG: { + [1651148595.417956][2336:2336] CHIP:DMG: AttributePathIBs = + [1651148595.417987][2336:2336] CHIP:DMG: [ + [1651148595.418014][2336:2336] CHIP:DMG: AttributePathIB = + [1651148595.418049][2336:2336] CHIP:DMG: { + [1651148595.418119][2336:2336] CHIP:DMG: Endpoint = 0x1, + [1651148595.418179][2336:2336] CHIP:DMG: Cluster = 0x200, + [1651148595.418221][2336:2336] CHIP:DMG: Attribute = 0x0000_0006, + [1651148595.418259][2336:2336] CHIP:DMG: } + [1651148595.418341][2336:2336] CHIP:DMG: + [1651148595.418374][2336:2336] CHIP:DMG: ], + [1651148595.418408][2336:2336] CHIP:DMG: + [1651148595.418438][2336:2336] CHIP:DMG: isFabricFiltered = true, + [1651148595.418467][2336:2336] CHIP:DMG: InteractionModelRevision = 1 + [1651148595.418528][2336:2336] CHIP:DMG: }, + [1651148595.418660][2336:2336] CHIP:DMG: IM RH moving to [GeneratingReports] + [1651148595.418781][2336:2336] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0" ./chip-tool pumpconfigurationandcontrol read min-const-speed 1 1 verify on TH all-cluster-app receives the right ReadRequest for the data sent in the above command - [1666771906.424564][10494:10494] CHIP:DMG: ReportDataMessage = - [1666771906.424594][10494:10494] CHIP:DMG: { - [1666771906.424617][10494:10494] CHIP:DMG: AttributeReportIBs = - [1666771906.424650][10494:10494] CHIP:DMG: [ - [1666771906.424676][10494:10494] CHIP:DMG: AttributeReportIB = - [1666771906.424715][10494:10494] CHIP:DMG: { - [1666771906.424744][10494:10494] CHIP:DMG: AttributeDataIB = - [1666771906.424782][10494:10494] CHIP:DMG: { - [1666771906.424821][10494:10494] CHIP:DMG: DataVersion = 0x6d9ca432, - [1666771906.424856][10494:10494] CHIP:DMG: AttributePathIB = - [1666771906.424892][10494:10494] CHIP:DMG: { - [1666771906.424930][10494:10494] CHIP:DMG: Endpoint = 0x1, - [1666771906.424969][10494:10494] CHIP:DMG: Cluster = 0x200, - [1666771906.425010][10494:10494] CHIP:DMG: Attribute = 0x0000_0007, - [1666771906.425050][10494:10494] CHIP:DMG: } - [1666771906.425090][10494:10494] CHIP:DMG: - [1666771906.425132][10494:10494] CHIP:DMG: Data = 0, - [1666771906.425169][10494:10494] CHIP:DMG: }, - [1666771906.425210][10494:10494] CHIP:DMG: - [1666771906.425240][10494:10494] CHIP:DMG: }, - [1666771906.425276][10494:10494] CHIP:DMG: - [1666771906.425300][10494:10494] CHIP:DMG: ], - [1666771906.425333][10494:10494] CHIP:DMG: - [1666771906.425360][10494:10494] CHIP:DMG: SuppressResponse = true, - [1666771906.425386][10494:10494] CHIP:DMG: InteractionModelRevision = 1 - + [1651148626.823098][2336:2336] CHIP:IM: Received Read request + [1651148626.823201][2336:2336] CHIP:DMG: ReadRequestMessage = + [1651148626.823232][2336:2336] CHIP:DMG: { + [1651148626.823257][2336:2336] CHIP:DMG: AttributePathIBs = + [1651148626.823291][2336:2336] CHIP:DMG: [ + [1651148626.823319][2336:2336] CHIP:DMG: AttributePathIB = + [1651148626.823353][2336:2336] CHIP:DMG: { + [1651148626.823388][2336:2336] CHIP:DMG: Endpoint = 0x1, + [1651148626.823427][2336:2336] CHIP:DMG: Cluster = 0x200, + [1651148626.823462][2336:2336] CHIP:DMG: Attribute = 0x0000_0007, + [1651148626.823495][2336:2336] CHIP:DMG: } + [1651148626.823534][2336:2336] CHIP:DMG: + [1651148626.823561][2336:2336] CHIP:DMG: ], + [1651148626.823593][2336:2336] CHIP:DMG: + [1651148626.823623][2336:2336] CHIP:DMG: isFabricFiltered = true, + [1651148626.823652][2336:2336] CHIP:DMG: InteractionModelRevision = 1 + [1651148626.823678][2336:2336] CHIP:DMG: }," ./chip-tool pumpconfigurationandcontrol read max-const-speed 1 1 verify on TH all-cluster-app receives the right ReadRequest for the data sent in the above command - [1666771933.754336][10494:10494] CHIP:DMG: ReportDataMessage = - [1666771933.754366][10494:10494] CHIP:DMG: { - [1666771933.754387][10494:10494] CHIP:DMG: AttributeReportIBs = - [1666771933.754420][10494:10494] CHIP:DMG: [ - [1666771933.754447][10494:10494] CHIP:DMG: AttributeReportIB = - [1666771933.754485][10494:10494] CHIP:DMG: { - [1666771933.754514][10494:10494] CHIP:DMG: AttributeDataIB = - [1666771933.754551][10494:10494] CHIP:DMG: { - [1666771933.754582][10494:10494] CHIP:DMG: DataVersion = 0x6d9ca432, - [1666771933.754619][10494:10494] CHIP:DMG: AttributePathIB = - [1666771933.754655][10494:10494] CHIP:DMG: { - [1666771933.754695][10494:10494] CHIP:DMG: Endpoint = 0x1, - [1666771933.754735][10494:10494] CHIP:DMG: Cluster = 0x200, - [1666771933.754777][10494:10494] CHIP:DMG: Attribute = 0x0000_0008, - [1666771933.754812][10494:10494] CHIP:DMG: } - [1666771933.754851][10494:10494] CHIP:DMG: - [1666771933.754889][10494:10494] CHIP:DMG: Data = 0, - [1666771933.754926][10494:10494] CHIP:DMG: }, - [1666771933.754963][10494:10494] CHIP:DMG: - [1666771933.755009][10494:10494] CHIP:DMG: }, - [1666771933.755064][10494:10494] CHIP:DMG: - [1666771933.755101][10494:10494] CHIP:DMG: ], - [1666771933.755156][10494:10494] CHIP:DMG: - [1666771933.755198][10494:10494] CHIP:DMG: SuppressResponse = true, - [1666771933.755236][10494:10494] CHIP:DMG: InteractionModelRevision = 1 - + [1651564124.345958][8748:8748] CHIP:IM: Received Read request + [1651564124.346033][8748:8748] CHIP:DMG: ReadRequestMessage = + [1651564124.346109][8748:8748] CHIP:DMG: { + [1651564124.346147][8748:8748] CHIP:DMG: AttributePathIBs = + [1651564124.346189][8748:8748] CHIP:DMG: [ + [1651564124.346228][8748:8748] CHIP:DMG: AttributePathIB = + [1651564124.346273][8748:8748] CHIP:DMG: { + [1651564124.346416][8748:8748] CHIP:DMG: Endpoint = 0x1, + [1651564124.346467][8748:8748] CHIP:DMG: Cluster = 0x200, + [1651564124.346517][8748:8748] CHIP:DMG: Attribute = 0x0000_0008, + [1651564124.346566][8748:8748] CHIP:DMG: } + [1651564124.346612][8748:8748] CHIP:DMG: + [1651564124.346657][8748:8748] CHIP:DMG: ], + [1651564124.346703][8748:8748] CHIP:DMG: + [1651564124.346746][8748:8748] CHIP:DMG: isFabricFiltered = true, + [1651564124.346787][8748:8748] CHIP:DMG: InteractionModelRevision = 1 + [1651564124.346826][8748:8748] CHIP:DMG: }, + [1651564124.346941][8748:8748] CHIP:DMG: IM RH moving to [GeneratingReports]" @@ -456,728 +343,436 @@ tests: verify on TH all-cluster-app receives the right ReadRequest for the data sent in the above command - [1666771954.263472][10494:10494] CHIP:DMG: ReportDataMessage = - [1666771954.263538][10494:10494] CHIP:DMG: { - [1666771954.263571][10494:10494] CHIP:DMG: AttributeReportIBs = - [1666771954.263621][10494:10494] CHIP:DMG: [ - [1666771954.263661][10494:10494] CHIP:DMG: AttributeReportIB = - [1666771954.263715][10494:10494] CHIP:DMG: { - [1666771954.263759][10494:10494] CHIP:DMG: AttributeDataIB = - [1666771954.263809][10494:10494] CHIP:DMG: { - [1666771954.263851][10494:10494] CHIP:DMG: DataVersion = 0x6d9ca432, - [1666771954.263908][10494:10494] CHIP:DMG: AttributePathIB = - [1666771954.263957][10494:10494] CHIP:DMG: { - [1666771954.264019][10494:10494] CHIP:DMG: Endpoint = 0x1, - [1666771954.264071][10494:10494] CHIP:DMG: Cluster = 0x200, - [1666771954.264133][10494:10494] CHIP:DMG: Attribute = 0x0000_0009, - [1666771954.264181][10494:10494] CHIP:DMG: } - [1666771954.264243][10494:10494] CHIP:DMG: - [1666771954.264292][10494:10494] CHIP:DMG: Data = 0, - [1666771954.264348][10494:10494] CHIP:DMG: }, - [1666771954.264397][10494:10494] CHIP:DMG: - [1666771954.264444][10494:10494] CHIP:DMG: }, - [1666771954.264493][10494:10494] CHIP:DMG: - [1666771954.264535][10494:10494] CHIP:DMG: ], - [1666771954.264582][10494:10494] CHIP:DMG: - [1666771954.264639][10494:10494] CHIP:DMG: SuppressResponse = true, - [1666771954.264679][10494:10494] CHIP:DMG: InteractionModelRevision = 1 - + [1651564163.319315][8748:8748] CHIP:IM: Received Read request + [1651564163.319399][8748:8748] CHIP:DMG: ReadRequestMessage = + [1651564163.319447][8748:8748] CHIP:DMG: { + [1651564163.319488][8748:8748] CHIP:DMG: AttributePathIBs = + [1651564163.319539][8748:8748] CHIP:DMG: [ + [1651564163.319584][8748:8748] CHIP:DMG: AttributePathIB = + [1651564163.319639][8748:8748] CHIP:DMG: { + [1651564163.319694][8748:8748] CHIP:DMG: Endpoint = 0x1, + [1651564163.319758][8748:8748] CHIP:DMG: Cluster = 0x200, + [1651564163.319822][8748:8748] CHIP:DMG: Attribute = 0x0000_0009, + [1651564163.319875][8748:8748] CHIP:DMG: } + [1651564163.319925][8748:8748] CHIP:DMG: + [1651564163.319975][8748:8748] CHIP:DMG: ], + [1651564163.320027][8748:8748] CHIP:DMG: + [1651564163.320075][8748:8748] CHIP:DMG: isFabricFiltered = true, + [1651564163.320122][8748:8748] CHIP:DMG: InteractionModelRevision = 1 + [1651564163.320165][8748:8748] CHIP:DMG: }, + [1651564163.320291][8748:8748] CHIP:DMG: IM RH moving to [GeneratingReports]" ./chip-tool pumpconfigurationandcontrol read max-const-flow 1 1 verify on TH all-cluster-app receives the right ReadRequest for the data sent in the above command - [1666771999.949854][10494:10494] CHIP:DMG: ReportDataMessage = - [1666771999.949922][10494:10494] CHIP:DMG: { - [1666771999.949976][10494:10494] CHIP:DMG: AttributeReportIBs = - [1666771999.950054][10494:10494] CHIP:DMG: [ - [1666771999.950117][10494:10494] CHIP:DMG: AttributeReportIB = - [1666771999.950208][10494:10494] CHIP:DMG: { - [1666771999.950282][10494:10494] CHIP:DMG: AttributeDataIB = - [1666771999.950363][10494:10494] CHIP:DMG: { - [1666771999.950449][10494:10494] CHIP:DMG: DataVersion = 0x6d9ca432, - [1666771999.950525][10494:10494] CHIP:DMG: AttributePathIB = - [1666771999.950611][10494:10494] CHIP:DMG: { - [1666771999.950699][10494:10494] CHIP:DMG: Endpoint = 0x1, - [1666771999.950786][10494:10494] CHIP:DMG: Cluster = 0x200, - [1666771999.950866][10494:10494] CHIP:DMG: Attribute = 0x0000_000A, - [1666771999.950953][10494:10494] CHIP:DMG: } - [1666771999.951044][10494:10494] CHIP:DMG: - [1666771999.951130][10494:10494] CHIP:DMG: Data = 0, - [1666771999.951212][10494:10494] CHIP:DMG: }, - [1666771999.951307][10494:10494] CHIP:DMG: - [1666771999.951380][10494:10494] CHIP:DMG: }, - [1666771999.951469][10494:10494] CHIP:DMG: - [1666771999.951570][10494:10494] CHIP:DMG: ], - [1666771999.951643][10494:10494] CHIP:DMG: - [1666771999.951710][10494:10494] CHIP:DMG: SuppressResponse = true, - [1666771999.951775][10494:10494] CHIP:DMG: InteractionModelRevision = 1 - + [1651564281.857728][8748:8748] CHIP:IM: Received Read request + [1651564281.857784][8748:8748] CHIP:DMG: ReadRequestMessage = + [1651564281.857806][8748:8748] CHIP:DMG: { + [1651564281.857824][8748:8748] CHIP:DMG: AttributePathIBs = + [1651564281.857846][8748:8748] CHIP:DMG: [ + [1651564281.857867][8748:8748] CHIP:DMG: AttributePathIB = + [1651564281.857902][8748:8748] CHIP:DMG: { + [1651564281.857931][8748:8748] CHIP:DMG: Endpoint = 0x1, + [1651564281.857961][8748:8748] CHIP:DMG: Cluster = 0x200, + [1651564281.857990][8748:8748] CHIP:DMG: Attribute = 0x0000_000A, + [1651564281.858018][8748:8748] CHIP:DMG: } + [1651564281.858047][8748:8748] CHIP:DMG: + [1651564281.858099][8748:8748] CHIP:DMG: ], + [1651564281.858131][8748:8748] CHIP:DMG: + [1651564281.858157][8748:8748] CHIP:DMG: isFabricFiltered = true, + [1651564281.858183][8748:8748] CHIP:DMG: InteractionModelRevision = 1 + [1651564281.858206][8748:8748] CHIP:DMG: }," ./chip-tool pumpconfigurationandcontrol read min-const-temp 1 1 verify on TH all-cluster-app receives the right ReadRequest for the data sent in the above command - [1666772034.060829][10494:10494] CHIP:DMG: ReportDataMessage = - [1666772034.060903][10494:10494] CHIP:DMG: { - [1666772034.060960][10494:10494] CHIP:DMG: AttributeReportIBs = - [1666772034.061042][10494:10494] CHIP:DMG: [ - [1666772034.061108][10494:10494] CHIP:DMG: AttributeReportIB = - [1666772034.061186][10494:10494] CHIP:DMG: { - [1666772034.061265][10494:10494] CHIP:DMG: AttributeDataIB = - [1666772034.061360][10494:10494] CHIP:DMG: { - [1666772034.061465][10494:10494] CHIP:DMG: DataVersion = 0x6d9ca432, - [1666772034.061699][10494:10494] CHIP:DMG: AttributePathIB = - [1666772034.061806][10494:10494] CHIP:DMG: { - [1666772034.061909][10494:10494] CHIP:DMG: Endpoint = 0x1, - [1666772034.061996][10494:10494] CHIP:DMG: Cluster = 0x200, - [1666772034.062100][10494:10494] CHIP:DMG: Attribute = 0x0000_000B, - [1666772034.062205][10494:10494] CHIP:DMG: } - [1666772034.062303][10494:10494] CHIP:DMG: - [1666772034.062389][10494:10494] CHIP:DMG: Data = 0, - [1666772034.062483][10494:10494] CHIP:DMG: }, - [1666772034.062573][10494:10494] CHIP:DMG: - [1666772034.062658][10494:10494] CHIP:DMG: }, - [1666772034.062747][10494:10494] CHIP:DMG: - [1666772034.062818][10494:10494] CHIP:DMG: ], - [1666772034.062898][10494:10494] CHIP:DMG: - [1666772034.062956][10494:10494] CHIP:DMG: SuppressResponse = true, - [1666772034.063023][10494:10494] CHIP:DMG: InteractionModelRevision = 1 - + [1651564317.488333][8748:8748] CHIP:IM: Received Read request + [1651564317.488417][8748:8748] CHIP:DMG: ReadRequestMessage = + [1651564317.488465][8748:8748] CHIP:DMG: { + [1651564317.488505][8748:8748] CHIP:DMG: AttributePathIBs = + [1651564317.488551][8748:8748] CHIP:DMG: [ + [1651564317.488602][8748:8748] CHIP:DMG: AttributePathIB = + [1651564317.488656][8748:8748] CHIP:DMG: { + [1651564317.488707][8748:8748] CHIP:DMG: Endpoint = 0x1, + [1651564317.488772][8748:8748] CHIP:DMG: Cluster = 0x200, + [1651564317.488823][8748:8748] CHIP:DMG: Attribute = 0x0000_000B, + [1651564317.488877][8748:8748] CHIP:DMG: } + [1651564317.488920][8748:8748] CHIP:DMG: + [1651564317.488952][8748:8748] CHIP:DMG: ], + [1651564317.488983][8748:8748] CHIP:DMG: + [1651564317.489011][8748:8748] CHIP:DMG: isFabricFiltered = true, + [1651564317.489038][8748:8748] CHIP:DMG: InteractionModelRevision = 1 + [1651564317.489063][8748:8748] CHIP:DMG: }," ./chip-tool pumpconfigurationandcontrol read max-const-temp 1 1 verify on TH all-cluster-app receives the right ReadRequest for the data sent in the above command - [1666772057.143061][10494:10494] CHIP:DMG: ReportDataMessage = - [1666772057.143097][10494:10494] CHIP:DMG: { - [1666772057.143123][10494:10494] CHIP:DMG: AttributeReportIBs = - [1666772057.143164][10494:10494] CHIP:DMG: [ - [1666772057.143192][10494:10494] CHIP:DMG: AttributeReportIB = - [1666772057.143235][10494:10494] CHIP:DMG: { - [1666772057.143284][10494:10494] CHIP:DMG: AttributeDataIB = - [1666772057.143327][10494:10494] CHIP:DMG: { - [1666772057.143373][10494:10494] CHIP:DMG: DataVersion = 0x6d9ca432, - [1666772057.143411][10494:10494] CHIP:DMG: AttributePathIB = - [1666772057.143469][10494:10494] CHIP:DMG: { - [1666772057.143531][10494:10494] CHIP:DMG: Endpoint = 0x1, - [1666772057.143585][10494:10494] CHIP:DMG: Cluster = 0x200, - [1666772057.143628][10494:10494] CHIP:DMG: Attribute = 0x0000_000C, - [1666772057.143668][10494:10494] CHIP:DMG: } - [1666772057.143710][10494:10494] CHIP:DMG: - [1666772057.143762][10494:10494] CHIP:DMG: Data = 0, - [1666772057.143800][10494:10494] CHIP:DMG: }, - [1666772057.143850][10494:10494] CHIP:DMG: - [1666772057.143883][10494:10494] CHIP:DMG: }, - [1666772057.143928][10494:10494] CHIP:DMG: - [1666772057.143957][10494:10494] CHIP:DMG: ], - [1666772057.143996][10494:10494] CHIP:DMG: - [1666772057.144029][10494:10494] CHIP:DMG: SuppressResponse = true, - [1666772057.144058][10494:10494] CHIP:DMG: InteractionModelRevision = 1 - + [1651564350.267434][8748:8748] CHIP:IM: Received Read request + [1651564350.267489][8748:8748] CHIP:DMG: ReadRequestMessage = + [1651564350.267516][8748:8748] CHIP:DMG: { + [1651564350.267609][8748:8748] CHIP:DMG: AttributePathIBs = + [1651564350.267642][8748:8748] CHIP:DMG: [ + [1651564350.267671][8748:8748] CHIP:DMG: AttributePathIB = + [1651564350.267704][8748:8748] CHIP:DMG: { + [1651564350.267733][8748:8748] CHIP:DMG: Endpoint = 0x1, + [1651564350.267767][8748:8748] CHIP:DMG: Cluster = 0x200, + [1651564350.267800][8748:8748] CHIP:DMG: Attribute = 0x0000_000C, + [1651564350.267830][8748:8748] CHIP:DMG: } + [1651564350.267862][8748:8748] CHIP:DMG: + [1651564350.267890][8748:8748] CHIP:DMG: ], + [1651564350.267918][8748:8748] CHIP:DMG: + [1651564350.267945][8748:8748] CHIP:DMG: isFabricFiltered = true, + [1651564350.267970][8748:8748] CHIP:DMG: InteractionModelRevision = 1 + [1651564350.268092][8748:8748] CHIP:DMG: }," ./chip-tool pumpconfigurationandcontrol read pump-status 1 1 verify on TH all-cluster-app receives the right ReadRequest for the data sent in the above command - [1666772098.647348][10494:10494] CHIP:DMG: ReportDataMessage = - [1666772098.647383][10494:10494] CHIP:DMG: { - [1666772098.647410][10494:10494] CHIP:DMG: AttributeReportIBs = - [1666772098.647451][10494:10494] CHIP:DMG: [ - [1666772098.647483][10494:10494] CHIP:DMG: AttributeReportIB = - [1666772098.647563][10494:10494] CHIP:DMG: { - [1666772098.647602][10494:10494] CHIP:DMG: AttributeDataIB = - [1666772098.647648][10494:10494] CHIP:DMG: { - [1666772098.647696][10494:10494] CHIP:DMG: DataVersion = 0x6d9ca432, - [1666772098.647739][10494:10494] CHIP:DMG: AttributePathIB = - [1666772098.647775][10494:10494] CHIP:DMG: { - [1666772098.647826][10494:10494] CHIP:DMG: Endpoint = 0x1, - [1666772098.647869][10494:10494] CHIP:DMG: Cluster = 0x200, - [1666772098.647921][10494:10494] CHIP:DMG: Attribute = 0x0000_0010, - [1666772098.647961][10494:10494] CHIP:DMG: } - [1666772098.648013][10494:10494] CHIP:DMG: - [1666772098.648056][10494:10494] CHIP:DMG: Data = 0, - [1666772098.648103][10494:10494] CHIP:DMG: }, - [1666772098.648145][10494:10494] CHIP:DMG: - [1666772098.648182][10494:10494] CHIP:DMG: }, - [1666772098.648223][10494:10494] CHIP:DMG: - [1666772098.648255][10494:10494] CHIP:DMG: ], - [1666772098.648294][10494:10494] CHIP:DMG: - [1666772098.648323][10494:10494] CHIP:DMG: SuppressResponse = true, - [1666772098.648356][10494:10494] CHIP:DMG: InteractionModelRevision = 1 + [1651564415.272861][8748:8748] CHIP:IM: Received Read request + [1651564415.272946][8748:8748] CHIP:DMG: ReadRequestMessage = + [1651564415.272990][8748:8748] CHIP:DMG: { + [1651564415.273025][8748:8748] CHIP:DMG: AttributePathIBs = + [1651564415.273067][8748:8748] CHIP:DMG: [ + [1651564415.273108][8748:8748] CHIP:DMG: AttributePathIB = + [1651564415.273155][8748:8748] CHIP:DMG: { + [1651564415.273200][8748:8748] CHIP:DMG: Endpoint = 0x1, + [1651564415.273253][8748:8748] CHIP:DMG: Cluster = 0x200, + [1651564415.273305][8748:8748] CHIP:DMG: Attribute = 0x0000_0010, + [1651564415.273349][8748:8748] CHIP:DMG: } + [1651564415.273395][8748:8748] CHIP:DMG: + [1651564415.273437][8748:8748] CHIP:DMG: ], + [1651564415.273477][8748:8748] CHIP:DMG: + [1651564415.273520][8748:8748] CHIP:DMG: isFabricFiltered = true, + [1651564415.273562][8748:8748] CHIP:DMG: InteractionModelRevision = 1 + [1651564415.273600][8748:8748] CHIP:DMG: }," ./chip-tool pumpconfigurationandcontrol read speed 1 1 verify on TH all-cluster-app receives the right ReadRequest for the data sent in the above command - [1666775916.891206][10494:10494] CHIP:DMG: ReportDataMessage = - [1666775916.891237][10494:10494] CHIP:DMG: { - [1666775916.891262][10494:10494] CHIP:DMG: AttributeReportIBs = - [1666775916.891299][10494:10494] CHIP:DMG: [ - [1666775916.891328][10494:10494] CHIP:DMG: AttributeReportIB = - [1666775916.891363][10494:10494] CHIP:DMG: { - [1666775916.891390][10494:10494] CHIP:DMG: AttributeDataIB = - [1666775916.891434][10494:10494] CHIP:DMG: { - [1666775916.891479][10494:10494] CHIP:DMG: DataVersion = 0x6d9ca432, - [1666775916.891548][10494:10494] CHIP:DMG: AttributePathIB = - [1666775916.891596][10494:10494] CHIP:DMG: { - [1666775916.891639][10494:10494] CHIP:DMG: Endpoint = 0x1, - [1666775916.891678][10494:10494] CHIP:DMG: Cluster = 0x200, - [1666775916.891726][10494:10494] CHIP:DMG: Attribute = 0x0000_0014, - [1666775916.891770][10494:10494] CHIP:DMG: } - [1666775916.891813][10494:10494] CHIP:DMG: - [1666775916.891855][10494:10494] CHIP:DMG: Data = 0, - [1666775916.891896][10494:10494] CHIP:DMG: }, - [1666775916.891942][10494:10494] CHIP:DMG: - [1666775916.891976][10494:10494] CHIP:DMG: }, - [1666775916.892009][10494:10494] CHIP:DMG: - [1666775916.892038][10494:10494] CHIP:DMG: ], - [1666775916.892075][10494:10494] CHIP:DMG: - [1666775916.892105][10494:10494] CHIP:DMG: SuppressResponse = true, - [1666775916.892136][10494:10494] CHIP:DMG: InteractionModelRevision = 1 - + [1651571041.252491][9246:9246] CHIP:IM: Received Read request + [1651571041.252548][9246:9246] CHIP:DMG: ReadRequestMessage = + [1651571041.252574][9246:9246] CHIP:DMG: { + [1651571041.252608][9246:9246] CHIP:DMG: AttributePathIBs = + [1651571041.252642][9246:9246] CHIP:DMG: [ + [1651571041.252679][9246:9246] CHIP:DMG: AttributePathIB = + [1651571041.252710][9246:9246] CHIP:DMG: { + [1651571041.252751][9246:9246] CHIP:DMG: Endpoint = 0x1, + [1651571041.252793][9246:9246] CHIP:DMG: Cluster = 0x200, + [1651571041.252826][9246:9246] CHIP:DMG: Attribute = 0x0000_0014, + [1651571041.252863][9246:9246] CHIP:DMG: } + [1651571041.252890][9246:9246] CHIP:DMG: + [1651571041.252926][9246:9246] CHIP:DMG: ], + [1651571041.252955][9246:9246] CHIP:DMG: + [1651571041.252990][9246:9246] CHIP:DMG: isFabricFiltered = true, + [1651571041.253016][9246:9246] CHIP:DMG: InteractionModelRevision = 1 + [1651571041.253049][9246:9246] CHIP:DMG: }," ./chip-tool pumpconfigurationandcontrol read lifetime-running-hours 1 1 verify on TH all-cluster-app receives the right ReadRequest for the data sent in the above command - [1666775941.808554][10494:10494] CHIP:DMG: ReportDataMessage = - [1666775941.808583][10494:10494] CHIP:DMG: { - [1666775941.808602][10494:10494] CHIP:DMG: AttributeReportIBs = - [1666775941.808633][10494:10494] CHIP:DMG: [ - [1666775941.808659][10494:10494] CHIP:DMG: AttributeReportIB = - [1666775941.808696][10494:10494] CHIP:DMG: { - [1666775941.808726][10494:10494] CHIP:DMG: AttributeDataIB = - [1666775941.808763][10494:10494] CHIP:DMG: { - [1666775941.808802][10494:10494] CHIP:DMG: DataVersion = 0x6d9ca432, - [1666775941.808835][10494:10494] CHIP:DMG: AttributePathIB = - [1666775941.808877][10494:10494] CHIP:DMG: { - [1666775941.808917][10494:10494] CHIP:DMG: Endpoint = 0x1, - [1666775941.808958][10494:10494] CHIP:DMG: Cluster = 0x200, - [1666775941.808994][10494:10494] CHIP:DMG: Attribute = 0x0000_0015, - [1666775941.809032][10494:10494] CHIP:DMG: } - [1666775941.809073][10494:10494] CHIP:DMG: - [1666775941.809113][10494:10494] CHIP:DMG: Data = 0, - [1666775941.809143][10494:10494] CHIP:DMG: }, - [1666775941.809182][10494:10494] CHIP:DMG: - [1666775941.809211][10494:10494] CHIP:DMG: }, - [1666775941.809250][10494:10494] CHIP:DMG: - [1666775941.809275][10494:10494] CHIP:DMG: ], - [1666775941.809306][10494:10494] CHIP:DMG: - [1666775941.809328][10494:10494] CHIP:DMG: SuppressResponse = true, - [1666775941.809357][10494:10494] CHIP:DMG: InteractionModelRevision = 1 - + [1651571194.810592][9337:9337] CHIP:IM: Received Read request + [1651571194.810647][9337:9337] CHIP:DMG: ReadRequestMessage = + [1651571194.810673][9337:9337] CHIP:DMG: { + [1651571194.810694][9337:9337] CHIP:DMG: AttributePathIBs = + [1651571194.810717][9337:9337] CHIP:DMG: [ + [1651571194.810741][9337:9337] CHIP:DMG: AttributePathIB = + [1651571194.810771][9337:9337] CHIP:DMG: { + [1651571194.810800][9337:9337] CHIP:DMG: Endpoint = 0x1, + [1651571194.810832][9337:9337] CHIP:DMG: Cluster = 0x200, + [1651571194.810863][9337:9337] CHIP:DMG: Attribute = 0x0000_0015, + [1651571194.810892][9337:9337] CHIP:DMG: } + [1651571194.810922][9337:9337] CHIP:DMG: + [1651571194.810947][9337:9337] CHIP:DMG: ], + [1651571194.810979][9337:9337] CHIP:DMG: + [1651571194.811005][9337:9337] CHIP:DMG: isFabricFiltered = true, + [1651571194.811030][9337:9337] CHIP:DMG: InteractionModelRevision = 1 + [1651571194.811053][9337:9337] CHIP:DMG: }," ./chip-tool pumpconfigurationandcontrol read power 1 1 verify on TH all-cluster-app receives the right ReadRequest for the data sent in the above command - [1666775963.227062][10494:10494] CHIP:DMG: ReportDataMessage = - [1666775963.227095][10494:10494] CHIP:DMG: { - [1666775963.227121][10494:10494] CHIP:DMG: AttributeReportIBs = - [1666775963.227165][10494:10494] CHIP:DMG: [ - [1666775963.227198][10494:10494] CHIP:DMG: AttributeReportIB = - [1666775963.227242][10494:10494] CHIP:DMG: { - [1666775963.227278][10494:10494] CHIP:DMG: AttributeDataIB = - [1666775963.227315][10494:10494] CHIP:DMG: { - [1666775963.227361][10494:10494] CHIP:DMG: DataVersion = 0x6d9ca432, - [1666775963.227399][10494:10494] CHIP:DMG: AttributePathIB = - [1666775963.227437][10494:10494] CHIP:DMG: { - [1666775963.227473][10494:10494] CHIP:DMG: Endpoint = 0x1, - [1666775963.227544][10494:10494] CHIP:DMG: Cluster = 0x200, - [1666775963.227582][10494:10494] CHIP:DMG: Attribute = 0x0000_0016, - [1666775963.227623][10494:10494] CHIP:DMG: } - [1666775963.227675][10494:10494] CHIP:DMG: - [1666775963.227717][10494:10494] CHIP:DMG: Data = 0, - [1666775963.227748][10494:10494] CHIP:DMG: }, - [1666775963.227783][10494:10494] CHIP:DMG: - [1666775963.227811][10494:10494] CHIP:DMG: }, - [1666775963.227850][10494:10494] CHIP:DMG: - [1666775963.227880][10494:10494] CHIP:DMG: ], - [1666775963.227920][10494:10494] CHIP:DMG: - [1666775963.227947][10494:10494] CHIP:DMG: SuppressResponse = true, - [1666775963.227975][10494:10494] CHIP:DMG: InteractionModelRevision = 1 - + [1651571264.121840][9337:9337] CHIP:IM: Received Read request + [1651571264.121896][9337:9337] CHIP:DMG: ReadRequestMessage = + [1651571264.121924][9337:9337] CHIP:DMG: { + [1651571264.121945][9337:9337] CHIP:DMG: AttributePathIBs = + [1651571264.121971][9337:9337] CHIP:DMG: [ + [1651571264.122002][9337:9337] CHIP:DMG: AttributePathIB = + [1651571264.122034][9337:9337] CHIP:DMG: { + [1651571264.122063][9337:9337] CHIP:DMG: Endpoint = 0x1, + [1651571264.122239][9337:9337] CHIP:DMG: Cluster = 0x200, + [1651571264.122271][9337:9337] CHIP:DMG: Attribute = 0x0000_0016, + [1651571264.122300][9337:9337] CHIP:DMG: } + [1651571264.122331][9337:9337] CHIP:DMG: + [1651571264.122361][9337:9337] CHIP:DMG: ], + [1651571264.122391][9337:9337] CHIP:DMG: + [1651571264.122418][9337:9337] CHIP:DMG: isFabricFiltered = true, + [1651571264.122444][9337:9337] CHIP:DMG: InteractionModelRevision = 1 + [1651571264.122468][9337:9337] CHIP:DMG: }," ./chip-tool pumpconfigurationandcontrol read lifetime-energy-consumed 1 1 verify on TH all-cluster-app receives the right ReadRequest for the data sent in the above command - [1666775985.498529][10494:10494] CHIP:DMG: ReportDataMessage = - [1666775985.498567][10494:10494] CHIP:DMG: { - [1666775985.498593][10494:10494] CHIP:DMG: AttributeReportIBs = - [1666775985.498640][10494:10494] CHIP:DMG: [ - [1666775985.498676][10494:10494] CHIP:DMG: AttributeReportIB = - [1666775985.498725][10494:10494] CHIP:DMG: { - [1666775985.498763][10494:10494] CHIP:DMG: AttributeDataIB = - [1666775985.498810][10494:10494] CHIP:DMG: { - [1666775985.498849][10494:10494] CHIP:DMG: DataVersion = 0x6d9ca432, - [1666775985.498900][10494:10494] CHIP:DMG: AttributePathIB = - [1666775985.498944][10494:10494] CHIP:DMG: { - [1666775985.498994][10494:10494] CHIP:DMG: Endpoint = 0x1, - [1666775985.499041][10494:10494] CHIP:DMG: Cluster = 0x200, - [1666775985.499094][10494:10494] CHIP:DMG: Attribute = 0x0000_0017, - [1666775985.499137][10494:10494] CHIP:DMG: } - [1666775985.499193][10494:10494] CHIP:DMG: - [1666775985.499239][10494:10494] CHIP:DMG: Data = 0, - [1666775985.499289][10494:10494] CHIP:DMG: }, - [1666775985.499334][10494:10494] CHIP:DMG: - [1666775985.499374][10494:10494] CHIP:DMG: }, - [1666775985.499422][10494:10494] CHIP:DMG: - [1666775985.499456][10494:10494] CHIP:DMG: ], - [1666775985.499520][10494:10494] CHIP:DMG: - [1666775985.499560][10494:10494] CHIP:DMG: SuppressResponse = true, - [1666775985.499596][10494:10494] CHIP:DMG: InteractionModelRevision = 1 - + [1651571293.017448][9337:9337] CHIP:IM: Received Read request + [1651571293.017534][9337:9337] CHIP:DMG: ReadRequestMessage = + [1651571293.017581][9337:9337] CHIP:DMG: { + [1651571293.017621][9337:9337] CHIP:DMG: AttributePathIBs = + [1651571293.017669][9337:9337] CHIP:DMG: [ + [1651571293.017715][9337:9337] CHIP:DMG: AttributePathIB = + [1651571293.017769][9337:9337] CHIP:DMG: { + [1651571293.017825][9337:9337] CHIP:DMG: Endpoint = 0x1, + [1651571293.017884][9337:9337] CHIP:DMG: Cluster = 0x200, + [1651571293.017942][9337:9337] CHIP:DMG: Attribute = 0x0000_0017, + [1651571293.017997][9337:9337] CHIP:DMG: } + [1651571293.018052][9337:9337] CHIP:DMG: + [1651571293.018148][9337:9337] CHIP:DMG: ], + [1651571293.018204][9337:9337] CHIP:DMG: + [1651571293.018256][9337:9337] CHIP:DMG: isFabricFiltered = true, + [1651571293.018304][9337:9337] CHIP:DMG: InteractionModelRevision = 1 + [1651571293.018348][9337:9337] CHIP:DMG: }," ./chip-tool pumpconfigurationandcontrol read control-mode 1 1 verify on TH all-cluster-app receives the right ReadRequest for the data sent in the above command - [1666776012.083729][10494:10494] CHIP:DMG: ReportDataMessage = - [1666776012.083771][10494:10494] CHIP:DMG: { - [1666776012.083801][10494:10494] CHIP:DMG: AttributeReportIBs = - [1666776012.083849][10494:10494] CHIP:DMG: [ - [1666776012.083882][10494:10494] CHIP:DMG: AttributeReportIB = - [1666776012.083926][10494:10494] CHIP:DMG: { - [1666776012.083963][10494:10494] CHIP:DMG: AttributeDataIB = - [1666776012.084019][10494:10494] CHIP:DMG: { - [1666776012.084078][10494:10494] CHIP:DMG: DataVersion = 0x6d9ca432, - [1666776012.084125][10494:10494] CHIP:DMG: AttributePathIB = - [1666776012.084185][10494:10494] CHIP:DMG: { - [1666776012.084244][10494:10494] CHIP:DMG: Endpoint = 0x1, - [1666776012.084297][10494:10494] CHIP:DMG: Cluster = 0x200, - [1666776012.084359][10494:10494] CHIP:DMG: Attribute = 0x0000_0021, - [1666776012.084417][10494:10494] CHIP:DMG: } - [1666776012.084472][10494:10494] CHIP:DMG: - [1666776012.084534][10494:10494] CHIP:DMG: Data = 0, - [1666776012.084581][10494:10494] CHIP:DMG: }, - [1666776012.084640][10494:10494] CHIP:DMG: - [1666776012.084680][10494:10494] CHIP:DMG: }, - [1666776012.084732][10494:10494] CHIP:DMG: - [1666776012.084769][10494:10494] CHIP:DMG: ], - [1666776012.084818][10494:10494] CHIP:DMG: - [1666776012.084858][10494:10494] CHIP:DMG: SuppressResponse = true, - [1666776012.084899][10494:10494] CHIP:DMG: InteractionModelRevision = 1 + [1651571369.365807][9337:9337] CHIP:IM: Received Read request + [1651571369.365907][9337:9337] CHIP:DMG: ReadRequestMessage = + [1651571369.365956][9337:9337] CHIP:DMG: { + [1651571369.365990][9337:9337] CHIP:DMG: AttributePathIBs = + [1651571369.366053][9337:9337] CHIP:DMG: [ + [1651571369.366136][9337:9337] CHIP:DMG: AttributePathIB = + [1651571369.366198][9337:9337] CHIP:DMG: { + [1651571369.366256][9337:9337] CHIP:DMG: Endpoint = 0x1, + [1651571369.366317][9337:9337] CHIP:DMG: Cluster = 0x200, + [1651571369.366395][9337:9337] CHIP:DMG: Attribute = 0x0000_0021, + [1651571369.366448][9337:9337] CHIP:DMG: } + [1651571369.366518][9337:9337] CHIP:DMG: + [1651571369.366592][9337:9337] CHIP:DMG: ], + [1651571369.366646][9337:9337] CHIP:DMG: + [1651571369.366713][9337:9337] CHIP:DMG: isFabricFiltered = true, + [1651571369.366770][9337:9337] CHIP:DMG: InteractionModelRevision = 1 + [1651571369.366827][9337:9337] CHIP:DMG: }," disabled: true - label: "DUT writes a suitable value to all supported mandatory attributes on - the TH one at a time in a manufacturer specific order" + the TH one at a time in a manufacturer specific order." verification: | - TH receives the write command and checks whether the value is valid, if value invalid provide appropriate feedback to DUT and flag test as FAIL + 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 pumpconfigurationandcontrol write operation-mode 0 1 1 verify on TH all-cluster-app receives the Write Request for the data sent in the above command - [1666776032.693781][10494:10494] CHIP:DMG: WriteResponseMessage = - [1666776032.693834][10494:10494] CHIP:DMG: { - [1666776032.693875][10494:10494] CHIP:DMG: AttributeStatusIBs = - [1666776032.693939][10494:10494] CHIP:DMG: [ - [1666776032.693987][10494:10494] CHIP:DMG: AttributeStatusIB = - [1666776032.694046][10494:10494] CHIP:DMG: { - [1666776032.694091][10494:10494] CHIP:DMG: AttributePathIB = - [1666776032.694151][10494:10494] CHIP:DMG: { - [1666776032.694215][10494:10494] CHIP:DMG: Endpoint = 0x1, - [1666776032.694289][10494:10494] CHIP:DMG: Cluster = 0x200, - [1666776032.694362][10494:10494] CHIP:DMG: Attribute = 0x0000_0020, - [1666776032.694423][10494:10494] CHIP:DMG: } - [1666776032.694501][10494:10494] CHIP:DMG: - [1666776032.694567][10494:10494] CHIP:DMG: StatusIB = - [1666776032.694637][10494:10494] CHIP:DMG: { - [1666776032.694707][10494:10494] CHIP:DMG: status = 0x00 (SUCCESS), - [1666776032.694776][10494:10494] CHIP:DMG: }, - [1666776032.694845][10494:10494] CHIP:DMG: - [1666776032.694891][10494:10494] CHIP:DMG: }, - [1666776032.694954][10494:10494] CHIP:DMG: - [1666776032.694995][10494:10494] CHIP:DMG: ], - [1666776032.695053][10494:10494] CHIP:DMG: - [1666776032.695100][10494:10494] CHIP:DMG: InteractionModelRevision = 1 + [1652858465.008652][2107:2107] CHIP:IM: Received Write request + [1652858465.008695][2107:2107] CHIP:DMG: IM WH moving to [Initialized] + [1652858465.008858][2107:2107] CHIP:DMG: WriteRequestMessage = + [1652858465.008908][2107:2107] CHIP:DMG: { + [1652858465.008950][2107:2107] CHIP:DMG: suppressResponse = false, + [1652858465.008999][2107:2107] CHIP:DMG: timedRequest = false, + [1652858465.009045][2107:2107] CHIP:DMG: AttributeDataIBs = + [1652858465.009088][2107:2107] CHIP:DMG: [ + [1652858465.009115][2107:2107] CHIP:DMG: AttributeDataIB = + [1652858465.009150][2107:2107] CHIP:DMG: { + [1652858465.009235][2107:2107] CHIP:DMG: AttributePathIB = + [1652858465.009279][2107:2107] CHIP:DMG: { + [1652858465.009316][2107:2107] CHIP:DMG: Endpoint = 0x1, + [1652858465.009359][2107:2107] CHIP:DMG: Cluster = 0x200, + [1652858465.009399][2107:2107] CHIP:DMG: Attribute = 0x0000_0020, + [1652858465.009434][2107:2107] CHIP:DMG: } + [1652858465.009475][2107:2107] CHIP:DMG: + [1652858465.009514][2107:2107] CHIP:DMG: Data = 0, + [1652858465.009552][2107:2107] CHIP:DMG: }, + [1652858465.009588][2107:2107] CHIP:DMG: + [1652858465.009615][2107:2107] CHIP:DMG: ], + [1652858465.009648][2107:2107] CHIP:DMG: + [1652858465.009677][2107:2107] CHIP:DMG: moreChunkedMessages = false, + [1652858465.009706][2107:2107] CHIP:DMG: InteractionModelRevision = 1 + [1652858465.009732][2107:2107] CHIP:DMG: }, + [1652858465.009826][2107:2107] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0200 e=1 p=m + [1652858465.009867][2107:2107] CHIP:DMG: AccessControl: allowed disabled: true - label: "DUT writes a suitable value to all supported optional attributes on - the TH one at a time in a manufacturer specific order" + the TH one at a time in a manufacturer specific order." verification: | - TH receives the write command and checks whether the value is valid, if value invalid provide appropriate feedback to DUT and flag test as FAIL + 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 pumpconfigurationandcontrol write control-mode 0 1 1 verify on TH all-cluster-app receives the Write Request for the data sent in the above command - [1666776062.178337][10494:10494] CHIP:DMG: WriteResponseMessage = - [1666776062.178382][10494:10494] CHIP:DMG: { - [1666776062.178414][10494:10494] CHIP:DMG: AttributeStatusIBs = - [1666776062.178467][10494:10494] CHIP:DMG: [ - [1666776062.178510][10494:10494] CHIP:DMG: AttributeStatusIB = - [1666776062.178554][10494:10494] CHIP:DMG: { - [1666776062.178593][10494:10494] CHIP:DMG: AttributePathIB = - [1666776062.178647][10494:10494] CHIP:DMG: { - [1666776062.178699][10494:10494] CHIP:DMG: Endpoint = 0x1, - [1666776062.178758][10494:10494] CHIP:DMG: Cluster = 0x200, - [1666776062.178816][10494:10494] CHIP:DMG: Attribute = 0x0000_0021, - [1666776062.178881][10494:10494] CHIP:DMG: } - [1666776062.178943][10494:10494] CHIP:DMG: - [1666776062.178996][10494:10494] CHIP:DMG: StatusIB = - [1666776062.179041][10494:10494] CHIP:DMG: { - [1666776062.179085][10494:10494] CHIP:DMG: status = 0x00 (SUCCESS), - [1666776062.179146][10494:10494] CHIP:DMG: }, - [1666776062.179200][10494:10494] CHIP:DMG: - [1666776062.179249][10494:10494] CHIP:DMG: }, - [1666776062.179305][10494:10494] CHIP:DMG: - [1666776062.179350][10494:10494] CHIP:DMG: ], - [1666776062.179400][10494:10494] CHIP:DMG: - [1666776062.179444][10494:10494] CHIP:DMG: InteractionModelRevision = 1 - + [1652858653.083434][2107:2107] CHIP:IM: Received Write request + [1652858653.083469][2107:2107] CHIP:DMG: IM WH moving to [Initialized] + [1652858653.083544][2107:2107] CHIP:DMG: WriteRequestMessage = + [1652858653.083588][2107:2107] CHIP:DMG: { + [1652858653.083623][2107:2107] CHIP:DMG: suppressResponse = false, + [1652858653.083687][2107:2107] CHIP:DMG: timedRequest = false, + [1652858653.083726][2107:2107] CHIP:DMG: AttributeDataIBs = + [1652858653.083771][2107:2107] CHIP:DMG: [ + [1652858653.083807][2107:2107] CHIP:DMG: AttributeDataIB = + [1652858653.083848][2107:2107] CHIP:DMG: { + [1652858653.083886][2107:2107] CHIP:DMG: AttributePathIB = + [1652858653.083933][2107:2107] CHIP:DMG: { + [1652858653.083981][2107:2107] CHIP:DMG: Endpoint = 0x1, + [1652858653.084027][2107:2107] CHIP:DMG: Cluster = 0x200, + [1652858653.084079][2107:2107] CHIP:DMG: Attribute = 0x0000_0021, + [1652858653.084121][2107:2107] CHIP:DMG: } + [1652858653.084169][2107:2107] CHIP:DMG: + [1652858653.084222][2107:2107] CHIP:DMG: Data = 0, + [1652858653.084268][2107:2107] CHIP:DMG: }, + [1652858653.084312][2107:2107] CHIP:DMG: + [1652858653.084348][2107:2107] CHIP:DMG: ], + [1652858653.084391][2107:2107] CHIP:DMG: + [1652858653.084428][2107:2107] CHIP:DMG: moreChunkedMessages = false, + [1652858653.084465][2107:2107] CHIP:DMG: InteractionModelRevision = 1 + [1652858653.084499][2107:2107] CHIP:DMG: }, + [1652858653.084617][2107:2107] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0200 e=1 p=m + [1652858653.084669][2107:2107] CHIP:DMG: AccessControl: allowed + [1652858653.084727][2107:2107] CHIP:DMG: Endpoint 1, Cluster 0x0000_0200 update version to b7ba155c ./chip-tool pumpconfigurationandcontrol write lifetime-running-hours 1 1 1 verify on TH all-cluster-app receives the Write Request for the data sent in the above command - [1666776094.302969][10494:10494] CHIP:DMG: WriteResponseMessage = - [1666776094.302999][10494:10494] CHIP:DMG: { - [1666776094.303022][10494:10494] CHIP:DMG: AttributeStatusIBs = - [1666776094.303065][10494:10494] CHIP:DMG: [ - [1666776094.303095][10494:10494] CHIP:DMG: AttributeStatusIB = - [1666776094.303131][10494:10494] CHIP:DMG: { - [1666776094.303164][10494:10494] CHIP:DMG: AttributePathIB = - [1666776094.303206][10494:10494] CHIP:DMG: { - [1666776094.303245][10494:10494] CHIP:DMG: Endpoint = 0x1, - [1666776094.303288][10494:10494] CHIP:DMG: Cluster = 0x200, - [1666776094.303324][10494:10494] CHIP:DMG: Attribute = 0x0000_0015, - [1666776094.303365][10494:10494] CHIP:DMG: } - [1666776094.303407][10494:10494] CHIP:DMG: - [1666776094.303447][10494:10494] CHIP:DMG: StatusIB = - [1666776094.303485][10494:10494] CHIP:DMG: { - [1666776094.303550][10494:10494] CHIP:DMG: status = 0x00 (SUCCESS), - [1666776094.303591][10494:10494] CHIP:DMG: }, - [1666776094.303625][10494:10494] CHIP:DMG: - [1666776094.303657][10494:10494] CHIP:DMG: }, - [1666776094.303690][10494:10494] CHIP:DMG: - [1666776094.303718][10494:10494] CHIP:DMG: ], - [1666776094.303751][10494:10494] CHIP:DMG: - [1666776094.303781][10494:10494] CHIP:DMG: InteractionModelRevision = 1 - + [1652858777.844427][2107:2107] CHIP:IM: Received Write request + [1652858777.844450][2107:2107] CHIP:DMG: IM WH moving to [Initialized] + [1652858777.844508][2107:2107] CHIP:DMG: WriteRequestMessage = + [1652858777.844535][2107:2107] CHIP:DMG: { + [1652858777.844558][2107:2107] CHIP:DMG: suppressResponse = false, + [1652858777.844585][2107:2107] CHIP:DMG: timedRequest = false, + [1652858777.844611][2107:2107] CHIP:DMG: AttributeDataIBs = + [1652858777.844640][2107:2107] CHIP:DMG: [ + [1652858777.844666][2107:2107] CHIP:DMG: AttributeDataIB = + [1652858777.844691][2107:2107] CHIP:DMG: { + [1652858777.844713][2107:2107] CHIP:DMG: AttributePathIB = + [1652858777.844740][2107:2107] CHIP:DMG: { + [1652858777.844770][2107:2107] CHIP:DMG: Endpoint = 0x1, + [1652858777.844804][2107:2107] CHIP:DMG: Cluster = 0x200, + [1652858777.844847][2107:2107] CHIP:DMG: Attribute = 0x0000_0015, + [1652858777.844877][2107:2107] CHIP:DMG: } + [1652858777.844909][2107:2107] CHIP:DMG: + [1652858777.844941][2107:2107] CHIP:DMG: Data = 1, + [1652858777.844970][2107:2107] CHIP:DMG: }, + [1652858777.845000][2107:2107] CHIP:DMG: + [1652858777.845023][2107:2107] CHIP:DMG: ], + [1652858777.845052][2107:2107] CHIP:DMG: + [1652858777.845076][2107:2107] CHIP:DMG: moreChunkedMessages = false, + [1652858777.845101][2107:2107] CHIP:DMG: InteractionModelRevision = 1 + [1652858777.845125][2107:2107] CHIP:DMG: }, + [1652858777.845214][2107:2107] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0200 e=1 p=m + [1652858777.845258][2107:2107] CHIP:DMG: AccessControl: allowed + [1652858777.845300][2107:2107] CHIP:DMG: Endpoint 1, Cluster 0x0000_0200 update version to b7ba155e ./chip-tool pumpconfigurationandcontrol write lifetime-energy-consumed 1 1 1 verify on TH all-cluster-app receives the Write Request for the data sent in the above command - [1666776121.993496][10494:10494] CHIP:DMG: WriteResponseMessage = - [1666776121.993534][10494:10494] CHIP:DMG: { - [1666776121.993565][10494:10494] CHIP:DMG: AttributeStatusIBs = - [1666776121.993605][10494:10494] CHIP:DMG: [ - [1666776121.993639][10494:10494] CHIP:DMG: AttributeStatusIB = - [1666776121.993688][10494:10494] CHIP:DMG: { - [1666776121.993729][10494:10494] CHIP:DMG: AttributePathIB = - [1666776121.993779][10494:10494] CHIP:DMG: { - [1666776121.993833][10494:10494] CHIP:DMG: Endpoint = 0x1, - [1666776121.993887][10494:10494] CHIP:DMG: Cluster = 0x200, - [1666776121.993935][10494:10494] CHIP:DMG: Attribute = 0x0000_0017, - [1666776121.993985][10494:10494] CHIP:DMG: } - [1666776121.994041][10494:10494] CHIP:DMG: - [1666776121.994085][10494:10494] CHIP:DMG: StatusIB = - [1666776121.994136][10494:10494] CHIP:DMG: { - [1666776121.994178][10494:10494] CHIP:DMG: status = 0x00 (SUCCESS), - [1666776121.994228][10494:10494] CHIP:DMG: }, - [1666776121.994279][10494:10494] CHIP:DMG: - [1666776121.994318][10494:10494] CHIP:DMG: }, - [1666776121.994357][10494:10494] CHIP:DMG: - [1666776121.994387][10494:10494] CHIP:DMG: ], - [1666776121.994429][10494:10494] CHIP:DMG: - [1666776121.994463][10494:10494] CHIP:DMG: InteractionModelRevision = 1 + [1652858844.149759][2107:2107] CHIP:IM: Received Write request + [1652858844.149801][2107:2107] CHIP:DMG: IM WH moving to [Initialized] + [1652858844.149889][2107:2107] CHIP:DMG: WriteRequestMessage = + [1652858844.149935][2107:2107] CHIP:DMG: { + [1652858844.149978][2107:2107] CHIP:DMG: suppressResponse = false, + [1652858844.150027][2107:2107] CHIP:DMG: timedRequest = false, + [1652858844.150073][2107:2107] CHIP:DMG: AttributeDataIBs = + [1652858844.150165][2107:2107] CHIP:DMG: [ + [1652858844.150211][2107:2107] CHIP:DMG: AttributeDataIB = + [1652858844.150264][2107:2107] CHIP:DMG: { + [1652858844.150315][2107:2107] CHIP:DMG: AttributePathIB = + [1652858844.150378][2107:2107] CHIP:DMG: { + [1652858844.150435][2107:2107] CHIP:DMG: Endpoint = 0x1, + [1652858844.150503][2107:2107] CHIP:DMG: Cluster = 0x200, + [1652858844.150568][2107:2107] CHIP:DMG: Attribute = 0x0000_0017, + [1652858844.150726][2107:2107] CHIP:DMG: } + [1652858844.150798][2107:2107] CHIP:DMG: + [1652858844.150860][2107:2107] CHIP:DMG: Data = 1, + [1652858844.150922][2107:2107] CHIP:DMG: }, + [1652858844.150980][2107:2107] CHIP:DMG: + [1652858844.151028][2107:2107] CHIP:DMG: ], + [1652858844.151081][2107:2107] CHIP:DMG: + [1652858844.151127][2107:2107] CHIP:DMG: moreChunkedMessages = false, + [1652858844.151173][2107:2107] CHIP:DMG: InteractionModelRevision = 1 + [1652858844.151216][2107:2107] CHIP:DMG: }, + [1652858844.151359][2107:2107] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0200 e=1 p=m + [1652858844.151421][2107:2107] CHIP:DMG: AccessControl: allowed + [1652858844.151488][2107:2107] CHIP:DMG: Endpoint 1, Cluster 0x0000_0200 update version to b7ba155f disabled: true - label: "Configure TH such that it implements mandatory and none of the optional attributes of the server-side of the cluster, and that it also reflects this in global attributes such as FeatureMap and - AttributeList. Commission DUT to TH again" + AttributeList. Commission DUT to TH again." verification: | - Verify TH(all-clusters-minimal-app) that it implements mandatory and none of the optional attributes of the server-side of the cluster, and that it also reflects this in global attributes such as FeatureMap and AttributeList. + 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 pumpconfigurationandcontrol read attribute-list 1 1 - verify on TH all-cluster-app receives the right ReadRequest for the data sent in the above command - [1666776235.329358][10585:10585] CHIP:DMG: ReportDataMessage = - [1666776235.329403][10585:10585] CHIP:DMG: { - [1666776235.329439][10585:10585] CHIP:DMG: AttributeReportIBs = - [1666776235.329490][10585:10585] CHIP:DMG: [ - [1666776235.329531][10585:10585] CHIP:DMG: AttributeReportIB = - [1666776235.329590][10585:10585] CHIP:DMG: { - [1666776235.329630][10585:10585] CHIP:DMG: AttributeDataIB = - [1666776235.329680][10585:10585] CHIP:DMG: { - [1666776235.329736][10585:10585] CHIP:DMG: DataVersion = 0xbe8610d, - [1666776235.329787][10585:10585] CHIP:DMG: AttributePathIB = - [1666776235.329851][10585:10585] CHIP:DMG: { - [1666776235.329904][10585:10585] CHIP:DMG: Endpoint = 0x1, - [1666776235.329972][10585:10585] CHIP:DMG: Cluster = 0x200, - [1666776235.330028][10585:10585] CHIP:DMG: Attribute = 0x0000_FFFB, - [1666776235.330091][10585:10585] CHIP:DMG: } - [1666776235.330147][10585:10585] CHIP:DMG: - [1666776235.330196][10585:10585] CHIP:DMG: Data = [ - [1666776235.330253][10585:10585] CHIP:DMG: - [1666776235.330321][10585:10585] CHIP:DMG: ], - [1666776235.330373][10585:10585] CHIP:DMG: }, - [1666776235.330438][10585:10585] CHIP:DMG: - [1666776235.330486][10585:10585] CHIP:DMG: }, - [1666776235.330543][10585:10585] CHIP:DMG: - [1666776235.330585][10585:10585] CHIP:DMG: AttributeReportIB = - [1666776235.330634][10585:10585] CHIP:DMG: { - [1666776235.330682][10585:10585] CHIP:DMG: AttributeDataIB = - [1666776235.330735][10585:10585] CHIP:DMG: { - [1666776235.330796][10585:10585] CHIP:DMG: DataVersion = 0xbe8610d, - [1666776235.330860][10585:10585] CHIP:DMG: AttributePathIB = - [1666776235.330911][10585:10585] CHIP:DMG: { - [1666776235.330975][10585:10585] CHIP:DMG: Endpoint = 0x1, - [1666776235.331042][10585:10585] CHIP:DMG: Cluster = 0x200, - [1666776235.331109][10585:10585] CHIP:DMG: Attribute = 0x0000_FFFB, - [1666776235.331163][10585:10585] CHIP:DMG: ListIndex = Null, - [1666776235.331226][10585:10585] CHIP:DMG: } - [1666776235.331294][10585:10585] CHIP:DMG: - [1666776235.331352][10585:10585] CHIP:DMG: Data = 0, - [1666776235.331412][10585:10585] CHIP:DMG: }, - [1666776235.331478][10585:10585] CHIP:DMG: - [1666776235.331546][10585:10585] CHIP:DMG: }, - [1666776235.331614][10585:10585] CHIP:DMG: - [1666776235.331656][10585:10585] CHIP:DMG: AttributeReportIB = - [1666776235.331708][10585:10585] CHIP:DMG: { - [1666776235.331756][10585:10585] CHIP:DMG: AttributeDataIB = - [1666776235.331817][10585:10585] CHIP:DMG: { - [1666776235.331869][10585:10585] CHIP:DMG: DataVersion = 0xbe8610d, - [1666776235.331916][10585:10585] CHIP:DMG: AttributePathIB = - [1666776235.331980][10585:10585] CHIP:DMG: { - [1666776235.332044][10585:10585] CHIP:DMG: Endpoint = 0x1, - [1666776235.332124][10585:10585] CHIP:DMG: Cluster = 0x200, - [1666776235.332192][10585:10585] CHIP:DMG: Attribute = 0x0000_FFFB, - [1666776235.332242][10585:10585] CHIP:DMG: ListIndex = Null, - [1666776235.332305][10585:10585] CHIP:DMG: } - [1666776235.332360][10585:10585] CHIP:DMG: - [1666776235.332425][10585:10585] CHIP:DMG: Data = 1, - [1666776235.332473][10585:10585] CHIP:DMG: }, - [1666776235.332527][10585:10585] CHIP:DMG: - [1666776235.332569][10585:10585] CHIP:DMG: }, - [1666776235.332634][10585:10585] CHIP:DMG: - [1666776235.332676][10585:10585] CHIP:DMG: AttributeReportIB = - [1666776235.332726][10585:10585] CHIP:DMG: { - [1666776235.332773][10585:10585] CHIP:DMG: AttributeDataIB = - [1666776235.332826][10585:10585] CHIP:DMG: { - [1666776235.332887][10585:10585] CHIP:DMG: DataVersion = 0xbe8610d, - [1666776235.332947][10585:10585] CHIP:DMG: AttributePathIB = - [1666776235.333009][10585:10585] CHIP:DMG: { - [1666776235.333069][10585:10585] CHIP:DMG: Endpoint = 0x1, - [1666776235.333136][10585:10585] CHIP:DMG: Cluster = 0x200, - [1666776235.333196][10585:10585] CHIP:DMG: Attribute = 0x0000_FFFB, - [1666776235.333262][10585:10585] CHIP:DMG: ListIndex = Null, - [1666776235.333319][10585:10585] CHIP:DMG: } - [1666776235.333379][10585:10585] CHIP:DMG: - [1666776235.333432][10585:10585] CHIP:DMG: Data = 2, - [1666776235.333492][10585:10585] CHIP:DMG: }, - [1666776235.333550][10585:10585] CHIP:DMG: - [1666776235.333597][10585:10585] CHIP:DMG: }, - [1666776235.333653][10585:10585] CHIP:DMG: - [1666776235.333697][10585:10585] CHIP:DMG: AttributeReportIB = - [1666776235.333755][10585:10585] CHIP:DMG: { - [1666776235.333799][10585:10585] CHIP:DMG: AttributeDataIB = - [1666776235.333853][10585:10585] CHIP:DMG: { - [1666776235.333908][10585:10585] CHIP:DMG: DataVersion = 0xbe8610d, - [1666776235.333955][10585:10585] CHIP:DMG: AttributePathIB = - [1666776235.334016][10585:10585] CHIP:DMG: { - [1666776235.334066][10585:10585] CHIP:DMG: Endpoint = 0x1, - [1666776235.334128][10585:10585] CHIP:DMG: Cluster = 0x200, - [1666776235.334184][10585:10585] CHIP:DMG: Attribute = 0x0000_FFFB, - [1666776235.334251][10585:10585] CHIP:DMG: ListIndex = Null, - [1666776235.334302][10585:10585] CHIP:DMG: } - [1666776235.334355][10585:10585] CHIP:DMG: - [1666776235.334421][10585:10585] CHIP:DMG: Data = 17, - [1666776235.334481][10585:10585] CHIP:DMG: }, - [1666776235.334539][10585:10585] CHIP:DMG: - [1666776235.334582][10585:10585] CHIP:DMG: }, - [1666776235.334647][10585:10585] CHIP:DMG: - [1666776235.334689][10585:10585] CHIP:DMG: AttributeReportIB = - [1666776235.334746][10585:10585] CHIP:DMG: { - [1666776235.334785][10585:10585] CHIP:DMG: AttributeDataIB = - [1666776235.334859][10585:10585] CHIP:DMG: { - [1666776235.334923][10585:10585] CHIP:DMG: DataVersion = 0xbe8610d, - [1666776235.334985][10585:10585] CHIP:DMG: AttributePathIB = - [1666776235.335046][10585:10585] CHIP:DMG: { - [1666776235.335094][10585:10585] CHIP:DMG: Endpoint = 0x1, - [1666776235.335160][10585:10585] CHIP:DMG: Cluster = 0x200, - [1666776235.335215][10585:10585] CHIP:DMG: Attribute = 0x0000_FFFB, - [1666776235.335280][10585:10585] CHIP:DMG: ListIndex = Null, - [1666776235.335332][10585:10585] CHIP:DMG: } - [1666776235.335400][10585:10585] CHIP:DMG: - [1666776235.335454][10585:10585] CHIP:DMG: Data = 18, - [1666776235.335611][10585:10585] CHIP:DMG: }, - [1666776235.335679][10585:10585] CHIP:DMG: - [1666776235.335718][10585:10585] CHIP:DMG: }, - [1666776235.335783][10585:10585] CHIP:DMG: - [1666776235.335826][10585:10585] CHIP:DMG: AttributeReportIB = - [1666776235.335883][10585:10585] CHIP:DMG: { - [1666776235.336046][10585:10585] CHIP:DMG: AttributeDataIB = - [1666776235.336097][10585:10585] CHIP:DMG: { - [1666776235.336141][10585:10585] CHIP:DMG: DataVersion = 0xbe8610d, - [1666776235.336202][10585:10585] CHIP:DMG: AttributePathIB = - [1666776235.336260][10585:10585] CHIP:DMG: { - [1666776235.336324][10585:10585] CHIP:DMG: Endpoint = 0x1, - [1666776235.336386][10585:10585] CHIP:DMG: Cluster = 0x200, - [1666776235.336455][10585:10585] CHIP:DMG: Attribute = 0x0000_FFFB, - [1666776235.336509][10585:10585] CHIP:DMG: ListIndex = Null, - [1666776235.336572][10585:10585] CHIP:DMG: } - [1666776235.336632][10585:10585] CHIP:DMG: - [1666776235.336697][10585:10585] CHIP:DMG: Data = 19, - [1666776235.336751][10585:10585] CHIP:DMG: }, - [1666776235.336809][10585:10585] CHIP:DMG: - [1666776235.336853][10585:10585] CHIP:DMG: }, - [1666776235.336917][10585:10585] CHIP:DMG: - [1666776235.336959][10585:10585] CHIP:DMG: AttributeReportIB = - [1666776235.337018][10585:10585] CHIP:DMG: { - [1666776235.337060][10585:10585] CHIP:DMG: AttributeDataIB = - [1666776235.337119][10585:10585] CHIP:DMG: { - [1666776235.337181][10585:10585] CHIP:DMG: DataVersion = 0xbe8610d, - [1666776235.337231][10585:10585] CHIP:DMG: AttributePathIB = - [1666776235.337293][10585:10585] CHIP:DMG: { - [1666776235.337357][10585:10585] CHIP:DMG: Endpoint = 0x1, - [1666776235.337422][10585:10585] CHIP:DMG: Cluster = 0x200, - [1666776235.337476][10585:10585] CHIP:DMG: Attribute = 0x0000_FFFB, - [1666776235.337541][10585:10585] CHIP:DMG: ListIndex = Null, - [1666776235.337601][10585:10585] CHIP:DMG: } - [1666776235.337664][10585:10585] CHIP:DMG: - [1666776235.337717][10585:10585] CHIP:DMG: Data = 32, - [1666776235.337776][10585:10585] CHIP:DMG: }, - [1666776235.337840][10585:10585] CHIP:DMG: - [1666776235.337887][10585:10585] CHIP:DMG: }, - [1666776235.337952][10585:10585] CHIP:DMG: - [1666776235.337989][10585:10585] CHIP:DMG: AttributeReportIB = - [1666776235.338045][10585:10585] CHIP:DMG: { - [1666776235.338093][10585:10585] CHIP:DMG: AttributeDataIB = - [1666776235.338123][10585:10585] CHIP:DMG: { - [1666776235.338154][10585:10585] CHIP:DMG: DataVersion = 0xbe8610d, - [1666776235.338183][10585:10585] CHIP:DMG: AttributePathIB = - [1666776235.338270][10585:10585] CHIP:DMG: { - [1666776235.338303][10585:10585] CHIP:DMG: Endpoint = 0x1, - [1666776235.338336][10585:10585] CHIP:DMG: Cluster = 0x200, - [1666776235.338370][10585:10585] CHIP:DMG: Attribute = 0x0000_FFFB, - [1666776235.338397][10585:10585] CHIP:DMG: ListIndex = Null, - [1666776235.338429][10585:10585] CHIP:DMG: } - [1666776235.338458][10585:10585] CHIP:DMG: - [1666776235.338490][10585:10585] CHIP:DMG: Data = 65528, - [1666776235.338518][10585:10585] CHIP:DMG: }, - [1666776235.338547][10585:10585] CHIP:DMG: - [1666776235.338571][10585:10585] CHIP:DMG: }, - [1666776235.338603][10585:10585] CHIP:DMG: - [1666776235.338624][10585:10585] CHIP:DMG: AttributeReportIB = - [1666776235.338654][10585:10585] CHIP:DMG: { - [1666776235.338675][10585:10585] CHIP:DMG: AttributeDataIB = - [1666776235.338697][10585:10585] CHIP:DMG: { - [1666776235.338727][10585:10585] CHIP:DMG: DataVersion = 0xbe8610d, - [1666776235.338755][10585:10585] CHIP:DMG: AttributePathIB = - [1666776235.338786][10585:10585] CHIP:DMG: { - [1666776235.338818][10585:10585] CHIP:DMG: Endpoint = 0x1, - [1666776235.338851][10585:10585] CHIP:DMG: Cluster = 0x200, - [1666776235.338879][10585:10585] CHIP:DMG: Attribute = 0x0000_FFFB, - [1666776235.338911][10585:10585] CHIP:DMG: ListIndex = Null, - [1666776235.338939][10585:10585] CHIP:DMG: } - [1666776235.338972][10585:10585] CHIP:DMG: - [1666776235.339003][10585:10585] CHIP:DMG: Data = 65529, - [1666776235.339032][10585:10585] CHIP:DMG: }, - [1666776235.339062][10585:10585] CHIP:DMG: - [1666776235.339085][10585:10585] CHIP:DMG: }, - [1666776235.339120][10585:10585] CHIP:DMG: - [1666776235.339141][10585:10585] CHIP:DMG: AttributeReportIB = - [1666776235.339173][10585:10585] CHIP:DMG: { - [1666776235.339196][10585:10585] CHIP:DMG: AttributeDataIB = - [1666776235.339225][10585:10585] CHIP:DMG: { - [1666776235.339252][10585:10585] CHIP:DMG: DataVersion = 0xbe8610d, - [1666776235.339277][10585:10585] CHIP:DMG: AttributePathIB = - [1666776235.339308][10585:10585] CHIP:DMG: { - [1666776235.339339][10585:10585] CHIP:DMG: Endpoint = 0x1, - [1666776235.339373][10585:10585] CHIP:DMG: Cluster = 0x200, - [1666776235.339403][10585:10585] CHIP:DMG: Attribute = 0x0000_FFFB, - [1666776235.339437][10585:10585] CHIP:DMG: ListIndex = Null, - [1666776235.339462][10585:10585] CHIP:DMG: } - [1666776235.339511][10585:10585] CHIP:DMG: - [1666776235.339542][10585:10585] CHIP:DMG: Data = 65531, - [1666776235.339571][10585:10585] CHIP:DMG: }, - [1666776235.339603][10585:10585] CHIP:DMG: - [1666776235.339625][10585:10585] CHIP:DMG: }, - [1666776235.339654][10585:10585] CHIP:DMG: - [1666776235.339672][10585:10585] CHIP:DMG: AttributeReportIB = - [1666776235.339705][10585:10585] CHIP:DMG: { - [1666776235.339729][10585:10585] CHIP:DMG: AttributeDataIB = - [1666776235.339757][10585:10585] CHIP:DMG: { - [1666776235.339787][10585:10585] CHIP:DMG: DataVersion = 0xbe8610d, - [1666776235.339818][10585:10585] CHIP:DMG: AttributePathIB = - [1666776235.339849][10585:10585] CHIP:DMG: { - [1666776235.339875][10585:10585] CHIP:DMG: Endpoint = 0x1, - [1666776235.339906][10585:10585] CHIP:DMG: Cluster = 0x200, - [1666776235.339943][10585:10585] CHIP:DMG: Attribute = 0x0000_FFFB, - [1666776235.339975][10585:10585] CHIP:DMG: ListIndex = Null, - [1666776235.339999][10585:10585] CHIP:DMG: } - [1666776235.340032][10585:10585] CHIP:DMG: - [1666776235.340061][10585:10585] CHIP:DMG: Data = 65532, - [1666776235.340087][10585:10585] CHIP:DMG: }, - [1666776235.340116][10585:10585] CHIP:DMG: - [1666776235.340136][10585:10585] CHIP:DMG: }, - [1666776235.340166][10585:10585] CHIP:DMG: - [1666776235.340184][10585:10585] CHIP:DMG: AttributeReportIB = - [1666776235.340211][10585:10585] CHIP:DMG: { - [1666776235.340235][10585:10585] CHIP:DMG: AttributeDataIB = - [1666776235.340257][10585:10585] CHIP:DMG: { - [1666776235.340287][10585:10585] CHIP:DMG: DataVersion = 0xbe8610d, - [1666776235.340310][10585:10585] CHIP:DMG: AttributePathIB = - [1666776235.340333][10585:10585] CHIP:DMG: { - [1666776235.340362][10585:10585] CHIP:DMG: Endpoint = 0x1, - [1666776235.340394][10585:10585] CHIP:DMG: Cluster = 0x200, - [1666776235.340424][10585:10585] CHIP:DMG: Attribute = 0x0000_FFFB, - [1666776235.340457][10585:10585] CHIP:DMG: ListIndex = Null, - [1666776235.340487][10585:10585] CHIP:DMG: } - [1666776235.340514][10585:10585] CHIP:DMG: - [1666776235.340546][10585:10585] CHIP:DMG: Data = 65533, - [1666776235.340571][10585:10585] CHIP:DMG: }, - [1666776235.340603][10585:10585] CHIP:DMG: - [1666776235.340625][10585:10585] CHIP:DMG: }, - [1666776235.340650][10585:10585] CHIP:DMG: - [1666776235.340670][10585:10585] CHIP:DMG: ], - [1666776235.340736][10585:10585] CHIP:DMG: - [1666776235.340756][10585:10585] CHIP:DMG: SuppressResponse = true, - [1666776235.340778][10585:10585] CHIP:DMG: InteractionModelRevision = 1 + ./chip-tool pumpconfigurationandcontrol read attribute-list 1 1 + verify on TH all-cluster-app receives the right ReadRequest for the data sent in the above command + + [1660745892.540246][3657:3657] CHIP:IM: Received Read request + [1660745892.540323][3657:3657] CHIP:DMG: ReadRequestMessage = + [1660745892.540346][3657:3657] CHIP:DMG: { + [1660745892.540364][3657:3657] CHIP:DMG: AttributePathIBs = + [1660745892.540401][3657:3657] CHIP:DMG: [ + [1660745892.540422][3657:3657] CHIP:DMG: AttributePathIB = + [1660745892.540452][3657:3657] CHIP:DMG: { + [1660745892.540487][3657:3657] CHIP:DMG: Endpoint = 0x1, + [1660745892.540517][3657:3657] CHIP:DMG: Cluster = 0x200, + [1660745892.540556][3657:3657] CHIP:DMG: Attribute = 0x0000_FFFB, + [1660745892.540582][3657:3657] CHIP:DMG: } + [1660745892.540616][3657:3657] CHIP:DMG: + [1660745892.540638][3657:3657] CHIP:DMG: ], + [1660745892.540673][3657:3657] CHIP:DMG: + [1660745892.540696][3657:3657] CHIP:DMG: isFabricFiltered = true, + [1660745892.540726][3657:3657] CHIP:DMG: InteractionModelRevision = 1 + [1660745892.540747][3657:3657] CHIP:DMG: }, + [1660745892.540821][3657:3657] CHIP:DMG: IM RH moving to [GeneratingReports] + [1660745892.540929][3657:3657] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 + [1660745892.540954][3657:3657] CHIP:DMG: Cluster 200, Attribute fffb is dirty + [1660745892.540982][3657:3657] CHIP:DMG: Reading attribute: Cluster=0x0000_0200 Endpoint=1 AttributeId=0x0000_FFFB (expanded=0) + ./chip-tool pumpconfigurationandcontrol read feature-map 1 1 verify on TH all-cluster-app receives the right ReadRequest for the data sent in the above command - [1666776282.566014][10585:10585] CHIP:DMG: ReportDataMessage = - [1666776282.566050][10585:10585] CHIP:DMG: { - [1666776282.566080][10585:10585] CHIP:DMG: AttributeReportIBs = - [1666776282.566122][10585:10585] CHIP:DMG: [ - [1666776282.566155][10585:10585] CHIP:DMG: AttributeReportIB = - [1666776282.566201][10585:10585] CHIP:DMG: { - [1666776282.566238][10585:10585] CHIP:DMG: AttributeDataIB = - [1666776282.566285][10585:10585] CHIP:DMG: { - [1666776282.566324][10585:10585] CHIP:DMG: DataVersion = 0xbe8610d, - [1666776282.566370][10585:10585] CHIP:DMG: AttributePathIB = - [1666776282.566412][10585:10585] CHIP:DMG: { - [1666776282.566458][10585:10585] CHIP:DMG: Endpoint = 0x1, - [1666776282.566514][10585:10585] CHIP:DMG: Cluster = 0x200, - [1666776282.566565][10585:10585] CHIP:DMG: Attribute = 0x0000_FFFC, - [1666776282.566611][10585:10585] CHIP:DMG: } - [1666776282.566664][10585:10585] CHIP:DMG: - [1666776282.566719][10585:10585] CHIP:DMG: Data = 0, - [1666776282.566768][10585:10585] CHIP:DMG: }, - [1666776282.566814][10585:10585] CHIP:DMG: - [1666776282.566849][10585:10585] CHIP:DMG: }, - [1666776282.566890][10585:10585] CHIP:DMG: - [1666776282.566922][10585:10585] CHIP:DMG: ], - [1666776282.566964][10585:10585] CHIP:DMG: - [1666776282.566997][10585:10585] CHIP:DMG: SuppressResponse = true, - [1666776282.567028][10585:10585] CHIP:DMG: InteractionModelRevision = 1 - + [1660745929.334567][3657:3657] CHIP:IM: Received Read request + [1660745929.334641][3657:3657] CHIP:DMG: ReadRequestMessage = + [1660745929.334677][3657:3657] CHIP:DMG: { + [1660745929.334696][3657:3657] CHIP:DMG: AttributePathIBs = + [1660745929.334728][3657:3657] CHIP:DMG: [ + [1660745929.334750][3657:3657] CHIP:DMG: AttributePathIB = + [1660745929.334778][3657:3657] CHIP:DMG: { + [1660745929.334814][3657:3657] CHIP:DMG: Endpoint = 0x1, + [1660745929.334853][3657:3657] CHIP:DMG: Cluster = 0x200, + [1660745929.334884][3657:3657] CHIP:DMG: Attribute = 0x0000_FFFC, + [1660745929.334920][3657:3657] CHIP:DMG: } + [1660745929.334947][3657:3657] CHIP:DMG: + [1660745929.334978][3657:3657] CHIP:DMG: ], + [1660745929.335006][3657:3657] CHIP:DMG: + [1660745929.335037][3657:3657] CHIP:DMG: isFabricFiltered = true, + [1660745929.335059][3657:3657] CHIP:DMG: InteractionModelRevision = 1 + [1660745929.335079][3657:3657] CHIP:DMG: }, + [1660745929.335155][3657:3657] CHIP:DMG: IM RH moving to [GeneratingReports] + [1660745929.335256][3657:3657] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 + [1660745929.335291][3657:3657] CHIP:DMG: Cluster 200, Attribute fffc is dirty + [1660745929.335311][3657:3657] CHIP:DMG: Reading attribute: Cluster=0x0000_0200 Endpoint=1 AttributeId=0x0000_FFFC (expanded=0) @@ -1185,331 +780,227 @@ tests: verify on TH all-cluster-app receives the right ReadRequest for the data sent in the above command - [1666776471.798655][10585:10585] CHIP:DMG: ReportDataMessage = - [1666776471.798687][10585:10585] CHIP:DMG: { - [1666776471.798709][10585:10585] CHIP:DMG: AttributeReportIBs = - [1666776471.798746][10585:10585] CHIP:DMG: [ - [1666776471.798775][10585:10585] CHIP:DMG: AttributeReportIB = - [1666776471.798813][10585:10585] CHIP:DMG: { - [1666776471.798841][10585:10585] CHIP:DMG: AttributeDataIB = - [1666776471.798879][10585:10585] CHIP:DMG: { - [1666776471.798919][10585:10585] CHIP:DMG: DataVersion = 0xbe8610d, - [1666776471.798957][10585:10585] CHIP:DMG: AttributePathIB = - [1666776471.799003][10585:10585] CHIP:DMG: { - [1666776471.799040][10585:10585] CHIP:DMG: Endpoint = 0x1, - [1666776471.799083][10585:10585] CHIP:DMG: Cluster = 0x200, - [1666776471.799121][10585:10585] CHIP:DMG: Attribute = 0x0000_0000, - [1666776471.799160][10585:10585] CHIP:DMG: } - [1666776471.799202][10585:10585] CHIP:DMG: - [1666776471.799245][10585:10585] CHIP:DMG: Data = 0, - [1666776471.799281][10585:10585] CHIP:DMG: }, - [1666776471.799325][10585:10585] CHIP:DMG: - [1666776471.799358][10585:10585] CHIP:DMG: }, - [1666776471.799391][10585:10585] CHIP:DMG: - [1666776471.799419][10585:10585] CHIP:DMG: ], - [1666776471.799455][10585:10585] CHIP:DMG: - [1666776471.799486][10585:10585] CHIP:DMG: SuppressResponse = true, - [1666776471.799542][10585:10585] CHIP:DMG: InteractionModelRevision = 1 - + [1651148412.273866][2336:2336] CHIP:IM: Received Read request + [1651148412.273922][2336:2336] CHIP:DMG: ReadRequestMessage = + [1651148412.273950][2336:2336] CHIP:DMG: { + [1651148412.273972][2336:2336] CHIP:DMG: AttributePathIBs = + [1651148412.273999][2336:2336] CHIP:DMG: [ + [1651148412.274024][2336:2336] CHIP:DMG: AttributePathIB = + [1651148412.274063][2336:2336] CHIP:DMG: { + [1651148412.274093][2336:2336] CHIP:DMG: Endpoint = 0x1, + [1651148412.274126][2336:2336] CHIP:DMG: Cluster = 0x200, + [1651148412.274156][2336:2336] CHIP:DMG: Attribute = 0x0000_0000, + [1651148412.274186][2336:2336] CHIP:DMG: } + [1651148412.274216][2336:2336] CHIP:DMG: + [1651148412.274242][2336:2336] CHIP:DMG: ], + [1651148412.274271][2336:2336] CHIP:DMG: + [1651148412.274298][2336:2336] CHIP:DMG: isFabricFiltered = true, + [1651148412.274325][2336:2336] CHIP:DMG: InteractionModelRevision = 1 + [1651148412.274349][2336:2336] CHIP:DMG: }, + [1651148412.274424][2336:2336] CHIP:DMG: IM RH moving to [GeneratingReports] ./chip-tool pumpconfigurationandcontrol read max-speed 1 1 verify on TH all-cluster-app receives the right ReadRequest for the data sent in the above command - [1666776513.090619][10585:10585] CHIP:DMG: ReportDataMessage = - [1666776513.090655][10585:10585] CHIP:DMG: { - [1666776513.090690][10585:10585] CHIP:DMG: AttributeReportIBs = - [1666776513.090737][10585:10585] CHIP:DMG: [ - [1666776513.090779][10585:10585] CHIP:DMG: AttributeReportIB = - [1666776513.090832][10585:10585] CHIP:DMG: { - [1666776513.090872][10585:10585] CHIP:DMG: AttributeDataIB = - [1666776513.090920][10585:10585] CHIP:DMG: { - [1666776513.090970][10585:10585] CHIP:DMG: DataVersion = 0xbe8610d, - [1666776513.091016][10585:10585] CHIP:DMG: AttributePathIB = - [1666776513.091062][10585:10585] CHIP:DMG: { - [1666776513.091115][10585:10585] CHIP:DMG: Endpoint = 0x1, - [1666776513.091169][10585:10585] CHIP:DMG: Cluster = 0x200, - [1666776513.091222][10585:10585] CHIP:DMG: Attribute = 0x0000_0001, - [1666776513.091275][10585:10585] CHIP:DMG: } - [1666776513.091329][10585:10585] CHIP:DMG: - [1666776513.091377][10585:10585] CHIP:DMG: Data = 0, - [1666776513.091425][10585:10585] CHIP:DMG: }, - [1666776513.091474][10585:10585] CHIP:DMG: - [1666776513.091536][10585:10585] CHIP:DMG: }, - [1666776513.091580][10585:10585] CHIP:DMG: - [1666776513.091616][10585:10585] CHIP:DMG: ], - [1666776513.091661][10585:10585] CHIP:DMG: - [1666776513.091699][10585:10585] CHIP:DMG: SuppressResponse = true, - [1666776513.091738][10585:10585] CHIP:DMG: InteractionModelRevision = 1 - + [1651148440.471321][2336:2336] CHIP:IM: Received Read request + [1651148440.471389][2336:2336] CHIP:DMG: ReadRequestMessage = + [1651148440.471416][2336:2336] CHIP:DMG: { + [1651148440.471438][2336:2336] CHIP:DMG: AttributePathIBs = + [1651148440.471481][2336:2336] CHIP:DMG: [ + [1651148440.471507][2336:2336] CHIP:DMG: AttributePathIB = + [1651148440.471546][2336:2336] CHIP:DMG: { + [1651148440.471571][2336:2336] CHIP:DMG: Endpoint = 0x1, + [1651148440.471609][2336:2336] CHIP:DMG: Cluster = 0x200, + [1651148440.471642][2336:2336] CHIP:DMG: Attribute = 0x0000_0001, + [1651148440.471681][2336:2336] CHIP:DMG: } + [1651148440.471719][2336:2336] CHIP:DMG: + [1651148440.471745][2336:2336] CHIP:DMG: ], + [1651148440.471770][2336:2336] CHIP:DMG: + [1651148440.471806][2336:2336] CHIP:DMG: isFabricFiltered = true, + [1651148440.471831][2336:2336] CHIP:DMG: InteractionModelRevision = 1 + [1651148440.471867][2336:2336] CHIP:DMG: }, + [1651148440.471947][2336:2336] CHIP:DMG: IM RH moving to [GeneratingReports] + [1651148440.472042][2336:2336] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 ./chip-tool pumpconfigurationandcontrol read max-flow 1 1 verify on TH all-cluster-app receives the right ReadRequest for the data sent in the above command - [1666776537.021594][10585:10585] CHIP:DMG: ReportDataMessage = - [1666776537.021623][10585:10585] CHIP:DMG: { - [1666776537.021646][10585:10585] CHIP:DMG: AttributeReportIBs = - [1666776537.021688][10585:10585] CHIP:DMG: [ - [1666776537.021720][10585:10585] CHIP:DMG: AttributeReportIB = - [1666776537.021757][10585:10585] CHIP:DMG: { - [1666776537.021785][10585:10585] CHIP:DMG: AttributeDataIB = - [1666776537.021819][10585:10585] CHIP:DMG: { - [1666776537.021852][10585:10585] CHIP:DMG: DataVersion = 0xbe8610d, - [1666776537.021884][10585:10585] CHIP:DMG: AttributePathIB = - [1666776537.021918][10585:10585] CHIP:DMG: { - [1666776537.021961][10585:10585] CHIP:DMG: Endpoint = 0x1, - [1666776537.021998][10585:10585] CHIP:DMG: Cluster = 0x200, - [1666776537.022034][10585:10585] CHIP:DMG: Attribute = 0x0000_0002, - [1666776537.022070][10585:10585] CHIP:DMG: } - [1666776537.022111][10585:10585] CHIP:DMG: - [1666776537.022146][10585:10585] CHIP:DMG: Data = 0, - [1666776537.022177][10585:10585] CHIP:DMG: }, - [1666776537.022212][10585:10585] CHIP:DMG: - [1666776537.022242][10585:10585] CHIP:DMG: }, - [1666776537.022276][10585:10585] CHIP:DMG: - [1666776537.022301][10585:10585] CHIP:DMG: ], - [1666776537.022333][10585:10585] CHIP:DMG: - [1666776537.022366][10585:10585] CHIP:DMG: SuppressResponse = true, - [1666776537.022399][10585:10585] CHIP:DMG: InteractionModelRevision = 1 - + [1651148472.518933][2336:2336] CHIP:IM: Received Read request + [1651148472.518993][2336:2336] CHIP:DMG: ReadRequestMessage = + [1651148472.519023][2336:2336] CHIP:DMG: { + [1651148472.519071][2336:2336] CHIP:DMG: AttributePathIBs = + [1651148472.519104][2336:2336] CHIP:DMG: [ + [1651148472.519163][2336:2336] CHIP:DMG: AttributePathIB = + [1651148472.519218][2336:2336] CHIP:DMG: { + [1651148472.519286][2336:2336] CHIP:DMG: Endpoint = 0x1, + [1651148472.519328][2336:2336] CHIP:DMG: Cluster = 0x200, + [1651148472.519364][2336:2336] CHIP:DMG: Attribute = 0x0000_0002, + [1651148472.519400][2336:2336] CHIP:DMG: } + [1651148472.519459][2336:2336] CHIP:DMG: + [1651148472.519521][2336:2336] CHIP:DMG: ], + [1651148472.519555][2336:2336] CHIP:DMG: + [1651148472.519584][2336:2336] CHIP:DMG: isFabricFiltered = true, + [1651148472.519666][2336:2336] CHIP:DMG: InteractionModelRevision = 1 + [1651148472.519695][2336:2336] CHIP:DMG: }, + [1651148472.519802][2336:2336] CHIP:DMG: IM RH moving to [GeneratingReports] + [1651148472.519971][2336:2336] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 ./chip-tool pumpconfigurationandcontrol read effective-operation-mode 1 1 verify on TH all-cluster-app receives the right ReadRequest for the data sent in the above command - [1666776558.378782][10585:10585] CHIP:DMG: ReportDataMessage = - [1666776558.378815][10585:10585] CHIP:DMG: { - [1666776558.378842][10585:10585] CHIP:DMG: AttributeReportIBs = - [1666776558.378880][10585:10585] CHIP:DMG: [ - [1666776558.378911][10585:10585] CHIP:DMG: AttributeReportIB = - [1666776558.378961][10585:10585] CHIP:DMG: { - [1666776558.378996][10585:10585] CHIP:DMG: AttributeDataIB = - [1666776558.379042][10585:10585] CHIP:DMG: { - [1666776558.379081][10585:10585] CHIP:DMG: DataVersion = 0xbe8610d, - [1666776558.379127][10585:10585] CHIP:DMG: AttributePathIB = - [1666776558.379170][10585:10585] CHIP:DMG: { - [1666776558.379220][10585:10585] CHIP:DMG: Endpoint = 0x1, - [1666776558.379275][10585:10585] CHIP:DMG: Cluster = 0x200, - [1666776558.379326][10585:10585] CHIP:DMG: Attribute = 0x0000_0011, - [1666776558.379365][10585:10585] CHIP:DMG: } - [1666776558.379416][10585:10585] CHIP:DMG: - [1666776558.379458][10585:10585] CHIP:DMG: Data = 0, - [1666776558.379511][10585:10585] CHIP:DMG: }, - [1666776558.379563][10585:10585] CHIP:DMG: - [1666776558.379600][10585:10585] CHIP:DMG: }, - [1666776558.379636][10585:10585] CHIP:DMG: - [1666776558.379666][10585:10585] CHIP:DMG: ], - [1666776558.379705][10585:10585] CHIP:DMG: - [1666776558.379735][10585:10585] CHIP:DMG: SuppressResponse = true, - [1666776558.379768][10585:10585] CHIP:DMG: InteractionModelRevision = 1 + [1651570515.206834][9246:9246] CHIP:IM: Received Read request + [1651570515.206917][9246:9246] CHIP:DMG: ReadRequestMessage = + [1651570515.206966][9246:9246] CHIP:DMG: { + [1651570515.207006][9246:9246] CHIP:DMG: AttributePathIBs = + [1651570515.207053][9246:9246] CHIP:DMG: [ + [1651570515.207098][9246:9246] CHIP:DMG: AttributePathIB = + [1651570515.207154][9246:9246] CHIP:DMG: { + [1651570515.207210][9246:9246] CHIP:DMG: Endpoint = 0x1, + [1651570515.207265][9246:9246] CHIP:DMG: Cluster = 0x200, + [1651570515.207322][9246:9246] CHIP:DMG: Attribute = 0x0000_0011, + [1651570515.207381][9246:9246] CHIP:DMG: } + [1651570515.207436][9246:9246] CHIP:DMG: + [1651570515.207483][9246:9246] CHIP:DMG: ], + [1651570515.207535][9246:9246] CHIP:DMG: + [1651570515.207587][9246:9246] CHIP:DMG: isFabricFiltered = true, + [1651570515.207634][9246:9246] CHIP:DMG: InteractionModelRevision = 1 + [1651570515.207677][9246:9246] CHIP:DMG: } ./chip-tool pumpconfigurationandcontrol read effective-control-mode 1 1 verify on TH all-cluster-app receives the right ReadRequest for the data sent in the above command - [1666776585.047938][10585:10585] CHIP:DMG: ReportDataMessage = - [1666776585.047965][10585:10585] CHIP:DMG: { - [1666776585.047984][10585:10585] CHIP:DMG: AttributeReportIBs = - [1666776585.048014][10585:10585] CHIP:DMG: [ - [1666776585.048039][10585:10585] CHIP:DMG: AttributeReportIB = - [1666776585.048075][10585:10585] CHIP:DMG: { - [1666776585.048102][10585:10585] CHIP:DMG: AttributeDataIB = - [1666776585.048139][10585:10585] CHIP:DMG: { - [1666776585.048173][10585:10585] CHIP:DMG: DataVersion = 0xbe8610d, - [1666776585.048210][10585:10585] CHIP:DMG: AttributePathIB = - [1666776585.048240][10585:10585] CHIP:DMG: { - [1666776585.048276][10585:10585] CHIP:DMG: Endpoint = 0x1, - [1666776585.048313][10585:10585] CHIP:DMG: Cluster = 0x200, - [1666776585.048346][10585:10585] CHIP:DMG: Attribute = 0x0000_0012, - [1666776585.048379][10585:10585] CHIP:DMG: } - [1666776585.048419][10585:10585] CHIP:DMG: - [1666776585.048454][10585:10585] CHIP:DMG: Data = 0, - [1666776585.048489][10585:10585] CHIP:DMG: }, - [1666776585.048528][10585:10585] CHIP:DMG: - [1666776585.048555][10585:10585] CHIP:DMG: }, - [1666776585.048585][10585:10585] CHIP:DMG: - [1666776585.048608][10585:10585] CHIP:DMG: ], - [1666776585.048638][10585:10585] CHIP:DMG: - [1666776585.048663][10585:10585] CHIP:DMG: SuppressResponse = true, - [1666776585.048691][10585:10585] CHIP:DMG: InteractionModelRevision = 1 - + [1651570975.559213][9246:9246] CHIP:IM: Received Read request + [1651570975.559268][9246:9246] CHIP:DMG: ReadRequestMessage = + [1651570975.559295][9246:9246] CHIP:DMG: { + [1651570975.559317][9246:9246] CHIP:DMG: AttributePathIBs = + [1651570975.559343][9246:9246] CHIP:DMG: [ + [1651570975.559367][9246:9246] CHIP:DMG: AttributePathIB = + [1651570975.559400][9246:9246] CHIP:DMG: { + [1651570975.559428][9246:9246] CHIP:DMG: Endpoint = 0x1, + [1651570975.559465][9246:9246] CHIP:DMG: Cluster = 0x200, + [1651570975.559602][9246:9246] CHIP:DMG: Attribute = 0x0000_0012, + [1651570975.559626][9246:9246] CHIP:DMG: } + [1651570975.559655][9246:9246] CHIP:DMG: + [1651570975.559681][9246:9246] CHIP:DMG: ], + [1651570975.559710][9246:9246] CHIP:DMG: ./chip-tool pumpconfigurationandcontrol read capacity 1 1 verify on TH all-cluster-app receives the right ReadRequest for the data sent in the above command - [1666776713.679965][10585:10585] CHIP:DMG: ReportDataMessage = - [1666776713.679994][10585:10585] CHIP:DMG: { - [1666776713.680017][10585:10585] CHIP:DMG: AttributeReportIBs = - [1666776713.680053][10585:10585] CHIP:DMG: [ - [1666776713.680080][10585:10585] CHIP:DMG: AttributeReportIB = - [1666776713.680117][10585:10585] CHIP:DMG: { - [1666776713.680148][10585:10585] CHIP:DMG: AttributeDataIB = - [1666776713.680180][10585:10585] CHIP:DMG: { - [1666776713.680218][10585:10585] CHIP:DMG: DataVersion = 0xbe8610d, - [1666776713.680247][10585:10585] CHIP:DMG: AttributePathIB = - [1666776713.680281][10585:10585] CHIP:DMG: { - [1666776713.680312][10585:10585] CHIP:DMG: Endpoint = 0x1, - [1666776713.680343][10585:10585] CHIP:DMG: Cluster = 0x200, - [1666776713.680381][10585:10585] CHIP:DMG: Attribute = 0x0000_0013, - [1666776713.680411][10585:10585] CHIP:DMG: } - [1666776713.680448][10585:10585] CHIP:DMG: - [1666776713.680485][10585:10585] CHIP:DMG: Data = 0, - [1666776713.680522][10585:10585] CHIP:DMG: }, - [1666776713.680560][10585:10585] CHIP:DMG: - [1666776713.680589][10585:10585] CHIP:DMG: }, - [1666776713.680623][10585:10585] CHIP:DMG: - [1666776713.680646][10585:10585] CHIP:DMG: ], - [1666776713.680674][10585:10585] CHIP:DMG: - [1666776713.680698][10585:10585] CHIP:DMG: SuppressResponse = true, - [1666776713.680721][10585:10585] CHIP:DMG: InteractionModelRevision = 1 - + [1651571009.295069][9246:9246] CHIP:IM: Received Read request + [1651571009.295158][9246:9246] CHIP:DMG: ReadRequestMessage = + [1651571009.295203][9246:9246] CHIP:DMG: { + [1651571009.295244][9246:9246] CHIP:DMG: AttributePathIBs = + [1651571009.295293][9246:9246] CHIP:DMG: [ + [1651571009.295339][9246:9246] CHIP:DMG: AttributePathIB = + [1651571009.295387][9246:9246] CHIP:DMG: { + [1651571009.295438][9246:9246] CHIP:DMG: Endpoint = 0x1, + [1651571009.295493][9246:9246] CHIP:DMG: Cluster = 0x200, + [1651571009.295548][9246:9246] CHIP:DMG: Attribute = 0x0000_0013, + [1651571009.295597][9246:9246] CHIP:DMG: } + [1651571009.295649][9246:9246] CHIP:DMG: + [1651571009.295696][9246:9246] CHIP:DMG: ], + [1651571009.295747][9246:9246] CHIP:DMG: ./chip-tool pumpconfigurationandcontrol read operation-mode 1 1 verify on TH all-cluster-app receives the right ReadRequest for the data sent in the above command - [1666776755.112319][10585:10585] CHIP:DMG: ReportDataMessage = - [1666776755.112355][10585:10585] CHIP:DMG: { - [1666776755.112386][10585:10585] CHIP:DMG: AttributeReportIBs = - [1666776755.112429][10585:10585] CHIP:DMG: [ - [1666776755.112463][10585:10585] CHIP:DMG: AttributeReportIB = - [1666776755.112518][10585:10585] CHIP:DMG: { - [1666776755.112558][10585:10585] CHIP:DMG: AttributeDataIB = - [1666776755.112607][10585:10585] CHIP:DMG: { - [1666776755.112659][10585:10585] CHIP:DMG: DataVersion = 0xbe8610d, - [1666776755.112709][10585:10585] CHIP:DMG: AttributePathIB = - [1666776755.112750][10585:10585] CHIP:DMG: { - [1666776755.112798][10585:10585] CHIP:DMG: Endpoint = 0x1, - [1666776755.112844][10585:10585] CHIP:DMG: Cluster = 0x200, - [1666776755.112898][10585:10585] CHIP:DMG: Attribute = 0x0000_0020, - [1666776755.113035][10585:10585] CHIP:DMG: } - [1666776755.113093][10585:10585] CHIP:DMG: - [1666776755.113147][10585:10585] CHIP:DMG: Data = 0, - [1666776755.113196][10585:10585] CHIP:DMG: }, - [1666776755.113248][10585:10585] CHIP:DMG: - [1666776755.113287][10585:10585] CHIP:DMG: }, - [1666776755.113339][10585:10585] CHIP:DMG: - [1666776755.113371][10585:10585] CHIP:DMG: ], - [1666776755.113412][10585:10585] CHIP:DMG: - [1666776755.113447][10585:10585] CHIP:DMG: SuppressResponse = true, - [1666776755.113483][10585:10585] CHIP:DMG: InteractionModelRevision = 1 - [1666776755.113515][10585:10585] CHIP:DMG: } + [1651571334.617100][9337:9337] CHIP:IM: Received Read request + [1651571334.617155][9337:9337] CHIP:DMG: ReadRequestMessage = + [1651571334.617181][9337:9337] CHIP:DMG: { + [1651571334.617213][9337:9337] CHIP:DMG: AttributePathIBs = + [1651571334.617250][9337:9337] CHIP:DMG: [ + [1651571334.617291][9337:9337] CHIP:DMG: AttributePathIB = + [1651571334.617338][9337:9337] CHIP:DMG: { + [1651571334.617368][9337:9337] CHIP:DMG: Endpoint = 0x1, + [1651571334.617404][9337:9337] CHIP:DMG: Cluster = 0x200, + [1651571334.617433][9337:9337] CHIP:DMG: Attribute = 0x0000_0020, + [1651571334.617467][9337:9337] CHIP:DMG: } + [1651571334.617499][9337:9337] CHIP:DMG: + [1651571334.617537][9337:9337] CHIP:DMG: ], + [1651571334.617567][9337:9337] CHIP:DMG: " disabled: true - label: "DUT reads all supported optional attributes from TH one at a time in - a manufacturer specific order" + a manufacturer specific order." verification: | - Verify TH(all-clusters-minimal-app) receives the read command, and responds that this attribute is not available and also DUT is aware that the optional attributes are not available, and does not issue read requests for the attributes which it did read in step 2 + 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 pumpconfigurationandcontrol read min-const-pressure 1 1 - on TH(all-clusters-minimal-app) verify status response a UNSUPPORTED_ATTRIBUTE - General error: 0x86 (UNSUPPORTED_ATTRIBUTE) + "./chip-tool pumpconfigurationandcontrol read min-const-pressure 1 1 + General error: 0x86 (UNSUPPORTED_ATTRIBUTE) - ./chip-tool pumpconfigurationandcontrol read max-const-pressure 1 1 + "./chip-tool pumpconfigurationandcontrol read max-const-pressure 1 1 + General error: 0x86 (UNSUPPORTED_ATTRIBUTE) - on TH(all-clusters-minimal-app) verify status response a UNSUPPORTED_ATTRIBUTE - General error: 0x86 (UNSUPPORTED_ATTRIBUTE) - - ./chip-tool pumpconfigurationandcontrol read min-comp-pressure 1 1 + "./chip-tool pumpconfigurationandcontrol read min-comp-pressure 1 1 + General error: 0x86 (UNSUPPORTED_ATTRIBUTE) - on TH(all-clusters-minimal-app) verify status response a UNSUPPORTED_ATTRIBUTE - General error: 0x86 (UNSUPPORTED_ATTRIBUTE) - - ./chip-tool pumpconfigurationandcontrol read max-comp-pressure 1 1 - - on TH(all-clusters-minimal-app) verify status response a UNSUPPORTED_ATTRIBUTE - General error: 0x86 (UNSUPPORTED_ATTRIBUTE) + "./chip-tool pumpconfigurationandcontrol read max-comp-pressure 1 1 + General error: 0x86 (UNSUPPORTED_ATTRIBUTE) ./chip-tool pumpconfigurationandcontrol read min-const-speed 1 1 - - on TH(all-clusters-minimal-app) verify status response a UNSUPPORTED_ATTRIBUTE - General error: 0x86 (UNSUPPORTED_ATTRIBUTE) + General error: 0x86 (UNSUPPORTED_ATTRIBUTE) ./chip-tool pumpconfigurationandcontrol read max-const-speed 1 1 - - on TH(all-clusters-minimal-app) verify status response a UNSUPPORTED_ATTRIBUTE - General error: 0x86 (UNSUPPORTED_ATTRIBUTE) - - ./chip-tool pumpconfigurationandcontrol read min-const-flow 1 1 - - on TH(all-clusters-minimal-app) verify status response a UNSUPPORTED_ATTRIBUTE - General error: 0x86 (UNSUPPORTED_ATTRIBUTE) - + General error: 0x86 (UNSUPPORTED_ATTRIBUTE) ./chip-tool pumpconfigurationandcontrol read min-const-flow 1 1 + General error: 0x86 (UNSUPPORTED_ATTRIBUTE) - on TH(all-clusters-minimal-app) verify status response a UNSUPPORTED_ATTRIBUTE - General error: 0x86 (UNSUPPORTED_ATTRIBUTE) - - ./chip-tool pumpconfigurationandcontrol read max-const-flow 1 1 - - on TH(all-clusters-minimal-app) verify status response a UNSUPPORTED_ATTRIBUTE - General error: 0x86 (UNSUPPORTED_ATTRIBUTE) - ./chip-tool pumpconfigurationandcontrol read min-const-temp 1 1 + "./chip-tool pumpconfigurationandcontrol read min-const-flow 1 1 + General error: 0x86 (UNSUPPORTED_ATTRIBUTE) - on TH(all-clusters-minimal-app) verify status response a UNSUPPORTED_ATTRIBUTE - General error: 0x86 (UNSUPPORTED_ATTRIBUTE) + "./chip-tool pumpconfigurationandcontrol read max-const-flow 1 1 + General error: 0x86 (UNSUPPORTED_ATTRIBUTE) - ./chip-tool pumpconfigurationandcontrol read max-const-temp 1 1 + "./chip-tool pumpconfigurationandcontrol read min-const-temp 1 1 + General error: 0x86 (UNSUPPORTED_ATTRIBUTE) - on TH(all-clusters-minimal-app) verify status response a UNSUPPORTED_ATTRIBUTE - General error: 0x86 (UNSUPPORTED_ATTRIBUTE) + "./chip-tool pumpconfigurationandcontrol read max-const-temp 1 1 + General error: 0x86 (UNSUPPORTED_ATTRIBUTE) - ./chip-tool pumpconfigurationandcontrol read pump-status 1 1 + " ./chip-tool pumpconfigurationandcontrol read pump-status 1 1 + General error: 0x86 (UNSUPPORTED_ATTRIBUTE) - on TH(all-clusters-minimal-app) verify status response a UNSUPPORTED_ATTRIBUTE - General error: 0x86 (UNSUPPORTED_ATTRIBUTE) + "./chip-tool pumpconfigurationandcontrol read speed 1 1 + General error: 0x86 (UNSUPPORTED_ATTRIBUTE) - ./chip-tool pumpconfigurationandcontrol read speed 1 1 + "./chip-tool pumpconfigurationandcontrol read lifetime-running-hours 1 1 + General error: 0x86 (UNSUPPORTED_ATTRIBUTE) - on TH(all-clusters-minimal-app) verify status response a UNSUPPORTED_ATTRIBUTE - General error: 0x86 (UNSUPPORTED_ATTRIBUTE) - - ./chip-tool pumpconfigurationandcontrol read lifetime-running-hours 1 1 + "./chip-tool pumpconfigurationandcontrol read power 1 1 + General error: 0x86 (UNSUPPORTED_ATTRIBUTE) - on TH(all-clusters-minimal-app) verify status response a UNSUPPORTED_ATTRIBUTE - General error: 0x86 (UNSUPPORTED_ATTRIBUTE) + " ./chip-tool pumpconfigurationandcontrol read lifetime-energy-consumed 1 1 + General error: 0x86 (UNSUPPORTED_ATTRIBUTE) - ./chip-tool pumpconfigurationandcontrol read power 1 1 - - on TH(all-clusters-minimal-app) verify status response a UNSUPPORTED_ATTRIBUTE - General error: 0x86 (UNSUPPORTED_ATTRIBUTE) - - ./chip-tool pumpconfigurationandcontrol read lifetime-energy-consumed 1 1 - - on TH(all-clusters-minimal-app) verify status response a UNSUPPORTED_ATTRIBUTE - General error: 0x86 (UNSUPPORTED_ATTRIBUTE) - - ./chip-tool pumpconfigurationandcontrol read control-mode 1 1 - - on TH(all-clusters-minimal-app) verify status response a UNSUPPORTED_ATTRIBUTE - General error: 0x86 (UNSUPPORTED_ATTRIBUTE) + "./chip-tool pumpconfigurationandcontrol read control-mode 1 1 + General error: 0x86 (UNSUPPORTED_ATTRIBUTE) disabled: true - label: "DUT writes a suitable value to all supported optional attributes on - the TH one at a time in a manufacturer specific order" + the TH one at a time in a manufacturer specific order." verification: | - Verify TH(all-clusters-minimal-app) receives the write command, and responds that this command is not available and also DUT is aware that the optional commands are not available + 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 pumpconfigurationandcontrol write control-mode 0 1 1 - on TH(all-clusters-minimal-app) verify status response a UNSUPPORTED_ATTRIBUTE - General error: 0x86 (UNSUPPORTED_ATTRIBUTE) + ./chip-tool pumpconfigurationandcontrol write control-mode 0 1 1 + General error: 0x86 (UNSUPPORTED_ATTRIBUTE) ./chip-tool pumpconfigurationandcontrol write lifetime-running-hours 1 1 1 - - on TH(all-clusters-minimal-app) verify status response a UNSUPPORTED_ATTRIBUTE - General error: 0x86 (UNSUPPORTED_ATTRIBUTE) + General error: 0x86 (UNSUPPORTED_ATTRIBUTE) ./chip-tool pumpconfigurationandcontrol write lifetime-energy-consumed 1 1 1 - - on TH(all-clusters-minimal-app) verify status response a UNSUPPORTED_ATTRIBUTE - General error: 0x86 (UNSUPPORTED_ATTRIBUTE) + General error: 0x86 (UNSUPPORTED_ATTRIBUTE) disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_PRS_3_1_Simulated.yaml b/src/app/tests/suites/certification/Test_TC_PRS_3_1_Simulated.yaml index 530b60ab96d782..a04f15f6592839 100644 --- a/src/app/tests/suites/certification/Test_TC_PRS_3_1_Simulated.yaml +++ b/src/app/tests/suites/certification/Test_TC_PRS_3_1_Simulated.yaml @@ -20,9 +20,9 @@ config: endpoint: 0 tests: - - label: "Wait for the device to be commissioned" - cluster: "DelayCommands" - command: "WaitForCommissioning" + #- label: "Wait for the device to be commissioned" + # cluster: "DelayCommands" + # command: "WaitForCommissioning" - label: "Read attribute: MeasuredValue" wait: "readAttribute" diff --git a/src/app/tests/suites/certification/Test_TC_PSCFG_3_1_Simulated.yaml b/src/app/tests/suites/certification/Test_TC_PSCFG_3_1_Simulated.yaml index f7bb3f17aed002..bf053511b5aa85 100644 --- a/src/app/tests/suites/certification/Test_TC_PSCFG_3_1_Simulated.yaml +++ b/src/app/tests/suites/certification/Test_TC_PSCFG_3_1_Simulated.yaml @@ -27,9 +27,9 @@ config: endpoint: 0 tests: - - label: "Wait for the device to be commissioned" - cluster: "DelayCommands" - command: "WaitForCommissioning" + #- label: "Wait for the device to be commissioned" + # cluster: "DelayCommands" + # command: "WaitForCommissioning" - label: "Read attribute: Sources" wait: "readAttribute" diff --git a/src/app/tests/suites/certification/Test_TC_PS_3_1_Simulated.yaml b/src/app/tests/suites/certification/Test_TC_PS_3_1_Simulated.yaml index 21f75ecc37e9c6..b4db8ff0c8af9e 100644 --- a/src/app/tests/suites/certification/Test_TC_PS_3_1_Simulated.yaml +++ b/src/app/tests/suites/certification/Test_TC_PS_3_1_Simulated.yaml @@ -27,9 +27,9 @@ config: endpoint: 0 tests: - - label: "Wait for the device to be commissioned" - cluster: "DelayCommands" - command: "WaitForCommissioning" + #- label: "Wait for the device to be commissioned" + # cluster: "DelayCommands" + # command: "WaitForCommissioning" - label: "Read attribute: Status" wait: "readAttribute" diff --git a/src/app/tests/suites/certification/Test_TC_RH_3_1_Simulated.yaml b/src/app/tests/suites/certification/Test_TC_RH_3_1_Simulated.yaml index fc687bc24d08b0..e098e12f326d93 100644 --- a/src/app/tests/suites/certification/Test_TC_RH_3_1_Simulated.yaml +++ b/src/app/tests/suites/certification/Test_TC_RH_3_1_Simulated.yaml @@ -27,9 +27,9 @@ config: endpoint: 0 tests: - - label: "Wait for the device to be commissioned" - cluster: "DelayCommands" - command: "WaitForCommissioning" + #- label: "Wait for the device to be commissioned" + # cluster: "DelayCommands" + # command: "WaitForCommissioning" - label: "Read attribute MeasuredValue" wait: "readAttribute" diff --git a/src/app/tests/suites/certification/Test_TC_SU_1_1.yaml b/src/app/tests/suites/certification/Test_TC_SU_1_1.yaml index d1adc685215c56..df6aabd8ba765d 100644 --- a/src/app/tests/suites/certification/Test_TC_SU_1_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_SU_1_1.yaml @@ -27,7 +27,7 @@ tests: - label: "Commission OTA-P/TH2 to DUT/same fabric as in test setup." PICS: OTAR.C.M.AnnounceOTAProvider verification: | - ./chip-tool otasoftwareupdaterequestor announce-ota-provider 0xDEADBEEF 0 0 0 0x1234567890 0 + ./chip-tool otasoftwareupdaterequestor announce-otaprovider 0xDEADBEEF 0 0 0 0x1234567890 0 where 0x1234567890 is OTA Requestor node ID and 0xDEADBEEF is OTA Provider node ID @@ -38,10 +38,10 @@ tests: AnnouncementReason - Should be SimpleAnnouncement. Endpoint number of the OTA-P/TH2 on the ProviderNodeID. - [1645743053311] [97809:20280821] CHIP: [SWU] OTA Requestor received AnnounceOTAProvider - [1645743053311] [97809:20280821] CHIP: [SWU] FabricIndex: 1 - [1645743053311] [97809:20280821] CHIP: [SWU] ProviderNodeID: 0x0000000000000001 - [1645743053311] [97809:20280821] CHIP: [SWU] VendorID: 0x0 - [1645743053311] [97809:20280821] CHIP: [SWU] AnnouncementReason: 0 - [1645743053311] [97809:20280821] CHIP: [SWU] Endpoint: 0 + [1673952476.703960][30227:30227] CHIP:SWU: OTA Requestor received AnnounceOTAProvider + [1673952476.703992][30227:30227] CHIP:SWU: FabricIndex: 1 + [1673952476.704021][30227:30227] CHIP:SWU: ProviderNodeID: 0x000000000000007B + [1673952476.704050][30227:30227] CHIP:SWU: VendorID: 0x0 + [1673952476.704078][30227:30227] CHIP:SWU: AnnouncementReason: 0 + [1673952476.704106][30227:30227] CHIP:SWU: Endpoint: 0 disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_SU_2_1.yaml b/src/app/tests/suites/certification/Test_TC_SU_2_1.yaml index acc8ba7a8dab63..5fdaab51527caa 100644 --- a/src/app/tests/suites/certification/Test_TC_SU_2_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_SU_2_1.yaml @@ -26,7 +26,7 @@ config: tests: - label: "DUT sends a QueryImage command to the TH/OTA-P" verification: | - ./chip-tool otasoftwareupdaterequestor announce-ota-provider 0xDEADBEEF 0 0 0 0x1234567890 0 + ./chip-tool otasoftwareupdaterequestor announce-otaprovider 0xDEADBEEF 0 0 0 0x1234567890 0 where 0x1234567890 is OTA Requestor node ID and 0xDEADBEEF is OTA Provider node ID @@ -54,13 +54,13 @@ tests: disabled: true - label: - "DUT sends a QueryImage command to the TH/OTA-P. Wait for 2 minute." + "DUT sends a QueryImage command to the TH/OTA-P. Wait for 2 minutes." verification: | Run the OTA Provider App using the command: ./chip-ota-provider-app --discriminator ${PROVIDER_LONG_DISCRIMINATOR} --secured-device-port ${PROVIDER_UDP_PORT} --KVS ${KVS_STORE_LOCATION} --filepath ${SW_IMAGE_FILE} -q busy - ./chip-tool otasoftwareupdaterequestor announce-ota-provider 0xDEADBEEF 0 1 0 0x1234567890 0 + ./chip-tool otasoftwareupdaterequestor announce-otaprovider 0xDEADBEEF 0 1 0 0x1234567890 0 where 0x1234567890 is OTA Requestor node ID and 0xDEADBEEF is OTA Provider node ID @@ -70,7 +70,7 @@ tests: - label: "TH2/Administrator sends an AnnounceOTAProvider command to the DUT." verification: | - ./chip-tool otasoftwareupdaterequestor announce-ota-provider 0xDEADBEEF 0 1 0 0x1234567890 0 + ./chip-tool otasoftwareupdaterequestor announce-otaprovider 0xDEADBEEF 0 1 0 0x1234567890 0 where 0x1234567890 is OTA Requestor node ID and 0xDEADBEEF is OTA Provider node ID diff --git a/src/app/tests/suites/certification/Test_TC_SU_2_2.yaml b/src/app/tests/suites/certification/Test_TC_SU_2_2.yaml index 93bdacd0c955a5..47e6e8ce1d8dd5 100644 --- a/src/app/tests/suites/certification/Test_TC_SU_2_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_SU_2_2.yaml @@ -28,14 +28,15 @@ config: tests: - label: "DUT sends a QueryImage command to the TH/OTA-P. TH/OTA-P sends a - QueryImageResponse back to DUT. QueryStatus is set to UpdateAvailable. - Set ImageURI to the location where the image is located." + QueryImageResponse back to DUT. QueryStatus is set to + 'UpdateAvailable' Set ImageURI to the location where the image is + located." verification: | Run the OTA Provider App using the command: ./chip-ota-provider-app --discriminator ${PROVIDER_LONG_DISCRIMINATOR} --secured-device-port ${PROVIDER_UDP_PORT} --KVS ${KVS_STORE_LOCATION} --filepath ${SW_IMAGE_FILE} -q updateAvailable - ./chip-tool otasoftwareupdaterequestor announce-ota-provider 0xDEADBEEF 0 0 0 0x1234567890 0 + ./chip-tool otasoftwareupdaterequestor announce-otaprovider 0xDEADBEEF 0 0 0 0x1234567890 0 where 0x1234567890 is OTA Requestor node ID and 0xDEADBEEF is OTA Provider node ID @@ -47,14 +48,14 @@ tests: - label: "DUT sends a QueryImage command to the TH/OTA-P. TH/OTA-P sends a - QueryImageResponse back to DUT. QueryStatus is set to Busy, + QueryImageResponse back to DUT. QueryStatus is set to 'Busy', DelayedActionTime is set to 60 seconds." verification: | Run the OTA Provider App using the command: ./chip-ota-provider-app --discriminator ${PROVIDER_LONG_DISCRIMINATOR} --secured-device-port ${PROVIDER_UDP_PORT} --KVS ${KVS_STORE_LOCATION} --filepath ${SW_IMAGE_FILE} -q busy -t 60 - ./chip-tool otasoftwareupdaterequestor announce-ota-provider 0xDEADBEEF 0 0 0 0x1234567890 0 + ./chip-tool otasoftwareupdaterequestor announce-otaprovider 0xDEADBEEF 0 0 0 0x1234567890 0 where 0x1234567890 is OTA Requestor node ID and 0xDEADBEEF is OTA Provider node ID @@ -63,14 +64,14 @@ tests: - label: "DUT sends a QueryImage command to the TH/OTA-P. TH/OTA-P sends a - QueryImageResponse back to DUT. QueryStatus is set to NotAvailable." + QueryImageResponse back to DUT. QueryStatus is set to 'NotAvailable'." verification: | Run the OTA Provider App using the command: ./chip-ota-provider-app --discriminator ${PROVIDER_LONG_DISCRIMINATOR} --secured-device-port ${PROVIDER_UDP_PORT} --KVS ${KVS_STORE_LOCATION} --filepath ${SW_IMAGE_FILE} -q updateNotAvailable -t 60 - ./chip-tool otasoftwareupdaterequestor announce-ota-provider 0xDEADBEEF 0 0 0 0x1234567890 0 + ./chip-tool otasoftwareupdaterequestor announce-otaprovider 0xDEADBEEF 0 0 0 0x1234567890 0 where 0x1234567890 is OTA Requestor node ID and 0xDEADBEEF is OTA Provider node ID @@ -78,17 +79,17 @@ tests: disabled: true - label: - "DUT sends a QueryImage command to the TH/OTA-P.+ TH/OTA-P sends a + "DUT sends a QueryImage command to the TH/OTA-P. TH/OTA-P sends a QueryImageResponse back to DUT. QueryStatus is set to Busy, Set - DelayedActionTime to 3 minutes. . On the subsequent QueryImage - command, TH/OTA-P sends a QueryImageResponse back to DUT. QueryStatus - is set to UpdateAvailable." + DelayedActionTime to 3 minutes. On the subsequent QueryImage command, + TH/OTA-P sends a QueryImageResponse back to DUT. QueryStatus is set to + 'UpdateAvailable'." verification: | Run the OTA Provider App using the command: ./chip-ota-provider-app --discriminator ${PROVIDER_LONG_DISCRIMINATOR} --secured-device-port ${PROVIDER_UDP_PORT} --KVS ${KVS_STORE_LOCATION} --filepath ${SW_IMAGE_FILE} -q busy -t 180 - ./chip-tool otasoftwareupdaterequestor announce-ota-provider 0xDEADBEEF 0 0 0 0x1234567890 0 + ./chip-tool otasoftwareupdaterequestor announce-otaprovider 0xDEADBEEF 0 0 0 0x1234567890 0 where 0x1234567890 is OTA Requestor node ID and 0xDEADBEEF is OTA Provider node ID @@ -98,9 +99,9 @@ tests: - label: "DUT sends a QueryImage command to the TH/OTA-P. TH/OTA-P sends a - QueryImageResponse back to DUT. QueryStatus is set to UpdateAvailable, - ImageURI should have the https url from where the image can be - downloaded." + QueryImageResponse back to DUT. QueryStatus is set to + 'UpdateAvailable', ImageURI should have the https url from where the + image can be downloaded." PICS: MCORE.OTA.HTTPS verification: | Out of scope for V1.0 @@ -108,9 +109,9 @@ tests: - label: "DUT sends a QueryImage command to the TH/OTA-P. TH/OTA-P sends a - QueryImageResponse back to DUT. QueryStatus is set to UpdateAvailable, - Software Version should be set to the same or an older (numerically - lower) version." + QueryImageResponse back to DUT. QueryStatus is set to + 'UpdateAvailable', Software Version should be set to the same or an + older (numerically lower) version." verification: | Run the OTA Provider App using the command: @@ -118,7 +119,7 @@ tests: Software Version of the SW_IMAGE_FILE used in above command should be the same or an older (numerically lower) version than the DUT. - ./chip-tool otasoftwareupdaterequestor announce-ota-provider 0xDEADBEEF 0 0 0 0x1234567890 0 + ./chip-tool otasoftwareupdaterequestor announce-otaprovider 0xDEADBEEF 0 0 0 0x1234567890 0 where 0x1234567890 is OTA Requestor node ID and 0xDEADBEEF is OTA Provider node ID @@ -127,14 +128,14 @@ tests: - label: "DUT sends a QueryImage command to the TH/OTA-P. TH/OTA-P sends a - QueryImageResponse back to DUT. QueryStatus is set to UpdateAvailable, - ImageURI field contains an invalid BDX ImageURI." + QueryImageResponse back to DUT. QueryStatus is set to + 'UpdateAvailable', ImageURI field contains an invalid BDX ImageURI." verification: | Run the OTA Provider App using the command: ./chip-ota-provider-app --discriminator ${PROVIDER_LONG_DISCRIMINATOR} --secured-device-port ${PROVIDER_UDP_PORT} --KVS ${KVS_STORE_LOCATION} --filepath ${SW_IMAGE_FILE} -i bdx://0000000000000001 - ./chip-tool otasoftwareupdaterequestor announce-ota-provider 0xDEADBEEF 0 0 0 0x1234567890 0 + ./chip-tool otasoftwareupdaterequestor announce-otaprovider 0xDEADBEEF 0 0 0 0x1234567890 0 where 0x1234567890 is OTA Requestor node ID and 0xDEADBEEF is OTA Provider node ID diff --git a/src/app/tests/suites/certification/Test_TC_SU_2_3.yaml b/src/app/tests/suites/certification/Test_TC_SU_2_3.yaml index 50eff91790a4e0..00a84f6ba1152d 100644 --- a/src/app/tests/suites/certification/Test_TC_SU_2_3.yaml +++ b/src/app/tests/suites/certification/Test_TC_SU_2_3.yaml @@ -35,7 +35,7 @@ tests: ./chip-ota-provider-app --discriminator ${PROVIDER_LONG_DISCRIMINATOR} --secured-device-port ${PROVIDER_UDP_PORT} --KVS ${KVS_STORE_LOCATION} --filepath ${SW_IMAGE_FILE} -c - ./chip-tool otasoftwareupdaterequestor announce-ota-provider 0xDEADBEEF 0 0 0 0x1234567890 0 + ./chip-tool otasoftwareupdaterequestor announce-otaprovider 0xDEADBEEF 0 0 0 0x1234567890 0 where 0x1234567890 is OTA Requestor node ID and 0xDEADBEEF is OTA Provider node ID @@ -44,14 +44,15 @@ tests: - label: "DUT sends a QueryImage command to the TH/OTA-P. TH/OTA-P sends a - QueryImageResponse back to DUT. QueryStatus is set to UpdateAvailable. - Set ImageURI to the location where the image is located." + QueryImageResponse back to DUT. QueryStatus is set to + 'UpdateAvailable'. Set ImageURI to the location where the image is + located." verification: | "Run the OTA Provider App using the command: ./chip-ota-provider-app --discriminator ${PROVIDER_LONG_DISCRIMINATOR} --secured-device-port ${PROVIDER_UDP_PORT} --KVS ${KVS_STORE_LOCATION} --filepath ${SW_IMAGE_FILE} -q updateAvailable - ./chip-tool otasoftwareupdaterequestor announce-ota-provider 0xDEADBEEF 0 0 0 0x1234567890 0 + ./chip-tool otasoftwareupdaterequestor announce-otaprovider 0xDEADBEEF 0 0 0 0x1234567890 0 where 0x1234567890 is OTA Requestor node ID and 0xDEADBEEF is OTA Provider node ID @@ -63,8 +64,9 @@ tests: - label: "DUT sends a QueryImage command to the TH/OTA-P. TH/OTA-P sends a - QueryImageResponse back to DUT. QueryStatus is set to UpdateAvailable. - Set ImageURI with the https url of the software image." + QueryImageResponse back to DUT. QueryStatus is set to + 'UpdateAvailable'. Set ImageURI with the https url of the software + image." PICS: MCORE.OTA.HTTPS verification: | Out of scope for V1.0 @@ -77,7 +79,7 @@ tests: the value as Idle. Initiate another QueryImage Command from DUT to the TH/OTA-P." verification: | - ./chip-tool otasoftwareupdaterequestor announce-ota-provider 0xDEADBEEF 0 0 0 0x1234567890 0 + ./chip-tool otasoftwareupdaterequestor announce-otaprovider 0xDEADBEEF 0 0 0 0x1234567890 0 where 0x1234567890 is OTA Requestor node ID and 0xDEADBEEF is OTA Provider node ID @@ -117,7 +119,7 @@ tests: Relaunch the OTA Provider App and initiate another query - ./chip-tool otasoftwareupdaterequestor announce-ota-provider 0xDEADBEEF 0 0 0 0x1234567890 0 + ./chip-tool otasoftwareupdaterequestor announce-otaprovider 0xDEADBEEF 0 0 0 0x1234567890 0 Verify that the DUT starts a new transfer of software image when sending another QueryImage request i.e. Start Offset field in ReceiveInit message received on OTA Provider side is 0 diff --git a/src/app/tests/suites/certification/Test_TC_SU_2_4.yaml b/src/app/tests/suites/certification/Test_TC_SU_2_4.yaml index f032143f7b57bc..e89bbc70a6856b 100644 --- a/src/app/tests/suites/certification/Test_TC_SU_2_4.yaml +++ b/src/app/tests/suites/certification/Test_TC_SU_2_4.yaml @@ -28,10 +28,10 @@ config: tests: - label: "DUT sends a QueryImage command to the TH/OTA-P. TH/OTA-P sends a - QueryImageResponse back to DUT. QueryStatus is set to UpdateAvailable. - Set ImageURI to the location where the image is located. After the DUT - transfers the image, the DUT should send ApplyUpdateRequest to the - OTA-P." + QueryImageResponse back to DUT. QueryStatus is set to + 'UpdateAvailable'. Set ImageURI to the location where the image is + located. After the DUT transfers the image, the DUT should send + ApplyUpdateRequest to the OTA-P." verification: | Verify that the ApplyUpdateRequest message received on the OTA Provider with UpdateToken and NewVersion fields from DUT diff --git a/src/app/tests/suites/certification/Test_TC_SU_2_5.yaml b/src/app/tests/suites/certification/Test_TC_SU_2_5.yaml index d352ff29f9d65c..b9b957ead7ff58 100644 --- a/src/app/tests/suites/certification/Test_TC_SU_2_5.yaml +++ b/src/app/tests/suites/certification/Test_TC_SU_2_5.yaml @@ -28,7 +28,7 @@ config: tests: - label: "OTA-P/TH sends the ApplyUpdateResponse Command to the DUT. Action - field is set to Proceed DelayedActionTime is set to 0." + field is set to 'Proceed', DelayedActionTime is set to 0." verification: | Verify that the DUT starts updating its software. Once the update is finished verify the software version on the DUT matches the version downloaded for the software update. @@ -47,7 +47,7 @@ tests: - label: "OTA-P/TH sends the ApplyUpdateResponse Command to the DUT. Action - field is set to Proceed DelayedActionTime is set to 3 minutes" + field is set to 'Proceed', DelayedActionTime is set to 3 minutes." verification: | Run the OTA Provider App using the command: @@ -67,7 +67,8 @@ tests: - label: "OTA-P/TH sends the ApplyUpdateResponse Command to the DUT. Action - field is set to AwaitNextAction, DelayedActionTime is set to 1 minute." + field is set to 'AwaitNextAction', DelayedActionTime is set to 1 + minute." verification: | Run the OTA Provider App using the command: @@ -84,9 +85,9 @@ tests: - label: "OTA-P/TH sends the ApplyUpdateResponse Command to the DUT. Action - field is set to AwaitNextAction, DelayedActionTime is set to 3 + field is set to 'AwaitNextAction', DelayedActionTime is set to 3 minutes. On the subsequent ApplyUpdateRequest command, TH/OTA-P sends - the ApplyUpdateResponse back to DUT. Action field is set to Proceed." + the ApplyUpdateResponse back to DUT. Action field is set to 'Proceed'." verification: | Run the OTA Provider App using the command: @@ -105,7 +106,7 @@ tests: - label: "OTA-P/TH sends the ApplyUpdateResponse Command to the DUT. Action - field is set to Discontinue." + field is set to 'Discontinue'." verification: | Run the OTA Provider App using the command: ./chip-ota-provider-app --discriminator 22 --secured-device-port 5565 --KVS /tmp/chip_kvs_provider --filepath /tmp/test.bin -a discontinue diff --git a/src/app/tests/suites/certification/Test_TC_SU_2_7.yaml b/src/app/tests/suites/certification/Test_TC_SU_2_7.yaml index 438ea9f49f9909..c3a09d26ccd417 100644 --- a/src/app/tests/suites/certification/Test_TC_SU_2_7.yaml +++ b/src/app/tests/suites/certification/Test_TC_SU_2_7.yaml @@ -34,7 +34,7 @@ tests: Trigger OTA query using command - otasoftwareupdaterequestor announce-ota-provider 0xDEADBEEF 0 0 0 0x1234567890 0 + otasoftwareupdaterequestor announce-otaprovider 0xDEADBEEF 0 0 0 0x1234567890 0 where 0x1234567890 is OTA Requestor node ID and 0xDEADBEEF is OTA Provider node ID @@ -55,7 +55,7 @@ tests: - label: "DUT sends a QueryImage command to the TH/OTA-P. TH/OTA-P sends a - QueryImageResponse back to DUT. QueryStatus is set to Busy." + QueryImageResponse back to DUT. QueryStatus is set to 'Busy'." verification: | ./chip-tool interactive start @@ -65,7 +65,7 @@ tests: Trigger OTA query using command - otasoftwareupdaterequestor announce-ota-provider 0xDEADBEEF 0 0 0 0x1234567890 0 + otasoftwareupdaterequestor announce-otaprovider 0xDEADBEEF 0 0 0 0x1234567890 0 where 0x1234567890 is OTA Requestor node ID and 0xDEADBEEF is OTA Provider node ID @@ -106,7 +106,7 @@ tests: Kill OTA Provider App before issuing query using - otasoftwareupdaterequestor announce-ota-provider 0xDEADBEEF 0 0 0 0x1234567890 0 + otasoftwareupdaterequestor announce-otaprovider 0xDEADBEEF 0 0 0 0x1234567890 0 where 0x1234567890 is OTA Requestor node ID and 0xDEADBEEF is OTA Provider node ID @@ -142,7 +142,7 @@ tests: Trigger OTA query using command - otasoftwareupdaterequestor announce-ota-provider 0xDEADBEEF 0 0 0 0x1234567890 0 + otasoftwareupdaterequestor announce-otaprovider 0xDEADBEEF 0 0 0 0x1234567890 0 where 0x1234567890 is OTA Requestor node ID and 0xDEADBEEF is OTA Provider node ID @@ -161,7 +161,7 @@ tests: Trigger OTA query using command - otasoftwareupdaterequestor announce-ota-provider 0xDEADBEEF 0 0 0 0x1234567890 0 + otasoftwareupdaterequestor announce-otaprovider 0xDEADBEEF 0 0 0 0x1234567890 0 where 0x1234567890 is OTA Requestor node ID and 0xDEADBEEF is OTA Provider node ID @@ -186,7 +186,7 @@ tests: - label: "After the OTA image is transferred, DUT sends ApplyUpdateRequest to the OTA-P. OTA-P/TH sends the ApplyUpdateResponse Command to the DUT. - Action field is set to AwaitNextAction." + Action field is set to 'AwaitNextAction'." verification: | ./chip-tool interactive start @@ -196,7 +196,7 @@ tests: Trigger OTA query using command - otasoftwareupdaterequestor announce-ota-provider 0xDEADBEEF 0 0 0 0x1234567890 0 + otasoftwareupdaterequestor announce-otaprovider 0xDEADBEEF 0 0 0 0x1234567890 0 where 0x1234567890 is OTA Requestor node ID and 0xDEADBEEF is OTA Provider node ID @@ -236,7 +236,7 @@ tests: software image version is being executed on the DUT. OTA-Subscriber sends a read request to read the VersionApplied event from the DUT." verification: | - ./chip-tool otasoftwareupdaterequestor announce-ota-provider 0xDEADBEEF 0 0 0 0x1234567890 0 + ./chip-tool otasoftwareupdaterequestor announce-otaprovider 0xDEADBEEF 0 0 0 0x1234567890 0 where 0x1234567890 is OTA Requestor node ID and 0xDEADBEEF is OTA Provider node ID diff --git a/src/app/tests/suites/certification/Test_TC_SU_2_8.yaml b/src/app/tests/suites/certification/Test_TC_SU_2_8.yaml index d2ee5d71ba9bc7..da577b7b496696 100644 --- a/src/app/tests/suites/certification/Test_TC_SU_2_8.yaml +++ b/src/app/tests/suites/certification/Test_TC_SU_2_8.yaml @@ -24,9 +24,9 @@ config: endpoint: 0 tests: - - label: "DUT sends a QueryImage command to the TH1/OTA-P" + - label: "DUT sends a QueryImage command to TH1/OTA-P." verification: | - ./chip-tool otasoftwareupdaterequestor write default-ota-providers "[{"fabricIndex": 1, "providerNodeID": 3735928559, "endpoint": 0}]" 0x0000001234567890 0 + ./chip-tool otasoftwareupdaterequestor write default-otaproviders '[{"fabricIndex": 1, "providerNodeID": 3735928559, "endpoint": 0}]' 0x0000001234567890 0 where 0x1234567890 is OTA Requestor node ID and 0xDEADBEEF is OTA Provider node ID @@ -49,9 +49,9 @@ tests: respond with QueryImageResponse." PICS: MCORE.OTA.Retry verification: | - ./chip-tool otasoftwareupdaterequestor write default-ota-providers "[{"fabricIndex": 1, "providerNodeID": 3735928559, "endpoint": 0}]" 0x0000001234567890 0 + ./chip-tool otasoftwareupdaterequestor write default-otaproviders '[{"fabricIndex": 1, "providerNodeID": 3735928559, "endpoint": 0}]' 0x0000001234567890 0 - ./chip-tool otasoftwareupdaterequestor write default-ota-providers "[{"fabricIndex": 2, "providerNodeID": 1, "endpoint": 0}]" 0x858 0 --commissioner-name beta + ./chip-tool otasoftwareupdaterequestor write default-ota-providers '[{"fabricIndex": 2, "providerNodeID": 1, "endpoint": 0}]' 0x858 0 --commissioner-name beta Kill Default OTA Provider for fabric index 1 before DUT sends a query @@ -62,7 +62,7 @@ tests: "DUT sends a QueryImage command to TH2/OTA-P. TH2/OTA-P sends a QueryImageResponse back to the DUT. Status is set to UpdateAvailable." verification: | - ./chip-tool otasoftwareupdaterequestor write default-ota-providers "[{"fabricIndex": 2, "providerNodeID": 1, "endpoint": 0}]" 0x858 0 --commissioner-name beta + ./chip-tool otasoftwareupdaterequestor write default-otaproviders '[{"fabricIndex": 2, "providerNodeID": 1, "endpoint": 0}]' 0x858 0 --commissioner-name beta Verify there is a transfer of the software image from TH2/OTA-P to the DUT disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_SU_3_1.yaml b/src/app/tests/suites/certification/Test_TC_SU_3_1.yaml index 77adccd5b34bff..17af847b34935e 100644 --- a/src/app/tests/suites/certification/Test_TC_SU_3_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_SU_3_1.yaml @@ -28,20 +28,18 @@ tests: "OTA-R/TH sends a QueryImage Command to the DUT. UserConsentNeeded field is set to False." verification: | - ./chip-tool otasoftwareupdaterequestor announce-ota-provider 0xDEADBEEF 0 0 0 0x1234567890 0 + ./chip-tool otasoftwareupdaterequestor announce-otaprovider 0xDEADBEEF 0 0 0 0x1234567890 0 where 0x1234567890 is OTA Requestor node ID and 0xDEADBEEF is OTA Provider node ID Verify on the OTA Requestor logs receives QueryImageResponse - [1651265462659] [21768:35233106] CHIP: [SWU] QueryImageResponse: - [1651265462659] [21768:35233106] CHIP: [SWU] status: 0 - [1651265462659] [21768:35233106] CHIP: [SWU] delayedActionTime: 0 seconds - [1651265462659] [21768:35233106] CHIP: [SWU] imageURI: bdx://0000000000000001/test.ota - [1651265462659] [21768:35233106] CHIP: [SWU] softwareVersion: 2 - [1651265462659] [21768:35233106] CHIP: [SWU] softwareVersionString: 2.0 - [1651265462659] [21768:35233106] CHIP: [SWU] updateToken: 32 - [1651265462659] [21768:35233106] CHIP: [SWU] userConsentNeeded: 0 - [1651265462659] [21768:35233106] CHIP: [SWU] metadataForRequestor: 0 - [1651265462659] [21768:35233106] CHIP: [SWU] Update available from version 1 to 2 + [1673337981.104652][28428:28428] CHIP:SWU: QueryImageResponse: + [1673337981.104695][28428:28428] CHIP:SWU: status: 0 + [1673337981.104735][28428:28428] CHIP:SWU: imageURI: bdx://000000000000007B/ota-requestor-app.ota + [1673337981.104776][28428:28428] CHIP:SWU: softwareVersion: 2 + [1673337981.104816][28428:28428] CHIP:SWU: softwareVersionString: 2.0 + [1673337981.104856][28428:28428] CHIP:SWU: updateToken: 32 + [1673337981.104896][28428:28428] CHIP:SWU: userConsentNeeded: 0 + [1673337981.104948][28428:28428] CHIP:SWU: Update available from version 1 to 2 disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_SU_3_2.yaml b/src/app/tests/suites/certification/Test_TC_SU_3_2.yaml index e279dbad5f78ee..cde5fde06a9d9c 100644 --- a/src/app/tests/suites/certification/Test_TC_SU_3_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_SU_3_2.yaml @@ -31,7 +31,7 @@ tests: field can be set to either True or False in the QueryImage Command. DUT responds with the QueryImageResponse to the OTA-R/TH." verification: | - ./chip-tool otasoftwareupdaterequestor announce-ota-provider 0xDEADBEEF 0 0 0 0x1234567890 0 + ./chip-tool otasoftwareupdaterequestor announce-otaprovider 0xDEADBEEF 0 0 0 0x1234567890 0 where 0x1234567890 is OTA Requestor node ID and 0xDEADBEEF is OTA Provider node ID @@ -45,16 +45,14 @@ tests: - [1651265462659] [21768:35233106] CHIP: [SWU] QueryImageResponse: - [1651265462659] [21768:35233106] CHIP: [SWU] status: 0 - [1651265462659] [21768:35233106] CHIP: [SWU] delayedActionTime: 0 seconds - [1651265462659] [21768:35233106] CHIP: [SWU] imageURI: bdx://0000000000000001/test.ota - [1651265462659] [21768:35233106] CHIP: [SWU] softwareVersion: 2 - [1651265462659] [21768:35233106] CHIP: [SWU] softwareVersionString: 2.0 - [1651265462659] [21768:35233106] CHIP: [SWU] updateToken: 32 - [1651265462659] [21768:35233106] CHIP: [SWU] userConsentNeeded: 0 - [1651265462659] [21768:35233106] CHIP: [SWU] metadataForRequestor: 0 - [1651265462659] [21768:35233106] CHIP: [SWU] Update available from version 1 to 2 + [1673337981.104652][28428:28428] CHIP:SWU: QueryImageResponse: + [1673337981.104695][28428:28428] CHIP:SWU: status: 0 + [1673337981.104735][28428:28428] CHIP:SWU: imageURI: bdx://000000000000007B/ota-requestor-app.ota + [1673337981.104776][28428:28428] CHIP:SWU: softwareVersion: 2 + [1673337981.104816][28428:28428] CHIP:SWU: softwareVersionString: 2.0 + [1673337981.104856][28428:28428] CHIP:SWU: updateToken: 32 + [1673337981.104896][28428:28428] CHIP:SWU: userConsentNeeded: 0 + [1673337981.104948][28428:28428] CHIP:SWU: Update available from version 1 to 2 disabled: true - label: @@ -64,17 +62,15 @@ tests: verification: | ./chip-ota-provider-app --discriminator 22 --secured-device-port 5565 --KVS /tmp/chip_kvs_provider --filepath /tmp/test.bin -q updateNotAvailable - ./chip-tool otasoftwareupdaterequestor announce-ota-provider 0xDEADBEEF 0 0 0 0x1234567890 0 + ./chip-tool otasoftwareupdaterequestor announce-otaprovider 0xDEADBEEF 0 0 0 0x1234567890 0 where 0x1234567890 is OTA Requestor node ID and 0xDEADBEEF is OTA Provider node ID Verify on the OTA Requestor logs receives QueryImageResponse with the Status as Not Available - [1645819644181] [21592:21187907] CHIP: [SWU] QueryImageResponse: - [1645819644181] [21592:21187907] CHIP: [SWU] status: 2 - [1645819644181] [21592:21187907] CHIP: [SWU] delayedActionTime: 120 seconds - [1645819644181] [21592:21187907] CHIP: [SWU] userConsentNeeded: 0 - [1645819644181] [21592:21187907] CHIP: [SWU] metadataForRequestor: 0 + [1673423580.333750][2898:2898] CHIP:SWU: QueryImageResponse: + [1673423580.333776][2898:2898] CHIP:SWU: status: 2 + [1673423580.333803][2898:2898] CHIP:SWU: userConsentNeeded: 0 disabled: true - label: @@ -82,68 +78,66 @@ tests: field should list BDX. DUT responds with the QueryImageResponse to the OTA-R/TH." verification: | - ./chip-tool otasoftwareupdaterequestor announce-ota-provider 0xDEADBEEF 0 0 0 0x1234567890 0 + ./chip-tool otasoftwareupdaterequestor announce-otaprovider 0xDEADBEEF 0 0 0 0x1234567890 0 where 0x1234567890 is OTA Requestor node ID and 0xDEADBEEF is OTA Provider node ID Verify on the OTA Requestor logs receives QueryImageResponse - [1651265462659] [21768:35233106] CHIP: [SWU] QueryImageResponse: - [1651265462659] [21768:35233106] CHIP: [SWU] status: 0 - [1651265462659] [21768:35233106] CHIP: [SWU] delayedActionTime: 0 seconds - [1651265462659] [21768:35233106] CHIP: [SWU] imageURI: bdx://0000000000000001/test.ota - [1651265462659] [21768:35233106] CHIP: [SWU] softwareVersion: 2 - [1651265462659] [21768:35233106] CHIP: [SWU] softwareVersionString: 2.0 - [1651265462659] [21768:35233106] CHIP: [SWU] updateToken: 32 - [1651265462659] [21768:35233106] CHIP: [SWU] userConsentNeeded: 0 - [1651265462659] [21768:35233106] CHIP: [SWU] metadataForRequestor: 0 - [1651265462659] [21768:35233106] CHIP: [SWU] Update available from version 1 to 2 + [1673417165.348812][2114:2114] CHIP:SWU: QueryImageResponse: + [1673417165.348861][2114:2114] CHIP:SWU: status: 0 + [1673417165.348908][2114:2114] CHIP:SWU: imageURI: bdx://000000000000007B/ota-requestor-app.ota + [1673417165.348957][2114:2114] CHIP:SWU: softwareVersion: 2 + [1673417165.349003][2114:2114] CHIP:SWU: softwareVersionString: 2.0 + [1673417165.349050][2114:2114] CHIP:SWU: updateToken: 32 + [1673417165.349096][2114:2114] CHIP:SWU: userConsentNeeded: 0 + [1673417165.349155][2114:2114] CHIP:SWU: Update available from version 1 to 2 + Verify all the image URI field requirements. disabled: true - label: "OTA-R/TH sends a QueryImage Command to the DUT. ProtocolSupported - field should list https. DUT responds with a QueryImageResponse to the - OTA-R/TH." + field should list 'https'. DUT responds with a QueryImageResponse to + the OTA-R/TH." verification: | Out of scope for V1.0 disabled: true - label: "OTA-R/TH sends a QueryImage Command to the DUT. DUT responds with the - QueryImageResponse with QueryStatus set to Busy, DelayedActionTime set - to 3 minutes. On the subsequent QueryImage command, DUT sends a + QueryImageResponse with QueryStatus set to 'Busy', DelayedActionTime + set to 3 minutes. On the subsequent QueryImage command, DUT sends a QueryImageResponse back to OTA-R/TH. QueryStatus is set to - UpdateAvailable." + 'UpdateAvailable'." PICS: OTAP.S.M.DelayedActionTime verification: | ./chip-ota-provider-app --discriminator 22 --secured-device-port 5565 --KVS /tmp/chip_kvs_provider --filepath /tmp/test.bin -q busy -t 180 - ./chip-tool otasoftwareupdaterequestor announce-ota-provider 0xDEADBEEF 0 0 0 0x1234567890 0 + ./chip-tool otasoftwareupdaterequestor announce-otaprovider 0xDEADBEEF 0 0 0 0x1234567890 0 where 0x1234567890 is OTA Requestor node ID and 0xDEADBEEF is OTA Provider node ID Verify on the OTA Requestor logs receives QueryImageResponse with Status as busy and DelayedActionTime as 3 minutes - [1651265271074] [21764:35230537] CHIP: [SWU] QueryImageResponse: - [1651265271074] [21764:35230537] CHIP: [SWU] status: 1 - [1651265271074] [21764:35230537] CHIP: [SWU] delayedActionTime: 180 seconds - [1651265271074] [21764:35230537] CHIP: [SWU] userConsentNeeded: 0 - [1651265271074] [21764:35230537] CHIP: [SWU] metadataForRequestor: 0 + [1673425035.586964][3055:3055] CHIP:SWU: QueryImageResponse: + [1673425035.586994][3055:3055] CHIP:SWU: status: 1 + [1673425035.587022][3055:3055] CHIP:SWU: delayedActionTime: 180 seconds + [1673425035.587052][3055:3055] CHIP:SWU: userConsentNeeded: 0 + [1673425035.587083][3055:3055] CHIP:SWU: Scheduling a retry + Verify that the OTA-R/TH starts the download from the DUT after the second QueryImageResponse with UpdateAvailable status. - [1651265462659] [21768:35233106] CHIP: [SWU] QueryImageResponse: - [1651265462659] [21768:35233106] CHIP: [SWU] status: 0 - [1651265462659] [21768:35233106] CHIP: [SWU] delayedActionTime: 0 seconds - [1651265462659] [21768:35233106] CHIP: [SWU] imageURI: bdx://0000000000000001/test.ota - [1651265462659] [21768:35233106] CHIP: [SWU] softwareVersion: 2 - [1651265462659] [21768:35233106] CHIP: [SWU] softwareVersionString: 2.0 - [1651265462659] [21768:35233106] CHIP: [SWU] updateToken: 32 - [1651265462659] [21768:35233106] CHIP: [SWU] userConsentNeeded: 0 - [1651265462659] [21768:35233106] CHIP: [SWU] metadataForRequestor: 0 - [1651265462659] [21768:35233106] CHIP: [SWU] Update available from version 1 to 2 + [1673425215.698563][3055:3055] CHIP:SWU: QueryImageResponse: + [1673425215.698602][3055:3055] CHIP:SWU: status: 0 + [1673425215.698633][3055:3055] CHIP:SWU: imageURI: bdx://000000000000007B/ota-requestor-app.ota + [1673425215.698664][3055:3055] CHIP:SWU: softwareVersion: 2 + [1673425215.698695][3055:3055] CHIP:SWU: softwareVersionString: 2.0 + [1673425215.698731][3055:3055] CHIP:SWU: updateToken: 32 + [1673425215.698760][3055:3055] CHIP:SWU: userConsentNeeded: 0 + [1673425215.698801][3055:3055] CHIP:SWU: Update available from version 1 to 2 Verify that the Image downloaded by the OTA-R/TH is valid and is the same image that was supposed to be downloaded. disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_SU_3_3.yaml b/src/app/tests/suites/certification/Test_TC_SU_3_3.yaml index c022c60857aadc..bdc707b7aff830 100644 --- a/src/app/tests/suites/certification/Test_TC_SU_3_3.yaml +++ b/src/app/tests/suites/certification/Test_TC_SU_3_3.yaml @@ -27,10 +27,10 @@ config: tests: - label: "OTA-R/TH sends a QueryImage Command to the DUT. Protocol supported - should only list BDX DUT responds with the QueryImageResponse to the - OTA-R/TH." + should only list 'BDX'. DUT responds with the QueryImageResponse to + the OTA-R/TH." verification: | - ./chip-tool otasoftwareupdaterequestor announce-ota-provider 0xDEADBEEF 0 0 0 0x1234567890 0 + ./chip-tool otasoftwareupdaterequestor announce-otaprovider 0xDEADBEEF 0 0 0 0x1234567890 0 where 0x1234567890 is OTA Requestor node ID and 0xDEADBEEF is OTA Provider node ID @@ -96,7 +96,8 @@ tests: [1651269360125] [23256:35291938] CHIP: [BDX] Transfer timed out Relaunch the OTA Requestor App and initiate another query - chip-tool otasoftwareupdaterequestor announce-ota-provider 0xDEADBEEF 0 0 0 0x1234567890 0 + + ./chip-tool otasoftwareupdaterequestor announce-otaprovider 0xDEADBEEF 0 0 0 0x1234567890 0 Verify that a new transfer of software image is started from DUT when sending another QueryImage request disabled: true @@ -111,8 +112,7 @@ tests: Out of scope for V1.0 disabled: true - - label: - "IF Perform the OTA Update from DUT using vendor specific mechanism." + - label: "Perform the OTA Update from DUT using vendor specific mechanism." PICS: MCORE.OTA.VendorSpecific verification: | Use vendor specific steps to initiate OTA Update and verify that the software image is transferred from the DUT diff --git a/src/app/tests/suites/certification/Test_TC_SU_3_4.yaml b/src/app/tests/suites/certification/Test_TC_SU_3_4.yaml index 8153852db9e76b..655fcef6d606ae 100644 --- a/src/app/tests/suites/certification/Test_TC_SU_3_4.yaml +++ b/src/app/tests/suites/certification/Test_TC_SU_3_4.yaml @@ -27,8 +27,8 @@ config: tests: - label: - "OTA-R/TH on completion of image download sends an - ApplyUpdateRequestCommand to the DUT." + "OTA-R/TH on completion of image download sends an ApplyUpdateRequest + Command to the DUT." verification: | Verify on the OTA Requestor logs receives ApplyUpdateResponse @@ -40,8 +40,8 @@ tests: - label: "OTA-R/TH on completion of image download sends an ApplyUpdateRequest command to the DUT. DUT responds with the ApplyUpdateResponse with - Action set to AwaitNextAction, DelayedActionTime set to 3 minutes. On - the subsequent ApplyUpdateRequest command, DUT sends a + Action set to 'AwaitNextAction', DelayedActionTime set to 3 minutes. + On the subsequent ApplyUpdateRequest command, DUT sends a ApplyUpdateResponse back to DUT. Action is set to Proceed." verification: | Run the OTA Requestor App using command @@ -66,7 +66,7 @@ tests: - label: "OTA-R/TH on completion of image download sends an ApplyUpdateRequest command to the DUT. DUT responds with the ApplyUpdateResponse with - Action set to Discontinue. Initiate another QueryImage Command from + Action set to 'Discontinue'. Initiate another QueryImage Command from OTA-R/TH to the DUT." verification: | Run the OTA Requestor App using command diff --git a/src/app/tests/suites/certification/Test_TC_SU_4_1.yaml b/src/app/tests/suites/certification/Test_TC_SU_4_1.yaml index 61c467e0019898..e21a0b856c660a 100644 --- a/src/app/tests/suites/certification/Test_TC_SU_4_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_SU_4_1.yaml @@ -29,7 +29,7 @@ tests: first fabric to the DUT. TH2 is set as the default Provider for the fabric." verification: | - ./chip-tool otasoftwareupdaterequestor write default-ota-providers '[{"fabricIndex": 1, "providerNodeID": 3735928559, "endpoint": 0}]' 0x0000001234567890 0 + ./chip-tool otasoftwareupdaterequestor write default-otaproviders "[{"fabricIndex": 1, "providerNodeID": 3735928559, "endpoint": 0}]" 0x0000001234567890 0 verify success response on chip-tool logs: @@ -40,7 +40,7 @@ tests: "TH sends a read request to read the DefaultOTAProviders Attribute on the first fabric to the DUT." verification: | - ./chip-tool otasoftwareupdaterequestor read default-ota-providers 0x1234567890 0 + ./chip-tool otasoftwareupdaterequestor read default-otaproviders 0x1234567890 0 verify DefaultOtaProviders on chip-tool logs: @@ -57,7 +57,7 @@ tests: second fabric to the DUT. TH3 is set as the default Provider for the fabric." verification: | - ./chip-tool otasoftwareupdaterequestor write default-ota-providers "[{"fabricIndex": 2, "providerNodeID": 1, "endpoint": 0}]" 0x858 0 --commissioner-name beta + ./chip-tool otasoftwareupdaterequestor write default-otaproviders '[{"fabricIndex": 2, "providerNodeID": 1, "endpoint": 0}]' 0x858 0 --commissioner-name beta verify success response in chip-tool logs: @@ -68,7 +68,7 @@ tests: "TH sends a read request to read the DefaultOTAProviders Attribute on the first and second fabric to the DUT." verification: | - ./chip-tool otasoftwareupdaterequestor read default-ota-providers 0x1234567890 0 + ./chip-tool otasoftwareupdaterequestor read default-otaproviders 0x1234567890 0 verify DefaultOtaProviders on chip-tool logs: @@ -79,7 +79,7 @@ tests: [1651277342848] [26860:35431852] CHIP: [TOO] FabricIndex: 1 [1651277342848] [26860:35431852] CHIP: [TOO] } - ./chip-tool otasoftwareupdaterequestor read default-ota-providers 0x858 0 --commissioner-name beta + ./chip-tool otasoftwareupdaterequestor read default-otaproviders 0x858 0 --commissioner-name beta verify DefaultOtaProviders on chip-tool logs: @@ -98,13 +98,13 @@ tests: fabric. TH sends a read request to read the DefaultOTAProviders Attribute on the first and second fabric to the DUT." verification: | - ./chip-tool otasoftwareupdaterequestor write default-ota-providers "[{"fabricIndex": 1, "providerNodeID": 10, "endpoint": 0}, {"fabricIndex": 1, "providerNodeID": 20, "endpoint": 0}]" 0x0000001234567890 0 + ./chip-tool otasoftwareupdaterequestor write default-otaproviders "[{"fabricIndex": 1, "providerNodeID": 10, "endpoint": 0}, {"fabricIndex": 1, "providerNodeID": 20, "endpoint": 0}]" 0x0000001234567890 0 verify Constraint_Error on chip-tool logs: [1651278243153] [27005:35448520] CHIP: [TOO] Response Failure: IM Error 0x00000587: General error: 0x87 (CONSTRAINT_ERROR) - ./chip-tool otasoftwareupdaterequestor read default-ota-providers 0x1234567890 0 + ./chip-tool otasoftwareupdaterequestor read default-otaproviders 0x1234567890 0 verify DefaultOtaProviders on chip-tool logs: @@ -115,7 +115,7 @@ tests: [1651277342848] [26860:35431852] CHIP: [TOO] FabricIndex: 1 [1651277342848] [26860:35431852] CHIP: [TOO] } - chip-tool otasoftwareupdaterequestor read default-ota-providers 0x858 0 --commissioner-name beta + ./chip-tool otasoftwareupdaterequestor read default-otaproviders 0x858 0 --commissioner-name beta verify DefaultOtaProviders on chip-tool logs: @@ -133,14 +133,14 @@ tests: read request to read the DefaultOTAProviders Attribute on the first and second fabric to the DUT." verification: | - chip-tool otasoftwareupdaterequestor write default-ota-providers "[]" 0x858 0 --commissioner-name beta + ./chip-tool otasoftwareupdaterequestor write default-otaproviders "[]" 0x858 0 --commissioner-name beta verify the Success response on chip-tool logs: status = 0x00 (SUCCESS), - ./chip-tool otasoftwareupdaterequestor read default-ota-providers 0x1234567890 0 + ./chip-tool otasoftwareupdaterequestor read default-otaproviders 0x1234567890 0 verify DefaultOtaProviders on chip-tool logs: @@ -151,7 +151,7 @@ tests: [1651277342848] [26860:35431852] CHIP: [TOO] FabricIndex: 1 [1651277342848] [26860:35431852] CHIP: [TOO] } - ./chip-tool otasoftwareupdaterequestor read default-ota-providers 0x858 0 --commissioner-name beta + ./chip-tool otasoftwareupdaterequestor read default-otaproviders 0x858 0 --commissioner-name beta verify DefaultOtaProviders on chip-tool logs: @@ -197,8 +197,8 @@ tests: disabled: true - label: - "TH sends a read request to read the UpdateState attribute from the - DUT" + "TH sends a read request to read the UpdateState Attribute from the + DUT." verification: | ./chip-tool otasoftwareupdaterequestor read update-state 0x1234567890 0 @@ -240,7 +240,7 @@ tests: - label: "DUT should start initiating the Software update process. While the DUT is downloading the image, TH sends a read request to read the - UpdateStateProgress attribute from the DUT" + UpdateStateProgress attribute from the DUT." verification: | ./chip-tool otasoftwareupdaterequestor read update-state-progress 0x1234567890 0 diff --git a/src/app/tests/suites/certification/Test_TC_SU_4_2.yaml b/src/app/tests/suites/certification/Test_TC_SU_4_2.yaml index fb59af3902cd90..0691efc389df02 100644 --- a/src/app/tests/suites/certification/Test_TC_SU_4_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_SU_4_2.yaml @@ -31,9 +31,10 @@ tests: verification: | Verify that the OTA Requestor App receives the write command and does not reject the value as invalid. - ./chip-tool otasoftwareupdaterequestor write default-ota-providers "[{"fabricIndex": 1, "providerNodeID": 123, "endpoint": 0}]" 321 0 + ./chip-tool otasoftwareupdaterequestor write default-otaproviders "[{"fabricIndex": 1, "providerNodeID": 123, "endpoint": 0}]" 321 0 - verify on TH [OTA-REQ] Logs: + + Verify write request for the DefaultOTAProviders attribute on TH [OTA-REQ] Logs: [1662651310.444641][30167:30167] CHIP:IM: Received Write request [1662651310.444820][30167:30167] CHIP:DMG: IM WH moving to [Initialized] @@ -90,9 +91,9 @@ tests: Verify that the OTA Requestor App responds to the read command - ./chip-tool otasoftwareupdaterequestor read default-ota-providers 321 0 + ./chip-tool otasoftwareupdaterequestor read default-otaproviders 321 0 - verify on TH [OTA-REQ] Logs: + Verify read request for the DefaultOTAProviders attribute on TH [OTA-REQ] Logs: [1662651381.708529][30167:30167] CHIP:IM: Received Read request [1662651381.708619][30167:30167] CHIP:DMG: ReadRequestMessage = [1662651381.708648][30167:30167] CHIP:DMG: { @@ -126,7 +127,7 @@ tests: ./chip-tool otasoftwareupdaterequestor read update-possible 321 0 - verify on TH [OTA-REQ] Logs: + Verify UpdatePossible attribute on TH [OTA-REQ] Logs: [1662651426.055059][30167:30167] CHIP:IM: Received Read request [1662651426.055180][30167:30167] CHIP:DMG: ReadRequestMessage = @@ -152,14 +153,14 @@ tests: disabled: true - label: - "DUT sends a read request to read the UpdateState attribute from the + "DUT sends a read request to read the UpdateState Attribute from the TH." verification: | Verify that the OTA Requestor App responds to the read command ./chip-tool otasoftwareupdaterequestor read update-state 321 0 - verify on TH [OTA-REQ] Logs: + Verify UpdateState attribute on TH [OTA-REQ] Logs: [1662651459.324406][30167:30167] CHIP:IM: Received Read request [1662651459.324545][30167:30167] CHIP:DMG: ReadRequestMessage = @@ -195,7 +196,8 @@ tests: ./chip-tool accesscontrol write acl "[{"fabricIndex": 1, "privilege": 5, "authMode": 2, "subjects": [112233], "targets": null}, {"fabricIndex": 1, "privilege": 3, "authMode": 2, "subjects": [321], "targets": null}]" 123 0 Run the announce ota provider command to start the software update and check the UpdateStateProgress - ./chip-tool otasoftwareupdaterequestor announce-ota-provider 123 0 0 0 321 0 + + ./chip-tool otasoftwareupdaterequestor announce-otaprovider 123 0 0 0 321 0 where 321 is OTA Requestor node ID and 123 is OTA Provider node ID @@ -203,7 +205,7 @@ tests: ./chip-tool otasoftwareupdaterequestor read update-state-progress 321 0 - verify on TH [OTA-REQ] Logs: + Verify UpdateStateProgress attribute on TH [OTA-REQ] Logs: [1662651648.244248][30167:30167] CHIP:IM: Received Read request [1662651648.244329][30167:30167] CHIP:DMG: ReadRequestMessage = diff --git a/src/app/tests/suites/certification/Test_TC_SWTCH_3_1_Simulated.yaml b/src/app/tests/suites/certification/Test_TC_SWTCH_3_1_Simulated.yaml index 3731be32c9cd40..b3fce3158a4d2a 100644 --- a/src/app/tests/suites/certification/Test_TC_SWTCH_3_1_Simulated.yaml +++ b/src/app/tests/suites/certification/Test_TC_SWTCH_3_1_Simulated.yaml @@ -27,9 +27,9 @@ config: endpoint: 0 tests: - - label: "Wait for the device to be commissioned" - cluster: "DelayCommands" - command: "WaitForCommissioning" + #- label: "Wait for the device to be commissioned" + # cluster: "DelayCommands" + # command: "WaitForCommissioning" - label: "Read NumberOfPositions attribute" wait: "readAttribute" diff --git a/src/app/tests/suites/certification/Test_TC_TSTAT_2_2.yaml b/src/app/tests/suites/certification/Test_TC_TSTAT_2_2.yaml index 3a664f5e1898ef..bef6709a1920ec 100644 --- a/src/app/tests/suites/certification/Test_TC_TSTAT_2_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_TSTAT_2_2.yaml @@ -190,15 +190,15 @@ tests: MinCoolSetpointLimit" PICS: TSTAT.S.F01 && TSTAT.S.A0017 && PICS_SKIP_SAMPLE_APP verification: | - Optional attribute so its not compulsory to get the expected outcome + Optional Attribute - If it is supported, then in TH log it will results in displaying the value, else it will display UNSUPPORTED_ATTRIBUTE. Below is the log of RPI the result may be vary on the basis of dut implementation. - ./chip-tool thermostat write occupied-cooling-setpoint 3600 1 1 - On TH(chip-tool) verify that DUT sends a CONSTRAINT_ERROR (0x87) - [1658386056.238286][2906:2911] CHIP:DMG: } - [1658386056.238356][2906:2911] CHIP:DMG: WriteClient moving to [AwaitingDe] - [1658386056.238389][2906:2911] CHIP:TOO: Response Failure: IM Error 0x00000587: General error: 0x87 (CONSTRAINT_ERROR) - [1658386056.238449][2906:2911] CHIP:EM: Sending Standalone Ack for MessageCounter:41416222 on exchange 5788i - [1658386056.238525][2906:2911] CHIP:IN: Prepared secure message 0xffffa77ed9e8 to 0x0000000000000001 (1) of type 0x10 and protocolId (0, 0) on exchange 5788i with MessageCounter:113884573 + ./chip-tool thermostat write occupied-cooling-setpoint 1000 1 1 + On TH(chip-tool) verify that DUT sends a CONSTRAINT_ERROR (0x87) for the value which is below of the MinCoolSetpointLimit + + [1676028984.901635][19375:19377] CHIP:DMG: WriteClient moving to [AwaitingDe] + [1676028984.901706][19375:19377] CHIP:TOO: Response Failure: IM Error 0x00000587: General error: 0x87 (CONSTRAINT_ERROR) + [1676028984.901895][19375:19377] CHIP:EM: <<< [E:18153i M:141749864 (Ack:137408936)] (S) Msg TX to 1:0000000000000001 [E8D5] --- Type 0000:10 (SecureChannel:StandaloneAck) + [1676028984.901980][19375:19377] CHIP:IN: (S) Sending msg 141749864 on secure session with LSID: 58847 cluster: "LogCommands" command: "UserPrompt" arguments: @@ -273,14 +273,15 @@ tests: OccupiedCoolingSetpoint attribute when Auto is enabled" PICS: TSTAT.S.F05 && TSTAT.S.A0012 && PICS_SKIP_SAMPLE_APP verification: | - Optional attribute so its not compulsory to get the expected outcome + Optional Attribute - If it is supported, then in TH log it will results in displaying the value, else it will display UNSUPPORTED_ATTRIBUTE. Below is the log of RPI the result may be vary on the basis of dut implementation. + + Test Harness Client then attempts to write OccupiedCoolingSetpoint to both of the limits of LowerLimit(1600) & MaxCoolSetpointLimit(3200) and confirms that the device does accept the value. See also Note 5. ./chip-tool thermostat write occupied-cooling-setpoint 1600 1 1 On TH(chip-tool) verify that DUT sends a success response - - [1658386056.238356][2906:2911] CHIP:DMG: WriteClient moving to [AwaitingDe] - [1658386056.238389][2906:2911] CHIP:TOO: Response Failure: IM Error 0x00000587: General error: 0x87 (CONSTRAINT_ERROR) - [1658386056.238449][2906:2911] CHIP:EM: Sending Standalone Ack for MessageCounter:41416222 on exchange 5788i + [1676029009.026653][19381:19383] CHIP:DMG: WriteClient moving to [AwaitingDe] + [1676029009.026688][19381:19383] CHIP:TOO: Response Failure: IM Error 0x00000587: General error: 0x87 (CONSTRAINT_ERROR) + [1676029009.026776][19381:19383] CHIP:EM: <<< [E:29492i M:142792974 (Ack:241003612)] (S) Msg TX to 1:0000000000000001 [E8D5] --- Type 0000:10 cluster: "LogCommands" command: "UserPrompt" arguments: @@ -351,16 +352,13 @@ tests: MinHeatSetpointLimit" PICS: TSTAT.S.F00 && TSTAT.S.A0015 && PICS_SKIP_SAMPLE_APP verification: | - Optional Attribute - - - ./chip-tool thermostat write occupied-heating-setpoint 5000 1 1 + Optional Attribute - If it is supported, then in TH log it will results in displaying the value, else it will display UNSUPPORTED_ATTRIBUTE. Below is the log of RPI the result may be vary on the basis of dut implementation. + ./chip-tool thermostat write occupied-heating-setpoint 500 1 1 On TH(chip-tool) verify that DUT sends a CONSTRAINT_ERROR (0x87) - [1658388388.725344][3134:3139] CHIP:DMG: InteractionModelRevision = 1 - [1658388388.725388][3134:3139] CHIP:DMG: } - [1658388388.725505][3134:3139] CHIP:DMG: WriteClient moving to [AwaitingDe] - [1658388388.725558][3134:3139] CHIP:TOO: Response Failure: IM Error 0x00000587: General error: 0x87 (CONSTRAINT_ERROR) - [1658388388.725618][3134:3139] CHIP:EM: Sending Standalone Ack for MessageCounter:199663269 on exchange 29439i + [1676029113.651245][19392:19394] CHIP:DMG: WriteClient moving to [AwaitingDe] + [1676029113.651285][19392:19394] CHIP:TOO: Response Failure: IM Error 0x00000587: General error: 0x87 (CONSTRAINT_ERROR) + [1676029113.651397][19392:19394] CHIP:EM: <<< [E:43315i M:59735604 (Ack:107613834)] (S) Msg TX to 1:0000000000000001 [E8D5] --- Type 0000:10 cluster: "LogCommands" command: "UserPrompt" arguments: @@ -429,22 +427,12 @@ tests: PICS: TSTAT.S.F05 && TSTAT.S.A0011 && TSTAT.S.A0012 && PICS_SKIP_SAMPLE_APP verification: | - ./chip-tool thermostat write occupied-heating-setpoint 2200 1 1 - On TH(chip-tool) verify that DUT sends a success response - [1661755950.285710][3540:3545] CHIP:DMG: StatusIB = - [1661755950.285739][3540:3545] CHIP:DMG: { - [1661755950.285769][3540:3545] CHIP:DMG: status = 0x87 (CONSTRAINT_ERROR), - [1661755950.285799][3540:3545] CHIP:DMG: }, - [1661755950.285831][3540:3545] CHIP:DMG: - [1661755950.285855][3540:3545] CHIP:DMG: }, - - ./chip-tool thermostat read occupied-heating-setpoint 1 1 - - On TH(chip-tool) verify that the occupied heating setpoint attribute value which is provided in previous step - [1661756337.957444][3574:3579] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0201 Attribute 0x0000_0012 DataVersion: 1052267276 - [1661756337.957573][3574:3579] CHIP:TOO: OccupiedHeatingSetpoint: 2000 - [1661756337.957876][3574:3579] CHIP:EM: Sending Standalone Ack for MessageCounter:176529588 on exchange 9927i - [1661756337.958020][3574:3579] CHIP:IN: Prepared secure message 0xffff867cd978 to 0x0000000000000001 (1) of type 0x10 and p + Optional Attribute - If it is supported, then in TH log it will results in displaying the value, else it will display UNSUPPORTED_ATTRIBUTE. Below is the log of RPI the result may be vary on the basis of dut implementation. + ./chip-tool thermostat write occupied-heating-setpoint 3000 1 1 + On TH(chip-tool) verify that DUT sends a success response + 1676029222.303920][19403:19405] CHIP:DMG: WriteClient moving to [AwaitingDe] + [1676029222.303955][19403:19405] CHIP:TOO: Response Failure: IM Error 0x00000587: General error: 0x87 (CONSTRAINT_ERROR) + [1676029222.304055][19403:19405] CHIP:EM: <<< [E:236i M:251820549 (Ack:138263425)] (S) Msg TX to 1:0000000000000001 [E8D5] --- Type 0000:10 cluster: "LogCommands" command: "UserPrompt" arguments: @@ -531,11 +519,13 @@ tests: MinCoolSetpointLimit" PICS: TSTAT.S.F02 && TSTAT.S.F01 && TSTAT.S.A0017 && PICS_SKIP_SAMPLE_APP verification: | - Optional Attribute - If it is supported, then in TH(chip-tool) log it will results in displaying the value, else it will display UNSUPPORTED_ATTRIBUTE + Optional Attribute - If it is supported, then in TH log it will results in displaying the value, else it will display UNSUPPORTED_ATTRIBUTE. Below is the log of RPI the result may be vary on the basis of dut implementation. - ./chip-tool thermostat write unoccupied-cooling-setpoint 2200 1 1 - - https://github.com/project-chip/connectedhomeip/issues/15627 + ./chip-tool thermostat write occupied-heating-setpoint 500 1 1 + On TH(chip-tool) verify that DUT sends a CONSTRAINT_ERROR (0x87) + [1676029263.842915][19409:19411] CHIP:DMG: WriteClient moving to [AwaitingDe] + [1676029263.842943][19409:19411] CHIP:TOO: Response Failure: IM Error 0x00000587: General error: 0x87 (CONSTRAINT_ERROR) + [1676029263.843052][19409:19411] CHIP:EM: <<< [E:47350i M:72320003 (Ack:188090912)] (S) Msg TX to 1:0000000000000001 [E8D5] --- Type 0000:10 (SecureChannel:StandaloneAck) cluster: "LogCommands" command: "UserPrompt" arguments: @@ -594,15 +584,17 @@ tests: TSTAT.S.F02 && TSTAT.S.F01 && TSTAT.S.A0013 && TSTAT.S.F05 && PICS_SKIP_SAMPLE_APP verification: | - Optional Attribute - If it is supported, then in TH(chip-tool) log it will results in displaying the value, else it will display UNSUPPORTED_ATTRIBUTE + Optional Attribute - If it is supported, then in TH log it will results in displaying the value, else it will display UNSUPPORTED_ATTRIBUTE. Below is the log of RPI the result may be vary on the basis of dut implementation. - ./chip-tool thermostat read unoccupied-cooling-setpoint 1 1 - Verify in TH(chip-tool) Log: + below mentioned the example command to verify - [1650451290.847810][5403:5408] CHIP:TOO: Response Failure: IM Error 0x00000586: General error: 0x86 (UNSUPPORTED_ATTRIBUTE) - [1650451290.847903][5403:5408] CHIP:EM: Sending Standalone Ack for MessageCounter:5212350 on exchange 30170i - https://github.com/project-chip/connectedhomeip/issues/15627 + ./chip-tool thermostat write unoccupied-cooling-setpoint 2000 1 1 + On TH(chip-tool) verify that DUT sends a success response. As its an optional attribute, we are not getting expected result + [1676029365.250210][19420:19422] CHIP:DMG: WriteClient moving to [AwaitingDe] + [1676029365.250263][19420:19422] CHIP:TOO: Response Failure: IM Error 0x00000586: General error: 0x86 (UNSUPPORTED_ATTRIBUTE) + [1676029365.250403][19420:19422] CHIP:EM: <<< [E:16230i M:267641165 (Ack:117850882)] (S) Msg TX to 1:0000000000000001 [E8D5] --- Type 0000:10 (SecureChannel:StandaloneAck) + [1676029365.250467][19420:19422] CHIP:IN: (S) Sending msg 267641165 on secure session with LSID: 45606 cluster: "LogCommands" command: "UserPrompt" arguments: @@ -702,15 +694,15 @@ tests: MinHeatSetpointLimit" PICS: TSTAT.S.F02 && TSTAT.S.F00 && TSTAT.S.A0015 && PICS_SKIP_SAMPLE_APP verification: | - Optional Attribute - If it is supported, then in TH(chip-tool) log it will results in displaying the value, else it will display UNSUPPORTED_ATTRIBUTE - - ./chip-tool thermostat read unoccupied-heating-setpoint 1 1 - As its an optional attribute, we are not getting expected result - [1658389018.789254][3201:3206] CHIP:DMG: SuppressResponse = true, - [1658389018.789288][3201:3206] CHIP:DMG: InteractionModelRevision = 1 - [1658389018.789312][3201:3206] CHIP:DMG: } - [1658389018.789426][3201:3206] CHIP:TOO: Response Failure: IM Error 0x00000586: General error: 0x86 (UNSUPPORTED_ATTRIBUTE) - [1658389018.789511][3201:3206] CHIP:EM: Sending Standalone Ack for MessageCounter:175660806 on exchange 16788i + Optional Attribute - If it is supported, then in TH log it will results in displaying the value, else it will display UNSUPPORTED_ATTRIBUTE. Below is the log of RPI the result may be vary on the basis of dut implementation. + + ./chip-tool thermostat write unoccupied-cooling-setpoint 500 1 1 + On TH(chip-tool) verify that DUT sends a CONSTRAINT_ERROR (0x87). As its an optional attribute, we are not getting expected result + + [1676029557.268065][19431:19433] CHIP:DMG: } + [1676029557.268220][19431:19433] CHIP:DMG: WriteClient moving to [AwaitingDe] + [1676029557.268290][19431:19433] CHIP:TOO: Response Failure: IM Error 0x00000586: General error: 0x86 (UNSUPPORTED_ATTRIBUTE) + [1676029557.268470][19431:19433] CHIP:EM: <<< [E:8458i M:31631638 (Ack:115187982)] (S) Msg TX to 1:0000000000000001 [E8D5] --- Type 0000:10 (SecureChannel:StandaloneAck) cluster: "LogCommands" command: "UserPrompt" arguments: @@ -780,16 +772,19 @@ tests: TSTAT.S.F02 && TSTAT.S.F00 && TSTAT.S.A0013 && TSTAT.S.F05 && PICS_SKIP_SAMPLE_APP verification: | - Optional Attribute - If it is supported, then in TH (chip-tool) log it will results in displaying the value, else it will display UNSUPPORTED_ATTRIBUTE - - ./chip-tool thermostat read unoccupied-heating-setpoint 1 1 - As its an optional attribute, we are not getting expected result - [1658389070.439643][3209:3214] CHIP:DMG: - [1658389070.439678][3209:3214] CHIP:DMG: SuppressResponse = true, - [1658389070.439715][3209:3214] CHIP:DMG: InteractionModelRevision = 1 - [1658389070.439750][3209:3214] CHIP:DMG: } - [1658389070.439896][3209:3214] CHIP:TOO: Response Failure: IM Error 0x00000586: General error: 0x86 (UNSUPPORTED_ATTRIBUTE) - [1658389070.439997][3209:3214] CHIP:EM: Sending Standalone Ack for MessageCounter:26480890 on exchange 13280i + Optional Attribute - If it is supported, then in TH log it will results in displaying the value, else it will display UNSUPPORTED_ATTRIBUTE. Below is the log of RPI the result may be vary on the basis of dut implementation. + + + below mentioned the example command to verify + + ./chip-tool thermostat write unoccupied-heating-setpoint 2000 1 1 + On TH(chip-tool) verify that DUT sends a success response. As its an optional attribute, we are not getting expected result + + [1676029629.242182][19437:19439] CHIP:DMG: } + [1676029629.242250][19437:19439] CHIP:DMG: WriteClient moving to [AwaitingDe] + [1676029629.242280][19437:19439] CHIP:TOO: Response Failure: IM Error 0x00000586: General error: 0x86 (UNSUPPORTED_ATTRIBUTE) + [1676029629.242366][19437:19439] CHIP:EM: <<< [E:51650i M:149591010 (Ack:214538556)] (S) Msg TX to 1:0000000000000001 [E8D5] --- Type 0000:10 (SecureChannel:StandaloneAck) + [1676029629.242402][19437:19439] CHIP:IN: (S) Sending msg 149591010 on secure session with LSID: 6132 cluster: "LogCommands" command: "UserPrompt" arguments: @@ -890,11 +885,11 @@ tests: verification: | ./chip-tool thermostat write min-heat-setpoint-limit 300 1 1 On TH (chip-tool) verify that DUT sends a CONSTRAINT_ERROR (0x87) - [1658389492.560607][3266:3272] CHIP:DMG: InteractionModelRevision = 1 - [1658389492.560644][3266:3272] CHIP:DMG: } - [1658389492.560749][3266:3272] CHIP:DMG: WriteClient moving to [AwaitingDe] - [1658389492.560915][3266:3272] CHIP:TOO: Response Failure: IM Error 0x00000587: General error: 0x87 (CONSTRAINT_ERROR) - [1658389492.561002][3266:3272] CHIP:EM: Sending Standalone Ack for MessageCounter:252582472 on exchange 3434i + [1676029705.839179][19450:19452] CHIP:DMG: } + [1676029705.839253][19450:19452] CHIP:DMG: WriteClient moving to [AwaitingDe] + [1676029705.839287][19450:19452] CHIP:TOO: Response Failure: IM Error 0x00000587: General error: 0x87 (CONSTRAINT_ERROR) + [1676029705.839411][19450:19452] CHIP:EM: <<< [E:34538i M:185292291 (Ack:127655640)] (S) Msg TX to 1:0000000000000001 [E8D5] --- Type 0000:10 (SecureChannel:StandaloneAck) + [1676029705.839456][19450:19452] CHIP:IN: (S) Sending msg 185292291 on secure session with LSID: 61694 cluster: "LogCommands" command: "UserPrompt" arguments: @@ -1079,27 +1074,13 @@ tests: PICS: TSTAT.S.F00 && TSTAT.S.A0016 && TSTAT.S.A0015 && PICS_SKIP_SAMPLE_APP verification: | - Optional Attribute - - - ./chip-tool thermostat write max-heat-setpoint-limit 7000 1 1 - - On TH(chip-tool) verify that DUT sends a CONSTRAINT_ERROR (0x87) - - [1658389771.305508][3310:3315] CHIP:DMG: ], - [1658389771.305555][3310:3315] CHIP:DMG: - [1658389771.305594][3310:3315] CHIP:DMG: InteractionModelRevision = 1 - [1658389771.305632][3310:3315] CHIP:DMG: } - [1658389771.305737][3310:3315] CHIP:DMG: WriteClient moving to [AwaitingDe] - [1658389771.305785][3310:3315] CHIP:TOO: Response Failure: IM Error 0x00000587: General error: 0x87 (CONSTRAINT_ERROR) - [1658389771.305867][3310:3315] CHIP:EM: Sending Standalone Ack for MessageCounter:187660216 on exchange 59285i + Optional Attribute - If it is supported, then in TH log it will results in displaying the value, else it will display UNSUPPORTED_ATTRIBUTE. Below is the log of RPI the result may be vary on the basis of dut implementation. ./chip-tool thermostat write max-heat-setpoint-limit 100 1 1 On TH(chip-tool) verify that DUT sends a CONSTRAINT_ERROR (0x87) - [1658389806.716013][3316:3321] CHIP:DMG: - [1658389806.716046][3316:3321] CHIP:DMG: StatusIB = - [1658389806.716084][3316:3321] CHIP:DMG: { - [1658389806.716121][3316:3321] CHIP:DMG: status = 0x87 (CONSTRAINT_ERROR), - [1658389806.716158][3316:3321] CHIP:DMG: }, + [1676029976.380552][19475:19477] CHIP:DMG: WriteClient moving to [AwaitingDe] + [1676029976.380598][19475:19477] CHIP:TOO: Response Failure: IM Error 0x00000587: General error: 0x87 (CONSTRAINT_ERROR) + [1676029976.380705][19475:19477] CHIP:EM: <<< [E:10254i M:97110781 (Ack:264765613)] (S) Msg TX to 1:0000000000000001 [E8D5] --- Type 0000:10 (SecureChannel:StandaloneAck) cluster: "LogCommands" command: "UserPrompt" arguments: @@ -1158,7 +1139,7 @@ tests: TSTAT.S.F00 && TSTAT.S.A0016 && TSTAT.S.F05 && TSTAT.S.A0018 && PICS_SKIP_SAMPLE_APP verification: | - ./chip-tool thermostat write max-heat-setpoint-limit 2000 1 1 + ./chip-tool thermostat write max-heat-setpoint-limit 2000(Consider the different value but valid4) 1 1 On TH(chip-tool) verify that DUT sends a success response [1658389911.809423][3333:3338] CHIP:DMG: Endpoint = 0x1, [1658389911.809492][3333:3338] CHIP:DMG: Cluster = 0x201, @@ -1262,10 +1243,10 @@ tests: PICS: TSTAT.S.F01 && TSTAT.S.A0017 && TSTAT.S.A0005 && PICS_SKIP_SAMPLE_APP verification: | - Optional Attribute - + Optional Attribute - If it is supported, then in TH log it will results in displaying the value, else it will display UNSUPPORTED_ATTRIBUTE. Below is the log of RPI the result may be vary on the basis of dut implementation. - ./chip-tool thermostat write max-heat-setpoint-limit 9000 1 1 + ./chip-tool thermostat write max-heat-setpoint-limit 90 1 1 On TH(chip-tool) verify that DUT sends a CONSTRAINT_ERROR (0x87) [1658390040.444407][3343:3348] CHIP:DMG: [1658390040.444443][3343:3348] CHIP:DMG: }, @@ -1350,15 +1331,37 @@ tests: TSTAT.S.F01 && TSTAT.S.A0017 && TSTAT.S.A0015 && TSTAT.S.F05 && PICS_SKIP_SAMPLE_APP verification: | - ./chip-tool thermostat write max-heat-setpoint-limit 2000 1 1 + Optional Attribute - If it is supported, then in TH log it will results in displaying the value, else it will display UNSUPPORTED_ATTRIBUTE. Below is the log of RPI the result may be vary on the basis of dut implementation. + + Test Harness Client then attempts to write MinCoolSetpointLimit to both of the limits of LowerLimit & MaxCoolSetpointLimit and confirms that the device does accept the value. - Verify in TH(chip-tool) Log: - [1658390406.512865][3384:3389] CHIP:DMG: - [1658390406.512895][3384:3389] CHIP:DMG: StatusIB = - [1658390406.512927][3384:3389] CHIP:DMG: { - [1658390406.512958][3384:3389] CHIP:DMG: status = 0x00 (SUCCESS), - [1658390406.512992][3384:3389] CHIP:DMG: }, - [1658390406.513023][3384:3389] CHIP:DMG: + ./chip-tool thermostat write max-heat-setpoint-limit 2000 1 1 + On TH(chip-tool) verify that DUT sends a success response + [1676030202.115210][19505:19507] CHIP:DMG: WriteResponseMessage = + [1676030202.115232][19505:19507] CHIP:DMG: { + [1676030202.115251][19505:19507] CHIP:DMG: AttributeStatusIBs = + [1676030202.115280][19505:19507] CHIP:DMG: [ + [1676030202.115301][19505:19507] CHIP:DMG: AttributeStatusIB = + [1676030202.115327][19505:19507] CHIP:DMG: { + [1676030202.115350][19505:19507] CHIP:DMG: AttributePathIB = + [1676030202.115379][19505:19507] CHIP:DMG: { + [1676030202.115408][19505:19507] CHIP:DMG: Endpoint = 0x1, + [1676030202.115437][19505:19507] CHIP:DMG: Cluster = 0x201, + [1676030202.115468][19505:19507] CHIP:DMG: Attribute = 0x0000_0016, + [1676030202.115497][19505:19507] CHIP:DMG: } + [1676030202.115529][19505:19507] CHIP:DMG: + [1676030202.115553][19505:19507] CHIP:DMG: StatusIB = + [1676030202.115583][19505:19507] CHIP:DMG: { + [1676030202.115610][19505:19507] CHIP:DMG: status = 0x00 (SUCCESS), + [1676030202.115637][19505:19507] CHIP:DMG: }, + [1676030202.115664][19505:19507] CHIP:DMG: + [1676030202.115687][19505:19507] CHIP:DMG: }, + [1676030202.115714][19505:19507] CHIP:DMG: + [1676030202.115735][19505:19507] CHIP:DMG: ], + [1676030202.115763][19505:19507] CHIP:DMG: + [1676030202.115784][19505:19507] CHIP:DMG: InteractionModelRevision = 1 + [1676030202.115805][19505:19507] CHIP:DMG: } + [1676030202.115869][19505:19507] CHIP:DMG: WriteClient moving to [AwaitingDe] cluster: "LogCommands" command: "UserPrompt" arguments: @@ -1430,16 +1433,14 @@ tests: PICS: TSTAT.S.F01 && TSTAT.S.A0018 && TSTAT.S.A0017 && PICS_SKIP_SAMPLE_APP verification: | - Optional attribute so its not compulsory to get the expected outcome - - ./chip-tool thermostat write max-cool-setpoint-limit 9100 1 1 - On TH(chip-tool)(chip-tool) verify that DUT sends a CONSTRAINT_ERROR (0x87) - [1658396137.669807][3677:3682] CHIP:DMG: - [1658396137.669832][3677:3682] CHIP:DMG: InteractionModelRevision = 1 - [1658396137.669857][3677:3682] CHIP:DMG: } - [1658396137.669929][3677:3682] CHIP:DMG: WriteClient moving to [AwaitingDe] - [1658396137.669964][3677:3682] CHIP:TOO: Response Failure: IM Error 0x00000587: General error: 0x87 (CONSTRAINT_ERROR) - [1658396137.670019][3677:3682] CHIP:EM: Sending Standalone Ack for MessageCounter:77698449 on exchange 47844i + Optional Attribute - If it is supported, then in TH log it will results in displaying the value, else it will display UNSUPPORTED_ATTRIBUTE. Below is the log of RPI the result may be vary on the basis of dut implementation. + + ./chip-tool thermostat write max-cool-setpoint-limit 100 1 1 + On TH(chip-tool) verify that DUT sends a CONSTRAINT_ERROR (0x87) + [1676030395.441963][19525:19527] CHIP:DMG: } + [1676030395.442028][19525:19527] CHIP:DMG: WriteClient moving to [AwaitingDe] + [1676030395.442059][19525:19527] CHIP:TOO: Response Failure: IM Error 0x00000587: General error: 0x87 (CONSTRAINT_ERROR) + [1676030395.442147][19525:19527] CHIP:EM: <<< [E:35527i M:176995637 (Ack:93643096)] (S) Msg TX to 1:0000000000000001 [E8D5] --- Type 0000:10 (SecureChannel:StandaloneAck) cluster: "LogCommands" command: "UserPrompt" arguments: @@ -1525,14 +1526,13 @@ tests: TSTAT.S.F01 && TSTAT.S.A0018 && TSTAT.S.A0016 && TSTAT.S.F05 && PICS_SKIP_SAMPLE_APP verification: | - Optional attribute so its not compulsory to get the expected outcome + Optional Attribute - If it is supported, then in TH log it will results in displaying the value, else it will display UNSUPPORTED_ATTRIBUTE. Below is the log of RPI the result may be vary on the basis of dut implementation. - ./chip-tool thermostat write max-cool-setpoint-limit 1600 1 1 + ./chip-tool thermostat write max-cool-setpoint-limit 1900 1 1 On TH verify that DUT sends a success response - [1661766260.648041][10448:10453] CHIP:DMG: StatusIB = - [1661766260.648070][10448:10453] CHIP:DMG: { - [1661766260.648100][10448:10453] CHIP:DMG: status = 0x87 (CONSTRAINT_ERROR), - [1661766260.648127][10448:10453] CHIP:DMG: }, + [1676030512.074396][19536:19538] CHIP:DMG: WriteClient moving to [AwaitingDe] + [1676030512.074446][19536:19538] CHIP:TOO: Response Failure: IM Error 0x00000587: General error: 0x87 (CONSTRAINT_ERROR) + [1676030512.074579][19536:19538] CHIP:EM: <<< [E:30570i M:59217688 (Ack:139377342)] (S) Msg TX to 1:0000000000000001 [E8D5] --- Type 0000:10 cluster: "LogCommands" command: "UserPrompt" arguments: diff --git a/src/app/tests/suites/certification/Test_TC_TSTAT_3_1.yaml b/src/app/tests/suites/certification/Test_TC_TSTAT_3_1.yaml index 8bcfbaffce5883..5a816277a20ea2 100644 --- a/src/app/tests/suites/certification/Test_TC_TSTAT_3_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_TSTAT_3_1.yaml @@ -40,7 +40,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 thermostat read local-temperature 1 1 - Verify the ReadRequestMessage on TH(all-clusters-app) + Verify the ReadRequestMessage on TH(thermostat-app) [1666952132.254664][5523:5523] CHIP:EM: Handling via exchange: 45183r, Delegate: 0xaaaad0bf6d38 [1666952132.254810][5523:5523] CHIP:IM: Received Read request @@ -113,7 +113,7 @@ tests: ./chip-tool thermostat read control-sequence-of-operation 1 1 - Verify the ReadRequestMessage on TH(all-clusters-app) + Verify the ReadRequestMessage on TH(thermostat-app) [1666952211.603156][5523:5523] CHIP:EM: Handling via exchange: 32228r, Delegate: 0xaaaad0bf6d38 [1666952211.603251][5523:5523] CHIP:IM: Received Read request @@ -184,7 +184,7 @@ tests: ./chip-tool thermostat read system-mode 1 1 - Verify the ReadRequestMessage on TH(all-clusters-app) + Verify the ReadRequestMessage on TH(thermostat-app) [1666952247.579164][5523:5523] CHIP:EM: Handling via exchange: 50210r, Delegate: 0xaaaad0bf6d38 [1666952247.579281][5523:5523] CHIP:IM: Received Read request [1666952247.579476][5523:5523] CHIP:DMG: ReadRequestMessage = @@ -271,7 +271,7 @@ tests: ./chip-tool thermostat write system-mode 2 1 1 - Verify the WriteRequestMessage on TH(all-clusters-app) + Verify the WriteRequestMessage on TH(thermostat-app) [1666952315.223166][5547:5547] CHIP:EM: Handling via exchange: 40014r, Delegate: 0xaaaabacd6d38 [1666952315.223290][5547:5547] CHIP:IM: Received Write request @@ -345,7 +345,7 @@ tests: ./chip-tool thermostat write control-sequence-of-operation 1 1 1 - Verify the WriteRequestMessage on TH(all-clusters-app) + Verify the WriteRequestMessage on TH(thermostat-app) [1666952355.926940][5547:5547] CHIP:EM: Handling via exchange: 19955r, Delegate: 0xaaaabacd6d38 [1666952355.927042][5547:5547] CHIP:IM: Received Write request @@ -814,7 +814,7 @@ tests: ./chip-tool thermostat read control-sequence-of-operation 1 1 - Verify the ReadRequestMessage on TH(all-clusters-app) + Verify the ReadRequestMessage on TH(all-cluster-minimal-app) [1666951649.029221][5466:5466] CHIP:EM: Handling via exchange: 52404r, Delegate: 0xaaaab26280e0 [1666951649.029318][5466:5466] CHIP:IM: Received Read request diff --git a/src/app/tests/suites/certification/Test_TC_TSTAT_3_2.yaml b/src/app/tests/suites/certification/Test_TC_TSTAT_3_2.yaml index 2fe5170371c63e..24dcc68557037d 100644 --- a/src/app/tests/suites/certification/Test_TC_TSTAT_3_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_TSTAT_3_2.yaml @@ -40,7 +40,7 @@ tests: ./chip-tool thermostat setpoint-raise-lower 0 10 1 1 - verify On TH(all-clusters-app) receives the right invoke Request Message for the data sent in the above command + verify On TH(thermostat-app) receives the right invoke Request Message for the data sent in the above command [1666952425.387487][5547:5547] CHIP:EM: Handling via exchange: 27004r, Delegate: 0xaaaabacd6d38 @@ -131,7 +131,7 @@ tests: ./chip-tool thermostat setpoint-raise-lower 0 -10 1 1 - verify On TH(all-clusters-app) receives the right invoke Request Message for the data sent in the above command + verify On TH(thermostat-app) receives the right invoke Request Message for the data sent in the above command [1666952478.420042][5547:5547] CHIP:EM: Handling via exchange: 59365r, Delegate: 0xaaaabacd6d38 [1666952478.420209][5547:5547] CHIP:DMG: InvokeRequestMessage = diff --git a/src/app/tests/suites/certification/Test_TC_ULABEL_3_1_Simulated.yaml b/src/app/tests/suites/certification/Test_TC_ULABEL_3_1_Simulated.yaml index a69ad7d27a081f..828d497d7f25ea 100644 --- a/src/app/tests/suites/certification/Test_TC_ULABEL_3_1_Simulated.yaml +++ b/src/app/tests/suites/certification/Test_TC_ULABEL_3_1_Simulated.yaml @@ -20,12 +20,12 @@ PICS: config: nodeId: 0x12344321 cluster: "User Label" - endpoint: 0 + endpoint: 1 tests: - - label: "Wait for the device to be commissioned" - cluster: "DelayCommands" - command: "WaitForCommissioning" + #- label: "Wait for the device to be commissioned" + # cluster: "DelayCommands" + # command: "WaitForCommissioning" - label: "Read attribute: LabelList" PICS: ULABEL.C.A0000 diff --git a/src/app/tests/suites/certification/Test_TC_WNCV_5_1_Simulated.yaml b/src/app/tests/suites/certification/Test_TC_WNCV_5_1_Simulated.yaml index a4e3cb48579415..c60e92dd413e57 100644 --- a/src/app/tests/suites/certification/Test_TC_WNCV_5_1_Simulated.yaml +++ b/src/app/tests/suites/certification/Test_TC_WNCV_5_1_Simulated.yaml @@ -23,9 +23,9 @@ config: endpoint: 0 tests: - - label: "Wait for the device to be commissioned" - cluster: "DelayCommands" - command: "WaitForCommissioning" + #- label: "Wait for the device to be commissioned" + # cluster: "DelayCommands" + # command: "WaitForCommissioning" ##Check Attribute defining the cluster Features - label: "DUT reads the FeatureMap attribute from TH" diff --git a/src/app/tests/suites/certification/Test_TC_WNCV_6_1.yaml b/src/app/tests/suites/certification/Test_TC_WNCV_6_1.yaml index ed9f8aa296df9b..984bf6562e462f 100644 --- a/src/app/tests/suites/certification/Test_TC_WNCV_6_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_WNCV_6_1.yaml @@ -42,38 +42,32 @@ tests: - label: "DUT sends UpOrOpen command to TH" PICS: WNCV.C.C00.Tx verification: | + Product maker needs to provide instructions for how to trigger the command on the DUT. For comparison, the DUT behavior for this test step can be simulated using chip-tool (when DUT is a commissioner/Client) + ./chip-tool windowcovering up-or-open 1 1 - Verify SUCCESS (0x00) status response on the TH(Chip-tool) Log: - - [1666856738.257632][2324:2324] CHIP:DMG: InvokeResponseMessage = - [1666856738.257698][2324:2324] CHIP:DMG: { - [1666856738.257756][2324:2324] CHIP:DMG: suppressResponse = false, - [1666856738.257816][2324:2324] CHIP:DMG: InvokeResponseIBs = - [1666856738.257898][2324:2324] CHIP:DMG: [ - [1666856738.257961][2324:2324] CHIP:DMG: InvokeResponseIB = - [1666856738.258053][2324:2324] CHIP:DMG: { - [1666856738.258120][2324:2324] CHIP:DMG: CommandStatusIB = - [1666856738.258193][2324:2324] CHIP:DMG: { - [1666856738.258276][2324:2324] CHIP:DMG: CommandPathIB = - [1666856738.258358][2324:2324] CHIP:DMG: { - [1666856738.258452][2324:2324] CHIP:DMG: EndpointId = 0x1, - [1666856738.258535][2324:2324] CHIP:DMG: ClusterId = 0x102, - [1666856738.258683][2324:2324] CHIP:DMG: CommandId = 0x0, - [1666856738.258762][2324:2324] CHIP:DMG: }, - [1666856738.258857][2324:2324] CHIP:DMG: - [1666856738.258931][2324:2324] CHIP:DMG: StatusIB = - [1666856738.259016][2324:2324] CHIP:DMG: { - [1666856738.259100][2324:2324] CHIP:DMG: status = 0x00 (SUCCESS), - [1666856738.259185][2324:2324] CHIP:DMG: }, - [1666856738.259269][2324:2324] CHIP:DMG: - [1666856738.259345][2324:2324] CHIP:DMG: }, - [1666856738.259438][2324:2324] CHIP:DMG: - [1666856738.259503][2324:2324] CHIP:DMG: }, - [1666856738.259551][2324:2324] CHIP:DMG: - [1666856738.259572][2324:2324] CHIP:DMG: ], - [1666856738.259597][2324:2324] CHIP:DMG: - [1666856738.259617][2324:2324] CHIP:DMG: InteractionModelRevision = 1 + Verify the " DUT responds with request response" on TH(all-clusters-app): + + 1659945239.794637][2742:2742] CHIP:DMG: InvokeRequestMessage = + [1659945239.794680][2742:2742] CHIP:DMG: { + [1659945239.794718][2742:2742] CHIP:DMG: suppressResponse = false, + [1659945239.794762][2742:2742] CHIP:DMG: timedRequest = false, + [1659945239.794801][2742:2742] CHIP:DMG: InvokeRequests = + [1659945239.794851][2742:2742] CHIP:DMG: [ + [1659945239.794891][2742:2742] CHIP:DMG: CommandDataIB = + [1659945239.794936][2742:2742] CHIP:DMG: { + [1659945239.794997][2742:2742] CHIP:DMG: CommandPathIB = + [1659945239.795055][2742:2742] CHIP:DMG: { + [1659945239.795112][2742:2742] CHIP:DMG: EndpointId = 0x1, + [1659945239.795177][2742:2742] CHIP:DMG: ClusterId = 0x102, + [1659945239.795239][2742:2742] CHIP:DMG: CommandId = 0x0, + [1659945239.795297][2742:2742] CHIP:DMG: }, + [1659945239.795353][2742:2742] CHIP:DMG: + [1659945239.795403][2742:2742] CHIP:DMG: CommandFields = + [1659945239.795451][2742:2742] CHIP:DMG: { + [1659945239.795500][2742:2742] CHIP:DMG: }, + [1659945239.795547][2742:2742] CHIP:DMG: }, + [1659945239.795594][2742:2742] CHIP:DMG: disabled: true - label: "Check DownOrClose command" @@ -87,37 +81,33 @@ tests: ./chip-tool windowcovering down-or-close 1 1 - Verify SUCCESS (0x00) status response on the TH(Chip-tool) Log: - - [1666856767.906796][2324:2324] CHIP:DMG: InvokeResponseMessage = - [1666856767.906839][2324:2324] CHIP:DMG: { - [1666856767.906880][2324:2324] CHIP:DMG: suppressResponse = false, - [1666856767.906921][2324:2324] CHIP:DMG: InvokeResponseIBs = - [1666856767.906971][2324:2324] CHIP:DMG: [ - [1666856767.907012][2324:2324] CHIP:DMG: InvokeResponseIB = - [1666856767.907076][2324:2324] CHIP:DMG: { - [1666856767.907121][2324:2324] CHIP:DMG: CommandStatusIB = - [1666856767.907172][2324:2324] CHIP:DMG: { - [1666856767.907215][2324:2324] CHIP:DMG: CommandPathIB = - [1666856767.907262][2324:2324] CHIP:DMG: { - [1666856767.907316][2324:2324] CHIP:DMG: EndpointId = 0x1, - [1666856767.907370][2324:2324] CHIP:DMG: ClusterId = 0x102, - [1666856767.907425][2324:2324] CHIP:DMG: CommandId = 0x1, - [1666856767.907477][2324:2324] CHIP:DMG: }, - [1666856767.907536][2324:2324] CHIP:DMG: - [1666856767.907584][2324:2324] CHIP:DMG: StatusIB = - [1666856767.907636][2324:2324] CHIP:DMG: { - [1666856767.907690][2324:2324] CHIP:DMG: status = 0x00 (SUCCESS), - [1666856767.907743][2324:2324] CHIP:DMG: }, - [1666856767.907795][2324:2324] CHIP:DMG: - [1666856767.907838][2324:2324] CHIP:DMG: }, - [1666856767.907892][2324:2324] CHIP:DMG: - [1666856767.907931][2324:2324] CHIP:DMG: }, - [1666856767.907983][2324:2324] CHIP:DMG: - [1666856767.908023][2324:2324] CHIP:DMG: ], - [1666856767.908070][2324:2324] CHIP:DMG: - [1666856767.908110][2324:2324] CHIP:DMG: InteractionModelRevision = 1 - [1666856767.908150][2324:2324] CHIP:DMG: }, + + 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) + + [1659945343.976313][2742:2742] CHIP:DMG: InvokeRequestMessage = + [1659945343.976344][2742:2742] CHIP:DMG: { + [1659945343.976367][2742:2742] CHIP:DMG: suppressResponse = false, + [1659945343.976399][2742:2742] CHIP:DMG: timedRequest = false, + [1659945343.976424][2742:2742] CHIP:DMG: InvokeRequests = + [1659945343.976454][2742:2742] CHIP:DMG: [ + [1659945343.976479][2742:2742] CHIP:DMG: CommandDataIB = + [1659945343.976510][2742:2742] CHIP:DMG: { + [1659945343.976539][2742:2742] CHIP:DMG: CommandPathIB = + [1659945343.976571][2742:2742] CHIP:DMG: { + [1659945343.976605][2742:2742] CHIP:DMG: EndpointId = 0x1, + [1659945343.976639][2742:2742] CHIP:DMG: ClusterId = 0x102, + [1659945343.976672][2742:2742] CHIP:DMG: CommandId = 0x1, + [1659945343.976701][2742:2742] CHIP:DMG: }, + [1659945343.976734][2742:2742] CHIP:DMG: + [1659945343.976764][2742:2742] CHIP:DMG: CommandFields = + [1659945343.976792][2742:2742] CHIP:DMG: { + [1659945343.976823][2742:2742] CHIP:DMG: }, + [1659945343.976852][2742:2742] CHIP:DMG: }, + [1659945343.976882][2742:2742] CHIP:DMG: + [1659945343.976906][2742:2742] CHIP:DMG: ], + [1659945343.976936][2742:2742] CHIP:DMG: + [1659945343.976960][2742:2742] CHIP:DMG: InteractionModelRevision = 1 + [1659945343.976984][2742:2742] CHIP:DMG: }, disabled: true - label: "Check StopMotion command" @@ -128,37 +118,44 @@ tests: - label: "DUT sends a StopMotion command to TH" PICS: WNCV.C.C02.Tx verification: | + Product maker needs to provide instructions for how to trigger the command on the DUT. For comparison, the DUT behavior for this test step can be simulated using chip-tool (when DUT is a commissioner/Client) + ./chip-tool windowcovering stop-motion 1 1 - Verify SUCCESS (0x00) status response on the TH(Chip-tool) Log: - - [1666856788.504266][2324:2324] CHIP:DMG: InvokeResponseMessage = - [1666856788.504298][2324:2324] CHIP:DMG: { - [1666856788.504328][2324:2324] CHIP:DMG: suppressResponse = false, - [1666856788.504355][2324:2324] CHIP:DMG: InvokeResponseIBs = - [1666856788.504394][2324:2324] CHIP:DMG: [ - [1666856788.504425][2324:2324] CHIP:DMG: InvokeResponseIB = - [1666856788.504470][2324:2324] CHIP:DMG: { - [1666856788.504505][2324:2324] CHIP:DMG: CommandStatusIB = - [1666856788.504540][2324:2324] CHIP:DMG: { - [1666856788.504578][2324:2324] CHIP:DMG: CommandPathIB = - [1666856788.504621][2324:2324] CHIP:DMG: { - [1666856788.504712][2324:2324] CHIP:DMG: EndpointId = 0x1, - [1666856788.504758][2324:2324] CHIP:DMG: ClusterId = 0x102, - [1666856788.504799][2324:2324] CHIP:DMG: CommandId = 0x2, - [1666856788.504841][2324:2324] CHIP:DMG: }, - [1666856788.504885][2324:2324] CHIP:DMG: - [1666856788.504925][2324:2324] CHIP:DMG: StatusIB = - [1666856788.504964][2324:2324] CHIP:DMG: { - [1666856788.505010][2324:2324] CHIP:DMG: status = 0x00 (SUCCESS), - [1666856788.505049][2324:2324] CHIP:DMG: }, - [1666856788.505095][2324:2324] CHIP:DMG: - [1666856788.505130][2324:2324] CHIP:DMG: }, - [1666856788.505177][2324:2324] CHIP:DMG: - [1666856788.505210][2324:2324] CHIP:DMG: }, - [1666856788.505252][2324:2324] CHIP:DMG: - [1666856788.505283][2324:2324] CHIP:DMG: ], - [1666856788.505321][2324:2324] CHIP:DMG: - [1666856788.505352][2324:2324] CHIP:DMG: InteractionModelRevision = 1 + Verify the " DUT responds with request response" on TH(all-clusters-app): + + [1661859427.618059][2477:2477] CHIP:DMG: InvokeRequestMessage = + [1661859427.618086][2477:2477] CHIP:DMG: { + [1661859427.618112][2477:2477] CHIP:DMG: suppressResponse = false, + [1661859427.618140][2477:2477] CHIP:DMG: timedRequest = false, + [1661859427.618165][2477:2477] CHIP:DMG: InvokeRequests = + [1661859427.618196][2477:2477] CHIP:DMG: [ + [1661859427.618221][2477:2477] CHIP:DMG: CommandDataIB = + [1661859427.618252][2477:2477] CHIP:DMG: { + [1661859427.618279][2477:2477] CHIP:DMG: CommandPathIB = + [1661859427.618312][2477:2477] CHIP:DMG: { + [1661859427.618347][2477:2477] CHIP:DMG: EndpointId = 0x1, + [1661859427.618383][2477:2477] CHIP:DMG: ClusterId = 0x102, + [1661859427.618420][2477:2477] CHIP:DMG: CommandId = 0x2, + [1661859427.618452][2477:2477] CHIP:DMG: }, + [1661859427.618487][2477:2477] CHIP:DMG: + [1661859427.618516][2477:2477] CHIP:DMG: CommandFields = + [1661859427.618551][2477:2477] CHIP:DMG: { + [1661859427.618583][2477:2477] CHIP:DMG: }, + [1661859427.618613][2477:2477] CHIP:DMG: }, + [1661859427.618645][2477:2477] CHIP:DMG: + [1661859427.618670][2477:2477] CHIP:DMG: ], + [1661859427.618700][2477:2477] CHIP:DMG: + [1661859427.618724][2477:2477] CHIP:DMG: InteractionModelRevision = 1 + [1661859427.618747][2477:2477] CHIP:DMG: }, + [1661859427.618814][2477:2477] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0102 e=1 p=o + [1661859427.618853][2477:2477] CHIP:DMG: AccessControl: allowed + [1661859427.618882][2477:2477] CHIP:DMG: Received command for Endpoint=1 Cluster=0x0000_0102 Command=0x0000_0002 + [1661859427.618914][2477:2477] CHIP:ZCL: StopMotion command received + [1661859427.618961][2477:2477] CHIP:DMG: Endpoint 1, Cluster 0x0000_0102 update version to f31db + + Product maker needs to provide instructions for how to trigger the command on the DUT. For comparison, the DUT behavior for this test step can be simulated using chip-tool (when DUT is a commissioner/Client) + + TH receives the DownOrClose command and knows this attribute for this cluster and provides a plausable value, DUT processes the values and operates normally disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_WNCV_7_1.yaml b/src/app/tests/suites/certification/Test_TC_WNCV_7_1.yaml index 53f2a0b02358aa..3edc2309c25772 100644 --- a/src/app/tests/suites/certification/Test_TC_WNCV_7_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_WNCV_7_1.yaml @@ -42,38 +42,37 @@ tests: - label: "DUT sends GoToLiftPercentage command with 50% to TH" PICS: WNCV.C.C05.Tx verification: | + Product maker needs to provide instructions for how to trigger the command on the DUT. For comparison, the DUT behavior for this test step can be simulated using chip-tool (when DUT is a commissioner/Client) + ./chip-tool windowcovering go-to-lift-percentage 5000 1 1 - Verify If (WNCV.S.F00(LF) & WNCV.S.F02(PA_LF)) supports, DUT responds with a SUCCESS(0x00) status response or If only (WNCV.S.F00(LF)) supports DUT can responds either SUCCESS(0x00) or UNSUPPORTED_COMMAND(0x81) on the TH(Chip-tool) Log: - - [1666856863.034457][2347:2347] CHIP:DMG: InvokeResponseMessage = - [1666856863.034550][2347:2347] CHIP:DMG: { - [1666856863.034609][2347:2347] CHIP:DMG: suppressResponse = false, - [1666856863.034639][2347:2347] CHIP:DMG: InvokeResponseIBs = - [1666856863.034673][2347:2347] CHIP:DMG: [ - [1666856863.034699][2347:2347] CHIP:DMG: InvokeResponseIB = - [1666856863.034740][2347:2347] CHIP:DMG: { - [1666856863.034870][2347:2347] CHIP:DMG: CommandStatusIB = - [1666856863.034908][2347:2347] CHIP:DMG: { - [1666856863.034937][2347:2347] CHIP:DMG: CommandPathIB = - [1666856863.034969][2347:2347] CHIP:DMG: { - [1666856863.035007][2347:2347] CHIP:DMG: EndpointId = 0x1, - [1666856863.035046][2347:2347] CHIP:DMG: ClusterId = 0x102, - [1666856863.035081][2347:2347] CHIP:DMG: CommandId = 0x5, - [1666856863.035112][2347:2347] CHIP:DMG: }, - [1666856863.035148][2347:2347] CHIP:DMG: - [1666856863.035185][2347:2347] CHIP:DMG: StatusIB = - [1666856863.035223][2347:2347] CHIP:DMG: { - [1666856863.035263][2347:2347] CHIP:DMG: status = 0x00 (SUCCESS), - [1666856863.035302][2347:2347] CHIP:DMG: }, - [1666856863.035340][2347:2347] CHIP:DMG: - [1666856863.035373][2347:2347] CHIP:DMG: }, - [1666856863.035412][2347:2347] CHIP:DMG: - [1666856863.035444][2347:2347] CHIP:DMG: }, - [1666856863.035482][2347:2347] CHIP:DMG: - [1666856863.035511][2347:2347] CHIP:DMG: ], - [1666856863.035548][2347:2347] CHIP:DMG: - [1666856863.035574][2347:2347] CHIP:DMG: InteractionModelRevision = 1 + Verify the "DUT responds with right request response" + + [1659945446.669477][2742:2742] CHIP:DMG: InvokeRequestMessage = + [1659945446.669520][2742:2742] CHIP:DMG: { + [1659945446.669555][2742:2742] CHIP:DMG: suppressResponse = false, + [1659945446.669599][2742:2742] CHIP:DMG: timedRequest = false, + [1659945446.669639][2742:2742] CHIP:DMG: InvokeRequests = + [1659945446.669688][2742:2742] CHIP:DMG: [ + [1659945446.669729][2742:2742] CHIP:DMG: CommandDataIB = + [1659945446.669773][2742:2742] CHIP:DMG: { + [1659945446.669815][2742:2742] CHIP:DMG: CommandPathIB = + [1659945446.669866][2742:2742] CHIP:DMG: { + [1659945446.669919][2742:2742] CHIP:DMG: EndpointId = 0x1, + [1659945446.669975][2742:2742] CHIP:DMG: ClusterId = 0x102, + [1659945446.670033][2742:2742] CHIP:DMG: CommandId = 0x5, + [1659945446.670084][2742:2742] CHIP:DMG: }, + [1659945446.670137][2742:2742] CHIP:DMG: + [1659945446.670191][2742:2742] CHIP:DMG: CommandFields = + [1659945446.670247][2742:2742] CHIP:DMG: { + [1659945446.670302][2742:2742] CHIP:DMG: 0x0 = 5000, + [1659945446.670361][2742:2742] CHIP:DMG: }, + [1659945446.670409][2742:2742] CHIP:DMG: }, + [1659945446.670460][2742:2742] CHIP:DMG: + [1659945446.670499][2742:2742] CHIP:DMG: ], + [1659945446.670548][2742:2742] CHIP:DMG: + [1659945446.670587][2742:2742] CHIP:DMG: InteractionModelRevision = 1 + [1659945446.670626][2742:2742] CHIP:DMG: }, disabled: true - label: "Check GoToTiltPercentage command 50%" @@ -84,38 +83,36 @@ tests: - label: "DUT sends GoToTiltPercentage command with 50% to TH" PICS: WNCV.C.C08.Tx verification: | + Product maker needs to provide instructions for how to trigger the command on the DUT. For comparison, the DUT behavior for this test step can be simulated using chip-tool (when DUT is a commissioner/Client) + ./chip-tool windowcovering go-to-tilt-percentage 5000 1 1 - Verify If (WNCV.S.F01(TL) & WNCV.S.F04(PA_TL)) supports DUT responds with a SUCCESS(0x00) status response or If only (WNCV.S.F01(TL)) supports DUT can responds either SUCCESS(0x00) or UNSUPPORTED_COMMAND(0x81). on the TH(Chip-tool) Log: - - [1666856897.349164][2347:2347] CHIP:DMG: InvokeResponseMessage = - [1666856897.349252][2347:2347] CHIP:DMG: { - [1666856897.349316][2347:2347] CHIP:DMG: suppressResponse = false, - [1666856897.349378][2347:2347] CHIP:DMG: InvokeResponseIBs = - [1666856897.349450][2347:2347] CHIP:DMG: [ - [1666856897.349512][2347:2347] CHIP:DMG: InvokeResponseIB = - [1666856897.349606][2347:2347] CHIP:DMG: { - [1666856897.349669][2347:2347] CHIP:DMG: CommandStatusIB = - [1666856897.349801][2347:2347] CHIP:DMG: { - [1666856897.349922][2347:2347] CHIP:DMG: CommandPathIB = - [1666856897.350004][2347:2347] CHIP:DMG: { - [1666856897.350139][2347:2347] CHIP:DMG: EndpointId = 0x1, - [1666856897.350280][2347:2347] CHIP:DMG: ClusterId = 0x102, - [1666856897.350357][2347:2347] CHIP:DMG: CommandId = 0x8, - [1666856897.350487][2347:2347] CHIP:DMG: }, - [1666856897.350718][2347:2347] CHIP:DMG: - [1666856897.350799][2347:2347] CHIP:DMG: StatusIB = - [1666856897.350937][2347:2347] CHIP:DMG: { - [1666856897.351076][2347:2347] CHIP:DMG: status = 0x00 (SUCCESS), - [1666856897.351147][2347:2347] CHIP:DMG: }, - [1666856897.351181][2347:2347] CHIP:DMG: - [1666856897.351208][2347:2347] CHIP:DMG: }, - [1666856897.351259][2347:2347] CHIP:DMG: - [1666856897.351283][2347:2347] CHIP:DMG: }, - [1666856897.351335][2347:2347] CHIP:DMG: - [1666856897.351377][2347:2347] CHIP:DMG: ], - [1666856897.351409][2347:2347] CHIP:DMG: - [1666856897.351432][2347:2347] CHIP:DMG: InteractionModelRevision = 1 - [1666856897.351473][2347:2347] CHIP:DMG: }, + Verify the "DUT responds with right request response" + + [1659945481.649337][2742:2742] CHIP:DMG: InvokeRequestMessage = + [1659945481.649367][2742:2742] CHIP:DMG: { + [1659945481.649393][2742:2742] CHIP:DMG: suppressResponse = false, + [1659945481.649424][2742:2742] CHIP:DMG: timedRequest = false, + [1659945481.649452][2742:2742] CHIP:DMG: InvokeRequests = + [1659945481.649487][2742:2742] CHIP:DMG: [ + [1659945481.649515][2742:2742] CHIP:DMG: CommandDataIB = + [1659945481.649551][2742:2742] CHIP:DMG: { + [1659945481.649582][2742:2742] CHIP:DMG: CommandPathIB = + [1659945481.649622][2742:2742] CHIP:DMG: { + [1659945481.649660][2742:2742] CHIP:DMG: EndpointId = 0x1, + [1659945481.649702][2742:2742] CHIP:DMG: ClusterId = 0x102, + [1659945481.649743][2742:2742] CHIP:DMG: CommandId = 0x8, + [1659945481.649778][2742:2742] CHIP:DMG: }, + [1659945481.649819][2742:2742] CHIP:DMG: + [1659945481.649856][2742:2742] CHIP:DMG: CommandFields = + [1659945481.649892][2742:2742] CHIP:DMG: { + [1659945481.649929][2742:2742] CHIP:DMG: 0x0 = 5000, + [1659945481.649970][2742:2742] CHIP:DMG: }, + [1659945481.650002][2742:2742] CHIP:DMG: }, + [1659945481.650037][2742:2742] CHIP:DMG: + [1659945481.650065][2742:2742] CHIP:DMG: ], + [1659945481.650099][2742:2742] CHIP:DMG: + [1659945481.650126][2742:2742] CHIP:DMG: InteractionModelRevision = 1 + [1659945481.650153][2742:2742] CHIP:DMG: }, disabled: true diff --git a/src/python_testing/TC_CGEN_2_4.py b/src/python_testing/TC_CGEN_2_4.py index c089615a8d4489..ae9f912798b6a2 100644 --- a/src/python_testing/TC_CGEN_2_4.py +++ b/src/python_testing/TC_CGEN_2_4.py @@ -38,6 +38,7 @@ def OpenCommissioningWindow(self) -> int: try: pin, code = self.th1.OpenCommissioningWindow( nodeid=self.dut_node_id, timeout=600, iteration=10000, discriminator=self.matter_test_config.discriminator, option=1) + time.sleep(5) return pin, code except Exception as e: diff --git a/zzz_generated/chip-tool/zap-generated/test/Commands.h b/zzz_generated/chip-tool/zap-generated/test/Commands.h index 740762a894ffdd..3a577fcb6e8bc6 100644 --- a/zzz_generated/chip-tool/zap-generated/test/Commands.h +++ b/zzz_generated/chip-tool/zap-generated/test/Commands.h @@ -5594,7 +5594,7 @@ class Test_TC_ACL_2_4Suite : public TestCommand class Test_TC_ACL_2_7Suite : public TestCommand { public: - Test_TC_ACL_2_7Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_ACL_2_7", 14, credsIssuerConfig) + Test_TC_ACL_2_7Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_ACL_2_7", 15, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -5602,6 +5602,7 @@ class Test_TC_ACL_2_7Suite : public TestCommand AddArgument("nodeId2", 0, UINT64_MAX, &mNodeId2); AddArgument("payload", &mPayload); AddArgument("discriminator", 0, UINT16_MAX, &mDiscriminator); + AddArgument("waitAfterCommissioning", 0, UINT16_MAX, &mWaitAfterCommissioning); AddArgument("PakeVerifier", &mPakeVerifier); AddArgument("D_OK_EMPTY", &mDOkEmpty); AddArgument("D_OK_SINGLE", &mDOkSingle); @@ -5622,6 +5623,7 @@ class Test_TC_ACL_2_7Suite : public TestCommand chip::Optional mNodeId2; chip::Optional mPayload; chip::Optional mDiscriminator; + chip::Optional mWaitAfterCommissioning; chip::Optional mPakeVerifier; chip::Optional mDOkEmpty; chip::Optional mDOkSingle; @@ -5677,6 +5679,10 @@ class Test_TC_ACL_2_7Suite : public TestCommand shouldContinue = true; break; case 6: + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); + shouldContinue = true; + break; + case 7: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::Clusters::CommissionerCommands::Commands::GetCommissionerNodeIdResponse::DecodableType value; @@ -5685,7 +5691,7 @@ class Test_TC_ACL_2_7Suite : public TestCommand } shouldContinue = true; break; - case 7: + case 8: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { uint8_t value; @@ -5693,13 +5699,13 @@ class Test_TC_ACL_2_7Suite : public TestCommand TH2FabricIndex = value; } break; - case 8: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); - break; case 9: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); break; case 10: + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); + break; + case 11: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList< @@ -5717,7 +5723,7 @@ class Test_TC_ACL_2_7Suite : public TestCommand } } break; - case 11: + case 12: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList< @@ -5742,7 +5748,7 @@ class Test_TC_ACL_2_7Suite : public TestCommand } } break; - case 12: + case 13: switch (mTestSubStepIndex) { case 0: @@ -5770,7 +5776,7 @@ class Test_TC_ACL_2_7Suite : public TestCommand break; } break; - case 13: + case 14: switch (mTestSubStepIndex) { case 0: @@ -5862,33 +5868,40 @@ class Test_TC_ACL_2_7Suite : public TestCommand ); } case 4: { - LogStep(4, "Step 4:TH2 starts a commissioning process with DUT"); + LogStep(4, "Waiting after opening commissioning window"); + ListFreer listFreer; + chip::app::Clusters::DelayCommands::Commands::WaitForMs::Type value; + value.ms = mWaitAfterCommissioning.HasValue() ? mWaitAfterCommissioning.Value() : 5000UL; + return WaitForMs(kIdentityAlpha, value); + } + case 5: { + LogStep(5, "Step 4:TH2 starts a commissioning process with DUT"); ListFreer listFreer; chip::app::Clusters::CommissionerCommands::Commands::PairWithCode::Type value; value.nodeId = mNodeId2.HasValue() ? mNodeId2.Value() : 51966ULL; value.payload = mPayload.HasValue() ? mPayload.Value() : chip::Span("MT:-24J0AFN00KA0648G00", 22); return PairWithCode(kIdentityBeta, value); } - case 5: { - LogStep(5, "DUT is commissioned by TH2 on Fabric ID2 "); + case 6: { + LogStep(6, "DUT is commissioned by TH2 on Fabric ID2 "); ListFreer listFreer; chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; value.nodeId = mNodeId2.HasValue() ? mNodeId2.Value() : 51966ULL; return WaitForCommissionee(kIdentityBeta, value); } - case 6: { - LogStep(6, "Read the TH2 commissioner node ID"); + case 7: { + LogStep(7, "Read the TH2 commissioner node ID"); ListFreer listFreer; chip::app::Clusters::CommissionerCommands::Commands::GetCommissionerNodeId::Type value; return GetCommissionerNodeId(kIdentityBeta, value); } - case 7: { - LogStep(7, "Step 5:TH2 reads OperationalCredentials cluster CurrentFabricIndex attribute"); + case 8: { + LogStep(8, "Step 5:TH2 reads OperationalCredentials cluster CurrentFabricIndex attribute"); return ReadAttribute(kIdentityBeta, GetEndpoint(0), OperationalCredentials::Id, OperationalCredentials::Attributes::CurrentFabricIndex::Id, true, chip::NullOptional); } - case 8: { - LogStep(8, + case 9: { + LogStep(9, "Step 6:TH1 writes DUT Endpoint 0 AccessControl cluster Extension attribute, value is list of " "AccessControlExtensionStruct containing 1 element"); VerifyOrDo(!ShouldSkip("ACL.S.A0001"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); @@ -5910,8 +5923,8 @@ class Test_TC_ACL_2_7Suite : public TestCommand return WriteAttribute(kIdentityAlpha, GetEndpoint(0), AccessControl::Id, AccessControl::Attributes::Extension::Id, value, chip::NullOptional, chip::NullOptional); } - case 9: { - LogStep(9, + case 10: { + LogStep(10, "Step 7:TH2 writes DUT Endpoint 0 AccessControl cluster Extension attribute, value is list of " "AccessControlExtensionStruct containing 1 element"); VerifyOrDo(!ShouldSkip("ACL.S.A0001"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); @@ -5939,27 +5952,27 @@ class Test_TC_ACL_2_7Suite : public TestCommand return WriteAttribute(kIdentityBeta, GetEndpoint(0), AccessControl::Id, AccessControl::Attributes::Extension::Id, value, chip::NullOptional, chip::NullOptional); } - case 10: { - LogStep(10, "Step 8:TH1 reads AccessControl cluster Extension attribute"); + case 11: { + LogStep(11, "Step 8:TH1 reads AccessControl cluster Extension attribute"); VerifyOrDo(!ShouldSkip("ACL.S.A0001"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(0), AccessControl::Id, AccessControl::Attributes::Extension::Id, true, chip::NullOptional); } - case 11: { - LogStep(11, "Step 9:TH2 reads AccessControl cluster Extension attribute"); + case 12: { + LogStep(12, "Step 9:TH2 reads AccessControl cluster Extension attribute"); VerifyOrDo(!ShouldSkip("ACL.S.A0001"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityBeta, GetEndpoint(0), AccessControl::Id, AccessControl::Attributes::Extension::Id, true, chip::NullOptional); } - case 12: { - LogStep(12, "Step 10:TH1 reads DUT Endpoint 0 AccessControl cluster AccessControlExtensionChanged event"); + case 13: { + LogStep(13, "Step 10:TH1 reads DUT Endpoint 0 AccessControl cluster AccessControlExtensionChanged event"); VerifyOrDo(!ShouldSkip("ACL.S.E01"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); mTestSubStepCount = 1; return ReadEvent(kIdentityAlpha, GetEndpoint(0), AccessControl::Id, AccessControl::Events::AccessControlExtensionChanged::Id, false, chip::NullOptional); } - case 13: { - LogStep(13, "Step 11:TH2 reads DUT Endpoint 0 AccessControl cluster AccessControlExtensionChanged event"); + case 14: { + LogStep(14, "Step 11:TH2 reads DUT Endpoint 0 AccessControl cluster AccessControlExtensionChanged event"); VerifyOrDo(!ShouldSkip("ACL.S.E01"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); mTestSubStepCount = 1; return ReadEvent(kIdentityBeta, GetEndpoint(0), AccessControl::Id, @@ -5973,12 +5986,13 @@ class Test_TC_ACL_2_7Suite : public TestCommand class Test_TC_ACL_2_8Suite : public TestCommand { public: - Test_TC_ACL_2_8Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_ACL_2_8", 14, credsIssuerConfig) + Test_TC_ACL_2_8Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_ACL_2_8", 15, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); AddArgument("endpoint", 0, UINT16_MAX, &mEndpoint); AddArgument("nodeId2", 0, UINT64_MAX, &mNodeId2); + AddArgument("waitAfterCommissioning", 0, UINT16_MAX, &mWaitAfterCommissioning); AddArgument("payload", &mPayload); AddArgument("discriminator", 0, UINT16_MAX, &mDiscriminator); AddArgument("PakeVerifier", &mPakeVerifier); @@ -5997,6 +6011,7 @@ class Test_TC_ACL_2_8Suite : public TestCommand chip::Optional mCluster; chip::Optional mEndpoint; chip::Optional mNodeId2; + chip::Optional mWaitAfterCommissioning; chip::Optional mPayload; chip::Optional mDiscriminator; chip::Optional mPakeVerifier; @@ -6052,6 +6067,10 @@ class Test_TC_ACL_2_8Suite : public TestCommand shouldContinue = true; break; case 6: + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); + shouldContinue = true; + break; + case 7: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::Clusters::CommissionerCommands::Commands::GetCommissionerNodeIdResponse::DecodableType value; @@ -6060,7 +6079,7 @@ class Test_TC_ACL_2_8Suite : public TestCommand } shouldContinue = true; break; - case 7: + case 8: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { uint8_t value; @@ -6068,13 +6087,13 @@ class Test_TC_ACL_2_8Suite : public TestCommand TH2FabricIndex = value; } break; - case 8: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); - break; case 9: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); break; case 10: + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); + break; + case 11: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList< @@ -6104,7 +6123,7 @@ class Test_TC_ACL_2_8Suite : public TestCommand } } break; - case 11: + case 12: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList< @@ -6134,7 +6153,7 @@ class Test_TC_ACL_2_8Suite : public TestCommand } } break; - case 12: + case 13: switch (mTestSubStepIndex) { case 0: @@ -6248,7 +6267,7 @@ class Test_TC_ACL_2_8Suite : public TestCommand break; } break; - case 13: + case 14: switch (mTestSubStepIndex) { case 0: @@ -6419,33 +6438,40 @@ class Test_TC_ACL_2_8Suite : public TestCommand ); } case 4: { - LogStep(4, "TH2 starts a commissioning process with DUT"); + LogStep(4, "Waiting after opening commissioning window"); + ListFreer listFreer; + chip::app::Clusters::DelayCommands::Commands::WaitForMs::Type value; + value.ms = mWaitAfterCommissioning.HasValue() ? mWaitAfterCommissioning.Value() : 5000UL; + return WaitForMs(kIdentityAlpha, value); + } + case 5: { + LogStep(5, "TH2 starts a commissioning process with DUT"); ListFreer listFreer; chip::app::Clusters::CommissionerCommands::Commands::PairWithCode::Type value; value.nodeId = mNodeId2.HasValue() ? mNodeId2.Value() : 51966ULL; value.payload = mPayload.HasValue() ? mPayload.Value() : chip::Span("MT:-24J0AFN00KA0648G00", 22); return PairWithCode(kIdentityBeta, value); } - case 5: { - LogStep(5, "DUT is commissioned by TH2 on Fabric ID2 "); + case 6: { + LogStep(6, "DUT is commissioned by TH2 on Fabric ID2 "); ListFreer listFreer; chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; value.nodeId = mNodeId2.HasValue() ? mNodeId2.Value() : 51966ULL; return WaitForCommissionee(kIdentityBeta, value); } - case 6: { - LogStep(6, "Read the TH2 commissioner node ID"); + case 7: { + LogStep(7, "Read the TH2 commissioner node ID"); ListFreer listFreer; chip::app::Clusters::CommissionerCommands::Commands::GetCommissionerNodeId::Type value; return GetCommissionerNodeId(kIdentityBeta, value); } - case 7: { - LogStep(7, "TH2 reads OperationalCredentials cluster CurrentFabricIndex attribute"); + case 8: { + LogStep(8, "TH2 reads OperationalCredentials cluster CurrentFabricIndex attribute"); return ReadAttribute(kIdentityBeta, GetEndpoint(0), OperationalCredentials::Id, OperationalCredentials::Attributes::CurrentFabricIndex::Id, true, chip::NullOptional); } - case 8: { - LogStep(8, "TH1 writes DUT Endpoint 0 AccessControl cluster ACL attribute"); + case 9: { + LogStep(9, "TH1 writes DUT Endpoint 0 AccessControl cluster ACL attribute"); VerifyOrDo(!ShouldSkip("ACL.S.A0000"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::DataModel::List value; @@ -6477,8 +6503,8 @@ class Test_TC_ACL_2_8Suite : public TestCommand return WriteAttribute(kIdentityAlpha, GetEndpoint(0), AccessControl::Id, AccessControl::Attributes::Acl::Id, value, chip::NullOptional, chip::NullOptional); } - case 9: { - LogStep(9, "TH2 writes DUT Endpoint 0 AccessControl cluster ACL attribute"); + case 10: { + LogStep(10, "TH2 writes DUT Endpoint 0 AccessControl cluster ACL attribute"); VerifyOrDo(!ShouldSkip("ACL.S.A0000"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::DataModel::List value; @@ -6510,27 +6536,27 @@ class Test_TC_ACL_2_8Suite : public TestCommand return WriteAttribute(kIdentityBeta, GetEndpoint(0), AccessControl::Id, AccessControl::Attributes::Acl::Id, value, chip::NullOptional, chip::NullOptional); } - case 10: { - LogStep(10, "TH1 reads DUT Endpoint 0 AccessControl cluster ACL attribute"); + case 11: { + LogStep(11, "TH1 reads DUT Endpoint 0 AccessControl cluster ACL attribute"); VerifyOrDo(!ShouldSkip("ACL.S.A0000"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(0), AccessControl::Id, AccessControl::Attributes::Acl::Id, true, chip::NullOptional); } - case 11: { - LogStep(11, "TH2 reads DUT Endpoint 0 AccessControl cluster ACL attribute"); + case 12: { + LogStep(12, "TH2 reads DUT Endpoint 0 AccessControl cluster ACL attribute"); VerifyOrDo(!ShouldSkip("ACL.S.A0000"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityBeta, GetEndpoint(0), AccessControl::Id, AccessControl::Attributes::Acl::Id, true, chip::NullOptional); } - case 12: { - LogStep(12, "TH1 reads DUT Endpoint 0 AccessControl cluster AccessControlEntryChanged event"); + case 13: { + LogStep(13, "TH1 reads DUT Endpoint 0 AccessControl cluster AccessControlEntryChanged event"); VerifyOrDo(!ShouldSkip("ACL.S.E00"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); mTestSubStepCount = 3; return ReadEvent(kIdentityAlpha, GetEndpoint(0), AccessControl::Id, AccessControl::Events::AccessControlEntryChanged::Id, false, chip::NullOptional); } - case 13: { - LogStep(13, "TH2 reads DUT Endpoint 0 AccessControl cluster AccessControlEntryChanged event"); + case 14: { + LogStep(14, "TH2 reads DUT Endpoint 0 AccessControl cluster AccessControlEntryChanged event"); VerifyOrDo(!ShouldSkip("ACL.S.E00"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); mTestSubStepCount = 3; return ReadEvent(kIdentityBeta, GetEndpoint(0), AccessControl::Id, AccessControl::Events::AccessControlEntryChanged::Id, @@ -6827,13 +6853,14 @@ class Test_TC_ACL_2_9Suite : public TestCommand class Test_TC_ACL_2_10Suite : public TestCommand { public: - Test_TC_ACL_2_10Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_ACL_2_10", 25, credsIssuerConfig) + Test_TC_ACL_2_10Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_ACL_2_10", 26, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); AddArgument("endpoint", 0, UINT16_MAX, &mEndpoint); AddArgument("nodeId2", 0, UINT64_MAX, &mNodeId2); AddArgument("discriminator", 0, UINT16_MAX, &mDiscriminator); + AddArgument("waitAfterCommissioning", 0, UINT16_MAX, &mWaitAfterCommissioning); AddArgument("payload", &mPayload); AddArgument("PakeVerifier", &mPakeVerifier); AddArgument("D_OK_EMPTY", &mDOkEmpty); @@ -6854,6 +6881,7 @@ class Test_TC_ACL_2_10Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mNodeId2; chip::Optional mDiscriminator; + chip::Optional mWaitAfterCommissioning; chip::Optional mPayload; chip::Optional mPakeVerifier; chip::Optional mDOkEmpty; @@ -6910,6 +6938,10 @@ class Test_TC_ACL_2_10Suite : public TestCommand shouldContinue = true; break; case 6: + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); + shouldContinue = true; + break; + case 7: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::Clusters::CommissionerCommands::Commands::GetCommissionerNodeIdResponse::DecodableType value; @@ -6918,7 +6950,7 @@ class Test_TC_ACL_2_10Suite : public TestCommand } shouldContinue = true; break; - case 7: + case 8: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { uint8_t value; @@ -6926,9 +6958,6 @@ class Test_TC_ACL_2_10Suite : public TestCommand TH2FabricIndex = value; } break; - case 8: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); - break; case 9: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); break; @@ -6940,7 +6969,6 @@ class Test_TC_ACL_2_10Suite : public TestCommand break; case 12: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); - shouldContinue = true; break; case 13: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); @@ -6956,8 +6984,12 @@ class Test_TC_ACL_2_10Suite : public TestCommand break; case 16: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); + shouldContinue = true; break; case 17: + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); + break; + case 18: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList< @@ -6975,7 +7007,7 @@ class Test_TC_ACL_2_10Suite : public TestCommand } } break; - case 18: + case 19: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList< @@ -7019,24 +7051,24 @@ class Test_TC_ACL_2_10Suite : public TestCommand } } break; - case 19: + case 20: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); break; - case 20: + case 21: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); shouldContinue = true; break; - case 21: + case 22: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::Clusters::OperationalCredentials::Commands::NOCResponse::DecodableType value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); } break; - case 22: + case 23: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); break; - case 23: + case 24: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList< @@ -7054,7 +7086,7 @@ class Test_TC_ACL_2_10Suite : public TestCommand } } break; - case 24: + case 25: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); shouldContinue = true; break; @@ -7115,33 +7147,40 @@ class Test_TC_ACL_2_10Suite : public TestCommand ); } case 4: { - LogStep(4, "TH2 starts a commissioning process with DUT"); + LogStep(4, "Waiting after opening commissioning window"); + ListFreer listFreer; + chip::app::Clusters::DelayCommands::Commands::WaitForMs::Type value; + value.ms = mWaitAfterCommissioning.HasValue() ? mWaitAfterCommissioning.Value() : 5000UL; + return WaitForMs(kIdentityAlpha, value); + } + case 5: { + LogStep(5, "TH2 starts a commissioning process with DUT"); ListFreer listFreer; chip::app::Clusters::CommissionerCommands::Commands::PairWithCode::Type value; value.nodeId = mNodeId2.HasValue() ? mNodeId2.Value() : 51966ULL; value.payload = mPayload.HasValue() ? mPayload.Value() : chip::Span("MT:-24J0AFN00KA0648G00", 22); return PairWithCode(kIdentityBeta, value); } - case 5: { - LogStep(5, "DUT is commissioned by TH2 on Fabric ID2 "); + case 6: { + LogStep(6, "DUT is commissioned by TH2 on Fabric ID2 "); ListFreer listFreer; chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; value.nodeId = mNodeId2.HasValue() ? mNodeId2.Value() : 51966ULL; return WaitForCommissionee(kIdentityBeta, value); } - case 6: { - LogStep(6, "Read the TH2 commissioner node ID"); + case 7: { + LogStep(7, "Read the TH2 commissioner node ID"); ListFreer listFreer; chip::app::Clusters::CommissionerCommands::Commands::GetCommissionerNodeId::Type value; return GetCommissionerNodeId(kIdentityBeta, value); } - case 7: { - LogStep(7, "Step 4:TH2 reads OperationalCredentials cluster CurrentFabricIndex attribute"); + case 8: { + LogStep(8, "Step 4:TH2 reads OperationalCredentials cluster CurrentFabricIndex attribute"); return ReadAttribute(kIdentityBeta, GetEndpoint(0), OperationalCredentials::Id, OperationalCredentials::Attributes::CurrentFabricIndex::Id, true, chip::NullOptional); } - case 8: { - LogStep(8, "Step 5:TH1 writes DUT Endpoint 0 AccessControl cluster ACL attribute"); + case 9: { + LogStep(9, "Step 5:TH1 writes DUT Endpoint 0 AccessControl cluster ACL attribute"); VerifyOrDo(!ShouldSkip("ACL.S.A0000"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::DataModel::List value; @@ -7188,8 +7227,8 @@ class Test_TC_ACL_2_10Suite : public TestCommand return WriteAttribute(kIdentityAlpha, GetEndpoint(0), AccessControl::Id, AccessControl::Attributes::Acl::Id, value, chip::NullOptional, chip::NullOptional); } - case 9: { - LogStep(9, "Step 6:TH2 writes DUT Endpoint 0 AccessControl cluster ACL attribute"); + case 10: { + LogStep(10, "Step 6:TH2 writes DUT Endpoint 0 AccessControl cluster ACL attribute"); VerifyOrDo(!ShouldSkip("ACL.S.A0000"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::DataModel::List value; @@ -7236,8 +7275,8 @@ class Test_TC_ACL_2_10Suite : public TestCommand return WriteAttribute(kIdentityBeta, GetEndpoint(0), AccessControl::Id, AccessControl::Attributes::Acl::Id, value, chip::NullOptional, chip::NullOptional); } - case 10: { - LogStep(10, + case 11: { + LogStep(11, "Step 7:TH1 writes DUT Endpoint 0 AccessControl cluster Extension attribute, value is list of " "AccessControlExtensionStruct containing 1 element 1.struct, Data field: D_OK_EMPTY"); VerifyOrDo(!ShouldSkip("ACL.S.A0001"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); @@ -7259,8 +7298,8 @@ class Test_TC_ACL_2_10Suite : public TestCommand return WriteAttribute(kIdentityAlpha, GetEndpoint(0), AccessControl::Id, AccessControl::Attributes::Extension::Id, value, chip::NullOptional, chip::NullOptional); } - case 11: { - LogStep(11, + case 12: { + LogStep(12, "Step 8:TH2 writes DUT Endpoint 0 AccessControl cluster Extension attribute, value is list of " "AccessControlExtensionStruct containing 1 element 1.struct, Data field: D_OK_SINGLE"); VerifyOrDo(!ShouldSkip("ACL.S.A0001"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); @@ -7288,15 +7327,15 @@ class Test_TC_ACL_2_10Suite : public TestCommand return WriteAttribute(kIdentityBeta, GetEndpoint(0), AccessControl::Id, AccessControl::Attributes::Extension::Id, value, chip::NullOptional, chip::NullOptional); } - case 12: { - LogStep(12, "Step 9: Reboot DUT"); + case 13: { + LogStep(13, "Step 9: Reboot DUT"); VerifyOrDo(!ShouldSkip("PICS_SDK_CI_ONLY"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::SystemCommands::Commands::Reboot::Type value; return Reboot(kIdentityAlpha, value); } - case 13: { - LogStep(13, "Step 9: Reboot DUT"); + case 14: { + LogStep(14, "Step 9: Reboot DUT"); VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::LogCommands::Commands::UserPrompt::Type value; @@ -7306,22 +7345,22 @@ class Test_TC_ACL_2_10Suite : public TestCommand value.expectedValue.Value() = chip::Span("ygarbage: not in length on purpose", 1); return UserPrompt(kIdentityAlpha, value); } - case 14: { - LogStep(14, "TH1 Connects to the device again"); + case 15: { + LogStep(15, "TH1 Connects to the device again"); ListFreer listFreer; chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; value.nodeId = mNodeId.HasValue() ? mNodeId.Value() : 305414945ULL; return WaitForCommissionee(kIdentityAlpha, value); } - case 15: { - LogStep(15, "TH2 Connects to the device again"); + case 16: { + LogStep(16, "TH2 Connects to the device again"); ListFreer listFreer; chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; value.nodeId = mNodeId2.HasValue() ? mNodeId2.Value() : 51966ULL; return WaitForCommissionee(kIdentityBeta, value); } - case 16: { - LogStep(16, "Step 10:TH1 writes DUT Endpoint 0 AccessControl cluster ACL attribute"); + case 17: { + LogStep(17, "Step 10:TH1 writes DUT Endpoint 0 AccessControl cluster ACL attribute"); VerifyOrDo(!ShouldSkip("ACL.S.A0000"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::DataModel::List value; @@ -7368,22 +7407,22 @@ class Test_TC_ACL_2_10Suite : public TestCommand return WriteAttribute(kIdentityAlpha, GetEndpoint(0), AccessControl::Id, AccessControl::Attributes::Acl::Id, value, chip::NullOptional, chip::NullOptional); } - case 17: { - LogStep(17, + case 18: { + LogStep(18, "Step 11:TH1 reads DUT Endpoint 0 AccessControl cluster Extension attribute, value is list of " "AccessControlExtensionStruct containing 1 element"); VerifyOrDo(!ShouldSkip("ACL.S.A0001"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(0), AccessControl::Id, AccessControl::Attributes::Extension::Id, true, chip::NullOptional); } - case 18: { - LogStep(18, "Step 12:TH2 reads DUT Endpoint 0 AccessControl cluster ACL attribute"); + case 19: { + LogStep(19, "Step 12:TH2 reads DUT Endpoint 0 AccessControl cluster ACL attribute"); VerifyOrDo(!ShouldSkip("ACL.S.A0000"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityBeta, GetEndpoint(0), AccessControl::Id, AccessControl::Attributes::Acl::Id, true, chip::NullOptional); } - case 19: { - LogStep(19, "Step 13:TH2 reads DUT Endpoint 0 AccessControl cluster Extension attribute"); + case 20: { + LogStep(20, "Step 13:TH2 reads DUT Endpoint 0 AccessControl cluster Extension attribute"); VerifyOrDo(!ShouldSkip("ACL.S.A0001"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::DataModel::List value; @@ -7409,8 +7448,8 @@ class Test_TC_ACL_2_10Suite : public TestCommand return WriteAttribute(kIdentityBeta, GetEndpoint(0), AccessControl::Id, AccessControl::Attributes::Extension::Id, value, chip::NullOptional, chip::NullOptional); } - case 20: { - LogStep(20, "Step 14: If DUT is an app on host, examine persistent storage in /tmp/chip_kvs text file"); + case 21: { + LogStep(21, "Step 14: If DUT is an app on host, examine persistent storage in /tmp/chip_kvs text file"); VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::LogCommands::Commands::UserPrompt::Type value; @@ -7419,8 +7458,8 @@ class Test_TC_ACL_2_10Suite : public TestCommand value.expectedValue.Value() = chip::Span("ygarbage: not in length on purpose", 1); return UserPrompt(kIdentityAlpha, value); } - case 21: { - LogStep(21, "Step 15:TH1 removes fabric F2 from DUT"); + case 22: { + LogStep(22, "Step 15:TH1 removes fabric F2 from DUT"); VerifyOrDo(!ShouldSkip("OPCREDS.S.C0a.Rsp"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::OperationalCredentials::Commands::RemoveFabric::Type value; @@ -7431,8 +7470,8 @@ class Test_TC_ACL_2_10Suite : public TestCommand ); } - case 22: { - LogStep(22, "Step 16:TH1 writes DUT Endpoint 0 AccessControl cluster ACL attribute"); + case 23: { + LogStep(23, "Step 16:TH1 writes DUT Endpoint 0 AccessControl cluster ACL attribute"); VerifyOrDo(!ShouldSkip("ACL.S.A0000"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::DataModel::List value; @@ -7479,16 +7518,16 @@ class Test_TC_ACL_2_10Suite : public TestCommand return WriteAttribute(kIdentityAlpha, GetEndpoint(0), AccessControl::Id, AccessControl::Attributes::Acl::Id, value, chip::NullOptional, chip::NullOptional); } - case 23: { - LogStep(23, + case 24: { + LogStep(24, "Step 17:TH1 reads DUT Endpoint 0 AccessControl cluster Extension attribute, value is list of " "AccessControlExtensionStruct containing 1 element"); VerifyOrDo(!ShouldSkip("ACL.S.A0001"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(0), AccessControl::Id, AccessControl::Attributes::Extension::Id, true, chip::NullOptional); } - case 24: { - LogStep(24, "Step 18: If DUT is an app on host, examine persistent storage in /tmp/chip_kvs text file"); + case 25: { + LogStep(25, "Step 18: If DUT is an app on host, examine persistent storage in /tmp/chip_kvs text file"); VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::LogCommands::Commands::UserPrompt::Type value; @@ -8306,13 +8345,14 @@ class Test_TC_ACE_1_1Suite : public TestCommand class Test_TC_ACE_1_5Suite : public TestCommand { public: - Test_TC_ACE_1_5Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_ACE_1_5", 16, credsIssuerConfig) + Test_TC_ACE_1_5Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_ACE_1_5", 17, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); AddArgument("endpoint", 0, UINT16_MAX, &mEndpoint); AddArgument("payload", &mPayload); AddArgument("discriminator", 0, UINT16_MAX, &mDiscriminator); + AddArgument("waitAfterCommissioning", 0, UINT16_MAX, &mWaitAfterCommissioning); AddArgument("PakeVerifier", &mPakeVerifier); AddArgument("timeout", 0, UINT16_MAX, &mTimeout); } @@ -8330,6 +8370,7 @@ class Test_TC_ACE_1_5Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mPayload; chip::Optional mDiscriminator; + chip::Optional mWaitAfterCommissioning; chip::Optional mPakeVerifier; chip::Optional mTimeout; @@ -8374,6 +8415,10 @@ class Test_TC_ACE_1_5Suite : public TestCommand shouldContinue = true; break; case 5: + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); + shouldContinue = true; + break; + case 6: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { uint8_t value; @@ -8381,7 +8426,7 @@ class Test_TC_ACE_1_5Suite : public TestCommand th2FabricIndex = value; } break; - case 6: + case 7: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::Clusters::CommissionerCommands::Commands::GetCommissionerNodeIdResponse::DecodableType value; @@ -8390,10 +8435,10 @@ class Test_TC_ACE_1_5Suite : public TestCommand } shouldContinue = true; break; - case 7: + case 8: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); break; - case 8: + case 9: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::Clusters::CommissionerCommands::Commands::GetCommissionerNodeIdResponse::DecodableType value; @@ -8402,10 +8447,10 @@ class Test_TC_ACE_1_5Suite : public TestCommand } shouldContinue = true; break; - case 9: + case 10: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); break; - case 10: + case 11: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList @@ -8413,23 +8458,23 @@ class Test_TC_ACE_1_5Suite : public TestCommand VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); } break; - case 11: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_UNSUPPORTED_ACCESS)); - break; case 12: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_UNSUPPORTED_ACCESS)); break; case 13: + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_UNSUPPORTED_ACCESS)); + break; + case 14: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::VendorId value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); } break; - case 14: + case 15: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); break; - case 15: + case 16: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::Clusters::OperationalCredentials::Commands::NOCResponse::DecodableType value; @@ -8487,33 +8532,40 @@ class Test_TC_ACE_1_5Suite : public TestCommand ); } case 3: { - LogStep(3, "Commission from TH2"); + LogStep(3, "Waiting after opening commissioning window"); + ListFreer listFreer; + chip::app::Clusters::DelayCommands::Commands::WaitForMs::Type value; + value.ms = mWaitAfterCommissioning.HasValue() ? mWaitAfterCommissioning.Value() : 5000UL; + return WaitForMs(kIdentityAlpha, value); + } + case 4: { + LogStep(4, "Commission from TH2"); ListFreer listFreer; chip::app::Clusters::CommissionerCommands::Commands::PairWithCode::Type value; value.nodeId = mNodeId.HasValue() ? mNodeId.Value() : 305414945ULL; value.payload = mPayload.HasValue() ? mPayload.Value() : chip::Span("MT:-24J0AFN00KA0648G00", 22); return PairWithCode(kIdentityBeta, value); } - case 4: { - LogStep(4, "Wait for the commissioned device to be retrieved for TH2"); + case 5: { + LogStep(5, "Wait for the commissioned device to be retrieved for TH2"); ListFreer listFreer; chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; value.nodeId = mNodeId.HasValue() ? mNodeId.Value() : 305414945ULL; return WaitForCommissionee(kIdentityBeta, value); } - case 5: { - LogStep(5, "TH2 reads the fabric index"); + case 6: { + LogStep(6, "TH2 reads the fabric index"); return ReadAttribute(kIdentityBeta, GetEndpoint(0), OperationalCredentials::Id, OperationalCredentials::Attributes::CurrentFabricIndex::Id, true, chip::NullOptional); } - case 6: { - LogStep(6, "Read the commissioner node ID from the alpha fabric"); + case 7: { + LogStep(7, "Read the commissioner node ID from the alpha fabric"); ListFreer listFreer; chip::app::Clusters::CommissionerCommands::Commands::GetCommissionerNodeId::Type value; return GetCommissionerNodeId(kIdentityAlpha, value); } - case 7: { - LogStep(7, "TH1 writes ACL giving view privilege for descriptor cluster"); + case 8: { + LogStep(8, "TH1 writes ACL giving view privilege for descriptor cluster"); ListFreer listFreer; chip::app::DataModel::List value; @@ -8581,14 +8633,14 @@ class Test_TC_ACE_1_5Suite : public TestCommand return WriteAttribute(kIdentityAlpha, GetEndpoint(0), AccessControl::Id, AccessControl::Attributes::Acl::Id, value, chip::NullOptional, chip::NullOptional); } - case 8: { - LogStep(8, "Read the commissioner node ID from the beta fabric"); + case 9: { + LogStep(9, "Read the commissioner node ID from the beta fabric"); ListFreer listFreer; chip::app::Clusters::CommissionerCommands::Commands::GetCommissionerNodeId::Type value; return GetCommissionerNodeId(kIdentityBeta, value); } - case 9: { - LogStep(9, "TH2 writes ACL giving view privilge for basic cluster"); + case 10: { + LogStep(10, "TH2 writes ACL giving view privilge for basic cluster"); ListFreer listFreer; chip::app::DataModel::List value; @@ -8656,28 +8708,28 @@ class Test_TC_ACE_1_5Suite : public TestCommand return WriteAttribute(kIdentityBeta, GetEndpoint(0), AccessControl::Id, AccessControl::Attributes::Acl::Id, value, chip::NullOptional, chip::NullOptional); } - case 10: { - LogStep(10, "TH1 reads descriptor cluster - expect SUCCESS"); + case 11: { + LogStep(11, "TH1 reads descriptor cluster - expect SUCCESS"); return ReadAttribute(kIdentityAlpha, GetEndpoint(0), Descriptor::Id, Descriptor::Attributes::DeviceTypeList::Id, true, chip::NullOptional); } - case 11: { - LogStep(11, "TH1 reads basic cluster - expect UNSUPPORTED_ACCESS"); + case 12: { + LogStep(12, "TH1 reads basic cluster - expect UNSUPPORTED_ACCESS"); return ReadAttribute(kIdentityAlpha, GetEndpoint(0), BasicInformation::Id, BasicInformation::Attributes::VendorID::Id, true, chip::NullOptional); } - case 12: { - LogStep(12, "TH2 reads descriptor cluster - expect UNSUPPORTED_ACCESS"); + case 13: { + LogStep(13, "TH2 reads descriptor cluster - expect UNSUPPORTED_ACCESS"); return ReadAttribute(kIdentityBeta, GetEndpoint(0), Descriptor::Id, Descriptor::Attributes::DeviceTypeList::Id, true, chip::NullOptional); } - case 13: { - LogStep(13, "TH2 reads basic cluster - expect SUCCESS"); + case 14: { + LogStep(14, "TH2 reads basic cluster - expect SUCCESS"); return ReadAttribute(kIdentityBeta, GetEndpoint(0), BasicInformation::Id, BasicInformation::Attributes::VendorID::Id, true, chip::NullOptional); } - case 14: { - LogStep(14, "TH1 resets ACL to default"); + case 15: { + LogStep(15, "TH1 resets ACL to default"); ListFreer listFreer; chip::app::DataModel::List value; @@ -8707,8 +8759,8 @@ class Test_TC_ACE_1_5Suite : public TestCommand return WriteAttribute(kIdentityAlpha, GetEndpoint(0), AccessControl::Id, AccessControl::Attributes::Acl::Id, value, chip::NullOptional, chip::NullOptional); } - case 15: { - LogStep(15, "TH1 sends RemoveFabric command for TH2"); + case 16: { + LogStep(16, "TH1 sends RemoveFabric command for TH2"); ListFreer listFreer; chip::app::Clusters::OperationalCredentials::Commands::RemoveFabric::Type value; value.fabricIndex = th2FabricIndex; @@ -17455,8 +17507,7 @@ class Test_TC_CC_6_3Suite : public TestCommand { uint16_t value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); - VerifyOrReturn(CheckValue("colorTemperatureMireds", value, ColorTempPhysicalMaxMiredsValue)); - VerifyOrReturn(CheckConstraintMinValue("value", value, ColorTempPhysicalMinMiredsValue)); + VerifyOrReturn(CheckConstraintMinValue("value", value, ColorTempPhysicalMaxMiredsValue - 1)); VerifyOrReturn(CheckConstraintMaxValue("value", value, ColorTempPhysicalMaxMiredsValue)); } break; @@ -22744,19 +22795,11 @@ class Test_TC_DGETH_2_2Suite : public TestCommand break; case 17: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); - { - uint64_t value; - VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); - VerifyOrReturn(CheckConstraintMaxValue("value", value, PacketRxCount)); - } + shouldContinue = true; break; case 18: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); - { - uint64_t value; - VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); - VerifyOrReturn(CheckConstraintMaxValue("value", value, PacketTxCount)); - } + shouldContinue = true; break; case 19: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); @@ -22906,15 +22949,23 @@ class Test_TC_DGETH_2_2Suite : public TestCommand } case 17: { LogStep(17, "TH reads PacketRxCount attribute value from DUT"); - VerifyOrDo(!ShouldSkip("DGETH.S.A0002"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); - return ReadAttribute(kIdentityAlpha, GetEndpoint(0), EthernetNetworkDiagnostics::Id, - EthernetNetworkDiagnostics::Attributes::PacketRxCount::Id, true, chip::NullOptional); + VerifyOrDo(!ShouldSkip("DGETH.S.A0002 && PICS_SKIP_SAMPLE_APP"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + ListFreer listFreer; + chip::app::Clusters::LogCommands::Commands::UserPrompt::Type value; + value.message = chip::Span("Enter 'y' after successgarbage: not in length on purpose", 23); + value.expectedValue.Emplace(); + value.expectedValue.Value() = chip::Span("ygarbage: not in length on purpose", 1); + return UserPrompt(kIdentityAlpha, value); } case 18: { LogStep(18, "TH reads PacketTxCount attribute value from DUT"); - VerifyOrDo(!ShouldSkip("DGETH.S.A0003"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); - return ReadAttribute(kIdentityAlpha, GetEndpoint(0), EthernetNetworkDiagnostics::Id, - EthernetNetworkDiagnostics::Attributes::PacketTxCount::Id, true, chip::NullOptional); + VerifyOrDo(!ShouldSkip("DGETH.S.A0003 && PICS_SKIP_SAMPLE_APP"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + ListFreer listFreer; + chip::app::Clusters::LogCommands::Commands::UserPrompt::Type value; + value.message = chip::Span("Enter 'y' after successgarbage: not in length on purpose", 23); + value.expectedValue.Emplace(); + value.expectedValue.Value() = chip::Span("ygarbage: not in length on purpose", 1); + return UserPrompt(kIdentityAlpha, value); } case 19: { LogStep(19, "TH reads TxErrCount attribute value from DUT"); @@ -96241,13 +96292,14 @@ class Test_TC_CADMIN_1_11Suite : public TestCommand { public: Test_TC_CADMIN_1_11Suite(CredentialIssuerCommands * credsIssuerConfig) : - TestCommand("Test_TC_CADMIN_1_11", 21, credsIssuerConfig) + TestCommand("Test_TC_CADMIN_1_11", 26, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("timeout", 0, UINT16_MAX, &mTimeout); AddArgument("nodeId2", 0, UINT64_MAX, &mNodeId2); AddArgument("nodeId3", 0, UINT64_MAX, &mNodeId3); AddArgument("endpoint", 0, UINT16_MAX, &mEndpoint); + AddArgument("waitAfterCommissioning", 0, UINT16_MAX, &mWaitAfterCommissioning); AddArgument("discriminator", 0, UINT16_MAX, &mDiscriminator); AddArgument("payload", &mPayload); AddArgument("PakeVerifier", &mPakeVerifier); @@ -96263,6 +96315,7 @@ class Test_TC_CADMIN_1_11Suite : public TestCommand chip::Optional mNodeId2; chip::Optional mNodeId3; chip::Optional mEndpoint; + chip::Optional mWaitAfterCommissioning; chip::Optional mDiscriminator; chip::Optional mPayload; chip::Optional mPakeVerifier; @@ -96308,10 +96361,10 @@ class Test_TC_CADMIN_1_11Suite : public TestCommand break; case 7: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); + shouldContinue = true; break; case 8: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); - shouldContinue = true; break; case 9: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); @@ -96319,13 +96372,25 @@ class Test_TC_CADMIN_1_11Suite : public TestCommand break; case 10: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); + shouldContinue = true; break; case 11: + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); + shouldContinue = true; + break; + case 12: + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); + break; + case 13: + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); + shouldContinue = true; + break; + case 14: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_FAILURE)); VerifyOrReturn(CheckValue("clusterStatus", status.mClusterStatus.HasValue(), true)); VerifyOrReturn(CheckValue("clusterStatus", status.mClusterStatus.Value(), 2)); break; - case 12: + case 15: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList< @@ -96351,27 +96416,31 @@ class Test_TC_CADMIN_1_11Suite : public TestCommand VerifyOrReturn(CheckConstraintType("value", "list", "list")); } break; - case 13: + case 16: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); shouldContinue = true; break; - case 14: + case 17: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); break; - case 15: + case 18: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); shouldContinue = true; break; - case 16: + case 19: + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); + shouldContinue = true; + break; + case 20: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_FAILURE)); VerifyOrReturn(CheckValue("clusterStatus", status.mClusterStatus.HasValue(), true)); VerifyOrReturn(CheckValue("clusterStatus", status.mClusterStatus.Value(), 2)); break; - case 17: + case 21: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); shouldContinue = true; break; - case 18: + case 22: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList< @@ -96397,10 +96466,14 @@ class Test_TC_CADMIN_1_11Suite : public TestCommand VerifyOrReturn(CheckConstraintType("value", "list", "list")); } break; - case 19: + case 23: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); break; - case 20: + case 24: + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); + shouldContinue = true; + break; + case 25: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_FAILURE)); VerifyOrReturn(CheckValue("clusterStatus", status.mClusterStatus.HasValue(), true)); VerifyOrReturn(CheckValue("clusterStatus", status.mClusterStatus.Value(), 2)); @@ -96471,7 +96544,14 @@ class Test_TC_CADMIN_1_11Suite : public TestCommand ); } case 4: { - LogStep(4, "Verify that the DNS-SD advertisement shows CM=2"); + LogStep(4, "Waiting after opening commissioning window"); + ListFreer listFreer; + chip::app::Clusters::DelayCommands::Commands::WaitForMs::Type value; + value.ms = mWaitAfterCommissioning.HasValue() ? mWaitAfterCommissioning.Value() : 5000UL; + return WaitForMs(kIdentityAlpha, value); + } + case 5: { + LogStep(5, "Verify that the DNS-SD advertisement shows CM=2"); VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::LogCommands::Commands::UserPrompt::Type value; @@ -96480,8 +96560,8 @@ class Test_TC_CADMIN_1_11Suite : public TestCommand value.expectedValue.Value() = chip::Span("ygarbage: not in length on purpose", 1); return UserPrompt(kIdentityAlpha, value); } - case 5: { - LogStep(5, "TH_CR3 starts a commissioning process with DUT_CE"); + case 6: { + LogStep(6, "TH_CR3 starts a commissioning process with DUT_CE"); VerifyOrDo(!ShouldSkip("CADMIN.S"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::CommissionerCommands::Commands::PairWithCode::Type value; @@ -96489,16 +96569,16 @@ class Test_TC_CADMIN_1_11Suite : public TestCommand value.payload = mPayload.HasValue() ? mPayload.Value() : chip::Span("MT:-24J0AFN00KA0648G00", 22); return PairWithCode(kIdentityGamma, value); } - case 6: { - LogStep(6, "DUT_CE is commissioned to TH_CR3 on Fabric ID3 with Node ID3"); + case 7: { + LogStep(7, "DUT_CE is commissioned to TH_CR3 on Fabric ID3 with Node ID3"); VerifyOrDo(!ShouldSkip("CADMIN.S"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; value.nodeId = mNodeId3.HasValue() ? mNodeId3.Value() : 12586990ULL; return WaitForCommissionee(kIdentityGamma, value); } - case 7: { - LogStep(7, "TH_CR1 opens a commissioning window on DUT_CE using ECM"); + case 8: { + LogStep(8, "TH_CR1 opens a commissioning window on DUT_CE using ECM"); VerifyOrDo(!ShouldSkip("CADMIN.S.C00.Rsp"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::AdministratorCommissioning::Commands::OpenCommissioningWindow::Type value; @@ -96521,8 +96601,15 @@ class Test_TC_CADMIN_1_11Suite : public TestCommand ); } - case 8: { - LogStep(8, "TH_CR2 starts a commissioning process with DUT_CE"); + case 9: { + LogStep(9, "Waiting after opening commissioning window"); + ListFreer listFreer; + chip::app::Clusters::DelayCommands::Commands::WaitForMs::Type value; + value.ms = mWaitAfterCommissioning.HasValue() ? mWaitAfterCommissioning.Value() : 5000UL; + return WaitForMs(kIdentityAlpha, value); + } + case 10: { + LogStep(10, "TH_CR2 starts a commissioning process with DUT_CE"); VerifyOrDo(!ShouldSkip("CADMIN.S"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::CommissionerCommands::Commands::PairWithCode::Type value; @@ -96530,16 +96617,16 @@ class Test_TC_CADMIN_1_11Suite : public TestCommand value.payload = mPayload.HasValue() ? mPayload.Value() : chip::Span("MT:-24J0AFN00KA0648G00", 22); return PairWithCode(kIdentityBeta, value); } - case 9: { - LogStep(9, "DUT_CE is commissioned to TH_CR2"); + case 11: { + LogStep(11, "DUT_CE is commissioned to TH_CR2"); VerifyOrDo(!ShouldSkip("CADMIN.S"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; value.nodeId = mNodeId2.HasValue() ? mNodeId2.Value() : 51966ULL; return WaitForCommissionee(kIdentityBeta, value); } - case 10: { - LogStep(10, "TH_CR1 opens a commissioning window on DUT_CE using ECM"); + case 12: { + LogStep(12, "TH_CR1 opens a commissioning window on DUT_CE using ECM"); VerifyOrDo(!ShouldSkip("CADMIN.S.C00.Rsp"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::AdministratorCommissioning::Commands::OpenCommissioningWindow::Type value; @@ -96562,8 +96649,15 @@ class Test_TC_CADMIN_1_11Suite : public TestCommand ); } - case 11: { - LogStep(11, + case 13: { + LogStep(13, "Waiting after opening commissioning window"); + ListFreer listFreer; + chip::app::Clusters::DelayCommands::Commands::WaitForMs::Type value; + value.ms = mWaitAfterCommissioning.HasValue() ? mWaitAfterCommissioning.Value() : 5000UL; + return WaitForMs(kIdentityAlpha, value); + } + case 14: { + LogStep(14, "Before the expiration of PIXIT.CADMIN.CwDuration seconds which was set in step 5, TH_CR1 opens a 2nd " "commissioning window on DUT_CE using a commissioning timeout of PIXIT.CADMIN.CwDuration seconds using ECM"); VerifyOrDo(!ShouldSkip("CADMIN.S.C00.Rsp"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); @@ -96588,21 +96682,21 @@ class Test_TC_CADMIN_1_11Suite : public TestCommand ); } - case 12: { - LogStep(12, "TH_CR1 reads the list of Fabrics on DUT_CE"); + case 15: { + LogStep(15, "TH_CR1 reads the list of Fabrics on DUT_CE"); VerifyOrDo(!ShouldSkip("OPCREDS.S.A0001"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(0), OperationalCredentials::Id, OperationalCredentials::Attributes::Fabrics::Id, false, chip::NullOptional); } - case 13: { - LogStep(13, "Wait for the expiration of PIXIT.CADMIN.CwDuration seconds that was set in step 6"); + case 16: { + LogStep(16, "Wait for the expiration of PIXIT.CADMIN.CwDuration seconds that was set in step 6"); ListFreer listFreer; chip::app::Clusters::DelayCommands::Commands::WaitForMs::Type value; value.ms = 180000UL; return WaitForMs(kIdentityAlpha, value); } - case 14: { - LogStep(14, + case 17: { + LogStep(17, "TH_CR1 re-opens a commissioning window on DUT_CE using a commissioning timeout of PIXIT.CADMIN.CwDuration " "seconds using BCM"); VerifyOrDo(!ShouldSkip("CADMIN.S.C01.Rsp"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); @@ -96615,8 +96709,15 @@ class Test_TC_CADMIN_1_11Suite : public TestCommand ); } - case 15: { - LogStep(15, "Verify that the DNS-SD advertisement shows CM=1"); + case 18: { + LogStep(18, "Waiting after opening commissioning window"); + ListFreer listFreer; + chip::app::Clusters::DelayCommands::Commands::WaitForMs::Type value; + value.ms = mWaitAfterCommissioning.HasValue() ? mWaitAfterCommissioning.Value() : 5000UL; + return WaitForMs(kIdentityAlpha, value); + } + case 19: { + LogStep(19, "Verify that the DNS-SD advertisement shows CM=1"); VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::LogCommands::Commands::UserPrompt::Type value; @@ -96625,8 +96726,8 @@ class Test_TC_CADMIN_1_11Suite : public TestCommand value.expectedValue.Value() = chip::Span("ygarbage: not in length on purpose", 1); return UserPrompt(kIdentityAlpha, value); } - case 16: { - LogStep(16, + case 20: { + LogStep(20, "Before the expiration of PIXIT.CADMIN.CwDuration seconds that was set in step 10, TH_CR3 opens a 2nd " "commissioning window on DUT_CE using a commissioning timeout of PIXIT.CADMIN.CwDuration seconds using BCM"); VerifyOrDo(!ShouldSkip("CADMIN.S.C01.Rsp"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); @@ -96639,21 +96740,21 @@ class Test_TC_CADMIN_1_11Suite : public TestCommand ); } - case 17: { - LogStep(17, "Wait for the expiration of PIXIT.CADMIN.CwDuration seconds that was set in step 11"); + case 21: { + LogStep(21, "Wait for the expiration of PIXIT.CADMIN.CwDuration seconds that was set in step 11"); ListFreer listFreer; chip::app::Clusters::DelayCommands::Commands::WaitForMs::Type value; value.ms = 180000UL; return WaitForMs(kIdentityAlpha, value); } - case 18: { - LogStep(18, "TH_CR1 reads the list of Fabrics on DUT_CE"); + case 22: { + LogStep(22, "TH_CR1 reads the list of Fabrics on DUT_CE"); VerifyOrDo(!ShouldSkip("OPCREDS.S.A0001"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(0), OperationalCredentials::Id, OperationalCredentials::Attributes::Fabrics::Id, false, chip::NullOptional); } - case 19: { - LogStep(19, "TH_CR1 opens a commissioning window on DUT_CE using BCM"); + case 23: { + LogStep(23, "TH_CR1 opens a commissioning window on DUT_CE using BCM"); VerifyOrDo(!ShouldSkip("CADMIN.S.C01.Rsp"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::AdministratorCommissioning::Commands::OpenBasicCommissioningWindow::Type value; @@ -96664,8 +96765,15 @@ class Test_TC_CADMIN_1_11Suite : public TestCommand ); } - case 20: { - LogStep(20, + case 24: { + LogStep(24, "Waiting after opening commissioning window"); + ListFreer listFreer; + chip::app::Clusters::DelayCommands::Commands::WaitForMs::Type value; + value.ms = mWaitAfterCommissioning.HasValue() ? mWaitAfterCommissioning.Value() : 5000UL; + return WaitForMs(kIdentityAlpha, value); + } + case 25: { + LogStep(25, "Before the expiration of PIXIT.CADMIN.CwDuration seconds that was set in step 14, TH_CR2 opens a second " "commissioning window on DUT_CE using a commissioning timeout of PIXIT.CADMIN.CwDuration seconds using BCM"); VerifyOrDo(!ShouldSkip("CADMIN.S.C01.Rsp"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); @@ -96799,12 +96907,13 @@ class Test_TC_CADMIN_1_15Suite : public TestCommand { public: Test_TC_CADMIN_1_15Suite(CredentialIssuerCommands * credsIssuerConfig) : - TestCommand("Test_TC_CADMIN_1_15", 19, credsIssuerConfig) + TestCommand("Test_TC_CADMIN_1_15", 22, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("nodeId2", 0, UINT64_MAX, &mNodeId2); AddArgument("nodeId3", 0, UINT64_MAX, &mNodeId3); AddArgument("endpoint", 0, UINT16_MAX, &mEndpoint); + AddArgument("waitAfterCommissioning", 0, UINT16_MAX, &mWaitAfterCommissioning); AddArgument("discriminator", 0, UINT16_MAX, &mDiscriminator); AddArgument("payload", &mPayload); AddArgument("PakeVerifier", &mPakeVerifier); @@ -96823,6 +96932,7 @@ class Test_TC_CADMIN_1_15Suite : public TestCommand chip::Optional mNodeId2; chip::Optional mNodeId3; chip::Optional mEndpoint; + chip::Optional mWaitAfterCommissioning; chip::Optional mDiscriminator; chip::Optional mPayload; chip::Optional mPakeVerifier; @@ -96865,16 +96975,24 @@ class Test_TC_CADMIN_1_15Suite : public TestCommand break; case 6: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); + shouldContinue = true; break; case 7: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); - shouldContinue = true; break; case 8: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); shouldContinue = true; break; case 9: + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); + shouldContinue = true; + break; + case 10: + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); + shouldContinue = true; + break; + case 11: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList< @@ -96903,21 +97021,21 @@ class Test_TC_CADMIN_1_15Suite : public TestCommand VerifyOrReturn(CheckConstraintType("value", "list", "list")); } break; - case 10: + case 12: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::Clusters::OperationalCredentials::Commands::NOCResponse::DecodableType value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); } break; - case 11: + case 13: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_FAILURE)); break; - case 12: + case 14: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); shouldContinue = true; break; - case 13: + case 15: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList< @@ -96941,22 +97059,26 @@ class Test_TC_CADMIN_1_15Suite : public TestCommand VerifyOrReturn(CheckConstraintType("value", "list", "list")); } break; - case 14: + case 16: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); shouldContinue = true; break; - case 15: + case 17: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); break; - case 16: + case 18: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); shouldContinue = true; break; - case 17: + case 19: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); shouldContinue = true; break; - case 18: + case 20: + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); + shouldContinue = true; + break; + case 21: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList< @@ -97051,7 +97173,14 @@ class Test_TC_CADMIN_1_15Suite : public TestCommand ); } case 4: { - LogStep(4, "TH_CR2 starts a commissioning process with DUT_CE"); + LogStep(4, "Waiting after opening commissioning window"); + ListFreer listFreer; + chip::app::Clusters::DelayCommands::Commands::WaitForMs::Type value; + value.ms = mWaitAfterCommissioning.HasValue() ? mWaitAfterCommissioning.Value() : 5000UL; + return WaitForMs(kIdentityAlpha, value); + } + case 5: { + LogStep(5, "TH_CR2 starts a commissioning process with DUT_CE"); VerifyOrDo(!ShouldSkip("CADMIN.S"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::CommissionerCommands::Commands::PairWithCode::Type value; @@ -97059,16 +97188,16 @@ class Test_TC_CADMIN_1_15Suite : public TestCommand value.payload = mPayload.HasValue() ? mPayload.Value() : chip::Span("MT:-24J0AFN00KA0648G00", 22); return PairWithCode(kIdentityBeta, value); } - case 5: { - LogStep(5, "DUT_CE is commissioned to TH_CR2"); + case 6: { + LogStep(6, "DUT_CE is commissioned to TH_CR2"); VerifyOrDo(!ShouldSkip("CADMIN.S"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; value.nodeId = mNodeId2.HasValue() ? mNodeId2.Value() : 51966ULL; return WaitForCommissionee(kIdentityBeta, value); } - case 6: { - LogStep(6, "TH_CR1 opens a commissioning window on DUT_CE using ECM"); + case 7: { + LogStep(7, "TH_CR1 opens a commissioning window on DUT_CE using ECM"); VerifyOrDo(!ShouldSkip("CADMIN.S.C00.Rsp"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::AdministratorCommissioning::Commands::OpenCommissioningWindow::Type value; @@ -97091,8 +97220,15 @@ class Test_TC_CADMIN_1_15Suite : public TestCommand ); } - case 7: { - LogStep(7, "TH_CR3 Commissions with DUT_CE"); + case 8: { + LogStep(8, "Waiting after opening commissioning window"); + ListFreer listFreer; + chip::app::Clusters::DelayCommands::Commands::WaitForMs::Type value; + value.ms = mWaitAfterCommissioning.HasValue() ? mWaitAfterCommissioning.Value() : 5000UL; + return WaitForMs(kIdentityAlpha, value); + } + case 9: { + LogStep(9, "TH_CR3 Commissions with DUT_CE"); VerifyOrDo(!ShouldSkip("CADMIN.S"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::CommissionerCommands::Commands::PairWithCode::Type value; @@ -97100,22 +97236,22 @@ class Test_TC_CADMIN_1_15Suite : public TestCommand value.payload = mPayload.HasValue() ? mPayload.Value() : chip::Span("MT:-24J0AFN00KA0648G00", 22); return PairWithCode(kIdentityGamma, value); } - case 8: { - LogStep(8, "DUT_CE is commissioned to TH_CR3"); + case 10: { + LogStep(10, "DUT_CE is commissioned to TH_CR3"); VerifyOrDo(!ShouldSkip("CADMIN.S"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; value.nodeId = mNodeId3.HasValue() ? mNodeId3.Value() : 12586990ULL; return WaitForCommissionee(kIdentityGamma, value); } - case 9: { - LogStep(9, "TH_CR2 reads the list of Fabrics on DUT_CE"); + case 11: { + LogStep(11, "TH_CR2 reads the list of Fabrics on DUT_CE"); VerifyOrDo(!ShouldSkip("OPCREDS.S.A0001"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityBeta, GetEndpoint(0), OperationalCredentials::Id, OperationalCredentials::Attributes::Fabrics::Id, false, chip::NullOptional); } - case 10: { - LogStep(10, "TH_CR2 sends RemoveFabric with FabricIndex = 2 command to DUT_CE"); + case 12: { + LogStep(12, "TH_CR2 sends RemoveFabric with FabricIndex = 2 command to DUT_CE"); VerifyOrDo(!ShouldSkip("OPCREDS.S.C0a.Rsp"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::OperationalCredentials::Commands::RemoveFabric::Type value; @@ -97126,8 +97262,8 @@ class Test_TC_CADMIN_1_15Suite : public TestCommand ); } - case 11: { - LogStep(11, "TH_CR2 writes the Basic Information Clusters NodeLabel mandatory attribute of DUT_CE"); + case 13: { + LogStep(13, "TH_CR2 writes the Basic Information Clusters NodeLabel mandatory attribute of DUT_CE"); VerifyOrDo(!ShouldSkip("BINFO.S.A0005"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::CharSpan value; @@ -97135,8 +97271,8 @@ class Test_TC_CADMIN_1_15Suite : public TestCommand return WriteAttribute(kIdentityBeta, GetEndpoint(0), BasicInformation::Id, BasicInformation::Attributes::NodeLabel::Id, value, chip::NullOptional, chip::NullOptional); } - case 12: { - LogStep(12, "TH_CR2 reads the Basic Information Clusters NodeLabel mandatory attribute of DUT_CE"); + case 14: { + LogStep(14, "TH_CR2 reads the Basic Information Clusters NodeLabel mandatory attribute of DUT_CE"); VerifyOrDo(!ShouldSkip("BINFO.S.A0005 && PICS_USER_PROMPT"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::LogCommands::Commands::UserPrompt::Type value; @@ -97145,14 +97281,14 @@ class Test_TC_CADMIN_1_15Suite : public TestCommand value.expectedValue.Value() = chip::Span("ygarbage: not in length on purpose", 1); return UserPrompt(kIdentityAlpha, value); } - case 13: { - LogStep(13, "TH_CR1 reads the list of Fabrics on DUT_CE"); + case 15: { + LogStep(15, "TH_CR1 reads the list of Fabrics on DUT_CE"); VerifyOrDo(!ShouldSkip("OPCREDS.S.A0001"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(0), OperationalCredentials::Id, OperationalCredentials::Attributes::Fabrics::Id, false, chip::NullOptional); } - case 14: { - LogStep(14, + case 16: { + LogStep(16, "Verify DUT_CE is now discoverable over DNS-SD with 2 Operational service records (_matter._tcp SRV records)."); VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; @@ -97162,8 +97298,8 @@ class Test_TC_CADMIN_1_15Suite : public TestCommand value.expectedValue.Value() = chip::Span("ygarbage: not in length on purpose", 1); return UserPrompt(kIdentityAlpha, value); } - case 15: { - LogStep(15, "TH_CR1 opens a commissioning window on DUT_CE using ECM"); + case 17: { + LogStep(17, "TH_CR1 opens a commissioning window on DUT_CE using ECM"); VerifyOrDo(!ShouldSkip("CADMIN.S.C00.Rsp"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::AdministratorCommissioning::Commands::OpenCommissioningWindow::Type value; @@ -97186,8 +97322,15 @@ class Test_TC_CADMIN_1_15Suite : public TestCommand ); } - case 16: { - LogStep(16, "TH_CR2 starts a commissioning process with DUT_CE"); + case 18: { + LogStep(18, "Waiting after opening commissioning window"); + ListFreer listFreer; + chip::app::Clusters::DelayCommands::Commands::WaitForMs::Type value; + value.ms = mWaitAfterCommissioning.HasValue() ? mWaitAfterCommissioning.Value() : 5000UL; + return WaitForMs(kIdentityAlpha, value); + } + case 19: { + LogStep(19, "TH_CR2 starts a commissioning process with DUT_CE"); VerifyOrDo(!ShouldSkip("CADMIN.S"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::CommissionerCommands::Commands::PairWithCode::Type value; @@ -97195,16 +97338,16 @@ class Test_TC_CADMIN_1_15Suite : public TestCommand value.payload = mPayload.HasValue() ? mPayload.Value() : chip::Span("MT:-24J0AFN00KA0648G00", 22); return PairWithCode(kIdentityBeta, value); } - case 17: { - LogStep(17, "DUT_CE is commissioned to TH_CR2"); + case 20: { + LogStep(20, "DUT_CE is commissioned to TH_CR2"); VerifyOrDo(!ShouldSkip("CADMIN.S"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; value.nodeId = mNodeId2.HasValue() ? mNodeId2.Value() : 51966ULL; return WaitForCommissionee(kIdentityBeta, value); } - case 18: { - LogStep(18, "TH_CR1 reads the list of Fabrics on DUT_CE"); + case 21: { + LogStep(21, "TH_CR1 reads the list of Fabrics on DUT_CE"); VerifyOrDo(!ShouldSkip("OPCREDS.S.A0001"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(0), OperationalCredentials::Id, OperationalCredentials::Attributes::Fabrics::Id, false, chip::NullOptional); @@ -97218,12 +97361,13 @@ class Test_TC_CADMIN_1_16Suite : public TestCommand { public: Test_TC_CADMIN_1_16Suite(CredentialIssuerCommands * credsIssuerConfig) : - TestCommand("Test_TC_CADMIN_1_16", 18, credsIssuerConfig) + TestCommand("Test_TC_CADMIN_1_16", 21, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("nodeId2", 0, UINT64_MAX, &mNodeId2); AddArgument("nodeId3", 0, UINT64_MAX, &mNodeId3); AddArgument("endpoint", 0, UINT16_MAX, &mEndpoint); + AddArgument("waitAfterCommissioning", 0, UINT16_MAX, &mWaitAfterCommissioning); AddArgument("discriminator", 0, UINT16_MAX, &mDiscriminator); AddArgument("payload", &mPayload); AddArgument("timeout", 0, UINT16_MAX, &mTimeout); @@ -97241,6 +97385,7 @@ class Test_TC_CADMIN_1_16Suite : public TestCommand chip::Optional mNodeId2; chip::Optional mNodeId3; chip::Optional mEndpoint; + chip::Optional mWaitAfterCommissioning; chip::Optional mDiscriminator; chip::Optional mPayload; chip::Optional mTimeout; @@ -97282,16 +97427,24 @@ class Test_TC_CADMIN_1_16Suite : public TestCommand break; case 6: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); + shouldContinue = true; break; case 7: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); - shouldContinue = true; break; case 8: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); shouldContinue = true; break; case 9: + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); + shouldContinue = true; + break; + case 10: + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); + shouldContinue = true; + break; + case 11: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList< @@ -97320,21 +97473,21 @@ class Test_TC_CADMIN_1_16Suite : public TestCommand VerifyOrReturn(CheckConstraintType("value", "list", "list")); } break; - case 10: + case 12: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::Clusters::OperationalCredentials::Commands::NOCResponse::DecodableType value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); } break; - case 11: + case 13: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_FAILURE)); break; - case 12: + case 14: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); shouldContinue = true; break; - case 13: + case 15: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList< @@ -97358,18 +97511,22 @@ class Test_TC_CADMIN_1_16Suite : public TestCommand VerifyOrReturn(CheckConstraintType("value", "list", "list")); } break; - case 14: + case 16: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); break; - case 15: + case 17: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); shouldContinue = true; break; - case 16: + case 18: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); shouldContinue = true; break; - case 17: + case 19: + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); + shouldContinue = true; + break; + case 20: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList< @@ -97452,7 +97609,14 @@ class Test_TC_CADMIN_1_16Suite : public TestCommand ); } case 4: { - LogStep(4, "TH_CR2 starts a commissioning process with DUT_CE"); + LogStep(4, "Waiting after opening commissioning window"); + ListFreer listFreer; + chip::app::Clusters::DelayCommands::Commands::WaitForMs::Type value; + value.ms = mWaitAfterCommissioning.HasValue() ? mWaitAfterCommissioning.Value() : 5000UL; + return WaitForMs(kIdentityAlpha, value); + } + case 5: { + LogStep(5, "TH_CR2 starts a commissioning process with DUT_CE"); VerifyOrDo(!ShouldSkip("CADMIN.S"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::CommissionerCommands::Commands::PairWithCode::Type value; @@ -97460,16 +97624,16 @@ class Test_TC_CADMIN_1_16Suite : public TestCommand value.payload = mPayload.HasValue() ? mPayload.Value() : chip::Span("MT:-24J0AFN00KA0648G00", 22); return PairWithCode(kIdentityBeta, value); } - case 5: { - LogStep(5, "DUT_CE is commissioned to TH_CR2"); + case 6: { + LogStep(6, "DUT_CE is commissioned to TH_CR2"); VerifyOrDo(!ShouldSkip("CADMIN.S"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; value.nodeId = mNodeId2.HasValue() ? mNodeId2.Value() : 51966ULL; return WaitForCommissionee(kIdentityBeta, value); } - case 6: { - LogStep(6, "TH_CR1 opens a commissioning window on DUT_CE"); + case 7: { + LogStep(7, "TH_CR1 opens a commissioning window on DUT_CE"); VerifyOrDo(!ShouldSkip("CADMIN.S.C01.Rsp"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::AdministratorCommissioning::Commands::OpenBasicCommissioningWindow::Type value; @@ -97480,8 +97644,15 @@ class Test_TC_CADMIN_1_16Suite : public TestCommand ); } - case 7: { - LogStep(7, "TH_CR3 Commissions with DUT_CE"); + case 8: { + LogStep(8, "Waiting after opening commissioning window"); + ListFreer listFreer; + chip::app::Clusters::DelayCommands::Commands::WaitForMs::Type value; + value.ms = mWaitAfterCommissioning.HasValue() ? mWaitAfterCommissioning.Value() : 5000UL; + return WaitForMs(kIdentityAlpha, value); + } + case 9: { + LogStep(9, "TH_CR3 Commissions with DUT_CE"); VerifyOrDo(!ShouldSkip("CADMIN.S"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::CommissionerCommands::Commands::PairWithCode::Type value; @@ -97489,22 +97660,22 @@ class Test_TC_CADMIN_1_16Suite : public TestCommand value.payload = mPayload.HasValue() ? mPayload.Value() : chip::Span("MT:-24J0AFN00KA0648G00", 22); return PairWithCode(kIdentityGamma, value); } - case 8: { - LogStep(8, "DUT_CE is commissioned to TH_CR3"); + case 10: { + LogStep(10, "DUT_CE is commissioned to TH_CR3"); VerifyOrDo(!ShouldSkip("CADMIN.S"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; value.nodeId = mNodeId3.HasValue() ? mNodeId3.Value() : 12586990ULL; return WaitForCommissionee(kIdentityGamma, value); } - case 9: { - LogStep(9, "TH_CR2 reads the list of Fabrics on DUT_CE"); + case 11: { + LogStep(11, "TH_CR2 reads the list of Fabrics on DUT_CE"); VerifyOrDo(!ShouldSkip("OPCREDS.S.A0001"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityBeta, GetEndpoint(0), OperationalCredentials::Id, OperationalCredentials::Attributes::Fabrics::Id, false, chip::NullOptional); } - case 10: { - LogStep(10, "TH_CR2 sends RemoveFabric with FabricIndex = 2 command to DUT_CE"); + case 12: { + LogStep(12, "TH_CR2 sends RemoveFabric with FabricIndex = 2 command to DUT_CE"); VerifyOrDo(!ShouldSkip("OPCREDS.S.C0a.Rsp"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::OperationalCredentials::Commands::RemoveFabric::Type value; @@ -97515,8 +97686,8 @@ class Test_TC_CADMIN_1_16Suite : public TestCommand ); } - case 11: { - LogStep(11, "TH_CR2 writes the Basic Information Clusters NodeLabel mandatory attribute of DUT_CE"); + case 13: { + LogStep(13, "TH_CR2 writes the Basic Information Clusters NodeLabel mandatory attribute of DUT_CE"); VerifyOrDo(!ShouldSkip("BINFO.S.A0005"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::CharSpan value; @@ -97524,8 +97695,8 @@ class Test_TC_CADMIN_1_16Suite : public TestCommand return WriteAttribute(kIdentityBeta, GetEndpoint(0), BasicInformation::Id, BasicInformation::Attributes::NodeLabel::Id, value, chip::NullOptional, chip::NullOptional); } - case 12: { - LogStep(12, "TH_CR2 reads the Basic Information Clusters NodeLabel mandatory attribute of DUT_CE"); + case 14: { + LogStep(14, "TH_CR2 reads the Basic Information Clusters NodeLabel mandatory attribute of DUT_CE"); VerifyOrDo(!ShouldSkip("BINFO.S.A0005 && PICS_USER_PROMPT"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::LogCommands::Commands::UserPrompt::Type value; @@ -97534,14 +97705,14 @@ class Test_TC_CADMIN_1_16Suite : public TestCommand value.expectedValue.Value() = chip::Span("ygarbage: not in length on purpose", 1); return UserPrompt(kIdentityAlpha, value); } - case 13: { - LogStep(13, "TH_CR1 reads the list of Fabrics on DUT_CE"); + case 15: { + LogStep(15, "TH_CR1 reads the list of Fabrics on DUT_CE"); VerifyOrDo(!ShouldSkip("OPCREDS.S.A0001"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(0), OperationalCredentials::Id, OperationalCredentials::Attributes::Fabrics::Id, false, chip::NullOptional); } - case 14: { - LogStep(14, "TH_CR1 opens a commissioning window on DUT_CE using BCM"); + case 16: { + LogStep(16, "TH_CR1 opens a commissioning window on DUT_CE using BCM"); VerifyOrDo(!ShouldSkip("CADMIN.S.C01.Rsp"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::AdministratorCommissioning::Commands::OpenBasicCommissioningWindow::Type value; @@ -97552,8 +97723,15 @@ class Test_TC_CADMIN_1_16Suite : public TestCommand ); } - case 15: { - LogStep(15, "TH_CR2 starts a commissioning process with DUT_CE"); + case 17: { + LogStep(17, "Waiting after opening commissioning window"); + ListFreer listFreer; + chip::app::Clusters::DelayCommands::Commands::WaitForMs::Type value; + value.ms = mWaitAfterCommissioning.HasValue() ? mWaitAfterCommissioning.Value() : 5000UL; + return WaitForMs(kIdentityAlpha, value); + } + case 18: { + LogStep(18, "TH_CR2 starts a commissioning process with DUT_CE"); VerifyOrDo(!ShouldSkip("CADMIN.S"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::CommissionerCommands::Commands::PairWithCode::Type value; @@ -97561,16 +97739,16 @@ class Test_TC_CADMIN_1_16Suite : public TestCommand value.payload = mPayload.HasValue() ? mPayload.Value() : chip::Span("MT:-24J0AFN00KA0648G00", 22); return PairWithCode(kIdentityBeta, value); } - case 16: { - LogStep(16, "DUT_CE is commissioned to TH_CR2"); + case 19: { + LogStep(19, "DUT_CE is commissioned to TH_CR2"); VerifyOrDo(!ShouldSkip("CADMIN.S"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; value.nodeId = mNodeId2.HasValue() ? mNodeId2.Value() : 51966ULL; return WaitForCommissionee(kIdentityBeta, value); } - case 17: { - LogStep(17, "TH_CR1 reads the list of Fabrics on DUT_CE"); + case 20: { + LogStep(20, "TH_CR1 reads the list of Fabrics on DUT_CE"); VerifyOrDo(!ShouldSkip("OPCREDS.S.A0001"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(0), OperationalCredentials::Id, OperationalCredentials::Attributes::Fabrics::Id, false, chip::NullOptional); @@ -98155,7 +98333,7 @@ class Test_TC_CADMIN_1_22Suite : public TestCommand class Test_TC_CADMIN_1_3Suite : public TestCommand { public: - Test_TC_CADMIN_1_3Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_CADMIN_1_3", 21, credsIssuerConfig) + Test_TC_CADMIN_1_3Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_CADMIN_1_3", 23, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("timeout", 0, UINT16_MAX, &mTimeout); @@ -98164,6 +98342,7 @@ class Test_TC_CADMIN_1_3Suite : public TestCommand AddArgument("discriminator", 0, UINT16_MAX, &mDiscriminator); AddArgument("payload", &mPayload); AddArgument("PakeVerifier", &mPakeVerifier); + AddArgument("waitAfterCommissioning", 0, UINT16_MAX, &mWaitAfterCommissioning); } ~Test_TC_CADMIN_1_3Suite() {} @@ -98178,6 +98357,7 @@ class Test_TC_CADMIN_1_3Suite : public TestCommand chip::Optional mDiscriminator; chip::Optional mPayload; chip::Optional mPakeVerifier; + chip::Optional mWaitAfterCommissioning; chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } @@ -98212,8 +98392,12 @@ class Test_TC_CADMIN_1_3Suite : public TestCommand break; case 5: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); + shouldContinue = true; break; case 6: + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); + break; + case 7: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::CharSpan value; @@ -98223,10 +98407,6 @@ class Test_TC_CADMIN_1_3Suite : public TestCommand VerifyOrReturn(CheckConstraintMaxLength("value", value, 32)); } break; - case 7: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); - shouldContinue = true; - break; case 8: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); shouldContinue = true; @@ -98236,6 +98416,10 @@ class Test_TC_CADMIN_1_3Suite : public TestCommand shouldContinue = true; break; case 10: + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); + shouldContinue = true; + break; + case 11: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList< @@ -98257,7 +98441,7 @@ class Test_TC_CADMIN_1_3Suite : public TestCommand VerifyOrReturn(CheckConstraintType("value", "list", "list")); } break; - case 11: + case 12: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList< @@ -98279,10 +98463,10 @@ class Test_TC_CADMIN_1_3Suite : public TestCommand VerifyOrReturn(CheckConstraintType("value", "list", "list")); } break; - case 12: + case 13: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); break; - case 13: + case 14: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::CharSpan value; @@ -98292,10 +98476,10 @@ class Test_TC_CADMIN_1_3Suite : public TestCommand VerifyOrReturn(CheckConstraintMaxLength("value", value, 32)); } break; - case 14: + case 15: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); break; - case 15: + case 16: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::CharSpan value; @@ -98305,14 +98489,14 @@ class Test_TC_CADMIN_1_3Suite : public TestCommand VerifyOrReturn(CheckConstraintMaxLength("value", value, 32)); } break; - case 16: + case 17: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); break; - case 17: + case 18: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); shouldContinue = true; break; - case 18: + case 19: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::Clusters::AdministratorCommissioning::CommissioningWindowStatusEnum value; @@ -98320,10 +98504,14 @@ class Test_TC_CADMIN_1_3Suite : public TestCommand VerifyOrReturn(CheckValue("windowStatus", value, 0U)); } break; - case 19: + case 20: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); break; - case 20: + case 21: + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); + shouldContinue = true; + break; + case 22: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_FAILURE)); VerifyOrReturn(CheckValue("clusterStatus", status.mClusterStatus.HasValue(), true)); VerifyOrReturn(CheckValue("clusterStatus", status.mClusterStatus.Value(), 9)); @@ -98395,7 +98583,14 @@ class Test_TC_CADMIN_1_3Suite : public TestCommand ); } case 4: { - LogStep(4, "Verify that the DNS-SD advertisement shows CM=2"); + LogStep(4, "Waiting after opening commissioning window"); + ListFreer listFreer; + chip::app::Clusters::DelayCommands::Commands::WaitForMs::Type value; + value.ms = mWaitAfterCommissioning.HasValue() ? mWaitAfterCommissioning.Value() : 5000UL; + return WaitForMs(kIdentityAlpha, value); + } + case 5: { + LogStep(5, "Verify that the DNS-SD advertisement shows CM=2"); VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::LogCommands::Commands::UserPrompt::Type value; @@ -98404,8 +98599,8 @@ class Test_TC_CADMIN_1_3Suite : public TestCommand value.expectedValue.Value() = chip::Span("ygarbage: not in length on purpose", 1); return UserPrompt(kIdentityAlpha, value); } - case 5: { - LogStep(5, "TH_CR1 writes the Basic Information Clusters NodeLabel mandatory attribute of DUT_CE"); + case 6: { + LogStep(6, "TH_CR1 writes the Basic Information Clusters NodeLabel mandatory attribute of DUT_CE"); VerifyOrDo(!ShouldSkip("BINFO.S.A0005"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::CharSpan value; @@ -98413,14 +98608,14 @@ class Test_TC_CADMIN_1_3Suite : public TestCommand return WriteAttribute(kIdentityAlpha, GetEndpoint(0), BasicInformation::Id, BasicInformation::Attributes::NodeLabel::Id, value, chip::NullOptional, chip::NullOptional); } - case 6: { - LogStep(6, "TH_CR1 reads the Basic Information Clusters NodeLabel mandatory attribute of DUT_CE"); + case 7: { + LogStep(7, "TH_CR1 reads the Basic Information Clusters NodeLabel mandatory attribute of DUT_CE"); VerifyOrDo(!ShouldSkip("BINFO.S.A0005"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(0), BasicInformation::Id, BasicInformation::Attributes::NodeLabel::Id, true, chip::NullOptional); } - case 7: { - LogStep(7, "TH_CR2 starts a commissioning process with DUT_CE"); + case 8: { + LogStep(8, "TH_CR2 starts a commissioning process with DUT_CE"); VerifyOrDo(!ShouldSkip("CADMIN.S"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::CommissionerCommands::Commands::PairWithCode::Type value; @@ -98428,16 +98623,16 @@ class Test_TC_CADMIN_1_3Suite : public TestCommand value.payload = mPayload.HasValue() ? mPayload.Value() : chip::Span("MT:-24J0AFN00KA0648G00", 22); return PairWithCode(kIdentityBeta, value); } - case 8: { - LogStep(8, "DUT_CE is commissioned by TH_CR2 on Fabric ID2"); + case 9: { + LogStep(9, "DUT_CE is commissioned by TH_CR2 on Fabric ID2"); VerifyOrDo(!ShouldSkip("CADMIN.S"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; value.nodeId = mNodeId2.HasValue() ? mNodeId2.Value() : 51966ULL; return WaitForCommissionee(kIdentityBeta, value); } - case 9: { - LogStep(9, "Verify DUT_CE is now discoverable over DNS-SD with two SRV Records"); + case 10: { + LogStep(10, "Verify DUT_CE is now discoverable over DNS-SD with two SRV Records"); VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::LogCommands::Commands::UserPrompt::Type value; @@ -98446,20 +98641,20 @@ class Test_TC_CADMIN_1_3Suite : public TestCommand value.expectedValue.Value() = chip::Span("ygarbage: not in length on purpose", 1); return UserPrompt(kIdentityAlpha, value); } - case 10: { - LogStep(10, "TH_CR1 reads the list of Fabrics on DUT_CE"); + case 11: { + LogStep(11, "TH_CR1 reads the list of Fabrics on DUT_CE"); VerifyOrDo(!ShouldSkip("OPCREDS.S.A0001"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(0), OperationalCredentials::Id, OperationalCredentials::Attributes::Fabrics::Id, false, chip::NullOptional); } - case 11: { - LogStep(11, "TH_CR2 reads the list of Fabrics on DUT_CE"); + case 12: { + LogStep(12, "TH_CR2 reads the list of Fabrics on DUT_CE"); VerifyOrDo(!ShouldSkip("OPCREDS.S.A0001"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityBeta, GetEndpoint(0), OperationalCredentials::Id, OperationalCredentials::Attributes::Fabrics::Id, false, chip::NullOptional); } - case 12: { - LogStep(12, "TH_CR1 writes the Basic Information Clusters NodeLabel mandatory attribute of DUT_CE"); + case 13: { + LogStep(13, "TH_CR1 writes the Basic Information Clusters NodeLabel mandatory attribute of DUT_CE"); VerifyOrDo(!ShouldSkip("BINFO.S.A0005"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::CharSpan value; @@ -98467,14 +98662,14 @@ class Test_TC_CADMIN_1_3Suite : public TestCommand return WriteAttribute(kIdentityAlpha, GetEndpoint(0), BasicInformation::Id, BasicInformation::Attributes::NodeLabel::Id, value, chip::NullOptional, chip::NullOptional); } - case 13: { - LogStep(13, "TH_CR1 reads the Basic Information Clusters NodeLabel mandatory attribute of DUT_CE"); + case 14: { + LogStep(14, "TH_CR1 reads the Basic Information Clusters NodeLabel mandatory attribute of DUT_CE"); VerifyOrDo(!ShouldSkip("BINFO.S.A0005"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(0), BasicInformation::Id, BasicInformation::Attributes::NodeLabel::Id, true, chip::NullOptional); } - case 14: { - LogStep(14, "TH_CR2 writes the Basic Information Clusters NodeLabel mandatory attribute of DUT_CE"); + case 15: { + LogStep(15, "TH_CR2 writes the Basic Information Clusters NodeLabel mandatory attribute of DUT_CE"); VerifyOrDo(!ShouldSkip("BINFO.S.A0005"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::CharSpan value; @@ -98482,14 +98677,14 @@ class Test_TC_CADMIN_1_3Suite : public TestCommand return WriteAttribute(kIdentityBeta, GetEndpoint(0), BasicInformation::Id, BasicInformation::Attributes::NodeLabel::Id, value, chip::NullOptional, chip::NullOptional); } - case 15: { - LogStep(15, "TH_CR2 reads the Basic Information Clusters NodeLabel mandatory attribute of DUT_CE"); + case 16: { + LogStep(16, "TH_CR2 reads the Basic Information Clusters NodeLabel mandatory attribute of DUT_CE"); VerifyOrDo(!ShouldSkip("BINFO.S.A0005"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityBeta, GetEndpoint(0), BasicInformation::Id, BasicInformation::Attributes::NodeLabel::Id, true, chip::NullOptional); } - case 16: { - LogStep(16, "TH_CR2 opens a commissioning window on DUT_CE using ECM"); + case 17: { + LogStep(17, "TH_CR2 opens a commissioning window on DUT_CE using ECM"); VerifyOrDo(!ShouldSkip("CADMIN.S.C00.Rsp"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::AdministratorCommissioning::Commands::OpenCommissioningWindow::Type value; @@ -98512,21 +98707,21 @@ class Test_TC_CADMIN_1_3Suite : public TestCommand ); } - case 17: { - LogStep(17, "Wait for the commissioning window in step 13 to timeout"); + case 18: { + LogStep(18, "Wait for the commissioning window in step 13 to timeout"); ListFreer listFreer; chip::app::Clusters::DelayCommands::Commands::WaitForMs::Type value; value.ms = 180000UL; return WaitForMs(kIdentityAlpha, value); } - case 18: { - LogStep(18, "TH_CR2 reads the window status to verify the DUT_CE window is closed"); + case 19: { + LogStep(19, "TH_CR2 reads the window status to verify the DUT_CE window is closed"); VerifyOrDo(!ShouldSkip("CADMIN.S.A0000"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(0), AdministratorCommissioning::Id, AdministratorCommissioning::Attributes::WindowStatus::Id, true, chip::NullOptional); } - case 19: { - LogStep(19, "TH_CR2 opens a commissioning window on DUT_CE using ECM"); + case 20: { + LogStep(20, "TH_CR2 opens a commissioning window on DUT_CE using ECM"); VerifyOrDo(!ShouldSkip("CADMIN.S.C00.Rsp"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::AdministratorCommissioning::Commands::OpenCommissioningWindow::Type value; @@ -98549,8 +98744,15 @@ class Test_TC_CADMIN_1_3Suite : public TestCommand ); } - case 20: { - LogStep(20, "TH_CR1 starts a commissioning process with DUT_CE before the timeout from step 12"); + case 21: { + LogStep(21, "Waiting after opening commissioning window"); + ListFreer listFreer; + chip::app::Clusters::DelayCommands::Commands::WaitForMs::Type value; + value.ms = mWaitAfterCommissioning.HasValue() ? mWaitAfterCommissioning.Value() : 5000UL; + return WaitForMs(kIdentityAlpha, value); + } + case 22: { + LogStep(22, "TH_CR1 starts a commissioning process with DUT_CE before the timeout from step 12"); VerifyOrDo(!ShouldSkip("CADMIN.S"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::CommissionerCommands::Commands::PairWithCode::Type value; @@ -98566,7 +98768,7 @@ class Test_TC_CADMIN_1_3Suite : public TestCommand class Test_TC_CADMIN_1_4Suite : public TestCommand { public: - Test_TC_CADMIN_1_4Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_CADMIN_1_4", 21, credsIssuerConfig) + Test_TC_CADMIN_1_4Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_CADMIN_1_4", 23, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("timeout", 0, UINT16_MAX, &mTimeout); @@ -98574,6 +98776,7 @@ class Test_TC_CADMIN_1_4Suite : public TestCommand AddArgument("endpoint", 0, UINT16_MAX, &mEndpoint); AddArgument("discriminator", 0, UINT16_MAX, &mDiscriminator); AddArgument("payload", &mPayload); + AddArgument("waitAfterCommissioning", 0, UINT16_MAX, &mWaitAfterCommissioning); } ~Test_TC_CADMIN_1_4Suite() {} @@ -98587,6 +98790,7 @@ class Test_TC_CADMIN_1_4Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mDiscriminator; chip::Optional mPayload; + chip::Optional mWaitAfterCommissioning; chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } @@ -98621,8 +98825,12 @@ class Test_TC_CADMIN_1_4Suite : public TestCommand break; case 5: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); + shouldContinue = true; break; case 6: + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); + break; + case 7: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::CharSpan value; @@ -98631,10 +98839,6 @@ class Test_TC_CADMIN_1_4Suite : public TestCommand VerifyOrReturn(CheckConstraintMaxLength("value", value, 32)); } break; - case 7: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); - shouldContinue = true; - break; case 8: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); shouldContinue = true; @@ -98644,6 +98848,10 @@ class Test_TC_CADMIN_1_4Suite : public TestCommand shouldContinue = true; break; case 10: + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); + shouldContinue = true; + break; + case 11: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList< @@ -98665,7 +98873,7 @@ class Test_TC_CADMIN_1_4Suite : public TestCommand VerifyOrReturn(CheckConstraintType("value", "list", "list")); } break; - case 11: + case 12: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList< @@ -98687,10 +98895,10 @@ class Test_TC_CADMIN_1_4Suite : public TestCommand VerifyOrReturn(CheckConstraintType("value", "list", "list")); } break; - case 12: + case 13: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); break; - case 13: + case 14: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::CharSpan value; @@ -98700,10 +98908,10 @@ class Test_TC_CADMIN_1_4Suite : public TestCommand VerifyOrReturn(CheckConstraintMaxLength("value", value, 32)); } break; - case 14: + case 15: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); break; - case 15: + case 16: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::CharSpan value; @@ -98713,14 +98921,14 @@ class Test_TC_CADMIN_1_4Suite : public TestCommand VerifyOrReturn(CheckConstraintMaxLength("value", value, 32)); } break; - case 16: + case 17: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); break; - case 17: + case 18: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); shouldContinue = true; break; - case 18: + case 19: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::Clusters::AdministratorCommissioning::CommissioningWindowStatusEnum value; @@ -98728,10 +98936,14 @@ class Test_TC_CADMIN_1_4Suite : public TestCommand VerifyOrReturn(CheckValue("windowStatus", value, 0U)); } break; - case 19: + case 20: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); break; - case 20: + case 21: + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); + shouldContinue = true; + break; + case 22: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_FAILURE)); VerifyOrReturn(CheckValue("clusterStatus", status.mClusterStatus.HasValue(), true)); VerifyOrReturn(CheckValue("clusterStatus", status.mClusterStatus.Value(), 9)); @@ -98791,7 +99003,14 @@ class Test_TC_CADMIN_1_4Suite : public TestCommand ); } case 4: { - LogStep(4, "Verify that the DNS-SD advertisement shows CM=1"); + LogStep(4, "Waiting after opening commissioning window"); + ListFreer listFreer; + chip::app::Clusters::DelayCommands::Commands::WaitForMs::Type value; + value.ms = mWaitAfterCommissioning.HasValue() ? mWaitAfterCommissioning.Value() : 5000UL; + return WaitForMs(kIdentityAlpha, value); + } + case 5: { + LogStep(5, "Verify that the DNS-SD advertisement shows CM=1"); VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::LogCommands::Commands::UserPrompt::Type value; @@ -98800,8 +99019,8 @@ class Test_TC_CADMIN_1_4Suite : public TestCommand value.expectedValue.Value() = chip::Span("ygarbage: not in length on purpose", 1); return UserPrompt(kIdentityAlpha, value); } - case 5: { - LogStep(5, "TH_CR1 writes the Basic Information Clusters NodeLabel mandatory attribute of DUT_CE"); + case 6: { + LogStep(6, "TH_CR1 writes the Basic Information Clusters NodeLabel mandatory attribute of DUT_CE"); VerifyOrDo(!ShouldSkip("BINFO.S.A0005"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::CharSpan value; @@ -98809,14 +99028,14 @@ class Test_TC_CADMIN_1_4Suite : public TestCommand return WriteAttribute(kIdentityAlpha, GetEndpoint(0), BasicInformation::Id, BasicInformation::Attributes::NodeLabel::Id, value, chip::NullOptional, chip::NullOptional); } - case 6: { - LogStep(6, "TH_CR1 reads the Basic Information Clusters NodeLabel mandatory attribute of DUT_CE"); + case 7: { + LogStep(7, "TH_CR1 reads the Basic Information Clusters NodeLabel mandatory attribute of DUT_CE"); VerifyOrDo(!ShouldSkip("BINFO.S.A0005"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(0), BasicInformation::Id, BasicInformation::Attributes::NodeLabel::Id, true, chip::NullOptional); } - case 7: { - LogStep(7, "TH_CR2 starts a commissioning process with DUT_CE"); + case 8: { + LogStep(8, "TH_CR2 starts a commissioning process with DUT_CE"); VerifyOrDo(!ShouldSkip("CADMIN.S"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::CommissionerCommands::Commands::PairWithCode::Type value; @@ -98824,16 +99043,16 @@ class Test_TC_CADMIN_1_4Suite : public TestCommand value.payload = mPayload.HasValue() ? mPayload.Value() : chip::Span("MT:-24J0AFN00KA0648G00", 22); return PairWithCode(kIdentityBeta, value); } - case 8: { - LogStep(8, "DUT_CE is commissioned by TH_CR2 on Fabric ID2 "); + case 9: { + LogStep(9, "DUT_CE is commissioned by TH_CR2 on Fabric ID2 "); VerifyOrDo(!ShouldSkip("CADMIN.S"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; value.nodeId = mNodeId2.HasValue() ? mNodeId2.Value() : 51966ULL; return WaitForCommissionee(kIdentityBeta, value); } - case 9: { - LogStep(9, "Verify DUT_CE is now discoverable over DNS-SD with two SRV Records"); + case 10: { + LogStep(10, "Verify DUT_CE is now discoverable over DNS-SD with two SRV Records"); VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::LogCommands::Commands::UserPrompt::Type value; @@ -98842,20 +99061,20 @@ class Test_TC_CADMIN_1_4Suite : public TestCommand value.expectedValue.Value() = chip::Span("ygarbage: not in length on purpose", 1); return UserPrompt(kIdentityAlpha, value); } - case 10: { - LogStep(10, "TH_CR1 reads the list of Fabrics on DUT_CE"); + case 11: { + LogStep(11, "TH_CR1 reads the list of Fabrics on DUT_CE"); VerifyOrDo(!ShouldSkip("OPCREDS.S.A0001"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(0), OperationalCredentials::Id, OperationalCredentials::Attributes::Fabrics::Id, false, chip::NullOptional); } - case 11: { - LogStep(11, "TH_CR2 reads the list of Fabrics on DUT_CE"); + case 12: { + LogStep(12, "TH_CR2 reads the list of Fabrics on DUT_CE"); VerifyOrDo(!ShouldSkip("OPCREDS.S.A0001"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityBeta, GetEndpoint(0), OperationalCredentials::Id, OperationalCredentials::Attributes::Fabrics::Id, false, chip::NullOptional); } - case 12: { - LogStep(12, "TH_CR1 writes the Basic Information Clusters NodeLabel mandatory attribute of DUT_CE"); + case 13: { + LogStep(13, "TH_CR1 writes the Basic Information Clusters NodeLabel mandatory attribute of DUT_CE"); VerifyOrDo(!ShouldSkip("BINFO.S.A0005"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::CharSpan value; @@ -98863,14 +99082,14 @@ class Test_TC_CADMIN_1_4Suite : public TestCommand return WriteAttribute(kIdentityAlpha, GetEndpoint(0), BasicInformation::Id, BasicInformation::Attributes::NodeLabel::Id, value, chip::NullOptional, chip::NullOptional); } - case 13: { - LogStep(13, "TH_CR1 reads the Basic Information Clusters NodeLabel mandatory attribute of DUT_CE"); + case 14: { + LogStep(14, "TH_CR1 reads the Basic Information Clusters NodeLabel mandatory attribute of DUT_CE"); VerifyOrDo(!ShouldSkip("BINFO.S.A0005"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(0), BasicInformation::Id, BasicInformation::Attributes::NodeLabel::Id, true, chip::NullOptional); } - case 14: { - LogStep(14, "TH_CR2 writes the Basic Information Clusters NodeLabel mandatory attribute of DUT_CE"); + case 15: { + LogStep(15, "TH_CR2 writes the Basic Information Clusters NodeLabel mandatory attribute of DUT_CE"); VerifyOrDo(!ShouldSkip("BINFO.S.A0005"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::CharSpan value; @@ -98878,14 +99097,14 @@ class Test_TC_CADMIN_1_4Suite : public TestCommand return WriteAttribute(kIdentityBeta, GetEndpoint(0), BasicInformation::Id, BasicInformation::Attributes::NodeLabel::Id, value, chip::NullOptional, chip::NullOptional); } - case 15: { - LogStep(15, "TH_CR2 reads the Basic Information Clusters NodeLabel mandatory attribute of DUT_CE"); + case 16: { + LogStep(16, "TH_CR2 reads the Basic Information Clusters NodeLabel mandatory attribute of DUT_CE"); VerifyOrDo(!ShouldSkip("BINFO.S.A0005"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityBeta, GetEndpoint(0), BasicInformation::Id, BasicInformation::Attributes::NodeLabel::Id, true, chip::NullOptional); } - case 16: { - LogStep(16, "TH_CR2 opens a commissioning window on DUT_CE using BCM"); + case 17: { + LogStep(17, "TH_CR2 opens a commissioning window on DUT_CE using BCM"); VerifyOrDo(!ShouldSkip("CADMIN.S.C01.Rsp"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::AdministratorCommissioning::Commands::OpenBasicCommissioningWindow::Type value; @@ -98896,21 +99115,21 @@ class Test_TC_CADMIN_1_4Suite : public TestCommand ); } - case 17: { - LogStep(17, "Wait for the commissioning window in step 13 to timeout"); + case 18: { + LogStep(18, "Wait for the commissioning window in step 13 to timeout"); ListFreer listFreer; chip::app::Clusters::DelayCommands::Commands::WaitForMs::Type value; value.ms = 180000UL; return WaitForMs(kIdentityAlpha, value); } - case 18: { - LogStep(18, "TH_CR2 reads the window status to verify the DUT_CE window is closed"); + case 19: { + LogStep(19, "TH_CR2 reads the window status to verify the DUT_CE window is closed"); VerifyOrDo(!ShouldSkip("CADMIN.S.A0000"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(0), AdministratorCommissioning::Id, AdministratorCommissioning::Attributes::WindowStatus::Id, true, chip::NullOptional); } - case 19: { - LogStep(19, "TH_CR2 opens a commissioning window on DUT_CE using BCM"); + case 20: { + LogStep(20, "TH_CR2 opens a commissioning window on DUT_CE using BCM"); VerifyOrDo(!ShouldSkip("CADMIN.S.C01.Rsp"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::AdministratorCommissioning::Commands::OpenBasicCommissioningWindow::Type value; @@ -98921,8 +99140,15 @@ class Test_TC_CADMIN_1_4Suite : public TestCommand ); } - case 20: { - LogStep(20, "TH_CR1 starts a commissioning process with DUT_CE before the timeout from step 12"); + case 21: { + LogStep(21, "Waiting after opening commissioning window"); + ListFreer listFreer; + chip::app::Clusters::DelayCommands::Commands::WaitForMs::Type value; + value.ms = mWaitAfterCommissioning.HasValue() ? mWaitAfterCommissioning.Value() : 5000UL; + return WaitForMs(kIdentityAlpha, value); + } + case 22: { + LogStep(22, "TH_CR1 starts a commissioning process with DUT_CE before the timeout from step 12"); VerifyOrDo(!ShouldSkip("CADMIN.S"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::CommissionerCommands::Commands::PairWithCode::Type value; @@ -98938,7 +99164,7 @@ class Test_TC_CADMIN_1_4Suite : public TestCommand class Test_TC_CADMIN_1_5Suite : public TestCommand { public: - Test_TC_CADMIN_1_5Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_CADMIN_1_5", 20, credsIssuerConfig) + Test_TC_CADMIN_1_5Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_CADMIN_1_5", 22, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("timeout", 0, UINT16_MAX, &mTimeout); @@ -98946,6 +99172,7 @@ class Test_TC_CADMIN_1_5Suite : public TestCommand AddArgument("nodeId2", 0, UINT64_MAX, &mNodeId2); AddArgument("nodeId3", 0, UINT64_MAX, &mNodeId3); AddArgument("endpoint", 0, UINT16_MAX, &mEndpoint); + AddArgument("waitAfterCommissioning", 0, UINT16_MAX, &mWaitAfterCommissioning); AddArgument("discriminator", 0, UINT16_MAX, &mDiscriminator); AddArgument("payload", &mPayload); AddArgument("PakeVerifier", &mPakeVerifier); @@ -98963,6 +99190,7 @@ class Test_TC_CADMIN_1_5Suite : public TestCommand chip::Optional mNodeId2; chip::Optional mNodeId3; chip::Optional mEndpoint; + chip::Optional mWaitAfterCommissioning; chip::Optional mDiscriminator; chip::Optional mPayload; chip::Optional mPakeVerifier; @@ -99012,18 +99240,22 @@ class Test_TC_CADMIN_1_5Suite : public TestCommand break; case 8: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); + shouldContinue = true; break; case 9: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_FAILURE)); - shouldContinue = true; + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); break; case 10: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_FAILURE)); + shouldContinue = true; break; case 11: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_FAILURE)); break; case 12: + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); + break; + case 13: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::CharSpan value; @@ -99031,33 +99263,37 @@ class Test_TC_CADMIN_1_5Suite : public TestCommand VerifyOrReturn(CheckValueAsString("nodeLabel", value, chip::CharSpan("chiptest", 8))); } break; - case 13: + case 14: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_FAILURE)); VerifyOrReturn(CheckValue("clusterStatus", status.mClusterStatus.HasValue(), true)); VerifyOrReturn(CheckValue("clusterStatus", status.mClusterStatus.Value(), 3)); break; - case 14: + case 15: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); break; - case 15: + case 16: + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); + shouldContinue = true; + break; + case 17: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_FAILURE)); VerifyOrReturn(CheckValue("clusterStatus", status.mClusterStatus.HasValue(), true)); VerifyOrReturn(CheckValue("clusterStatus", status.mClusterStatus.Value(), 2)); break; - case 16: + case 18: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); shouldContinue = true; break; - case 17: + case 19: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); shouldContinue = true; break; - case 18: + case 20: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_FAILURE)); VerifyOrReturn(CheckValue("clusterStatus", status.mClusterStatus.HasValue(), true)); VerifyOrReturn(CheckValue("clusterStatus", status.mClusterStatus.Value(), 4)); break; - case 19: + case 21: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_FAILURE)); shouldContinue = true; break; @@ -99177,7 +99413,14 @@ class Test_TC_CADMIN_1_5Suite : public TestCommand ); } case 8: { - LogStep(8, "TH_CR1 revokes the commissioning window on DUT_CE"); + LogStep(8, "Waiting after opening commissioning window"); + ListFreer listFreer; + chip::app::Clusters::DelayCommands::Commands::WaitForMs::Type value; + value.ms = mWaitAfterCommissioning.HasValue() ? mWaitAfterCommissioning.Value() : 5000UL; + return WaitForMs(kIdentityAlpha, value); + } + case 9: { + LogStep(9, "TH_CR1 revokes the commissioning window on DUT_CE"); VerifyOrDo(!ShouldSkip("CADMIN.S.C02.Rsp"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::AdministratorCommissioning::Commands::RevokeCommissioning::Type value; @@ -99187,8 +99430,8 @@ class Test_TC_CADMIN_1_5Suite : public TestCommand ); } - case 9: { - LogStep(9, "TH_CR2 starts a commissioning process with DUT_CE"); + case 10: { + LogStep(10, "TH_CR2 starts a commissioning process with DUT_CE"); VerifyOrDo(!ShouldSkip("CADMIN.S"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::CommissionerCommands::Commands::PairWithCode::Type value; @@ -99196,8 +99439,8 @@ class Test_TC_CADMIN_1_5Suite : public TestCommand value.payload = mPayload.HasValue() ? mPayload.Value() : chip::Span("MT:-24J0AFN00KA0648G00", 22); return PairWithCode(kIdentityBeta, value); } - case 10: { - LogStep(10, "TH_CR1 revokes the commissioning window on DUT_CE"); + case 11: { + LogStep(11, "TH_CR1 revokes the commissioning window on DUT_CE"); VerifyOrDo(!ShouldSkip("CADMIN.S.C02.Rsp"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::AdministratorCommissioning::Commands::RevokeCommissioning::Type value; @@ -99207,8 +99450,8 @@ class Test_TC_CADMIN_1_5Suite : public TestCommand ); } - case 11: { - LogStep(11, "TH_CR1 writes the mandatory attribute NodeLabel of DUT_CE"); + case 12: { + LogStep(12, "TH_CR1 writes the mandatory attribute NodeLabel of DUT_CE"); VerifyOrDo(!ShouldSkip("BINFO.S.A0005"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::CharSpan value; @@ -99216,14 +99459,14 @@ class Test_TC_CADMIN_1_5Suite : public TestCommand return WriteAttribute(kIdentityAlpha, GetEndpoint(0), BasicInformation::Id, BasicInformation::Attributes::NodeLabel::Id, value, chip::NullOptional, chip::NullOptional); } - case 12: { - LogStep(12, "TH_CR1 read the mandatory attribute NodeLabel of DUT_CE"); + case 13: { + LogStep(13, "TH_CR1 read the mandatory attribute NodeLabel of DUT_CE"); VerifyOrDo(!ShouldSkip("BINFO.S.A0005"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(0), BasicInformation::Id, BasicInformation::Attributes::NodeLabel::Id, true, chip::NullOptional); } - case 13: { - LogStep(13, "TH_CR1 opens a new commissioning window on DUT_CE using wrong PakeVerifier value using ECM"); + case 14: { + LogStep(14, "TH_CR1 opens a new commissioning window on DUT_CE using wrong PakeVerifier value using ECM"); VerifyOrDo(!ShouldSkip("CADMIN.S.C00.Rsp"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::AdministratorCommissioning::Commands::OpenCommissioningWindow::Type value; @@ -99245,8 +99488,8 @@ class Test_TC_CADMIN_1_5Suite : public TestCommand ); } - case 14: { - LogStep(14, "TH_CR1 opens a new commissioning window on DUT_CE using ECM"); + case 15: { + LogStep(15, "TH_CR1 opens a new commissioning window on DUT_CE using ECM"); VerifyOrDo(!ShouldSkip("CADMIN.S.C00.Rsp"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::AdministratorCommissioning::Commands::OpenCommissioningWindow::Type value; @@ -99269,8 +99512,15 @@ class Test_TC_CADMIN_1_5Suite : public TestCommand ); } - case 15: { - LogStep(15, "TH_CR1 opens another commissioning window on DUT_CE using ECM"); + case 16: { + LogStep(16, "Waiting after opening commissioning window"); + ListFreer listFreer; + chip::app::Clusters::DelayCommands::Commands::WaitForMs::Type value; + value.ms = mWaitAfterCommissioning.HasValue() ? mWaitAfterCommissioning.Value() : 5000UL; + return WaitForMs(kIdentityAlpha, value); + } + case 17: { + LogStep(17, "TH_CR1 opens another commissioning window on DUT_CE using ECM"); VerifyOrDo(!ShouldSkip("CADMIN.S.C00.Rsp"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::AdministratorCommissioning::Commands::OpenCommissioningWindow::Type value; @@ -99293,8 +99543,8 @@ class Test_TC_CADMIN_1_5Suite : public TestCommand ); } - case 16: { - LogStep(16, "TH_CR2 starts a commissioning process with DUT_CE"); + case 18: { + LogStep(18, "TH_CR2 starts a commissioning process with DUT_CE"); VerifyOrDo(!ShouldSkip("CADMIN.S"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::CommissionerCommands::Commands::PairWithCode::Type value; @@ -99302,16 +99552,16 @@ class Test_TC_CADMIN_1_5Suite : public TestCommand value.payload = mPayload.HasValue() ? mPayload.Value() : chip::Span("MT:-24J0AFN00KA0648G00", 22); return PairWithCode(kIdentityBeta, value); } - case 17: { - LogStep(17, "DUT_CE is commissioned by TH_CR2"); + case 19: { + LogStep(19, "DUT_CE is commissioned by TH_CR2"); VerifyOrDo(!ShouldSkip("CADMIN.S"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; value.nodeId = mNodeId2.HasValue() ? mNodeId2.Value() : 51966ULL; return WaitForCommissionee(kIdentityBeta, value); } - case 18: { - LogStep(18, "TH_CR1 tries to revoke the commissioning window on DUT_CE using RevokeCommissioning command"); + case 20: { + LogStep(20, "TH_CR1 tries to revoke the commissioning window on DUT_CE using RevokeCommissioning command"); VerifyOrDo(!ShouldSkip("CADMIN.S.C02.Rsp"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::AdministratorCommissioning::Commands::RevokeCommissioning::Type value; @@ -99321,8 +99571,8 @@ class Test_TC_CADMIN_1_5Suite : public TestCommand ); } - case 19: { - LogStep(19, "TH_CR3 starts a commissioning process with DUT_CE"); + case 21: { + LogStep(21, "TH_CR3 starts a commissioning process with DUT_CE"); VerifyOrDo(!ShouldSkip("CADMIN.S"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::CommissionerCommands::Commands::PairWithCode::Type value; @@ -99338,7 +99588,7 @@ class Test_TC_CADMIN_1_5Suite : public TestCommand class Test_TC_CADMIN_1_6Suite : public TestCommand { public: - Test_TC_CADMIN_1_6Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_CADMIN_1_6", 19, credsIssuerConfig) + Test_TC_CADMIN_1_6Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_CADMIN_1_6", 21, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("timeout", 0, UINT16_MAX, &mTimeout); @@ -99346,6 +99596,7 @@ class Test_TC_CADMIN_1_6Suite : public TestCommand AddArgument("nodeId2", 0, UINT64_MAX, &mNodeId2); AddArgument("nodeId3", 0, UINT64_MAX, &mNodeId3); AddArgument("endpoint", 0, UINT16_MAX, &mEndpoint); + AddArgument("waitAfterCommissioning", 0, UINT16_MAX, &mWaitAfterCommissioning); AddArgument("discriminator", 0, UINT16_MAX, &mDiscriminator); AddArgument("payload", &mPayload); } @@ -99361,6 +99612,7 @@ class Test_TC_CADMIN_1_6Suite : public TestCommand chip::Optional mNodeId2; chip::Optional mNodeId3; chip::Optional mEndpoint; + chip::Optional mWaitAfterCommissioning; chip::Optional mDiscriminator; chip::Optional mPayload; @@ -99408,18 +99660,22 @@ class Test_TC_CADMIN_1_6Suite : public TestCommand break; case 8: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); + shouldContinue = true; break; case 9: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_FAILURE)); - shouldContinue = true; + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); break; case 10: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_FAILURE)); + shouldContinue = true; break; case 11: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_FAILURE)); break; case 12: + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); + break; + case 13: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::CharSpan value; @@ -99427,28 +99683,32 @@ class Test_TC_CADMIN_1_6Suite : public TestCommand VerifyOrReturn(CheckValueAsString("nodeLabel", value, chip::CharSpan("chiptest", 8))); } break; - case 13: + case 14: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); break; - case 14: + case 15: + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); + shouldContinue = true; + break; + case 16: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_FAILURE)); VerifyOrReturn(CheckValue("clusterStatus", status.mClusterStatus.HasValue(), true)); VerifyOrReturn(CheckValue("clusterStatus", status.mClusterStatus.Value(), 2)); break; - case 15: + case 17: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); shouldContinue = true; break; - case 16: + case 18: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); shouldContinue = true; break; - case 17: + case 19: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_FAILURE)); VerifyOrReturn(CheckValue("clusterStatus", status.mClusterStatus.HasValue(), true)); VerifyOrReturn(CheckValue("clusterStatus", status.mClusterStatus.Value(), 4)); break; - case 18: + case 20: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_FAILURE)); shouldContinue = true; break; @@ -99544,7 +99804,14 @@ class Test_TC_CADMIN_1_6Suite : public TestCommand ); } case 8: { - LogStep(8, "TH_CR1 revokes the commissioning window on DUT_CE"); + LogStep(8, "Waiting after opening commissioning window"); + ListFreer listFreer; + chip::app::Clusters::DelayCommands::Commands::WaitForMs::Type value; + value.ms = mWaitAfterCommissioning.HasValue() ? mWaitAfterCommissioning.Value() : 5000UL; + return WaitForMs(kIdentityAlpha, value); + } + case 9: { + LogStep(9, "TH_CR1 revokes the commissioning window on DUT_CE"); VerifyOrDo(!ShouldSkip("CADMIN.S.C02.Rsp"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::AdministratorCommissioning::Commands::RevokeCommissioning::Type value; @@ -99554,16 +99821,16 @@ class Test_TC_CADMIN_1_6Suite : public TestCommand ); } - case 9: { - LogStep(9, "TH_CR2 starts a commissioning process with DUT_CE"); + case 10: { + LogStep(10, "TH_CR2 starts a commissioning process with DUT_CE"); ListFreer listFreer; chip::app::Clusters::CommissionerCommands::Commands::PairWithCode::Type value; value.nodeId = mNodeId2.HasValue() ? mNodeId2.Value() : 51966ULL; value.payload = mPayload.HasValue() ? mPayload.Value() : chip::Span("MT:-24J0AFN00KA0648G00", 22); return PairWithCode(kIdentityBeta, value); } - case 10: { - LogStep(10, "TH_CR1 revokes the commissioning window on DUT_CE"); + case 11: { + LogStep(11, "TH_CR1 revokes the commissioning window on DUT_CE"); VerifyOrDo(!ShouldSkip("CADMIN.S.C02.Rsp"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::AdministratorCommissioning::Commands::RevokeCommissioning::Type value; @@ -99573,8 +99840,8 @@ class Test_TC_CADMIN_1_6Suite : public TestCommand ); } - case 11: { - LogStep(11, "TH_CR1 writes the mandatory attribute NodeLabel of DUT_CE"); + case 12: { + LogStep(12, "TH_CR1 writes the mandatory attribute NodeLabel of DUT_CE"); VerifyOrDo(!ShouldSkip("BINFO.S.A0005"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::CharSpan value; @@ -99582,14 +99849,14 @@ class Test_TC_CADMIN_1_6Suite : public TestCommand return WriteAttribute(kIdentityAlpha, GetEndpoint(0), BasicInformation::Id, BasicInformation::Attributes::NodeLabel::Id, value, chip::NullOptional, chip::NullOptional); } - case 12: { - LogStep(12, "TH_CR1 read the mandatory attribute NodeLabel of DUT_CE"); + case 13: { + LogStep(13, "TH_CR1 read the mandatory attribute NodeLabel of DUT_CE"); VerifyOrDo(!ShouldSkip("BINFO.S.A0005"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(0), BasicInformation::Id, BasicInformation::Attributes::NodeLabel::Id, true, chip::NullOptional); } - case 13: { - LogStep(13, "TH_CR1 opens a commissioning window on DUT_CE"); + case 14: { + LogStep(14, "TH_CR1 opens a commissioning window on DUT_CE"); VerifyOrDo(!ShouldSkip("CADMIN.S.C01.Rsp"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::AdministratorCommissioning::Commands::OpenBasicCommissioningWindow::Type value; @@ -99600,8 +99867,15 @@ class Test_TC_CADMIN_1_6Suite : public TestCommand ); } - case 14: { - LogStep(14, "TH_CR1 opens another commissioning window on DUT_CE"); + case 15: { + LogStep(15, "Waiting after opening commissioning window"); + ListFreer listFreer; + chip::app::Clusters::DelayCommands::Commands::WaitForMs::Type value; + value.ms = mWaitAfterCommissioning.HasValue() ? mWaitAfterCommissioning.Value() : 5000UL; + return WaitForMs(kIdentityAlpha, value); + } + case 16: { + LogStep(16, "TH_CR1 opens another commissioning window on DUT_CE"); VerifyOrDo(!ShouldSkip("CADMIN.S.C01.Rsp"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::AdministratorCommissioning::Commands::OpenBasicCommissioningWindow::Type value; @@ -99612,24 +99886,24 @@ class Test_TC_CADMIN_1_6Suite : public TestCommand ); } - case 15: { - LogStep(15, "TH_CR2 starts a commissioning process on DUT_CE"); + case 17: { + LogStep(17, "TH_CR2 starts a commissioning process on DUT_CE"); ListFreer listFreer; chip::app::Clusters::CommissionerCommands::Commands::PairWithCode::Type value; value.nodeId = mNodeId2.HasValue() ? mNodeId2.Value() : 51966ULL; value.payload = mPayload.HasValue() ? mPayload.Value() : chip::Span("MT:-24J0AFN00KA0648G00", 22); return PairWithCode(kIdentityBeta, value); } - case 16: { - LogStep(16, "DUT_CE is commissioned by TH_CR2"); + case 18: { + LogStep(18, "DUT_CE is commissioned by TH_CR2"); VerifyOrDo(!ShouldSkip("CADMIN.S"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; value.nodeId = mNodeId2.HasValue() ? mNodeId2.Value() : 51966ULL; return WaitForCommissionee(kIdentityBeta, value); } - case 17: { - LogStep(17, "TH_CR1 tries to revoke the commissioning window on DUT_CE using RevokeCommissioning command"); + case 19: { + LogStep(19, "TH_CR1 tries to revoke the commissioning window on DUT_CE using RevokeCommissioning command"); VerifyOrDo(!ShouldSkip("CADMIN.S.C02.Rsp"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::AdministratorCommissioning::Commands::RevokeCommissioning::Type value; @@ -99639,8 +99913,8 @@ class Test_TC_CADMIN_1_6Suite : public TestCommand ); } - case 18: { - LogStep(18, "TH_CR3 starts a commissioning process with DUT_CE"); + case 20: { + LogStep(20, "TH_CR3 starts a commissioning process with DUT_CE"); VerifyOrDo(!ShouldSkip("CADMIN.S"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::CommissionerCommands::Commands::PairWithCode::Type value; @@ -99656,7 +99930,7 @@ class Test_TC_CADMIN_1_6Suite : public TestCommand class Test_TC_CADMIN_1_9Suite : public TestCommand { public: - Test_TC_CADMIN_1_9Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_CADMIN_1_9", 27, credsIssuerConfig) + Test_TC_CADMIN_1_9Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_CADMIN_1_9", 28, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("timeout", 0, UINT16_MAX, &mTimeout); @@ -99664,6 +99938,7 @@ class Test_TC_CADMIN_1_9Suite : public TestCommand AddArgument("nodeId2", 0, UINT64_MAX, &mNodeId2); AddArgument("nodeId3", 0, UINT64_MAX, &mNodeId3); AddArgument("endpoint", 0, UINT16_MAX, &mEndpoint); + AddArgument("waitAfterCommissioning", 0, UINT16_MAX, &mWaitAfterCommissioning); AddArgument("discriminator", 0, UINT16_MAX, &mDiscriminator); AddArgument("correctPayload", &mCorrectPayload); AddArgument("incorrectSetupCodePayload", &mIncorrectSetupCodePayload); @@ -99681,6 +99956,7 @@ class Test_TC_CADMIN_1_9Suite : public TestCommand chip::Optional mNodeId2; chip::Optional mNodeId3; chip::Optional mEndpoint; + chip::Optional mWaitAfterCommissioning; chip::Optional mDiscriminator; chip::Optional mCorrectPayload; chip::Optional mIncorrectSetupCodePayload; @@ -99718,7 +99994,7 @@ class Test_TC_CADMIN_1_9Suite : public TestCommand shouldContinue = true; break; case 5: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_FAILURE)); + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); shouldContinue = true; break; case 6: @@ -99805,6 +100081,10 @@ class Test_TC_CADMIN_1_9Suite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_FAILURE)); shouldContinue = true; break; + case 27: + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_FAILURE)); + shouldContinue = true; + break; default: LogErrorOnFailure(ContinueOnChipMainThread(CHIP_ERROR_INVALID_ARGUMENT)); } @@ -99871,7 +100151,14 @@ class Test_TC_CADMIN_1_9Suite : public TestCommand ); } case 4: { - LogStep(4, "Verify that the DNS-SD advertisement shows CM=2"); + LogStep(4, "Waiting after opening commissioning window"); + ListFreer listFreer; + chip::app::Clusters::DelayCommands::Commands::WaitForMs::Type value; + value.ms = mWaitAfterCommissioning.HasValue() ? mWaitAfterCommissioning.Value() : 5000UL; + return WaitForMs(kIdentityAlpha, value); + } + case 5: { + LogStep(5, "Verify that the DNS-SD advertisement shows CM=2"); VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::LogCommands::Commands::UserPrompt::Type value; @@ -99880,16 +100167,6 @@ class Test_TC_CADMIN_1_9Suite : public TestCommand value.expectedValue.Value() = chip::Span("ygarbage: not in length on purpose", 1); return UserPrompt(kIdentityAlpha, value); } - case 5: { - LogStep(5, "TH_CR2 starts a commissioning process with DUT_CE using Invalid setup code"); - VerifyOrDo(!ShouldSkip("CADMIN.S"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); - ListFreer listFreer; - chip::app::Clusters::CommissionerCommands::Commands::PairWithCode::Type value; - value.nodeId = mNodeId2.HasValue() ? mNodeId2.Value() : 51966ULL; - value.payload = mIncorrectSetupCodePayload.HasValue() ? mIncorrectSetupCodePayload.Value() - : chip::Span("MT:-24J0AFN00I.0648G00", 22); - return PairWithCode(kIdentityBeta, value); - } case 6: { LogStep(6, "TH_CR2 starts a commissioning process with DUT_CE using Invalid setup code"); VerifyOrDo(!ShouldSkip("CADMIN.S"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); @@ -100081,7 +100358,17 @@ class Test_TC_CADMIN_1_9Suite : public TestCommand return PairWithCode(kIdentityBeta, value); } case 25: { - LogStep(25, "TH_CR2 starts a commissioning process with DUT_CE using valid setup code"); + LogStep(25, "TH_CR2 starts a commissioning process with DUT_CE using Invalid setup code"); + VerifyOrDo(!ShouldSkip("CADMIN.S"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + ListFreer listFreer; + chip::app::Clusters::CommissionerCommands::Commands::PairWithCode::Type value; + value.nodeId = mNodeId2.HasValue() ? mNodeId2.Value() : 51966ULL; + value.payload = mIncorrectSetupCodePayload.HasValue() ? mIncorrectSetupCodePayload.Value() + : chip::Span("MT:-24J0AFN00I.0648G00", 22); + return PairWithCode(kIdentityBeta, value); + } + case 26: { + LogStep(26, "TH_CR2 starts a commissioning process with DUT_CE using valid setup code"); VerifyOrDo(!ShouldSkip("CADMIN.S"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::CommissionerCommands::Commands::PairWithCode::Type value; @@ -100090,8 +100377,8 @@ class Test_TC_CADMIN_1_9Suite : public TestCommand mCorrectPayload.HasValue() ? mCorrectPayload.Value() : chip::Span("MT:-24J0AFN00I31506010", 22); return PairWithCode(kIdentityBeta, value); } - case 26: { - LogStep(26, "TH_CR3 starts a commissioning process with DUT_CE"); + case 27: { + LogStep(27, "TH_CR3 starts a commissioning process with DUT_CE"); VerifyOrDo(!ShouldSkip("CADMIN.S"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::CommissionerCommands::Commands::PairWithCode::Type value; @@ -100109,7 +100396,7 @@ class Test_TC_CADMIN_1_10Suite : public TestCommand { public: Test_TC_CADMIN_1_10Suite(CredentialIssuerCommands * credsIssuerConfig) : - TestCommand("Test_TC_CADMIN_1_10", 26, credsIssuerConfig) + TestCommand("Test_TC_CADMIN_1_10", 28, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("timeout", 0, UINT16_MAX, &mTimeout); @@ -100117,6 +100404,7 @@ class Test_TC_CADMIN_1_10Suite : public TestCommand AddArgument("nodeId2", 0, UINT64_MAX, &mNodeId2); AddArgument("nodeId3", 0, UINT64_MAX, &mNodeId3); AddArgument("endpoint", 0, UINT16_MAX, &mEndpoint); + AddArgument("waitAfterCommissioning", 0, UINT16_MAX, &mWaitAfterCommissioning); AddArgument("discriminator", 0, UINT16_MAX, &mDiscriminator); AddArgument("correctPayload", &mCorrectPayload); AddArgument("incorrectSetupCodePayload", &mIncorrectSetupCodePayload); @@ -100133,6 +100421,7 @@ class Test_TC_CADMIN_1_10Suite : public TestCommand chip::Optional mNodeId2; chip::Optional mNodeId3; chip::Optional mEndpoint; + chip::Optional mWaitAfterCommissioning; chip::Optional mDiscriminator; chip::Optional mCorrectPayload; chip::Optional mIncorrectSetupCodePayload; @@ -100169,7 +100458,7 @@ class Test_TC_CADMIN_1_10Suite : public TestCommand shouldContinue = true; break; case 5: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_FAILURE)); + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); shouldContinue = true; break; case 6: @@ -100252,6 +100541,14 @@ class Test_TC_CADMIN_1_10Suite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_FAILURE)); shouldContinue = true; break; + case 26: + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_FAILURE)); + shouldContinue = true; + break; + case 27: + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_FAILURE)); + shouldContinue = true; + break; default: LogErrorOnFailure(ContinueOnChipMainThread(CHIP_ERROR_INVALID_ARGUMENT)); } @@ -100306,7 +100603,14 @@ class Test_TC_CADMIN_1_10Suite : public TestCommand ); } case 4: { - LogStep(4, "Verify that the DNS-SD advertisement shows CM=1"); + LogStep(4, "Waiting after opening commissioning window"); + ListFreer listFreer; + chip::app::Clusters::DelayCommands::Commands::WaitForMs::Type value; + value.ms = mWaitAfterCommissioning.HasValue() ? mWaitAfterCommissioning.Value() : 5000UL; + return WaitForMs(kIdentityAlpha, value); + } + case 5: { + LogStep(5, "Verify that the DNS-SD advertisement shows CM=1"); VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::LogCommands::Commands::UserPrompt::Type value; @@ -100315,16 +100619,6 @@ class Test_TC_CADMIN_1_10Suite : public TestCommand value.expectedValue.Value() = chip::Span("ygarbage: not in length on purpose", 1); return UserPrompt(kIdentityAlpha, value); } - case 5: { - LogStep(5, "TH_CR2 starts a commissioning process with DUT_CE using Invalid setup code"); - VerifyOrDo(!ShouldSkip("CADMIN.S"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); - ListFreer listFreer; - chip::app::Clusters::CommissionerCommands::Commands::PairWithCode::Type value; - value.nodeId = mNodeId2.HasValue() ? mNodeId2.Value() : 51966ULL; - value.payload = mIncorrectSetupCodePayload.HasValue() ? mIncorrectSetupCodePayload.Value() - : chip::Span("MT:-24J0AFN00I.0648G00", 22); - return PairWithCode(kIdentityBeta, value); - } case 6: { LogStep(6, "TH_CR2 starts a commissioning process with DUT_CE using Invalid setup code"); VerifyOrDo(!ShouldSkip("CADMIN.S"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); @@ -100407,6 +100701,7 @@ class Test_TC_CADMIN_1_10Suite : public TestCommand } case 14: { LogStep(14, "TH_CR2 starts a commissioning process with DUT_CE using Invalid setup code"); + VerifyOrDo(!ShouldSkip("CADMIN.S"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::CommissionerCommands::Commands::PairWithCode::Type value; value.nodeId = mNodeId2.HasValue() ? mNodeId2.Value() : 51966ULL; @@ -100416,7 +100711,6 @@ class Test_TC_CADMIN_1_10Suite : public TestCommand } case 15: { LogStep(15, "TH_CR2 starts a commissioning process with DUT_CE using Invalid setup code"); - VerifyOrDo(!ShouldSkip("CADMIN.S"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::CommissionerCommands::Commands::PairWithCode::Type value; value.nodeId = mNodeId2.HasValue() ? mNodeId2.Value() : 51966ULL; @@ -100515,7 +100809,17 @@ class Test_TC_CADMIN_1_10Suite : public TestCommand return PairWithCode(kIdentityBeta, value); } case 25: { - LogStep(25, "TH_CR2 attempts to do PASE to DUT_CE using the correct onboarding payload"); + LogStep(25, "TH_CR2 starts a commissioning process with DUT_CE using Invalid setup code"); + VerifyOrDo(!ShouldSkip("CADMIN.S"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + ListFreer listFreer; + chip::app::Clusters::CommissionerCommands::Commands::PairWithCode::Type value; + value.nodeId = mNodeId2.HasValue() ? mNodeId2.Value() : 51966ULL; + value.payload = mIncorrectSetupCodePayload.HasValue() ? mIncorrectSetupCodePayload.Value() + : chip::Span("MT:-24J0AFN00I.0648G00", 22); + return PairWithCode(kIdentityBeta, value); + } + case 26: { + LogStep(26, "TH_CR2 attempts to do PASE to DUT_CE using the correct onboarding payload"); VerifyOrDo(!ShouldSkip("CADMIN.S"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::CommissionerCommands::Commands::PairWithCode::Type value; @@ -100524,6 +100828,16 @@ class Test_TC_CADMIN_1_10Suite : public TestCommand mCorrectPayload.HasValue() ? mCorrectPayload.Value() : chip::Span("MT:-24J0AFN00KA0648G00", 22); return PairWithCode(kIdentityBeta, value); } + case 27: { + LogStep(27, "TH_CR3 starts a commissioning process with DUT_CE"); + VerifyOrDo(!ShouldSkip("CADMIN.S"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + ListFreer listFreer; + chip::app::Clusters::CommissionerCommands::Commands::PairWithCode::Type value; + value.nodeId = mNodeId3.HasValue() ? mNodeId3.Value() : 12586990ULL; + value.payload = + mCorrectPayload.HasValue() ? mCorrectPayload.Value() : chip::Span("MT:-24J0AFN00KA0648G00", 22); + return PairWithCode(kIdentityGamma, value); + } } return CHIP_NO_ERROR; } @@ -100533,7 +100847,7 @@ class Test_TC_CADMIN_1_13Suite : public TestCommand { public: Test_TC_CADMIN_1_13Suite(CredentialIssuerCommands * credsIssuerConfig) : - TestCommand("Test_TC_CADMIN_1_13", 29, credsIssuerConfig) + TestCommand("Test_TC_CADMIN_1_13", 34, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("timeout", 0, UINT16_MAX, &mTimeout); @@ -100541,6 +100855,7 @@ class Test_TC_CADMIN_1_13Suite : public TestCommand AddArgument("nodeId2", 0, UINT64_MAX, &mNodeId2); AddArgument("nodeId3", 0, UINT64_MAX, &mNodeId3); AddArgument("endpoint", 0, UINT16_MAX, &mEndpoint); + AddArgument("waitAfterCommissioning", 0, UINT16_MAX, &mWaitAfterCommissioning); AddArgument("discriminator", 0, UINT16_MAX, &mDiscriminator); AddArgument("payload", &mPayload); AddArgument("PakeVerifier", &mPakeVerifier); @@ -100557,6 +100872,7 @@ class Test_TC_CADMIN_1_13Suite : public TestCommand chip::Optional mNodeId2; chip::Optional mNodeId3; chip::Optional mEndpoint; + chip::Optional mWaitAfterCommissioning; chip::Optional mDiscriminator; chip::Optional mPayload; chip::Optional mPakeVerifier; @@ -100589,6 +100905,10 @@ class Test_TC_CADMIN_1_13Suite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); break; case 4: + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); + shouldContinue = true; + break; + case 5: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::Clusters::AdministratorCommissioning::CommissioningWindowStatusEnum value; @@ -100596,10 +100916,6 @@ class Test_TC_CADMIN_1_13Suite : public TestCommand VerifyOrReturn(CheckValue("windowStatus", value, 2U)); } break; - case 5: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); - shouldContinue = true; - break; case 6: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); shouldContinue = true; @@ -100618,10 +100934,10 @@ class Test_TC_CADMIN_1_13Suite : public TestCommand break; case 10: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); + shouldContinue = true; break; case 11: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); - shouldContinue = true; break; case 12: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); @@ -100629,13 +100945,25 @@ class Test_TC_CADMIN_1_13Suite : public TestCommand break; case 13: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); + shouldContinue = true; break; case 14: + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); + shouldContinue = true; + break; + case 15: + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); + break; + case 16: + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); + shouldContinue = true; + break; + case 17: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_FAILURE)); VerifyOrReturn(CheckValue("clusterStatus", status.mClusterStatus.HasValue(), true)); VerifyOrReturn(CheckValue("clusterStatus", status.mClusterStatus.Value(), 2)); break; - case 15: + case 18: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList< @@ -100661,14 +100989,18 @@ class Test_TC_CADMIN_1_13Suite : public TestCommand VerifyOrReturn(CheckConstraintType("value", "list", "list")); } break; - case 16: + case 19: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); shouldContinue = true; break; - case 17: + case 20: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); break; - case 18: + case 21: + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); + shouldContinue = true; + break; + case 22: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::Clusters::AdministratorCommissioning::CommissioningWindowStatusEnum value; @@ -100676,16 +101008,16 @@ class Test_TC_CADMIN_1_13Suite : public TestCommand VerifyOrReturn(CheckValue("windowStatus", value, 1U)); } break; - case 19: + case 23: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); shouldContinue = true; break; - case 20: + case 24: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_FAILURE)); VerifyOrReturn(CheckValue("clusterStatus", status.mClusterStatus.HasValue(), true)); VerifyOrReturn(CheckValue("clusterStatus", status.mClusterStatus.Value(), 2)); break; - case 21: + case 25: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList< @@ -100711,23 +101043,27 @@ class Test_TC_CADMIN_1_13Suite : public TestCommand VerifyOrReturn(CheckConstraintType("value", "list", "list")); } break; - case 22: + case 26: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); shouldContinue = true; break; - case 23: + case 27: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); break; - case 24: + case 28: + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); + shouldContinue = true; + break; + case 29: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_FAILURE)); VerifyOrReturn(CheckValue("clusterStatus", status.mClusterStatus.HasValue(), true)); VerifyOrReturn(CheckValue("clusterStatus", status.mClusterStatus.Value(), 2)); break; - case 25: + case 30: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); shouldContinue = true; break; - case 26: + case 31: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::Clusters::AdministratorCommissioning::CommissioningWindowStatusEnum value; @@ -100735,7 +101071,7 @@ class Test_TC_CADMIN_1_13Suite : public TestCommand VerifyOrReturn(CheckValue("windowStatus", value, 0U)); } break; - case 27: + case 32: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::Nullable value; @@ -100743,7 +101079,7 @@ class Test_TC_CADMIN_1_13Suite : public TestCommand VerifyOrReturn(CheckValueNull("adminFabricIndex", value)); } break; - case 28: + case 33: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::Nullable value; @@ -100805,13 +101141,20 @@ class Test_TC_CADMIN_1_13Suite : public TestCommand ); } case 4: { - LogStep(4, "TH_CR1 reads WindowStatus attribute from DUT_CE"); + LogStep(4, "Waiting after opening commissioning window"); + ListFreer listFreer; + chip::app::Clusters::DelayCommands::Commands::WaitForMs::Type value; + value.ms = mWaitAfterCommissioning.HasValue() ? mWaitAfterCommissioning.Value() : 5000UL; + return WaitForMs(kIdentityAlpha, value); + } + case 5: { + LogStep(5, "TH_CR1 reads WindowStatus attribute from DUT_CE"); VerifyOrDo(!ShouldSkip("CADMIN.S.A0000"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(0), AdministratorCommissioning::Id, AdministratorCommissioning::Attributes::WindowStatus::Id, true, chip::NullOptional); } - case 5: { - LogStep(5, + case 6: { + LogStep(6, "TH_CR1 reads AdminFabricIndex attribute from DUT_CE and Verify TH_CR1 reads the AdminFabricIndex value " "successfully and verify the value to be the same as the Fabric Index of the Fabrics attribute list entry in " "TH_CR1"); @@ -100823,8 +101166,8 @@ class Test_TC_CADMIN_1_13Suite : public TestCommand value.expectedValue.Value() = chip::Span("ygarbage: not in length on purpose", 1); return UserPrompt(kIdentityAlpha, value); } - case 6: { - LogStep(6, + case 7: { + LogStep(7, "TH_CR1 reads AdminVendorId attribute from DUT_CE and Verify TH_CR1 reads the AdminVendorId value successfully " "and verify this value to be the same as the Vendor ID field of Fabrics attribute list entry in TH_CR1"); VerifyOrDo(!ShouldSkip("CADMIN.S.A0002 && PICS_USER_PROMPT"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); @@ -100835,8 +101178,8 @@ class Test_TC_CADMIN_1_13Suite : public TestCommand value.expectedValue.Value() = chip::Span("ygarbage: not in length on purpose", 1); return UserPrompt(kIdentityAlpha, value); } - case 7: { - LogStep(7, "Verify that the DNS-SD advertisement shows CM=1"); + case 8: { + LogStep(8, "Verify that the DNS-SD advertisement shows CM=1"); VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::LogCommands::Commands::UserPrompt::Type value; @@ -100845,24 +101188,24 @@ class Test_TC_CADMIN_1_13Suite : public TestCommand value.expectedValue.Value() = chip::Span("ygarbage: not in length on purpose", 1); return UserPrompt(kIdentityAlpha, value); } - case 8: { - LogStep(8, "TH_CR3 starts a commissioning process with DUT_CE"); + case 9: { + LogStep(9, "TH_CR3 starts a commissioning process with DUT_CE"); ListFreer listFreer; chip::app::Clusters::CommissionerCommands::Commands::PairWithCode::Type value; value.nodeId = mNodeId3.HasValue() ? mNodeId3.Value() : 12586990ULL; value.payload = mPayload.HasValue() ? mPayload.Value() : chip::Span("MT:-24J0AFN00KA0648G00", 22); return PairWithCode(kIdentityGamma, value); } - case 9: { - LogStep(9, "DUT_CE is commissioned to TH_CR3 on Fabric ID3 with Node ID3"); + case 10: { + LogStep(10, "DUT_CE is commissioned to TH_CR3 on Fabric ID3 with Node ID3"); VerifyOrDo(!ShouldSkip("CADMIN.S"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; value.nodeId = mNodeId3.HasValue() ? mNodeId3.Value() : 12586990ULL; return WaitForCommissionee(kIdentityGamma, value); } - case 10: { - LogStep(10, "TH_CR1 opens a commissioning window on DUT_CE"); + case 11: { + LogStep(11, "TH_CR1 opens a commissioning window on DUT_CE"); VerifyOrDo(!ShouldSkip("CADMIN.S.C01.Rsp"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::AdministratorCommissioning::Commands::OpenBasicCommissioningWindow::Type value; @@ -100873,23 +101216,30 @@ class Test_TC_CADMIN_1_13Suite : public TestCommand ); } - case 11: { - LogStep(11, "TH_CR2 starts a commissioning process with DUT_CE"); + case 12: { + LogStep(12, "Waiting after opening commissioning window"); + ListFreer listFreer; + chip::app::Clusters::DelayCommands::Commands::WaitForMs::Type value; + value.ms = mWaitAfterCommissioning.HasValue() ? mWaitAfterCommissioning.Value() : 5000UL; + return WaitForMs(kIdentityAlpha, value); + } + case 13: { + LogStep(13, "TH_CR2 starts a commissioning process with DUT_CE"); ListFreer listFreer; chip::app::Clusters::CommissionerCommands::Commands::PairWithCode::Type value; value.nodeId = mNodeId2.HasValue() ? mNodeId2.Value() : 51966ULL; value.payload = mPayload.HasValue() ? mPayload.Value() : chip::Span("MT:-24J0AFN00KA0648G00", 22); return PairWithCode(kIdentityBeta, value); } - case 12: { - LogStep(12, "DUT_CE is commissioned to TH_CR2 on Fabric ID2 with Node ID2"); + case 14: { + LogStep(14, "DUT_CE is commissioned to TH_CR2 on Fabric ID2 with Node ID2"); ListFreer listFreer; chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; value.nodeId = mNodeId2.HasValue() ? mNodeId2.Value() : 51966ULL; return WaitForCommissionee(kIdentityBeta, value); } - case 13: { - LogStep(13, "TH_CR1 opens a commissioning window on DUT_CE"); + case 15: { + LogStep(15, "TH_CR1 opens a commissioning window on DUT_CE"); VerifyOrDo(!ShouldSkip("CADMIN.S.C01.Rsp"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::AdministratorCommissioning::Commands::OpenBasicCommissioningWindow::Type value; @@ -100900,8 +101250,15 @@ class Test_TC_CADMIN_1_13Suite : public TestCommand ); } - case 14: { - LogStep(14, "TH_CR1 opens a 2nd commissioning window on DUT_CE"); + case 16: { + LogStep(16, "Waiting after opening commissioning window"); + ListFreer listFreer; + chip::app::Clusters::DelayCommands::Commands::WaitForMs::Type value; + value.ms = mWaitAfterCommissioning.HasValue() ? mWaitAfterCommissioning.Value() : 5000UL; + return WaitForMs(kIdentityAlpha, value); + } + case 17: { + LogStep(17, "TH_CR1 opens a 2nd commissioning window on DUT_CE"); VerifyOrDo(!ShouldSkip("CADMIN.S.C00.Rsp"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::AdministratorCommissioning::Commands::OpenCommissioningWindow::Type value; @@ -100924,21 +101281,21 @@ class Test_TC_CADMIN_1_13Suite : public TestCommand ); } - case 15: { - LogStep(15, "TH_CR1 reads the list of Fabrics on DUT_CE"); + case 18: { + LogStep(18, "TH_CR1 reads the list of Fabrics on DUT_CE"); VerifyOrDo(!ShouldSkip("OPCREDS.S.A0001"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(0), OperationalCredentials::Id, OperationalCredentials::Attributes::Fabrics::Id, false, chip::NullOptional); } - case 16: { - LogStep(16, "Wait for the expiration of PIXIT.CADMIN.CwDuration seconds"); + case 19: { + LogStep(19, "Wait for the expiration of PIXIT.CADMIN.CwDuration seconds"); ListFreer listFreer; chip::app::Clusters::DelayCommands::Commands::WaitForMs::Type value; value.ms = 180000UL; return WaitForMs(kIdentityAlpha, value); } - case 17: { - LogStep(17, "TH_CR1 re-opens new commissioning window on DUT_CE using ECM"); + case 20: { + LogStep(20, "TH_CR1 re-opens new commissioning window on DUT_CE using ECM"); VerifyOrDo(!ShouldSkip("CADMIN.S.C00.Rsp"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::AdministratorCommissioning::Commands::OpenCommissioningWindow::Type value; @@ -100961,14 +101318,21 @@ class Test_TC_CADMIN_1_13Suite : public TestCommand ); } - case 18: { - LogStep(18, "TH_CR1 reads WindowStatus attribute from DUT_CE"); + case 21: { + LogStep(21, "Waiting after opening commissioning window"); + ListFreer listFreer; + chip::app::Clusters::DelayCommands::Commands::WaitForMs::Type value; + value.ms = mWaitAfterCommissioning.HasValue() ? mWaitAfterCommissioning.Value() : 5000UL; + return WaitForMs(kIdentityAlpha, value); + } + case 22: { + LogStep(22, "TH_CR1 reads WindowStatus attribute from DUT_CE"); VerifyOrDo(!ShouldSkip("CADMIN.S.A0000"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(0), AdministratorCommissioning::Id, AdministratorCommissioning::Attributes::WindowStatus::Id, true, chip::NullOptional); } - case 19: { - LogStep(19, "Verify that the DNS-SD advertisement shows CM=2"); + case 23: { + LogStep(23, "Verify that the DNS-SD advertisement shows CM=2"); VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::LogCommands::Commands::UserPrompt::Type value; @@ -100977,8 +101341,8 @@ class Test_TC_CADMIN_1_13Suite : public TestCommand value.expectedValue.Value() = chip::Span("ygarbage: not in length on purpose", 1); return UserPrompt(kIdentityAlpha, value); } - case 20: { - LogStep(20, "TH_CR3 opens a 2nd commissioning window on DUT_CE"); + case 24: { + LogStep(24, "TH_CR3 opens a 2nd commissioning window on DUT_CE"); VerifyOrDo(!ShouldSkip("CADMIN.S.C00.Rsp"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::AdministratorCommissioning::Commands::OpenCommissioningWindow::Type value; @@ -101001,21 +101365,21 @@ class Test_TC_CADMIN_1_13Suite : public TestCommand ); } - case 21: { - LogStep(21, "TH_CR1 reads the list of Fabrics on DUT_CE"); + case 25: { + LogStep(25, "TH_CR1 reads the list of Fabrics on DUT_CE"); VerifyOrDo(!ShouldSkip("OPCREDS.S.A0001"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(0), OperationalCredentials::Id, OperationalCredentials::Attributes::Fabrics::Id, false, chip::NullOptional); } - case 22: { - LogStep(22, "Wait for the expiration of PIXIT_COMM_WIN seconds"); + case 26: { + LogStep(26, "Wait for the expiration of PIXIT_COMM_WIN seconds"); ListFreer listFreer; chip::app::Clusters::DelayCommands::Commands::WaitForMs::Type value; value.ms = 180000UL; return WaitForMs(kIdentityAlpha, value); } - case 23: { - LogStep(23, "TH_CR1 opens a new commissioning window on DUT_CE"); + case 27: { + LogStep(27, "TH_CR1 opens a new commissioning window on DUT_CE"); VerifyOrDo(!ShouldSkip("CADMIN.S.C00.Rsp"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::AdministratorCommissioning::Commands::OpenCommissioningWindow::Type value; @@ -101038,8 +101402,15 @@ class Test_TC_CADMIN_1_13Suite : public TestCommand ); } - case 24: { - LogStep(24, "TH_CR2 opens a 2nd commissioning window on DUT_CE using ECM"); + case 28: { + LogStep(28, "Waiting after opening commissioning window"); + ListFreer listFreer; + chip::app::Clusters::DelayCommands::Commands::WaitForMs::Type value; + value.ms = mWaitAfterCommissioning.HasValue() ? mWaitAfterCommissioning.Value() : 5000UL; + return WaitForMs(kIdentityAlpha, value); + } + case 29: { + LogStep(29, "TH_CR2 opens a 2nd commissioning window on DUT_CE using ECM"); VerifyOrDo(!ShouldSkip("CADMIN.S.C00.Rsp"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::AdministratorCommissioning::Commands::OpenCommissioningWindow::Type value; @@ -101062,27 +101433,27 @@ class Test_TC_CADMIN_1_13Suite : public TestCommand ); } - case 25: { - LogStep(25, "Wait for the expiration of PIXIT.CADMIN.CwDuration seconds"); + case 30: { + LogStep(30, "Wait for the expiration of PIXIT.CADMIN.CwDuration seconds"); ListFreer listFreer; chip::app::Clusters::DelayCommands::Commands::WaitForMs::Type value; value.ms = 180000UL; return WaitForMs(kIdentityAlpha, value); } - case 26: { - LogStep(26, "TH_CR1 reads WindowStatus attribute from DUT_CE"); + case 31: { + LogStep(31, "TH_CR1 reads WindowStatus attribute from DUT_CE"); VerifyOrDo(!ShouldSkip("CADMIN.S.A0000"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(0), AdministratorCommissioning::Id, AdministratorCommissioning::Attributes::WindowStatus::Id, true, chip::NullOptional); } - case 27: { - LogStep(27, "TH_CR1 reads AdminFabricIndex attribute from DUT_CE"); + case 32: { + LogStep(32, "TH_CR1 reads AdminFabricIndex attribute from DUT_CE"); VerifyOrDo(!ShouldSkip("CADMIN.S.A0001"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(0), AdministratorCommissioning::Id, AdministratorCommissioning::Attributes::AdminFabricIndex::Id, true, chip::NullOptional); } - case 28: { - LogStep(28, "TH_CR1 reads AdminVendorId attribute from DUT_CE"); + case 33: { + LogStep(33, "TH_CR1 reads AdminVendorId attribute from DUT_CE"); VerifyOrDo(!ShouldSkip("CADMIN.S.A0002"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(0), AdministratorCommissioning::Id, AdministratorCommissioning::Attributes::AdminVendorId::Id, true, chip::NullOptional); @@ -105372,12 +105743,7 @@ class Test_TC_CC_3_1Suite : public TestCommand break; case 20: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); - { - uint8_t value; - VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); - VerifyOrReturn(CheckConstraintMinValue("value", value, 166U)); - VerifyOrReturn(CheckConstraintMaxValue("value", value, 224U)); - } + shouldContinue = true; break; case 21: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); @@ -105385,12 +105751,7 @@ class Test_TC_CC_3_1Suite : public TestCommand break; case 22: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); - { - uint8_t value; - VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); - VerifyOrReturn(CheckConstraintMinValue("value", value, 115U)); - VerifyOrReturn(CheckConstraintMaxValue("value", value, 155U)); - } + shouldContinue = true; break; case 23: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); @@ -105769,9 +106130,14 @@ class Test_TC_CC_3_1Suite : public TestCommand } case 20: { LogStep(20, "TH reads CurrentHue attribute from DUT"); - VerifyOrDo(!ShouldSkip("CC.S.F00 && CC.S.A0000"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); - return ReadAttribute(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Attributes::CurrentHue::Id, true, - chip::NullOptional); + VerifyOrDo(!ShouldSkip("CC.S.F00 && CC.S.A0000 && PICS_SKIP_SAMPLE_APP"), + return ContinueOnChipMainThread(CHIP_NO_ERROR)); + ListFreer listFreer; + chip::app::Clusters::LogCommands::Commands::UserPrompt::Type value; + value.message = chip::Span("Enter 'y' after successgarbage: not in length on purpose", 23); + value.expectedValue.Emplace(); + value.expectedValue.Value() = chip::Span("ygarbage: not in length on purpose", 1); + return UserPrompt(kIdentityAlpha, value); } case 21: { LogStep(21, "Wait 10s"); @@ -105783,9 +106149,14 @@ class Test_TC_CC_3_1Suite : public TestCommand } case 22: { LogStep(22, "TH reads CurrentHue attribute from DUT"); - VerifyOrDo(!ShouldSkip("CC.S.F00 && CC.S.A0000"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); - return ReadAttribute(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Attributes::CurrentHue::Id, true, - chip::NullOptional); + VerifyOrDo(!ShouldSkip("CC.S.F00 && CC.S.A0000 && PICS_SKIP_SAMPLE_APP"), + return ContinueOnChipMainThread(CHIP_NO_ERROR)); + ListFreer listFreer; + chip::app::Clusters::LogCommands::Commands::UserPrompt::Type value; + value.message = chip::Span("Enter 'y' after successgarbage: not in length on purpose", 23); + value.expectedValue.Emplace(); + value.expectedValue.Value() = chip::Span("ygarbage: not in length on purpose", 1); + return UserPrompt(kIdentityAlpha, value); } case 23: { LogStep(23, "Wait 5s"); diff --git a/zzz_generated/darwin-framework-tool/zap-generated/test/Commands.h b/zzz_generated/darwin-framework-tool/zap-generated/test/Commands.h index 6c9c3f89592329..0adb138092b7e4 100644 --- a/zzz_generated/darwin-framework-tool/zap-generated/test/Commands.h +++ b/zzz_generated/darwin-framework-tool/zap-generated/test/Commands.h @@ -5562,6 +5562,7 @@ class Test_TC_ACE_1_5 : public TestCommandBridge { AddArgument("endpoint", 0, UINT16_MAX, &mEndpoint); AddArgument("payload", &mPayload); AddArgument("discriminator", 0, UINT16_MAX, &mDiscriminator); + AddArgument("waitAfterCommissioning", 0, UINT16_MAX, &mWaitAfterCommissioning); AddArgument("PakeVerifier", &mPakeVerifier); AddArgument("timeout", 0, UINT16_MAX, &mTimeout); } @@ -5604,56 +5605,60 @@ class Test_TC_ACE_1_5 : public TestCommandBridge { err = TestOpenCommissioningWindowFromAlpha_2(); break; case 3: - ChipLogProgress(chipTool, " ***** Test Step 3 : Commission from TH2\n"); - err = TestCommissionFromTh2_3(); + ChipLogProgress(chipTool, " ***** Test Step 3 : Waiting after opening commissioning window\n"); + err = TestWaitingAfterOpeningCommissioningWindow_3(); break; case 4: - ChipLogProgress(chipTool, " ***** Test Step 4 : Wait for the commissioned device to be retrieved for TH2\n"); - err = TestWaitForTheCommissionedDeviceToBeRetrievedForTh2_4(); + ChipLogProgress(chipTool, " ***** Test Step 4 : Commission from TH2\n"); + err = TestCommissionFromTh2_4(); break; case 5: - ChipLogProgress(chipTool, " ***** Test Step 5 : TH2 reads the fabric index\n"); - err = TestTh2ReadsTheFabricIndex_5(); + ChipLogProgress(chipTool, " ***** Test Step 5 : Wait for the commissioned device to be retrieved for TH2\n"); + err = TestWaitForTheCommissionedDeviceToBeRetrievedForTh2_5(); break; case 6: - ChipLogProgress(chipTool, " ***** Test Step 6 : Read the commissioner node ID from the alpha fabric\n"); - err = TestReadTheCommissionerNodeIdFromTheAlphaFabric_6(); + ChipLogProgress(chipTool, " ***** Test Step 6 : TH2 reads the fabric index\n"); + err = TestTh2ReadsTheFabricIndex_6(); break; case 7: - ChipLogProgress(chipTool, " ***** Test Step 7 : TH1 writes ACL giving view privilege for descriptor cluster\n"); - err = TestTh1WritesAclGivingViewPrivilegeForDescriptorCluster_7(); + ChipLogProgress(chipTool, " ***** Test Step 7 : Read the commissioner node ID from the alpha fabric\n"); + err = TestReadTheCommissionerNodeIdFromTheAlphaFabric_7(); break; case 8: - ChipLogProgress(chipTool, " ***** Test Step 8 : Read the commissioner node ID from the beta fabric\n"); - err = TestReadTheCommissionerNodeIdFromTheBetaFabric_8(); + ChipLogProgress(chipTool, " ***** Test Step 8 : TH1 writes ACL giving view privilege for descriptor cluster\n"); + err = TestTh1WritesAclGivingViewPrivilegeForDescriptorCluster_8(); break; case 9: - ChipLogProgress(chipTool, " ***** Test Step 9 : TH2 writes ACL giving view privilge for basic cluster\n"); - err = TestTh2WritesAclGivingViewPrivilgeForBasicCluster_9(); + ChipLogProgress(chipTool, " ***** Test Step 9 : Read the commissioner node ID from the beta fabric\n"); + err = TestReadTheCommissionerNodeIdFromTheBetaFabric_9(); break; case 10: - ChipLogProgress(chipTool, " ***** Test Step 10 : TH1 reads descriptor cluster - expect SUCCESS\n"); - err = TestTh1ReadsDescriptorClusterExpectSuccess_10(); + ChipLogProgress(chipTool, " ***** Test Step 10 : TH2 writes ACL giving view privilge for basic cluster\n"); + err = TestTh2WritesAclGivingViewPrivilgeForBasicCluster_10(); break; case 11: - ChipLogProgress(chipTool, " ***** Test Step 11 : TH1 reads basic cluster - expect UNSUPPORTED_ACCESS\n"); - err = TestTh1ReadsBasicClusterExpectUnsupportedAccess_11(); + ChipLogProgress(chipTool, " ***** Test Step 11 : TH1 reads descriptor cluster - expect SUCCESS\n"); + err = TestTh1ReadsDescriptorClusterExpectSuccess_11(); break; case 12: - ChipLogProgress(chipTool, " ***** Test Step 12 : TH2 reads descriptor cluster - expect UNSUPPORTED_ACCESS\n"); - err = TestTh2ReadsDescriptorClusterExpectUnsupportedAccess_12(); + ChipLogProgress(chipTool, " ***** Test Step 12 : TH1 reads basic cluster - expect UNSUPPORTED_ACCESS\n"); + err = TestTh1ReadsBasicClusterExpectUnsupportedAccess_12(); break; case 13: - ChipLogProgress(chipTool, " ***** Test Step 13 : TH2 reads basic cluster - expect SUCCESS\n"); - err = TestTh2ReadsBasicClusterExpectSuccess_13(); + ChipLogProgress(chipTool, " ***** Test Step 13 : TH2 reads descriptor cluster - expect UNSUPPORTED_ACCESS\n"); + err = TestTh2ReadsDescriptorClusterExpectUnsupportedAccess_13(); break; case 14: - ChipLogProgress(chipTool, " ***** Test Step 14 : TH1 resets ACL to default\n"); - err = TestTh1ResetsAclToDefault_14(); + ChipLogProgress(chipTool, " ***** Test Step 14 : TH2 reads basic cluster - expect SUCCESS\n"); + err = TestTh2ReadsBasicClusterExpectSuccess_14(); break; case 15: - ChipLogProgress(chipTool, " ***** Test Step 15 : TH1 sends RemoveFabric command for TH2\n"); - err = TestTh1SendsRemoveFabricCommandForTh2_15(); + ChipLogProgress(chipTool, " ***** Test Step 15 : TH1 resets ACL to default\n"); + err = TestTh1ResetsAclToDefault_15(); + break; + case 16: + ChipLogProgress(chipTool, " ***** Test Step 16 : TH1 sends RemoveFabric command for TH2\n"); + err = TestTh1SendsRemoveFabricCommandForTh2_16(); break; } @@ -5700,13 +5705,13 @@ class Test_TC_ACE_1_5 : public TestCommandBridge { VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); break; case 11: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_UNSUPPORTED_ACCESS)); + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); break; case 12: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_UNSUPPORTED_ACCESS)); break; case 13: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_UNSUPPORTED_ACCESS)); break; case 14: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); @@ -5714,6 +5719,9 @@ class Test_TC_ACE_1_5 : public TestCommandBridge { case 15: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); break; + case 16: + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); + break; } // Go on to the next test. @@ -5727,13 +5735,14 @@ class Test_TC_ACE_1_5 : public TestCommandBridge { private: std::atomic_uint16_t mTestIndex; - const uint16_t mTestCount = 16; + const uint16_t mTestCount = 17; chip::Optional mNodeId; chip::Optional mCluster; chip::Optional mEndpoint; chip::Optional mPayload; chip::Optional mDiscriminator; + chip::Optional mWaitAfterCommissioning; chip::Optional mPakeVerifier; chip::Optional mTimeout; @@ -5805,7 +5814,15 @@ class Test_TC_ACE_1_5 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestCommissionFromTh2_3() + CHIP_ERROR TestWaitingAfterOpeningCommissioningWindow_3() + { + + chip::app::Clusters::DelayCommands::Commands::WaitForMs::Type value; + value.ms = mWaitAfterCommissioning.HasValue() ? mWaitAfterCommissioning.Value() : 5000UL; + return WaitForMs("alpha", value); + } + + CHIP_ERROR TestCommissionFromTh2_4() { chip::app::Clusters::CommissionerCommands::Commands::PairWithCode::Type value; @@ -5814,7 +5831,7 @@ class Test_TC_ACE_1_5 : public TestCommandBridge { return PairWithCode("beta", value); } - CHIP_ERROR TestWaitForTheCommissionedDeviceToBeRetrievedForTh2_4() + CHIP_ERROR TestWaitForTheCommissionedDeviceToBeRetrievedForTh2_5() { chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; @@ -5823,7 +5840,7 @@ class Test_TC_ACE_1_5 : public TestCommandBridge { } NSNumber * _Nonnull th2FabricIndex; - CHIP_ERROR TestTh2ReadsTheFabricIndex_5() + CHIP_ERROR TestTh2ReadsTheFabricIndex_6() { MTRBaseDevice * device = GetDevice("beta"); @@ -5848,7 +5865,7 @@ class Test_TC_ACE_1_5 : public TestCommandBridge { } NSNumber * _Nonnull commissionerNodeIdAlpha; - CHIP_ERROR TestReadTheCommissionerNodeIdFromTheAlphaFabric_6() + CHIP_ERROR TestReadTheCommissionerNodeIdFromTheAlphaFabric_7() { chip::app::Clusters::CommissionerCommands::Commands::GetCommissionerNodeId::Type value; @@ -5860,7 +5877,7 @@ class Test_TC_ACE_1_5 : public TestCommandBridge { }); } - CHIP_ERROR TestTh1WritesAclGivingViewPrivilegeForDescriptorCluster_7() + CHIP_ERROR TestTh1WritesAclGivingViewPrivilegeForDescriptorCluster_8() { MTRBaseDevice * device = GetDevice("alpha"); @@ -5919,7 +5936,7 @@ class Test_TC_ACE_1_5 : public TestCommandBridge { } NSNumber * _Nonnull commissionerNodeIdBeta; - CHIP_ERROR TestReadTheCommissionerNodeIdFromTheBetaFabric_8() + CHIP_ERROR TestReadTheCommissionerNodeIdFromTheBetaFabric_9() { chip::app::Clusters::CommissionerCommands::Commands::GetCommissionerNodeId::Type value; @@ -5931,7 +5948,7 @@ class Test_TC_ACE_1_5 : public TestCommandBridge { }); } - CHIP_ERROR TestTh2WritesAclGivingViewPrivilgeForBasicCluster_9() + CHIP_ERROR TestTh2WritesAclGivingViewPrivilgeForBasicCluster_10() { MTRBaseDevice * device = GetDevice("beta"); @@ -5989,7 +6006,7 @@ class Test_TC_ACE_1_5 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestTh1ReadsDescriptorClusterExpectSuccess_10() + CHIP_ERROR TestTh1ReadsDescriptorClusterExpectSuccess_11() { MTRBaseDevice * device = GetDevice("alpha"); @@ -6007,7 +6024,7 @@ class Test_TC_ACE_1_5 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestTh1ReadsBasicClusterExpectUnsupportedAccess_11() + CHIP_ERROR TestTh1ReadsBasicClusterExpectUnsupportedAccess_12() { MTRBaseDevice * device = GetDevice("alpha"); @@ -6026,7 +6043,7 @@ class Test_TC_ACE_1_5 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestTh2ReadsDescriptorClusterExpectUnsupportedAccess_12() + CHIP_ERROR TestTh2ReadsDescriptorClusterExpectUnsupportedAccess_13() { MTRBaseDevice * device = GetDevice("beta"); @@ -6045,7 +6062,7 @@ class Test_TC_ACE_1_5 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestTh2ReadsBasicClusterExpectSuccess_13() + CHIP_ERROR TestTh2ReadsBasicClusterExpectSuccess_14() { MTRBaseDevice * device = GetDevice("beta"); @@ -6063,7 +6080,7 @@ class Test_TC_ACE_1_5 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestTh1ResetsAclToDefault_14() + CHIP_ERROR TestTh1ResetsAclToDefault_15() { MTRBaseDevice * device = GetDevice("alpha"); @@ -6098,7 +6115,7 @@ class Test_TC_ACE_1_5 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestTh1SendsRemoveFabricCommandForTh2_15() + CHIP_ERROR TestTh1SendsRemoveFabricCommandForTh2_16() { MTRBaseDevice * device = GetDevice("alpha"); @@ -24851,7 +24868,7 @@ class Test_TC_DGETH_2_2 : public TestCommandBridge { break; case 17: ChipLogProgress(chipTool, " ***** Test Step 17 : TH reads PacketRxCount attribute value from DUT\n"); - if (ShouldSkip("DGETH.S.A0002")) { + if (ShouldSkip("DGETH.S.A0002 && PICS_SKIP_SAMPLE_APP")) { NextTest(); return; } @@ -24859,7 +24876,7 @@ class Test_TC_DGETH_2_2 : public TestCommandBridge { break; case 18: ChipLogProgress(chipTool, " ***** Test Step 18 : TH reads PacketTxCount attribute value from DUT\n"); - if (ShouldSkip("DGETH.S.A0003")) { + if (ShouldSkip("DGETH.S.A0003 && PICS_SKIP_SAMPLE_APP")) { NextTest(); return; } @@ -25412,45 +25429,21 @@ class Test_TC_DGETH_2_2 : public TestCommandBridge { CHIP_ERROR TestThReadsPacketRxCountAttributeValueFromDut_17() { - MTRBaseDevice * device = GetDevice("alpha"); - __auto_type * cluster = [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device - endpointID:@(0) - queue:mCallbackQueue]; - VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); - - [cluster readAttributePacketRxCountWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { - NSLog(@"TH reads PacketRxCount attribute value from DUT Error: %@", err); - - VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); - - VerifyOrReturn(CheckConstraintMaxValue("packetRxCount", [value unsignedLongLongValue], PacketRxCount)); - - NextTest(); - }]; - - return CHIP_NO_ERROR; + chip::app::Clusters::LogCommands::Commands::UserPrompt::Type value; + value.message = chip::Span("Enter 'y' after successgarbage: not in length on purpose", 23); + value.expectedValue.Emplace(); + value.expectedValue.Value() = chip::Span("ygarbage: not in length on purpose", 1); + return UserPrompt("alpha", value); } CHIP_ERROR TestThReadsPacketTxCountAttributeValueFromDut_18() { - MTRBaseDevice * device = GetDevice("alpha"); - __auto_type * cluster = [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device - endpointID:@(0) - queue:mCallbackQueue]; - VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); - - [cluster readAttributePacketTxCountWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { - NSLog(@"TH reads PacketTxCount attribute value from DUT Error: %@", err); - - VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); - - VerifyOrReturn(CheckConstraintMaxValue("packetTxCount", [value unsignedLongLongValue], PacketTxCount)); - - NextTest(); - }]; - - return CHIP_NO_ERROR; + chip::app::Clusters::LogCommands::Commands::UserPrompt::Type value; + value.message = chip::Span("Enter 'y' after successgarbage: not in length on purpose", 23); + value.expectedValue.Emplace(); + value.expectedValue.Value() = chip::Span("ygarbage: not in length on purpose", 1); + return UserPrompt("alpha", value); } CHIP_ERROR TestThReadsTxErrCountAttributeValueFromDut_19() diff --git a/zzz_generated/placeholder/app1/zap-generated/test/Commands.h b/zzz_generated/placeholder/app1/zap-generated/test/Commands.h index 674574a3b1b3c7..4e02f06118f737 100644 --- a/zzz_generated/placeholder/app1/zap-generated/test/Commands.h +++ b/zzz_generated/placeholder/app1/zap-generated/test/Commands.h @@ -26,7 +26,7 @@ class Test_TC_BINFO_2_3_SimulatedSuite : public TestCommand { public: - Test_TC_BINFO_2_3_SimulatedSuite() : TestCommand("Test_TC_BINFO_2_3_Simulated", 22) + Test_TC_BINFO_2_3_SimulatedSuite() : TestCommand("Test_TC_BINFO_2_3_Simulated", 21) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -58,10 +58,6 @@ class Test_TC_BINFO_2_3_SimulatedSuite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); shouldContinue = true; break; - case 1: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); - shouldContinue = true; - break; default: LogErrorOnFailure(ContinueOnChipMainThread(CHIP_ERROR_INVALID_ARGUMENT)); } @@ -78,115 +74,109 @@ class Test_TC_BINFO_2_3_SimulatedSuite : public TestCommand switch (testIndex) { case 0: { - LogStep(0, "Wait for the device to be commissioned"); - ListFreer listFreer; - chip::app::Clusters::DelayCommands::Commands::WaitForCommissioning::Type value; - return WaitForCommissioning(kIdentityAlpha, value); - } - case 1: { - LogStep(1, "Log OnOff Test Startup"); + LogStep(0, "Log OnOff Test Startup"); ListFreer listFreer; chip::app::Clusters::LogCommands::Commands::Log::Type value; value.message = chip::Span("*** Basic Cluster Tests Readygarbage: not in length on purpose", 29); return Log(kIdentityAlpha, value); } - case 2: { - LogStep(2, "DUT reads DataModelRevision from the TH"); + case 1: { + LogStep(1, "DUT reads DataModelRevision from the TH"); VerifyOrDo(!ShouldSkip("BINFO.C.A0000"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), BasicInformation::Id, BasicInformation::Attributes::DataModelRevision::Id); } - case 3: { - LogStep(3, "DUT reads VendorName from the TH"); + case 2: { + LogStep(2, "DUT reads VendorName from the TH"); VerifyOrDo(!ShouldSkip("BINFO.C.A0001"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), BasicInformation::Id, BasicInformation::Attributes::VendorName::Id); } - case 4: { - LogStep(4, "DUT reads VendorID from the TH"); + case 3: { + LogStep(3, "DUT reads VendorID from the TH"); VerifyOrDo(!ShouldSkip("BINFO.C.A0002"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), BasicInformation::Id, BasicInformation::Attributes::VendorID::Id); } - case 5: { - LogStep(5, "DUT reads ProductName from the TH"); + case 4: { + LogStep(4, "DUT reads ProductName from the TH"); VerifyOrDo(!ShouldSkip("BINFO.C.A0003"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), BasicInformation::Id, BasicInformation::Attributes::ProductName::Id); } - case 6: { - LogStep(6, "DUT reads ProductID from the TH"); + case 5: { + LogStep(5, "DUT reads ProductID from the TH"); VerifyOrDo(!ShouldSkip("BINFO.C.A0004"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), BasicInformation::Id, BasicInformation::Attributes::ProductID::Id); } - case 7: { - LogStep(7, "DUT reads NodeLabel from the TH"); + case 6: { + LogStep(6, "DUT reads NodeLabel from the TH"); VerifyOrDo(!ShouldSkip("BINFO.C.A0005"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), BasicInformation::Id, BasicInformation::Attributes::NodeLabel::Id); } - case 8: { - LogStep(8, "DUT reads Location from the TH"); + case 7: { + LogStep(7, "DUT reads Location from the TH"); VerifyOrDo(!ShouldSkip("BINFO.C.A0006"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), BasicInformation::Id, BasicInformation::Attributes::Location::Id); } - case 9: { - LogStep(9, "DUT reads HardwareVersion from the TH"); + case 8: { + LogStep(8, "DUT reads HardwareVersion from the TH"); VerifyOrDo(!ShouldSkip("BINFO.C.A0007"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), BasicInformation::Id, BasicInformation::Attributes::HardwareVersion::Id); } - case 10: { - LogStep(10, "DUT reads HardwareVersionString from the TH"); + case 9: { + LogStep(9, "DUT reads HardwareVersionString from the TH"); VerifyOrDo(!ShouldSkip("BINFO.C.A0008"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), BasicInformation::Id, BasicInformation::Attributes::HardwareVersionString::Id); } - case 11: { - LogStep(11, "DUT reads SoftwareVersion from the TH"); + case 10: { + LogStep(10, "DUT reads SoftwareVersion from the TH"); VerifyOrDo(!ShouldSkip("BINFO.C.A0009"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), BasicInformation::Id, BasicInformation::Attributes::SoftwareVersion::Id); } - case 12: { - LogStep(12, "DUT reads SoftwareVersionString from the TH"); + case 11: { + LogStep(11, "DUT reads SoftwareVersionString from the TH"); VerifyOrDo(!ShouldSkip("BINFO.C.A000a"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), BasicInformation::Id, BasicInformation::Attributes::SoftwareVersionString::Id); } - case 13: { - LogStep(13, "DUT reads ManufacturingDate from the TH"); + case 12: { + LogStep(12, "DUT reads ManufacturingDate from the TH"); VerifyOrDo(!ShouldSkip("BINFO.C.A000b"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), BasicInformation::Id, BasicInformation::Attributes::ManufacturingDate::Id); } - case 14: { - LogStep(14, "DUT reads PartNumber from the TH"); + case 13: { + LogStep(13, "DUT reads PartNumber from the TH"); VerifyOrDo(!ShouldSkip("BINFO.C.A000c"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), BasicInformation::Id, BasicInformation::Attributes::PartNumber::Id); } - case 15: { - LogStep(15, "DUT reads ProductURL from the TH"); + case 14: { + LogStep(14, "DUT reads ProductURL from the TH"); VerifyOrDo(!ShouldSkip("BINFO.C.A000d"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), BasicInformation::Id, BasicInformation::Attributes::ProductURL::Id); } - case 16: { - LogStep(16, "DUT reads ProductLabel from the TH"); + case 15: { + LogStep(15, "DUT reads ProductLabel from the TH"); VerifyOrDo(!ShouldSkip("BINFO.C.A000e"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), BasicInformation::Id, BasicInformation::Attributes::ProductLabel::Id); } - case 17: { - LogStep(17, "DUT reads SerialNumber from the TH"); + case 16: { + LogStep(16, "DUT reads SerialNumber from the TH"); VerifyOrDo(!ShouldSkip("BINFO.C.A000f"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), BasicInformation::Id, BasicInformation::Attributes::SerialNumber::Id); } - case 18: { - LogStep(18, "DUT reads LocalConfigDisabled from the TH"); + case 17: { + LogStep(17, "DUT reads LocalConfigDisabled from the TH"); VerifyOrDo(!ShouldSkip("BINFO.C.A0010"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), BasicInformation::Id, BasicInformation::Attributes::LocalConfigDisabled::Id); } - case 19: { - LogStep(19, "DUT reads Reachable from the TH"); + case 18: { + LogStep(18, "DUT reads Reachable from the TH"); VerifyOrDo(!ShouldSkip("BINFO.C.A0011"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), BasicInformation::Id, BasicInformation::Attributes::Reachable::Id); } - case 20: { - LogStep(20, "DUT reads UniqueID from the TH"); + case 19: { + LogStep(19, "DUT reads UniqueID from the TH"); VerifyOrDo(!ShouldSkip("BINFO.C.A0012"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), BasicInformation::Id, BasicInformation::Attributes::UniqueID::Id); } - case 21: { - LogStep(21, "DUT reads CapabilityMinima from the TH"); + case 20: { + LogStep(20, "DUT reads CapabilityMinima from the TH"); VerifyOrDo(!ShouldSkip("BINFO.C.A0013"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), BasicInformation::Id, BasicInformation::Attributes::CapabilityMinima::Id); } @@ -198,7 +188,7 @@ class Test_TC_BINFO_2_3_SimulatedSuite : public TestCommand class Test_TC_ACT_3_1_SimulatedSuite : public TestCommand { public: - Test_TC_ACT_3_1_SimulatedSuite() : TestCommand("Test_TC_ACT_3_1_Simulated", 7) + Test_TC_ACT_3_1_SimulatedSuite() : TestCommand("Test_TC_ACT_3_1_Simulated", 6) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -226,7 +216,7 @@ class Test_TC_ACT_3_1_SimulatedSuite : public TestCommand switch (mTestIndex - 1) { - case 0: + case 3: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); shouldContinue = true; break; @@ -238,10 +228,6 @@ class Test_TC_ACT_3_1_SimulatedSuite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); shouldContinue = true; break; - case 6: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); - shouldContinue = true; - break; default: LogErrorOnFailure(ContinueOnChipMainThread(CHIP_ERROR_INVALID_ARGUMENT)); } @@ -258,25 +244,19 @@ class Test_TC_ACT_3_1_SimulatedSuite : public TestCommand switch (testIndex) { case 0: { - LogStep(0, "Wait for the device to be commissioned"); - ListFreer listFreer; - chip::app::Clusters::DelayCommands::Commands::WaitForCommissioning::Type value; - return WaitForCommissioning(kIdentityAlpha, value); - } - case 1: { - LogStep(1, "Read attribute: ActionList"); + LogStep(0, "Read attribute: ActionList"); return WaitAttribute(GetEndpoint(0), Actions::Id, Actions::Attributes::ActionList::Id); } - case 2: { - LogStep(2, "Read attribute: EndpointLists"); + case 1: { + LogStep(1, "Read attribute: EndpointLists"); return WaitAttribute(GetEndpoint(0), Actions::Id, Actions::Attributes::EndpointLists::Id); } - case 3: { - LogStep(3, "Read attribute: SetupURL"); + case 2: { + LogStep(2, "Read attribute: SetupURL"); return WaitAttribute(GetEndpoint(0), Actions::Id, Actions::Attributes::SetupURL::Id); } - case 4: { - LogStep(4, + case 3: { + LogStep(3, "Configure TH such that it implements mandatory and none of the optional attributes of the server-side of the " "cluster, and that it also reflects this in global attributes such as FeatureMap and AttributeList.Commission " "DUT to TH again"); @@ -288,8 +268,8 @@ class Test_TC_ACT_3_1_SimulatedSuite : public TestCommand value.expectedValue.Value() = chip::Span("ygarbage: not in length on purpose", 1); return UserPrompt(kIdentityAlpha, value); } - case 5: { - LogStep(5, "DUT reads all supported optional attributes from TH one at a time in a manufacturer specific order"); + case 4: { + LogStep(4, "DUT reads all supported optional attributes from TH one at a time in a manufacturer specific order"); VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::LogCommands::Commands::UserPrompt::Type value; @@ -298,8 +278,8 @@ class Test_TC_ACT_3_1_SimulatedSuite : public TestCommand value.expectedValue.Value() = chip::Span("ygarbage: not in length on purpose", 1); return UserPrompt(kIdentityAlpha, value); } - case 6: { - LogStep(6, + case 5: { + LogStep(5, "DUT writes a suitable value to all supported optional attributes on the TH one at a time in a manufacturer " "specific order"); VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); @@ -318,7 +298,7 @@ class Test_TC_ACT_3_1_SimulatedSuite : public TestCommand class Test_TC_BOOL_3_1_SimulatedSuite : public TestCommand { public: - Test_TC_BOOL_3_1_SimulatedSuite() : TestCommand("Test_TC_BOOL_3_1_Simulated", 5) + Test_TC_BOOL_3_1_SimulatedSuite() : TestCommand("Test_TC_BOOL_3_1_Simulated", 4) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -346,7 +326,7 @@ class Test_TC_BOOL_3_1_SimulatedSuite : public TestCommand switch (mTestIndex - 1) { - case 0: + case 1: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); shouldContinue = true; break; @@ -358,10 +338,6 @@ class Test_TC_BOOL_3_1_SimulatedSuite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); shouldContinue = true; break; - case 4: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); - shouldContinue = true; - break; default: LogErrorOnFailure(ContinueOnChipMainThread(CHIP_ERROR_INVALID_ARGUMENT)); } @@ -378,17 +354,11 @@ class Test_TC_BOOL_3_1_SimulatedSuite : public TestCommand switch (testIndex) { case 0: { - LogStep(0, "Wait for the device to be commissioned"); - ListFreer listFreer; - chip::app::Clusters::DelayCommands::Commands::WaitForCommissioning::Type value; - return WaitForCommissioning(kIdentityAlpha, value); - } - case 1: { - LogStep(1, "Read attribute: StateValue"); + LogStep(0, "Read attribute: StateValue"); return WaitAttribute(GetEndpoint(0), BooleanState::Id, BooleanState::Attributes::StateValue::Id); } - case 2: { - LogStep(2, + case 1: { + LogStep(1, "Configure TH such that it implements mandatory and none of the optional attributes of the server-side of the " "cluster, and that it also reflects this in global attributes such as FeatureMap and AttributeList.Commission " "DUT to TH again"); @@ -400,8 +370,8 @@ class Test_TC_BOOL_3_1_SimulatedSuite : public TestCommand value.expectedValue.Value() = chip::Span("ygarbage: not in length on purpose", 1); return UserPrompt(kIdentityAlpha, value); } - case 3: { - LogStep(3, "DUT reads all supported optional attributes from TH one at a time in a manufacturer specific order"); + case 2: { + LogStep(2, "DUT reads all supported optional attributes from TH one at a time in a manufacturer specific order"); VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::LogCommands::Commands::UserPrompt::Type value; @@ -410,8 +380,8 @@ class Test_TC_BOOL_3_1_SimulatedSuite : public TestCommand value.expectedValue.Value() = chip::Span("ygarbage: not in length on purpose", 1); return UserPrompt(kIdentityAlpha, value); } - case 4: { - LogStep(4, + case 3: { + LogStep(3, "DUT writes a suitable value to all supported optional attributes on the TH one at a time in a manufacturer " "specific order"); VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); @@ -430,7 +400,7 @@ class Test_TC_BOOL_3_1_SimulatedSuite : public TestCommand class Test_TC_DESC_2_2_SimulatedSuite : public TestCommand { public: - Test_TC_DESC_2_2_SimulatedSuite() : TestCommand("Test_TC_DESC_2_2_Simulated", 5) + Test_TC_DESC_2_2_SimulatedSuite() : TestCommand("Test_TC_DESC_2_2_Simulated", 4) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -458,10 +428,6 @@ class Test_TC_DESC_2_2_SimulatedSuite : public TestCommand switch (mTestIndex - 1) { - case 0: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); - shouldContinue = true; - break; default: LogErrorOnFailure(ContinueOnChipMainThread(CHIP_ERROR_INVALID_ARGUMENT)); } @@ -478,28 +444,22 @@ class Test_TC_DESC_2_2_SimulatedSuite : public TestCommand switch (testIndex) { case 0: { - LogStep(0, "Wait for the device to be commissioned"); - ListFreer listFreer; - chip::app::Clusters::DelayCommands::Commands::WaitForCommissioning::Type value; - return WaitForCommissioning(kIdentityAlpha, value); - } - case 1: { - LogStep(1, "DUT reads DeviceTypeList from TH."); + LogStep(0, "DUT reads DeviceTypeList from TH."); VerifyOrDo(!ShouldSkip("DESC.C.A0000"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), Descriptor::Id, Descriptor::Attributes::DeviceTypeList::Id); } - case 2: { - LogStep(2, "DUT reads ServerList from the TH"); + case 1: { + LogStep(1, "DUT reads ServerList from the TH"); VerifyOrDo(!ShouldSkip("DESC.C.A0001"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), Descriptor::Id, Descriptor::Attributes::ServerList::Id); } - case 3: { - LogStep(3, "DUT reads ClientList attribute from the TH"); + case 2: { + LogStep(2, "DUT reads ClientList attribute from the TH"); VerifyOrDo(!ShouldSkip("DESC.C.A0002"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), Descriptor::Id, Descriptor::Attributes::ClientList::Id); } - case 4: { - LogStep(4, "DUT reads PartsList attribute from the TH"); + case 3: { + LogStep(3, "DUT reads PartsList attribute from the TH"); VerifyOrDo(!ShouldSkip("DESC.C.A0003"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), Descriptor::Id, Descriptor::Attributes::PartsList::Id); } @@ -511,7 +471,7 @@ class Test_TC_DESC_2_2_SimulatedSuite : public TestCommand class Test_TC_DGETH_3_1_SimulatedSuite : public TestCommand { public: - Test_TC_DGETH_3_1_SimulatedSuite() : TestCommand("Test_TC_DGETH_3_1_Simulated", 10) + Test_TC_DGETH_3_1_SimulatedSuite() : TestCommand("Test_TC_DGETH_3_1_Simulated", 9) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -539,10 +499,6 @@ class Test_TC_DGETH_3_1_SimulatedSuite : public TestCommand switch (mTestIndex - 1) { - case 0: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); - shouldContinue = true; - break; default: LogErrorOnFailure(ContinueOnChipMainThread(CHIP_ERROR_INVALID_ARGUMENT)); } @@ -559,61 +515,55 @@ class Test_TC_DGETH_3_1_SimulatedSuite : public TestCommand switch (testIndex) { case 0: { - LogStep(0, "Wait for the device to be commissioned"); - ListFreer listFreer; - chip::app::Clusters::DelayCommands::Commands::WaitForCommissioning::Type value; - return WaitForCommissioning(kIdentityAlpha, value); - } - case 1: { - LogStep(1, "Read attribute: PHYRate"); + LogStep(0, "Read attribute: PHYRate"); VerifyOrDo(!ShouldSkip("DGETH.C.A0000"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), EthernetNetworkDiagnostics::Id, EthernetNetworkDiagnostics::Attributes::PHYRate::Id); } - case 2: { - LogStep(2, "Read attribute: FullDuplex"); + case 1: { + LogStep(1, "Read attribute: FullDuplex"); VerifyOrDo(!ShouldSkip("DGETH.C.A0001"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), EthernetNetworkDiagnostics::Id, EthernetNetworkDiagnostics::Attributes::FullDuplex::Id); } - case 3: { - LogStep(3, "Read attribute: PacketRxCount"); + case 2: { + LogStep(2, "Read attribute: PacketRxCount"); VerifyOrDo(!ShouldSkip("DGETH.C.A0002"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), EthernetNetworkDiagnostics::Id, EthernetNetworkDiagnostics::Attributes::PacketRxCount::Id); } - case 4: { - LogStep(4, "Read attribute: PacketTxCount"); + case 3: { + LogStep(3, "Read attribute: PacketTxCount"); VerifyOrDo(!ShouldSkip("DGETH.C.A0003"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), EthernetNetworkDiagnostics::Id, EthernetNetworkDiagnostics::Attributes::PacketTxCount::Id); } - case 5: { - LogStep(5, "Read attribute: TxErrCount"); + case 4: { + LogStep(4, "Read attribute: TxErrCount"); VerifyOrDo(!ShouldSkip("DGETH.C.A0004"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), EthernetNetworkDiagnostics::Id, EthernetNetworkDiagnostics::Attributes::TxErrCount::Id); } - case 6: { - LogStep(6, "Read attribute: CollisionCount"); + case 5: { + LogStep(5, "Read attribute: CollisionCount"); VerifyOrDo(!ShouldSkip("DGETH.C.A0005"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), EthernetNetworkDiagnostics::Id, EthernetNetworkDiagnostics::Attributes::CollisionCount::Id); } - case 7: { - LogStep(7, "Read attribute: OverrunCount"); + case 6: { + LogStep(6, "Read attribute: OverrunCount"); VerifyOrDo(!ShouldSkip("DGETH.C.A0006"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), EthernetNetworkDiagnostics::Id, EthernetNetworkDiagnostics::Attributes::OverrunCount::Id); } - case 8: { - LogStep(8, "Read attribute: CarrierDetect"); + case 7: { + LogStep(7, "Read attribute: CarrierDetect"); VerifyOrDo(!ShouldSkip("DGETH.C.A0007"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), EthernetNetworkDiagnostics::Id, EthernetNetworkDiagnostics::Attributes::CarrierDetect::Id); } - case 9: { - LogStep(9, "Read attribute: TimeSinceReset"); + case 8: { + LogStep(8, "Read attribute: TimeSinceReset"); VerifyOrDo(!ShouldSkip("DGETH.C.A0008"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), EthernetNetworkDiagnostics::Id, EthernetNetworkDiagnostics::Attributes::TimeSinceReset::Id); @@ -626,7 +576,7 @@ class Test_TC_DGETH_3_1_SimulatedSuite : public TestCommand class Test_TC_DGSW_3_1_SimulatedSuite : public TestCommand { public: - Test_TC_DGSW_3_1_SimulatedSuite() : TestCommand("Test_TC_DGSW_3_1_Simulated", 5) + Test_TC_DGSW_3_1_SimulatedSuite() : TestCommand("Test_TC_DGSW_3_1_Simulated", 4) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -654,10 +604,6 @@ class Test_TC_DGSW_3_1_SimulatedSuite : public TestCommand switch (mTestIndex - 1) { - case 0: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); - shouldContinue = true; - break; default: LogErrorOnFailure(ContinueOnChipMainThread(CHIP_ERROR_INVALID_ARGUMENT)); } @@ -674,28 +620,22 @@ class Test_TC_DGSW_3_1_SimulatedSuite : public TestCommand switch (testIndex) { case 0: { - LogStep(0, "Wait for the device to be commissioned"); - ListFreer listFreer; - chip::app::Clusters::DelayCommands::Commands::WaitForCommissioning::Type value; - return WaitForCommissioning(kIdentityAlpha, value); - } - case 1: { - LogStep(1, "Read attribute: ThreadMetrics"); + LogStep(0, "Read attribute: ThreadMetrics"); VerifyOrDo(!ShouldSkip("DGSW.C.A0000"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), SoftwareDiagnostics::Id, SoftwareDiagnostics::Attributes::ThreadMetrics::Id); } - case 2: { - LogStep(2, "Read attribute: CurrentHeapFree"); + case 1: { + LogStep(1, "Read attribute: CurrentHeapFree"); VerifyOrDo(!ShouldSkip("DGSW.C.A0001"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), SoftwareDiagnostics::Id, SoftwareDiagnostics::Attributes::CurrentHeapFree::Id); } - case 3: { - LogStep(3, "Read attribute: CurrentHeapUsed"); + case 2: { + LogStep(2, "Read attribute: CurrentHeapUsed"); VerifyOrDo(!ShouldSkip("DGSW.C.A0002"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), SoftwareDiagnostics::Id, SoftwareDiagnostics::Attributes::CurrentHeapUsed::Id); } - case 4: { - LogStep(4, "Read attribute: CurrentHeapHighWatermark"); + case 3: { + LogStep(3, "Read attribute: CurrentHeapHighWatermark"); VerifyOrDo(!ShouldSkip("DGSW.C.A0003"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), SoftwareDiagnostics::Id, SoftwareDiagnostics::Attributes::CurrentHeapHighWatermark::Id); @@ -708,7 +648,7 @@ class Test_TC_DGSW_3_1_SimulatedSuite : public TestCommand class Test_TC_DGWIFI_3_1_SimulatedSuite : public TestCommand { public: - Test_TC_DGWIFI_3_1_SimulatedSuite() : TestCommand("Test_TC_DGWIFI_3_1_Simulated", 14) + Test_TC_DGWIFI_3_1_SimulatedSuite() : TestCommand("Test_TC_DGWIFI_3_1_Simulated", 13) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -736,10 +676,6 @@ class Test_TC_DGWIFI_3_1_SimulatedSuite : public TestCommand switch (mTestIndex - 1) { - case 0: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); - shouldContinue = true; - break; default: LogErrorOnFailure(ContinueOnChipMainThread(CHIP_ERROR_INVALID_ARGUMENT)); } @@ -756,79 +692,73 @@ class Test_TC_DGWIFI_3_1_SimulatedSuite : public TestCommand switch (testIndex) { case 0: { - LogStep(0, "Wait for the device to be commissioned"); - ListFreer listFreer; - chip::app::Clusters::DelayCommands::Commands::WaitForCommissioning::Type value; - return WaitForCommissioning(kIdentityAlpha, value); - } - case 1: { - LogStep(1, "Read attribute: BSSID"); + LogStep(0, "Read attribute: BSSID"); VerifyOrDo(!ShouldSkip("DGWIFI.C.A0000"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), WiFiNetworkDiagnostics::Id, WiFiNetworkDiagnostics::Attributes::Bssid::Id); } - case 2: { - LogStep(2, "Read attribute: SecurityType"); + case 1: { + LogStep(1, "Read attribute: SecurityType"); VerifyOrDo(!ShouldSkip("DGWIFI.C.A0001"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), WiFiNetworkDiagnostics::Id, WiFiNetworkDiagnostics::Attributes::SecurityType::Id); } - case 3: { - LogStep(3, "Read attribute: WiFiVersion"); + case 2: { + LogStep(2, "Read attribute: WiFiVersion"); VerifyOrDo(!ShouldSkip("DGWIFI.C.A0002"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), WiFiNetworkDiagnostics::Id, WiFiNetworkDiagnostics::Attributes::WiFiVersion::Id); } - case 4: { - LogStep(4, "Read attribute: ChannelNumber"); + case 3: { + LogStep(3, "Read attribute: ChannelNumber"); VerifyOrDo(!ShouldSkip("DGWIFI.C.A0003"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), WiFiNetworkDiagnostics::Id, WiFiNetworkDiagnostics::Attributes::ChannelNumber::Id); } - case 5: { - LogStep(5, "Read attribute: RSSI"); + case 4: { + LogStep(4, "Read attribute: RSSI"); VerifyOrDo(!ShouldSkip("DGWIFI.C.A0004"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), WiFiNetworkDiagnostics::Id, WiFiNetworkDiagnostics::Attributes::Rssi::Id); } - case 6: { - LogStep(6, "Read attribute: BeaconLostCount"); + case 5: { + LogStep(5, "Read attribute: BeaconLostCount"); VerifyOrDo(!ShouldSkip("DGWIFI.C.A0005"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), WiFiNetworkDiagnostics::Id, WiFiNetworkDiagnostics::Attributes::BeaconLostCount::Id); } - case 7: { - LogStep(7, "Read attribute: BeaconRxCount"); + case 6: { + LogStep(6, "Read attribute: BeaconRxCount"); VerifyOrDo(!ShouldSkip("DGWIFI.C.A0006"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), WiFiNetworkDiagnostics::Id, WiFiNetworkDiagnostics::Attributes::BeaconRxCount::Id); } - case 8: { - LogStep(8, "Read attribute: PacketMulticastRxCount"); + case 7: { + LogStep(7, "Read attribute: PacketMulticastRxCount"); VerifyOrDo(!ShouldSkip("DGWIFI.C.A0007"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), WiFiNetworkDiagnostics::Id, WiFiNetworkDiagnostics::Attributes::PacketMulticastRxCount::Id); } - case 9: { - LogStep(9, "Read attribute: PacketMulticastTxCount"); + case 8: { + LogStep(8, "Read attribute: PacketMulticastTxCount"); VerifyOrDo(!ShouldSkip("DGWIFI.C.A0008"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), WiFiNetworkDiagnostics::Id, WiFiNetworkDiagnostics::Attributes::PacketMulticastTxCount::Id); } - case 10: { - LogStep(10, "Read attribute: PacketUnicastRxCount"); + case 9: { + LogStep(9, "Read attribute: PacketUnicastRxCount"); VerifyOrDo(!ShouldSkip("DGWIFI.C.A0009"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), WiFiNetworkDiagnostics::Id, WiFiNetworkDiagnostics::Attributes::PacketUnicastRxCount::Id); } - case 11: { - LogStep(11, "Read attribute: PacketUnicastTxCount"); + case 10: { + LogStep(10, "Read attribute: PacketUnicastTxCount"); VerifyOrDo(!ShouldSkip("DGWIFI.C.A000a"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), WiFiNetworkDiagnostics::Id, WiFiNetworkDiagnostics::Attributes::PacketUnicastTxCount::Id); } - case 12: { - LogStep(12, "Read attribute: CurrentMaxRate"); + case 11: { + LogStep(11, "Read attribute: CurrentMaxRate"); VerifyOrDo(!ShouldSkip("DGWIFI.C.A000b"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), WiFiNetworkDiagnostics::Id, WiFiNetworkDiagnostics::Attributes::CurrentMaxRate::Id); } - case 13: { - LogStep(13, "Read attribute: OverrunCount"); + case 12: { + LogStep(12, "Read attribute: OverrunCount"); VerifyOrDo(!ShouldSkip("DGWIFI.C.A000c"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), WiFiNetworkDiagnostics::Id, WiFiNetworkDiagnostics::Attributes::OverrunCount::Id); } @@ -840,7 +770,7 @@ class Test_TC_DGWIFI_3_1_SimulatedSuite : public TestCommand class Test_TC_FLW_3_1_SimulatedSuite : public TestCommand { public: - Test_TC_FLW_3_1_SimulatedSuite() : TestCommand("Test_TC_FLW_3_1_Simulated", 8) + Test_TC_FLW_3_1_SimulatedSuite() : TestCommand("Test_TC_FLW_3_1_Simulated", 7) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -868,7 +798,7 @@ class Test_TC_FLW_3_1_SimulatedSuite : public TestCommand switch (mTestIndex - 1) { - case 0: + case 4: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); shouldContinue = true; break; @@ -880,10 +810,6 @@ class Test_TC_FLW_3_1_SimulatedSuite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); shouldContinue = true; break; - case 7: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); - shouldContinue = true; - break; default: LogErrorOnFailure(ContinueOnChipMainThread(CHIP_ERROR_INVALID_ARGUMENT)); } @@ -900,29 +826,23 @@ class Test_TC_FLW_3_1_SimulatedSuite : public TestCommand switch (testIndex) { case 0: { - LogStep(0, "Wait for the device to be commissioned"); - ListFreer listFreer; - chip::app::Clusters::DelayCommands::Commands::WaitForCommissioning::Type value; - return WaitForCommissioning(kIdentityAlpha, value); - } - case 1: { - LogStep(1, "Read attribute: MeasuredValue"); + LogStep(0, "Read attribute: MeasuredValue"); return WaitAttribute(GetEndpoint(0), FlowMeasurement::Id, FlowMeasurement::Attributes::MeasuredValue::Id); } - case 2: { - LogStep(2, "Read attribute: MinMeasuredValue"); + case 1: { + LogStep(1, "Read attribute: MinMeasuredValue"); return WaitAttribute(GetEndpoint(0), FlowMeasurement::Id, FlowMeasurement::Attributes::MinMeasuredValue::Id); } - case 3: { - LogStep(3, "Read attribute: MaxMeasuredValue"); + case 2: { + LogStep(2, "Read attribute: MaxMeasuredValue"); return WaitAttribute(GetEndpoint(0), FlowMeasurement::Id, FlowMeasurement::Attributes::MaxMeasuredValue::Id); } - case 4: { - LogStep(4, "Read attribute: Tolerance"); + case 3: { + LogStep(3, "Read attribute: Tolerance"); return WaitAttribute(GetEndpoint(0), FlowMeasurement::Id, FlowMeasurement::Attributes::Tolerance::Id); } - case 5: { - LogStep(5, + case 4: { + LogStep(4, "Configure TH such that it implements mandatory and none of the optional attributes of the server-side of the " "cluster, and that it also reflects this in global attributes such as FeatureMap and AttributeList. Commission " "DUT to TH again."); @@ -934,8 +854,8 @@ class Test_TC_FLW_3_1_SimulatedSuite : public TestCommand value.expectedValue.Value() = chip::Span("ygarbage: not in length on purpose", 1); return UserPrompt(kIdentityAlpha, value); } - case 6: { - LogStep(6, "DUT reads all supported optional attributes from TH one at a time in a manufacturer specific order"); + case 5: { + LogStep(5, "DUT reads all supported optional attributes from TH one at a time in a manufacturer specific order"); VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::LogCommands::Commands::UserPrompt::Type value; @@ -944,8 +864,8 @@ class Test_TC_FLW_3_1_SimulatedSuite : public TestCommand value.expectedValue.Value() = chip::Span("ygarbage: not in length on purpose", 1); return UserPrompt(kIdentityAlpha, value); } - case 7: { - LogStep(7, + case 6: { + LogStep(6, "DUT writes a suitable value to all supported optional attributes on the TH one at a time in a manufacturer " "specific order"); VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); @@ -964,7 +884,7 @@ class Test_TC_FLW_3_1_SimulatedSuite : public TestCommand class Test_TC_G_3_1_SimulatedSuite : public TestCommand { public: - Test_TC_G_3_1_SimulatedSuite() : TestCommand("Test_TC_G_3_1_Simulated", 2) + Test_TC_G_3_1_SimulatedSuite() : TestCommand("Test_TC_G_3_1_Simulated", 1) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -992,10 +912,6 @@ class Test_TC_G_3_1_SimulatedSuite : public TestCommand switch (mTestIndex - 1) { - case 0: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); - shouldContinue = true; - break; default: LogErrorOnFailure(ContinueOnChipMainThread(CHIP_ERROR_INVALID_ARGUMENT)); } @@ -1012,13 +928,7 @@ class Test_TC_G_3_1_SimulatedSuite : public TestCommand switch (testIndex) { case 0: { - LogStep(0, "Wait for the device to be commissioned"); - ListFreer listFreer; - chip::app::Clusters::DelayCommands::Commands::WaitForCommissioning::Type value; - return WaitForCommissioning(kIdentityAlpha, value); - } - case 1: { - LogStep(1, "DUT reads NameSupport attribute value from TH"); + LogStep(0, "DUT reads NameSupport attribute value from TH"); VerifyOrDo(!ShouldSkip("G.C.A0000"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(1), Groups::Id, Groups::Attributes::NameSupport::Id); } @@ -1030,7 +940,7 @@ class Test_TC_G_3_1_SimulatedSuite : public TestCommand class Test_TC_I_3_1_SimulatedSuite : public TestCommand { public: - Test_TC_I_3_1_SimulatedSuite() : TestCommand("Test_TC_I_3_1_Simulated", 8) + Test_TC_I_3_1_SimulatedSuite() : TestCommand("Test_TC_I_3_1_Simulated", 7) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -1058,7 +968,7 @@ class Test_TC_I_3_1_SimulatedSuite : public TestCommand switch (mTestIndex - 1) { - case 0: + case 4: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); shouldContinue = true; break; @@ -1070,10 +980,6 @@ class Test_TC_I_3_1_SimulatedSuite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); shouldContinue = true; break; - case 7: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); - shouldContinue = true; - break; default: LogErrorOnFailure(ContinueOnChipMainThread(CHIP_ERROR_INVALID_ARGUMENT)); } @@ -1090,29 +996,23 @@ class Test_TC_I_3_1_SimulatedSuite : public TestCommand switch (testIndex) { case 0: { - LogStep(0, "Wait for the device to be commissioned"); - ListFreer listFreer; - chip::app::Clusters::DelayCommands::Commands::WaitForCommissioning::Type value; - return WaitForCommissioning(kIdentityAlpha, value); + LogStep(0, "Read attribute: IdentifyTime"); + return WaitAttribute(GetEndpoint(1), Identify::Id, Identify::Attributes::IdentifyTime::Id); } case 1: { - LogStep(1, "Read attribute: IdentifyTime"); + LogStep(1, "write attribute: IdentifyTime"); return WaitAttribute(GetEndpoint(1), Identify::Id, Identify::Attributes::IdentifyTime::Id); } case 2: { - LogStep(2, "write attribute: IdentifyTime"); + LogStep(2, "Readback attribute: IdentifyTime"); return WaitAttribute(GetEndpoint(1), Identify::Id, Identify::Attributes::IdentifyTime::Id); } case 3: { - LogStep(3, "Readback attribute: IdentifyTime"); - return WaitAttribute(GetEndpoint(1), Identify::Id, Identify::Attributes::IdentifyTime::Id); - } - case 4: { - LogStep(4, "Read attribute: identifytype"); + LogStep(3, "Read attribute: identifytype"); return WaitAttribute(GetEndpoint(1), Identify::Id, Identify::Attributes::IdentifyType::Id); } - case 5: { - LogStep(5, + case 4: { + LogStep(4, "Configure TH such that it implements mandatory and none of the optional attributes of the server-side of the " "cluster, and that it also reflects this in global attributes such as FeatureMap and AttributeList.Commission " "DUT to TH again"); @@ -1124,8 +1024,8 @@ class Test_TC_I_3_1_SimulatedSuite : public TestCommand value.expectedValue.Value() = chip::Span("ygarbage: not in length on purpose", 1); return UserPrompt(kIdentityAlpha, value); } - case 6: { - LogStep(6, "DUT reads all supported optional attributes from TH one at a time in a manufacturer specific order"); + case 5: { + LogStep(5, "DUT reads all supported optional attributes from TH one at a time in a manufacturer specific order"); VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::LogCommands::Commands::UserPrompt::Type value; @@ -1134,8 +1034,8 @@ class Test_TC_I_3_1_SimulatedSuite : public TestCommand value.expectedValue.Value() = chip::Span("ygarbage: not in length on purpose", 1); return UserPrompt(kIdentityAlpha, value); } - case 7: { - LogStep(7, + case 6: { + LogStep(6, "DUT writes a suitable value to all supported optional attributes on the TH one at a time in a manufacturer " "specific order"); VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); @@ -1154,7 +1054,7 @@ class Test_TC_I_3_1_SimulatedSuite : public TestCommand class Test_TC_PRS_3_1_SimulatedSuite : public TestCommand { public: - Test_TC_PRS_3_1_SimulatedSuite() : TestCommand("Test_TC_PRS_3_1_Simulated", 13) + Test_TC_PRS_3_1_SimulatedSuite() : TestCommand("Test_TC_PRS_3_1_Simulated", 12) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -1182,7 +1082,7 @@ class Test_TC_PRS_3_1_SimulatedSuite : public TestCommand switch (mTestIndex - 1) { - case 0: + case 9: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); shouldContinue = true; break; @@ -1194,10 +1094,6 @@ class Test_TC_PRS_3_1_SimulatedSuite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); shouldContinue = true; break; - case 12: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); - shouldContinue = true; - break; default: LogErrorOnFailure(ContinueOnChipMainThread(CHIP_ERROR_INVALID_ARGUMENT)); } @@ -1214,49 +1110,43 @@ class Test_TC_PRS_3_1_SimulatedSuite : public TestCommand switch (testIndex) { case 0: { - LogStep(0, "Wait for the device to be commissioned"); - ListFreer listFreer; - chip::app::Clusters::DelayCommands::Commands::WaitForCommissioning::Type value; - return WaitForCommissioning(kIdentityAlpha, value); - } - case 1: { - LogStep(1, "Read attribute: MeasuredValue"); + LogStep(0, "Read attribute: MeasuredValue"); return WaitAttribute(GetEndpoint(0), PressureMeasurement::Id, PressureMeasurement::Attributes::MeasuredValue::Id); } - case 2: { - LogStep(2, "Read attribute: MinMeasuredValue"); + case 1: { + LogStep(1, "Read attribute: MinMeasuredValue"); return WaitAttribute(GetEndpoint(0), PressureMeasurement::Id, PressureMeasurement::Attributes::MinMeasuredValue::Id); } - case 3: { - LogStep(3, "Read attribute: MaxMeasuredValue"); + case 2: { + LogStep(2, "Read attribute: MaxMeasuredValue"); return WaitAttribute(GetEndpoint(0), PressureMeasurement::Id, PressureMeasurement::Attributes::MaxMeasuredValue::Id); } - case 4: { - LogStep(4, "Read attribute: Tolerance"); + case 3: { + LogStep(3, "Read attribute: Tolerance"); return WaitAttribute(GetEndpoint(0), PressureMeasurement::Id, PressureMeasurement::Attributes::Tolerance::Id); } - case 5: { - LogStep(5, "Read attribute: ScaledValue"); + case 4: { + LogStep(4, "Read attribute: ScaledValue"); return WaitAttribute(GetEndpoint(0), PressureMeasurement::Id, PressureMeasurement::Attributes::ScaledValue::Id); } - case 6: { - LogStep(6, "Read attribute: MinScaledValue"); + case 5: { + LogStep(5, "Read attribute: MinScaledValue"); return WaitAttribute(GetEndpoint(0), PressureMeasurement::Id, PressureMeasurement::Attributes::MinScaledValue::Id); } - case 7: { - LogStep(7, "Read attribute: MaxScaledValue"); + case 6: { + LogStep(6, "Read attribute: MaxScaledValue"); return WaitAttribute(GetEndpoint(0), PressureMeasurement::Id, PressureMeasurement::Attributes::MaxScaledValue::Id); } - case 8: { - LogStep(8, "Read attribute: ScaledTolerance"); + case 7: { + LogStep(7, "Read attribute: ScaledTolerance"); return WaitAttribute(GetEndpoint(0), PressureMeasurement::Id, PressureMeasurement::Attributes::ScaledTolerance::Id); } - case 9: { - LogStep(9, "Read attribute: Scale"); + case 8: { + LogStep(8, "Read attribute: Scale"); return WaitAttribute(GetEndpoint(0), PressureMeasurement::Id, PressureMeasurement::Attributes::Scale::Id); } - case 10: { - LogStep(10, + case 9: { + LogStep(9, "Configure TH such that it implements mandatory and none of the optional attributes of the server-side of the " "cluster, and that it also reflects this in global attributes such as FeatureMap and AttributeList.Commission " "DUT to TH again."); @@ -1268,8 +1158,8 @@ class Test_TC_PRS_3_1_SimulatedSuite : public TestCommand value.expectedValue.Value() = chip::Span("ygarbage: not in length on purpose", 1); return UserPrompt(kIdentityAlpha, value); } - case 11: { - LogStep(11, "DUT reads all supported optional attributes from TH one at a time in a manufacturer specific order"); + case 10: { + LogStep(10, "DUT reads all supported optional attributes from TH one at a time in a manufacturer specific order"); VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::LogCommands::Commands::UserPrompt::Type value; @@ -1278,8 +1168,8 @@ class Test_TC_PRS_3_1_SimulatedSuite : public TestCommand value.expectedValue.Value() = chip::Span("ygarbage: not in length on purpose", 1); return UserPrompt(kIdentityAlpha, value); } - case 12: { - LogStep(12, + case 11: { + LogStep(11, "DUT writes a suitable value to all supported optional attributes on the TH one at a time in a manufacturer " "specific order"); VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); @@ -1298,7 +1188,7 @@ class Test_TC_PRS_3_1_SimulatedSuite : public TestCommand class Test_TC_PS_3_1_SimulatedSuite : public TestCommand { public: - Test_TC_PS_3_1_SimulatedSuite() : TestCommand("Test_TC_PS_3_1_Simulated", 32) + Test_TC_PS_3_1_SimulatedSuite() : TestCommand("Test_TC_PS_3_1_Simulated", 31) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -1326,10 +1216,6 @@ class Test_TC_PS_3_1_SimulatedSuite : public TestCommand switch (mTestIndex - 1) { - case 0: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); - shouldContinue = true; - break; default: LogErrorOnFailure(ContinueOnChipMainThread(CHIP_ERROR_INVALID_ARGUMENT)); } @@ -1346,133 +1232,127 @@ class Test_TC_PS_3_1_SimulatedSuite : public TestCommand switch (testIndex) { case 0: { - LogStep(0, "Wait for the device to be commissioned"); - ListFreer listFreer; - chip::app::Clusters::DelayCommands::Commands::WaitForCommissioning::Type value; - return WaitForCommissioning(kIdentityAlpha, value); - } - case 1: { - LogStep(1, "Read attribute: Status"); + LogStep(0, "Read attribute: Status"); return WaitAttribute(GetEndpoint(0), PowerSource::Id, PowerSource::Attributes::Status::Id); } - case 2: { - LogStep(2, "Read attribute: Order"); + case 1: { + LogStep(1, "Read attribute: Order"); return WaitAttribute(GetEndpoint(0), PowerSource::Id, PowerSource::Attributes::Order::Id); } - case 3: { - LogStep(3, "Read attribute: Description"); + case 2: { + LogStep(2, "Read attribute: Description"); return WaitAttribute(GetEndpoint(0), PowerSource::Id, PowerSource::Attributes::Description::Id); } - case 4: { - LogStep(4, "Read attribute: WiredAssessedInputVoltage"); + case 3: { + LogStep(3, "Read attribute: WiredAssessedInputVoltage"); return WaitAttribute(GetEndpoint(0), PowerSource::Id, PowerSource::Attributes::WiredAssessedInputVoltage::Id); } - case 5: { - LogStep(5, "Read attribute: WiredAssessedInputFrequency"); + case 4: { + LogStep(4, "Read attribute: WiredAssessedInputFrequency"); return WaitAttribute(GetEndpoint(0), PowerSource::Id, PowerSource::Attributes::WiredAssessedInputFrequency::Id); } - case 6: { - LogStep(6, "Read attribute: WiredCurrentType"); + case 5: { + LogStep(5, "Read attribute: WiredCurrentType"); return WaitAttribute(GetEndpoint(0), PowerSource::Id, PowerSource::Attributes::WiredCurrentType::Id); } - case 7: { - LogStep(7, "Read attribute: WiredAssessedCurrent"); + case 6: { + LogStep(6, "Read attribute: WiredAssessedCurrent"); return WaitAttribute(GetEndpoint(0), PowerSource::Id, PowerSource::Attributes::WiredAssessedCurrent::Id); } - case 8: { - LogStep(8, "Read attribute: WiredNominalVoltage"); + case 7: { + LogStep(7, "Read attribute: WiredNominalVoltage"); return WaitAttribute(GetEndpoint(0), PowerSource::Id, PowerSource::Attributes::WiredNominalVoltage::Id); } - case 9: { - LogStep(9, "Read attribute: WiredPresent"); + case 8: { + LogStep(8, "Read attribute: WiredPresent"); return WaitAttribute(GetEndpoint(0), PowerSource::Id, PowerSource::Attributes::WiredPresent::Id); } - case 10: { - LogStep(10, "Read attribute: WiredMaximumCurrent"); + case 9: { + LogStep(9, "Read attribute: WiredMaximumCurrent"); return WaitAttribute(GetEndpoint(0), PowerSource::Id, PowerSource::Attributes::WiredMaximumCurrent::Id); } - case 11: { - LogStep(11, "Read attribute: ActiveWiredFaults"); + case 10: { + LogStep(10, "Read attribute: ActiveWiredFaults"); return WaitAttribute(GetEndpoint(0), PowerSource::Id, PowerSource::Attributes::ActiveWiredFaults::Id); } - case 12: { - LogStep(12, "Read attribute: BatVoltage"); + case 11: { + LogStep(11, "Read attribute: BatVoltage"); return WaitAttribute(GetEndpoint(0), PowerSource::Id, PowerSource::Attributes::BatVoltage::Id); } - case 13: { - LogStep(13, "Read attribute: BatPercentRemaining"); + case 12: { + LogStep(12, "Read attribute: BatPercentRemaining"); return WaitAttribute(GetEndpoint(0), PowerSource::Id, PowerSource::Attributes::BatPercentRemaining::Id); } - case 14: { - LogStep(14, "Read attribute: BatTimeRemaining"); + case 13: { + LogStep(13, "Read attribute: BatTimeRemaining"); return WaitAttribute(GetEndpoint(0), PowerSource::Id, PowerSource::Attributes::BatTimeRemaining::Id); } - case 15: { - LogStep(15, "Read attribute: BatChargeLevel"); + case 14: { + LogStep(14, "Read attribute: BatChargeLevel"); return WaitAttribute(GetEndpoint(0), PowerSource::Id, PowerSource::Attributes::BatChargeLevel::Id); } - case 16: { - LogStep(16, "Read attribute: BatReplacementNeeded"); + case 15: { + LogStep(15, "Read attribute: BatReplacementNeeded"); return WaitAttribute(GetEndpoint(0), PowerSource::Id, PowerSource::Attributes::BatReplacementNeeded::Id); } - case 17: { - LogStep(17, "Read attribute: BatReplaceability"); + case 16: { + LogStep(16, "Read attribute: BatReplaceability"); return WaitAttribute(GetEndpoint(0), PowerSource::Id, PowerSource::Attributes::BatReplaceability::Id); } - case 18: { - LogStep(18, "Read attribute: BatPresent"); + case 17: { + LogStep(17, "Read attribute: BatPresent"); return WaitAttribute(GetEndpoint(0), PowerSource::Id, PowerSource::Attributes::BatPresent::Id); } - case 19: { - LogStep(19, "Read attribute: ActiveBatFaults"); + case 18: { + LogStep(18, "Read attribute: ActiveBatFaults"); return WaitAttribute(GetEndpoint(0), PowerSource::Id, PowerSource::Attributes::ActiveBatFaults::Id); } - case 20: { - LogStep(20, "Read attribute: BatReplacementDescription"); + case 19: { + LogStep(19, "Read attribute: BatReplacementDescription"); return WaitAttribute(GetEndpoint(0), PowerSource::Id, PowerSource::Attributes::BatReplacementDescription::Id); } - case 21: { - LogStep(21, "Read attribute: BatCommonDesignation"); + case 20: { + LogStep(20, "Read attribute: BatCommonDesignation"); return WaitAttribute(GetEndpoint(0), PowerSource::Id, PowerSource::Attributes::BatCommonDesignation::Id); } - case 22: { - LogStep(22, "Read attribute: BatANSIDesignation"); + case 21: { + LogStep(21, "Read attribute: BatANSIDesignation"); return WaitAttribute(GetEndpoint(0), PowerSource::Id, PowerSource::Attributes::BatANSIDesignation::Id); } - case 23: { - LogStep(23, "Read attribute: BatIECDesignation"); + case 22: { + LogStep(22, "Read attribute: BatIECDesignation"); return WaitAttribute(GetEndpoint(0), PowerSource::Id, PowerSource::Attributes::BatIECDesignation::Id); } - case 24: { - LogStep(24, "Read attribute: BatApprovedChemistry"); + case 23: { + LogStep(23, "Read attribute: BatApprovedChemistry"); return WaitAttribute(GetEndpoint(0), PowerSource::Id, PowerSource::Attributes::BatApprovedChemistry::Id); } - case 25: { - LogStep(25, "Read attribute: BatCapacity"); + case 24: { + LogStep(24, "Read attribute: BatCapacity"); return WaitAttribute(GetEndpoint(0), PowerSource::Id, PowerSource::Attributes::BatCapacity::Id); } - case 26: { - LogStep(26, "Read attribute: BatQuantity"); + case 25: { + LogStep(25, "Read attribute: BatQuantity"); return WaitAttribute(GetEndpoint(0), PowerSource::Id, PowerSource::Attributes::BatQuantity::Id); } - case 27: { - LogStep(27, "Read attribute: BatChargeState"); + case 26: { + LogStep(26, "Read attribute: BatChargeState"); return WaitAttribute(GetEndpoint(0), PowerSource::Id, PowerSource::Attributes::BatChargeState::Id); } - case 28: { - LogStep(28, "Read attribute: BatTimeToFullCharge"); + case 27: { + LogStep(27, "Read attribute: BatTimeToFullCharge"); return WaitAttribute(GetEndpoint(0), PowerSource::Id, PowerSource::Attributes::BatTimeToFullCharge::Id); } - case 29: { - LogStep(29, "Read attribute: BatFunctionalWhileCharging"); + case 28: { + LogStep(28, "Read attribute: BatFunctionalWhileCharging"); return WaitAttribute(GetEndpoint(0), PowerSource::Id, PowerSource::Attributes::BatFunctionalWhileCharging::Id); } - case 30: { - LogStep(30, "Read attribute: BatChargingCurrent"); + case 29: { + LogStep(29, "Read attribute: BatChargingCurrent"); return WaitAttribute(GetEndpoint(0), PowerSource::Id, PowerSource::Attributes::BatChargingCurrent::Id); } - case 31: { - LogStep(31, "Read attribute: ActiveBatChargeFaults"); + case 30: { + LogStep(30, "Read attribute: ActiveBatChargeFaults"); return WaitAttribute(GetEndpoint(0), PowerSource::Id, PowerSource::Attributes::ActiveBatChargeFaults::Id); } } @@ -1483,7 +1363,7 @@ class Test_TC_PS_3_1_SimulatedSuite : public TestCommand class Test_TC_PSCFG_3_1_SimulatedSuite : public TestCommand { public: - Test_TC_PSCFG_3_1_SimulatedSuite() : TestCommand("Test_TC_PSCFG_3_1_Simulated", 5) + Test_TC_PSCFG_3_1_SimulatedSuite() : TestCommand("Test_TC_PSCFG_3_1_Simulated", 4) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -1511,7 +1391,7 @@ class Test_TC_PSCFG_3_1_SimulatedSuite : public TestCommand switch (mTestIndex - 1) { - case 0: + case 1: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); shouldContinue = true; break; @@ -1523,10 +1403,6 @@ class Test_TC_PSCFG_3_1_SimulatedSuite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); shouldContinue = true; break; - case 4: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); - shouldContinue = true; - break; default: LogErrorOnFailure(ContinueOnChipMainThread(CHIP_ERROR_INVALID_ARGUMENT)); } @@ -1543,17 +1419,11 @@ class Test_TC_PSCFG_3_1_SimulatedSuite : public TestCommand switch (testIndex) { case 0: { - LogStep(0, "Wait for the device to be commissioned"); - ListFreer listFreer; - chip::app::Clusters::DelayCommands::Commands::WaitForCommissioning::Type value; - return WaitForCommissioning(kIdentityAlpha, value); - } - case 1: { - LogStep(1, "Read attribute: Sources"); + LogStep(0, "Read attribute: Sources"); return WaitAttribute(GetEndpoint(0), PowerSourceConfiguration::Id, PowerSourceConfiguration::Attributes::Sources::Id); } - case 2: { - LogStep(2, + case 1: { + LogStep(1, "Configure TH such that it implements mandatory and none of the optional attributes of the server-side of the " "cluster, and that it also reflects this in global attributes such as FeatureMap and AttributeList. Commission " "DUT to TH again."); @@ -1565,8 +1435,8 @@ class Test_TC_PSCFG_3_1_SimulatedSuite : public TestCommand value.expectedValue.Value() = chip::Span("ygarbage: not in length on purpose", 1); return UserPrompt(kIdentityAlpha, value); } - case 3: { - LogStep(3, "DUT reads all supported optional attributes from TH one at a time in a manufacturer specific order"); + case 2: { + LogStep(2, "DUT reads all supported optional attributes from TH one at a time in a manufacturer specific order"); VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::LogCommands::Commands::UserPrompt::Type value; @@ -1575,8 +1445,8 @@ class Test_TC_PSCFG_3_1_SimulatedSuite : public TestCommand value.expectedValue.Value() = chip::Span("ygarbage: not in length on purpose", 1); return UserPrompt(kIdentityAlpha, value); } - case 4: { - LogStep(4, + case 3: { + LogStep(3, "DUT writes a suitable value to all supported optional attributes on the TH one at a time in a manufacturer " "specific order"); VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); @@ -1595,7 +1465,7 @@ class Test_TC_PSCFG_3_1_SimulatedSuite : public TestCommand class Test_TC_RH_3_1_SimulatedSuite : public TestCommand { public: - Test_TC_RH_3_1_SimulatedSuite() : TestCommand("Test_TC_RH_3_1_Simulated", 8) + Test_TC_RH_3_1_SimulatedSuite() : TestCommand("Test_TC_RH_3_1_Simulated", 7) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -1623,7 +1493,7 @@ class Test_TC_RH_3_1_SimulatedSuite : public TestCommand switch (mTestIndex - 1) { - case 0: + case 4: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); shouldContinue = true; break; @@ -1635,10 +1505,6 @@ class Test_TC_RH_3_1_SimulatedSuite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); shouldContinue = true; break; - case 7: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); - shouldContinue = true; - break; default: LogErrorOnFailure(ContinueOnChipMainThread(CHIP_ERROR_INVALID_ARGUMENT)); } @@ -1655,33 +1521,27 @@ class Test_TC_RH_3_1_SimulatedSuite : public TestCommand switch (testIndex) { case 0: { - LogStep(0, "Wait for the device to be commissioned"); - ListFreer listFreer; - chip::app::Clusters::DelayCommands::Commands::WaitForCommissioning::Type value; - return WaitForCommissioning(kIdentityAlpha, value); - } - case 1: { - LogStep(1, "Read attribute MeasuredValue"); + LogStep(0, "Read attribute MeasuredValue"); return WaitAttribute(GetEndpoint(0), RelativeHumidityMeasurement::Id, RelativeHumidityMeasurement::Attributes::MeasuredValue::Id); } - case 2: { - LogStep(2, "Read attribute MinMeasuredValue"); + case 1: { + LogStep(1, "Read attribute MinMeasuredValue"); return WaitAttribute(GetEndpoint(0), RelativeHumidityMeasurement::Id, RelativeHumidityMeasurement::Attributes::MinMeasuredValue::Id); } - case 3: { - LogStep(3, "Read attribute MaxMeasuredValue"); + case 2: { + LogStep(2, "Read attribute MaxMeasuredValue"); return WaitAttribute(GetEndpoint(0), RelativeHumidityMeasurement::Id, RelativeHumidityMeasurement::Attributes::MaxMeasuredValue::Id); } - case 4: { - LogStep(4, "Read attribute Tolerance"); + case 3: { + LogStep(3, "Read attribute Tolerance"); return WaitAttribute(GetEndpoint(0), RelativeHumidityMeasurement::Id, RelativeHumidityMeasurement::Attributes::Tolerance::Id); } - case 5: { - LogStep(5, + case 4: { + LogStep(4, "Configure TH such that it implements mandatory and none of the optional attributes of the server-side of the " "cluster, and that it also reflects this in global attributes such as FeatureMap and AttributeList.Commission " "DUT to TH again"); @@ -1693,8 +1553,8 @@ class Test_TC_RH_3_1_SimulatedSuite : public TestCommand value.expectedValue.Value() = chip::Span("ygarbage: not in length on purpose", 1); return UserPrompt(kIdentityAlpha, value); } - case 6: { - LogStep(6, "DUT reads all supported optional attributes from TH one at a time in a manufacturer specific order"); + case 5: { + LogStep(5, "DUT reads all supported optional attributes from TH one at a time in a manufacturer specific order"); VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::LogCommands::Commands::UserPrompt::Type value; @@ -1703,8 +1563,8 @@ class Test_TC_RH_3_1_SimulatedSuite : public TestCommand value.expectedValue.Value() = chip::Span("ygarbage: not in length on purpose", 1); return UserPrompt(kIdentityAlpha, value); } - case 7: { - LogStep(7, + case 6: { + LogStep(6, "DUT writes a suitable value to all supported optional attributes on the TH one at a time in a manufacturer " "specific order"); VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); @@ -1723,7 +1583,7 @@ class Test_TC_RH_3_1_SimulatedSuite : public TestCommand class Test_TC_SWTCH_3_1_SimulatedSuite : public TestCommand { public: - Test_TC_SWTCH_3_1_SimulatedSuite() : TestCommand("Test_TC_SWTCH_3_1_Simulated", 7) + Test_TC_SWTCH_3_1_SimulatedSuite() : TestCommand("Test_TC_SWTCH_3_1_Simulated", 6) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -1751,7 +1611,7 @@ class Test_TC_SWTCH_3_1_SimulatedSuite : public TestCommand switch (mTestIndex - 1) { - case 0: + case 3: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); shouldContinue = true; break; @@ -1763,10 +1623,6 @@ class Test_TC_SWTCH_3_1_SimulatedSuite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); shouldContinue = true; break; - case 6: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); - shouldContinue = true; - break; default: LogErrorOnFailure(ContinueOnChipMainThread(CHIP_ERROR_INVALID_ARGUMENT)); } @@ -1783,25 +1639,19 @@ class Test_TC_SWTCH_3_1_SimulatedSuite : public TestCommand switch (testIndex) { case 0: { - LogStep(0, "Wait for the device to be commissioned"); - ListFreer listFreer; - chip::app::Clusters::DelayCommands::Commands::WaitForCommissioning::Type value; - return WaitForCommissioning(kIdentityAlpha, value); - } - case 1: { - LogStep(1, "Read NumberOfPositions attribute"); + LogStep(0, "Read NumberOfPositions attribute"); return WaitAttribute(GetEndpoint(0), Switch::Id, Switch::Attributes::NumberOfPositions::Id); } - case 2: { - LogStep(2, "Read CurrentPosition attribute"); + case 1: { + LogStep(1, "Read CurrentPosition attribute"); return WaitAttribute(GetEndpoint(0), Switch::Id, Switch::Attributes::CurrentPosition::Id); } - case 3: { - LogStep(3, "Read MultiPressMax attribute"); + case 2: { + LogStep(2, "Read MultiPressMax attribute"); return WaitAttribute(GetEndpoint(0), Switch::Id, Switch::Attributes::MultiPressMax::Id); } - case 4: { - LogStep(4, + case 3: { + LogStep(3, "Configure TH such that it implements mandatory and none of the optional attributes of the server-side of the " "cluster, and that it also reflects this in global attributes such as FeatureMap and AttributeList. Commission " "DUT to TH again."); @@ -1813,8 +1663,8 @@ class Test_TC_SWTCH_3_1_SimulatedSuite : public TestCommand value.expectedValue.Value() = chip::Span("ygarbage: not in length on purpose", 1); return UserPrompt(kIdentityAlpha, value); } - case 5: { - LogStep(5, "DUT reads all supported optional attributes from TH one at a time in a manufacturer specific order"); + case 4: { + LogStep(4, "DUT reads all supported optional attributes from TH one at a time in a manufacturer specific order"); VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::LogCommands::Commands::UserPrompt::Type value; @@ -1823,8 +1673,8 @@ class Test_TC_SWTCH_3_1_SimulatedSuite : public TestCommand value.expectedValue.Value() = chip::Span("ygarbage: not in length on purpose", 1); return UserPrompt(kIdentityAlpha, value); } - case 6: { - LogStep(6, + case 5: { + LogStep(5, "DUT writes a suitable value to all supported optional attributes on the TH one at a time in a manufacturer " "specific order"); VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); @@ -1843,7 +1693,7 @@ class Test_TC_SWTCH_3_1_SimulatedSuite : public TestCommand class Test_TC_WNCV_5_1_SimulatedSuite : public TestCommand { public: - Test_TC_WNCV_5_1_SimulatedSuite() : TestCommand("Test_TC_WNCV_5_1_Simulated", 6) + Test_TC_WNCV_5_1_SimulatedSuite() : TestCommand("Test_TC_WNCV_5_1_Simulated", 5) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -1871,10 +1721,6 @@ class Test_TC_WNCV_5_1_SimulatedSuite : public TestCommand switch (mTestIndex - 1) { - case 0: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); - shouldContinue = true; - break; default: LogErrorOnFailure(ContinueOnChipMainThread(CHIP_ERROR_INVALID_ARGUMENT)); } @@ -1891,33 +1737,27 @@ class Test_TC_WNCV_5_1_SimulatedSuite : public TestCommand switch (testIndex) { case 0: { - LogStep(0, "Wait for the device to be commissioned"); - ListFreer listFreer; - chip::app::Clusters::DelayCommands::Commands::WaitForCommissioning::Type value; - return WaitForCommissioning(kIdentityAlpha, value); - } - case 1: { - LogStep(1, "DUT reads the FeatureMap attribute from TH"); + LogStep(0, "DUT reads the FeatureMap attribute from TH"); VerifyOrDo(!ShouldSkip("WNCV.C.Afffc"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), WindowCovering::Id, WindowCovering::Attributes::FeatureMap::Id); } - case 2: { - LogStep(2, "DUT reads the Type attribute from TH"); + case 1: { + LogStep(1, "DUT reads the Type attribute from TH"); VerifyOrDo(!ShouldSkip("WNCV.C.A0000"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), WindowCovering::Id, WindowCovering::Attributes::Type::Id); } - case 3: { - LogStep(3, "DUT reads the EndProductType attribute from TH"); + case 2: { + LogStep(2, "DUT reads the EndProductType attribute from TH"); VerifyOrDo(!ShouldSkip("WNCV.C.A000d"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), WindowCovering::Id, WindowCovering::Attributes::EndProductType::Id); } - case 4: { - LogStep(4, "DUT reads the Mode attribute from TH"); + case 3: { + LogStep(3, "DUT reads the Mode attribute from TH"); VerifyOrDo(!ShouldSkip("WNCV.C.A0017"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), WindowCovering::Id, WindowCovering::Attributes::Mode::Id); } - case 5: { - LogStep(5, "DUT reads the ConfigStatus attribute from TH"); + case 4: { + LogStep(4, "DUT reads the ConfigStatus attribute from TH"); VerifyOrDo(!ShouldSkip("WNCV.C.A0007"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), WindowCovering::Id, WindowCovering::Attributes::ConfigStatus::Id); } @@ -1929,7 +1769,7 @@ class Test_TC_WNCV_5_1_SimulatedSuite : public TestCommand class Test_TC_LCFG_3_1_SimulatedSuite : public TestCommand { public: - Test_TC_LCFG_3_1_SimulatedSuite() : TestCommand("Test_TC_LCFG_3_1_Simulated", 3) + Test_TC_LCFG_3_1_SimulatedSuite() : TestCommand("Test_TC_LCFG_3_1_Simulated", 2) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -1957,10 +1797,6 @@ class Test_TC_LCFG_3_1_SimulatedSuite : public TestCommand switch (mTestIndex - 1) { - case 0: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); - shouldContinue = true; - break; default: LogErrorOnFailure(ContinueOnChipMainThread(CHIP_ERROR_INVALID_ARGUMENT)); } @@ -1977,19 +1813,13 @@ class Test_TC_LCFG_3_1_SimulatedSuite : public TestCommand switch (testIndex) { case 0: { - LogStep(0, "Wait for the device to be commissioned"); - ListFreer listFreer; - chip::app::Clusters::DelayCommands::Commands::WaitForCommissioning::Type value; - return WaitForCommissioning(kIdentityAlpha, value); - } - case 1: { - LogStep(1, "DUT reads SupportedLocales attribute from TH"); + LogStep(0, "DUT reads SupportedLocales attribute from TH"); VerifyOrDo(!ShouldSkip("LCFG.C.A0001"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(1), LocalizationConfiguration::Id, LocalizationConfiguration::Attributes::SupportedLocales::Id); } - case 2: { - LogStep(2, "DUT reads ActiveLocale attribute from TH"); + case 1: { + LogStep(1, "DUT reads ActiveLocale attribute from TH"); VerifyOrDo(!ShouldSkip("LCFG.C.A0000"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(1), LocalizationConfiguration::Id, LocalizationConfiguration::Attributes::ActiveLocale::Id); @@ -2002,7 +1832,7 @@ class Test_TC_LCFG_3_1_SimulatedSuite : public TestCommand class Test_TC_LUNIT_1_1_SimulatedSuite : public TestCommand { public: - Test_TC_LUNIT_1_1_SimulatedSuite() : TestCommand("Test_TC_LUNIT_1_1_Simulated", 6) + Test_TC_LUNIT_1_1_SimulatedSuite() : TestCommand("Test_TC_LUNIT_1_1_Simulated", 5) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -2030,10 +1860,6 @@ class Test_TC_LUNIT_1_1_SimulatedSuite : public TestCommand switch (mTestIndex - 1) { - case 0: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); - shouldContinue = true; - break; default: LogErrorOnFailure(ContinueOnChipMainThread(CHIP_ERROR_INVALID_ARGUMENT)); } @@ -2050,33 +1876,27 @@ class Test_TC_LUNIT_1_1_SimulatedSuite : public TestCommand switch (testIndex) { case 0: { - LogStep(0, "Wait for the device to be commissioned"); - ListFreer listFreer; - chip::app::Clusters::DelayCommands::Commands::WaitForCommissioning::Type value; - return WaitForCommissioning(kIdentityAlpha, value); - } - case 1: { - LogStep(1, "DUT read (0xFFFD) ClusterRevision attribute"); + LogStep(0, "DUT read (0xFFFD) ClusterRevision attribute"); VerifyOrDo(!ShouldSkip("LUNIT.C.Afffd"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(1), UnitLocalization::Id, UnitLocalization::Attributes::ClusterRevision::Id); } - case 2: { - LogStep(2, "DUT read (0xFFFC) FeatureMap attribute"); + case 1: { + LogStep(1, "DUT read (0xFFFC) FeatureMap attribute"); VerifyOrDo(!ShouldSkip("LUNIT.C.Afffc"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(1), UnitLocalization::Id, UnitLocalization::Attributes::FeatureMap::Id); } - case 3: { - LogStep(3, "DUT read (0xFFFB) AttributeList attribute"); + case 2: { + LogStep(2, "DUT read (0xFFFB) AttributeList attribute"); VerifyOrDo(!ShouldSkip("LUNIT.C.Afffb"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(1), UnitLocalization::Id, UnitLocalization::Attributes::AttributeList::Id); } - case 4: { - LogStep(4, "DUT read (0xFFF9) AcceptedCommandList attribute"); + case 3: { + LogStep(3, "DUT read (0xFFF9) AcceptedCommandList attribute"); VerifyOrDo(!ShouldSkip("LUNIT.C.Afff9"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(1), UnitLocalization::Id, UnitLocalization::Attributes::AcceptedCommandList::Id); } - case 5: { - LogStep(5, "DUT read (0xFFF8) GeneratedCommandList attribute"); + case 4: { + LogStep(4, "DUT read (0xFFF8) GeneratedCommandList attribute"); VerifyOrDo(!ShouldSkip("LUNIT.C.Afff8"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(1), UnitLocalization::Id, UnitLocalization::Attributes::GeneratedCommandList::Id); } @@ -2088,7 +1908,7 @@ class Test_TC_LUNIT_1_1_SimulatedSuite : public TestCommand class Test_TC_LUNIT_2_1_SimulatedSuite : public TestCommand { public: - Test_TC_LUNIT_2_1_SimulatedSuite() : TestCommand("Test_TC_LUNIT_2_1_Simulated", 4) + Test_TC_LUNIT_2_1_SimulatedSuite() : TestCommand("Test_TC_LUNIT_2_1_Simulated", 3) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -2116,10 +1936,6 @@ class Test_TC_LUNIT_2_1_SimulatedSuite : public TestCommand switch (mTestIndex - 1) { - case 0: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); - shouldContinue = true; - break; default: LogErrorOnFailure(ContinueOnChipMainThread(CHIP_ERROR_INVALID_ARGUMENT)); } @@ -2136,23 +1952,17 @@ class Test_TC_LUNIT_2_1_SimulatedSuite : public TestCommand switch (testIndex) { case 0: { - LogStep(0, "Wait for the device to be commissioned"); - ListFreer listFreer; - chip::app::Clusters::DelayCommands::Commands::WaitForCommissioning::Type value; - return WaitForCommissioning(kIdentityAlpha, value); - } - case 1: { - LogStep(1, "DUT reads TemperatureUnit attribute from TH"); + LogStep(0, "DUT reads TemperatureUnit attribute from TH"); VerifyOrDo(!ShouldSkip("LUNIT.C.A0000"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(1), UnitLocalization::Id, UnitLocalization::Attributes::TemperatureUnit::Id); } - case 2: { - LogStep(2, "DUT writes 2 to TemperatureUnit attribute on TH"); + case 1: { + LogStep(1, "DUT writes 2 to TemperatureUnit attribute on TH"); VerifyOrDo(!ShouldSkip("LUNIT.C.A0000"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(1), UnitLocalization::Id, UnitLocalization::Attributes::TemperatureUnit::Id); } - case 3: { - LogStep(3, "DUT reads TemperatureUnit attribute from TH"); + case 2: { + LogStep(2, "DUT reads TemperatureUnit attribute from TH"); VerifyOrDo(!ShouldSkip("LUNIT.C.A0000"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(1), UnitLocalization::Id, UnitLocalization::Attributes::TemperatureUnit::Id); } @@ -2164,7 +1974,7 @@ class Test_TC_LUNIT_2_1_SimulatedSuite : public TestCommand class Test_TC_OCC_2_2_SimulatedSuite : public TestCommand { public: - Test_TC_OCC_2_2_SimulatedSuite() : TestCommand("Test_TC_OCC_2_2_Simulated", 13) + Test_TC_OCC_2_2_SimulatedSuite() : TestCommand("Test_TC_OCC_2_2_Simulated", 12) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -2192,10 +2002,6 @@ class Test_TC_OCC_2_2_SimulatedSuite : public TestCommand switch (mTestIndex - 1) { - case 0: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); - shouldContinue = true; - break; default: LogErrorOnFailure(ContinueOnChipMainThread(CHIP_ERROR_INVALID_ARGUMENT)); } @@ -2212,76 +2018,70 @@ class Test_TC_OCC_2_2_SimulatedSuite : public TestCommand switch (testIndex) { case 0: { - LogStep(0, "Wait for the device to be commissioned"); - ListFreer listFreer; - chip::app::Clusters::DelayCommands::Commands::WaitForCommissioning::Type value; - return WaitForCommissioning(kIdentityAlpha, value); - } - case 1: { - LogStep(1, "DUT reads from the TH the (0x0000) Occupancy attribute"); + LogStep(0, "DUT reads from the TH the (0x0000) Occupancy attribute"); VerifyOrDo(!ShouldSkip("OCC.C.A0000"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), OccupancySensing::Id, OccupancySensing::Attributes::Occupancy::Id); } - case 2: { - LogStep(2, "DUT reads from the TH the (0x0001) OccupancySensorType attribute"); + case 1: { + LogStep(1, "DUT reads from the TH the (0x0001) OccupancySensorType attribute"); VerifyOrDo(!ShouldSkip("OCC.C.A0001"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), OccupancySensing::Id, OccupancySensing::Attributes::OccupancySensorType::Id); } - case 3: { - LogStep(3, "DUT reads from the TH the (0x0002) OccupancySensorTypeBitmap attribute"); + case 2: { + LogStep(2, "DUT reads from the TH the (0x0002) OccupancySensorTypeBitmap attribute"); VerifyOrDo(!ShouldSkip("OCC.C.A0002"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), OccupancySensing::Id, OccupancySensing::Attributes::OccupancySensorTypeBitmap::Id); } - case 4: { - LogStep(4, "DUT reads from the TH the (0x0010) PIROccupiedToUnoccupiedDelay optional attribute"); + case 3: { + LogStep(3, "DUT reads from the TH the (0x0010) PIROccupiedToUnoccupiedDelay optional attribute"); VerifyOrDo(!ShouldSkip("OCC.C.A0010"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), OccupancySensing::Id, OccupancySensing::Attributes::PIROccupiedToUnoccupiedDelay::Id); } - case 5: { - LogStep(5, "DUT reads from the TH the (0x0011) PIRUnoccupiedToOccupiedDelay optional attribute"); + case 4: { + LogStep(4, "DUT reads from the TH the (0x0011) PIRUnoccupiedToOccupiedDelay optional attribute"); VerifyOrDo(!ShouldSkip("OCC.C.A0011"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), OccupancySensing::Id, OccupancySensing::Attributes::PIRUnoccupiedToOccupiedDelay::Id); } - case 6: { - LogStep(6, "DUT reads from the TH the (0x0012) PIRUnoccupiedToOccupiedThreshold optional attribute"); + case 5: { + LogStep(5, "DUT reads from the TH the (0x0012) PIRUnoccupiedToOccupiedThreshold optional attribute"); VerifyOrDo(!ShouldSkip("OCC.C.A0012"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), OccupancySensing::Id, OccupancySensing::Attributes::PIRUnoccupiedToOccupiedThreshold::Id); } - case 7: { - LogStep(7, "DUT reads from the TH the (0x0020) UltrasonicOccupiedToUnoccupiedDelay optional attribute"); + case 6: { + LogStep(6, "DUT reads from the TH the (0x0020) UltrasonicOccupiedToUnoccupiedDelay optional attribute"); VerifyOrDo(!ShouldSkip("OCC.C.A0020"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), OccupancySensing::Id, OccupancySensing::Attributes::UltrasonicOccupiedToUnoccupiedDelay::Id); } - case 8: { - LogStep(8, "DUT reads from the TH the (0x0021) UltrasonicUnoccupiedToOccupiedDelay optional attribute"); + case 7: { + LogStep(7, "DUT reads from the TH the (0x0021) UltrasonicUnoccupiedToOccupiedDelay optional attribute"); VerifyOrDo(!ShouldSkip("OCC.C.A0021"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), OccupancySensing::Id, OccupancySensing::Attributes::UltrasonicUnoccupiedToOccupiedDelay::Id); } - case 9: { - LogStep(9, "DUT reads from the TH the (0x0022) UltrasonicUnoccupiedToOccupiedThreshold optional attribute"); + case 8: { + LogStep(8, "DUT reads from the TH the (0x0022) UltrasonicUnoccupiedToOccupiedThreshold optional attribute"); VerifyOrDo(!ShouldSkip("OCC.C.A0022"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), OccupancySensing::Id, OccupancySensing::Attributes::UltrasonicUnoccupiedToOccupiedThreshold::Id); } - case 10: { - LogStep(10, "DUT reads from the TH the (0x0030) PhysicalContactOccupiedToUnoccupiedDelay optional attribute"); + case 9: { + LogStep(9, "DUT reads from the TH the (0x0030) PhysicalContactOccupiedToUnoccupiedDelay optional attribute"); VerifyOrDo(!ShouldSkip("OCC.C.A0030"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), OccupancySensing::Id, OccupancySensing::Attributes::PhysicalContactOccupiedToUnoccupiedDelay::Id); } - case 11: { - LogStep(11, "DUT reads from the TH the (0x0031) PhysicalContactUnoccupiedToOccupiedDelay optional attribute"); + case 10: { + LogStep(10, "DUT reads from the TH the (0x0031) PhysicalContactUnoccupiedToOccupiedDelay optional attribute"); VerifyOrDo(!ShouldSkip("OCC.C.A0031"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), OccupancySensing::Id, OccupancySensing::Attributes::PhysicalContactUnoccupiedToOccupiedDelay::Id); } - case 12: { - LogStep(12, "DUT reads from the TH the (0x0032) PhysicalContactUnoccupiedToOccupiedThreshold optional attribute"); + case 11: { + LogStep(11, "DUT reads from the TH the (0x0032) PhysicalContactUnoccupiedToOccupiedThreshold optional attribute"); VerifyOrDo(!ShouldSkip("OCC.C.A0032"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), OccupancySensing::Id, OccupancySensing::Attributes::PhysicalContactUnoccupiedToOccupiedThreshold::Id); @@ -2294,7 +2094,7 @@ class Test_TC_OCC_2_2_SimulatedSuite : public TestCommand class Test_TC_OCC_2_4_SimulatedSuite : public TestCommand { public: - Test_TC_OCC_2_4_SimulatedSuite() : TestCommand("Test_TC_OCC_2_4_Simulated", 3) + Test_TC_OCC_2_4_SimulatedSuite() : TestCommand("Test_TC_OCC_2_4_Simulated", 2) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -2322,10 +2122,6 @@ class Test_TC_OCC_2_4_SimulatedSuite : public TestCommand switch (mTestIndex - 1) { - case 0: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); - shouldContinue = true; - break; default: LogErrorOnFailure(ContinueOnChipMainThread(CHIP_ERROR_INVALID_ARGUMENT)); } @@ -2342,18 +2138,12 @@ class Test_TC_OCC_2_4_SimulatedSuite : public TestCommand switch (testIndex) { case 0: { - LogStep(0, "Wait for the device to be commissioned"); - ListFreer listFreer; - chip::app::Clusters::DelayCommands::Commands::WaitForCommissioning::Type value; - return WaitForCommissioning(kIdentityAlpha, value); - } - case 1: { - LogStep(1, "TH reads OccupancySensorType attribute from DUT"); + LogStep(0, "TH reads OccupancySensorType attribute from DUT"); VerifyOrDo(!ShouldSkip("OCC.S.A0001"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), OccupancySensing::Id, OccupancySensing::Attributes::OccupancySensorType::Id); } - case 2: { - LogStep(2, "TH reads OccupancySensorTypeBitmap attribute from DUT"); + case 1: { + LogStep(1, "TH reads OccupancySensorTypeBitmap attribute from DUT"); VerifyOrDo(!ShouldSkip("OCC.S.A0002"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), OccupancySensing::Id, OccupancySensing::Attributes::OccupancySensorTypeBitmap::Id); } @@ -2365,7 +2155,7 @@ class Test_TC_OCC_2_4_SimulatedSuite : public TestCommand class Test_TC_ULABEL_3_1_SimulatedSuite : public TestCommand { public: - Test_TC_ULABEL_3_1_SimulatedSuite() : TestCommand("Test_TC_ULABEL_3_1_Simulated", 3) + Test_TC_ULABEL_3_1_SimulatedSuite() : TestCommand("Test_TC_ULABEL_3_1_Simulated", 2) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -2393,10 +2183,6 @@ class Test_TC_ULABEL_3_1_SimulatedSuite : public TestCommand switch (mTestIndex - 1) { - case 0: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); - shouldContinue = true; - break; default: LogErrorOnFailure(ContinueOnChipMainThread(CHIP_ERROR_INVALID_ARGUMENT)); } @@ -2413,20 +2199,14 @@ class Test_TC_ULABEL_3_1_SimulatedSuite : public TestCommand switch (testIndex) { case 0: { - LogStep(0, "Wait for the device to be commissioned"); - ListFreer listFreer; - chip::app::Clusters::DelayCommands::Commands::WaitForCommissioning::Type value; - return WaitForCommissioning(kIdentityAlpha, value); - } - case 1: { - LogStep(1, "Read attribute: LabelList"); + LogStep(0, "Read attribute: LabelList"); VerifyOrDo(!ShouldSkip("ULABEL.C.A0000"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); - return WaitAttribute(GetEndpoint(0), UserLabel::Id, UserLabel::Attributes::LabelList::Id); + return WaitAttribute(GetEndpoint(1), UserLabel::Id, UserLabel::Attributes::LabelList::Id); } - case 2: { - LogStep(2, "write attribute: LabelList"); + case 1: { + LogStep(1, "write attribute: LabelList"); VerifyOrDo(!ShouldSkip("ULABEL.C.A0000"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); - return WaitAttribute(GetEndpoint(0), UserLabel::Id, UserLabel::Attributes::LabelList::Id); + return WaitAttribute(GetEndpoint(1), UserLabel::Id, UserLabel::Attributes::LabelList::Id); } } return CHIP_NO_ERROR; @@ -2436,7 +2216,7 @@ class Test_TC_ULABEL_3_1_SimulatedSuite : public TestCommand class Test_TC_FLABEL_3_1_SimulatedSuite : public TestCommand { public: - Test_TC_FLABEL_3_1_SimulatedSuite() : TestCommand("Test_TC_FLABEL_3_1_Simulated", 2) + Test_TC_FLABEL_3_1_SimulatedSuite() : TestCommand("Test_TC_FLABEL_3_1_Simulated", 1) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -2464,10 +2244,6 @@ class Test_TC_FLABEL_3_1_SimulatedSuite : public TestCommand switch (mTestIndex - 1) { - case 0: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); - shouldContinue = true; - break; default: LogErrorOnFailure(ContinueOnChipMainThread(CHIP_ERROR_INVALID_ARGUMENT)); } @@ -2484,13 +2260,7 @@ class Test_TC_FLABEL_3_1_SimulatedSuite : public TestCommand switch (testIndex) { case 0: { - LogStep(0, "Wait for the device to be commissioned"); - ListFreer listFreer; - chip::app::Clusters::DelayCommands::Commands::WaitForCommissioning::Type value; - return WaitForCommissioning(kIdentityAlpha, value); - } - case 1: { - LogStep(1, "DUT reads LabelList from the TH"); + LogStep(0, "DUT reads LabelList from the TH"); VerifyOrDo(!ShouldSkip("FLABEL.C.A0000"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(1), FixedLabel::Id, FixedLabel::Attributes::LabelList::Id); } @@ -2502,7 +2272,7 @@ class Test_TC_FLABEL_3_1_SimulatedSuite : public TestCommand class Test_TC_LTIME_1_1_SimulatedSuite : public TestCommand { public: - Test_TC_LTIME_1_1_SimulatedSuite() : TestCommand("Test_TC_LTIME_1_1_Simulated", 6) + Test_TC_LTIME_1_1_SimulatedSuite() : TestCommand("Test_TC_LTIME_1_1_Simulated", 5) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -2530,10 +2300,6 @@ class Test_TC_LTIME_1_1_SimulatedSuite : public TestCommand switch (mTestIndex - 1) { - case 0: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); - shouldContinue = true; - break; default: LogErrorOnFailure(ContinueOnChipMainThread(CHIP_ERROR_INVALID_ARGUMENT)); } @@ -2550,35 +2316,29 @@ class Test_TC_LTIME_1_1_SimulatedSuite : public TestCommand switch (testIndex) { case 0: { - LogStep(0, "Wait for the device to be commissioned"); - ListFreer listFreer; - chip::app::Clusters::DelayCommands::Commands::WaitForCommissioning::Type value; - return WaitForCommissioning(kIdentityAlpha, value); - } - case 1: { - LogStep(1, "DUT read (0xFFFD) ClusterRevision attribute"); + LogStep(0, "DUT read (0xFFFD) ClusterRevision attribute"); VerifyOrDo(!ShouldSkip("LTIME.C.Afffd"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), TimeFormatLocalization::Id, TimeFormatLocalization::Attributes::ClusterRevision::Id); } - case 2: { - LogStep(2, "DUT read (0xFFFC) FeatureMap attribute"); + case 1: { + LogStep(1, "DUT read (0xFFFC) FeatureMap attribute"); VerifyOrDo(!ShouldSkip("LTIME.C.Afffc"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), TimeFormatLocalization::Id, TimeFormatLocalization::Attributes::FeatureMap::Id); } - case 3: { - LogStep(3, "DUT read (0xFFFB) AttributeList attribute"); + case 2: { + LogStep(2, "DUT read (0xFFFB) AttributeList attribute"); VerifyOrDo(!ShouldSkip("LTIME.C.Afffb"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), TimeFormatLocalization::Id, TimeFormatLocalization::Attributes::AttributeList::Id); } - case 4: { - LogStep(4, "DUT read (0xFFF9) AcceptedCommandList attribute"); + case 3: { + LogStep(3, "DUT read (0xFFF9) AcceptedCommandList attribute"); VerifyOrDo(!ShouldSkip("LTIME.C.Afff9"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), TimeFormatLocalization::Id, TimeFormatLocalization::Attributes::AcceptedCommandList::Id); } - case 5: { - LogStep(5, "DUT read (0xFFF8) GeneratedCommandList attribute"); + case 4: { + LogStep(4, "DUT read (0xFFF8) GeneratedCommandList attribute"); VerifyOrDo(!ShouldSkip("LTIME.C.Afff8"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), TimeFormatLocalization::Id, TimeFormatLocalization::Attributes::GeneratedCommandList::Id); diff --git a/zzz_generated/placeholder/app2/zap-generated/test/Commands.h b/zzz_generated/placeholder/app2/zap-generated/test/Commands.h index 674574a3b1b3c7..4e02f06118f737 100644 --- a/zzz_generated/placeholder/app2/zap-generated/test/Commands.h +++ b/zzz_generated/placeholder/app2/zap-generated/test/Commands.h @@ -26,7 +26,7 @@ class Test_TC_BINFO_2_3_SimulatedSuite : public TestCommand { public: - Test_TC_BINFO_2_3_SimulatedSuite() : TestCommand("Test_TC_BINFO_2_3_Simulated", 22) + Test_TC_BINFO_2_3_SimulatedSuite() : TestCommand("Test_TC_BINFO_2_3_Simulated", 21) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -58,10 +58,6 @@ class Test_TC_BINFO_2_3_SimulatedSuite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); shouldContinue = true; break; - case 1: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); - shouldContinue = true; - break; default: LogErrorOnFailure(ContinueOnChipMainThread(CHIP_ERROR_INVALID_ARGUMENT)); } @@ -78,115 +74,109 @@ class Test_TC_BINFO_2_3_SimulatedSuite : public TestCommand switch (testIndex) { case 0: { - LogStep(0, "Wait for the device to be commissioned"); - ListFreer listFreer; - chip::app::Clusters::DelayCommands::Commands::WaitForCommissioning::Type value; - return WaitForCommissioning(kIdentityAlpha, value); - } - case 1: { - LogStep(1, "Log OnOff Test Startup"); + LogStep(0, "Log OnOff Test Startup"); ListFreer listFreer; chip::app::Clusters::LogCommands::Commands::Log::Type value; value.message = chip::Span("*** Basic Cluster Tests Readygarbage: not in length on purpose", 29); return Log(kIdentityAlpha, value); } - case 2: { - LogStep(2, "DUT reads DataModelRevision from the TH"); + case 1: { + LogStep(1, "DUT reads DataModelRevision from the TH"); VerifyOrDo(!ShouldSkip("BINFO.C.A0000"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), BasicInformation::Id, BasicInformation::Attributes::DataModelRevision::Id); } - case 3: { - LogStep(3, "DUT reads VendorName from the TH"); + case 2: { + LogStep(2, "DUT reads VendorName from the TH"); VerifyOrDo(!ShouldSkip("BINFO.C.A0001"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), BasicInformation::Id, BasicInformation::Attributes::VendorName::Id); } - case 4: { - LogStep(4, "DUT reads VendorID from the TH"); + case 3: { + LogStep(3, "DUT reads VendorID from the TH"); VerifyOrDo(!ShouldSkip("BINFO.C.A0002"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), BasicInformation::Id, BasicInformation::Attributes::VendorID::Id); } - case 5: { - LogStep(5, "DUT reads ProductName from the TH"); + case 4: { + LogStep(4, "DUT reads ProductName from the TH"); VerifyOrDo(!ShouldSkip("BINFO.C.A0003"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), BasicInformation::Id, BasicInformation::Attributes::ProductName::Id); } - case 6: { - LogStep(6, "DUT reads ProductID from the TH"); + case 5: { + LogStep(5, "DUT reads ProductID from the TH"); VerifyOrDo(!ShouldSkip("BINFO.C.A0004"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), BasicInformation::Id, BasicInformation::Attributes::ProductID::Id); } - case 7: { - LogStep(7, "DUT reads NodeLabel from the TH"); + case 6: { + LogStep(6, "DUT reads NodeLabel from the TH"); VerifyOrDo(!ShouldSkip("BINFO.C.A0005"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), BasicInformation::Id, BasicInformation::Attributes::NodeLabel::Id); } - case 8: { - LogStep(8, "DUT reads Location from the TH"); + case 7: { + LogStep(7, "DUT reads Location from the TH"); VerifyOrDo(!ShouldSkip("BINFO.C.A0006"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), BasicInformation::Id, BasicInformation::Attributes::Location::Id); } - case 9: { - LogStep(9, "DUT reads HardwareVersion from the TH"); + case 8: { + LogStep(8, "DUT reads HardwareVersion from the TH"); VerifyOrDo(!ShouldSkip("BINFO.C.A0007"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), BasicInformation::Id, BasicInformation::Attributes::HardwareVersion::Id); } - case 10: { - LogStep(10, "DUT reads HardwareVersionString from the TH"); + case 9: { + LogStep(9, "DUT reads HardwareVersionString from the TH"); VerifyOrDo(!ShouldSkip("BINFO.C.A0008"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), BasicInformation::Id, BasicInformation::Attributes::HardwareVersionString::Id); } - case 11: { - LogStep(11, "DUT reads SoftwareVersion from the TH"); + case 10: { + LogStep(10, "DUT reads SoftwareVersion from the TH"); VerifyOrDo(!ShouldSkip("BINFO.C.A0009"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), BasicInformation::Id, BasicInformation::Attributes::SoftwareVersion::Id); } - case 12: { - LogStep(12, "DUT reads SoftwareVersionString from the TH"); + case 11: { + LogStep(11, "DUT reads SoftwareVersionString from the TH"); VerifyOrDo(!ShouldSkip("BINFO.C.A000a"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), BasicInformation::Id, BasicInformation::Attributes::SoftwareVersionString::Id); } - case 13: { - LogStep(13, "DUT reads ManufacturingDate from the TH"); + case 12: { + LogStep(12, "DUT reads ManufacturingDate from the TH"); VerifyOrDo(!ShouldSkip("BINFO.C.A000b"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), BasicInformation::Id, BasicInformation::Attributes::ManufacturingDate::Id); } - case 14: { - LogStep(14, "DUT reads PartNumber from the TH"); + case 13: { + LogStep(13, "DUT reads PartNumber from the TH"); VerifyOrDo(!ShouldSkip("BINFO.C.A000c"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), BasicInformation::Id, BasicInformation::Attributes::PartNumber::Id); } - case 15: { - LogStep(15, "DUT reads ProductURL from the TH"); + case 14: { + LogStep(14, "DUT reads ProductURL from the TH"); VerifyOrDo(!ShouldSkip("BINFO.C.A000d"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), BasicInformation::Id, BasicInformation::Attributes::ProductURL::Id); } - case 16: { - LogStep(16, "DUT reads ProductLabel from the TH"); + case 15: { + LogStep(15, "DUT reads ProductLabel from the TH"); VerifyOrDo(!ShouldSkip("BINFO.C.A000e"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), BasicInformation::Id, BasicInformation::Attributes::ProductLabel::Id); } - case 17: { - LogStep(17, "DUT reads SerialNumber from the TH"); + case 16: { + LogStep(16, "DUT reads SerialNumber from the TH"); VerifyOrDo(!ShouldSkip("BINFO.C.A000f"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), BasicInformation::Id, BasicInformation::Attributes::SerialNumber::Id); } - case 18: { - LogStep(18, "DUT reads LocalConfigDisabled from the TH"); + case 17: { + LogStep(17, "DUT reads LocalConfigDisabled from the TH"); VerifyOrDo(!ShouldSkip("BINFO.C.A0010"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), BasicInformation::Id, BasicInformation::Attributes::LocalConfigDisabled::Id); } - case 19: { - LogStep(19, "DUT reads Reachable from the TH"); + case 18: { + LogStep(18, "DUT reads Reachable from the TH"); VerifyOrDo(!ShouldSkip("BINFO.C.A0011"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), BasicInformation::Id, BasicInformation::Attributes::Reachable::Id); } - case 20: { - LogStep(20, "DUT reads UniqueID from the TH"); + case 19: { + LogStep(19, "DUT reads UniqueID from the TH"); VerifyOrDo(!ShouldSkip("BINFO.C.A0012"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), BasicInformation::Id, BasicInformation::Attributes::UniqueID::Id); } - case 21: { - LogStep(21, "DUT reads CapabilityMinima from the TH"); + case 20: { + LogStep(20, "DUT reads CapabilityMinima from the TH"); VerifyOrDo(!ShouldSkip("BINFO.C.A0013"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), BasicInformation::Id, BasicInformation::Attributes::CapabilityMinima::Id); } @@ -198,7 +188,7 @@ class Test_TC_BINFO_2_3_SimulatedSuite : public TestCommand class Test_TC_ACT_3_1_SimulatedSuite : public TestCommand { public: - Test_TC_ACT_3_1_SimulatedSuite() : TestCommand("Test_TC_ACT_3_1_Simulated", 7) + Test_TC_ACT_3_1_SimulatedSuite() : TestCommand("Test_TC_ACT_3_1_Simulated", 6) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -226,7 +216,7 @@ class Test_TC_ACT_3_1_SimulatedSuite : public TestCommand switch (mTestIndex - 1) { - case 0: + case 3: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); shouldContinue = true; break; @@ -238,10 +228,6 @@ class Test_TC_ACT_3_1_SimulatedSuite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); shouldContinue = true; break; - case 6: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); - shouldContinue = true; - break; default: LogErrorOnFailure(ContinueOnChipMainThread(CHIP_ERROR_INVALID_ARGUMENT)); } @@ -258,25 +244,19 @@ class Test_TC_ACT_3_1_SimulatedSuite : public TestCommand switch (testIndex) { case 0: { - LogStep(0, "Wait for the device to be commissioned"); - ListFreer listFreer; - chip::app::Clusters::DelayCommands::Commands::WaitForCommissioning::Type value; - return WaitForCommissioning(kIdentityAlpha, value); - } - case 1: { - LogStep(1, "Read attribute: ActionList"); + LogStep(0, "Read attribute: ActionList"); return WaitAttribute(GetEndpoint(0), Actions::Id, Actions::Attributes::ActionList::Id); } - case 2: { - LogStep(2, "Read attribute: EndpointLists"); + case 1: { + LogStep(1, "Read attribute: EndpointLists"); return WaitAttribute(GetEndpoint(0), Actions::Id, Actions::Attributes::EndpointLists::Id); } - case 3: { - LogStep(3, "Read attribute: SetupURL"); + case 2: { + LogStep(2, "Read attribute: SetupURL"); return WaitAttribute(GetEndpoint(0), Actions::Id, Actions::Attributes::SetupURL::Id); } - case 4: { - LogStep(4, + case 3: { + LogStep(3, "Configure TH such that it implements mandatory and none of the optional attributes of the server-side of the " "cluster, and that it also reflects this in global attributes such as FeatureMap and AttributeList.Commission " "DUT to TH again"); @@ -288,8 +268,8 @@ class Test_TC_ACT_3_1_SimulatedSuite : public TestCommand value.expectedValue.Value() = chip::Span("ygarbage: not in length on purpose", 1); return UserPrompt(kIdentityAlpha, value); } - case 5: { - LogStep(5, "DUT reads all supported optional attributes from TH one at a time in a manufacturer specific order"); + case 4: { + LogStep(4, "DUT reads all supported optional attributes from TH one at a time in a manufacturer specific order"); VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::LogCommands::Commands::UserPrompt::Type value; @@ -298,8 +278,8 @@ class Test_TC_ACT_3_1_SimulatedSuite : public TestCommand value.expectedValue.Value() = chip::Span("ygarbage: not in length on purpose", 1); return UserPrompt(kIdentityAlpha, value); } - case 6: { - LogStep(6, + case 5: { + LogStep(5, "DUT writes a suitable value to all supported optional attributes on the TH one at a time in a manufacturer " "specific order"); VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); @@ -318,7 +298,7 @@ class Test_TC_ACT_3_1_SimulatedSuite : public TestCommand class Test_TC_BOOL_3_1_SimulatedSuite : public TestCommand { public: - Test_TC_BOOL_3_1_SimulatedSuite() : TestCommand("Test_TC_BOOL_3_1_Simulated", 5) + Test_TC_BOOL_3_1_SimulatedSuite() : TestCommand("Test_TC_BOOL_3_1_Simulated", 4) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -346,7 +326,7 @@ class Test_TC_BOOL_3_1_SimulatedSuite : public TestCommand switch (mTestIndex - 1) { - case 0: + case 1: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); shouldContinue = true; break; @@ -358,10 +338,6 @@ class Test_TC_BOOL_3_1_SimulatedSuite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); shouldContinue = true; break; - case 4: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); - shouldContinue = true; - break; default: LogErrorOnFailure(ContinueOnChipMainThread(CHIP_ERROR_INVALID_ARGUMENT)); } @@ -378,17 +354,11 @@ class Test_TC_BOOL_3_1_SimulatedSuite : public TestCommand switch (testIndex) { case 0: { - LogStep(0, "Wait for the device to be commissioned"); - ListFreer listFreer; - chip::app::Clusters::DelayCommands::Commands::WaitForCommissioning::Type value; - return WaitForCommissioning(kIdentityAlpha, value); - } - case 1: { - LogStep(1, "Read attribute: StateValue"); + LogStep(0, "Read attribute: StateValue"); return WaitAttribute(GetEndpoint(0), BooleanState::Id, BooleanState::Attributes::StateValue::Id); } - case 2: { - LogStep(2, + case 1: { + LogStep(1, "Configure TH such that it implements mandatory and none of the optional attributes of the server-side of the " "cluster, and that it also reflects this in global attributes such as FeatureMap and AttributeList.Commission " "DUT to TH again"); @@ -400,8 +370,8 @@ class Test_TC_BOOL_3_1_SimulatedSuite : public TestCommand value.expectedValue.Value() = chip::Span("ygarbage: not in length on purpose", 1); return UserPrompt(kIdentityAlpha, value); } - case 3: { - LogStep(3, "DUT reads all supported optional attributes from TH one at a time in a manufacturer specific order"); + case 2: { + LogStep(2, "DUT reads all supported optional attributes from TH one at a time in a manufacturer specific order"); VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::LogCommands::Commands::UserPrompt::Type value; @@ -410,8 +380,8 @@ class Test_TC_BOOL_3_1_SimulatedSuite : public TestCommand value.expectedValue.Value() = chip::Span("ygarbage: not in length on purpose", 1); return UserPrompt(kIdentityAlpha, value); } - case 4: { - LogStep(4, + case 3: { + LogStep(3, "DUT writes a suitable value to all supported optional attributes on the TH one at a time in a manufacturer " "specific order"); VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); @@ -430,7 +400,7 @@ class Test_TC_BOOL_3_1_SimulatedSuite : public TestCommand class Test_TC_DESC_2_2_SimulatedSuite : public TestCommand { public: - Test_TC_DESC_2_2_SimulatedSuite() : TestCommand("Test_TC_DESC_2_2_Simulated", 5) + Test_TC_DESC_2_2_SimulatedSuite() : TestCommand("Test_TC_DESC_2_2_Simulated", 4) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -458,10 +428,6 @@ class Test_TC_DESC_2_2_SimulatedSuite : public TestCommand switch (mTestIndex - 1) { - case 0: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); - shouldContinue = true; - break; default: LogErrorOnFailure(ContinueOnChipMainThread(CHIP_ERROR_INVALID_ARGUMENT)); } @@ -478,28 +444,22 @@ class Test_TC_DESC_2_2_SimulatedSuite : public TestCommand switch (testIndex) { case 0: { - LogStep(0, "Wait for the device to be commissioned"); - ListFreer listFreer; - chip::app::Clusters::DelayCommands::Commands::WaitForCommissioning::Type value; - return WaitForCommissioning(kIdentityAlpha, value); - } - case 1: { - LogStep(1, "DUT reads DeviceTypeList from TH."); + LogStep(0, "DUT reads DeviceTypeList from TH."); VerifyOrDo(!ShouldSkip("DESC.C.A0000"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), Descriptor::Id, Descriptor::Attributes::DeviceTypeList::Id); } - case 2: { - LogStep(2, "DUT reads ServerList from the TH"); + case 1: { + LogStep(1, "DUT reads ServerList from the TH"); VerifyOrDo(!ShouldSkip("DESC.C.A0001"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), Descriptor::Id, Descriptor::Attributes::ServerList::Id); } - case 3: { - LogStep(3, "DUT reads ClientList attribute from the TH"); + case 2: { + LogStep(2, "DUT reads ClientList attribute from the TH"); VerifyOrDo(!ShouldSkip("DESC.C.A0002"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), Descriptor::Id, Descriptor::Attributes::ClientList::Id); } - case 4: { - LogStep(4, "DUT reads PartsList attribute from the TH"); + case 3: { + LogStep(3, "DUT reads PartsList attribute from the TH"); VerifyOrDo(!ShouldSkip("DESC.C.A0003"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), Descriptor::Id, Descriptor::Attributes::PartsList::Id); } @@ -511,7 +471,7 @@ class Test_TC_DESC_2_2_SimulatedSuite : public TestCommand class Test_TC_DGETH_3_1_SimulatedSuite : public TestCommand { public: - Test_TC_DGETH_3_1_SimulatedSuite() : TestCommand("Test_TC_DGETH_3_1_Simulated", 10) + Test_TC_DGETH_3_1_SimulatedSuite() : TestCommand("Test_TC_DGETH_3_1_Simulated", 9) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -539,10 +499,6 @@ class Test_TC_DGETH_3_1_SimulatedSuite : public TestCommand switch (mTestIndex - 1) { - case 0: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); - shouldContinue = true; - break; default: LogErrorOnFailure(ContinueOnChipMainThread(CHIP_ERROR_INVALID_ARGUMENT)); } @@ -559,61 +515,55 @@ class Test_TC_DGETH_3_1_SimulatedSuite : public TestCommand switch (testIndex) { case 0: { - LogStep(0, "Wait for the device to be commissioned"); - ListFreer listFreer; - chip::app::Clusters::DelayCommands::Commands::WaitForCommissioning::Type value; - return WaitForCommissioning(kIdentityAlpha, value); - } - case 1: { - LogStep(1, "Read attribute: PHYRate"); + LogStep(0, "Read attribute: PHYRate"); VerifyOrDo(!ShouldSkip("DGETH.C.A0000"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), EthernetNetworkDiagnostics::Id, EthernetNetworkDiagnostics::Attributes::PHYRate::Id); } - case 2: { - LogStep(2, "Read attribute: FullDuplex"); + case 1: { + LogStep(1, "Read attribute: FullDuplex"); VerifyOrDo(!ShouldSkip("DGETH.C.A0001"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), EthernetNetworkDiagnostics::Id, EthernetNetworkDiagnostics::Attributes::FullDuplex::Id); } - case 3: { - LogStep(3, "Read attribute: PacketRxCount"); + case 2: { + LogStep(2, "Read attribute: PacketRxCount"); VerifyOrDo(!ShouldSkip("DGETH.C.A0002"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), EthernetNetworkDiagnostics::Id, EthernetNetworkDiagnostics::Attributes::PacketRxCount::Id); } - case 4: { - LogStep(4, "Read attribute: PacketTxCount"); + case 3: { + LogStep(3, "Read attribute: PacketTxCount"); VerifyOrDo(!ShouldSkip("DGETH.C.A0003"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), EthernetNetworkDiagnostics::Id, EthernetNetworkDiagnostics::Attributes::PacketTxCount::Id); } - case 5: { - LogStep(5, "Read attribute: TxErrCount"); + case 4: { + LogStep(4, "Read attribute: TxErrCount"); VerifyOrDo(!ShouldSkip("DGETH.C.A0004"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), EthernetNetworkDiagnostics::Id, EthernetNetworkDiagnostics::Attributes::TxErrCount::Id); } - case 6: { - LogStep(6, "Read attribute: CollisionCount"); + case 5: { + LogStep(5, "Read attribute: CollisionCount"); VerifyOrDo(!ShouldSkip("DGETH.C.A0005"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), EthernetNetworkDiagnostics::Id, EthernetNetworkDiagnostics::Attributes::CollisionCount::Id); } - case 7: { - LogStep(7, "Read attribute: OverrunCount"); + case 6: { + LogStep(6, "Read attribute: OverrunCount"); VerifyOrDo(!ShouldSkip("DGETH.C.A0006"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), EthernetNetworkDiagnostics::Id, EthernetNetworkDiagnostics::Attributes::OverrunCount::Id); } - case 8: { - LogStep(8, "Read attribute: CarrierDetect"); + case 7: { + LogStep(7, "Read attribute: CarrierDetect"); VerifyOrDo(!ShouldSkip("DGETH.C.A0007"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), EthernetNetworkDiagnostics::Id, EthernetNetworkDiagnostics::Attributes::CarrierDetect::Id); } - case 9: { - LogStep(9, "Read attribute: TimeSinceReset"); + case 8: { + LogStep(8, "Read attribute: TimeSinceReset"); VerifyOrDo(!ShouldSkip("DGETH.C.A0008"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), EthernetNetworkDiagnostics::Id, EthernetNetworkDiagnostics::Attributes::TimeSinceReset::Id); @@ -626,7 +576,7 @@ class Test_TC_DGETH_3_1_SimulatedSuite : public TestCommand class Test_TC_DGSW_3_1_SimulatedSuite : public TestCommand { public: - Test_TC_DGSW_3_1_SimulatedSuite() : TestCommand("Test_TC_DGSW_3_1_Simulated", 5) + Test_TC_DGSW_3_1_SimulatedSuite() : TestCommand("Test_TC_DGSW_3_1_Simulated", 4) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -654,10 +604,6 @@ class Test_TC_DGSW_3_1_SimulatedSuite : public TestCommand switch (mTestIndex - 1) { - case 0: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); - shouldContinue = true; - break; default: LogErrorOnFailure(ContinueOnChipMainThread(CHIP_ERROR_INVALID_ARGUMENT)); } @@ -674,28 +620,22 @@ class Test_TC_DGSW_3_1_SimulatedSuite : public TestCommand switch (testIndex) { case 0: { - LogStep(0, "Wait for the device to be commissioned"); - ListFreer listFreer; - chip::app::Clusters::DelayCommands::Commands::WaitForCommissioning::Type value; - return WaitForCommissioning(kIdentityAlpha, value); - } - case 1: { - LogStep(1, "Read attribute: ThreadMetrics"); + LogStep(0, "Read attribute: ThreadMetrics"); VerifyOrDo(!ShouldSkip("DGSW.C.A0000"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), SoftwareDiagnostics::Id, SoftwareDiagnostics::Attributes::ThreadMetrics::Id); } - case 2: { - LogStep(2, "Read attribute: CurrentHeapFree"); + case 1: { + LogStep(1, "Read attribute: CurrentHeapFree"); VerifyOrDo(!ShouldSkip("DGSW.C.A0001"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), SoftwareDiagnostics::Id, SoftwareDiagnostics::Attributes::CurrentHeapFree::Id); } - case 3: { - LogStep(3, "Read attribute: CurrentHeapUsed"); + case 2: { + LogStep(2, "Read attribute: CurrentHeapUsed"); VerifyOrDo(!ShouldSkip("DGSW.C.A0002"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), SoftwareDiagnostics::Id, SoftwareDiagnostics::Attributes::CurrentHeapUsed::Id); } - case 4: { - LogStep(4, "Read attribute: CurrentHeapHighWatermark"); + case 3: { + LogStep(3, "Read attribute: CurrentHeapHighWatermark"); VerifyOrDo(!ShouldSkip("DGSW.C.A0003"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), SoftwareDiagnostics::Id, SoftwareDiagnostics::Attributes::CurrentHeapHighWatermark::Id); @@ -708,7 +648,7 @@ class Test_TC_DGSW_3_1_SimulatedSuite : public TestCommand class Test_TC_DGWIFI_3_1_SimulatedSuite : public TestCommand { public: - Test_TC_DGWIFI_3_1_SimulatedSuite() : TestCommand("Test_TC_DGWIFI_3_1_Simulated", 14) + Test_TC_DGWIFI_3_1_SimulatedSuite() : TestCommand("Test_TC_DGWIFI_3_1_Simulated", 13) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -736,10 +676,6 @@ class Test_TC_DGWIFI_3_1_SimulatedSuite : public TestCommand switch (mTestIndex - 1) { - case 0: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); - shouldContinue = true; - break; default: LogErrorOnFailure(ContinueOnChipMainThread(CHIP_ERROR_INVALID_ARGUMENT)); } @@ -756,79 +692,73 @@ class Test_TC_DGWIFI_3_1_SimulatedSuite : public TestCommand switch (testIndex) { case 0: { - LogStep(0, "Wait for the device to be commissioned"); - ListFreer listFreer; - chip::app::Clusters::DelayCommands::Commands::WaitForCommissioning::Type value; - return WaitForCommissioning(kIdentityAlpha, value); - } - case 1: { - LogStep(1, "Read attribute: BSSID"); + LogStep(0, "Read attribute: BSSID"); VerifyOrDo(!ShouldSkip("DGWIFI.C.A0000"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), WiFiNetworkDiagnostics::Id, WiFiNetworkDiagnostics::Attributes::Bssid::Id); } - case 2: { - LogStep(2, "Read attribute: SecurityType"); + case 1: { + LogStep(1, "Read attribute: SecurityType"); VerifyOrDo(!ShouldSkip("DGWIFI.C.A0001"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), WiFiNetworkDiagnostics::Id, WiFiNetworkDiagnostics::Attributes::SecurityType::Id); } - case 3: { - LogStep(3, "Read attribute: WiFiVersion"); + case 2: { + LogStep(2, "Read attribute: WiFiVersion"); VerifyOrDo(!ShouldSkip("DGWIFI.C.A0002"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), WiFiNetworkDiagnostics::Id, WiFiNetworkDiagnostics::Attributes::WiFiVersion::Id); } - case 4: { - LogStep(4, "Read attribute: ChannelNumber"); + case 3: { + LogStep(3, "Read attribute: ChannelNumber"); VerifyOrDo(!ShouldSkip("DGWIFI.C.A0003"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), WiFiNetworkDiagnostics::Id, WiFiNetworkDiagnostics::Attributes::ChannelNumber::Id); } - case 5: { - LogStep(5, "Read attribute: RSSI"); + case 4: { + LogStep(4, "Read attribute: RSSI"); VerifyOrDo(!ShouldSkip("DGWIFI.C.A0004"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), WiFiNetworkDiagnostics::Id, WiFiNetworkDiagnostics::Attributes::Rssi::Id); } - case 6: { - LogStep(6, "Read attribute: BeaconLostCount"); + case 5: { + LogStep(5, "Read attribute: BeaconLostCount"); VerifyOrDo(!ShouldSkip("DGWIFI.C.A0005"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), WiFiNetworkDiagnostics::Id, WiFiNetworkDiagnostics::Attributes::BeaconLostCount::Id); } - case 7: { - LogStep(7, "Read attribute: BeaconRxCount"); + case 6: { + LogStep(6, "Read attribute: BeaconRxCount"); VerifyOrDo(!ShouldSkip("DGWIFI.C.A0006"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), WiFiNetworkDiagnostics::Id, WiFiNetworkDiagnostics::Attributes::BeaconRxCount::Id); } - case 8: { - LogStep(8, "Read attribute: PacketMulticastRxCount"); + case 7: { + LogStep(7, "Read attribute: PacketMulticastRxCount"); VerifyOrDo(!ShouldSkip("DGWIFI.C.A0007"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), WiFiNetworkDiagnostics::Id, WiFiNetworkDiagnostics::Attributes::PacketMulticastRxCount::Id); } - case 9: { - LogStep(9, "Read attribute: PacketMulticastTxCount"); + case 8: { + LogStep(8, "Read attribute: PacketMulticastTxCount"); VerifyOrDo(!ShouldSkip("DGWIFI.C.A0008"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), WiFiNetworkDiagnostics::Id, WiFiNetworkDiagnostics::Attributes::PacketMulticastTxCount::Id); } - case 10: { - LogStep(10, "Read attribute: PacketUnicastRxCount"); + case 9: { + LogStep(9, "Read attribute: PacketUnicastRxCount"); VerifyOrDo(!ShouldSkip("DGWIFI.C.A0009"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), WiFiNetworkDiagnostics::Id, WiFiNetworkDiagnostics::Attributes::PacketUnicastRxCount::Id); } - case 11: { - LogStep(11, "Read attribute: PacketUnicastTxCount"); + case 10: { + LogStep(10, "Read attribute: PacketUnicastTxCount"); VerifyOrDo(!ShouldSkip("DGWIFI.C.A000a"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), WiFiNetworkDiagnostics::Id, WiFiNetworkDiagnostics::Attributes::PacketUnicastTxCount::Id); } - case 12: { - LogStep(12, "Read attribute: CurrentMaxRate"); + case 11: { + LogStep(11, "Read attribute: CurrentMaxRate"); VerifyOrDo(!ShouldSkip("DGWIFI.C.A000b"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), WiFiNetworkDiagnostics::Id, WiFiNetworkDiagnostics::Attributes::CurrentMaxRate::Id); } - case 13: { - LogStep(13, "Read attribute: OverrunCount"); + case 12: { + LogStep(12, "Read attribute: OverrunCount"); VerifyOrDo(!ShouldSkip("DGWIFI.C.A000c"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), WiFiNetworkDiagnostics::Id, WiFiNetworkDiagnostics::Attributes::OverrunCount::Id); } @@ -840,7 +770,7 @@ class Test_TC_DGWIFI_3_1_SimulatedSuite : public TestCommand class Test_TC_FLW_3_1_SimulatedSuite : public TestCommand { public: - Test_TC_FLW_3_1_SimulatedSuite() : TestCommand("Test_TC_FLW_3_1_Simulated", 8) + Test_TC_FLW_3_1_SimulatedSuite() : TestCommand("Test_TC_FLW_3_1_Simulated", 7) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -868,7 +798,7 @@ class Test_TC_FLW_3_1_SimulatedSuite : public TestCommand switch (mTestIndex - 1) { - case 0: + case 4: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); shouldContinue = true; break; @@ -880,10 +810,6 @@ class Test_TC_FLW_3_1_SimulatedSuite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); shouldContinue = true; break; - case 7: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); - shouldContinue = true; - break; default: LogErrorOnFailure(ContinueOnChipMainThread(CHIP_ERROR_INVALID_ARGUMENT)); } @@ -900,29 +826,23 @@ class Test_TC_FLW_3_1_SimulatedSuite : public TestCommand switch (testIndex) { case 0: { - LogStep(0, "Wait for the device to be commissioned"); - ListFreer listFreer; - chip::app::Clusters::DelayCommands::Commands::WaitForCommissioning::Type value; - return WaitForCommissioning(kIdentityAlpha, value); - } - case 1: { - LogStep(1, "Read attribute: MeasuredValue"); + LogStep(0, "Read attribute: MeasuredValue"); return WaitAttribute(GetEndpoint(0), FlowMeasurement::Id, FlowMeasurement::Attributes::MeasuredValue::Id); } - case 2: { - LogStep(2, "Read attribute: MinMeasuredValue"); + case 1: { + LogStep(1, "Read attribute: MinMeasuredValue"); return WaitAttribute(GetEndpoint(0), FlowMeasurement::Id, FlowMeasurement::Attributes::MinMeasuredValue::Id); } - case 3: { - LogStep(3, "Read attribute: MaxMeasuredValue"); + case 2: { + LogStep(2, "Read attribute: MaxMeasuredValue"); return WaitAttribute(GetEndpoint(0), FlowMeasurement::Id, FlowMeasurement::Attributes::MaxMeasuredValue::Id); } - case 4: { - LogStep(4, "Read attribute: Tolerance"); + case 3: { + LogStep(3, "Read attribute: Tolerance"); return WaitAttribute(GetEndpoint(0), FlowMeasurement::Id, FlowMeasurement::Attributes::Tolerance::Id); } - case 5: { - LogStep(5, + case 4: { + LogStep(4, "Configure TH such that it implements mandatory and none of the optional attributes of the server-side of the " "cluster, and that it also reflects this in global attributes such as FeatureMap and AttributeList. Commission " "DUT to TH again."); @@ -934,8 +854,8 @@ class Test_TC_FLW_3_1_SimulatedSuite : public TestCommand value.expectedValue.Value() = chip::Span("ygarbage: not in length on purpose", 1); return UserPrompt(kIdentityAlpha, value); } - case 6: { - LogStep(6, "DUT reads all supported optional attributes from TH one at a time in a manufacturer specific order"); + case 5: { + LogStep(5, "DUT reads all supported optional attributes from TH one at a time in a manufacturer specific order"); VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::LogCommands::Commands::UserPrompt::Type value; @@ -944,8 +864,8 @@ class Test_TC_FLW_3_1_SimulatedSuite : public TestCommand value.expectedValue.Value() = chip::Span("ygarbage: not in length on purpose", 1); return UserPrompt(kIdentityAlpha, value); } - case 7: { - LogStep(7, + case 6: { + LogStep(6, "DUT writes a suitable value to all supported optional attributes on the TH one at a time in a manufacturer " "specific order"); VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); @@ -964,7 +884,7 @@ class Test_TC_FLW_3_1_SimulatedSuite : public TestCommand class Test_TC_G_3_1_SimulatedSuite : public TestCommand { public: - Test_TC_G_3_1_SimulatedSuite() : TestCommand("Test_TC_G_3_1_Simulated", 2) + Test_TC_G_3_1_SimulatedSuite() : TestCommand("Test_TC_G_3_1_Simulated", 1) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -992,10 +912,6 @@ class Test_TC_G_3_1_SimulatedSuite : public TestCommand switch (mTestIndex - 1) { - case 0: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); - shouldContinue = true; - break; default: LogErrorOnFailure(ContinueOnChipMainThread(CHIP_ERROR_INVALID_ARGUMENT)); } @@ -1012,13 +928,7 @@ class Test_TC_G_3_1_SimulatedSuite : public TestCommand switch (testIndex) { case 0: { - LogStep(0, "Wait for the device to be commissioned"); - ListFreer listFreer; - chip::app::Clusters::DelayCommands::Commands::WaitForCommissioning::Type value; - return WaitForCommissioning(kIdentityAlpha, value); - } - case 1: { - LogStep(1, "DUT reads NameSupport attribute value from TH"); + LogStep(0, "DUT reads NameSupport attribute value from TH"); VerifyOrDo(!ShouldSkip("G.C.A0000"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(1), Groups::Id, Groups::Attributes::NameSupport::Id); } @@ -1030,7 +940,7 @@ class Test_TC_G_3_1_SimulatedSuite : public TestCommand class Test_TC_I_3_1_SimulatedSuite : public TestCommand { public: - Test_TC_I_3_1_SimulatedSuite() : TestCommand("Test_TC_I_3_1_Simulated", 8) + Test_TC_I_3_1_SimulatedSuite() : TestCommand("Test_TC_I_3_1_Simulated", 7) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -1058,7 +968,7 @@ class Test_TC_I_3_1_SimulatedSuite : public TestCommand switch (mTestIndex - 1) { - case 0: + case 4: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); shouldContinue = true; break; @@ -1070,10 +980,6 @@ class Test_TC_I_3_1_SimulatedSuite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); shouldContinue = true; break; - case 7: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); - shouldContinue = true; - break; default: LogErrorOnFailure(ContinueOnChipMainThread(CHIP_ERROR_INVALID_ARGUMENT)); } @@ -1090,29 +996,23 @@ class Test_TC_I_3_1_SimulatedSuite : public TestCommand switch (testIndex) { case 0: { - LogStep(0, "Wait for the device to be commissioned"); - ListFreer listFreer; - chip::app::Clusters::DelayCommands::Commands::WaitForCommissioning::Type value; - return WaitForCommissioning(kIdentityAlpha, value); + LogStep(0, "Read attribute: IdentifyTime"); + return WaitAttribute(GetEndpoint(1), Identify::Id, Identify::Attributes::IdentifyTime::Id); } case 1: { - LogStep(1, "Read attribute: IdentifyTime"); + LogStep(1, "write attribute: IdentifyTime"); return WaitAttribute(GetEndpoint(1), Identify::Id, Identify::Attributes::IdentifyTime::Id); } case 2: { - LogStep(2, "write attribute: IdentifyTime"); + LogStep(2, "Readback attribute: IdentifyTime"); return WaitAttribute(GetEndpoint(1), Identify::Id, Identify::Attributes::IdentifyTime::Id); } case 3: { - LogStep(3, "Readback attribute: IdentifyTime"); - return WaitAttribute(GetEndpoint(1), Identify::Id, Identify::Attributes::IdentifyTime::Id); - } - case 4: { - LogStep(4, "Read attribute: identifytype"); + LogStep(3, "Read attribute: identifytype"); return WaitAttribute(GetEndpoint(1), Identify::Id, Identify::Attributes::IdentifyType::Id); } - case 5: { - LogStep(5, + case 4: { + LogStep(4, "Configure TH such that it implements mandatory and none of the optional attributes of the server-side of the " "cluster, and that it also reflects this in global attributes such as FeatureMap and AttributeList.Commission " "DUT to TH again"); @@ -1124,8 +1024,8 @@ class Test_TC_I_3_1_SimulatedSuite : public TestCommand value.expectedValue.Value() = chip::Span("ygarbage: not in length on purpose", 1); return UserPrompt(kIdentityAlpha, value); } - case 6: { - LogStep(6, "DUT reads all supported optional attributes from TH one at a time in a manufacturer specific order"); + case 5: { + LogStep(5, "DUT reads all supported optional attributes from TH one at a time in a manufacturer specific order"); VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::LogCommands::Commands::UserPrompt::Type value; @@ -1134,8 +1034,8 @@ class Test_TC_I_3_1_SimulatedSuite : public TestCommand value.expectedValue.Value() = chip::Span("ygarbage: not in length on purpose", 1); return UserPrompt(kIdentityAlpha, value); } - case 7: { - LogStep(7, + case 6: { + LogStep(6, "DUT writes a suitable value to all supported optional attributes on the TH one at a time in a manufacturer " "specific order"); VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); @@ -1154,7 +1054,7 @@ class Test_TC_I_3_1_SimulatedSuite : public TestCommand class Test_TC_PRS_3_1_SimulatedSuite : public TestCommand { public: - Test_TC_PRS_3_1_SimulatedSuite() : TestCommand("Test_TC_PRS_3_1_Simulated", 13) + Test_TC_PRS_3_1_SimulatedSuite() : TestCommand("Test_TC_PRS_3_1_Simulated", 12) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -1182,7 +1082,7 @@ class Test_TC_PRS_3_1_SimulatedSuite : public TestCommand switch (mTestIndex - 1) { - case 0: + case 9: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); shouldContinue = true; break; @@ -1194,10 +1094,6 @@ class Test_TC_PRS_3_1_SimulatedSuite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); shouldContinue = true; break; - case 12: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); - shouldContinue = true; - break; default: LogErrorOnFailure(ContinueOnChipMainThread(CHIP_ERROR_INVALID_ARGUMENT)); } @@ -1214,49 +1110,43 @@ class Test_TC_PRS_3_1_SimulatedSuite : public TestCommand switch (testIndex) { case 0: { - LogStep(0, "Wait for the device to be commissioned"); - ListFreer listFreer; - chip::app::Clusters::DelayCommands::Commands::WaitForCommissioning::Type value; - return WaitForCommissioning(kIdentityAlpha, value); - } - case 1: { - LogStep(1, "Read attribute: MeasuredValue"); + LogStep(0, "Read attribute: MeasuredValue"); return WaitAttribute(GetEndpoint(0), PressureMeasurement::Id, PressureMeasurement::Attributes::MeasuredValue::Id); } - case 2: { - LogStep(2, "Read attribute: MinMeasuredValue"); + case 1: { + LogStep(1, "Read attribute: MinMeasuredValue"); return WaitAttribute(GetEndpoint(0), PressureMeasurement::Id, PressureMeasurement::Attributes::MinMeasuredValue::Id); } - case 3: { - LogStep(3, "Read attribute: MaxMeasuredValue"); + case 2: { + LogStep(2, "Read attribute: MaxMeasuredValue"); return WaitAttribute(GetEndpoint(0), PressureMeasurement::Id, PressureMeasurement::Attributes::MaxMeasuredValue::Id); } - case 4: { - LogStep(4, "Read attribute: Tolerance"); + case 3: { + LogStep(3, "Read attribute: Tolerance"); return WaitAttribute(GetEndpoint(0), PressureMeasurement::Id, PressureMeasurement::Attributes::Tolerance::Id); } - case 5: { - LogStep(5, "Read attribute: ScaledValue"); + case 4: { + LogStep(4, "Read attribute: ScaledValue"); return WaitAttribute(GetEndpoint(0), PressureMeasurement::Id, PressureMeasurement::Attributes::ScaledValue::Id); } - case 6: { - LogStep(6, "Read attribute: MinScaledValue"); + case 5: { + LogStep(5, "Read attribute: MinScaledValue"); return WaitAttribute(GetEndpoint(0), PressureMeasurement::Id, PressureMeasurement::Attributes::MinScaledValue::Id); } - case 7: { - LogStep(7, "Read attribute: MaxScaledValue"); + case 6: { + LogStep(6, "Read attribute: MaxScaledValue"); return WaitAttribute(GetEndpoint(0), PressureMeasurement::Id, PressureMeasurement::Attributes::MaxScaledValue::Id); } - case 8: { - LogStep(8, "Read attribute: ScaledTolerance"); + case 7: { + LogStep(7, "Read attribute: ScaledTolerance"); return WaitAttribute(GetEndpoint(0), PressureMeasurement::Id, PressureMeasurement::Attributes::ScaledTolerance::Id); } - case 9: { - LogStep(9, "Read attribute: Scale"); + case 8: { + LogStep(8, "Read attribute: Scale"); return WaitAttribute(GetEndpoint(0), PressureMeasurement::Id, PressureMeasurement::Attributes::Scale::Id); } - case 10: { - LogStep(10, + case 9: { + LogStep(9, "Configure TH such that it implements mandatory and none of the optional attributes of the server-side of the " "cluster, and that it also reflects this in global attributes such as FeatureMap and AttributeList.Commission " "DUT to TH again."); @@ -1268,8 +1158,8 @@ class Test_TC_PRS_3_1_SimulatedSuite : public TestCommand value.expectedValue.Value() = chip::Span("ygarbage: not in length on purpose", 1); return UserPrompt(kIdentityAlpha, value); } - case 11: { - LogStep(11, "DUT reads all supported optional attributes from TH one at a time in a manufacturer specific order"); + case 10: { + LogStep(10, "DUT reads all supported optional attributes from TH one at a time in a manufacturer specific order"); VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::LogCommands::Commands::UserPrompt::Type value; @@ -1278,8 +1168,8 @@ class Test_TC_PRS_3_1_SimulatedSuite : public TestCommand value.expectedValue.Value() = chip::Span("ygarbage: not in length on purpose", 1); return UserPrompt(kIdentityAlpha, value); } - case 12: { - LogStep(12, + case 11: { + LogStep(11, "DUT writes a suitable value to all supported optional attributes on the TH one at a time in a manufacturer " "specific order"); VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); @@ -1298,7 +1188,7 @@ class Test_TC_PRS_3_1_SimulatedSuite : public TestCommand class Test_TC_PS_3_1_SimulatedSuite : public TestCommand { public: - Test_TC_PS_3_1_SimulatedSuite() : TestCommand("Test_TC_PS_3_1_Simulated", 32) + Test_TC_PS_3_1_SimulatedSuite() : TestCommand("Test_TC_PS_3_1_Simulated", 31) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -1326,10 +1216,6 @@ class Test_TC_PS_3_1_SimulatedSuite : public TestCommand switch (mTestIndex - 1) { - case 0: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); - shouldContinue = true; - break; default: LogErrorOnFailure(ContinueOnChipMainThread(CHIP_ERROR_INVALID_ARGUMENT)); } @@ -1346,133 +1232,127 @@ class Test_TC_PS_3_1_SimulatedSuite : public TestCommand switch (testIndex) { case 0: { - LogStep(0, "Wait for the device to be commissioned"); - ListFreer listFreer; - chip::app::Clusters::DelayCommands::Commands::WaitForCommissioning::Type value; - return WaitForCommissioning(kIdentityAlpha, value); - } - case 1: { - LogStep(1, "Read attribute: Status"); + LogStep(0, "Read attribute: Status"); return WaitAttribute(GetEndpoint(0), PowerSource::Id, PowerSource::Attributes::Status::Id); } - case 2: { - LogStep(2, "Read attribute: Order"); + case 1: { + LogStep(1, "Read attribute: Order"); return WaitAttribute(GetEndpoint(0), PowerSource::Id, PowerSource::Attributes::Order::Id); } - case 3: { - LogStep(3, "Read attribute: Description"); + case 2: { + LogStep(2, "Read attribute: Description"); return WaitAttribute(GetEndpoint(0), PowerSource::Id, PowerSource::Attributes::Description::Id); } - case 4: { - LogStep(4, "Read attribute: WiredAssessedInputVoltage"); + case 3: { + LogStep(3, "Read attribute: WiredAssessedInputVoltage"); return WaitAttribute(GetEndpoint(0), PowerSource::Id, PowerSource::Attributes::WiredAssessedInputVoltage::Id); } - case 5: { - LogStep(5, "Read attribute: WiredAssessedInputFrequency"); + case 4: { + LogStep(4, "Read attribute: WiredAssessedInputFrequency"); return WaitAttribute(GetEndpoint(0), PowerSource::Id, PowerSource::Attributes::WiredAssessedInputFrequency::Id); } - case 6: { - LogStep(6, "Read attribute: WiredCurrentType"); + case 5: { + LogStep(5, "Read attribute: WiredCurrentType"); return WaitAttribute(GetEndpoint(0), PowerSource::Id, PowerSource::Attributes::WiredCurrentType::Id); } - case 7: { - LogStep(7, "Read attribute: WiredAssessedCurrent"); + case 6: { + LogStep(6, "Read attribute: WiredAssessedCurrent"); return WaitAttribute(GetEndpoint(0), PowerSource::Id, PowerSource::Attributes::WiredAssessedCurrent::Id); } - case 8: { - LogStep(8, "Read attribute: WiredNominalVoltage"); + case 7: { + LogStep(7, "Read attribute: WiredNominalVoltage"); return WaitAttribute(GetEndpoint(0), PowerSource::Id, PowerSource::Attributes::WiredNominalVoltage::Id); } - case 9: { - LogStep(9, "Read attribute: WiredPresent"); + case 8: { + LogStep(8, "Read attribute: WiredPresent"); return WaitAttribute(GetEndpoint(0), PowerSource::Id, PowerSource::Attributes::WiredPresent::Id); } - case 10: { - LogStep(10, "Read attribute: WiredMaximumCurrent"); + case 9: { + LogStep(9, "Read attribute: WiredMaximumCurrent"); return WaitAttribute(GetEndpoint(0), PowerSource::Id, PowerSource::Attributes::WiredMaximumCurrent::Id); } - case 11: { - LogStep(11, "Read attribute: ActiveWiredFaults"); + case 10: { + LogStep(10, "Read attribute: ActiveWiredFaults"); return WaitAttribute(GetEndpoint(0), PowerSource::Id, PowerSource::Attributes::ActiveWiredFaults::Id); } - case 12: { - LogStep(12, "Read attribute: BatVoltage"); + case 11: { + LogStep(11, "Read attribute: BatVoltage"); return WaitAttribute(GetEndpoint(0), PowerSource::Id, PowerSource::Attributes::BatVoltage::Id); } - case 13: { - LogStep(13, "Read attribute: BatPercentRemaining"); + case 12: { + LogStep(12, "Read attribute: BatPercentRemaining"); return WaitAttribute(GetEndpoint(0), PowerSource::Id, PowerSource::Attributes::BatPercentRemaining::Id); } - case 14: { - LogStep(14, "Read attribute: BatTimeRemaining"); + case 13: { + LogStep(13, "Read attribute: BatTimeRemaining"); return WaitAttribute(GetEndpoint(0), PowerSource::Id, PowerSource::Attributes::BatTimeRemaining::Id); } - case 15: { - LogStep(15, "Read attribute: BatChargeLevel"); + case 14: { + LogStep(14, "Read attribute: BatChargeLevel"); return WaitAttribute(GetEndpoint(0), PowerSource::Id, PowerSource::Attributes::BatChargeLevel::Id); } - case 16: { - LogStep(16, "Read attribute: BatReplacementNeeded"); + case 15: { + LogStep(15, "Read attribute: BatReplacementNeeded"); return WaitAttribute(GetEndpoint(0), PowerSource::Id, PowerSource::Attributes::BatReplacementNeeded::Id); } - case 17: { - LogStep(17, "Read attribute: BatReplaceability"); + case 16: { + LogStep(16, "Read attribute: BatReplaceability"); return WaitAttribute(GetEndpoint(0), PowerSource::Id, PowerSource::Attributes::BatReplaceability::Id); } - case 18: { - LogStep(18, "Read attribute: BatPresent"); + case 17: { + LogStep(17, "Read attribute: BatPresent"); return WaitAttribute(GetEndpoint(0), PowerSource::Id, PowerSource::Attributes::BatPresent::Id); } - case 19: { - LogStep(19, "Read attribute: ActiveBatFaults"); + case 18: { + LogStep(18, "Read attribute: ActiveBatFaults"); return WaitAttribute(GetEndpoint(0), PowerSource::Id, PowerSource::Attributes::ActiveBatFaults::Id); } - case 20: { - LogStep(20, "Read attribute: BatReplacementDescription"); + case 19: { + LogStep(19, "Read attribute: BatReplacementDescription"); return WaitAttribute(GetEndpoint(0), PowerSource::Id, PowerSource::Attributes::BatReplacementDescription::Id); } - case 21: { - LogStep(21, "Read attribute: BatCommonDesignation"); + case 20: { + LogStep(20, "Read attribute: BatCommonDesignation"); return WaitAttribute(GetEndpoint(0), PowerSource::Id, PowerSource::Attributes::BatCommonDesignation::Id); } - case 22: { - LogStep(22, "Read attribute: BatANSIDesignation"); + case 21: { + LogStep(21, "Read attribute: BatANSIDesignation"); return WaitAttribute(GetEndpoint(0), PowerSource::Id, PowerSource::Attributes::BatANSIDesignation::Id); } - case 23: { - LogStep(23, "Read attribute: BatIECDesignation"); + case 22: { + LogStep(22, "Read attribute: BatIECDesignation"); return WaitAttribute(GetEndpoint(0), PowerSource::Id, PowerSource::Attributes::BatIECDesignation::Id); } - case 24: { - LogStep(24, "Read attribute: BatApprovedChemistry"); + case 23: { + LogStep(23, "Read attribute: BatApprovedChemistry"); return WaitAttribute(GetEndpoint(0), PowerSource::Id, PowerSource::Attributes::BatApprovedChemistry::Id); } - case 25: { - LogStep(25, "Read attribute: BatCapacity"); + case 24: { + LogStep(24, "Read attribute: BatCapacity"); return WaitAttribute(GetEndpoint(0), PowerSource::Id, PowerSource::Attributes::BatCapacity::Id); } - case 26: { - LogStep(26, "Read attribute: BatQuantity"); + case 25: { + LogStep(25, "Read attribute: BatQuantity"); return WaitAttribute(GetEndpoint(0), PowerSource::Id, PowerSource::Attributes::BatQuantity::Id); } - case 27: { - LogStep(27, "Read attribute: BatChargeState"); + case 26: { + LogStep(26, "Read attribute: BatChargeState"); return WaitAttribute(GetEndpoint(0), PowerSource::Id, PowerSource::Attributes::BatChargeState::Id); } - case 28: { - LogStep(28, "Read attribute: BatTimeToFullCharge"); + case 27: { + LogStep(27, "Read attribute: BatTimeToFullCharge"); return WaitAttribute(GetEndpoint(0), PowerSource::Id, PowerSource::Attributes::BatTimeToFullCharge::Id); } - case 29: { - LogStep(29, "Read attribute: BatFunctionalWhileCharging"); + case 28: { + LogStep(28, "Read attribute: BatFunctionalWhileCharging"); return WaitAttribute(GetEndpoint(0), PowerSource::Id, PowerSource::Attributes::BatFunctionalWhileCharging::Id); } - case 30: { - LogStep(30, "Read attribute: BatChargingCurrent"); + case 29: { + LogStep(29, "Read attribute: BatChargingCurrent"); return WaitAttribute(GetEndpoint(0), PowerSource::Id, PowerSource::Attributes::BatChargingCurrent::Id); } - case 31: { - LogStep(31, "Read attribute: ActiveBatChargeFaults"); + case 30: { + LogStep(30, "Read attribute: ActiveBatChargeFaults"); return WaitAttribute(GetEndpoint(0), PowerSource::Id, PowerSource::Attributes::ActiveBatChargeFaults::Id); } } @@ -1483,7 +1363,7 @@ class Test_TC_PS_3_1_SimulatedSuite : public TestCommand class Test_TC_PSCFG_3_1_SimulatedSuite : public TestCommand { public: - Test_TC_PSCFG_3_1_SimulatedSuite() : TestCommand("Test_TC_PSCFG_3_1_Simulated", 5) + Test_TC_PSCFG_3_1_SimulatedSuite() : TestCommand("Test_TC_PSCFG_3_1_Simulated", 4) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -1511,7 +1391,7 @@ class Test_TC_PSCFG_3_1_SimulatedSuite : public TestCommand switch (mTestIndex - 1) { - case 0: + case 1: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); shouldContinue = true; break; @@ -1523,10 +1403,6 @@ class Test_TC_PSCFG_3_1_SimulatedSuite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); shouldContinue = true; break; - case 4: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); - shouldContinue = true; - break; default: LogErrorOnFailure(ContinueOnChipMainThread(CHIP_ERROR_INVALID_ARGUMENT)); } @@ -1543,17 +1419,11 @@ class Test_TC_PSCFG_3_1_SimulatedSuite : public TestCommand switch (testIndex) { case 0: { - LogStep(0, "Wait for the device to be commissioned"); - ListFreer listFreer; - chip::app::Clusters::DelayCommands::Commands::WaitForCommissioning::Type value; - return WaitForCommissioning(kIdentityAlpha, value); - } - case 1: { - LogStep(1, "Read attribute: Sources"); + LogStep(0, "Read attribute: Sources"); return WaitAttribute(GetEndpoint(0), PowerSourceConfiguration::Id, PowerSourceConfiguration::Attributes::Sources::Id); } - case 2: { - LogStep(2, + case 1: { + LogStep(1, "Configure TH such that it implements mandatory and none of the optional attributes of the server-side of the " "cluster, and that it also reflects this in global attributes such as FeatureMap and AttributeList. Commission " "DUT to TH again."); @@ -1565,8 +1435,8 @@ class Test_TC_PSCFG_3_1_SimulatedSuite : public TestCommand value.expectedValue.Value() = chip::Span("ygarbage: not in length on purpose", 1); return UserPrompt(kIdentityAlpha, value); } - case 3: { - LogStep(3, "DUT reads all supported optional attributes from TH one at a time in a manufacturer specific order"); + case 2: { + LogStep(2, "DUT reads all supported optional attributes from TH one at a time in a manufacturer specific order"); VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::LogCommands::Commands::UserPrompt::Type value; @@ -1575,8 +1445,8 @@ class Test_TC_PSCFG_3_1_SimulatedSuite : public TestCommand value.expectedValue.Value() = chip::Span("ygarbage: not in length on purpose", 1); return UserPrompt(kIdentityAlpha, value); } - case 4: { - LogStep(4, + case 3: { + LogStep(3, "DUT writes a suitable value to all supported optional attributes on the TH one at a time in a manufacturer " "specific order"); VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); @@ -1595,7 +1465,7 @@ class Test_TC_PSCFG_3_1_SimulatedSuite : public TestCommand class Test_TC_RH_3_1_SimulatedSuite : public TestCommand { public: - Test_TC_RH_3_1_SimulatedSuite() : TestCommand("Test_TC_RH_3_1_Simulated", 8) + Test_TC_RH_3_1_SimulatedSuite() : TestCommand("Test_TC_RH_3_1_Simulated", 7) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -1623,7 +1493,7 @@ class Test_TC_RH_3_1_SimulatedSuite : public TestCommand switch (mTestIndex - 1) { - case 0: + case 4: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); shouldContinue = true; break; @@ -1635,10 +1505,6 @@ class Test_TC_RH_3_1_SimulatedSuite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); shouldContinue = true; break; - case 7: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); - shouldContinue = true; - break; default: LogErrorOnFailure(ContinueOnChipMainThread(CHIP_ERROR_INVALID_ARGUMENT)); } @@ -1655,33 +1521,27 @@ class Test_TC_RH_3_1_SimulatedSuite : public TestCommand switch (testIndex) { case 0: { - LogStep(0, "Wait for the device to be commissioned"); - ListFreer listFreer; - chip::app::Clusters::DelayCommands::Commands::WaitForCommissioning::Type value; - return WaitForCommissioning(kIdentityAlpha, value); - } - case 1: { - LogStep(1, "Read attribute MeasuredValue"); + LogStep(0, "Read attribute MeasuredValue"); return WaitAttribute(GetEndpoint(0), RelativeHumidityMeasurement::Id, RelativeHumidityMeasurement::Attributes::MeasuredValue::Id); } - case 2: { - LogStep(2, "Read attribute MinMeasuredValue"); + case 1: { + LogStep(1, "Read attribute MinMeasuredValue"); return WaitAttribute(GetEndpoint(0), RelativeHumidityMeasurement::Id, RelativeHumidityMeasurement::Attributes::MinMeasuredValue::Id); } - case 3: { - LogStep(3, "Read attribute MaxMeasuredValue"); + case 2: { + LogStep(2, "Read attribute MaxMeasuredValue"); return WaitAttribute(GetEndpoint(0), RelativeHumidityMeasurement::Id, RelativeHumidityMeasurement::Attributes::MaxMeasuredValue::Id); } - case 4: { - LogStep(4, "Read attribute Tolerance"); + case 3: { + LogStep(3, "Read attribute Tolerance"); return WaitAttribute(GetEndpoint(0), RelativeHumidityMeasurement::Id, RelativeHumidityMeasurement::Attributes::Tolerance::Id); } - case 5: { - LogStep(5, + case 4: { + LogStep(4, "Configure TH such that it implements mandatory and none of the optional attributes of the server-side of the " "cluster, and that it also reflects this in global attributes such as FeatureMap and AttributeList.Commission " "DUT to TH again"); @@ -1693,8 +1553,8 @@ class Test_TC_RH_3_1_SimulatedSuite : public TestCommand value.expectedValue.Value() = chip::Span("ygarbage: not in length on purpose", 1); return UserPrompt(kIdentityAlpha, value); } - case 6: { - LogStep(6, "DUT reads all supported optional attributes from TH one at a time in a manufacturer specific order"); + case 5: { + LogStep(5, "DUT reads all supported optional attributes from TH one at a time in a manufacturer specific order"); VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::LogCommands::Commands::UserPrompt::Type value; @@ -1703,8 +1563,8 @@ class Test_TC_RH_3_1_SimulatedSuite : public TestCommand value.expectedValue.Value() = chip::Span("ygarbage: not in length on purpose", 1); return UserPrompt(kIdentityAlpha, value); } - case 7: { - LogStep(7, + case 6: { + LogStep(6, "DUT writes a suitable value to all supported optional attributes on the TH one at a time in a manufacturer " "specific order"); VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); @@ -1723,7 +1583,7 @@ class Test_TC_RH_3_1_SimulatedSuite : public TestCommand class Test_TC_SWTCH_3_1_SimulatedSuite : public TestCommand { public: - Test_TC_SWTCH_3_1_SimulatedSuite() : TestCommand("Test_TC_SWTCH_3_1_Simulated", 7) + Test_TC_SWTCH_3_1_SimulatedSuite() : TestCommand("Test_TC_SWTCH_3_1_Simulated", 6) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -1751,7 +1611,7 @@ class Test_TC_SWTCH_3_1_SimulatedSuite : public TestCommand switch (mTestIndex - 1) { - case 0: + case 3: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); shouldContinue = true; break; @@ -1763,10 +1623,6 @@ class Test_TC_SWTCH_3_1_SimulatedSuite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); shouldContinue = true; break; - case 6: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); - shouldContinue = true; - break; default: LogErrorOnFailure(ContinueOnChipMainThread(CHIP_ERROR_INVALID_ARGUMENT)); } @@ -1783,25 +1639,19 @@ class Test_TC_SWTCH_3_1_SimulatedSuite : public TestCommand switch (testIndex) { case 0: { - LogStep(0, "Wait for the device to be commissioned"); - ListFreer listFreer; - chip::app::Clusters::DelayCommands::Commands::WaitForCommissioning::Type value; - return WaitForCommissioning(kIdentityAlpha, value); - } - case 1: { - LogStep(1, "Read NumberOfPositions attribute"); + LogStep(0, "Read NumberOfPositions attribute"); return WaitAttribute(GetEndpoint(0), Switch::Id, Switch::Attributes::NumberOfPositions::Id); } - case 2: { - LogStep(2, "Read CurrentPosition attribute"); + case 1: { + LogStep(1, "Read CurrentPosition attribute"); return WaitAttribute(GetEndpoint(0), Switch::Id, Switch::Attributes::CurrentPosition::Id); } - case 3: { - LogStep(3, "Read MultiPressMax attribute"); + case 2: { + LogStep(2, "Read MultiPressMax attribute"); return WaitAttribute(GetEndpoint(0), Switch::Id, Switch::Attributes::MultiPressMax::Id); } - case 4: { - LogStep(4, + case 3: { + LogStep(3, "Configure TH such that it implements mandatory and none of the optional attributes of the server-side of the " "cluster, and that it also reflects this in global attributes such as FeatureMap and AttributeList. Commission " "DUT to TH again."); @@ -1813,8 +1663,8 @@ class Test_TC_SWTCH_3_1_SimulatedSuite : public TestCommand value.expectedValue.Value() = chip::Span("ygarbage: not in length on purpose", 1); return UserPrompt(kIdentityAlpha, value); } - case 5: { - LogStep(5, "DUT reads all supported optional attributes from TH one at a time in a manufacturer specific order"); + case 4: { + LogStep(4, "DUT reads all supported optional attributes from TH one at a time in a manufacturer specific order"); VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::LogCommands::Commands::UserPrompt::Type value; @@ -1823,8 +1673,8 @@ class Test_TC_SWTCH_3_1_SimulatedSuite : public TestCommand value.expectedValue.Value() = chip::Span("ygarbage: not in length on purpose", 1); return UserPrompt(kIdentityAlpha, value); } - case 6: { - LogStep(6, + case 5: { + LogStep(5, "DUT writes a suitable value to all supported optional attributes on the TH one at a time in a manufacturer " "specific order"); VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); @@ -1843,7 +1693,7 @@ class Test_TC_SWTCH_3_1_SimulatedSuite : public TestCommand class Test_TC_WNCV_5_1_SimulatedSuite : public TestCommand { public: - Test_TC_WNCV_5_1_SimulatedSuite() : TestCommand("Test_TC_WNCV_5_1_Simulated", 6) + Test_TC_WNCV_5_1_SimulatedSuite() : TestCommand("Test_TC_WNCV_5_1_Simulated", 5) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -1871,10 +1721,6 @@ class Test_TC_WNCV_5_1_SimulatedSuite : public TestCommand switch (mTestIndex - 1) { - case 0: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); - shouldContinue = true; - break; default: LogErrorOnFailure(ContinueOnChipMainThread(CHIP_ERROR_INVALID_ARGUMENT)); } @@ -1891,33 +1737,27 @@ class Test_TC_WNCV_5_1_SimulatedSuite : public TestCommand switch (testIndex) { case 0: { - LogStep(0, "Wait for the device to be commissioned"); - ListFreer listFreer; - chip::app::Clusters::DelayCommands::Commands::WaitForCommissioning::Type value; - return WaitForCommissioning(kIdentityAlpha, value); - } - case 1: { - LogStep(1, "DUT reads the FeatureMap attribute from TH"); + LogStep(0, "DUT reads the FeatureMap attribute from TH"); VerifyOrDo(!ShouldSkip("WNCV.C.Afffc"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), WindowCovering::Id, WindowCovering::Attributes::FeatureMap::Id); } - case 2: { - LogStep(2, "DUT reads the Type attribute from TH"); + case 1: { + LogStep(1, "DUT reads the Type attribute from TH"); VerifyOrDo(!ShouldSkip("WNCV.C.A0000"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), WindowCovering::Id, WindowCovering::Attributes::Type::Id); } - case 3: { - LogStep(3, "DUT reads the EndProductType attribute from TH"); + case 2: { + LogStep(2, "DUT reads the EndProductType attribute from TH"); VerifyOrDo(!ShouldSkip("WNCV.C.A000d"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), WindowCovering::Id, WindowCovering::Attributes::EndProductType::Id); } - case 4: { - LogStep(4, "DUT reads the Mode attribute from TH"); + case 3: { + LogStep(3, "DUT reads the Mode attribute from TH"); VerifyOrDo(!ShouldSkip("WNCV.C.A0017"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), WindowCovering::Id, WindowCovering::Attributes::Mode::Id); } - case 5: { - LogStep(5, "DUT reads the ConfigStatus attribute from TH"); + case 4: { + LogStep(4, "DUT reads the ConfigStatus attribute from TH"); VerifyOrDo(!ShouldSkip("WNCV.C.A0007"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), WindowCovering::Id, WindowCovering::Attributes::ConfigStatus::Id); } @@ -1929,7 +1769,7 @@ class Test_TC_WNCV_5_1_SimulatedSuite : public TestCommand class Test_TC_LCFG_3_1_SimulatedSuite : public TestCommand { public: - Test_TC_LCFG_3_1_SimulatedSuite() : TestCommand("Test_TC_LCFG_3_1_Simulated", 3) + Test_TC_LCFG_3_1_SimulatedSuite() : TestCommand("Test_TC_LCFG_3_1_Simulated", 2) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -1957,10 +1797,6 @@ class Test_TC_LCFG_3_1_SimulatedSuite : public TestCommand switch (mTestIndex - 1) { - case 0: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); - shouldContinue = true; - break; default: LogErrorOnFailure(ContinueOnChipMainThread(CHIP_ERROR_INVALID_ARGUMENT)); } @@ -1977,19 +1813,13 @@ class Test_TC_LCFG_3_1_SimulatedSuite : public TestCommand switch (testIndex) { case 0: { - LogStep(0, "Wait for the device to be commissioned"); - ListFreer listFreer; - chip::app::Clusters::DelayCommands::Commands::WaitForCommissioning::Type value; - return WaitForCommissioning(kIdentityAlpha, value); - } - case 1: { - LogStep(1, "DUT reads SupportedLocales attribute from TH"); + LogStep(0, "DUT reads SupportedLocales attribute from TH"); VerifyOrDo(!ShouldSkip("LCFG.C.A0001"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(1), LocalizationConfiguration::Id, LocalizationConfiguration::Attributes::SupportedLocales::Id); } - case 2: { - LogStep(2, "DUT reads ActiveLocale attribute from TH"); + case 1: { + LogStep(1, "DUT reads ActiveLocale attribute from TH"); VerifyOrDo(!ShouldSkip("LCFG.C.A0000"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(1), LocalizationConfiguration::Id, LocalizationConfiguration::Attributes::ActiveLocale::Id); @@ -2002,7 +1832,7 @@ class Test_TC_LCFG_3_1_SimulatedSuite : public TestCommand class Test_TC_LUNIT_1_1_SimulatedSuite : public TestCommand { public: - Test_TC_LUNIT_1_1_SimulatedSuite() : TestCommand("Test_TC_LUNIT_1_1_Simulated", 6) + Test_TC_LUNIT_1_1_SimulatedSuite() : TestCommand("Test_TC_LUNIT_1_1_Simulated", 5) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -2030,10 +1860,6 @@ class Test_TC_LUNIT_1_1_SimulatedSuite : public TestCommand switch (mTestIndex - 1) { - case 0: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); - shouldContinue = true; - break; default: LogErrorOnFailure(ContinueOnChipMainThread(CHIP_ERROR_INVALID_ARGUMENT)); } @@ -2050,33 +1876,27 @@ class Test_TC_LUNIT_1_1_SimulatedSuite : public TestCommand switch (testIndex) { case 0: { - LogStep(0, "Wait for the device to be commissioned"); - ListFreer listFreer; - chip::app::Clusters::DelayCommands::Commands::WaitForCommissioning::Type value; - return WaitForCommissioning(kIdentityAlpha, value); - } - case 1: { - LogStep(1, "DUT read (0xFFFD) ClusterRevision attribute"); + LogStep(0, "DUT read (0xFFFD) ClusterRevision attribute"); VerifyOrDo(!ShouldSkip("LUNIT.C.Afffd"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(1), UnitLocalization::Id, UnitLocalization::Attributes::ClusterRevision::Id); } - case 2: { - LogStep(2, "DUT read (0xFFFC) FeatureMap attribute"); + case 1: { + LogStep(1, "DUT read (0xFFFC) FeatureMap attribute"); VerifyOrDo(!ShouldSkip("LUNIT.C.Afffc"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(1), UnitLocalization::Id, UnitLocalization::Attributes::FeatureMap::Id); } - case 3: { - LogStep(3, "DUT read (0xFFFB) AttributeList attribute"); + case 2: { + LogStep(2, "DUT read (0xFFFB) AttributeList attribute"); VerifyOrDo(!ShouldSkip("LUNIT.C.Afffb"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(1), UnitLocalization::Id, UnitLocalization::Attributes::AttributeList::Id); } - case 4: { - LogStep(4, "DUT read (0xFFF9) AcceptedCommandList attribute"); + case 3: { + LogStep(3, "DUT read (0xFFF9) AcceptedCommandList attribute"); VerifyOrDo(!ShouldSkip("LUNIT.C.Afff9"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(1), UnitLocalization::Id, UnitLocalization::Attributes::AcceptedCommandList::Id); } - case 5: { - LogStep(5, "DUT read (0xFFF8) GeneratedCommandList attribute"); + case 4: { + LogStep(4, "DUT read (0xFFF8) GeneratedCommandList attribute"); VerifyOrDo(!ShouldSkip("LUNIT.C.Afff8"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(1), UnitLocalization::Id, UnitLocalization::Attributes::GeneratedCommandList::Id); } @@ -2088,7 +1908,7 @@ class Test_TC_LUNIT_1_1_SimulatedSuite : public TestCommand class Test_TC_LUNIT_2_1_SimulatedSuite : public TestCommand { public: - Test_TC_LUNIT_2_1_SimulatedSuite() : TestCommand("Test_TC_LUNIT_2_1_Simulated", 4) + Test_TC_LUNIT_2_1_SimulatedSuite() : TestCommand("Test_TC_LUNIT_2_1_Simulated", 3) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -2116,10 +1936,6 @@ class Test_TC_LUNIT_2_1_SimulatedSuite : public TestCommand switch (mTestIndex - 1) { - case 0: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); - shouldContinue = true; - break; default: LogErrorOnFailure(ContinueOnChipMainThread(CHIP_ERROR_INVALID_ARGUMENT)); } @@ -2136,23 +1952,17 @@ class Test_TC_LUNIT_2_1_SimulatedSuite : public TestCommand switch (testIndex) { case 0: { - LogStep(0, "Wait for the device to be commissioned"); - ListFreer listFreer; - chip::app::Clusters::DelayCommands::Commands::WaitForCommissioning::Type value; - return WaitForCommissioning(kIdentityAlpha, value); - } - case 1: { - LogStep(1, "DUT reads TemperatureUnit attribute from TH"); + LogStep(0, "DUT reads TemperatureUnit attribute from TH"); VerifyOrDo(!ShouldSkip("LUNIT.C.A0000"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(1), UnitLocalization::Id, UnitLocalization::Attributes::TemperatureUnit::Id); } - case 2: { - LogStep(2, "DUT writes 2 to TemperatureUnit attribute on TH"); + case 1: { + LogStep(1, "DUT writes 2 to TemperatureUnit attribute on TH"); VerifyOrDo(!ShouldSkip("LUNIT.C.A0000"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(1), UnitLocalization::Id, UnitLocalization::Attributes::TemperatureUnit::Id); } - case 3: { - LogStep(3, "DUT reads TemperatureUnit attribute from TH"); + case 2: { + LogStep(2, "DUT reads TemperatureUnit attribute from TH"); VerifyOrDo(!ShouldSkip("LUNIT.C.A0000"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(1), UnitLocalization::Id, UnitLocalization::Attributes::TemperatureUnit::Id); } @@ -2164,7 +1974,7 @@ class Test_TC_LUNIT_2_1_SimulatedSuite : public TestCommand class Test_TC_OCC_2_2_SimulatedSuite : public TestCommand { public: - Test_TC_OCC_2_2_SimulatedSuite() : TestCommand("Test_TC_OCC_2_2_Simulated", 13) + Test_TC_OCC_2_2_SimulatedSuite() : TestCommand("Test_TC_OCC_2_2_Simulated", 12) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -2192,10 +2002,6 @@ class Test_TC_OCC_2_2_SimulatedSuite : public TestCommand switch (mTestIndex - 1) { - case 0: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); - shouldContinue = true; - break; default: LogErrorOnFailure(ContinueOnChipMainThread(CHIP_ERROR_INVALID_ARGUMENT)); } @@ -2212,76 +2018,70 @@ class Test_TC_OCC_2_2_SimulatedSuite : public TestCommand switch (testIndex) { case 0: { - LogStep(0, "Wait for the device to be commissioned"); - ListFreer listFreer; - chip::app::Clusters::DelayCommands::Commands::WaitForCommissioning::Type value; - return WaitForCommissioning(kIdentityAlpha, value); - } - case 1: { - LogStep(1, "DUT reads from the TH the (0x0000) Occupancy attribute"); + LogStep(0, "DUT reads from the TH the (0x0000) Occupancy attribute"); VerifyOrDo(!ShouldSkip("OCC.C.A0000"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), OccupancySensing::Id, OccupancySensing::Attributes::Occupancy::Id); } - case 2: { - LogStep(2, "DUT reads from the TH the (0x0001) OccupancySensorType attribute"); + case 1: { + LogStep(1, "DUT reads from the TH the (0x0001) OccupancySensorType attribute"); VerifyOrDo(!ShouldSkip("OCC.C.A0001"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), OccupancySensing::Id, OccupancySensing::Attributes::OccupancySensorType::Id); } - case 3: { - LogStep(3, "DUT reads from the TH the (0x0002) OccupancySensorTypeBitmap attribute"); + case 2: { + LogStep(2, "DUT reads from the TH the (0x0002) OccupancySensorTypeBitmap attribute"); VerifyOrDo(!ShouldSkip("OCC.C.A0002"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), OccupancySensing::Id, OccupancySensing::Attributes::OccupancySensorTypeBitmap::Id); } - case 4: { - LogStep(4, "DUT reads from the TH the (0x0010) PIROccupiedToUnoccupiedDelay optional attribute"); + case 3: { + LogStep(3, "DUT reads from the TH the (0x0010) PIROccupiedToUnoccupiedDelay optional attribute"); VerifyOrDo(!ShouldSkip("OCC.C.A0010"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), OccupancySensing::Id, OccupancySensing::Attributes::PIROccupiedToUnoccupiedDelay::Id); } - case 5: { - LogStep(5, "DUT reads from the TH the (0x0011) PIRUnoccupiedToOccupiedDelay optional attribute"); + case 4: { + LogStep(4, "DUT reads from the TH the (0x0011) PIRUnoccupiedToOccupiedDelay optional attribute"); VerifyOrDo(!ShouldSkip("OCC.C.A0011"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), OccupancySensing::Id, OccupancySensing::Attributes::PIRUnoccupiedToOccupiedDelay::Id); } - case 6: { - LogStep(6, "DUT reads from the TH the (0x0012) PIRUnoccupiedToOccupiedThreshold optional attribute"); + case 5: { + LogStep(5, "DUT reads from the TH the (0x0012) PIRUnoccupiedToOccupiedThreshold optional attribute"); VerifyOrDo(!ShouldSkip("OCC.C.A0012"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), OccupancySensing::Id, OccupancySensing::Attributes::PIRUnoccupiedToOccupiedThreshold::Id); } - case 7: { - LogStep(7, "DUT reads from the TH the (0x0020) UltrasonicOccupiedToUnoccupiedDelay optional attribute"); + case 6: { + LogStep(6, "DUT reads from the TH the (0x0020) UltrasonicOccupiedToUnoccupiedDelay optional attribute"); VerifyOrDo(!ShouldSkip("OCC.C.A0020"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), OccupancySensing::Id, OccupancySensing::Attributes::UltrasonicOccupiedToUnoccupiedDelay::Id); } - case 8: { - LogStep(8, "DUT reads from the TH the (0x0021) UltrasonicUnoccupiedToOccupiedDelay optional attribute"); + case 7: { + LogStep(7, "DUT reads from the TH the (0x0021) UltrasonicUnoccupiedToOccupiedDelay optional attribute"); VerifyOrDo(!ShouldSkip("OCC.C.A0021"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), OccupancySensing::Id, OccupancySensing::Attributes::UltrasonicUnoccupiedToOccupiedDelay::Id); } - case 9: { - LogStep(9, "DUT reads from the TH the (0x0022) UltrasonicUnoccupiedToOccupiedThreshold optional attribute"); + case 8: { + LogStep(8, "DUT reads from the TH the (0x0022) UltrasonicUnoccupiedToOccupiedThreshold optional attribute"); VerifyOrDo(!ShouldSkip("OCC.C.A0022"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), OccupancySensing::Id, OccupancySensing::Attributes::UltrasonicUnoccupiedToOccupiedThreshold::Id); } - case 10: { - LogStep(10, "DUT reads from the TH the (0x0030) PhysicalContactOccupiedToUnoccupiedDelay optional attribute"); + case 9: { + LogStep(9, "DUT reads from the TH the (0x0030) PhysicalContactOccupiedToUnoccupiedDelay optional attribute"); VerifyOrDo(!ShouldSkip("OCC.C.A0030"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), OccupancySensing::Id, OccupancySensing::Attributes::PhysicalContactOccupiedToUnoccupiedDelay::Id); } - case 11: { - LogStep(11, "DUT reads from the TH the (0x0031) PhysicalContactUnoccupiedToOccupiedDelay optional attribute"); + case 10: { + LogStep(10, "DUT reads from the TH the (0x0031) PhysicalContactUnoccupiedToOccupiedDelay optional attribute"); VerifyOrDo(!ShouldSkip("OCC.C.A0031"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), OccupancySensing::Id, OccupancySensing::Attributes::PhysicalContactUnoccupiedToOccupiedDelay::Id); } - case 12: { - LogStep(12, "DUT reads from the TH the (0x0032) PhysicalContactUnoccupiedToOccupiedThreshold optional attribute"); + case 11: { + LogStep(11, "DUT reads from the TH the (0x0032) PhysicalContactUnoccupiedToOccupiedThreshold optional attribute"); VerifyOrDo(!ShouldSkip("OCC.C.A0032"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), OccupancySensing::Id, OccupancySensing::Attributes::PhysicalContactUnoccupiedToOccupiedThreshold::Id); @@ -2294,7 +2094,7 @@ class Test_TC_OCC_2_2_SimulatedSuite : public TestCommand class Test_TC_OCC_2_4_SimulatedSuite : public TestCommand { public: - Test_TC_OCC_2_4_SimulatedSuite() : TestCommand("Test_TC_OCC_2_4_Simulated", 3) + Test_TC_OCC_2_4_SimulatedSuite() : TestCommand("Test_TC_OCC_2_4_Simulated", 2) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -2322,10 +2122,6 @@ class Test_TC_OCC_2_4_SimulatedSuite : public TestCommand switch (mTestIndex - 1) { - case 0: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); - shouldContinue = true; - break; default: LogErrorOnFailure(ContinueOnChipMainThread(CHIP_ERROR_INVALID_ARGUMENT)); } @@ -2342,18 +2138,12 @@ class Test_TC_OCC_2_4_SimulatedSuite : public TestCommand switch (testIndex) { case 0: { - LogStep(0, "Wait for the device to be commissioned"); - ListFreer listFreer; - chip::app::Clusters::DelayCommands::Commands::WaitForCommissioning::Type value; - return WaitForCommissioning(kIdentityAlpha, value); - } - case 1: { - LogStep(1, "TH reads OccupancySensorType attribute from DUT"); + LogStep(0, "TH reads OccupancySensorType attribute from DUT"); VerifyOrDo(!ShouldSkip("OCC.S.A0001"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), OccupancySensing::Id, OccupancySensing::Attributes::OccupancySensorType::Id); } - case 2: { - LogStep(2, "TH reads OccupancySensorTypeBitmap attribute from DUT"); + case 1: { + LogStep(1, "TH reads OccupancySensorTypeBitmap attribute from DUT"); VerifyOrDo(!ShouldSkip("OCC.S.A0002"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), OccupancySensing::Id, OccupancySensing::Attributes::OccupancySensorTypeBitmap::Id); } @@ -2365,7 +2155,7 @@ class Test_TC_OCC_2_4_SimulatedSuite : public TestCommand class Test_TC_ULABEL_3_1_SimulatedSuite : public TestCommand { public: - Test_TC_ULABEL_3_1_SimulatedSuite() : TestCommand("Test_TC_ULABEL_3_1_Simulated", 3) + Test_TC_ULABEL_3_1_SimulatedSuite() : TestCommand("Test_TC_ULABEL_3_1_Simulated", 2) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -2393,10 +2183,6 @@ class Test_TC_ULABEL_3_1_SimulatedSuite : public TestCommand switch (mTestIndex - 1) { - case 0: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); - shouldContinue = true; - break; default: LogErrorOnFailure(ContinueOnChipMainThread(CHIP_ERROR_INVALID_ARGUMENT)); } @@ -2413,20 +2199,14 @@ class Test_TC_ULABEL_3_1_SimulatedSuite : public TestCommand switch (testIndex) { case 0: { - LogStep(0, "Wait for the device to be commissioned"); - ListFreer listFreer; - chip::app::Clusters::DelayCommands::Commands::WaitForCommissioning::Type value; - return WaitForCommissioning(kIdentityAlpha, value); - } - case 1: { - LogStep(1, "Read attribute: LabelList"); + LogStep(0, "Read attribute: LabelList"); VerifyOrDo(!ShouldSkip("ULABEL.C.A0000"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); - return WaitAttribute(GetEndpoint(0), UserLabel::Id, UserLabel::Attributes::LabelList::Id); + return WaitAttribute(GetEndpoint(1), UserLabel::Id, UserLabel::Attributes::LabelList::Id); } - case 2: { - LogStep(2, "write attribute: LabelList"); + case 1: { + LogStep(1, "write attribute: LabelList"); VerifyOrDo(!ShouldSkip("ULABEL.C.A0000"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); - return WaitAttribute(GetEndpoint(0), UserLabel::Id, UserLabel::Attributes::LabelList::Id); + return WaitAttribute(GetEndpoint(1), UserLabel::Id, UserLabel::Attributes::LabelList::Id); } } return CHIP_NO_ERROR; @@ -2436,7 +2216,7 @@ class Test_TC_ULABEL_3_1_SimulatedSuite : public TestCommand class Test_TC_FLABEL_3_1_SimulatedSuite : public TestCommand { public: - Test_TC_FLABEL_3_1_SimulatedSuite() : TestCommand("Test_TC_FLABEL_3_1_Simulated", 2) + Test_TC_FLABEL_3_1_SimulatedSuite() : TestCommand("Test_TC_FLABEL_3_1_Simulated", 1) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -2464,10 +2244,6 @@ class Test_TC_FLABEL_3_1_SimulatedSuite : public TestCommand switch (mTestIndex - 1) { - case 0: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); - shouldContinue = true; - break; default: LogErrorOnFailure(ContinueOnChipMainThread(CHIP_ERROR_INVALID_ARGUMENT)); } @@ -2484,13 +2260,7 @@ class Test_TC_FLABEL_3_1_SimulatedSuite : public TestCommand switch (testIndex) { case 0: { - LogStep(0, "Wait for the device to be commissioned"); - ListFreer listFreer; - chip::app::Clusters::DelayCommands::Commands::WaitForCommissioning::Type value; - return WaitForCommissioning(kIdentityAlpha, value); - } - case 1: { - LogStep(1, "DUT reads LabelList from the TH"); + LogStep(0, "DUT reads LabelList from the TH"); VerifyOrDo(!ShouldSkip("FLABEL.C.A0000"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(1), FixedLabel::Id, FixedLabel::Attributes::LabelList::Id); } @@ -2502,7 +2272,7 @@ class Test_TC_FLABEL_3_1_SimulatedSuite : public TestCommand class Test_TC_LTIME_1_1_SimulatedSuite : public TestCommand { public: - Test_TC_LTIME_1_1_SimulatedSuite() : TestCommand("Test_TC_LTIME_1_1_Simulated", 6) + Test_TC_LTIME_1_1_SimulatedSuite() : TestCommand("Test_TC_LTIME_1_1_Simulated", 5) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -2530,10 +2300,6 @@ class Test_TC_LTIME_1_1_SimulatedSuite : public TestCommand switch (mTestIndex - 1) { - case 0: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); - shouldContinue = true; - break; default: LogErrorOnFailure(ContinueOnChipMainThread(CHIP_ERROR_INVALID_ARGUMENT)); } @@ -2550,35 +2316,29 @@ class Test_TC_LTIME_1_1_SimulatedSuite : public TestCommand switch (testIndex) { case 0: { - LogStep(0, "Wait for the device to be commissioned"); - ListFreer listFreer; - chip::app::Clusters::DelayCommands::Commands::WaitForCommissioning::Type value; - return WaitForCommissioning(kIdentityAlpha, value); - } - case 1: { - LogStep(1, "DUT read (0xFFFD) ClusterRevision attribute"); + LogStep(0, "DUT read (0xFFFD) ClusterRevision attribute"); VerifyOrDo(!ShouldSkip("LTIME.C.Afffd"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), TimeFormatLocalization::Id, TimeFormatLocalization::Attributes::ClusterRevision::Id); } - case 2: { - LogStep(2, "DUT read (0xFFFC) FeatureMap attribute"); + case 1: { + LogStep(1, "DUT read (0xFFFC) FeatureMap attribute"); VerifyOrDo(!ShouldSkip("LTIME.C.Afffc"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), TimeFormatLocalization::Id, TimeFormatLocalization::Attributes::FeatureMap::Id); } - case 3: { - LogStep(3, "DUT read (0xFFFB) AttributeList attribute"); + case 2: { + LogStep(2, "DUT read (0xFFFB) AttributeList attribute"); VerifyOrDo(!ShouldSkip("LTIME.C.Afffb"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), TimeFormatLocalization::Id, TimeFormatLocalization::Attributes::AttributeList::Id); } - case 4: { - LogStep(4, "DUT read (0xFFF9) AcceptedCommandList attribute"); + case 3: { + LogStep(3, "DUT read (0xFFF9) AcceptedCommandList attribute"); VerifyOrDo(!ShouldSkip("LTIME.C.Afff9"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), TimeFormatLocalization::Id, TimeFormatLocalization::Attributes::AcceptedCommandList::Id); } - case 5: { - LogStep(5, "DUT read (0xFFF8) GeneratedCommandList attribute"); + case 4: { + LogStep(4, "DUT read (0xFFF8) GeneratedCommandList attribute"); VerifyOrDo(!ShouldSkip("LTIME.C.Afff8"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), TimeFormatLocalization::Id, TimeFormatLocalization::Attributes::GeneratedCommandList::Id);