From 4f595e4812cef32fee3efddd627ad9d10e1d22a7 Mon Sep 17 00:00:00 2001 From: kowsisoundhar12 <57476670+kowsisoundhar12@users.noreply.github.com> Date: Thu, 7 Jul 2022 06:58:40 +0530 Subject: [PATCH] Added PICS condition (#20320) --- src/app/tests/suites/certification/PICS.yaml | 416 ++++- .../certification/Test_TC_BIND_2_1.yaml | 101 +- .../certification/Test_TC_BIND_2_2.yaml | 119 ++ .../certification/Test_TC_BIND_2_3.yaml | 121 ++ .../suites/certification/Test_TC_DD_1_11.yaml | 8 + .../suites/certification/Test_TC_DD_1_12.yaml | 105 +- .../suites/certification/Test_TC_DD_1_5.yaml | 37 +- .../suites/certification/Test_TC_DD_1_8.yaml | 53 +- .../suites/certification/Test_TC_DD_2_1.yaml | 125 +- .../suites/certification/Test_TC_DD_2_2.yaml | 8 + .../suites/certification/Test_TC_DD_3_1.yaml | 1 + .../suites/certification/Test_TC_DD_3_11.yaml | 67 +- .../suites/certification/Test_TC_DD_3_12.yaml | 84 +- .../suites/certification/Test_TC_DD_3_13.yaml | 88 +- .../suites/certification/Test_TC_DD_3_14.yaml | 57 +- .../suites/certification/Test_TC_DD_3_15.yaml | 45 +- .../suites/certification/Test_TC_DD_3_16.yaml | 179 +-- .../suites/certification/Test_TC_DD_3_17.yaml | 220 +-- .../suites/certification/Test_TC_DD_3_18.yaml | 90 +- .../suites/certification/Test_TC_DD_3_19.yaml | 28 +- .../suites/certification/Test_TC_DD_3_2.yaml | 1 + .../suites/certification/Test_TC_DD_3_20.yaml | 8 +- .../suites/certification/Test_TC_DD_3_3.yaml | 598 +------ .../suites/certification/Test_TC_DD_3_4.yaml | 595 +------ .../suites/certification/Test_TC_DD_3_5.yaml | 51 +- .../suites/certification/Test_TC_DD_3_6.yaml | 5 +- .../suites/certification/Test_TC_DD_3_7.yaml | 17 +- .../suites/certification/Test_TC_DD_3_8.yaml | 12 +- .../certification/Test_TC_DGETH_2_1.yaml | 23 +- .../certification/Test_TC_DGETH_2_2.yaml | 12 +- .../certification/Test_TC_DGETH_3_1.yaml | 320 +--- .../certification/Test_TC_DGETH_3_2.yaml | 5 +- .../certification/Test_TC_DGWIFI_2_1.yaml | 20 +- .../certification/Test_TC_DGWIFI_2_2.yaml | 3 + .../certification/Test_TC_DGWIFI_2_3.yaml | 14 +- .../certification/Test_TC_DGWIFI_3_1.yaml | 51 +- .../certification/Test_TC_DGWIFI_3_2.yaml | 3 +- .../suites/certification/Test_TC_IDM_1_1.yaml | 146 +- .../suites/certification/Test_TC_IDM_1_2.yaml | 124 +- .../suites/certification/Test_TC_IDM_2_2.yaml | 460 +++--- .../suites/certification/Test_TC_IDM_3_1.yaml | 488 +++--- .../suites/certification/Test_TC_IDM_3_2.yaml | 162 +- .../suites/certification/Test_TC_IDM_4_1.yaml | 571 +++---- .../suites/certification/Test_TC_IDM_4_2.yaml | 77 +- .../suites/certification/Test_TC_IDM_4_3.yaml | 1429 ++++++----------- .../suites/certification/Test_TC_IDM_5_1.yaml | 246 +-- .../suites/certification/Test_TC_IDM_5_2.yaml | 205 +-- .../suites/certification/Test_TC_IDM_6_1.yaml | 145 +- .../suites/certification/Test_TC_IDM_6_2.yaml | 1314 +++++++++------ .../suites/certification/Test_TC_IDM_6_3.yaml | 66 +- .../suites/certification/Test_TC_IDM_6_4.yaml | 243 +-- .../suites/certification/Test_TC_IDM_7_1.yaml | 289 +++- .../suites/certification/Test_TC_LVL_2_1.yaml | 20 +- .../suites/certification/Test_TC_LVL_2_2.yaml | 19 + .../suites/certification/Test_TC_LVL_2_3.yaml | 548 +++++-- .../suites/certification/Test_TC_LVL_3_1.yaml | 13 + .../suites/certification/Test_TC_LVL_4_1.yaml | 12 +- .../suites/certification/Test_TC_LVL_5_1.yaml | 8 + .../suites/certification/Test_TC_LVL_6_1.yaml | 9 + .../suites/certification/Test_TC_LVL_7_1.yaml | 169 ++ .../suites/certification/Test_TC_OCC_2_2.yaml | 220 +++ .../suites/certification/Test_TC_OCC_2_3.yaml | 2 + .../suites/certification/Test_TC_OCC_2_4.yaml | 2 + .../suites/certification/Test_TC_OCC_3_1.yaml | 6 +- .../suites/certification/Test_TC_OCC_3_2.yaml | 5 +- .../tests/suites/certification/ci-pics-values | 121 +- src/app/tests/suites/tests.js | 14 +- .../chip-tool/zap-generated/test/Commands.h | 391 ++++- .../zap-generated/test/Commands.h | 402 ++++- 69 files changed, 6424 insertions(+), 5192 deletions(-) create mode 100644 src/app/tests/suites/certification/Test_TC_BIND_2_2.yaml create mode 100644 src/app/tests/suites/certification/Test_TC_BIND_2_3.yaml create mode 100644 src/app/tests/suites/certification/Test_TC_LVL_7_1.yaml create mode 100644 src/app/tests/suites/certification/Test_TC_OCC_2_2.yaml diff --git a/src/app/tests/suites/certification/PICS.yaml b/src/app/tests/suites/certification/PICS.yaml index 1fb5b9230bc998..763e551ca6a18f 100644 --- a/src/app/tests/suites/certification/PICS.yaml +++ b/src/app/tests/suites/certification/PICS.yaml @@ -651,15 +651,6 @@ PICS: - label: "Supports a System Mode of Auto" id: TSTAT_AUTO - # Occupency sensing cluster - - label: "Does the device implement the Occupancy attribute?" - id: A_OCCUPANCY - - - label: - "Can the Occupancy attribute changed by physical control at the - device?" - id: MANUAL_OCCUPANCY_CHANGE - # Window covering cluster ## WC-Features - label: "Does the device implement the Lift feature?" @@ -956,6 +947,7 @@ PICS: device?" id: PRS.M.PressureChange + # Occupency sensing cluster - label: "Does the device implement the Occupancy attribute?" id: OCC.S.A0000 @@ -1009,20 +1001,153 @@ PICS: PhysicalContactUnoccupiedToOccupiedThreshold attribute?" id: OCC.S.A0032 + - label: + "Can the Occupancy attribute changed by physical control at the + device?" + id: OCC.M.OccupancyChange + + - label: "Does the device implement the Occupancy attribute?" + id: OCC.C.A0000 + + - label: "Does the device implement the OccupancySensorType attribute?" + id: OCC.C.A0001 + + - label: + "Does the device implement the OccupancySensorTypeBitmap attribute?" + id: OCC.C.A0002 + + - label: + "Does the device implement the PIROccupiedToUnoccupiedDelay attribute?" + id: OCC.C.A0010 + + - label: + "Does the device implement the PIRUnoccupiedToOccupiedDelay attribute?" + id: OCC.C.A0011 + + - label: + "Does the device implement the PIRUnoccupiedToOccupiedThreshold + attribute?" + id: OCC.C.A0012 + + - label: + "Does the device implement the UltrasonicOccupiedToUnoccupiedDelay + attribute?" + id: OCC.C.A0020 + + - label: + "Does the device implement the UltrasonicUnoccupiedToOccupiedDelay + attribute?" + id: OCC.C.A0021 + + - label: + "Does the device implement the UltrasonicUnoccupiedToOccupiedThreshold + attribute?" + id: OCC.C.A0022 + + - label: + "Does the device implement the + PhysicalContactOccupiedToUnoccupiedDelay attribute?" + id: OCC.C.A0030 + + - label: + "Does the device implement the + PhysicalContactUnoccupiedToOccupiedDelay attribute?" + id: OCC.C.A0031 + + - label: + "Does the device implement the + PhysicalContactUnoccupiedToOccupiedThreshold attribute?" + id: OCC.C.A0032 + - label: "Does the device implement the Tolerance attribute?" id: FLW.S.A0003 + - label: "Does the device support extended range and resolution?" + id: PRS.S.F00 + + #Level Control Cluster + - label: + "Does the DUT(server) support the Behavior that supports lighting + applications feature?" + id: LVL.S.F01 + - label: "Does the DUT(server) support the Frequency attributes and behavior feature?" id: LVL.S.F02 - - label: "Does the DUT(server) support the MaxLevel attribute?" - id: LVL.S.A0003 + - label: "Does the DUT(server) support the CurrentLevel attribute?" + id: LVL.S.A0000 + + - label: "Does the DUT(server) support the RemainingTime attribute?" + id: LVL.S.A0001 - label: "Does the DUT(server) support the MinLevel attribute?" id: LVL.S.A0002 + - label: "Does the DUT(server) support the MaxLevel attribute?" + id: LVL.S.A0003 + + - label: "Does the DUT(server) support the CurrentFrequency attribute?" + id: LVL.S.A0004 + + - label: "Does the DUT(server) support the MinFrequency attribute?" + id: LVL.S.A0005 + + - label: "Does the DUT(server) support the MaxFrequency attribute?" + id: LVL.S.A0006 + + - label: "Does the DUT(server) support the Options attribute?" + id: LVL.S.A000f + + - label: "Does the DUT(server) support the OnOffTransitionTime attribute?" + id: LVL.S.A0010 + + - label: "Does the DUT(server) support the OnLevel attribute?" + id: LVL.S.A0011 + + - label: "Does the DUT(server) support the OnTransitionTime attribute?" + id: LVL.S.A0012 + + - label: "Does the DUT(server) support the OffTransitionTime attribute?" + id: LVL.S.A0013 + + - label: "Does the DUT(server) support the DefaultMoveRate attribute?" + id: LVL.S.A0014 + + - label: "Does the DUT(server) support the StartUpCurrentLevel attribute?" + id: LVL.S.A4000 + + - label: "Does the DUT(server) support the MoveToLevel command?" + id: LVL.S.C00.Rsp + + - label: "Does the DUT(server) support the Move command?" + id: LVL.S.C01.Rsp + + - label: "Does the DUT(server) support the Step command?" + id: LVL.S.C02.Rsp + + - label: "Does the DUT(server) support the Stop command?" + id: LVL.S.C03.Rsp + + - label: "Does the DUT(server) support the MoveToLevel with On/Off command?" + id: LVL.S.C04.Rsp + + - label: "Does the DUT(server) support the Move with On/Off command?" + id: LVL.S.C05.Rsp + + - label: "Does the DUT(server) support the Step with On/Off command?" + id: LVL.S.C06.Rsp + + - label: "Does the DUT(server) support the Stop with On/Off command?" + id: LVL.S.C07.Rsp + + - label: "Does the DUT(server) support the MoveToClosestFrequency command?" + id: LVL.S.C08.Rsp + + - label: "Is the DUT(server) able to move at a variable rate feature?" + id: LVL.S.M.VarRate + #Groups Cluster - label: "Does the DUT(Server) support NameSupport attribute?" id: G.S.A0000 @@ -1234,11 +1359,6 @@ PICS: - label: "Does the MS device support Momentary Switch MultiPress?" id: SWTCH.S.F04 - - label: - "Does the DUT(server) support the Behavior that supports lighting - applications feature?" - id: LVL.S.F01 - #General Commissioning Cluster - label: "Does the device(Server) support Breadcrumb attribute?" id: CGEN.S.A0000 @@ -2272,3 +2392,267 @@ PICS: "Does the device implement the ScheduleProgrammingVisibility attribute?" id: TSUIC.S.A0002 + #Binding Cluster + - label: "Does the DUT(server) support the Binding attribute?" + id: BIND.S.A0000 + + - label: "Does the DUT(client) implement the GroupKeyMap attribute?" + id: GRPKEY.C.A0000 + + - label: "Does the DUT(client) implement sending the Off command?" + id: OO.C.C00.Tx + + - label: "Does the DUT(client) implement sending the On command?" + id: OO.C.C01.Tx + + - label: "Does the DUT(Client) implement sending Keysetwrite command?" + id: GRPKEY.C.C00.Tx + + - label: "Does the DUT(Client) implement sending AddGroup command?" + id: G.C.C00.Tx + + #Device Discovery + - label: + "Does the device support discovery over Bluetooth Low Energy (BLE)?" + id: MCORE.DD.BLE + + - label: "Does the device support discovery over WiFi?" + id: MCORE.DD.WIFI + + - label: "Does the device only function within a Matter network?" + id: MCORE.DD.CHIP_DEV + + - label: "Is the device a lock device?" + id: MCORE.DD.DEV_LOCK + + - label: "Is the device a barrier access device?" + id: MCORE.DD.DEV_BARRIER + + - label: "Does the device have a vendor specific information element (IE)?" + id: MCORE.DD.IE + + - label: + "Does the device or device packaging have a QR code based onboarding + payload?" + id: MCORE.DD.QR + + - label: "Does the device or device packaging have a Manual Pairing Code?" + id: MCORE.DD.MANUAL_PC + + - label: "Does the packed binary data structure contain encoded TLV Data?" + id: MCORE.DD.TLV + + - label: + "Does the QR code contain multiple concatenated onboarding payloads?" + id: MCORE.DD.CONCAT + + - label: "Does the device have a NFC tag containing the onboarding payload?" + id: MCORE.DD.NFC + + - label: "Does the device support dynamic passcodes?" + id: MCORE.DD.PASSCODE + + - label: "Does the device support user interface?" + id: MCORE.DD.UI + + - label: "Does the device support Commissioner Discovery?" + id: MCORE.DD.COMM_DISCOVERY + + - label: "Is the DUT a Controller?" + id: MCORE.DD.CONTROLLER + + - label: "Does the DUT support scanning concatenated QR codes?" + id: MCORE.DD.CTRL_CONCATENATED_QR_CODE_1 + + - label: + "Does the DUT support indicating to user the need to commission device + one by one for concatenated QR codes?" + id: MCORE.DD.CTRL_CONCATENATED_QR_CODE_2 + + - label: "Is the DUT a Commissioner?" + id: MCORE.DD.COMMISSIONER + + - label: "Does the DUT require a custom commissioning flow?" + id: MCORE.DD.CUSTOM_COMM_FLOW + + - label: "Does the DUT support Discovery Capability over BLE?" + id: MCORE.DD.DT_BLE + + - label: "Is the DUT a Controller?" + id: MCORE.DD.CONTROLLER + + - label: "Does the DUT support Discovery Capability over IP Network?" + id: MCORE.DD.DT_IP + + - label: "Does the DUT support Discovery Capability over SoftAP?" + id: MCORE.DD.DT_SOFTAP + + - label: "Does the DUT support Standard Commissioning Flow?" + id: MCORE.DD.STANDARD_COMM_FLOW + + - label: "Does the DUT support User-Intent Commissioning Flow?" + id: MCORE.DD.USER_INTENT_COMM_FLOW + + - label: "Does the DUT support Custom Commissioning Flow?" + id: MCORE.DD.CUSTOM_COMM_FLOW + + - label: + "Does the DUT commissioner support accepting an 11-digit Manual + Pairing Code for commissioning?" + id: MCORE.DD.11_MANUAL_PC + + - label: + "Does the DUT commissioner support accepting a 21-digit Manual Pairing + Code for commissioning?" + id: MCORE.DD.21_MANUAL_PC + + - label: + "Does the device is subject to physical tampering (doorbell, camera, + door lock, designed for outdoor usage)?" + id: MCORE.DD.PHYSICAL_TAMPERING + + - label: + "Does the device support scanning NFC tags containing the onboarding + payload?" + id: MCORE.DD.SCAN_NFC + + - label: + "Does the DUT support scanning QR codes containing the onboarding + payload?" + id: MCORE.DD.SCAN_QR_CODE + + - label: "Does the device support Thread interface?" + id: MCORE.DD.THREAD + + - label: "Does the device support Wifi or Thread interfaces?" + id: MCORE.DD.WIRELESS + + #Ethernet Network Diagnostics Cluster + - label: "Does the device implement the ResetCounts command?" + id: DGETH.S.C00 + + - label: "Does the device implement the PHYRate attribute?" + id: DGETH.S.A0000 + + - label: "Does the device implement the FullDuplex attribute?" + id: DGETH.S.A0001 + + - label: "Does the device implement the PacketRxCount attribute?" + id: DGETH.S.A0002 + + - label: "Does the device implement the PacketTxCount attribute?" + id: DGETH.S.A0003 + + - label: "Does the device implement the TxErrCount attribute?" + id: DGETH.S.A0004 + + - label: "Does the device implement the CollisionCount attribute?" + id: DGETH.S.A0005 + + - label: "Does the device implement the OverrunCount attribute?" + id: DGETH.S.A0006 + + - label: "Does the device implement the CarrierDetect attribute?" + id: DGETH.S.A0007 + + - label: "Does the device implement the CarrierDetect attribute?" + id: DGETH.S.A0008 + + #Wi-Fi Network Diagnostics Cluster + - label: + "Counts for the number of received and transmitted packets on the + ethernet interface." + id: DGWIFI.S.F00 + + - label: + "Counts for the number of errors during the reception and transmission + of packets on the ethernet interface." + id: DGWIFI.S.F01 + + - label: + "Indicates the BSSID for which the Wi-Fi network the Node is currently + connected. If the interface not configured, a NULL value should be + presented." + id: DGWIFI.S.A0000 + + - label: "The current type of WiFi security being used." + id: DGWIFI.S.A0001 + + - label: "Indicates the current 802.11 standard version in use by the Node." + id: DGWIFI.S.A0002 + + - label: + "Indicate the channel that Wi-Fi communication is currently operating + on. If the interface not configured, a NULL value should be presented" + id: DGWIFI.S.A0003 + + - label: + "Indicates the current RSSI of the Node 's Wi-Fi radio in dB. If the + interface not configured or operational, a NULL value should be + presented. This value should not be subscribed." + id: DGWIFI.S.A0004 + + - label: + "Indicates the count of the number of received beacons. This value + should not be subscribed." + id: DGWIFI.S.A0005 + + - label: + "Indicates the count of the number of received beacons. This value + should not be subscribed." + id: DGWIFI.S.A0006 + + - label: + "Indicates the number of multicast packets received by the Node. This + value should not be subscribed." + id: DGWIFI.S.A0007 + + - label: + "Indicates the number of mul5icast packets transmitted by the Node. + This value should not be subscribed." + id: DGWIFI.S.A0008 + + - label: + "Indicates the number of uicast packets received by the Node. This + value should not be subscribed." + id: DGWIFI.S.A0009 + + - label: + "Indicates the number of unicast packets transmitted by the Node. This + value should not be subscribed." + id: DGWIFI.S.A000a + + - label: + "Indicates the current maximum PHY rate of transfer of data in + bytes-per-second." + id: DGWIFI.S.A000b + + - label: + "Indicates the number of packets dropped either at ingress or egress, + due to lack of buffer memory to retain all packets on the ethernet + network interface. This attribute SHALL be reset to 0 upon a reboot of + the Node. This value should not be subscribed." + id: DGWIFI.S.A000c + + - label: + "Indicates Node’s Wi-Fi connection has been disconnected as a result + of de-authenticated or dis-association and indicates the reason." + id: DGWIFI.S.E00 + + - label: + "Indicates unsuccessful connection and reconnection to WiFi access + point after exhaustive retries. AssociationFailure fields are to + indicate the cause and status. Each field set values are described in + 11.14.6.2" + id: DGWIFI.S.E01 + + - label: + "Indicates that a Node’s connection status to a Wi-Fi network has + changed." + id: DGWIFI.S.E02 + + - label: + "Reset the following attributes to 0; BeaconLostCount, BeaconRxCount, + PacketMulticastRxCount, PacketMulticastTxCount, PacketUnicastRxCount, + PacketUnicastTxCount" + id: DGWIFI.S.C00 diff --git a/src/app/tests/suites/certification/Test_TC_BIND_2_1.yaml b/src/app/tests/suites/certification/Test_TC_BIND_2_1.yaml index ce54fc7d7fc75d..6c20a583032e76 100644 --- a/src/app/tests/suites/certification/Test_TC_BIND_2_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_BIND_2_1.yaml @@ -13,7 +13,7 @@ # limitations under the License. # Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default -name: 117.2.1. [TC-BIND-2.1] Binding Cluster Attributes [DUT-Controller] +name: 117.2.1. [TC-BIND-2.1] Binding Cluster Attributes-Node [DUT-Controller] config: nodeId: 0x12344321 @@ -26,115 +26,66 @@ tests: disabled: true - - label: - "TH1 writes Binding cluster entries into DUT as per precondition TH1 - enables DUT as Controller" + - label: "Commission DUT to TH1s fabric" verification: | - ./chip-tool binding write binding '[{"node" : 1 , "cluster" : "0x0006" , "endpoint" : 1 }, { "group" : "0x0001" }]' 1 0 - [1652941260.571580][5157:5162] CHIP:DMG: StatusIB = - [1652941260.571625][5157:5162] CHIP:DMG: { - [1652941260.571670][5157:5162] CHIP:DMG: status = 0x00 (SUCCESS), - [1652941260.571720][5157:5162] CHIP:DMG: }, disabled: true - - label: "DUT and TH2 are commissioned" + - label: "Commission TH2 to TH1s fabric (Node ID = 2)" verification: | disabled: true - - label: "TH1 reads the Binding entries from DUT" + - label: "Commission TH3 to TH1s fabric (Node ID = 3)" verification: | - ./chip-tool binding read binding 1 0 - - [1653895089.593475][5416:5421] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001E Attribute 0x0000_0000 DataVersion: 3570434286 - [1653895089.593580][5416:5421] CHIP:TOO: Binding: 2 entries - [1653895089.593781][5416:5421] CHIP:TOO: [1]: { - [1653895089.593839][5416:5421] CHIP:TOO: Node: 1 - [1653895089.593908][5416:5421] CHIP:TOO: Endpoint: 1 - [1653895089.593954][5416:5421] CHIP:TOO: Cluster: 6 - [1653895089.593987][5416:5421] CHIP:TOO: FabricIndex: 1 - [1653895089.594019][5416:5421] CHIP:TOO: } - [1653895089.594073][5416:5421] CHIP:TOO: [2]: { - [1653895089.594108][5416:5421] CHIP:TOO: Group: 1 - [1653895089.594152][5416:5421] CHIP:TOO: FabricIndex: 1 - [1653895089.594183][5416:5421] CHIP:TOO: } + disabled: true - label: - "If Node Field is readable, DUT sends On command for the Node and - Endpoint1" + "TH1 writes Binding entries into DUT on the endpoint with the On/Off + client with Entry 1: Node = 2 Cluster = 0x0006(onoff) Endpoint = 1 + Entry 2: Node = 3 Cluster = 0x0006(onoff) Endpoint = 2 Note: Node 2 + corresponds to TH2s Node ID Node 3 corresponds to TH3s Node ID" verification: | - ./chip-tool onoff on 1 1 - [1653045100.385974][2688:2693] CHIP:DMG: StatusIB = - [1653045100.386048][2688:2693] CHIP:DMG: { - [1653045100.386125][2688:2693] CHIP:DMG: status = 0x00 (SUCCESS), - [1653045100.386200][2688:2693] CHIP:DMG: }, disabled: true - - label: "DUT reads OnOff attribute on the respective Endpoint1" + - label: "TH1 enables DUT as Controller" verification: | - ./chip-tool onoff read on-off 1 1 - [1653045143.391779][2698:2703] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0006 Attribute 0x0000_0000 DataVersion: 4174089266 - [1653045143.393401][2698:2703] CHIP:TOO: OnOff: TRUE disabled: true - - label: - "If Group field is readable,DUT sends a multicast On command to Node - and Endpoint1" + - label: "DUT is triggered to send On command to its binding node entries" + PICS: OO.C.C01.Tx verification: | - ./chip-tool onoff on 0x0001 1 - - [1653045301.383221][2725:2730] CHIP:DMG: StatusIB = - [1653045301.383280][2725:2730] CHIP:DMG: { - [1653045301.383335][2725:2730] CHIP:DMG: status = 0x00 (SUCCESS), - [1653045301.383393][2725:2730] CHIP:DMG: }, + TH2 receives On command(Endpoint 1) TH3 receives On command(Endpoint 2) disabled: true - - label: "DUT reads OnOff attribute on the above Endpoint1" + - label: "TH1 reads OnOff attribute from TH2 (Endpoint 1)" + PICS: OO.C.C01.Tx verification: | - ./chip-tool onoff read on-off 1 1 - - [1653045340.155414][2734:2739] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0006 Attribute 0x0000_0000 DataVersion: 4174089266 - [1653045340.155481][2734:2739] CHIP:TOO: OnOff: TRUE + Verify that the value is set to On disabled: true - - label: "DUT removes entry from the Binding for the Node and EndPoint1" + - label: "TH1 removes second binding entry corresponding to TH3 from DUT" verification: | - ./chip-tool binding write binding [] 1 0 - [1653567762.886755][4839:4844] CHIP:DMG: StatusIB = - [1653567762.886829][4839:4844] CHIP:DMG: { - [1653567762.886888][4839:4844] CHIP:DMG: status = 0x00 (SUCCESS), - [1653567762.886966][4839:4844] CHIP:DMG: }, disabled: true - - label: - "If Node Field is readable, DUT sends On command for the above Node - and Endpoint 1" + - label: "DUT is triggered to send off command to its binding entries" + PICS: OO.C.C00.Tx verification: | - ./chip-tool onoff on 1 1 - - [1653567890.077539][4867:4872] CHIP:DMG: StatusIB = - [1653567890.077584][4867:4872] CHIP:DMG: { - [1653567890.077626][4867:4872] CHIP:DMG: status = 0x00 (SUCCESS), - [1653567890.077670][4867:4872] CHIP:DMG: }, + TH2 receives off command (Endpoint 1) TH3 does not receive off command (Endpoint 2) disabled: true - - label: "Read SupportedFabrics from the DUT." + - label: "TH1 reads OnOff attribute from TH2 (Endpoint 1)" + PICS: OO.C.C00.Tx verification: | - ./chip-tool operationalcredentials read supported-fabrics 1 0 - - [1653045735.101037][2767:2772] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0002 DataVersion: 38458521 - [1653045735.101214][2767:2772] CHIP:TOO: SupportedFabrics: 16 + Verify that the value is set to Off disabled: true - - label: - "TH1 writes Binding entries into DUT for all the clusters that support - Binding Run TC-BC-1.1 to make sure all mandatory attributes/commands - are implemented for all the binding clusters" + - label: "TH1 reads OnOff attribute from TH3 (Endpoint 2)" + PICS: OO.C.C01.Tx verification: | - + Verify that the value is set to On disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_BIND_2_2.yaml b/src/app/tests/suites/certification/Test_TC_BIND_2_2.yaml new file mode 100644 index 00000000000000..d84ec28c3e5ba6 --- /dev/null +++ b/src/app/tests/suites/certification/Test_TC_BIND_2_2.yaml @@ -0,0 +1,119 @@ +# Copyright (c) 2021 Project CHIP Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default + +name: + 117.2.2. [TC-BIND-2.2] Binding Cluster Attributes-DUT handles its Groups + settings [DUT-Controller] + +config: + nodeId: 0x12344321 + cluster: "Basic" + endpoint: 0 + +tests: + - label: "Factory Reset DUT" + verification: | + + disabled: true + + - label: "Commission DUT to TH1s fabric" + verification: | + + disabled: true + + - label: "TH1 enables DUT as Controller" + verification: | + + disabled: true + + - label: "Commission TH2 to TH1s fabric (Node ID = 2)" + verification: | + + disabled: true + + - label: + "DUT generates fabric-unique GroupID, GroupName, random key, EpochKey0 + and GroupKeySetID." + verification: | + ./chip-tool groupkeymanagement key-set-read 42 1 0 + disabled: true + + - label: + "DUT sends KeySetWrite command to GroupKeyManagement cluster to TH2 on + Endpoint 0." + PICS: GRPKEY.C.C00.Tx + verification: | + ./chip-tool groupkeymanagement key-set-write '{"groupKeySetID": 42, + "groupKeySecurityPolicy": 0, "epochKey0": + "d0d1d2d3d4d5d6d7d8d9dadbdcdddedf", "epochStartTime0": 2220000,"epochKey1": + "d1d1d2d3d4d5d6d7d8d9dadbdcdddedf", "epochStartTime1": 2220001,"epochKey2": + "d2d1d2d3d4d5d6d7d8d9dadbdcdddedf", "epochStartTime2": 2220002 }' 1 0 + disabled: true + + - label: + "DUT sends AddGroup( Group Name and Group-ID) Command to TH2 on + Endpoint 1." + PICS: G.C.C00.Tx + verification: | + ./chip-tool groups add-group 0x0001 grp1 1 1 + disabled: true + + - label: + "DUT binds GroupId with GroupKeySetID in the GroupKeyMap attribute + list on GroupKeyManagement cluster to TH2 on Endpoint 0" + PICS: GRPKEY.C.A0000 + verification: | + ./chip-tool groupkeymanagement write group-key-map '[{"groupId": 1, "groupKeySetID": 42, "fabricIndex": 1}]' 1 0 + disabled: true + + - label: + "TH1 writes Binding entry into DUT with Entry 1: Group = The Group ID + in the AddGroup command sent from DUT to TH2" + verification: | + ./chip-tool binding write binding '[{"Group" : 0x0001 }]' 1 0 + disabled: true + + - label: + "DUT is triggered to send Multicast message On command to its binding + entries" + PICS: OO.C.C01.Tx + verification: | + ./chip-tool onoff on 0x0001 1 + disabled: true + + - label: "TH1 reads OnOff attribute from TH2 (Endpoint 1)" + PICS: OO.C.C01.Tx + verification: | + ./chip-tool onoff read on-off 1 1 + disabled: true + + - label: "TH1 removes all the binding entries from DUT" + verification: | + ./chip-tool binding write binding [] 1 0 + disabled: true + + - label: + "DUT is triggered to send Multicast message off command to its binding + entries" + PICS: OO.C.C00.Tx + verification: | + ./chip-tool onoff on 0x0001 1 + disabled: true + + - label: "TH1 reads OnOff attribute from TH2 (Endpoint 1)" + PICS: OO.C.C01.Tx + verification: | + ./chip-tool onoff read on-off 1 1 + disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_BIND_2_3.yaml b/src/app/tests/suites/certification/Test_TC_BIND_2_3.yaml new file mode 100644 index 00000000000000..0640a6570d9347 --- /dev/null +++ b/src/app/tests/suites/certification/Test_TC_BIND_2_3.yaml @@ -0,0 +1,121 @@ +# Copyright (c) 2021 Project CHIP Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default + +name: + 117.2.3. [TC-BIND-2.3] Binding Cluster Attributes-TH1 enables DUT to handle + its Group settings [DUT-Controller] + +config: + nodeId: 0x12344321 + cluster: "Basic" + endpoint: 0 + +tests: + - label: "Factory Reset DUT" + verification: | + + disabled: true + + - label: "Commission DUT to TH1s fabric" + verification: | + + disabled: true + + - label: "TH1 enables DUT as Controller" + verification: | + + disabled: true + + - label: "Commission TH2 to TH1s fabric (Node ID = 2)" + verification: | + + disabled: true + + - label: + "TH1 generates fabric-unique GroupID, GroupName, random key, EpochKey0 + and GroupKeySetID." + verification: | + As TH generates it is not required to verify + disabled: true + + - label: + "TH1 sends KeySetWrite command to GroupKeyManagement cluster to TH2 on + Endpoint 0." + verification: | + ./chip-tool groupkeymanagement key-set-write '{"groupKeySetID": 42, + "groupKeySecurityPolicy": 0, "epochKey0": + "d0d1d2d3d4d5d6d7d8d9dadbdcdddedf", "epochStartTime0": 2220000,"epochKey1": + "d1d1d2d3d4d5d6d7d8d9dadbdcdddedf", "epochStartTime1": 2220001,"epochKey2": + "d2d1d2d3d4d5d6d7d8d9dadbdcdddedf", "epochStartTime2": 2220002 }' 1 0 + disabled: true + + - label: + "TH1 sends AddGroup( Group Name and Group-ID) Command to TH2 on + Endpoint 1." + verification: | + ./chip-tool groups add-group 0x0001 grp1 1 1 + disabled: true + + - label: + "TH1 binds GroupId with GroupKeySetID in the GroupKeyMap attribute + list on GroupKeyManagement cluster to TH2 on Endpoint 0" + verification: | + ./chip-tool groupkeymanagement write group-key-map '[{"groupId": 1, "groupKeySetID": 42, "fabricIndex": 1}]' 1 0 + disabled: true + + - label: + "TH1 writes Binding entry into DUT with Entry 1: Group = The Group ID + in the AddGroup command sent from TH1 to TH2" + verification: | + ./chip-tool binding write binding '[{"Group" : 0x0001 }]' 1 0 + disabled: true + + - label: "TH1 sets up group settings on DUT" + verification: | + + disabled: true + + - label: + "DUT is triggered to send Multicast message On command to its binding + entries" + PICS: OO.C.C01.Tx + verification: | + ./chip-tool onoff on 0x0001 1 + disabled: true + + - label: "TH1 reads OnOff attribute from TH2 (Endpoint 1)" + PICS: OO.C.C01.Tx + verification: | + ./chip-tool onoff read on-off 1 1 + disabled: true + + - label: "TH1 removes all the binding entries from DUT" + verification: | + ./chip-tool binding write binding [] 1 0 + disabled: true + + - label: + "DUT is triggered to send Multicast message off command to its binding + entries" + PICS: OO.C.C00.Tx + verification: | + ./chip-tool onoff on 0x0001 1 + disabled: true + + - label: "TH1 reads OnOff attribute from TH2 (Endpoint 1)" + PICS: OO.C.C01.Tx + verification: | + ./chip-tool onoff read on-off 1 1 + disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_DD_1_11.yaml b/src/app/tests/suites/certification/Test_TC_DD_1_11.yaml index 1632e9ee09c4e3..7df34462215563 100644 --- a/src/app/tests/suites/certification/Test_TC_DD_1_11.yaml +++ b/src/app/tests/suites/certification/Test_TC_DD_1_11.yaml @@ -26,6 +26,7 @@ tests: - label: "If (PICS_DT_CTRL_CONCATENATED_QR_CODE_1), scan larger QR code that will support the commissioning of all the devices" + PICS: MCORE.DD.CTRL_CONCATENATED_QR_CODE_1 verification: | '' ./chip-all-clusters-app @@ -60,6 +61,7 @@ tests: disabled: true - label: "If (PICS_DT_CTRL_CONCATENATED_QR_CODE_1)" + PICS: MCORE.DD.CTRL_CONCATENATED_QR_CODE_1 verification: | Vendor specific field testcase disabled: true @@ -67,6 +69,9 @@ tests: - label: "If !(PICS_DT_CTRL_CONCATENATED_QR_CODE_1) && PICS_DT_CTRL_CONCATENATED_QR_CODE_2" + PICS: + "!MCORE.DD.CTRL_CONCATENATED_QR_CODE_1 && + MCORE.DD.CTRL_CONCATENATED_QR_CODE_2" verification: | Vendor specific field testcase disabled: true @@ -74,6 +79,9 @@ tests: - label: "If !(PICS_DT_CTRL_CONCATENATED_QR_CODE_1) && !(PICS_DT_CTRL_CONCATENATED_QR_CODE_2)" + PICS: + "!MCORE.DD.CTRL_CONCATENATED_QR_CODE_1 && + !MCORE.DD.CTRL_CONCATENATED_QR_CODE_2" verification: | Vendor specific field testcase disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_DD_1_12.yaml b/src/app/tests/suites/certification/Test_TC_DD_1_12.yaml index 3d7d87e912b5c3..9b46d0b310964f 100644 --- a/src/app/tests/suites/certification/Test_TC_DD_1_12.yaml +++ b/src/app/tests/suites/certification/Test_TC_DD_1_12.yaml @@ -13,7 +13,9 @@ # limitations under the License. # Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default -name: 3.1.12. [TC-DD-1.12] Onboarding Payload Verification - Custom Flow = 0 +name: + 3.1.12. [TC-DD-1.12] Onboarding Payload Verification - Custom Flow = 0 [DUT + - Commissionee] config: nodeId: 0x12344321 @@ -21,80 +23,49 @@ config: endpoint: 0 tests: - - label: "Scan the DUTs QR code using a QR code reader" + - label: "Scan the DUTs QR code using the TH." verification: | - 1. Get the QR code from the DUT - 16-MacBook-Pro:connectedhomeip liam$ ./out/lighting-app/chip-lighting-app - [1641836544619] [16162:695667] CHIP: [DL] _Init - [1641836544619] [16162:695667] CHIP: [DL] Device Configuration: - [1641836544619] [16162:695667] CHIP: [DL] Serial Number: TEST_SN - [1641836544619] [16162:695667] CHIP: [DL] Vendor Id: 9050 (0x235A) - [1641836544619] [16162:695667] CHIP: [DL] Product Id: 65279 (0xFEFF) - [1641836544619] [16162:695667] CHIP: [DL] Hardware Version: 0 - [1641836544619] [16162:695667] CHIP: [DL] Setup Pin Code: 20202021 - [1641836544619] [16162:695667] CHIP: [DL] Setup Discriminator: 3840 (0xF00) - [1641836544619] [16162:695667] CHIP: [DL] Manufacturing Date: (not set) - [1641836544619] [16162:695667] CHIP: [DL] Device Type: 257 (0x101) - [1641836544619] [16162:695667] CHIP: [SVR] SetupQRCode: [MT:YNJV7VSC00KA0648G00] - [1641836544619] [16162:695667] CHIP: [SVR] Copy/paste the below URL in a browser to see the QR Code: - [1641836544619] [16162:695667] CHIP: [SVR] https://project-chip.github.io/connectedhomeip/qrcode.html?data=MT%3AYNJV7VSC00KA0648G00 - [1641836544619] [16162:695667] CHIP: [SVR] Manual pairing code: [34970112332] + 1. Run DUT. Example for DUT=all-clusters app + $ ./out/all-clusters-app/chip-all-clusters-app --version 0 --vendor-id 0xFFF1 --product-id 0x8001 --custom-flow 0 --capabilities 4 --discriminator 3840 --passcode 20202021 - - 2. Parse the DUT's QR Code using the TH commissioner: chip-tool - 16-MacBook-Pro:connectedhomeip liam$ ./examples/chip-tool/out/debug/chip-tool payload parse-setup-payload MT:YNJV7VSC00KA0648G00 - [1641836844939] [16334:698889] CHIP: [SPL] Parsing base38Representation: MT:YNJV7VSC00KA0648G00 - [1641836844940] [16334:698889] CHIP: [SPL] CommissioningFlow: 0 - [1641836844940] [16334:698889] CHIP: [SPL] VendorID: 9050 - [1641836844940] [16334:698889] CHIP: [SPL] Version: 0 - [1641836844940] [16334:698889] CHIP: [SPL] ProductID: 65279 - [1641836844940] [16334:698889] CHIP: [SPL] Discriminator: 3840 - [1641836844940] [16334:698889] CHIP: [SPL] SetUpPINCode: 20202021 - [1641836844940] [16334:698889] CHIP: [SPL] RendezvousInformation: 2 + 2. Parse onboarding payload using TH=chip-tool + $ ./out/chip-tool/chip-tool payload parse-setup-payload MT:-24J0AFN00KA0648G00 + [1651193251086] [15494:447566] CHIP: [SPL] Parsing base38Representation: MT:-24J0AFN00KA0648G00 + [1651193251087] [15494:447566] CHIP: [SPL] CommissioningFlow: 0 + [1651193251087] [15494:447566] CHIP: [SPL] VendorID: 65521 + [1651193251087] [15494:447566] CHIP: [SPL] Version: 0 + [1651193251087] [15494:447566] CHIP: [SPL] ProductID: 32769 + [1651193251087] [15494:447566] CHIP: [SPL] Discriminator: 3840 + [1651193251087] [15494:447566] CHIP: [SPL] SetUpPINCode: 20202021 + [1651193251087] [15494:447566] CHIP: [SPL] RendezvousInformation: 4 disabled: true - - label: "Verify Custom payload support" + - label: + "Verify that the TH presents the user with a pairing hint in the + CommissioningModeInitialStepsHint field of the DCL. Verify that the + CommissioningCustomFlow field is set to a value = 0" verification: | - 1. Custom Flow bit in the Onboarding Payload QR Code is set to 0 (Standard Flow) - - 16-MacBook-Pro:connectedhomeip liam$ ./examples/chip-tool/out/debug/chip-tool payload parse-setup-payload MT:YNJV7VSC00KA0648G00 - [1641836844939] [16334:698889] CHIP: [SPL] Parsing base38Representation: MT:YNJV7VSC00KA0648G00 - [1641836844940] [16334:698889] CHIP: [SPL] CommissioningFlow: 0 - [1641836844940] [16334:698889] CHIP: [SPL] VendorID: 9050 - [1641836844940] [16334:698889] CHIP: [SPL] Version: 0 - [1641836844940] [16334:698889] CHIP: [SPL] ProductID: 65279 - [1641836844940] [16334:698889] CHIP: [SPL] Discriminator: 3840 - [1641836844940] [16334:698889] CHIP: [SPL] SetUpPINCode: 20202021 - [1641836844940] [16334:698889] CHIP: [SPL] RendezvousInformation: 2 + 1. Verify CommissioningCustomFlow=0 + 2. Verify CommissioningModeInitialStepsHint contains a valid, non-zero integer = 1 for Standard Commissioning flow disabled: true - label: - "if custom flow bit in step 2 is equal to 0 (Standard flow), reboot - the device" + "If CommissioningCustomFlow field in Step 2 = 0 (Standard + Commissioning Flow), reboot the DUT device" verification: | - 1. Reboot the DUT - 2. Verfy that the DUT enters commissioningmode upon power up + 1. Verify DUT is advertising in commissioning mode. On DUT, - [1641836544690] [16162:695667] CHIP: [DL] Device Configuration: - [1641836544690] [16162:695667] CHIP: [DL] Serial Number: TEST_SN - [1641836544690] [16162:695667] CHIP: [DL] Vendor Id: 9050 (0x235A) - [1641836544690] [16162:695667] CHIP: [DL] Product Id: 65279 (0xFEFF) - [1641836544690] [16162:695667] CHIP: [DL] Hardware Version: 0 - [1641836544690] [16162:695667] CHIP: [DL] Setup Pin Code: 20202021 - [1641836544690] [16162:695667] CHIP: [DL] Setup Discriminator: 3840 (0xF00) - [1641836544690] [16162:695667] CHIP: [DL] Manufacturing Date: (not set) - [1641836544690] [16162:695667] CHIP: [DL] Device Type: 257 (0x101) - [1641836544690] [16162:695667] CHIP: [SVR] SetupQRCode: [MT:YNJV7VSC00KA0648G00] - [1641836544690] [16162:695667] CHIP: [SVR] Copy/paste the below URL in a browser to see the QR Code: - [1641836544690] [16162:695667] CHIP: [SVR] https://project-chip.github.io/connectedhomeip/qrcode.html?data=MT%3AYNJV7VSC00KA0648G00 - [1641836544690] [16162:695667] CHIP: [SVR] Manual pairing code: [34970112332] - [1641836544690] [16162:695684] CHIP: [DL] _OnPlatformEvent - [1641836544690] [16162:695684] CHIP: [DIS] DNS-SD StartServer mode=0 - [1641836544690] [16162:695684] CHIP: [DIS] Failed to find a valid admin pairing. Node ID unknown - [1641836544690] [16162:695684] CHIP: [DIS] Start dns-sd server - no current nodeId - [1641836544690] [16162:695684] CHIP: [DL] Using wifi MAC for hostname - [1641836544690] [16162:695684] CHIP: [DIS] Advertise commission parameter vendorID=9050 productID=65279 discriminator=3840/15 - [1641836544690] [16162:695684] CHIP: [DL] Publishing service D920ECCFF905179B on port 5540 with type: _matterc._udp,_V9050,_T257,_S15,_L3840,_CM on interface id: 0 - [1641836544690] [16162:695684] CHIP: [DIS] Scheduling Discovery timeout in secs=900 - [1641836545360] [16162:695684] CHIP: [DL] Mdns: OnRegister name: D920ECCFF905179B, type: _matterc._udp., domain: local., flags: 2 + $ ./out/chip-tool/chip-tool discover commissionables + [1651192893436] [15304:442604] CHIP: [DL] Mdns: OnNewAddress interface: 24 ip:fe80::dea6:32ff:fe8d:6e32 + [1651192893436] [15304:442604] CHIP: [DIS] Vendor ID: 65521 + [1651192893436] [15304:442604] CHIP: [DIS] Product ID: 32769 + [1651192893436] [15304:442604] CHIP: [DIS] Long Discriminator: 3840 + [1651192893436] [15304:442604] CHIP: [DIS] Pairing Hint: 33 + [1651192893436] [15304:442604] CHIP: [DIS] Hostname: DCA6328D6E320000 + [1651192893436] [15304:442604] CHIP: [DIS] Instance Name: 914762134DA8E7D1 + [1651192893436] [15304:442604] CHIP: [DIS] IP Address #1: fe80::dea6:32ff:fe8d:6e32 + [1651192893436] [15304:442604] CHIP: [DIS] Port: 5540 + [1651192893436] [15304:442604] CHIP: [DIS] Commissioning Mode: 1 + [1651192893436] [15304:442604] CHIP: [DIS] Mrp Interval idle: 5000 ms + [1651192893436] [15304:442604] CHIP: [DIS] Mrp Interval active: 300 ms disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_DD_1_5.yaml b/src/app/tests/suites/certification/Test_TC_DD_1_5.yaml index c4560af4571d61..aed1b7b83d150b 100644 --- a/src/app/tests/suites/certification/Test_TC_DD_1_5.yaml +++ b/src/app/tests/suites/certification/Test_TC_DD_1_5.yaml @@ -24,45 +24,46 @@ config: tests: - label: - "If (PICS_SCAN_NFC), Keep the DUT in packaging and bring in TH NFC - scanner close to the DUT packaging." + "Keep the DUT in packaging and bring in TH NFC scanner close to the + DUT packaging." + PICS: MCORE.DD.SCAN_NFC verification: | Vendor specific field verification disabled: true - label: - "If (PICS_SCAN_NFC), Unpack DUT from its packaging, make sure DUT is - not powered on and do not put the DUT in pairing mode. Bring in TH NFC - scanner close to the DUTs NFC tag" + "Unpack DUT from its packaging, make sure DUT is not powered on and do + not put the DUT in pairing mode. Bring in TH NFC scanner close to the + DUTs NFC tag" + PICS: MCORE.DD.SCAN_NFC verification: | Vendor specific field verification disabled: true - label: - "If (PICS_PHYSICAL_TEMPERING, PICS_SCAN_NFC) Power on DUT and do not - put the DUT in pairing mode. Bring in TH NFC scanner close to the DUTs - NFC tag" + "Power on DUT and do not put the DUT in pairing mode. Bring in TH NFC + scanner close to the DUTs NFC tag" + PICS: MCORE.DD.PHYSICAL_TAMPERING && MCORE.DD.SCAN_NFC verification: | Vendor specific field verification disabled: true - - label: - "If (PICS_PHYSICAL_TEMPERING) DUT must have an explicit trigger of the - the NFC pairing mode" + - label: "DUT must have an explicit trigger of the the NFC pairing mode" + PICS: MCORE.DD.PHYSICAL_TAMPERING verification: | Vendor specific field verification disabled: true - label: - "If (PICS_PHYSICAL_TEMPERING, PICS_SCAN_NFC) Power on DUT and put the - DUT in pairing mode. Bring in TH NFC scanner close to NFC tag" + "Power on DUT and put the DUT in pairing mode. Bring in TH NFC scanner + close to NFC tag" + PICS: MCORE.DD.PHYSICAL_TAMPERING && MCORE.DD.SCAN_NFC verification: | Vendor specific field verification disabled: true - - label: - "If !(PICS_PHYSICAL_TEMPERING, PICS_SCAN_NFC) Power on DUT. Bring in - NFC scanner close to NFC tag" + - label: "Power on DUT. Bring in NFC scanner close to NFC tag" + PICS: MCORE.DD.PHYSICAL_TAMPERING && MCORE.DD.SCAN_NFC verification: | Vendor specific field verification disabled: true @@ -91,8 +92,8 @@ tests: Vendor specific field verification disabled: true - - label: - "If (PICS_SCAN_NFC), Using TH NFC scanner - read NFC tag Reader type" + - label: "Using TH NFC scanner - read NFC tag Reader type" + PICS: MCORE.DD.SCAN_NFC verification: | Vendor specific field verification disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_DD_1_8.yaml b/src/app/tests/suites/certification/Test_TC_DD_1_8.yaml index 7005b2279f7a3d..ad533c472d7304 100644 --- a/src/app/tests/suites/certification/Test_TC_DD_1_8.yaml +++ b/src/app/tests/suites/certification/Test_TC_DD_1_8.yaml @@ -23,29 +23,44 @@ config: endpoint: 0 tests: - - label: "If (PICS_SCAN_QR_CODE), Scan the TH Devices QR code using DUT" + - label: "Scan the TH Devices QR code using DUT" + PICS: MCORE.DD.SCAN_QR_CODE verification: | 1. Get the QR code from the TH - ubuntu@matter-7:~/Apr18_dut/connectedhomeip/examples/all-clusters-app/linux/out/all-clusters-app$ sudo ./chip-all-clusters-app --wifi --discriminator 3841 + ubuntu@matter-7:~/Apr18_dut/connectedhomeip/examples/all-clusters-app/linux/out/all-clusters-app$ sudo ./chip-all-clusters-app --wifi + + [13293:13293] CHIP:DL: Device Configuration: + [1653306603.740569][13293:13293] CHIP:DL: Serial Number: TEST_SN + [1653306603.740607][13293:13293] CHIP:DL: Vendor Id: 65521 (0xFFF1) + [1653306603.740644][13293:13293] CHIP:DL: Product Id: 32769 (0x8001) + [1653306603.740676][13293:13293] CHIP:DL: Hardware Version: 0 + [1653306603.740700][13293:13293] CHIP:DL: Setup Pin Code (0 for UNKNOWN/ERROR): 20202021 + [1653306603.740722][13293:13293] CHIP:DL: Setup Discriminator (0xFFFF for UNKNOWN/ERROR): 3840 (0xF00) + [1653306603.740752][13293:13293] CHIP:DL: Manufacturing Date: (not set) + [1653306603.740777][13293:13293] CHIP:DL: Device Type: 65535 (0xFFFF) + [1653306603.740798][13293:13293] CHIP:-: ==== Onboarding payload for Standard Commissioning Flow ==== + [1653306603.740846][13293:13293] CHIP:SVR: SetupQRCode: [MT:-24J042C00KA0648G00] + [1653306603.740877][13293:13293] CHIP:SVR: Copy/paste the below URL in a browser to see the QR Code: + [1653306603.740898][13293:13293] CHIP:SVR: https://dhrishi.github.io/connectedhomeip/qrcode.html?data=MT%3A-24J042C00KA0648G00 + [1653306603.740929][13293:13293] CHIP:SVR: Manual pairing code: [34970112332] + [1653306603.740951][13293:13293] CHIP:-: ==== Onboarding payload for Custom Commissioning Flows ==== + [1653306603.741000][13293:13293] CHIP:SVR: SetupQRCode: [MT:-24J0YXE00KA0648G00] + [1653306603.741028][13293:13293] CHIP:SVR: Copy/paste the below URL in a browser to see the QR Code: + [1653306603.741049][13293:13293] CHIP:SVR: https://dhrishi.github.io/connectedhomeip/qrcode.html?data=MT%3A-24J0YXE00KA0648G00 + [1653306603.741081][13293:13293] CHIP:SVR: Manual pairing code: [749701123365521327694] - CHIP:SPT: PASE PBKDF iterations set to 1000 - CHIP:SPT: LinuxCommissionableDataProvider didn't get a PASE salt, generating one. - CHIP:DL: Device Configuration: - CHIP:DL: Serial Number: TEST_SN - CHIP:DL: Vendor Id: 65521 (0xFFF1) - CHIP:DL: Product Id: 32769 (0x8001) - CHIP:DL: Hardware Version: 0 - CHIP:DL: Setup Pin Code (0 for UNKNOWN/ERROR): 20202021 CHIP:DL: Setup Discriminator (0xFFFF for UNKNOWN/ERROR): 3841 (0xF01) CHIP:DL: Manufacturing Date: (not set) CHIP:DL: Device Type: 65535 (0xFFFF) CHIP:SVR: SetupQRCode: [MT:-24J0CEK01KA0648G00] CHIP:SVR: Copy/paste the below URL in a browser to see the QR Code: - CHIP:SVR: https://project-chip.github.io/connectedhomeip/qrcode.html?data=MT%3A-24J0CEK01KA0648G00 + CHIP:SVR: https://dhrishi.github.io/connectedhomeip/qrcode.html?data=MT%3A-24J0CEK01KA0648G00 CHIP:SVR: Manual pairing code: [34970112332] CHIP:SVR: SetupQRCode: [MT:-24J048N01KA0648G00] - CHIP:SVR: Copy/paste the below URL in a browser to see the QR Code: - CHIP:SVR: https://project-chip.github.io/connectedhomeip/qrcode.html?data=MT%3A-24J048N01KA0648G00 + CHIP:SVR: Copy/paste the below URL in a browser to see the QR Code: + CHIP:SVR: https://dhrishi.github.io/connectedhomeip/qrcode.html?data=MT%3A-24J048N01KA0648G00 + + 2. Parse the DUT's QR Code using the TH commissioner: chip-tool ubuntu@matter-7:~/Apr18_cntrl/connectedhomeip/examples/chip-tool/out/debug$ ./chip-tool payload parse-setup-payload MT:-24J048N01KA0648G00 @@ -63,6 +78,14 @@ tests: "Using the DUT, parse the THs QR code to onboard the TH Device onto the Matter network." verification: | - 1. With chip-tool as DUT, observe this in the logs to signal the end of parsing when commissioning the TH - [1651190089249] [14497:411165] CHIP: [CTL] Successfully finished commissioning step 'ReadCommissioningInfo' + ./chip-tool pairing code 1 MT:-24J042C00KA0648G00 + + CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0030 Command=0x0000_0005 + CHIP:CTL: Received CommissioningComplete response, errorCode=0 + CHIP:CTL: Successfully finished commissioning step 'SendComplete' + CHIP:CTL: Commissioning stage next step: 'SendComplete' -> 'Cleanup' + CHIP:CTL: Performing next commissioning step 'Cleanup' + CHIP:CTL: Successfully finished commissioning step 'Cleanup' + CHIP:TOO: Device commissioning completed with success + CHIP:DMG: ICR moving to [AwaitingDe] disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_DD_2_1.yaml b/src/app/tests/suites/certification/Test_TC_DD_2_1.yaml index 97ded29eb33b0e..d5e124bd904ae6 100644 --- a/src/app/tests/suites/certification/Test_TC_DD_2_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_DD_2_1.yaml @@ -13,7 +13,8 @@ # limitations under the License. # Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default -name: 3.2.1. [TC-DD-2.1] Announcement by device verification +name: + 3.2.1. [TC-DD-2.1] Announcement by Device Verification [DUT - Commissionee] config: nodeId: 0x12344321 @@ -26,67 +27,131 @@ tests: commissioning process in any order of priority on all of the networking technologies that are supported by both the TH and the DUT" verification: | - sudo ./chip-all-clusters-app --wifi + TH selects the DUT"s capability bitmask and start the commissiong process accordingly disabled: true - label: - "If (PICS_CHIP_DEV) then If !(PICS_CHIP_DEV) then If (PICS_DEV_LOCK) - then If (PICS_DEV_BARRIER) then" + "If (MCORE.DD.CHIP_DEV) then If !(MCORE.DD.CHIP_DEV) then If + (MCORE.DD.DEV_LOCK) then If (MCORE.DD.DEV_BARRIER) then" + PICS: + MCORE.DD.CHIP_DEV && !(MCORE.DD.CHIP_DEV) && MCORE.DD.DEV_LOCK && + MCORE.DD.DEV_BARRIER verification: | - + 1. Discover commissionables (example for over mDNS only) + ./chip-tool discover commissionables + + If (PICS_CHIP_DEV) TH should discover the DUT else it should not + If !(PICS_CHIP_DEV) instruct DUT to start Advertising and scan again for commissionale devices using TH + + Verifiy on TH: + [1651223092.853229][3848:3853] CHIP:DL: Avahi resolve found + [1651223092.853353][3848:3853] CHIP:DIS: Vendor ID: 65521 + [1651223092.853405][3848:3853] CHIP:DIS: Product ID: 32769 + [1651223092.853448][3848:3853] CHIP:DIS: Long Discriminator: 3840 + [1651223092.853491][3848:3853] CHIP:DIS: Pairing Hint: 33 + [1651223092.853532][3848:3853] CHIP:DIS: Hostname: DCA632BAB3F60000 + [1651223092.853573][3848:3853] CHIP:DIS: Instance Name: 233CD1A34EA8F023 + [1651223092.853622][3848:3853] CHIP:DIS: IP Address #1: fe80::42:86ff:fe5f:fe7b + [1651223092.853664][3848:3853] CHIP:DIS: Port: 5540 + [1651223092.853705][3848:3853] CHIP:DIS: Commissioning Mode: 1 disabled: true - - label: - "if (PICS_BLE) TH does not respond to DUT and DUT keeps sending ADVs" + - label: "TH does not respond to DUT and DUT keeps sending ADVs" + PICS: MCORE.DD.BLE verification: | - + [5855][P][DIS]Advertise commission parameter vendorID=65521 productID=32773 discriminator=3840/15 disabled: true - - label: - "if (PICS_BLE) TH does not respond to DUT and DUT keeps sending ADVs" + - label: "TH does not respond to DUT and DUT keeps sending ADVs" + PICS: MCORE.DD.BLE verification: | - + This step can be verified using specific tool (Try NRF Connect OR HCIDump) disabled: true - - label: - "if (PICS_BLE) TH does not respond to DUT and DUT keeps sending ADVs" + - label: "TH does not respond to DUT and DUT keeps sending ADVs" + PICS: MCORE.DD.BLE verification: | - Out of scope for TE8 + This step can be verified using specific tool (Try NRF Connect OR HCIDump) + ->For T0 and 30s we have to get advertisement range between 20ms to 60ms + ->For 30s and 15mins we have to get advertisement range between 150ms to 1200ms + + I: 3242 [DL]CHIPoBLE advertising started + I: 3279 [DL]NFC Tag emulation started + I: 33245 [DL]CHIPoBLE advertising mode changed to slow + D: 901346 [DIS]OnExpiration callback for cleared session + D: 901351 [DIS]Extended discovery timeout cancelled + I: 903097 [SVR]Closing pairing window + D: 903100 [IN]SecureSession Released 0x20002c00 Type:1 LSID:27704 + I: 903106 [DIS]Updating services using commissioning mode 0 + D: 903111 [DL]Using Thread extended MAC for hostname. + D: 903116 [DL]Using Thread extended MAC for hostname. + I: 903138 [DIS]Advertise commission parameter vendorID=65521 productID=32784 di5 + E: 903147 [DIS]Failed to advertise extended commissionable node: Error CHIP:0x03 + + + After 900s that is 15min advertisement stops + + D: 903154 [DIS]Scheduling extended discovery timeout in 900s + E: 903160 [DIS]Failed to finalize service update: Error CHIP:0x0000001C + D: 903166 [DL]CHIPoBLE advertising set to off + I: 903171 [DL]CHIPoBLE advertising stopped + I: 903174 [DL]NFC Tag emulation stopped disabled: true - - label: - "if (PICS_BLE) TH does not respond to DUT and sends a power cycle - command to DUT" + - label: "TH does not respond to DUT. User power cycles the DUT" + PICS: MCORE.DD.BLE verification: | - Out of scope for TE8 + sudo reboot disabled: true - label: - "if (PICS_BLE) TH does not respond to DUT and DUT keeps sending ADVs. - TH waits at least 15 minutes" + "TH does not respond to DUT and DUT keeps sending ADVs. TH waits at + least 15 minutes" + PICS: MCORE.DD.BLE verification: | - Out of scope for TE8 + Check timestamp, ADV stop after 15 mins + + D: 903154 [DIS]Scheduling extended discovery timeout in 900s + E: 903160 [DIS]Failed to finalize service update: Error CHIP:0x0000001C disabled: true - - label: "if (PICS_WIFI) TH scans and finds the DUT SSID" + - label: "TH scans and finds the DUT SSID" + PICS: MCORE.DD.WIFI verification: | - Out of scope for TE8 + BLOCKED: SoftAP commissioning not currently supported on TH=chip-tool disabled: true - label: - "if (PICS_WIFI) TH scans and finds the DUT SSID TH sends to DUT a 1st - power cycle command (or reset manually) TH sends to DUT a 2nd power - cycle command (or reset manually)" + "TH scans and finds the DUT SSID TH sends to DUT a 1st power cycle + command (or reset manually) TH sends to DUT a 2nd power cycle command + (or reset manually)" + PICS: MCORE.DD.WIFI verification: | - Out of scope for TE8 + BLOCKED: SoftAP commissioning not currently supported on TH=chip-tool disabled: true - - label: "if (PICS_WIFI) & (PICS_IE) TH scans and finds the DUT SSID" + - label: "TH scans and finds the DUT SSID" + PICS: MCORE.DD.WIFI && MCORE.DD.IE verification: | - Out of scope for TE8 + BLOCKED: SoftAP commissioning not currently supported on TH=chip-tool disabled: true - label: "TH is connected to the DUT through an Ethernet connection" verification: | - Out of scope for TE8 + $ ./out/chip-tool/chip-tool discover commissionables + [1651256405894] [18453:593886] CHIP: [DL] Mdns: OnNewAddress interface: 7 ip:192.168.1.2 + [1651256405894] [18453:593886] CHIP: [DIS] Vendor ID: 65521 + [1651256405894] [18453:593886] CHIP: [DIS] Product ID: 32769 + [1651256405894] [18453:593886] CHIP: [DIS] Long Discriminator: 3840 + [1651256405894] [18453:593886] CHIP: [DIS] Pairing Hint: 33 + [1651256405894] [18453:593886] CHIP: [DIS] Hostname: DCA6328D2B9F0000 + [1651256405894] [18453:593886] CHIP: [DIS] Instance Name: 8FFEE04E82830E26 + [1651256405894] [18453:593886] CHIP: [DIS] IP Address #1: fd54:23a1:c6de:4637:dea6:32ff:fe8d:2b9f + [1651256405894] [18453:593886] CHIP: [DIS] IP Address #2: fe80::dea6:32ff:fe8d:2b9f + [1651256405894] [18453:593886] CHIP: [DIS] IP Address #3: fe80::dea6:32ff:fe8d:2ba0 + [1651256405894] [18453:593886] CHIP: [DIS] IP Address #4: 192.168.1.2 + [1651256405894] [18453:593886] CHIP: [DIS] Port: 5540 + [1651256405894] [18453:593886] CHIP: [DIS] Commissioning Mode: 1 + [1651256405894] [18453:593886] CHIP: [DIS] Mrp Interval idle: 5000 ms + [1651256405894] [18453:593886] CHIP: [DIS] Mrp Interval active: 300 ms disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_DD_2_2.yaml b/src/app/tests/suites/certification/Test_TC_DD_2_2.yaml index e98611f7b38e63..8812465160b3c8 100644 --- a/src/app/tests/suites/certification/Test_TC_DD_2_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_DD_2_2.yaml @@ -26,6 +26,7 @@ tests: - label: "If (PICS_BLE) TH starts matter announcement procedure using BLE transport" + PICS: MCORE.DD.BLE verification: | $ ./out/all-clusters-app/chip-all-clusters-app --wifi --discriminator 3841 @@ -50,6 +51,7 @@ tests: "If (PICS_BLE) DUT starts BLE scan across all three advertising channels with a sufficient dwell time, interval, and overall duration of scan" + PICS: MCORE.DD.BLE verification: | 1. Discover commissionables over BLE using DUT=chip-tool pairing @@ -107,6 +109,7 @@ tests: disabled: true - label: "If (PICS_BLE) DUT starts scan in background using BLE transport" + PICS: MCORE.DD.BLE verification: | 1. Discover commissionables over BLE using DUT=chip-tool pairing command @@ -164,6 +167,7 @@ tests: disabled: true - label: "If (PICS_BLE) TH starts matter announcement using BLE transport" + PICS: MCORE.DD.BLE verification: | $ ./out/all-clusters-app/chip-all-clusters-app --wifi --discriminator 3841 @@ -187,6 +191,7 @@ tests: - label: "If (PICS_WIFI) TH starts SoftAP and begin matter announcement procedure" + PICS: MCORE.DD.WIFI verification: | BLOCKED: SoftAP commissioning not currently supported on DUT=chip-tool disabled: true @@ -195,11 +200,13 @@ tests: "If (PICS_WIFI) DUT starts Wi-Fi scan of all 2.4 GHz Wi-Fi channels allowed per its operational regulatory domain (channels 1, 6, and 11 are preferred)" + PICS: MCORE.DD.WIFI verification: | BLOCKED: SoftAP commissioning not currently supported on DUT=chip-tool disabled: true - label: "If (PICS_WIFI) DUT scans using Wi-Fi in background" + PICS: MCORE.DD.WIFI verification: | BLOCKED: SoftAP commissioning not currently supported on DUT=chip-tool disabled: true @@ -207,6 +214,7 @@ tests: - label: "If (PICS_WIFI) TH starts SoftAP and begin matter announcement procedure" + PICS: MCORE.DD.WIFI verification: | BLOCKED: SoftAP commissioning not currently supported on DUT=chip-tool disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_DD_3_1.yaml b/src/app/tests/suites/certification/Test_TC_DD_3_1.yaml index 13f0ef81e0eaa9..18c6edcbc079f2 100644 --- a/src/app/tests/suites/certification/Test_TC_DD_3_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_DD_3_1.yaml @@ -246,6 +246,7 @@ tests: - label: "If (PICS_WIFI) or (PICS_THREAD), Commissioner SHALL configure regulatory information in the Commissionee." + PICS: MCORE.DD.WIRELESS verification: | Verify on TH Log: diff --git a/src/app/tests/suites/certification/Test_TC_DD_3_11.yaml b/src/app/tests/suites/certification/Test_TC_DD_3_11.yaml index e383a5cac0b158..ed7dc92fe73485 100644 --- a/src/app/tests/suites/certification/Test_TC_DD_3_11.yaml +++ b/src/app/tests/suites/certification/Test_TC_DD_3_11.yaml @@ -24,10 +24,11 @@ config: tests: - label: - "If (PICS_DT_BLE), Standard Commissioning Flow: Use a Commissionee - with a QR code that has the Custom Flow field set to 0 and supports - BLE for its Discovery Capability. Ensure the Version bit string - follows the current Matter spec. documentation." + "Standard Commissioning Flow: Use a Commissionee with a QR code that + has the Custom Flow field set to 0 and supports BLE for its Discovery + Capability. Ensure the Version bit string follows the current Matter + spec. documentation." + PICS: MCORE.DD.DT_BLE verification: | $ ./out/ble/all-clusters-app/chip-all-clusters-app --capabilities 2 ... @@ -43,7 +44,7 @@ tests: [1651101335.733693][22353:22353] CHIP:-: ==== Onboarding payload for Standard Commissioning Flow ==== [1651101335.734598][22353:22353] CHIP:SVR: SetupQRCode: [MT:-24J042C00KA0648G00] [1651101335.735182][22353:22353] CHIP:SVR: Copy/paste the below URL in a browser to see the QR Code: - [1651101335.735618][22353:22353] CHIP:SVR: https://project-chip.github.io/connectedhomeip/qrcode.html?data=MT%3A-24J042C00KA0648G00 + [1651101335.735618][22353:22353] CHIP:SVR: https://dhrishi.github.io/connectedhomeip/qrcode.html?data=MT%3A-24J042C00KA0648G00 ubuntu@ubuntu:~/apps$ ./chip-tool payload parse-setup-payload MT:-24J0YXE00KA0648G00 @@ -57,17 +58,17 @@ tests: [1653562354.037378][4312:4312] CHIP:SPL: Passcode: 20202021 disabled: true - - label: - "If (PICS_SCAN_QR_CODE), Scan the QR code from the previous step using - the DUT." + - label: "Scan the QR code from the previous step using the DUT." + PICS: MCORE.DD.SCAN_QR_CODE verification: | 1. Verify the QR code is scanned by DUT, chip-tool does not support physically scanning QR codes disabled: true - label: - "If (PICS_DT_BLE), Using the DUT, parse the THs QR code and follow any - steps needed for the Commissioner/Commissionee to complete the - commissioning process using BLE" + "Using the DUT, parse the THs QR code and follow any steps needed for + the Commissioner/Commissionee to complete the commissioning process + using BLE" + PICS: MCORE.DD.DT_BLE verification: | TH Commissionee: @@ -86,11 +87,12 @@ tests: disabled: true - label: - "If (PICS_DT_IP), Standard Commissioning Flow: Use a Commissionee with - a QR code that has the Custom Flow field set to 0, supports IP Network - for its Discovery Capability and is already on the same IP network as - the DUT commissioner. Ensure the Version bit string follows the - current Matter spec. documentation." + "Standard Commissioning Flow: Use a Commissionee with a QR code that + has the Custom Flow field set to 0, supports IP Network for its + Discovery Capability and is already on the same IP network as the DUT + commissioner. Ensure the Version bit string follows the current Matter + spec. documentation." + PICS: MCORE.DD.DT_IP verification: | $ ./out/all-clusters-app/chip-all-clusters-app --custom-flow 0 --capabilities 4 @@ -119,17 +121,17 @@ tests: ubuntu@ubuntu:~/may30_cntrl/connectedhomeip/examples/chip-tool/out/debug$ disabled: true - - label: - "If (PICS_SCAN_QR_CODE), Scan the QR code from the previous step using - the DUT." + - label: "Scan the QR code from the previous step using the DUT." + PICS: MCORE.DD.SCAN_QR_CODE verification: | 1. Verify the QR code is scanned by DUT, chip-tool does not support physically scanning QR codes disabled: true - label: - "If (PICS_DT_IP), Using the DUT, parse the THs QR code and follow any - steps needed for the Commissioner/Commissionee to complete the - commissioning process using IP Network" + "Using the DUT, parse the THs QR code and follow any steps needed for + the Commissioner/Commissionee to complete the commissioning process + using IP Network" + PICS: MCORE.DD.DT_IP verification: | TH Commissionee: @@ -148,25 +150,26 @@ tests: disabled: true - label: - "If (PICS_DT_SOFTAP), Standard Commissioning Flow: Use a Commissionee - with a QR code that has the Custom Flow field set to 0 and supports - SoftAP for its Discovery Capability. Ensure the Version bit string - follows the current Matter spec. documentation." + "Standard Commissioning Flow: Use a Commissionee with a QR code that + has the Custom Flow field set to 0 and supports SoftAP for its + Discovery Capability. Ensure the Version bit string follows the + current Matter spec. documentation." + PICS: MCORE.DD.DT_SOFTAP verification: | BLOCKED: SoftAP commissioning not currently supported disabled: true - - label: - "If (PICS_SCAN_QR_CODE), Scan the QR code from the previous step using - the DUT." + - label: "Scan the QR code from the previous step using the DUT." + PICS: MCORE.DD.SCAN_QR_CODE verification: | 1. Verify the QR code is scanned by DUT, chip-tool does not support physically scanning QR codes disabled: true - label: - "If (PICS_DT_SOFTAP), Using the DUT, parse the THs QR code and follow - any steps needed for the Commissioner/Commissionee to complete the - commissioning process using SoftAP" + "Using the DUT, parse the THs QR code and follow any steps needed for + the Commissioner/Commissionee to complete the commissioning process + using SoftAP" + PICS: MCORE.DD.DT_SOFTAP verification: | BLOCKED: SoftAP commissioning not currently supported disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_DD_3_12.yaml b/src/app/tests/suites/certification/Test_TC_DD_3_12.yaml index c2410ba0ab6b92..47a5969efc6af6 100644 --- a/src/app/tests/suites/certification/Test_TC_DD_3_12.yaml +++ b/src/app/tests/suites/certification/Test_TC_DD_3_12.yaml @@ -24,13 +24,14 @@ config: tests: - label: - "If (PICS_DT_BLE), User-Intent Commissioning Flow: Use a Commissionee - with a QR code that has the Custom Flow field set to 1 and supports - BLE for its Discovery Capability. Commissionee is NOT in commissioning - mode. Ensure the Version bit string follows the current Matter spec. + "User-Intent Commissioning Flow: Use a Commissionee with a QR code + that has the Custom Flow field set to 1 and supports BLE for its + Discovery Capability. Commissionee is NOT in commissioning mode. + Ensure the Version bit string follows the current Matter spec. documentation." + PICS: MCORE.DD.DT_BLE verification: | - $ ./out/ble/all-clusters-app/chip-all-clusters-app --capabilities 1 --custom-flow 1 + $ ./out/ble/all-clusters-app/chip-all-clusters-app --capabilities 2 --custom-flow 1 ... [1651101726.415743][23212:23212] CHIP:DL: Device Configuration: [1651101726.415810][23212:23212] CHIP:DL: Serial Number: TEST_SN @@ -56,16 +57,14 @@ tests: [1653992397.769577][2532:2532] CHIP:SPL: Passcode: 20202021 disabled: true - - label: - "If (PICS_SCAN_QR_CODE), Scan the QR code from the previous step using - the DUT." + - label: "Scan the QR code from the previous step using the DUT." + PICS: MCORE.DD.SCAN_QR_CODE verification: | 1. Verify the QR code is scanned by DUT, chip-tool does not support physically scanning QR codes disabled: true - - label: - "If (PICS_DT_BLE), DUT parses QR code and DUT presents User with a - pairing hint." + - label: "DUT parses QR code and DUT presents User with a pairing hint." + PICS: MCORE.DD.DT_BLE verification: | 1. Follow the steps given in the TH's pairing hint to allow for commissioning to happen. TH should not be commissioned until these steps were followed and indicate DUT can proceed with commissioning the TH to the Matter network @@ -77,9 +76,10 @@ tests: disabled: true - label: - "If (PICS_DT_BLE), Follow any steps from the resources provided by the - pairing hint for putting the TH Commissionee into commissioning mode - and to complete the commissioning process using BLE." + "Follow any steps from the resources provided by the pairing hint for + putting the TH Commissionee into commissioning mode and to complete + the commissioning process using BLE." + PICS: MCORE.DD.DT_BLE verification: | TH Commissionee: [1651101988.943015][23212:23212] CHIP:SVR: Commissioning completed successfully @@ -100,11 +100,12 @@ tests: disabled: true - label: - "If (PICS_DT_IP), User-Intent Commissioning Flow: Use a Commissionee - with a QR code that has the Custom Flow field set to 1 and supporttwos - IP Nerk for its Discovery Capability. Commissionee is NOT in - commissioning mode. Ensure the Version bit string follows the current - Matter spec. documentation." + "User-Intent Commissioning Flow: Use a Commissionee with a QR code + that has the Custom Flow field set to 1 and supports IP Network for + its Discovery Capability. Commissionee is NOT in commissioning mode. + Ensure the Version bit string follows the current Matter spec. + documentation." + PICS: MCORE.DD.DT_IP verification: | $ ./out/all-clusters-app/chip-all-clusters-app --custom-flow 1 --capabilities 4 [1651105004.718882][27096:27096] CHIP:DL: Device Configuration: @@ -131,24 +132,23 @@ tests: ubuntu@ubuntu:~/may30_cntrl/connectedhomeip/examples/chip-tool/out/debug$ disabled: true - - label: - "If (PICS_SCAN_QR_CODE), Scan the QR code from the previous step using - the DUT." + - label: "Scan the QR code from the previous step using the DUT." + PICS: MCORE.DD.SCAN_QR_CODE verification: | 1. Verify the QR code is scanned by DUT, chip-tool does not support physically scanning QR codes disabled: true - - label: - "If (PICS_DT_IP), DUT parses QR code and DUT presents User with a - pairing hint." + - label: "DUT parses QR code and DUT presents User with a pairing hint." + PICS: MCORE.DD.DT_IP verification: | 1. Follow the steps given in the TH's pairing hint to allow for commissioning to happen. TH should not be commissioned until these steps were followed and indicate DUT can proceed with commissioning the TH to the Matter network disabled: true - label: - "If (PICS_DT_IP), Follow any steps from the resources provided by the - pairing hint for putting the TH Commissionee into commissioning mode - and to complete the commissioning process using IP Network." + "Follow any steps from the resources provided by the pairing hint for + putting the TH Commissionee into commissioning mode and to complete + the commissioning process using IP Network." + PICS: MCORE.DD.DT_IP verification: | TH all-clusters-app: [1651105158.168056][27096:27096] CHIP:SVR: Commissioning completed successfully @@ -165,33 +165,33 @@ tests: disabled: true - label: - "If (PICS_DT_SOFTAP), User-Intent Commissioning Flow: Use a - Commissionee with a QR code that has the Custom Flow field set to 1 - and supports SoftAP for its Discovery Capability. Commissionee is NOT - in commissioning mode. Ensure the Version bit string follows the - current Matter spec. documentation." + "User-Intent Commissioning Flow: Use a Commissionee with a QR code + that has the Custom Flow field set to 1 and supports SoftAP for its + Discovery Capability. Commissionee is NOT in commissioning mode. + Ensure the Version bit string follows the current Matter spec. + documentation." + PICS: MCORE.DD.DT_SOFTAP verification: | BLOCKED: SoftAP commissioning not currently supported disabled: true - - label: - "If (PICS_SCAN_QR_CODE), Scan the QR code from the previous step using - the DUT." + - label: "Scan the QR code from the previous step using the DUT." + PICS: MCORE.DD.SCAN_QR_CODE verification: | 1. Verify the QR code is scanned by DUT, chip-tool does not support physically scanning QR codes disabled: true - - label: - "If (PICS_DT_SOFTAP), DUT parses QR code and DUT presents User with a - pairing hint." + - label: "DUT parses QR code and DUT presents User with a pairing hint." + PICS: MCORE.DD.DT_SOFTAP verification: | 1. Follow the steps given in the TH's pairing hint to allow for commissioning to happen. TH should not be commissioned until these steps were followed and indicate DUT can proceed with commissioning the TH to the Matter network disabled: true - label: - "If (PICS_DT_SOFTAP), Follow any steps from the resources provided by - the pairing hint for putting the TH Commissionee into commissioning - mode and to complete the commissioning process using SoftAP." + "Follow any steps from the resources provided by the pairing hint for + putting the TH Commissionee into commissioning mode and to complete + the commissioning process using SoftAP." + PICS: MCORE.DD.DT_SOFTAP verification: | BLOCKED: SoftAP commissioning not currently supported disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_DD_3_13.yaml b/src/app/tests/suites/certification/Test_TC_DD_3_13.yaml index 466ab754ec353b..b1e3b486e9e2eb 100644 --- a/src/app/tests/suites/certification/Test_TC_DD_3_13.yaml +++ b/src/app/tests/suites/certification/Test_TC_DD_3_13.yaml @@ -24,11 +24,11 @@ config: tests: - label: - "If (PICS_DT_BLE), Custom Commissioning Flow: Use a Commissionee with - a QR code that has the Custom Flow field set to 2 and supports BLE for - its Discovery Capability. Commissionee is NOT in commissioning mode. - Ensure the Version bit string follows the current Matter spec. - documentation." + "Custom Commissioning Flow: Use a Commissionee with a QR code that has + the Custom Flow field set to 2 and supports BLE for its Discovery + Capability. Commissionee is NOT in commissioning mode. Ensure the + Version bit string follows the current Matter spec. documentation." + PICS: MCORE.DD.DT_BLE verification: | $ ./out/ble/all-clusters-app/chip-all-clusters-app --custom-flow 2 --capabilities 2 @@ -55,25 +55,26 @@ tests: ubuntu@ubuntu:~/may30_cntrl/connectedhomeip/examples/chip-tool/out/debug$ disabled: true - - label: - "If (PICS_SCAN_QR_CODE), Scan the QR code from the previous step using - the DUT." + - label: "Scan the QR code from the previous step using the DUT." + PICS: MCORE.DD.SCAN_QR_CODE verification: | 1. Verify the QR code is scanned by DUT, chip-tool does not support physically scanning QR codes disabled: true - label: - "If (PICS_DT_BLE), DUT parses QR code and DUT presents User with a URL - in the pairing hint." + "DUT parses QR code and DUT presents User with a URL in the pairing + hint." + PICS: MCORE.DD.DT_BLE verification: | 1. Follow the steps given in the TH's URL to allow for commissioning to happen. TH should not be commissioned until these steps were followed and indicate DUT can proceed with commissioning the TH to the Matter network disabled: true - label: - "If (PICS_DT_BLE), Follow any steps from the URL provided by the - pairing hint for putting the TH Commissionee into commissioning mode, - for triggering the DUT Commissioner for commissioning, and for - completing the commissioning process using BLE." + "Follow any steps from the URL provided by the pairing hint for + putting the TH Commissionee into commissioning mode, for triggering + the DUT Commissioner for commissioning, and for completing the + commissioning process using BLE." + PICS: MCORE.DD.DT_BLE verification: | TH all-clusters-app: [1651104141.533461][26507:26507] CHIP:SVR: Commissioning completed successfully @@ -90,11 +91,12 @@ tests: disabled: true - label: - "If (PICS_DT_IP), Custom Commissioning Flow: Use a Commissionee with a - QR code that has the Custom Flow field set to 2 and supports IP - Network for its Discovery Capability. Commissionee is NOT in - commissioning mode. Ensure the Version bit string follows the current - Matter spec. documentation." + "Custom Commissioning Flow: Use a Commissionee with a QR code that has + the Custom Flow field set to 2 and supports IP Network for its + Discovery Capability. Commissionee is NOT in commissioning mode. + Ensure the Version bit string follows the current Matter spec. + documentation." + PICS: MCORE.DD.DT_IP verification: | $ ./out/all-clusters-app/chip-all-clusters-app --custom-flow 2 --capabilities 4 @@ -124,25 +126,26 @@ tests: " disabled: true - - label: - "If (PICS_SCAN_QR_CODE), Scan the QR code from the previous step using - the DUT." + - label: "Scan the QR code from the previous step using the DUT." + PICS: MCORE.DD.SCAN_QR_CODE verification: | 1. Verify the QR code is scanned by DUT, chip-tool does not support physically scanning QR codes disabled: true - label: - "If (PICS_DT_IP), DUT parses QR code and DUT presents User with a URL - in the pairing hint." + "DUT parses QR code and DUT presents User with a URL in the pairing + hint." + PICS: MCORE.DD.DT_IP verification: | 1. Follow the steps given in the TH's URL to allow for commissioning to happen. TH should not be commissioned until these steps were followed and indicate DUT can proceed with commissioning the TH to the Matter network disabled: true - label: - "If (PICS_DT_IP), Follow any steps from the URL provided by the - pairing hint for putting the TH Commissionee into commissioning mode, - for triggering the DUT Commissioner for commissioning, and for - completing the commissioning process using IP Network." + "Follow any steps from the URL provided by the pairing hint for + putting the TH Commissionee into commissioning mode, for triggering + the DUT Commissioner for commissioning, and for completing the + commissioning process using IP Network." + PICS: MCORE.DD.DT_IP verification: | TH all-clusters-app: [1651103591.176135][8940:8940] CHIP:SVR: Commissioning completed successfully @@ -160,34 +163,35 @@ tests: disabled: true - label: - "If (PICS_DT_SOFTAP), Custom Commissioning Flow: Use a Commissionee - with a QR code that has the Custom Flow field set to 2 and supports - SoftAP for its Discovery Capability. Commissionee is NOT in - commissioning mode. Ensure the Version bit string follows the current - Matter spec. documentation." + "Custom Commissioning Flow: Use a Commissionee with a QR code that has + the Custom Flow field set to 2 and supports SoftAP for its Discovery + Capability. Commissionee is NOT in commissioning mode. Ensure the + Version bit string follows the current Matter spec. documentation." + PICS: MCORE.DD.DT_SOFTAP verification: | BLOCKED: SoftAP commissioning not currently supported disabled: true - - label: - "If (PICS_SCAN_QR_CODE), Scan the QR code from the previous step using - the DUT." + - label: "Scan the QR code from the previous step using the DUT." + PICS: MCORE.DD.SCAN_QR_CODE verification: | 1. Verify the QR code is scanned by DUT, chip-tool does not support physically scanning QR codes disabled: true - label: - "If (PICS_DT_SOFTAP), DUT parses QR code and DUT presents User with a - URL in the pairing hint." + "DUT parses QR code and DUT presents User with a URL in the pairing + hint." + PICS: MCORE.DD.DT_SOFTAP verification: | 1. Follow the steps given in the TH's URL to allow for commissioning to happen. TH should not be commissioned until these steps were followed and indicate DUT can proceed with commissioning the TH to the Matter network disabled: true - label: - "If (PICS_DT_SOFTAP), Follow any steps from the URL provided by the - pairing hint for putting the TH Commissionee into commissioning mode, - for triggering the DUT Commissioner for commissioning, and for - completing the commissioning process using SoftAP." + "Follow any steps from the URL provided by the pairing hint for + putting the TH Commissionee into commissioning mode, for triggering + the DUT Commissioner for commissioning, and for completing the + commissioning process using SoftAP." + PICS: MCORE.DD.DT_SOFTAP verification: | BLOCKED: SoftAP commissioning not currently supported disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_DD_3_14.yaml b/src/app/tests/suites/certification/Test_TC_DD_3_14.yaml index 18f613c4555c88..9deb8df0c00e28 100644 --- a/src/app/tests/suites/certification/Test_TC_DD_3_14.yaml +++ b/src/app/tests/suites/certification/Test_TC_DD_3_14.yaml @@ -57,17 +57,17 @@ tests: disabled: true - label: - "If (PICS_USER_INTENT_COMM_FLOW), Using the QR code from Step 1, - generate a new QR code using all the same Onboarding Payload - components except for the Custom Flow field, set it to 1: User-Intent - Commissioning Flow" + "Using the QR code from Step 1, generate a new QR code using all the + same Onboarding Payload components except for the Custom Flow field, + set it to 1: User-Intent Commissioning Flow" + PICS: MCORE.DD.USER_INTENT_COMM_FLOW verification: | MT:-24J06VO00KA0648G00 disabled: true - label: - "If (PICS_USER_INTENT_COMM_FLOW), Scan/read the QR code, generated in - the previous step, using the DUT" + "Scan/read the QR code, generated in the previous step, using the DUT" + PICS: MCORE.DD.USER_INTENT_COMM_FLOW verification: | ERROR: chip-tool allows pairing to all-clusters-app when QR code contains user-intent flow but device uses custom commissioning flow @@ -75,16 +75,17 @@ tests: disabled: true - label: - "If (PICS_CUSTOM_COMM_FLOW), Using the QR code from Step 1, generate a - new QR code using all the same Onboarding Payload components except - for the Custom Flow field, set it to 2: Custom Commissioning Flow" + "Using the QR code from Step 1, generate a new QR code using all the + same Onboarding Payload components except for the Custom Flow field, + set it to 2: Custom Commissioning Flow" + PICS: MCORE.DD.CUSTOM_COMM_FLOW verification: | MT:-24J029Q00KA0648G00 disabled: true - label: - "If (PICS_CUSTOM_COMM_FLOW), Scan/read the QR code, generated in the - previous step, using the DUT" + "Scan/read the QR code, generated in the previous step, using the DUT" + PICS: MCORE.DD.CUSTOM_COMM_FLOW verification: | ERROR: chip-tool allows pairing to all-clusters-app when QR code contains custom commissioning flow but device uses standard commissioning flow @@ -108,41 +109,39 @@ tests: disabled: true - label: - "If (PICS_DT_BLE), Using the QR code from Step 1, generate a new QR - code using all the same Onboarding Payload components except for the - Discovery Capability bit string, set it to BLE for discovery" + "Using the QR code from Step 1, generate a new QR code using all the + same Onboarding Payload components except for the Discovery Capability + bit string, set it to BLE for discovery" + PICS: MCORE.DD.DT_BLE verification: | MT:-24J0YXE00KA0648G00 disabled: true - label: - "If (PICS_DT_BLE), Scan/read the QR code, generated in the previous - step, using the DUT" + "Scan/read the QR code, generated in the previous step, using the DUT" + PICS: MCORE.DD.DT_BLE verification: | - $ ./out/chip-tool/chip-tool pairing code 1 MT:-24J0YXE00KA0648G00 + ERROR: chip-tool allows pairing to all-clusters-app when QR code contains BLE Discovery but device uses IP Discovery - CHIP:SC: PASESession timed out while waiting for a response from the peer. Expected message type was 33 - [1653048447.653685][119116:119121] CHIP:TOO: Secure Pairing Failed - [1653048447.653777][119116:119121] CHIP:TOO: Pairing Failure: ../../third_party/connectedhomeip/src/protocols/secure_channel/PASESession.cpp:245: CHIP Error 0x00000032: Timeout + $ ./out/chip-tool/chip-tool pairing code 1 MT:-24J0YXE00KA0648G00 disabled: true - label: - "If (PICS_DT_IP), Using the QR code from Step 1, generate a new QR - code using all the same Onboarding Payload components except for the - Discovery Capability bit string, set it to IP Network for discovery" + "Using the QR code from Step 1, generate a new QR code using all the + same Onboarding Payload components except for the Discovery Capability + bit string, set it to IP Network for discovery" + PICS: MCORE.DD.DT_IP verification: | MT:-24J029Q00KA0648G00 disabled: true - label: - "If (PICS_DT_IP), Scan/read the QR code, generated in the previous - step, using the DUT" + "Scan/read the QR code, generated in the previous step, using the DUT" + PICS: MCORE.DD.DT_IP verification: | - $ ./out/chip-tool/chip-tool pairing code 1 MT:-24J029Q00KA0648G00 + ERROR: chip-tool allows pairing to all-clusters-app when QR code contains IP Discovery but device uses BLE Discovery - PASESession timed out while waiting for a response from the peer. Expected message type was 33 - [1653048958.640087][119165:119170] CHIP:TOO: Secure Pairing Failed - [1653048958.640178][119165:119170] CHIP:TOO: Pairing Failure: ../../third_party/connectedhomeip/src/protocols/secure_channel/PASESession.cpp:245: CHIP Error 0x00000032: Timeout + $ ./out/chip-tool/chip-tool pairing code 1 MT:-24J029Q00KA0648G00 disabled: true - label: diff --git a/src/app/tests/suites/certification/Test_TC_DD_3_15.yaml b/src/app/tests/suites/certification/Test_TC_DD_3_15.yaml index f58f9030cdb819..96197fbc68d888 100644 --- a/src/app/tests/suites/certification/Test_TC_DD_3_15.yaml +++ b/src/app/tests/suites/certification/Test_TC_DD_3_15.yaml @@ -24,10 +24,10 @@ config: tests: - label: - "If (PICS_11_MANUAL_PC), Verify the THs 11-digit Manual Pairing Code - meets the following criteria: - VERSION bit string string up to date - with the current Matter spec. documentation - VID_PID_PRESENT bit - string set to 0" + "Verify the THs 11-digit Manual Pairing Code meets the following + criteria: - VERSION bit string string up to date with the current + Matter spec. documentation - VID_PID_PRESENT bit string set to 0" + PICS: MCORE.DD.11_MANUAL_PC verification: | $ ./out/ble/all-clusters-app/chip-all-clusters-app [1651108891.390266][30833:30833] CHIP:DL: Device Configuration: @@ -42,15 +42,16 @@ tests: [1651108891.390744][30833:30833] CHIP:-: ==== Onboarding payload for Standard Commissioning Flow ==== [1651108891.390809][30833:30833] CHIP:SVR: SetupQRCode: [MT:-24J0AFN00KA0648G00] [1651108891.390848][30833:30833] CHIP:SVR: Copy/paste the below URL in a browser to see the QR Code: - [1651108891.390876][30833:30833] CHIP:SVR: https://project-chip.github.io/connectedhomeip/qrcode.html?data=MT%3A-24J0AFN00KA0648G00 + [1651108891.390876][30833:30833] CHIP:SVR: https://dhrishi.github.io/connectedhomeip/qrcode.html?data=MT%3A-24J0AFN00KA0648G00 [1651108891.390917][30833:30833] CHIP:SVR: Manual pairing code: [34970112332] disabled: true - label: - "If (PICS_11_MANUAL_PC), Provide the Manual Pairing Code, generated in - the previous step, to the DUT in any format supported by the DUT. - Follow any steps needed for the Commissioner/Commissionee to complete - the commissioning process." + "Provide the Manual Pairing Code, generated in the previous step, to + the DUT in any format supported by the DUT. Follow any steps needed + for the Commissioner/Commissionee to complete the commissioning + process." + PICS: MCORE.DD.11_MANUAL_PC verification: | TH Commissionee: [1651109112.909458][30833:30833] CHIP:SVR: Commissioning completed successfully @@ -68,12 +69,13 @@ tests: disabled: true - label: - 'If (PICS_21_MANUAL_PC), Verify the THs 21-digit Manual Pairing Code - meets the following criteria: - A VERSION bit string string up-to-date - with the current Matter spec. documentation - A VID_PID_PRESENT bit - string set to 1 - A VENDOR_ID present (as defined in section 2.5.2. - "Vendor Identifier") - A PRODUCT_ID present (as defined in section - 2.5.3. "Product Identifier")' + 'Verify the THs 21-digit Manual Pairing Code meets the following + criteria: - A VERSION bit string string up-to-date with the current + Matter spec. documentation - A VID_PID_PRESENT bit string set to 1 - A + VENDOR_ID present (as defined in section 2.5.2. "Vendor Identifier") - + A PRODUCT_ID present (as defined in section 2.5.3. "Product + Identifier")' + PICS: MCORE.DD.21_MANUAL_PC verification: | $ ./out/ble/all-clusters-app/chip-all-clusters-app @@ -89,20 +91,21 @@ tests: [1651109167.022753][30980:30980] CHIP:-: ==== Onboarding payload for Standard Commissioning Flow ==== [1651109167.022825][30980:30980] CHIP:SVR: SetupQRCode: [MT:-24J0AFN00KA0648G00] [1651109167.022868][30980:30980] CHIP:SVR: Copy/paste the below URL in a browser to see the QR Code: - [1651109167.022898][30980:30980] CHIP:SVR: https://project-chip.github.io/connectedhomeip/qrcode.html?data=MT%3A-24J0AFN00KA0648G00 + [1651109167.022898][30980:30980] CHIP:SVR: https://dhrishi.github.io/connectedhomeip/qrcode.html?data=MT%3A-24J0AFN00KA0648G00 [1651109167.022942][30980:30980] CHIP:SVR: Manual pairing code: [34970112332] [1651109167.022974][30980:30980] CHIP:-: ==== Onboarding payload for Custom Commissioning Flows ==== [1651109167.023050][30980:30980] CHIP:SVR: SetupQRCode: [MT:-24J029Q00KA0648G00] [1651109167.023090][30980:30980] CHIP:SVR: Copy/paste the below URL in a browser to see the QR Code: - [1651109167.023120][30980:30980] CHIP:SVR: https://project-chip.github.io/connectedhomeip/qrcode.html?data=MT%3A-24J029Q00KA0648G00 + [1651109167.023120][30980:30980] CHIP:SVR: https://dhrishi.github.io/connectedhomeip/qrcode.html?data=MT%3A-24J029Q00KA0648G00 [1651109167.023167][30980:30980] CHIP:SVR: Manual pairing code: [749701123365521327694] disabled: true - label: - "If (PICS_21_MANUAL_PC), Provide the Manual Pairing Code, generated in - the previous step, to the DUT in any format supported by the DUT. - Follow any steps needed for the Commissioner/Commissionee to complete - the commissioning process." + "Provide the Manual Pairing Code, generated in the previous step, to + the DUT in any format supported by the DUT. Follow any steps needed + for the Commissioner/Commissionee to complete the commissioning + process." + PICS: MCORE.DD.21_MANUAL_PC verification: | TH Commissionee: [1651109219.100167][30980:30980] CHIP:SVR: Commissioning completed successfully diff --git a/src/app/tests/suites/certification/Test_TC_DD_3_16.yaml b/src/app/tests/suites/certification/Test_TC_DD_3_16.yaml index 43b278e8d22d02..38c43190d842cc 100644 --- a/src/app/tests/suites/certification/Test_TC_DD_3_16.yaml +++ b/src/app/tests/suites/certification/Test_TC_DD_3_16.yaml @@ -24,8 +24,9 @@ config: tests: - label: - "If (PICS_11_MANUAL_PC), Provide the 11-digit Manual Pairing Code from - the Commissionee to the DUT in any format supported by DUT" + "Provide the 11-digit Manual Pairing Code from the Commissionee to the + DUT in any format supported by DUT" + PICS: MCORE.DD.11_MANUAL_PC verification: | $ ./out/all-clusters-app/chip-all-clusters-app --version 0 --vendor-id 0xFFF1 --product-id 0x8001 --custom-flow 0 --capabilities 4 --discriminator 3840 --passcode 20202021 @@ -41,14 +42,15 @@ tests: [1651180718.960671][13218:13218] CHIP:-: ==== Onboarding payload for Standard Commissioning Flow ==== [1651180718.960729][13218:13218] CHIP:SVR: SetupQRCode: [MT:-24J0AFN00KA0648G00] [1651180718.960760][13218:13218] CHIP:SVR: Copy/paste the below URL in a browser to see the QR Code: - [1651180718.960781][13218:13218] CHIP:SVR: https://project-chip.github.io/connectedhomeip/qrcode.html?data=MT%3A-24J0AFN00KA0648G00 + [1651180718.960781][13218:13218] CHIP:SVR: https://dhrishi.github.io/connectedhomeip/qrcode.html?data=MT%3A-24J0AFN00KA0648G00 [1651180718.960814][13218:13218] CHIP:SVR: Manual pairing code: [34970112332] disabled: true - label: - "If (PICS_11_MANUAL_PC), VERSION: Using the manual code from Step 1, - generate a new manual code but substituting out the current VERSION - with an invalid VERSION: 2" + "VERSION: Using the manual code from Step 1, generate a new manual + code but substituting out the current VERSION with an invalid VERSION: + 2" + PICS: MCORE.DD.11_MANUAL_PC verification: | $ ./out/chip-tool/chip-tool payload verhoeff-generate 8497011233 [1651186243492] [13415:349553] CHIP: [SPL] Generating Character for: 84970112331 @@ -57,32 +59,31 @@ tests: disabled: true - label: - "If (PICS_11_MANUAL_PC), Provide the Manual Pairing Code, generated in - the previous step, to the DUT in any format supported by the DUT" + "Provide the Manual Pairing Code, generated in the previous step, to + the DUT in any format supported by the DUT" + PICS: MCORE.DD.11_MANUAL_PC verification: | - $ ./out/chip-tool/chip-tool pairing manualcode 1 84970112331 + $ ./out/chip-tool/chip-tool pairing code 1 84970112331 - [1651186653578] [13468:355000] CHIP: [DL] Mdns: OnNewAddress interface: 24 ip:fe80::dea6:32ff:fe8d:6e32 - [1651186653600] [13468:354997] CHIP: [BLE] CBManagerState: ON - [1651186653601] [13468:354997] CHIP: [BLE] CBManagerState: RESETTING - [1651186655771] [13468:354997] CHIP: [BLE] CBManagerState: ON - Illegal instruction: 4 + Run command failure: ../../third_party/connectedhomeip/src/setup_payload/ManualSetupPayloadParser.cpp:137: CHIP Error 0x0000002F: Invalid argument disabled: true - label: - "If (PICS_11_MANUAL_PC), VID_PID_PRESENT: Using the manual code from - Step 1, generate a new manual code but substituting out the current - VID_PID_PRESENT with an invalid VID_PID_PRESENT set to 1" + "VID_PID_PRESENT: Using the manual code from Step 1, generate a new + manual code but substituting out the current VID_PID_PRESENT with an + invalid VID_PID_PRESENT set to 1" + PICS: MCORE.DD.11_MANUAL_PC verification: | $ ./out/chip-tool/chip-tool payload generate-manualcode --discriminator 0xF00 --setup-pin-code 20202021 --version 0 --vendor-id 0xFFF1 --product-id 0x8001 --commissioning-mode 2 --force-short-code 1 [1651181048462] [11611:269469] CHIP: [TOO] Manual Code: 74970112334 disabled: true - label: - "If (PICS_11_MANUAL_PC), Provide the Manual Pairing Code, generated in - the previous step, to the DUT in any format supported by the DUT" + "Provide the Manual Pairing Code, generated in the previous step, to + the DUT in any format supported by the DUT" + PICS: MCORE.DD.11_MANUAL_PC verification: | - $ ./out/chip-tool/chip-tool pairing manualcode 1 74970112334 + $ ./out/chip-tool/chip-tool pairing code 1 74970112334 [1651184274318] [12512:321250] CHIP: [SPL] Failed decoding base10. Input length 10 was not expected length 20 ... @@ -90,43 +91,39 @@ tests: disabled: true - label: - 'If (PICS_11_MANUAL_PC), SHORT DISCRIMINATOR: Using the manual code - from Step 1, generate a new manual code but substituting out the - current SHORT DISCRIMINATOR string with a discriminator value that - makes the generated manual code differ from Step 1s manual code (i.e. - Choose a discriminator value that changes any of the 4 - most-significant bits of Step 1s 12-bit discriminator value and - adheres to rules of section 5.1.1.5. "Discriminator value")' + 'SHORT DISCRIMINATOR: Using the manual code from Step 1, generate a + new manual code but substituting out the current SHORT DISCRIMINATOR + string with a discriminator value that makes the generated manual code + differ from Step 1s manual code (i.e. Choose a discriminator value + that changes any of the 4 most-significant bits of Step 1s 12-bit + discriminator value and adheres to rules of section 5.1.1.5. + "Discriminator value")' + PICS: MCORE.DD.11_MANUAL_PC verification: | - $ ./out/chip-tool/chip-tool payload verhoeff-generate 8497011233 - [1651186243492] [13415:349553] CHIP: [SPL] Generating Character for: 8497011233 - [1651186243492] [13415:349553] CHIP: [SPL] Generated Char: 1 - Manual Code: 84970112331 + Manual Code: 33331712336 disabled: true - label: - "If (PICS_11_MANUAL_PC), Provide the Manual Pairing Code, generated in - the previous step, to the DUT in any format supported by the DUT" + "Provide the Manual Pairing Code, generated in the previous step, to + the DUT in any format supported by the DUT" + PICS: MCORE.DD.11_MANUAL_PC verification: | - $ ./out/chip-tool/chip-tool pairing manualcode 1 33331712336 - - [1651184172578] [12458:318862] CHIP: [DL] Mdns: OnNewAddress interface: 24 ip:fe80::dea6:32ff:fe8d:6e32 - [1651184172578] [12458:318862] CHIP: [DL] Mdns: OnNewAddress interface: 24 ip:fe80::dea6:32ff:fe8d:6e32 - [1651184172603] [12458:318861] CHIP: [BLE] CBManagerState: ON - [1651184172605] [12458:318862] CHIP: [BLE] CBManagerState: RESETTING - [1651184174769] [12458:318861] CHIP: [BLE] CBManagerState: ON - Illegal instruction: 4 + $ ./out/chip-tool/chip-tool pairing code 1 33331712336 + + [1654001605.517505][3200:3205] CHIP:-: ../../third_party/connectedhomeip/src/platform/Linux/BLEManagerImpl.cpp:748: CHIP Error 0x0000002D: Not Implemented at ../../third_party/connectedhomeip/src/controller/SetUpCodePairer.cpp:450 + [1654001605.517563][3200:3205] CHIP:CTL: Stopping commissioning discovery over DNS-SD + [1654001605.517619][3200:3205] CHIP:TOO: Secure Pairing Failed disabled: true - label: - "If (PICS_11_MANUAL_PC), Passcode: Using the manual code from Step 1, - generate a new manual code using all the same Onboarding Payload - components except for the Passcode. For each Passcode in the following - list, set the Passcode component to one of the invalid Passcode and - generate a new manual code using all the same Onboarding Payload - components and one Passcode from the list: 00000000, 11111111, - 22222222, 33333333, 44444444, 55555555, 66666666, 77777777, 88888888, - 99999999, 12345678, 87654321" + "Passcode: Using the manual code from Step 1, generate a new manual + code using all the same Onboarding Payload components except for the + Passcode. For each Passcode in the following list, set the Passcode + component to one of the invalid Passcode and generate a new manual + code using all the same Onboarding Payload components and one Passcode + from the list: 00000000, 11111111, 22222222, 33333333, 44444444, + 55555555, 66666666, 77777777, 88888888, 99999999, 12345678, 87654321" + PICS: MCORE.DD.11_MANUAL_PC verification: | 1. Use these as examples of how to generate manual codes with invalid passcodes @@ -180,86 +177,76 @@ tests: disabled: true - label: - "If (PICS_11_MANUAL_PC), Provide each of the Manual Pairing Codes, - generated in the previous step, to the DUT in any format supported by - the DUT" + "Provide each of the Manual Pairing Codes, generated in the previous + step, to the DUT in any format supported by the DUT" + PICS: MCORE.DD.11_MANUAL_PC verification: | (00000000) - $ ./out/chip-tool/chip-tool pairing manualcode 1 34915200008 - [1651182596491] [12006:288954] CHIP: [SPL] Failed decoding base10. SetUpPINCode was 0. + $ ./out/chip-tool/chip-tool pairing code 1 34915200008 + Run command failure: ../../third_party/connectedhomeip/src/setup_payload/ManualSetupPayloadParser.cpp:137: CHIP Error 0x0000002F: Invalid argument (11111111) - $ ./out/chip-tool/chip-tool pairing manualcode 1 35191106788 - [1651182622501] [12009:289307] CHIP: [SC] Failed during PASE session setup. ../../examples/chip-tool/third_party/connectedhomeip/src/crypto/CHIPCryptoPALOpenSSL.cpp:1352: CHIP Error 0x000000AC: Internal error - [1651182622501] [12009:289307] CHIP: [TOO] Secure Pairing Failed + $ ./out/chip-tool/chip-tool pairing code 1 35191106788 + Run command failure: ../../third_party/connectedhomeip/src/setup_payload/ManualSetupPayloadParser.cpp:137: CHIP Error 0x0000002F: Invalid argument (22222222) - $ ./out/chip-tool/chip-tool pairing manualcode 1 35467013565 - [1651182688251] [12026:292039] CHIP: [SC] Failed during PASE session setup. ../../examples/chip-tool/third_party/connectedhomeip/src/crypto/CHIPCryptoPALOpenSSL.cpp:1352: CHIP Error 0x000000AC: Internal error - [1651182688251] [12026:292039] CHIP: [TOO] Secure Pairing Failed + $ ./out/chip-tool/chip-tool pairing code 1 35467013565 + Run command failure: ../../third_party/connectedhomeip/src/setup_payload/ManualSetupPayloadParser.cpp:137: CHIP Error 0x0000002F: Invalid argument (33333333) - $ ./out/chip-tool/chip-tool pairing manualcode 1 35742920344 - [1651182749249] [12037:293713] CHIP: [SC] Failed during PASE session setup. ../../examples/chip-tool/third_party/connectedhomeip/src/crypto/CHIPCryptoPALOpenSSL.cpp:1352: CHIP Error 0x000000AC: Internal error - [1651182749249] [12037:293713] CHIP: [TOO] Secure Pairing Failed + $ ./out/chip-tool/chip-tool pairing code 1 35742920344 + Run command failure: ../../third_party/connectedhomeip/src/setup_payload/ManualSetupPayloadParser.cpp:137: CHIP Error 0x0000002F: Invalid argument (44444444) - $ ./out/chip-tool/chip-tool pairing manualcode 1 36018827124 - [1651182769619] [12045:294912] CHIP: [SC] Failed during PASE session setup. ../../examples/chip-tool/third_party/connectedhomeip/src/crypto/CHIPCryptoPALOpenSSL.cpp:1352: CHIP Error 0x000000AC: Internal error - [1651182769619] [12045:294912] CHIP: [TOO] Secure Pairing Failed + $ ./out/chip-tool/chip-tool pairing code 1 36018827124 + Run command failure: ../../third_party/connectedhomeip/src/setup_payload/ManualSetupPayloadParser.cpp:137: CHIP Error 0x0000002F: Invalid argument (55555555) - $ ./out/chip-tool/chip-tool pairing manualcode 1 36294733900 - [1651182788383] [12053:296042] CHIP: [SC] Failed during PASE session setup. ../../examples/chip-tool/third_party/connectedhomeip/src/crypto/CHIPCryptoPALOpenSSL.cpp:1352: CHIP Error 0x000000AC: Internal error - [1651182788383] [12053:296042] CHIP: [TOO] Secure Pairing Failed + $ ./out/chip-tool/chip-tool pairing code 1 36294733900 + Run command failure: ../../third_party/connectedhomeip/src/setup_payload/ManualSetupPayloadParser.cpp:137: CHIP Error 0x0000002F: Invalid argument (66666666) - $ ./out/chip-tool/chip-tool pairing manualcode 1 34932240691 - [1651182816133] [12067:297210] CHIP: [SC] Failed during PASE session setup. ../../examples/chip-tool/third_party/connectedhomeip/src/crypto/CHIPCryptoPALOpenSSL.cpp:1352: CHIP Error 0x000000AC: Internal error - [1651182816133] [12067:297210] CHIP: [TOO] Secure Pairing Failed + $ ./out/chip-tool/chip-tool pairing code 1 34932240691 + Run command failure: ../../third_party/connectedhomeip/src/setup_payload/ManualSetupPayloadParser.cpp:137: CHIP Error 0x0000002F: Invalid argument (77777777) - $ ./out/chip-tool/chip-tool pairing manualcode 1 35208147474 - [1651182833101] [12080:298444] CHIP: [SC] Failed during PASE session setup. ../../examples/chip-tool/third_party/connectedhomeip/src/crypto/CHIPCryptoPALOpenSSL.cpp:1352: CHIP Error 0x000000AC: Internal error - [1651182833101] [12080:298444] CHIP: [TOO] Secure Pairing Failed + $ ./out/chip-tool/chip-tool pairing code 1 35208147474 + Run command failure: ../../third_party/connectedhomeip/src/setup_payload/ManualSetupPayloadParser.cpp:137: CHIP Error 0x0000002F: Invalid argument (88888888) - $ ./out/chip-tool/chip-tool pairing manualcode 1 35484054250 - [1651182850431] [12086:299484] CHIP: [SC] Failed during PASE session setup. ../../examples/chip-tool/third_party/connectedhomeip/src/crypto/CHIPCryptoPALOpenSSL.cpp:1352: CHIP Error 0x000000AC: Internal error - [1651182850431] [12086:299484] CHIP: [TOO] Secure Pairing Failed + $ ./out/chip-tool/chip-tool pairing code 1 35484054250 + Run command failure: ../../third_party/connectedhomeip/src/setup_payload/ManualSetupPayloadParser.cpp:137: CHIP Error 0x0000002F: Invalid argument (99999999) - $ ./out/chip-tool/chip-tool pairing manualcode 1 35759961037 - [1651182873582] [12092:300725] CHIP: [SC] Failed during PASE session setup. ../../examples/chip-tool/third_party/connectedhomeip/src/crypto/CHIPCryptoPALOpenSSL.cpp:1352: CHIP Error 0x000000AC: Internal error - [1651182873582] [12092:300725] CHIP: [TOO] Secure Pairing Failed + $ ./out/chip-tool/chip-tool pairing code 1 35759961037 + Run command failure: ../../third_party/connectedhomeip/src/setup_payload/ManualSetupPayloadParser.cpp:137: CHIP Error 0x0000002F: Invalid argument (12345678) - $ ./out/chip-tool/chip-tool pairing manualcode 1 35767807533 - [1651182902418] [12113:302157] CHIP: [SC] Failed during PASE session setup. ../../examples/chip-tool/third_party/connectedhomeip/src/crypto/CHIPCryptoPALOpenSSL.cpp:1352: CHIP Error 0x000000AC: Internal error - [1651182902418] [12113:302157] CHIP: [TOO] Secure Pairing Failed + $ ./out/chip-tool/chip-tool pairing code 1 35767807533 + Run command failure: ../../third_party/connectedhomeip/src/setup_payload/ManualSetupPayloadParser.cpp:137: CHIP Error 0x0000002F: Invalid argument (87654321) - $ ./out/chip-tool/chip-tool pairing manualcode 1 36545753496 - [1651182919123] [12125:303345] CHIP: [SC] Failed during PASE session setup. ../../examples/chip-tool/third_party/connectedhomeip/src/crypto/CHIPCryptoPALOpenSSL.cpp:1352: CHIP Error 0x000000AC: Internal error - [1651182919123] [12125:303345] CHIP: [TOO] Secure Pairing Failed + $ ./out/chip-tool/chip-tool pairing code 1 36545753496 + Run command failure: ../../third_party/connectedhomeip/src/setup_payload/ManualSetupPayloadParser.cpp:137: CHIP Error 0x0000002F: Invalid argument disabled: true - label: - "If (PICS_11_MANUAL_PC), CHECK_DIGIT: Using the manual code from Step - 1, generate a new manual code but substituting out the current - CHECK_DIGIT with an invalid CHECK_DIGIT (i.e. Any different - CHECK_DIGIT than the commissionees CHECK_DIGIT while following Table - 38. Encoding Method without Vendor and Product IDs (VID_PID_Present == - 0))" + "CHECK_DIGIT: Using the manual code from Step 1, generate a new manual + code but substituting out the current CHECK_DIGIT with an invalid + CHECK_DIGIT (i.e. Any different CHECK_DIGIT than the commissionees + CHECK_DIGIT while following Table 38. Encoding Method without Vendor + and Product IDs (VID_PID_Present == 0))" + PICS: MCORE.DD.11_MANUAL_PC verification: | Manual Code: 34970112331 disabled: true - label: - "If (PICS_11_MANUAL_PC), Provide the Manual Pairing Code, generated in - the previous step, to the DUT in any format supported by the DUT" + "Provide the Manual Pairing Code, generated in the previous step, to + the DUT in any format supported by the DUT" + PICS: MCORE.DD.11_MANUAL_PC verification: | - $ ./out/chip-tool/chip-tool pairing manualcode 1 34970112331 + $ ./out/chip-tool/chip-tool pairing code 1 34970112331 [1651184084907] [12271:316118] CHIP: [TOO] Run command failure: ../../examples/chip-tool/third_party/connectedhomeip/src/setup_payload/ManualSetupPayloadParser.cpp:50: CHIP Error 0x00000013: Integrity check failed disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_DD_3_17.yaml b/src/app/tests/suites/certification/Test_TC_DD_3_17.yaml index 9c5c868f58413d..736f05ce0804ba 100644 --- a/src/app/tests/suites/certification/Test_TC_DD_3_17.yaml +++ b/src/app/tests/suites/certification/Test_TC_DD_3_17.yaml @@ -24,8 +24,9 @@ config: tests: - label: - "If (PICS_21_MANUAL_PC), Provide the 21-digit Manual Pairing Code from - the Commissionee to the DUT in any format supported by DUT" + "Provide the 21-digit Manual Pairing Code from the Commissionee to the + DUT in any format supported by DUT" + PICS: MCORE.DD.21_MANUAL_PC verification: | $ ./out/all-clusters-app/chip-all-clusters-app --version 0 --vendor-id 0xFFF1 --product-id 0x8001 --custom-flow 2 --capabilities 4 --discriminator 3840 --passcode 20202021 @@ -42,9 +43,10 @@ tests: disabled: true - label: - "If (PICS_21_MANUAL_PC), VERSION: Using the manual code from Step 1, - generate a new manual code but substituting out the current VERSION - with an invalid VERSION: 2" + "VERSION: Using the manual code from Step 1, generate a new manual + code but substituting out the current VERSION with an invalid VERSION: + 2" + PICS: MCORE.DD.21_MANUAL_PC verification: | $ chip-tool/out/debug$ ./chip-tool payload verhoeff-generate 849701123365521327693 [1652423715.746979][23816:23816] CHIP:SPL: Generating Character for: 849701123365521327693 @@ -53,21 +55,23 @@ tests: disabled: true - label: - "If (PICS_21_MANUAL_PC), Provide the Manual Pairing Code, generated in - the previous step, to the DUT in any format supported by the DUT" + "Provide the Manual Pairing Code, generated in the previous step, to + the DUT in any format supported by the DUT" + PICS: MCORE.DD.21_MANUAL_PC verification: | - $ ./out/chip-tool/chip-tool pairing manualcode 1 849701123365521327693 + $ ./out/chip-tool/chip-tool pairing code 1 849701123365521327693 [1651186987544] [13533:359998] CHIP: [SPL] Failed decoding base10. Input length 20 was not expected length 10 ... - [1651186987544] [13533:359996] CHIP: [TOO] Run command failure: ../../examples/chip-tool/third_party/connectedhomeip/src/setup_payload/ManualSetupPayloadParser.cpp:63: CHIP Error 0x0000001E: Invalid string length + Run command failure: ../../third_party/connectedhomeip/src/setup_payload/ManualSetupPayloadParser.cpp:137: CHIP Error 0x0000002F: Invalid argument disabled: true - label: - "If (PICS_21_MANUAL_PC), VID_PID_PRESENT: Using the manual code from - Step 1, generate a new manual code but substituting out the current - VID_PID_PRESENT with an invalid VID_PID_PRESENT set to 0" + "VID_PID_PRESENT: Using the manual code from Step 1, generate a new + manual code but substituting out the current VID_PID_PRESENT with an + invalid VID_PID_PRESENT set to 0" + PICS: MCORE.DD.21_MANUAL_PC verification: | $ ./out/chip-tool/chip-tool payload verhoeff-generate 34970112336552132769 [1651186492744] [13434:353094] CHIP: [SPL] Generating Character for: 34970112336552132769 @@ -77,10 +81,11 @@ tests: disabled: true - label: - "If (PICS_21_MANUAL_PC), Provide the Manual Pairing Code, generated in - the previous step, to the DUT in any format supported by the DUT" + "Provide the Manual Pairing Code, generated in the previous step, to + the DUT in any format supported by the DUT" + PICS: MCORE.DD.21_MANUAL_PC verification: | - $ ./out/chip-tool/chip-tool pairing manualcode 1 349701123365521327696 + $ ./out/chip-tool/chip-tool pairing code 1 349701123365521327696 [1651187185899] [13557:362337] CHIP: [SPL] Failed decoding base10. Input length 20 was not expected length 10 ... @@ -88,43 +93,44 @@ tests: disabled: true - label: - 'If (PICS_21_MANUAL_PC), SHORT DISCRIMINATOR: Using the manual code - from Step 1, generate a new manual code but substituting out the - current SHORT DISCRIMINATOR string with a discriminator value that - makes the generated manual code differ from Step 1s manual code (i.e. - Choose a discriminator value that changes any of the 4 - most-significant bits of Step 1s 12-bit discriminator value and - adheres to rules of section 5.1.1.5. "Discriminator value")' + 'SHORT DISCRIMINATOR: Using the manual code from Step 1, generate a + new manual code but substituting out the current SHORT DISCRIMINATOR + string with a discriminator value that makes the generated manual code + differ from Step 1s manual code (i.e. Choose a discriminator value + that changes any of the 4 most-significant bits of Step 1s 12-bit + discriminator value and adheres to rules of section 5.1.1.5. + "Discriminator value")' + PICS: MCORE.DD.21_MANUAL_PC verification: | - $ ./out/chip-tool/chip-tool payload verhoeff-generate 8497011233 + $ ./out/chip-tool/chip-tool payload verhoeff-generate 733317123365521327692 [1651186243492] [13415:349553] CHIP: [SPL] Generating Character for: 8497011233 [1651186243492] [13415:349553] CHIP: [SPL] Generated Char: 1 - Manual Code: 84970112331 + Manual Code: 733317123365521327692 disabled: true - label: - "If (PICS_21_MANUAL_PC), Provide the Manual Pairing Code, generated in - the previous step, to the DUT in any format supported by the DUT" + "Provide the Manual Pairing Code, generated in the previous step, to + the DUT in any format supported by the DUT" + PICS: MCORE.DD.21_MANUAL_PC verification: | - $ ./out/chip-tool/chip-tool pairing manualcode 1 733317123365521327692 - - [1651187326154] [13574:364188] CHIP: [DL] Mdns: OnBrowseAdd name: 5303D3B066C915A8, type: _matterc._udp., domain: local., interface: 24 - [1651187326155] [13574:364188] CHIP: [DL] Resolve type=_matterc._udp name=5303D3B066C915A8 interface=24 - [1651187326155] [13574:364188] CHIP: [DL] Mdns : OnNewInterface hostname:DCA6328D6E320000.local. fullname:5303D3B066C915A8._matterc._udp.local. interface: 24 - [1651187326157] [13574:364188] CHIP: [DL] Mdns: OnNewAddress interface: 24 ip:fe80::dea6:32ff:fe8d:6e32 - [1651187328222] [13574:364187] CHIP: [BLE] CBManagerState: ON - Illegal instruction: 4 + $ ./out/chip-tool/chip-tool pairing code 1 733317123365521327692 + + [1655814152.716988][3723:3726] CHIP:CTL: Commissioning discovery over BLE failed: ../../third_party/connectedhomeip/src/platform/Linux/BLEManagerImpl.cpp:829: CHIP Error 0x00000032: Timeout + [1655814152.717099][3723:3726] CHIP:-: ../../third_party/connectedhomeip/src/platform/Linux/BLEManagerImpl.cpp:829: CHIP Error 0x00000032: Timeout at ../../third_party/connectedhomeip/src/controller/SetUpCodePairer.cpp:270 + [1655814172.703455][3723:3728] CHIP:CTL: Discovery timed out + [1655814172.703550][3723:3728] CHIP:CTL: Stopping commissioning discovery over DNS-SD + [1655814172.703607][3723:3728] CHIP:TOO: Secure Pairing Failed disabled: true - label: - "If (PICS_21_MANUAL_PC), Passcode: Using the manual code from Step 1, - generate a new manual code using all the same Onboarding Payload - components except for the Passcode. For each Passcode in the following - list, set the Passcode component to one of the invalid Passcode and - generate a new manual code using all the same Onboarding Payload - components and one Passcode from the list: 00000000, 11111111, - 22222222, 33333333, 44444444, 55555555, 66666666, 77777777, 88888888, - 99999999, 12345678, 87654321" + "Passcode: Using the manual code from Step 1, generate a new manual + code using all the same Onboarding Payload components except for the + Passcode. For each Passcode in the following list, set the Passcode + component to one of the invalid Passcode and generate a new manual + code using all the same Onboarding Payload components and one Passcode + from the list: 00000000, 11111111, 22222222, 33333333, 44444444, + 55555555, 66666666, 77777777, 88888888, 99999999, 12345678, 87654321" + PICS: MCORE.DD.21_MANUAL_PC verification: | 1. Use this as an example of how to generate a manual code with an invalid passcode @@ -133,78 +139,77 @@ tests: disabled: true - label: - "If (PICS_21_MANUAL_PC), Provide each of the Manual Pairing Codes, - generated in the previous step, to the DUT in any format supported by - the DUT" + "Provide each of the Manual Pairing Codes, generated in the previous + step, to the DUT in any format supported by the DUT" + PICS: MCORE.DD.21_MANUAL_PC verification: | (00000000) - $ ./out/chip-tool/chip-tool pairing manualcode 1 749152000065521327698 + $ ./out/chip-tool/chip-tool pairing code 1 749152000065521327698 [1651187937232] [13896:372977] CHIP: [TOO] Run command failure: ../../examples/chip-tool/third_party/connectedhomeip/src/setup_payload/ManualSetupPayloadParser.cpp:161: CHIP Error 0x0000002F: Invalid argument (11111111) - $ ./out/chip-tool/chip-tool pairing manualcode 1 751911067865521327698 - [1651187951631] [13904:373170] CHIP: [SC] Failed during PASE session setup. ../../examples/chip-tool/third_party/connectedhomeip/src/crypto/CHIPCryptoPALOpenSSL.cpp:1352: CHIP Error 0x000000AC: Internal error - [1651187951631] [13904:373170] CHIP: [TOO] Secure Pairing Failed + $ ./out/chip-tool/chip-tool pairing code 1 751911067865521327698 + [1655814240.531424][3747:3747] CHIP:TOO: Run command failure: ../../third_party/connectedhomeip/src/controller/SetUpCodePairer.cpp:55: CHIP Error 0x0000002F: Invalid argument + (22222222) - $ ./out/chip-tool/chip-tool pairing manualcode 1 754670135665521327694 - [1651187975776] [13921:374525] CHIP: [SC] Failed during PASE session setup. ../../examples/chip-tool/third_party/connectedhomeip/src/crypto/CHIPCryptoPALOpenSSL.cpp:1352: CHIP Error 0x000000AC: Internal error - [1651187975776] [13921:374525] CHIP: [TOO] Secure Pairing Failed + $ ./out/chip-tool/chip-tool pairing code 1 754670135665521327694 + [1655814269.264731][3754:3754] CHIP:TOO: Run command failure: ../../third_party/connectedhomeip/src/controller/SetUpCodePairer.cpp:55: CHIP Error 0x0000002F: Invalid argument + (33333333) - $ ./out/chip-tool/chip-tool pairing manualcode 1 757429203465521327699 - [1651187993465] [13945:375674] CHIP: [SC] Failed during PASE session setup. ../../examples/chip-tool/third_party/connectedhomeip/src/crypto/CHIPCryptoPALOpenSSL.cpp:1352: CHIP Error 0x000000AC: Internal error - [1651187993465] [13945:375674] CHIP: [TOO] Secure Pairing Failed + $ ./out/chip-tool/chip-tool pairing code 1 757429203465521327699 + [1655814269.264731][3754:3754] CHIP:TOO: Run command failure: ../../third_party/connectedhomeip/src/controller/SetUpCodePairer.cpp:55: CHIP Error 0x0000002F: Invalid argument + (44444444) - $ ./out/chip-tool/chip-tool pairing manualcode 1 760188271265521327697 - [1651188008800] [13951:376725] CHIP: [SC] Failed during PASE session setup. ../../examples/chip-tool/third_party/connectedhomeip/src/crypto/CHIPCryptoPALOpenSSL.cpp:1352: CHIP Error 0x000000AC: Internal error - [1651188008800] [13951:376725] CHIP: [TOO] Secure Pairing Failed + $ ./out/chip-tool/chip-tool pairing code 1 760188271265521327697 + [1655814269.264731][3754:3754] CHIP:TOO: Run command failure: ../../third_party/connectedhomeip/src/controller/SetUpCodePairer.cpp:55: CHIP Error 0x0000002F: Invalid argument + (55555555) - $ ./out/chip-tool/chip-tool pairing manualcode 1 762947339065521327695 - [1651188029330] [13957:377885] CHIP: [SC] Failed during PASE session setup. ../../examples/chip-tool/third_party/connectedhomeip/src/crypto/CHIPCryptoPALOpenSSL.cpp:1352: CHIP Error 0x000000AC: Internal error - [1651188029330] [13957:377885] CHIP: [TOO] Secure Pairing Failed + $ ./out/chip-tool/chip-tool pairing code 1 762947339065521327695 + [1655814269.264731][3754:3754] CHIP:TOO: Run command failure: ../../third_party/connectedhomeip/src/controller/SetUpCodePairer.cpp:55: CHIP Error 0x0000002F: Invalid argument + (66666666) - $ ./out/chip-tool/chip-tool pairing manualcode 1 749322406965521327695 - [1651188054160] [13994:379681] CHIP: [SC] Failed during PASE session setup. ../../examples/chip-tool/third_party/connectedhomeip/src/crypto/CHIPCryptoPALOpenSSL.cpp:1352: CHIP Error 0x000000AC: Internal error - [1651188054160] [13994:379681] CHIP: [TOO] Secure Pairing Failed + $ ./out/chip-tool/chip-tool pairing code 1 749322406965521327695 + [1655814269.264731][3754:3754] CHIP:TOO: Run command failure: ../../third_party/connectedhomeip/src/controller/SetUpCodePairer.cpp:55: CHIP Error 0x0000002F: Invalid argument + (77777777) - $ ./out/chip-tool/chip-tool pairing manualcode 1 752081474765521327697 - [1651188073770] [14000:380949] CHIP: [SC] Failed during PASE session setup. ../../examples/chip-tool/third_party/connectedhomeip/src/crypto/CHIPCryptoPALOpenSSL.cpp:1352: CHIP Error 0x000000AC: Internal error - [1651188073770] [14000:380949] CHIP: [TOO] Secure Pairing Failed + $ ./out/chip-tool/chip-tool pairing code 1 752081474765521327697 + [1655814269.264731][3754:3754] CHIP:TOO: Run command failure: ../../third_party/connectedhomeip/src/controller/SetUpCodePairer.cpp:55: CHIP Error 0x0000002F: Invalid argument + (88888888) - $ ./out/chip-tool/chip-tool pairing manualcode 1 754840542565521327693 - [1651188090958] [14006:382023] CHIP: [SC] Failed during PASE session setup. ../../examples/chip-tool/third_party/connectedhomeip/src/crypto/CHIPCryptoPALOpenSSL.cpp:1352: CHIP Error 0x000000AC: Internal error - [1651188090958] [14006:382023] CHIP: [TOO] Secure Pairing Failed + $ ./out/chip-tool/chip-tool pairing code 1 754840542565521327693 + [1655814269.264731][3754:3754] CHIP:TOO: Run command failure: ../../third_party/connectedhomeip/src/controller/SetUpCodePairer.cpp:55: CHIP Error 0x0000002F: Invalid argument + (99999999) - $ ./out/chip-tool/chip-tool pairing manualcode 1 757599610365521327695 - [1651188107232] [14013:383046] CHIP: [SC] Failed during PASE session setup. ../../examples/chip-tool/third_party/connectedhomeip/src/crypto/CHIPCryptoPALOpenSSL.cpp:1352: CHIP Error 0x000000AC: Internal error - [1651188107232] [14013:383046] CHIP: [TOO] Secure Pairing Failed + $ ./out/chip-tool/chip-tool pairing code 1 757599610365521327695 + [1655814269.264731][3754:3754] CHIP:TOO: Run command failure: ../../third_party/connectedhomeip/src/controller/SetUpCodePairer.cpp:55: CHIP Error 0x0000002F: Invalid argument + (12345678) - $ ./out/chip-tool/chip-tool pairing manualcode 1 757678075365521327695 - [1651188124928] [14019:384164] CHIP: [SC] Failed during PASE session setup. ../../examples/chip-tool/third_party/connectedhomeip/src/crypto/CHIPCryptoPALOpenSSL.cpp:1352: CHIP Error 0x000000AC: Internal error - [1651188124928] [14019:384164] CHIP: [TOO] Secure Pairing Failed + $ ./out/chip-tool/chip-tool pairing code 1 757678075365521327695 + [1655814269.264731][3754:3754] CHIP:TOO: Run command failure: ../../third_party/connectedhomeip/src/controller/SetUpCodePairer.cpp:55: CHIP Error 0x0000002F: Invalid argument + (87654321) - $ ./out/chip-tool/chip-tool pairing manualcode 1 765457534965521327696 - [1651188157157] [14043:386017] CHIP: [SC] Failed during PASE session setup. ../../examples/chip-tool/third_party/connectedhomeip/src/crypto/CHIPCryptoPALOpenSSL.cpp:1352: CHIP Error 0x000000AC: Internal error - [1651188157157] [14043:386017] CHIP: [TOO] Secure Pairing Failed + $ ./out/chip-tool/chip-tool pairing code 1 765457534965521327696 + [1655814323.718122][3761:3761] CHIP:TOO: Run command failure: ../../third_party/connectedhomeip/src/controller/SetUpCodePairer.cpp:55: CHIP Error 0x0000002F: Invalid argument disabled: true - label: - "If (PICS_21_MANUAL_PC), VENDOR_ID: Using the manual code from Step 1, - generate a new manual code using all the same Onboarding Payload - components except for the VENDOR_ID. For each VENDOR_ID in the - following list, set the VENDOR_ID component to one of the invalid Test - VENDOR_IDs and generate a new manual code using all the same - Onboarding Payload components and one Test VENDOR_ID from the list: - 0xFFF1, 0xFFF2, 0xFFF3, 0xFFF4" + "VENDOR_ID: Using the manual code from Step 1, generate a new manual + code using all the same Onboarding Payload components except for the + VENDOR_ID. For each VENDOR_ID in the following list, set the VENDOR_ID + component to one of the invalid Test VENDOR_IDs and generate a new + manual code using all the same Onboarding Payload components and one + Test VENDOR_ID from the list: 0xFFF1, 0xFFF2, 0xFFF3, 0xFFF4" + PICS: MCORE.DD.21_MANUAL_PC verification: | 1. Use this as an example of how to generate a manual code with an invalid vendor IDs @@ -213,9 +218,9 @@ tests: disabled: true - label: - "If (PICS_21_MANUAL_PC), Provide each of the Manual Pairing Codes, - generated in the previous step, to the DUT in any format supported by - the DUT" + "Provide each of the Manual Pairing Codes, generated in the previous + step, to the DUT in any format supported by the DUT" + PICS: MCORE.DD.21_MANUAL_PC verification: | (0xFFF1) $ ./out/chip-tool/chip-tool pairing manualcode 1 749701123365521327694 @@ -237,31 +242,33 @@ tests: disabled: true - label: - 'If (PICS_21_MANUAL_PC), PRODUCT_ID: Using the manual code from Step - 1, generate a new manual code but substituting out the current - PRODUCT_ID with an invalid PRODUCT_ID of 0x0000(i.e. While following - section 2.5.3. "Product Identifier")' + 'PRODUCT_ID: Using the manual code from Step 1, generate a new manual + code but substituting out the current PRODUCT_ID with an invalid + PRODUCT_ID of 0x0000(i.e. While following section 2.5.3. "Product + Identifier")' + PICS: MCORE.DD.21_MANUAL_PC verification: | $ ./out/chip-tool/chip-tool payload generate-manualcode --discriminator 3840 --setup-pin-code 20202021 --version 0 --vendor-id 0xFFF1 --product-id 0x0000 --commissioning-mode 1 --allow-invalid-payload 1 [1651187401077] [13610:366251] CHIP: [TOO] Manual Code: 749701123365521000006 disabled: true - label: - "If (PICS_21_MANUAL_PC), Provide the Manual Pairing Code, generated in - the previous step, to the DUT in any format supported by the DUT" + "Provide the Manual Pairing Code, generated in the previous step, to + the DUT in any format supported by the DUT" + PICS: MCORE.DD.21_MANUAL_PC verification: | - Error: chip-tool pairs to chip-all-clusters-app with this invalid Product ID of 0x0000 - $ ./out/chip-tool/chip-tool pairing manualcode 1 749701123365521000006 + + [1655380389.096806][35861:35861] CHIP:TOO: Run command failure: ../../third_party/connectedhomeip/src/controller/SetUpCodePairer.cpp:55: CHIP Error 0x0000002F: Invalid argument disabled: true - label: - "If (PICS_21_MANUAL_PC), Check Digit: Using the manual code from Step - 1, generate a new manual code but substituting out the current - CHECK_DIGIT with an invalid CHECK_DIGIT (i.e. Any different - CHECK_DIGIT than the commissionees CHECK_DIGIT while following Table - 39. Encoding Method with Vendor and Product IDs included - (VID_PID_Present == 1))" + "Check Digit: Using the manual code from Step 1, generate a new manual + code but substituting out the current CHECK_DIGIT with an invalid + CHECK_DIGIT (i.e. Any different CHECK_DIGIT than the commissionees + CHECK_DIGIT while following Table 39. Encoding Method with Vendor and + Product IDs included (VID_PID_Present == 1))" + PICS: MCORE.DD.21_MANUAL_PC verification: | $ ./out/chip-tool/chip-tool payload verhoeff-verify 749701123365521327693 20 [1651187504088] [13629:367627] CHIP: [SPL] Verifying Manual Code: 74970112336552132769 @@ -269,10 +276,11 @@ tests: disabled: true - label: - "If (PICS_21_MANUAL_PC), Provide the Manual Pairing Code, generated in - the previous step, to the DUT in any format supported by the DUT" + "Provide the Manual Pairing Code, generated in the previous step, to + the DUT in any format supported by the DUT" + PICS: MCORE.DD.21_MANUAL_PC verification: | - $ ./out/chip-tool/chip-tool pairing manualcode 1 749701123365521327693 + $ ./out/chip-tool/chip-tool pairing code 1 749701123365521327693 [1651187528666] [13631:367920] CHIP: [TOO] Run command failure: ../../examples/chip-tool/third_party/connectedhomeip/src/setup_payload/ManualSetupPayloadParser.cpp:50: CHIP Error 0x00000013: Integrity check failed disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_DD_3_18.yaml b/src/app/tests/suites/certification/Test_TC_DD_3_18.yaml index 39d9c4759d7da3..198e053c05ee6d 100644 --- a/src/app/tests/suites/certification/Test_TC_DD_3_18.yaml +++ b/src/app/tests/suites/certification/Test_TC_DD_3_18.yaml @@ -27,42 +27,72 @@ tests: "Place TH1 into commissioning mode using the TH manufacturers means to be discovered by a commissioner" verification: | - $ ./out/all-clusters-app/chip-all-clusters-app --discriminator 3840 - - [1651109580.413197][31207:31207] CHIP:DL: Device Configuration: - [1651109580.413259][31207:31207] CHIP:DL: Serial Number: TEST_SN - [1651109580.413294][31207:31207] CHIP:DL: Vendor Id: 65521 (0xFFF1) - [1651109580.413327][31207:31207] CHIP:DL: Product Id: 32769 (0x8001) - [1651109580.413358][31207:31207] CHIP:DL: Hardware Version: 0 - [1651109580.413380][31207:31207] CHIP:DL: Setup Pin Code (0 for UNKNOWN/ERROR): 20202021 - [1651109580.413401][31207:31207] CHIP:DL: Setup Discriminator (0xFFFF for UNKNOWN/ERROR): 3840 (0xF00) - [1651109580.413428][31207:31207] CHIP:DL: Manufacturing Date: (not set) - [1651109580.413450][31207:31207] CHIP:DL: Device Type: 65535 (0xFFFF) - [1651109580.413470][31207:31207] CHIP:-: ==== Onboarding payload for Standard Commissioning Flow ==== - [1651109580.413525][31207:31207] CHIP:SVR: SetupQRCode: [MT:-24J0AFN00KA0648G00] + After launching all-clusters-app using discriminator 3841 using below command + sudo ./chip-all-clusters-app --wifi --discriminator 3841 + + ./chip-tool discover commissionables + [1654068872.283184][8000:8005] CHIP:DL: Avahi resolve found + [1654068872.283316][8000:8005] CHIP:DIS: Hostname: E45F010F19FF0000 + [1654068872.283374][8000:8005] CHIP:DIS: IP Address #1: fe80::e65f:1ff:fe0f:19ff + [1654068872.283419][8000:8005] CHIP:DIS: Port: 5540 + [1654068872.283460][8000:8005] CHIP:DIS: Mrp Interval idle: 5000 ms + [1654068872.283503][8000:8005] CHIP:DIS: Mrp Interval active: 300 ms + [1654068872.283563][8000:8005] CHIP:DIS: Vendor ID: 65521 + [1654068872.283605][8000:8005] CHIP:DIS: Product ID: 32769 + [1654068872.283646][8000:8005] CHIP:DIS: Long Discriminator: 3844 + [1654068872.283687][8000:8005] CHIP:DIS: Pairing Hint: 33 + [1654068872.283728][8000:8005] CHIP:DIS: Instance Name: C50FE94C4952D393 + [1654068872.283768][8000:8005] CHIP:DIS: Commissioning Mode: 1 + [1654068872.285052][8000:8005] CHIP:DL: Avahi resolve found + [1654068872.285156][8000:8005] CHIP:DIS: Hostname: E45F010F27530000 + [1654068872.285211][8000:8005] CHIP:DIS: IP Address #1: fe80::e65f:1ff:fe0f:2755 + [1654068872.285254][8000:8005] CHIP:DIS: Port: 5540 + [1654068872.285296][8000:8005] CHIP:DIS: Mrp Interval idle: 5000 ms + [1654068872.285337][8000:8005] CHIP:DIS: Mrp Interval active: 300 ms + [1654068872.285378][8000:8005] CHIP:DIS: Vendor ID: 65521 + [1654068872.285418][8000:8005] CHIP:DIS: Product ID: 32769 + [1654068872.285458][8000:8005] CHIP:DIS: Long Discriminator: 3841 + [1654068872.285498][8000:8005] CHIP:DIS: Pairing Hint: 33 + [1654068872.285538][8000:8005] CHIP:DIS: Instance Name: DC47D37251924E87 + [1654068872.285579][8000:8005] CHIP:DIS: Commissioning Mode: 1 disabled: true - label: "Place TH2 into commissioning mode using the TH manufacturers means to be discovered by a commissioner" verification: | - $ ./out/all-clusters-app/chip-all-clusters-app --discriminator 3844 - - [1651109859.015727][11588:11588] CHIP:DL: Device Configuration: - [1651109859.015789][11588:11588] CHIP:DL: Serial Number: TEST_SN - [1651109859.015834][11588:11588] CHIP:DL: Vendor Id: 65521 (0xFFF1) - [1651109859.015879][11588:11588] CHIP:DL: Product Id: 32769 (0x8001) - [1651109859.015920][11588:11588] CHIP:DL: Hardware Version: 0 - [1651109859.015957][11588:11588] CHIP:DL: Setup Pin Code (0 for UNKNOWN/ERROR): 20202021 - [1651109859.015986][11588:11588] CHIP:DL: Setup Discriminator (0xFFFF for UNKNOWN/ERROR): 3844 (0xF04) - [1651109859.016024][11588:11588] CHIP:DL: Manufacturing Date: (not set) - [1651109859.016054][11588:11588] CHIP:DL: Device Type: 65535 (0xFFFF) - [1651109859.016082][11588:11588] CHIP:-: ==== Onboarding payload for Standard Commissioning Flow ==== - [1651109859.016147][11588:11588] CHIP:SVR: SetupQRCode: [MT:-24J04QI14KA0648G00] + After launching all-clusters-app using discriminator 3844 using below command + sudo ./chip-all-clusters-app --wifi --discriminator 3844 + + ./chip-tool discover commissionables + [1654068872.283184][8000:8005] CHIP:DL: Avahi resolve found + [1654068872.283316][8000:8005] CHIP:DIS: Hostname: E45F010F19FF0000 + [1654068872.283374][8000:8005] CHIP:DIS: IP Address #1: fe80::e65f:1ff:fe0f:19ff + [1654068872.283419][8000:8005] CHIP:DIS: Port: 5540 + [1654068872.283460][8000:8005] CHIP:DIS: Mrp Interval idle: 5000 ms + [1654068872.283503][8000:8005] CHIP:DIS: Mrp Interval active: 300 ms + [1654068872.283563][8000:8005] CHIP:DIS: Vendor ID: 65521 + [1654068872.283605][8000:8005] CHIP:DIS: Product ID: 32769 + [1654068872.283646][8000:8005] CHIP:DIS: Long Discriminator: 3844 + [1654068872.283687][8000:8005] CHIP:DIS: Pairing Hint: 33 + [1654068872.283728][8000:8005] CHIP:DIS: Instance Name: C50FE94C4952D393 + [1654068872.283768][8000:8005] CHIP:DIS: Commissioning Mode: 1 + [1654068872.285052][8000:8005] CHIP:DL: Avahi resolve found + [1654068872.285156][8000:8005] CHIP:DIS: Hostname: E45F010F27530000 + [1654068872.285211][8000:8005] CHIP:DIS: IP Address #1: fe80::e65f:1ff:fe0f:2755 + [1654068872.285254][8000:8005] CHIP:DIS: Port: 5540 + [1654068872.285296][8000:8005] CHIP:DIS: Mrp Interval idle: 5000 ms + [1654068872.285337][8000:8005] CHIP:DIS: Mrp Interval active: 300 ms + [1654068872.285378][8000:8005] CHIP:DIS: Vendor ID: 65521 + [1654068872.285418][8000:8005] CHIP:DIS: Product ID: 32769 + [1654068872.285458][8000:8005] CHIP:DIS: Long Discriminator: 3841 + [1654068872.285498][8000:8005] CHIP:DIS: Pairing Hint: 33 + [1654068872.285538][8000:8005] CHIP:DIS: Instance Name: DC47D37251924E87 + [1654068872.285579][8000:8005] CHIP:DIS: Commissioning Mode: 1 disabled: true - - label: - "If (PICS_SCAN_QR_CODE), Scan TH1s QR code using the DUT Commissioner." + - label: "Scan TH1s QR code using the DUT Commissioner." + PICS: MCORE.DD.SCAN_QR_CODE verification: | 1. Verify the QR code is scanned by DUT, chip-tool does not support physically scanning QR codes disabled: true @@ -87,8 +117,8 @@ tests: [1651109784376] [95553:65657838] CHIP: [TOO] Device commissioning completed with success disabled: true - - label: - "If (PICS_SCAN_QR_CODE), Scan TH2s QR code using the DUT Commissioner." + - label: "Scan TH2s QR code using the DUT Commissioner." + PICS: MCORE.DD.SCAN_QR_CODE verification: | 1. Verify the QR code is scanned by DUT, chip-tool does not support physically scanning QR codes disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_DD_3_19.yaml b/src/app/tests/suites/certification/Test_TC_DD_3_19.yaml index e6f6446a536696..62f2f9ba508e9d 100644 --- a/src/app/tests/suites/certification/Test_TC_DD_3_19.yaml +++ b/src/app/tests/suites/certification/Test_TC_DD_3_19.yaml @@ -90,7 +90,7 @@ tests: CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Command 0x0000_0008 CHIP:TOO: NOCResponse: { CHIP:TOO: statusCode: 0 - CHIP:TOO: fabricIndex: 2 + CHIP:TOO: fabricIndex: 1 CHIP:TOO: } CHIP:DMG: ICR moving to [AwaitingDe] disabled: true @@ -105,19 +105,19 @@ tests: On TH chip-tool: $ ./out/chip-tool/chip-tool discover commissionables [1651111576350] [95850:65678872] CHIP: [DL] Mdns: OnNewAddress interface: 7 ip:192.168.1.2 - [1651111576350] [95850:65678872] CHIP: [DIS] Vendor ID: 65521 - [1651111576350] [95850:65678872] CHIP: [DIS] Product ID: 32769 - [1651111576350] [95850:65678872] CHIP: [DIS] Long Discriminator: 3841 - [1651111576350] [95850:65678872] CHIP: [DIS] Pairing Hint: 33 - [1651111576350] [95850:65678872] CHIP: [DIS] Hostname: DCA6328D2B9F0000 - [1651111576350] [95850:65678872] CHIP: [DIS] Instance Name: F17CF4C2DECCDA4B - [1651111576350] [95850:65678872] CHIP: [DIS] IP Address #1: fe80::dea6:32ff:fe8d:2ba0 - [1651111576350] [95850:65678872] CHIP: [DIS] IP Address #2: fe80::dea6:32ff:fe8d:2b9f - [1651111576350] [95850:65678872] CHIP: [DIS] IP Address #3: 192.168.1.2 - [1651111576350] [95850:65678872] CHIP: [DIS] Port: 5540 - [1651111576350] [95850:65678872] CHIP: [DIS] Commissioning Mode: 1 - [1651111576350] [95850:65678872] CHIP: [DIS] Mrp Interval idle: 5000 ms - [1651111576350] [95850:65678872] CHIP: [DIS] Mrp Interval active: 300 ms + [1651111576350] [95850:65678872] CHIP: [DIS] Vendor ID: 65521 + [1651111576350] [95850:65678872] CHIP: [DIS] Product ID: 32769 + [1651111576350] [95850:65678872] CHIP: [DIS] Long Discriminator: 3841 + [1651111576350] [95850:65678872] CHIP: [DIS] Pairing Hint: 33 + [1651111576350] [95850:65678872] CHIP: [DIS] Hostname: DCA6328D2B9F0000 + [1651111576350] [95850:65678872] CHIP: [DIS] Instance Name: F17CF4C2DECCDA4B + [1651111576350] [95850:65678872] CHIP: [DIS] IP Address #1: fe80::dea6:32ff:fe8d:2ba0 + [1651111576350] [95850:65678872] CHIP: [DIS] IP Address #2: fe80::dea6:32ff:fe8d:2b9f + [1651111576350] [95850:65678872] CHIP: [DIS] IP Address #3: 192.168.1.2 + [1651111576350] [95850:65678872] CHIP: [DIS] Port: 5540 + [1651111576350] [95850:65678872] CHIP: [DIS] Commissioning Mode: 1 + [1651111576350] [95850:65678872] CHIP: [DIS] Mrp Interval idle: 5000 ms + [1651111576350] [95850:65678872] CHIP: [DIS] Mrp Interval active: 300 ms disabled: true - label: diff --git a/src/app/tests/suites/certification/Test_TC_DD_3_2.yaml b/src/app/tests/suites/certification/Test_TC_DD_3_2.yaml index 0e1d4b9d1c6628..6689e63f294300 100644 --- a/src/app/tests/suites/certification/Test_TC_DD_3_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_DD_3_2.yaml @@ -53,6 +53,7 @@ tests: - label: "If (PICS_WIFI) or (PICS_THREAD), Commissioner SHALL configure regulatory information in the Commissionee." + PICS: MCORE.DD.WIRELESS verification: | On TH: CHIP:CTL: Setting Regulatory Config diff --git a/src/app/tests/suites/certification/Test_TC_DD_3_20.yaml b/src/app/tests/suites/certification/Test_TC_DD_3_20.yaml index db4d868d6c4f2e..64d2ad99a54fb2 100644 --- a/src/app/tests/suites/certification/Test_TC_DD_3_20.yaml +++ b/src/app/tests/suites/certification/Test_TC_DD_3_20.yaml @@ -42,8 +42,8 @@ tests: [1651109580.413525][31207:31207] CHIP:SVR: SetupQRCode: [MT:-24J0AFN00KA0648G00] disabled: true - - label: - "If (PICS_SCAN_QR_CODE), Scan THs QR code using the DUT Commissioner." + - label: "Scan THs QR code using the DUT Commissioner." + PICS: MCORE.DD.SCAN_QR_CODE verification: | 1. Verify the QR code is scanned by DUT, chip-tool does not support physically scanning QR codes disabled: true @@ -102,8 +102,8 @@ tests: [1651110721.112838][31791:31791] CHIP:SVR: SetupQRCode: [MT:-24J0AFN00KA0648G00] disabled: true - - label: - "If (PICS_SCAN_QR_CODE), Scan THs QR code using the DUT Commissioner." + - label: "Scan THs QR code using the DUT Commissioner." + PICS: MCORE.DD.SCAN_QR_CODE verification: | 1. Verify the QR code is scanned by DUT, chip-tool does not support physically scanning QR codes disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_DD_3_3.yaml b/src/app/tests/suites/certification/Test_TC_DD_3_3.yaml index 46c4c342d3b93a..f328055332e329 100644 --- a/src/app/tests/suites/certification/Test_TC_DD_3_3.yaml +++ b/src/app/tests/suites/certification/Test_TC_DD_3_3.yaml @@ -13,7 +13,7 @@ # limitations under the License. # Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default -name: 3.3.3. [TC-DD-3.3] User Directed Commissioning - Commissionee +name: 3.3.3. [TC-DD-3.3] User Directed Commissioning [DUT - Commissionee] config: nodeId: 0x12344321 @@ -25,581 +25,67 @@ tests: "DUT start scanning for available commissioners using Commissioner Discovery" verification: | - + DUT should make 4 retries with 100ms timeout disabled: true - label: "TH is instructed to advertise Commissioner Discovery service" verification: | - DUT to advertsise commissioner discovery service, Ex: The TV app example in SDK is reference commissioner - - - sudo ./chip-tv-app - - CHIP:DL: AUDIT: * Validate buf1 and buf2 are <<>> - CHIP:DL: AUDIT: * Validate r1 and r2 are <<>> - CHIP:DL: AUDIT: * buf1: 990049D21B9116BA6C79CDAF106B9558 - CHIP:DL: AUDIT: * buf2: 06D468BC4397CDD99A72C6E753E3D097 - CHIP:DL: AUDIT: * r1: 0x9F437DC6 r2: 0xE5EBA97A - CHIP:DL: AUDIT: ===== RANDOM NUMBER GENERATOR AUDIT END ==== - CHIP:DL: writing settings to file (/tmp/chip_counters.ini-mCbE1q) - CHIP:DL: renamed tmp file to file (/tmp/chip_counters.ini) - CHIP:DL: NVS set: chip-counters/reboot-count = 8 (0x8) - CHIP:DL: Got Ethernet interface: eth0 - CHIP:DL: Found the primary Ethernet interface:eth0 - CHIP:DL: Got WiFi interface: wlan0 - CHIP:DL: Failed to reset WiFi statistic counts - CHIP:DL: Device Configuration: - CHIP:DL: Serial Number: TEST_SN - CHIP:DL: Vendor Id: 9050 (0x235A) - CHIP:DL: Product Id: 65279 (0xFEFF) - CHIP:DL: Product Revision: 0 - CHIP:DL: Setup Pin Code: 20202021 - CHIP:DL: Setup Discriminator: 3840 (0xF00) - CHIP:DL: Manufacturing Date: (not set) - CHIP:DL: Device Type: 35 (0x23) - CHIP:SVR: SetupQRCode: [MT:YNJV7VSC00KA0648G00] - CHIP:SVR: Copy/paste the below URL in a browser to see the QR Code: - CHIP:SVR: https://project-chip.github.io/connectedhomeip/qrcode.html?data=MT%3AYNJV7VSC00KA0648G00 - CHIP:SVR: Manual pairing code: [34970112332] - CHIP:ZCL: Using ZAP configuration... - ] CHIP:ZCL: OpCreds: Initiating OpCreds cluster by writing fabrics list from fabric table. - CHIP:DIS: Set the fabric pairing table delegate - CHIP:ZCL: OpCreds: Call to writeFabricsIntoFabricsListAttribute - CHIP:ZCL: OpCreds: Stored 0 fabrics in fabrics list attribute. - CHIP:ZCL: Failed to store mac address for endpoint: 1. Error:../include/endpoint-configuration/Endp - CHIP:ZCL: Failed to store application for endpoint: 3. Error:../include/endpoint-configuration/Endp - CHIP:ZCL: Failed to store application for endpoint: 4. Error:../include/endpoint-configuration/Endp - CHIP:ZCL: Failed to store application for endpoint: 5. Error:../include/endpoint-configuration/Endp - CHIP:DIS: Init fabric pairing table with server storage - CHIP:IN: UDP::Init bind&listen port=5540 - CHIP:IN: UDP::Init bound to port=5540 - CHIP:IN: UDP::Init bind&listen port=5540 - CHIP:IN: UDP::Init bound to port=5540 - CHIP:IN: TransportMgr initialized - CHIP:DL: writing settings to file (/tmp/chip_counters.ini-aw9h7V) - CHIP:DL: renamed tmp file to file (/tmp/chip_counters.ini) - CHIP:DL: NVS set: chip-counters/GlobalMCTR = 9000 (0x2328) - CHIP:DL: wpa_supplicant: _IsWiFiStationProvisioned: interface not connected - CHIP:DIS: Fabric 1 is not yet configured - CHIP:DIS: Fabric 2 is not yet configured - CHIP:DIS: Fabric 3 is not yet configured - CHIP:DIS: Fabric 4 is not yet configured - CHIP:DIS: Fabric 5 is not yet configured - CHIP:DIS: Fabric 6 is not yet configured - CHIP:DIS: Fabric 7 is not yet configured - CHIP:DIS: Fabric 8 is not yet configured - CHIP:DIS: Fabric 9 is not yet configured - CHIP:DIS: Fabric 10 is not yet configured - CHIP:DIS: Fabric 11 is not yet configured - CHIP:DIS: Fabric 12 is not yet configured - CHIP:DIS: Fabric 13 is not yet configured - CHIP:DIS: Fabric 14 is not yet configured - CHIP:DIS: Fabric 15 is not yet configured - CHIP:DIS: Fabric 16 is not yet configured - CHIP:SC: Assigned local session key ID 1 - CHIP:SC: Waiting for PBKDF param request - CHIP:DIS: DNS-SD StartServer mode=1 - CHIP:DL: MDNS failed to join multicast group on veth5731933 for address type IPv4: ../third_party/c - CHIP:DL: MDNS failed to join multicast group on vethbf7bfa6 for address type IPv4: ../third_party/c - CHIP:DL: MDNS failed to join multicast group on vethcf434e5 for address type IPv4: ../third_party/c - CHIP:DIS: CHIP minimal mDNS started advertising. - CHIP:DIS: Failed to find a valid admin pairing. Node ID unknown - CHIP:DIS: Start dns-sd server - no current nodeId - CHIP:DL: MAC is not known, using a default. - CHIP:DIS: Advertise commission parameter vendorID=9050 productID=65279 discriminator=3840/00 - CHIP:DIS: CHIP minimal mDNS configured as 'Commissionable node device'. - CHIP:DIS: Broadcasting mDns reply for query from 192.168.1.11 - CHIP:DIS: Broadcasting mDns reply for query from 192.168.1.11 - CHIP:DIS: Broadcasting mDns reply for query from 192.168.1.11 - CHIP:DIS: Broadcasting mDns reply for query from 172.17.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.17.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.17.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.21.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.21.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.21.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.18.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.18.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.18.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.19.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.19.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.19.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.20.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.20.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.20.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 2402:e280:2108:181:e65f:1ff:fe0e:bf41 - CHIP:DIS: Broadcasting mDns reply for query from 2402:e280:2108:181:e65f:1ff:fe0e:bf41 - CHIP:DIS: Broadcasting mDns reply for query from 2402:e280:2108:181:e65f:1ff:fe0e:bf41 - CHIP:DIS: Broadcasting mDns reply for query from fe80::e65f:1ff:fe0e:bf41 - CHIP:DIS: Broadcasting mDns reply for query from fe80::e65f:1ff:fe0e:bf41 - CHIP:DIS: Broadcasting mDns reply for query from fe80::e65f:1ff:fe0e:bf41 - CHIP:DIS: Broadcasting mDns reply for query from fd11:db8:1::1 - CHIP:DIS: Failed to advertise records: ../third_party/connectedhomeip/src/inet/IPEndPointBasis.cpp: - CHIP:DIS: Broadcasting mDns reply for query from fe80::1 - CHIP:DIS: Failed to advertise records: ../third_party/connectedhomeip/src/inet/IPEndPointBasis.cpp: - CHIP:DIS: Broadcasting mDns reply for query from fd00:6d61:7474:6572::1 - CHIP:DIS: Broadcasting mDns reply for query from fd00:6d61:7474:6572::1 - CHIP:DIS: Broadcasting mDns reply for query from fd00:6d61:7474:6572::1 - CHIP:DIS: Broadcasting mDns reply for query from fe80::42:eeff:fec7:c619 - CHIP:DIS: Broadcasting mDns reply for query from fe80::42:eeff:fec7:c619 - CHIP:DIS: Broadcasting mDns reply for query from fe80::42:eeff:fec7:c619 - CHIP:DIS: Broadcasting mDns reply for query from fe80::1 - CHIP:DIS: Broadcasting mDns reply for query from fe80::1 - CHIP:DIS: Broadcasting mDns reply for query from fe80::1 - CHIP:DIS: Broadcasting mDns reply for query from fe80::907b:c7ff:fe3e:b49c - CHIP:DIS: Broadcasting mDns reply for query from fe80::907b:c7ff:fe3e:b49c - CHIP:DIS: Broadcasting mDns reply for query from fe80::907b:c7ff:fe3e:b49c - CHIP:DIS: Broadcasting mDns reply for query from fe80::789d:4aff:fec4:2745 - CHIP:DIS: Broadcasting mDns reply for query from fe80::789d:4aff:fec4:2745 - CHIP:DIS: Broadcasting mDns reply for query from fe80::789d:4aff:fec4:2745 - CHIP:DIS: Broadcasting mDns reply for query from fe80::e8b9:daff:fee9:9934 - CHIP:DIS: Broadcasting mDns reply for query from fe80::e8b9:daff:fee9:9934 - CHIP:DIS: Broadcasting mDns reply for query from fe80::e8b9:daff:fee9:9934 - CHIP:DIS: Scheduling Discovery timeout in secs=900 - CHIP:DL: MAC is not known, using a default. - CHIP:DIS: Advertise commission parameter vendorID=9050 productID=65279 discriminator=3840/00 - CHIP:DIS: CHIP minimal mDNS configured as 'Commissioner device'. - CHIP:DIS: Broadcasting mDns reply for query from 192.168.1.11 - CHIP:DIS: Broadcasting mDns reply for query from 192.168.1.11 - CHIP:DIS: Broadcasting mDns reply for query from 192.168.1.11 - CHIP:DIS: Broadcasting mDns reply for query from 192.168.1.11 - CHIP:DIS: Broadcasting mDns reply for query from 192.168.1.11 - CHIP:DIS: Broadcasting mDns reply for query from 172.17.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.17.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.17.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.17.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.21.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.21.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.21.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.21.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.18.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.18.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.18.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.18.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.18.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.19.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.19.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.19.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.19.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.19.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.20.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.20.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.20.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.20.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 2402:e280:2108:181:e65f:1ff:fe0e:bf41 - CHIP:DIS: Broadcasting mDns reply for query from 2402:e280:2108:181:e65f:1ff:fe0e:bf41 - CHIP:DIS: Broadcasting mDns reply for query from 2402:e280:2108:181:e65f:1ff:fe0e:bf41 - CHIP:DIS: Broadcasting mDns reply for query from 2402:e280:2108:181:e65f:1ff:fe0e:bf41 - CHIP:DIS: Broadcasting mDns reply for query from 2402:e280:2108:181:e65f:1ff:fe0e:bf41 - CHIP:DIS: Broadcasting mDns reply for query from fe80::e65f:1ff:fe0e:bf41 - CHIP:DIS: Broadcasting mDns reply for query from fe80::e65f:1ff:fe0e:bf41 - CHIP:DIS: Broadcasting mDns reply for query from fe80::e65f:1ff:fe0e:bf41 - CHIP:DIS: Broadcasting mDns reply for query from fe80::e65f:1ff:fe0e:bf41 - CHIP:DIS: Broadcasting mDns reply for query from fe80::e65f:1ff:fe0e:bf41 - CHIP:DIS: Broadcasting mDns reply for query from fd11:db8:1::1 - CHIP:DIS: Failed to advertise records: ../third_party/connectedhomeip/src/inet/IPEndPointBasis.cpp: - CHIP:DIS: Broadcasting mDns reply for query from fe80::1 - CHIP:DIS: Failed to advertise records: ../third_party/connectedhomeip/src/inet/IPEndPointBasis.cpp: - CHIP:DIS: Broadcasting mDns reply for query from fd00:6d61:7474:6572::1 - CHIP:DIS: Broadcasting mDns reply for query from fd00:6d61:7474:6572::1 - CHIP:DIS: Broadcasting mDns reply for query from fd00:6d61:7474:6572::1 - CHIP:DIS: Broadcasting mDns reply for query from fd00:6d61:7474:6572::1 - CHIP:DIS: Broadcasting mDns reply for query from fd00:6d61:7474:6572::1 - CHIP:DIS: Broadcasting mDns reply for query from fe80::42:eeff:fec7:c619 - CHIP:DIS: Broadcasting mDns reply for query from fe80::42:eeff:fec7:c619 - CHIP:DIS: Broadcasting mDns reply for query from fe80::42:eeff:fec7:c619 - CHIP:DIS: Broadcasting mDns reply for query from fe80::42:eeff:fec7:c619 - CHIP:DIS: Broadcasting mDns reply for query from fe80::42:eeff:fec7:c619 - CHIP:DIS: Broadcasting mDns reply for query from fe80::1 - CHIP:DIS: Broadcasting mDns reply for query from fe80::1 - CHIP:DIS: Broadcasting mDns reply for query from fe80::1 - CHIP:DIS: Broadcasting mDns reply for query from fe80::1 - CHIP:DIS: Broadcasting mDns reply for query from fe80::1 - CHIP:DIS: Broadcasting mDns reply for query from fe80::907b:c7ff:fe3e:b49c - CHIP:DIS: Broadcasting mDns reply for query from fe80::907b:c7ff:fe3e:b49c - CHIP:DIS: Broadcasting mDns reply for query from fe80::907b:c7ff:fe3e:b49c - CHIP:DIS: Broadcasting mDns reply for query from fe80::907b:c7ff:fe3e:b49c - CHIP:DIS: Broadcasting mDns reply for query from fe80::789d:4aff:fec4:2745 - CHIP:DIS: Broadcasting mDns reply for query from fe80::789d:4aff:fec4:2745 - CHIP:DIS: Broadcasting mDns reply for query from fe80::789d:4aff:fec4:2745 - CHIP:DIS: Broadcasting mDns reply for query from fe80::789d:4aff:fec4:2745 - CHIP:DIS: Broadcasting mDns reply for query from fe80::e8b9:daff:fee9:9934 - CHIP:DIS: Broadcasting mDns reply for query from fe80::e8b9:daff:fee9:9934 - CHIP:DIS: Broadcasting mDns reply for query from fe80::e8b9:daff:fee9:9934 - CHIP:DIS: Broadcasting mDns reply for query from fe80::e8b9:daff:fee9:9934 - CHIP:DIS: DNS-SD StartServer mode=0 - CHIP:DL: MDNS failed to join multicast group on veth5731933 for address type IPv4: ../third_party/c - CHIP:DL: MDNS failed to join multicast group on vethbf7bfa6 for address type IPv4: ../third_party/c - CHIP:DL: MDNS failed to join multicast group on vethcf434e5 for address type IPv4: ../third_party/c - CHIP:DIS: CHIP minimal mDNS started advertising. - CHIP:DIS: Broadcasting mDns reply for query from 192.168.1.11 - CHIP:DIS: Broadcasting mDns reply for query from 192.168.1.11 - CHIP:DIS: Broadcasting mDns reply for query from 192.168.1.11 - CHIP:DIS: Broadcasting mDns reply for query from 192.168.1.11 - CHIP:DIS: Broadcasting mDns reply for query from 192.168.1.11 - CHIP:DIS: Broadcasting mDns reply for query from 172.17.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.17.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.17.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.17.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.21.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.21.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.21.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.21.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.18.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.18.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.18.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.18.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.18.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.19.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.19.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.19.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.19.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.19.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.20.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.20.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.20.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.20.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 2402:e280:2108:181:e65f:1ff:fe0e:bf41 - CHIP:DIS: Broadcasting mDns reply for query from 2402:e280:2108:181:e65f:1ff:fe0e:bf41 - CHIP:DIS: Broadcasting mDns reply for query from 2402:e280:2108:181:e65f:1ff:fe0e:bf41 - CHIP:DIS: Broadcasting mDns reply for query from 2402:e280:2108:181:e65f:1ff:fe0e:bf41 - CHIP:DIS: Broadcasting mDns reply for query from 2402:e280:2108:181:e65f:1ff:fe0e:bf41 - CHIP:DIS: Broadcasting mDns reply for query from fe80::e65f:1ff:fe0e:bf41 - CHIP:DIS: Broadcasting mDns reply for query from fe80::e65f:1ff:fe0e:bf41 - CHIP:DIS: Broadcasting mDns reply for query from fe80::e65f:1ff:fe0e:bf41 - CHIP:DIS: Broadcasting mDns reply for query from fe80::e65f:1ff:fe0e:bf41 - CHIP:DIS: Broadcasting mDns reply for query from fe80::e65f:1ff:fe0e:bf41 - CHIP:DIS: Broadcasting mDns reply for query from fd11:db8:1::1 - CHIP:DIS: Failed to advertise records: ../third_party/connectedhomeip/src/inet/IPEndPointBasis.cpp: - CHIP:DIS: Broadcasting mDns reply for query from fe80::1 - CHIP:DIS: Failed to advertise records: ../third_party/connectedhomeip/src/inet/IPEndPointBasis.cpp: - CHIP:DIS: Broadcasting mDns reply for query from fd00:6d61:7474:6572::1 - CHIP:DIS: Broadcasting mDns reply for query from fd00:6d61:7474:6572::1 - CHIP:DIS: Broadcasting mDns reply for query from fd00:6d61:7474:6572::1 - CHIP:DIS: Broadcasting mDns reply for query from fd00:6d61:7474:6572::1 - CHIP:DIS: Broadcasting mDns reply for query from fd00:6d61:7474:6572::1 - CHIP:DIS: Broadcasting mDns reply for query from fe80::42:eeff:fec7:c619 - CHIP:DIS: Broadcasting mDns reply for query from fe80::42:eeff:fec7:c619 - CHIP:DIS: Broadcasting mDns reply for query from fe80::42:eeff:fec7:c619 - CHIP:DIS: Broadcasting mDns reply for query from fe80::42:eeff:fec7:c619 - CHIP:DIS: Broadcasting mDns reply for query from fe80::42:eeff:fec7:c619 - CHIP:DIS: Broadcasting mDns reply for query from fe80::1 - CHIP:DIS: Broadcasting mDns reply for query from fe80::1 - CHIP:DIS: Broadcasting mDns reply for query from fe80::1 - CHIP:DIS: Broadcasting mDns reply for query from fe80::1 - CHIP:DIS: Broadcasting mDns reply for query from fe80::1 - CHIP:DIS: Broadcasting mDns reply for query from fe80::907b:c7ff:fe3e:b49c - CHIP:DIS: Broadcasting mDns reply for query from fe80::907b:c7ff:fe3e:b49c - CHIP:DIS: Broadcasting mDns reply for query from fe80::907b:c7ff:fe3e:b49c - CHIP:DIS: Broadcasting mDns reply for query from fe80::907b:c7ff:fe3e:b49c - CHIP:DIS: Broadcasting mDns reply for query from fe80::789d:4aff:fec4:2745 - CHIP:DIS: Broadcasting mDns reply for query from fe80::789d:4aff:fec4:2745 - CHIP:DIS: Broadcasting mDns reply for query from fe80::789d:4aff:fec4:2745 - CHIP:DIS: Broadcasting mDns reply for query from fe80::789d:4aff:fec4:2745 - CHIP:DIS: Broadcasting mDns reply for query from fe80::e8b9:daff:fee9:9934 - CHIP:DIS: Broadcasting mDns reply for query from fe80::e8b9:daff:fee9:9934 - CHIP:DIS: Broadcasting mDns reply for query from fe80::e8b9:daff:fee9:9934 - CHIP:DIS: Broadcasting mDns reply for query from fe80::e8b9:daff:fee9:9934 - CHIP:DIS: Failed to find a valid admin pairing. Node ID unknown - CHIP:DIS: Start dns-sd server - no current nodeId - CHIP:DL: MAC is not known, using a default. - CHIP:DIS: Advertise commission parameter vendorID=9050 productID=65279 discriminator=3840/00 - CHIP:DIS: CHIP minimal mDNS configured as 'Commissionable node device'. - CHIP:DIS: Broadcasting mDns reply for query from 192.168.1.11 - CHIP:DIS: Broadcasting mDns reply for query from 192.168.1.11 - CHIP:DIS: Broadcasting mDns reply for query from 192.168.1.11 - CHIP:DIS: Broadcasting mDns reply for query from 172.17.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.17.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.17.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.21.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.21.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.21.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.18.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.18.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.18.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.19.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.19.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.19.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.20.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.20.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.20.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 2402:e280:2108:181:e65f:1ff:fe0e:bf41 - CHIP:DIS: Broadcasting mDns reply for query from 2402:e280:2108:181:e65f:1ff:fe0e:bf41 - CHIP:DIS: Broadcasting mDns reply for query from 2402:e280:2108:181:e65f:1ff:fe0e:bf41 - CHIP:DIS: Broadcasting mDns reply for query from fe80::e65f:1ff:fe0e:bf41 - CHIP:DIS: Broadcasting mDns reply for query from fe80::e65f:1ff:fe0e:bf41 - CHIP:DIS: Broadcasting mDns reply for query from fe80::e65f:1ff:fe0e:bf41 - CHIP:DIS: Broadcasting mDns reply for query from fd11:db8:1::1 - CHIP:DIS: Failed to advertise records: ../third_party/connectedhomeip/src/inet/IPEndPointBasis.cpp: - CHIP:DIS: Broadcasting mDns reply for query from fe80::1 - CHIP:DIS: Failed to advertise records: ../third_party/connectedhomeip/src/inet/IPEndPointBasis.cpp: - CHIP:DIS: Broadcasting mDns reply for query from fd00:6d61:7474:6572::1 - CHIP:DIS: Broadcasting mDns reply for query from fd00:6d61:7474:6572::1 - CHIP:DIS: Broadcasting mDns reply for query from fd00:6d61:7474:6572::1 - CHIP:DIS: Broadcasting mDns reply for query from fe80::42:eeff:fec7:c619 - CHIP:DIS: Broadcasting mDns reply for query from fe80::42:eeff:fec7:c619 - CHIP:DIS: Broadcasting mDns reply for query from fe80::42:eeff:fec7:c619 - CHIP:DIS: Broadcasting mDns reply for query from fe80::1 - CHIP:DIS: Broadcasting mDns reply for query from fe80::1 - CHIP:DIS: Broadcasting mDns reply for query from fe80::1 - CHIP:DIS: Broadcasting mDns reply for query from fe80::907b:c7ff:fe3e:b49c - CHIP:DIS: Broadcasting mDns reply for query from fe80::907b:c7ff:fe3e:b49c - CHIP:DIS: Broadcasting mDns reply for query from fe80::907b:c7ff:fe3e:b49c - CHIP:DIS: Broadcasting mDns reply for query from fe80::789d:4aff:fec4:2745 - CHIP:DIS: Broadcasting mDns reply for query from fe80::789d:4aff:fec4:2745 - CHIP:DIS: Broadcasting mDns reply for query from fe80::789d:4aff:fec4:2745 - CHIP:DIS: Broadcasting mDns reply for query from fe80::e8b9:daff:fee9:9934 - CHIP:DIS: Broadcasting mDns reply for query from fe80::e8b9:daff:fee9:9934 - CHIP:DIS: Broadcasting mDns reply for query from fe80::e8b9:daff:fee9:9934 - CHIP:DIS: Scheduling Discovery timeout in secs=900 - CHIP:DL: MAC is not known, using a default. - CHIP:DIS: Advertise commission parameter vendorID=9050 productID=65279 discriminator=3840/00 - CHIP:DIS: CHIP minimal mDNS configured as 'Commissioner device'. - CHIP:DIS: Broadcasting mDns reply for query from 192.168.1.11 - CHIP:DIS: Broadcasting mDns reply for query from 192.168.1.11 - CHIP:DIS: Broadcasting mDns reply for query from 192.168.1.11 - CHIP:DIS: Broadcasting mDns reply for query from 192.168.1.11 - CHIP:DIS: Broadcasting mDns reply for query from 192.168.1.11 - CHIP:DIS: Broadcasting mDns reply for query from 172.17.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.17.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.17.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.17.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.21.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.21.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.21.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.21.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.18.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.18.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.18.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.18.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.18.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.19.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.19.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.19.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.19.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.19.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.20.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.20.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.20.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.20.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 2402:e280:2108:181:e65f:1ff:fe0e:bf41 - CHIP:DIS: Broadcasting mDns reply for query from 2402:e280:2108:181:e65f:1ff:fe0e:bf41 - CHIP:DIS: Broadcasting mDns reply for query from 2402:e280:2108:181:e65f:1ff:fe0e:bf41 - CHIP:DIS: Broadcasting mDns reply for query from 2402:e280:2108:181:e65f:1ff:fe0e:bf41 - CHIP:DIS: Broadcasting mDns reply for query from 2402:e280:2108:181:e65f:1ff:fe0e:bf41 - CHIP:DIS: Broadcasting mDns reply for query from fe80::e65f:1ff:fe0e:bf41 - CHIP:DIS: Broadcasting mDns reply for query from fe80::e65f:1ff:fe0e:bf41 - CHIP:DIS: Broadcasting mDns reply for query from fe80::e65f:1ff:fe0e:bf41 - CHIP:DIS: Broadcasting mDns reply for query from fe80::e65f:1ff:fe0e:bf41 - CHIP:DIS: Broadcasting mDns reply for query from fe80::e65f:1ff:fe0e:bf41 - CHIP:DIS: Broadcasting mDns reply for query from fd11:db8:1::1 - CHIP:DIS: Failed to advertise records: ../third_party/connectedhomeip/src/inet/IPEndPointBasis.cpp: - CHIP:DIS: Broadcasting mDns reply for query from fe80::1 - CHIP:DIS: Failed to advertise records: ../third_party/connectedhomeip/src/inet/IPEndPointBasis.cpp: - CHIP:DIS: Broadcasting mDns reply for query from fd00:6d61:7474:6572::1 - CHIP:DIS: Broadcasting mDns reply for query from fd00:6d61:7474:6572::1 - CHIP:DIS: Broadcasting mDns reply for query from fd00:6d61:7474:6572::1 - CHIP:DIS: Broadcasting mDns reply for query from fd00:6d61:7474:6572::1 - CHIP:DIS: Broadcasting mDns reply for query from fd00:6d61:7474:6572::1 - CHIP:DIS: Broadcasting mDns reply for query from fe80::42:eeff:fec7:c619 - CHIP:DIS: Broadcasting mDns reply for query from fe80::42:eeff:fec7:c619 - CHIP:DIS: Broadcasting mDns reply for query from fe80::42:eeff:fec7:c619 - CHIP:DIS: Broadcasting mDns reply for query from fe80::42:eeff:fec7:c619 - CHIP:DIS: Broadcasting mDns reply for query from fe80::42:eeff:fec7:c619 - CHIP:DIS: Broadcasting mDns reply for query from fe80::1 - CHIP:DIS: Broadcasting mDns reply for query from fe80::1 - CHIP:DIS: Broadcasting mDns reply for query from fe80::1 - CHIP:DIS: Broadcasting mDns reply for query from fe80::1 - CHIP:DIS: Broadcasting mDns reply for query from fe80::1 - CHIP:DIS: Broadcasting mDns reply for query from fe80::907b:c7ff:fe3e:b49c - CHIP:DIS: Broadcasting mDns reply for query from fe80::907b:c7ff:fe3e:b49c - CHIP:DIS: Broadcasting mDns reply for query from fe80::907b:c7ff:fe3e:b49c - CHIP:DIS: Broadcasting mDns reply for query from fe80::907b:c7ff:fe3e:b49c - CHIP:DIS: Broadcasting mDns reply for query from fe80::789d:4aff:fec4:2745 - CHIP:DIS: Broadcasting mDns reply for query from fe80::789d:4aff:fec4:2745 - CHIP:DIS: Broadcasting mDns reply for query from fe80::789d:4aff:fec4:2745 - CHIP:DIS: Broadcasting mDns reply for query from fe80::789d:4aff:fec4:2745 - CHIP:DIS: Broadcasting mDns reply for query from fe80::e8b9:daff:fee9:9934 - CHIP:DIS: Broadcasting mDns reply for query from fe80::e8b9:daff:fee9:9934 - CHIP:DIS: Broadcasting mDns reply for query from fe80::e8b9:daff:fee9:9934 - CHIP:DIS: Broadcasting mDns reply for query from fe80::e8b9:daff:fee9:9934 - CHIP:IN: CASE Server enabling CASE session setups - CHIP:SVR: Server Listening... - CHIP:DL: Device Configuration: - CHIP:DL: Serial Number: TEST_SN - CHIP:DL: Vendor Id: 9050 (0x235A) - CHIP:DL: Product Id: 65279 (0xFEFF) - CHIP:DL: Product Revision: 0 - CHIP:DL: Setup Pin Code: 20202021 - CHIP:DL: Setup Discriminator: 3840 (0xF00) - CHIP:DL: Manufacturing Date: (not set) - CHIP:DL: Device Type: 35 (0x23) - CHIP:SVR: SetupQRCode: [MT:YNJV7VSC00KA0648G00] - CHIP:SVR: Copy/paste the below URL in a browser to see the QR Code: - CHIP:SVR: https://project-chip.github.io/connectedhomeip/qrcode.html?data=MT%3AYNJV7VSC00KA0648G00 - CHIP:SVR: Manual pairing code: [34970112332] - CHIP:SVR: Retrieved value from server storage. - CHIP:SVR: Retrieved value from server storage. - CHIP:CTL: Generating NOC - CHIP:CTL: Generating ICAC - CHIP:SVR: Retrieved value from server storage. - CHIP:IN: UDP::Init bind&listen port=5542 - CHIP:IN: UDP::Init bound to port=5542 - CHIP:IN: UDP::Init bind&listen port=5542 - CHIP:IN: UDP::Init bound to port=5542 - CHIP:IN: TransportMgr initialized - CHIP:DIS: Init fabric pairing table with server storage - CHIP:SVR: Retrieved value from server storage. - CHIP:SVR: Retrieved value from server storage. - CHIP:SVR: Retrieved value from server storage. - CHIP:SVR: Retrieved value from server storage. - CHIP:SVR: Retrieved value from server storage. - CHIP:SVR: Retrieved value from server storage. - CHIP:SVR: Retrieved value from server storage. - CHIP:SVR: Retrieved value from server storage. - CHIP:SVR: Retrieved value from server storage. - CHIP:SVR: Retrieved value from server storage. - CHIP:SVR: Retrieved value from server storage. - CHIP:SVR: Retrieved value from server storage. - CHIP:SVR: Retrieved value from server storage. - CHIP:SVR: Retrieved value from server storage. - CHIP:SVR: Retrieved value from server storage. - CHIP:SVR: Retrieved value from server storage. - CHIP:DL: writing settings to file (/tmp/chip_counters.ini-ZAecx4) - CHIP:DL: renamed tmp file to file (/tmp/chip_counters.ini) - CHIP:DL: NVS set: chip-counters/GlobalMCTR = 10000 (0x2710) - CHIP:CTL: System State Initialized... - CHIP:ZCL: Using ZAP configuration... - CHIP:ZCL: Duplicate attribute override registration failed - CHIP:ZCL: Duplicate attribute override registration failed - CHIP:ZCL: OpCreds: Initiating OpCreds cluster by writing fabrics list from fabric table. - CHIP:ZCL: Duplicate attribute override registration failed - CHIP:DIS: Set the fabric pairing table delegate - CHIP:ZCL: OpCreds: Call to writeFabricsIntoFabricsListAttribute - CHIP:ZCL: OpCreds: Stored 0 fabrics in fabrics list attribute. - CHIP:ZCL: Duplicate attribute override registration failed - CHIP:ZCL: Duplicate attribute override registration failed - CHIP:ZCL: Duplicate attribute override registration failed - CHIP:ZCL: Failed to store mac address for endpoint: 1. Error:../include/endpoint-configuration/Endp - CHIP:ZCL: Failed to store application for endpoint: 3. Error:../include/endpoint-configuration/Endp - CHIP:ZCL: Failed to store application for endpoint: 4. Error:../include/endpoint-configuration/Endp - CHIP:ZCL: Failed to store application for endpoint: 5. Error:../include/endpoint-configuration/Endp - CHIP:SVR: Retrieved value from server storage. - CHIP:DIS: Verifying the received credentials - CHIP:DIS: Added new fabric at index: 1, Initialized: 0 - CHIP:DIS: Assigned compressed fabric ID: 0x810A763DC0609539, node ID: 0xFFFFFFFEFFFFFFFF - CHIP:CTL: Joined the fabric at index 1. Compressed fabric ID is: 0x810A763DC0609539 - CHIP:SVR: Retrieved value from server storage. - CHIP:IN: UDP::Init bind&listen port=5550 - CHIP:IN: UDP::Init bound to port=5550 - CHIP:IN: UDP::Init bind&listen port=5550 - CHIP:IN: UDP::Init bound to port=5550 - CHIP:IN: TransportMgr initialized - CHIP:DL: TRACE: Bluez mainloop starting Thread - CHIP:DL: TRACE: Bus acquired for name MATTER-3840 - CHIP:DL: CREATE service object at /chipoble/17db/service - CHIP:DL: Create characteristic object at /chipoble/17db/service/c1 - CHIP:DL: Create characteristic object at /chipoble/17db/service/c2 - CHIP:DL: CHIP BTP C1 /chipoble/17db/service - CHIP:DL: CHIP BTP C2 /chipoble/17db/service - CHIP:DL: CHIP_ENABLE_ADDITIONAL_DATA_ADVERTISING is TRUE - CHIP:DL: Create characteristic object at /chipoble/17db/service/c3 - CHIP:DL: CHIP BTP C3 /chipoble/17db/service - CHIP:DL: PlatformBlueZInit init success - CHIP:DL: BluezPeripheralRegisterAppDone done - CHIP:DL: HandlePlatformSpecificBLEEvent 16392 - CHIP:DL: Create adv object at /chipoble/17db/advertising - CHIP:DL: SET service data to {'0xFFF6': <[byte 0x00, 0x00, 0x0f, 0x5a, 0x23, 0xff, 0xfe]>} - CHIP:DL: HandlePlatformSpecificBLEEvent 16393 - CHIP:DL: CHIPoBLE advertising config complete - CHIP:DL: RegisterAdvertisement complete - CHIP:DL: HandlePlatformSpecificBLEEvent 16394 - + ubuntu@ubuntu:~/may23_DUT/connectedhomeip/examples/tv-app/linux/out/tv-app$ sudo ./chip-tv-app - 2F: Invalid argument - 07] CHIP:DL: Caught signal 2 - CHIP:DL: writing settings to file (/tmp/chip_counters.ini-1yqzCI) - CHIP:DL: renamed tmp file to file (/tmp/chip_counters.ini) - CHIP:DL: NVS set: chip-counters/boot-reason = 6 (0x6) - CHIP:DL: writing settings to file (/tmp/chip_counters.ini-9LKrPO) - CHIP:DL: renamed tmp file to file (/tmp/chip_counters.ini) - CHIP:DL: NVS set: chip-counters/total-operational-hours = 0 (0x0) - CHIP:DL: Inet Layer shutdown - CHIP:DL: BLE layer shutdown - CHIP:DL: System Layer shutdown - CHIP:CTL: Shutting down the System State, this will teardown the CHIP Stack - CHIP:DL: writing settings to file (/tmp/chip_counters.ini-Q5U5bp) - CHIP:DL: renamed tmp file to file (/tmp/chip_counters.ini) - CHIP:DL: NVS set: chip-counters/total-operational-hours = 0 (0x0) - CHIP:DL: Inet Layer shutdown - CHIP:DL: BLE layer shutdown - CHIP:DL: System Layer shutdown + CHIP:DL: Using wifi MAC for hostname + CHIP:DIS: Advertise operational node DFC28FF9FE811EF2-FFFFFFEFFFFFFFFF + CHIP:DIS: CHIP minimal mDNS configured as 'Operational device'. + CHIP:DIS: Broadcasting mDns reply for query from disabled: true - label: "DUT start scanning for available commissioners using Commissioner Discovery" verification: | - On the second RPI start tv-casting-app - - ubuntu@matter-te-6:~/connectedhomeip/examples/tv-casting-app/linux/out/debug$ ./chip-tv-casting-app - - - - AUDIT: ===== RANDOM NUMBER GENERATOR AUDIT START ==== - AUDIT: * Validate buf1 and buf2 are <<>> - AUDIT: * Validate r1 and r2 are <<>> - AUDIT: * buf1: 8643126A627C1C289E7CBD1C0B59485B - AUDIT: * buf2: E9A8AB9589D71155E7B161FC3DBB66CE - AUDIT: * r1: 0x3A338FB7 r2: 0xCC480665 - AUDIT: ===== RANDOM NUMBER GENERATOR AUDIT END ==== - writing settings to file (/tmp/chip_counters.ini-oR46os) - renamed tmp file to file (/tmp/chip_counters.ini) - NVS set: chip-counters/reboot-count = 12 (0xC) - Got Ethernet interface: eth0 - Found the primary Ethernet interface:eth0 - Got WiFi interface: wlan0 - Failed to reset WiFi statistic counts - MDNS failed to join multicast group on veth5731933 for address type IPv4: ../third_party/connectedhomeip/src/inet/IPEndPointBasis.cpp:387: Inet Error 0x00000110: Address not found - MDNS failed to join multicast group on vethbf7bfa6 for address type IPv4: ../third_party/connectedhomeip/src/inet/IPEndPointBasis.cpp:387: Inet Error 0x00000110: Address not found - MDNS failed to join multicast group on vethcf434e5 for address type IPv4: ../third_party/connectedhomeip/src/inet/IPEndPointBasis.cpp:387: Inet Error 0x00000110: Address not found - Attempt to mDNS broadcast failed: ../third_party/connectedhomeip/src/inet/IPEndPointBasis.cpp:687: OS Error 0x02000065: Network is unreachable - Attempt to mDNS broadcast failed: ../third_party/connectedhomeip/src/inet/IPEndPointBasis.cpp:687: OS Error 0x02000065: Network is unreachable - Attempt to mDNS broadcast failed: ../third_party/connectedhomeip/src/inet/IPEndPointBasis.cpp:687: OS Error 0x02000065: Network is unreachable - Attempt to mDNS broadcast failed: ../third_party/connectedhomeip/src/inet/IPEndPointBasis.cpp:687: OS Error 0x02000065: Network is unreachable - Discovered Commissioner #1 - Device Name: Test TV - Vendor ID: 9050 - Product ID: 65279 - Device Type: 35 - Hostname: EEAABADABAD0DDCA - IP Address #1: 2402:e280:2108:181:dea6:32ff:fef9:f0a1 - IP Address #2: fe80::dea6:32ff:fef9:f0a1 - IP Address #3: 192.168.1.12 - Port: 5550 - Commissioning Mode: 0 - 1 commissioner(s) discovered. Select one (by number# above) to request commissioning from: + connectedhomeip/examples/tv-casting-app/linux/out/tv-casting-app$ sudo ./chip-tv-casting-app + + CHIP:SVR: Discovered Commissioner #0 + [1653478433.097515][3785:3785] CHIP:DIS: Hostname: E45F010F19FF0000 + [1653478433.097546][3785:3785] CHIP:DIS: IP Address #1: fe80::d83a:21ff:fe24:b6d6 + [1653478433.097570][3785:3785] CHIP:DIS: Port: 5540 + [1653478433.097593][3785:3785] CHIP:DIS: Mrp Interval idle: 5000 ms + [1653478433.097615][3785:3785] CHIP:DIS: Mrp Interval active: 300 ms + [1653478433.097641][3785:3785] CHIP:DIS: Rotating ID: 0000406E4D7073744BF234AD391DAE869837 + [1653478433.097664][3785:3785] CHIP:DIS: Device Name: Test TV casting app + [1653478433.097686][3785:3785] CHIP:DIS: Vendor ID: 65521 + [1653478433.097709][3785:3785] CHIP:DIS: Product ID: 32769 + [1653478433.097731][3785:3785] CHIP:DIS: Device Type: 35 + [1653478433.097753][3785:3785] CHIP:DIS: Pairing Hint: 33 + [1653478433.097775][3785:3785] CHIP:DIS: Instance Name: C1E39719B158802A + [1653478433.097797][3785:3785] CHIP:DIS: Commissioning Mode: 0 + [1653478433.097821][3785:3785] CHIP:SVR: Discovered Commissioner #1 + [1653478433.097841][3785:3785] CHIP:DIS: Hostname: E45F010F27530000 + [1653478433.097867][3785:3785] CHIP:DIS: IP Address #1: fe80::e65f:1ff:fe0f:2755 + [1653478433.097890][3785:3785] CHIP:DIS: Port: 5650 + [1653478433.097912][3785:3785] CHIP:DIS: Mrp Interval idle: 5000 ms + [1653478433.097934][3785:3785] CHIP:DIS: Mrp Interval active: 300 ms + [1653478433.097956][3785:3785] CHIP:DIS: Device Name: Test TV + [1653478433.097979][3785:3785] CHIP:DIS: Vendor ID: 65521 + [1653478433.098001][3785:3785] CHIP:DIS: Product ID: 32769 + [1653478433.098023][3785:3785] CHIP:DIS: Device Type: 35 + [1653478433.098056][3785:3785] CHIP:DIS: Instance Name: 02DEC0D7B8A76577 + [1653478433.098076][3785:3785] CHIP:DIS: Commissioning Mode: 0 + [1653478433.098103][3785:3785] CHIP:SVR: 2 commissioner(s) discovered. Select one (by number# above) to request commissioning from: + [1653478433.098124][3785:3785] CHIP:SVR: Example: cast request 0 disabled: true - label: "DUT is instructed to start the commissioning procedure with the TH found at step 2" verification: | - Select option 1 on TH + This particular step is Out of scope for V1.0 + + https://github.com/CHIP-Specifications/chip-test-plans/issues/1312 disabled: true - label: "TH verifies the Identification Declaration message" verification: | - On DUT. + This particular step is Out of scope for V1.0 - CHIP:SVR: UserDirectedCommissioningServer::OnMessageReceived - CHIP:SVR: UDC instance=420604DE2A8F19A2 - CHIP:SVR: UserDirectedCommissioningServer::OnMessageReceived - CHIP:SVR: UDC instance=420604DE2A8F19A2 - CHIP:SVR: UserDirectedCommissioningServer::OnMessageReceived - CHIP:SVR: UDC instance=420604DE2A8F19A2 - CHIP:SVR: UserDirectedCommissioningServer::OnMessageReceived - CHIP:SVR: UDC instance=420604DE2A8F19A2 - CHIP:SVR: OnCommissionableNodeFound instance: name=420604DE2A8F19A2 old_state=1 new_state=3 - CHIP:CTL: ------PROMPT USER!! OnUserDirectedCommissioningRequest instance=420604DE2A8F19A2 deviceName=Test TV casting app - CHIP:SVR: UDC Client[0] instance=420604DE2A8F19A2 deviceName=Test TV casting app address=UDP:192.168.1.11:5540, disc=3840 + https://github.com/CHIP-Specifications/chip-test-plans/issues/1312 disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_DD_3_4.yaml b/src/app/tests/suites/certification/Test_TC_DD_3_4.yaml index 34a7f960647881..c2e2d53dfa8054 100644 --- a/src/app/tests/suites/certification/Test_TC_DD_3_4.yaml +++ b/src/app/tests/suites/certification/Test_TC_DD_3_4.yaml @@ -13,9 +13,7 @@ # limitations under the License. # Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default -name: - 3.3.4. [TC-DD-3.4] User Directed Commissioning - Commissioner [DUT - - Commissioner] +name: 3.3.4. [TC-DD-3.4] User Directed Commissioning [DUT - Commissioner] config: nodeId: 0x12344321 @@ -25,581 +23,64 @@ config: tests: - label: "DUT is instructed to advertise Commissioner Discovery service" verification: | - DUT to advertsise commissioner discovery service, Ex: The TV app example in SDK is reference commissioner + ubuntu@ubuntu:~/may23_DUT/connectedhomeip/examples/tv-app/linux/out/tv-app$ sudo ./chip-tv-app - - '' ./chip-tv-app - - CHIP:DL: AUDIT: * Validate buf1 and buf2 are <<>> - CHIP:DL: AUDIT: * Validate r1 and r2 are <<>> - CHIP:DL: AUDIT: * buf1: 990049D21B9116BA6C79CDAF106B9558 - CHIP:DL: AUDIT: * buf2: 06D468BC4397CDD99A72C6E753E3D097 - CHIP:DL: AUDIT: * r1: 0x9F437DC6 r2: 0xE5EBA97A - CHIP:DL: AUDIT: ===== RANDOM NUMBER GENERATOR AUDIT END ==== - CHIP:DL: writing settings to file (/tmp/chip_counters.ini-mCbE1q) - CHIP:DL: renamed tmp file to file (/tmp/chip_counters.ini) - CHIP:DL: NVS set: chip-counters/reboot-count = 8 (0x8) - CHIP:DL: Got Ethernet interface: eth0 - CHIP:DL: Found the primary Ethernet interface:eth0 - CHIP:DL: Got WiFi interface: wlan0 - CHIP:DL: Failed to reset WiFi statistic counts - CHIP:DL: Device Configuration: - CHIP:DL: Serial Number: TEST_SN - CHIP:DL: Vendor Id: 9050 (0x235A) - CHIP:DL: Product Id: 65279 (0xFEFF) - CHIP:DL: Product Revision: 0 - CHIP:DL: Setup Pin Code: 20202021 - CHIP:DL: Setup Discriminator: 3840 (0xF00) - CHIP:DL: Manufacturing Date: (not set) - CHIP:DL: Device Type: 35 (0x23) - CHIP:SVR: SetupQRCode: [MT:YNJV7VSC00KA0648G00] - CHIP:SVR: Copy/paste the below URL in a browser to see the QR Code: - CHIP:SVR: https://project-chip.github.io/connectedhomeip/qrcode.html?data=MT%3AYNJV7VSC00KA0648G00 - CHIP:SVR: Manual pairing code: [34970112332] - CHIP:ZCL: Using ZAP configuration... - ] CHIP:ZCL: OpCreds: Initiating OpCreds cluster by writing fabrics list from fabric table. - CHIP:DIS: Set the fabric pairing table delegate - CHIP:ZCL: OpCreds: Call to writeFabricsIntoFabricsListAttribute - CHIP:ZCL: OpCreds: Stored 0 fabrics in fabrics list attribute. - CHIP:ZCL: Failed to store mac address for endpoint: 1. Error:../include/endpoint-configuration/Endp - CHIP:ZCL: Failed to store application for endpoint: 3. Error:../include/endpoint-configuration/Endp - CHIP:ZCL: Failed to store application for endpoint: 4. Error:../include/endpoint-configuration/Endp - CHIP:ZCL: Failed to store application for endpoint: 5. Error:../include/endpoint-configuration/Endp - CHIP:DIS: Init fabric pairing table with server storage - CHIP:IN: UDP::Init bind&listen port=5540 - CHIP:IN: UDP::Init bound to port=5540 - CHIP:IN: UDP::Init bind&listen port=5540 - CHIP:IN: UDP::Init bound to port=5540 - CHIP:IN: TransportMgr initialized - CHIP:DL: writing settings to file (/tmp/chip_counters.ini-aw9h7V) - CHIP:DL: renamed tmp file to file (/tmp/chip_counters.ini) - CHIP:DL: NVS set: chip-counters/GlobalMCTR = 9000 (0x2328) - CHIP:DL: wpa_supplicant: _IsWiFiStationProvisioned: interface not connected - CHIP:DIS: Fabric 1 is not yet configured - CHIP:DIS: Fabric 2 is not yet configured - CHIP:DIS: Fabric 3 is not yet configured - CHIP:DIS: Fabric 4 is not yet configured - CHIP:DIS: Fabric 5 is not yet configured - CHIP:DIS: Fabric 6 is not yet configured - CHIP:DIS: Fabric 7 is not yet configured - CHIP:DIS: Fabric 8 is not yet configured - CHIP:DIS: Fabric 9 is not yet configured - CHIP:DIS: Fabric 10 is not yet configured - CHIP:DIS: Fabric 11 is not yet configured - CHIP:DIS: Fabric 12 is not yet configured - CHIP:DIS: Fabric 13 is not yet configured - CHIP:DIS: Fabric 14 is not yet configured - CHIP:DIS: Fabric 15 is not yet configured - CHIP:DIS: Fabric 16 is not yet configured - CHIP:SC: Assigned local session key ID 1 - CHIP:SC: Waiting for PBKDF param request - CHIP:DIS: DNS-SD StartServer mode=1 - CHIP:DL: MDNS failed to join multicast group on veth5731933 for address type IPv4: ../third_party/c - CHIP:DL: MDNS failed to join multicast group on vethbf7bfa6 for address type IPv4: ../third_party/c - CHIP:DL: MDNS failed to join multicast group on vethcf434e5 for address type IPv4: ../third_party/c - CHIP:DIS: CHIP minimal mDNS started advertising. - CHIP:DIS: Failed to find a valid admin pairing. Node ID unknown - CHIP:DIS: Start dns-sd server - no current nodeId - CHIP:DL: MAC is not known, using a default. - CHIP:DIS: Advertise commission parameter vendorID=9050 productID=65279 discriminator=3840/00 - CHIP:DIS: CHIP minimal mDNS configured as 'Commissionable node device'. - CHIP:DIS: Broadcasting mDns reply for query from 192.168.1.11 - CHIP:DIS: Broadcasting mDns reply for query from 192.168.1.11 - CHIP:DIS: Broadcasting mDns reply for query from 192.168.1.11 - CHIP:DIS: Broadcasting mDns reply for query from 172.17.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.17.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.17.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.21.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.21.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.21.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.18.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.18.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.18.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.19.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.19.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.19.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.20.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.20.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.20.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 2402:e280:2108:181:e65f:1ff:fe0e:bf41 - CHIP:DIS: Broadcasting mDns reply for query from 2402:e280:2108:181:e65f:1ff:fe0e:bf41 - CHIP:DIS: Broadcasting mDns reply for query from 2402:e280:2108:181:e65f:1ff:fe0e:bf41 - CHIP:DIS: Broadcasting mDns reply for query from fe80::e65f:1ff:fe0e:bf41 - CHIP:DIS: Broadcasting mDns reply for query from fe80::e65f:1ff:fe0e:bf41 - CHIP:DIS: Broadcasting mDns reply for query from fe80::e65f:1ff:fe0e:bf41 - CHIP:DIS: Broadcasting mDns reply for query from fd11:db8:1::1 - CHIP:DIS: Failed to advertise records: ../third_party/connectedhomeip/src/inet/IPEndPointBasis.cpp: - CHIP:DIS: Broadcasting mDns reply for query from fe80::1 - CHIP:DIS: Failed to advertise records: ../third_party/connectedhomeip/src/inet/IPEndPointBasis.cpp: - CHIP:DIS: Broadcasting mDns reply for query from fd00:6d61:7474:6572::1 - CHIP:DIS: Broadcasting mDns reply for query from fd00:6d61:7474:6572::1 - CHIP:DIS: Broadcasting mDns reply for query from fd00:6d61:7474:6572::1 - CHIP:DIS: Broadcasting mDns reply for query from fe80::42:eeff:fec7:c619 - CHIP:DIS: Broadcasting mDns reply for query from fe80::42:eeff:fec7:c619 - CHIP:DIS: Broadcasting mDns reply for query from fe80::42:eeff:fec7:c619 - CHIP:DIS: Broadcasting mDns reply for query from fe80::1 - CHIP:DIS: Broadcasting mDns reply for query from fe80::1 - CHIP:DIS: Broadcasting mDns reply for query from fe80::1 - CHIP:DIS: Broadcasting mDns reply for query from fe80::907b:c7ff:fe3e:b49c - CHIP:DIS: Broadcasting mDns reply for query from fe80::907b:c7ff:fe3e:b49c - CHIP:DIS: Broadcasting mDns reply for query from fe80::907b:c7ff:fe3e:b49c - CHIP:DIS: Broadcasting mDns reply for query from fe80::789d:4aff:fec4:2745 - CHIP:DIS: Broadcasting mDns reply for query from fe80::789d:4aff:fec4:2745 - CHIP:DIS: Broadcasting mDns reply for query from fe80::789d:4aff:fec4:2745 - CHIP:DIS: Broadcasting mDns reply for query from fe80::e8b9:daff:fee9:9934 - CHIP:DIS: Broadcasting mDns reply for query from fe80::e8b9:daff:fee9:9934 - CHIP:DIS: Broadcasting mDns reply for query from fe80::e8b9:daff:fee9:9934 - CHIP:DIS: Scheduling Discovery timeout in secs=900 - CHIP:DL: MAC is not known, using a default. - CHIP:DIS: Advertise commission parameter vendorID=9050 productID=65279 discriminator=3840/00 - CHIP:DIS: CHIP minimal mDNS configured as 'Commissioner device'. - CHIP:DIS: Broadcasting mDns reply for query from 192.168.1.11 - CHIP:DIS: Broadcasting mDns reply for query from 192.168.1.11 - CHIP:DIS: Broadcasting mDns reply for query from 192.168.1.11 - CHIP:DIS: Broadcasting mDns reply for query from 192.168.1.11 - CHIP:DIS: Broadcasting mDns reply for query from 192.168.1.11 - CHIP:DIS: Broadcasting mDns reply for query from 172.17.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.17.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.17.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.17.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.21.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.21.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.21.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.21.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.18.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.18.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.18.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.18.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.18.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.19.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.19.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.19.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.19.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.19.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.20.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.20.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.20.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.20.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 2402:e280:2108:181:e65f:1ff:fe0e:bf41 - CHIP:DIS: Broadcasting mDns reply for query from 2402:e280:2108:181:e65f:1ff:fe0e:bf41 - CHIP:DIS: Broadcasting mDns reply for query from 2402:e280:2108:181:e65f:1ff:fe0e:bf41 - CHIP:DIS: Broadcasting mDns reply for query from 2402:e280:2108:181:e65f:1ff:fe0e:bf41 - CHIP:DIS: Broadcasting mDns reply for query from 2402:e280:2108:181:e65f:1ff:fe0e:bf41 - CHIP:DIS: Broadcasting mDns reply for query from fe80::e65f:1ff:fe0e:bf41 - CHIP:DIS: Broadcasting mDns reply for query from fe80::e65f:1ff:fe0e:bf41 - CHIP:DIS: Broadcasting mDns reply for query from fe80::e65f:1ff:fe0e:bf41 - CHIP:DIS: Broadcasting mDns reply for query from fe80::e65f:1ff:fe0e:bf41 - CHIP:DIS: Broadcasting mDns reply for query from fe80::e65f:1ff:fe0e:bf41 - CHIP:DIS: Broadcasting mDns reply for query from fd11:db8:1::1 - CHIP:DIS: Failed to advertise records: ../third_party/connectedhomeip/src/inet/IPEndPointBasis.cpp: - CHIP:DIS: Broadcasting mDns reply for query from fe80::1 - CHIP:DIS: Failed to advertise records: ../third_party/connectedhomeip/src/inet/IPEndPointBasis.cpp: - CHIP:DIS: Broadcasting mDns reply for query from fd00:6d61:7474:6572::1 - CHIP:DIS: Broadcasting mDns reply for query from fd00:6d61:7474:6572::1 - CHIP:DIS: Broadcasting mDns reply for query from fd00:6d61:7474:6572::1 - CHIP:DIS: Broadcasting mDns reply for query from fd00:6d61:7474:6572::1 - CHIP:DIS: Broadcasting mDns reply for query from fd00:6d61:7474:6572::1 - CHIP:DIS: Broadcasting mDns reply for query from fe80::42:eeff:fec7:c619 - CHIP:DIS: Broadcasting mDns reply for query from fe80::42:eeff:fec7:c619 - CHIP:DIS: Broadcasting mDns reply for query from fe80::42:eeff:fec7:c619 - CHIP:DIS: Broadcasting mDns reply for query from fe80::42:eeff:fec7:c619 - CHIP:DIS: Broadcasting mDns reply for query from fe80::42:eeff:fec7:c619 - CHIP:DIS: Broadcasting mDns reply for query from fe80::1 - CHIP:DIS: Broadcasting mDns reply for query from fe80::1 - CHIP:DIS: Broadcasting mDns reply for query from fe80::1 - CHIP:DIS: Broadcasting mDns reply for query from fe80::1 - CHIP:DIS: Broadcasting mDns reply for query from fe80::1 - CHIP:DIS: Broadcasting mDns reply for query from fe80::907b:c7ff:fe3e:b49c - CHIP:DIS: Broadcasting mDns reply for query from fe80::907b:c7ff:fe3e:b49c - CHIP:DIS: Broadcasting mDns reply for query from fe80::907b:c7ff:fe3e:b49c - CHIP:DIS: Broadcasting mDns reply for query from fe80::907b:c7ff:fe3e:b49c - CHIP:DIS: Broadcasting mDns reply for query from fe80::789d:4aff:fec4:2745 - CHIP:DIS: Broadcasting mDns reply for query from fe80::789d:4aff:fec4:2745 - CHIP:DIS: Broadcasting mDns reply for query from fe80::789d:4aff:fec4:2745 - CHIP:DIS: Broadcasting mDns reply for query from fe80::789d:4aff:fec4:2745 - CHIP:DIS: Broadcasting mDns reply for query from fe80::e8b9:daff:fee9:9934 - CHIP:DIS: Broadcasting mDns reply for query from fe80::e8b9:daff:fee9:9934 - CHIP:DIS: Broadcasting mDns reply for query from fe80::e8b9:daff:fee9:9934 - CHIP:DIS: Broadcasting mDns reply for query from fe80::e8b9:daff:fee9:9934 - CHIP:DIS: DNS-SD StartServer mode=0 - CHIP:DL: MDNS failed to join multicast group on veth5731933 for address type IPv4: ../third_party/c - CHIP:DL: MDNS failed to join multicast group on vethbf7bfa6 for address type IPv4: ../third_party/c - CHIP:DL: MDNS failed to join multicast group on vethcf434e5 for address type IPv4: ../third_party/c - CHIP:DIS: CHIP minimal mDNS started advertising. - CHIP:DIS: Broadcasting mDns reply for query from 192.168.1.11 - CHIP:DIS: Broadcasting mDns reply for query from 192.168.1.11 - CHIP:DIS: Broadcasting mDns reply for query from 192.168.1.11 - CHIP:DIS: Broadcasting mDns reply for query from 192.168.1.11 - CHIP:DIS: Broadcasting mDns reply for query from 192.168.1.11 - CHIP:DIS: Broadcasting mDns reply for query from 172.17.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.17.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.17.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.17.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.21.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.21.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.21.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.21.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.18.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.18.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.18.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.18.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.18.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.19.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.19.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.19.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.19.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.19.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.20.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.20.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.20.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.20.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 2402:e280:2108:181:e65f:1ff:fe0e:bf41 - CHIP:DIS: Broadcasting mDns reply for query from 2402:e280:2108:181:e65f:1ff:fe0e:bf41 - CHIP:DIS: Broadcasting mDns reply for query from 2402:e280:2108:181:e65f:1ff:fe0e:bf41 - CHIP:DIS: Broadcasting mDns reply for query from 2402:e280:2108:181:e65f:1ff:fe0e:bf41 - CHIP:DIS: Broadcasting mDns reply for query from 2402:e280:2108:181:e65f:1ff:fe0e:bf41 - CHIP:DIS: Broadcasting mDns reply for query from fe80::e65f:1ff:fe0e:bf41 - CHIP:DIS: Broadcasting mDns reply for query from fe80::e65f:1ff:fe0e:bf41 - CHIP:DIS: Broadcasting mDns reply for query from fe80::e65f:1ff:fe0e:bf41 - CHIP:DIS: Broadcasting mDns reply for query from fe80::e65f:1ff:fe0e:bf41 - CHIP:DIS: Broadcasting mDns reply for query from fe80::e65f:1ff:fe0e:bf41 - CHIP:DIS: Broadcasting mDns reply for query from fd11:db8:1::1 - CHIP:DIS: Failed to advertise records: ../third_party/connectedhomeip/src/inet/IPEndPointBasis.cpp: - CHIP:DIS: Broadcasting mDns reply for query from fe80::1 - CHIP:DIS: Failed to advertise records: ../third_party/connectedhomeip/src/inet/IPEndPointBasis.cpp: - CHIP:DIS: Broadcasting mDns reply for query from fd00:6d61:7474:6572::1 - CHIP:DIS: Broadcasting mDns reply for query from fd00:6d61:7474:6572::1 - CHIP:DIS: Broadcasting mDns reply for query from fd00:6d61:7474:6572::1 - CHIP:DIS: Broadcasting mDns reply for query from fd00:6d61:7474:6572::1 - CHIP:DIS: Broadcasting mDns reply for query from fd00:6d61:7474:6572::1 - CHIP:DIS: Broadcasting mDns reply for query from fe80::42:eeff:fec7:c619 - CHIP:DIS: Broadcasting mDns reply for query from fe80::42:eeff:fec7:c619 - CHIP:DIS: Broadcasting mDns reply for query from fe80::42:eeff:fec7:c619 - CHIP:DIS: Broadcasting mDns reply for query from fe80::42:eeff:fec7:c619 - CHIP:DIS: Broadcasting mDns reply for query from fe80::42:eeff:fec7:c619 - CHIP:DIS: Broadcasting mDns reply for query from fe80::1 - CHIP:DIS: Broadcasting mDns reply for query from fe80::1 - CHIP:DIS: Broadcasting mDns reply for query from fe80::1 - CHIP:DIS: Broadcasting mDns reply for query from fe80::1 - CHIP:DIS: Broadcasting mDns reply for query from fe80::1 - CHIP:DIS: Broadcasting mDns reply for query from fe80::907b:c7ff:fe3e:b49c - CHIP:DIS: Broadcasting mDns reply for query from fe80::907b:c7ff:fe3e:b49c - CHIP:DIS: Broadcasting mDns reply for query from fe80::907b:c7ff:fe3e:b49c - CHIP:DIS: Broadcasting mDns reply for query from fe80::907b:c7ff:fe3e:b49c - CHIP:DIS: Broadcasting mDns reply for query from fe80::789d:4aff:fec4:2745 - CHIP:DIS: Broadcasting mDns reply for query from fe80::789d:4aff:fec4:2745 - CHIP:DIS: Broadcasting mDns reply for query from fe80::789d:4aff:fec4:2745 - CHIP:DIS: Broadcasting mDns reply for query from fe80::789d:4aff:fec4:2745 - CHIP:DIS: Broadcasting mDns reply for query from fe80::e8b9:daff:fee9:9934 - CHIP:DIS: Broadcasting mDns reply for query from fe80::e8b9:daff:fee9:9934 - CHIP:DIS: Broadcasting mDns reply for query from fe80::e8b9:daff:fee9:9934 - CHIP:DIS: Broadcasting mDns reply for query from fe80::e8b9:daff:fee9:9934 - CHIP:DIS: Failed to find a valid admin pairing. Node ID unknown - CHIP:DIS: Start dns-sd server - no current nodeId - CHIP:DL: MAC is not known, using a default. - CHIP:DIS: Advertise commission parameter vendorID=9050 productID=65279 discriminator=3840/00 - CHIP:DIS: CHIP minimal mDNS configured as 'Commissionable node device'. - CHIP:DIS: Broadcasting mDns reply for query from 192.168.1.11 - CHIP:DIS: Broadcasting mDns reply for query from 192.168.1.11 - CHIP:DIS: Broadcasting mDns reply for query from 192.168.1.11 - CHIP:DIS: Broadcasting mDns reply for query from 172.17.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.17.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.17.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.21.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.21.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.21.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.18.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.18.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.18.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.19.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.19.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.19.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.20.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.20.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.20.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 2402:e280:2108:181:e65f:1ff:fe0e:bf41 - CHIP:DIS: Broadcasting mDns reply for query from 2402:e280:2108:181:e65f:1ff:fe0e:bf41 - CHIP:DIS: Broadcasting mDns reply for query from 2402:e280:2108:181:e65f:1ff:fe0e:bf41 - CHIP:DIS: Broadcasting mDns reply for query from fe80::e65f:1ff:fe0e:bf41 - CHIP:DIS: Broadcasting mDns reply for query from fe80::e65f:1ff:fe0e:bf41 - CHIP:DIS: Broadcasting mDns reply for query from fe80::e65f:1ff:fe0e:bf41 - CHIP:DIS: Broadcasting mDns reply for query from fd11:db8:1::1 - CHIP:DIS: Failed to advertise records: ../third_party/connectedhomeip/src/inet/IPEndPointBasis.cpp: - CHIP:DIS: Broadcasting mDns reply for query from fe80::1 - CHIP:DIS: Failed to advertise records: ../third_party/connectedhomeip/src/inet/IPEndPointBasis.cpp: - CHIP:DIS: Broadcasting mDns reply for query from fd00:6d61:7474:6572::1 - CHIP:DIS: Broadcasting mDns reply for query from fd00:6d61:7474:6572::1 - CHIP:DIS: Broadcasting mDns reply for query from fd00:6d61:7474:6572::1 - CHIP:DIS: Broadcasting mDns reply for query from fe80::42:eeff:fec7:c619 - CHIP:DIS: Broadcasting mDns reply for query from fe80::42:eeff:fec7:c619 - CHIP:DIS: Broadcasting mDns reply for query from fe80::42:eeff:fec7:c619 - CHIP:DIS: Broadcasting mDns reply for query from fe80::1 - CHIP:DIS: Broadcasting mDns reply for query from fe80::1 - CHIP:DIS: Broadcasting mDns reply for query from fe80::1 - CHIP:DIS: Broadcasting mDns reply for query from fe80::907b:c7ff:fe3e:b49c - CHIP:DIS: Broadcasting mDns reply for query from fe80::907b:c7ff:fe3e:b49c - CHIP:DIS: Broadcasting mDns reply for query from fe80::907b:c7ff:fe3e:b49c - CHIP:DIS: Broadcasting mDns reply for query from fe80::789d:4aff:fec4:2745 - CHIP:DIS: Broadcasting mDns reply for query from fe80::789d:4aff:fec4:2745 - CHIP:DIS: Broadcasting mDns reply for query from fe80::789d:4aff:fec4:2745 - CHIP:DIS: Broadcasting mDns reply for query from fe80::e8b9:daff:fee9:9934 - CHIP:DIS: Broadcasting mDns reply for query from fe80::e8b9:daff:fee9:9934 - CHIP:DIS: Broadcasting mDns reply for query from fe80::e8b9:daff:fee9:9934 - CHIP:DIS: Scheduling Discovery timeout in secs=900 - CHIP:DL: MAC is not known, using a default. - CHIP:DIS: Advertise commission parameter vendorID=9050 productID=65279 discriminator=3840/00 - CHIP:DIS: CHIP minimal mDNS configured as 'Commissioner device'. - CHIP:DIS: Broadcasting mDns reply for query from 192.168.1.11 - CHIP:DIS: Broadcasting mDns reply for query from 192.168.1.11 - CHIP:DIS: Broadcasting mDns reply for query from 192.168.1.11 - CHIP:DIS: Broadcasting mDns reply for query from 192.168.1.11 - CHIP:DIS: Broadcasting mDns reply for query from 192.168.1.11 - CHIP:DIS: Broadcasting mDns reply for query from 172.17.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.17.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.17.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.17.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.21.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.21.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.21.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.21.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.18.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.18.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.18.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.18.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.18.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.19.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.19.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.19.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.19.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.19.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.20.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.20.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.20.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 172.20.0.1 - CHIP:DIS: Broadcasting mDns reply for query from 2402:e280:2108:181:e65f:1ff:fe0e:bf41 - CHIP:DIS: Broadcasting mDns reply for query from 2402:e280:2108:181:e65f:1ff:fe0e:bf41 - CHIP:DIS: Broadcasting mDns reply for query from 2402:e280:2108:181:e65f:1ff:fe0e:bf41 - CHIP:DIS: Broadcasting mDns reply for query from 2402:e280:2108:181:e65f:1ff:fe0e:bf41 - CHIP:DIS: Broadcasting mDns reply for query from 2402:e280:2108:181:e65f:1ff:fe0e:bf41 - CHIP:DIS: Broadcasting mDns reply for query from fe80::e65f:1ff:fe0e:bf41 - CHIP:DIS: Broadcasting mDns reply for query from fe80::e65f:1ff:fe0e:bf41 - CHIP:DIS: Broadcasting mDns reply for query from fe80::e65f:1ff:fe0e:bf41 - CHIP:DIS: Broadcasting mDns reply for query from fe80::e65f:1ff:fe0e:bf41 - CHIP:DIS: Broadcasting mDns reply for query from fe80::e65f:1ff:fe0e:bf41 - CHIP:DIS: Broadcasting mDns reply for query from fd11:db8:1::1 - CHIP:DIS: Failed to advertise records: ../third_party/connectedhomeip/src/inet/IPEndPointBasis.cpp: - CHIP:DIS: Broadcasting mDns reply for query from fe80::1 - CHIP:DIS: Failed to advertise records: ../third_party/connectedhomeip/src/inet/IPEndPointBasis.cpp: - CHIP:DIS: Broadcasting mDns reply for query from fd00:6d61:7474:6572::1 - CHIP:DIS: Broadcasting mDns reply for query from fd00:6d61:7474:6572::1 - CHIP:DIS: Broadcasting mDns reply for query from fd00:6d61:7474:6572::1 - CHIP:DIS: Broadcasting mDns reply for query from fd00:6d61:7474:6572::1 - CHIP:DIS: Broadcasting mDns reply for query from fd00:6d61:7474:6572::1 - CHIP:DIS: Broadcasting mDns reply for query from fe80::42:eeff:fec7:c619 - CHIP:DIS: Broadcasting mDns reply for query from fe80::42:eeff:fec7:c619 - CHIP:DIS: Broadcasting mDns reply for query from fe80::42:eeff:fec7:c619 - CHIP:DIS: Broadcasting mDns reply for query from fe80::42:eeff:fec7:c619 - CHIP:DIS: Broadcasting mDns reply for query from fe80::42:eeff:fec7:c619 - CHIP:DIS: Broadcasting mDns reply for query from fe80::1 - CHIP:DIS: Broadcasting mDns reply for query from fe80::1 - CHIP:DIS: Broadcasting mDns reply for query from fe80::1 - CHIP:DIS: Broadcasting mDns reply for query from fe80::1 - CHIP:DIS: Broadcasting mDns reply for query from fe80::1 - CHIP:DIS: Broadcasting mDns reply for query from fe80::907b:c7ff:fe3e:b49c - CHIP:DIS: Broadcasting mDns reply for query from fe80::907b:c7ff:fe3e:b49c - CHIP:DIS: Broadcasting mDns reply for query from fe80::907b:c7ff:fe3e:b49c - CHIP:DIS: Broadcasting mDns reply for query from fe80::907b:c7ff:fe3e:b49c - CHIP:DIS: Broadcasting mDns reply for query from fe80::789d:4aff:fec4:2745 - CHIP:DIS: Broadcasting mDns reply for query from fe80::789d:4aff:fec4:2745 - CHIP:DIS: Broadcasting mDns reply for query from fe80::789d:4aff:fec4:2745 - CHIP:DIS: Broadcasting mDns reply for query from fe80::789d:4aff:fec4:2745 - CHIP:DIS: Broadcasting mDns reply for query from fe80::e8b9:daff:fee9:9934 - CHIP:DIS: Broadcasting mDns reply for query from fe80::e8b9:daff:fee9:9934 - CHIP:DIS: Broadcasting mDns reply for query from fe80::e8b9:daff:fee9:9934 - CHIP:DIS: Broadcasting mDns reply for query from fe80::e8b9:daff:fee9:9934 - CHIP:IN: CASE Server enabling CASE session setups - CHIP:SVR: Server Listening... - CHIP:DL: Device Configuration: - CHIP:DL: Serial Number: TEST_SN - CHIP:DL: Vendor Id: 9050 (0x235A) - CHIP:DL: Product Id: 65279 (0xFEFF) - CHIP:DL: Product Revision: 0 - CHIP:DL: Setup Pin Code: 20202021 - CHIP:DL: Setup Discriminator: 3840 (0xF00) - CHIP:DL: Manufacturing Date: (not set) - CHIP:DL: Device Type: 35 (0x23) - CHIP:SVR: SetupQRCode: [MT:YNJV7VSC00KA0648G00] - CHIP:SVR: Copy/paste the below URL in a browser to see the QR Code: - CHIP:SVR: https://project-chip.github.io/connectedhomeip/qrcode.html?data=MT%3AYNJV7VSC00KA0648G00 - CHIP:SVR: Manual pairing code: [34970112332] - CHIP:SVR: Retrieved value from server storage. - CHIP:SVR: Retrieved value from server storage. - CHIP:CTL: Generating NOC - CHIP:CTL: Generating ICAC - CHIP:SVR: Retrieved value from server storage. - CHIP:IN: UDP::Init bind&listen port=5542 - CHIP:IN: UDP::Init bound to port=5542 - CHIP:IN: UDP::Init bind&listen port=5542 - CHIP:IN: UDP::Init bound to port=5542 - CHIP:IN: TransportMgr initialized - CHIP:DIS: Init fabric pairing table with server storage - CHIP:SVR: Retrieved value from server storage. - CHIP:SVR: Retrieved value from server storage. - CHIP:SVR: Retrieved value from server storage. - CHIP:SVR: Retrieved value from server storage. - CHIP:SVR: Retrieved value from server storage. - CHIP:SVR: Retrieved value from server storage. - CHIP:SVR: Retrieved value from server storage. - CHIP:SVR: Retrieved value from server storage. - CHIP:SVR: Retrieved value from server storage. - CHIP:SVR: Retrieved value from server storage. - CHIP:SVR: Retrieved value from server storage. - CHIP:SVR: Retrieved value from server storage. - CHIP:SVR: Retrieved value from server storage. - CHIP:SVR: Retrieved value from server storage. - CHIP:SVR: Retrieved value from server storage. - CHIP:SVR: Retrieved value from server storage. - CHIP:DL: writing settings to file (/tmp/chip_counters.ini-ZAecx4) - CHIP:DL: renamed tmp file to file (/tmp/chip_counters.ini) - CHIP:DL: NVS set: chip-counters/GlobalMCTR = 10000 (0x2710) - CHIP:CTL: System State Initialized... - CHIP:ZCL: Using ZAP configuration... - CHIP:ZCL: Duplicate attribute override registration failed - CHIP:ZCL: Duplicate attribute override registration failed - CHIP:ZCL: OpCreds: Initiating OpCreds cluster by writing fabrics list from fabric table. - CHIP:ZCL: Duplicate attribute override registration failed - CHIP:DIS: Set the fabric pairing table delegate - CHIP:ZCL: OpCreds: Call to writeFabricsIntoFabricsListAttribute - CHIP:ZCL: OpCreds: Stored 0 fabrics in fabrics list attribute. - CHIP:ZCL: Duplicate attribute override registration failed - CHIP:ZCL: Duplicate attribute override registration failed - CHIP:ZCL: Duplicate attribute override registration failed - CHIP:ZCL: Failed to store mac address for endpoint: 1. Error:../include/endpoint-configuration/Endp - CHIP:ZCL: Failed to store application for endpoint: 3. Error:../include/endpoint-configuration/Endp - CHIP:ZCL: Failed to store application for endpoint: 4. Error:../include/endpoint-configuration/Endp - CHIP:ZCL: Failed to store application for endpoint: 5. Error:../include/endpoint-configuration/Endp - CHIP:SVR: Retrieved value from server storage. - CHIP:DIS: Verifying the received credentials - CHIP:DIS: Added new fabric at index: 1, Initialized: 0 - CHIP:DIS: Assigned compressed fabric ID: 0x810A763DC0609539, node ID: 0xFFFFFFFEFFFFFFFF - CHIP:CTL: Joined the fabric at index 1. Compressed fabric ID is: 0x810A763DC0609539 - CHIP:SVR: Retrieved value from server storage. - CHIP:IN: UDP::Init bind&listen port=5550 - CHIP:IN: UDP::Init bound to port=5550 - CHIP:IN: UDP::Init bind&listen port=5550 - CHIP:IN: UDP::Init bound to port=5550 - CHIP:IN: TransportMgr initialized - CHIP:DL: TRACE: Bluez mainloop starting Thread - CHIP:DL: TRACE: Bus acquired for name MATTER-3840 - CHIP:DL: CREATE service object at /chipoble/17db/service - CHIP:DL: Create characteristic object at /chipoble/17db/service/c1 - CHIP:DL: Create characteristic object at /chipoble/17db/service/c2 - CHIP:DL: CHIP BTP C1 /chipoble/17db/service - CHIP:DL: CHIP BTP C2 /chipoble/17db/service - CHIP:DL: CHIP_ENABLE_ADDITIONAL_DATA_ADVERTISING is TRUE - CHIP:DL: Create characteristic object at /chipoble/17db/service/c3 - CHIP:DL: CHIP BTP C3 /chipoble/17db/service - CHIP:DL: PlatformBlueZInit init success - CHIP:DL: BluezPeripheralRegisterAppDone done - CHIP:DL: HandlePlatformSpecificBLEEvent 16392 - CHIP:DL: Create adv object at /chipoble/17db/advertising - CHIP:DL: SET service data to {'0xFFF6': <[byte 0x00, 0x00, 0x0f, 0x5a, 0x23, 0xff, 0xfe]>} - CHIP:DL: HandlePlatformSpecificBLEEvent 16393 - CHIP:DL: CHIPoBLE advertising config complete - CHIP:DL: RegisterAdvertisement complete - CHIP:DL: HandlePlatformSpecificBLEEvent 16394 - - - 2F: Invalid argument - 07] CHIP:DL: Caught signal 2 - CHIP:DL: writing settings to file (/tmp/chip_counters.ini-1yqzCI) - CHIP:DL: renamed tmp file to file (/tmp/chip_counters.ini) - CHIP:DL: NVS set: chip-counters/boot-reason = 6 (0x6) - CHIP:DL: writing settings to file (/tmp/chip_counters.ini-9LKrPO) - CHIP:DL: renamed tmp file to file (/tmp/chip_counters.ini) - CHIP:DL: NVS set: chip-counters/total-operational-hours = 0 (0x0) - CHIP:DL: Inet Layer shutdown - CHIP:DL: BLE layer shutdown - CHIP:DL: System Layer shutdown - CHIP:CTL: Shutting down the System State, this will teardown the CHIP Stack - CHIP:DL: writing settings to file (/tmp/chip_counters.ini-Q5U5bp) - CHIP:DL: renamed tmp file to file (/tmp/chip_counters.ini) - CHIP:DL: NVS set: chip-counters/total-operational-hours = 0 (0x0) - CHIP:DL: Inet Layer shutdown - CHIP:DL: BLE layer shutdown - CHIP:DL: System Layer shutdown + CHIP:DL: Using wifi MAC for hostname + CHIP:DIS: Advertise operational node DFC28FF9FE811EF2-FFFFFFEFFFFFFFFF + CHIP:DIS: CHIP minimal mDNS configured as 'Operational device'. + CHIP:DIS: Broadcasting mDns reply for query from disabled: true - label: "TH start scanning for available commissioners using Commissioner Discovery" verification: | - On the second RPI start tv-casting-app - - ubuntu@matter-te-6:~/connectedhomeip/examples/tv-casting-app/linux/out/debug$ ./chip-tv-casting-app - - - - AUDIT: ===== RANDOM NUMBER GENERATOR AUDIT START ==== - AUDIT: * Validate buf1 and buf2 are <<>> - AUDIT: * Validate r1 and r2 are <<>> - AUDIT: * buf1: 8643126A627C1C289E7CBD1C0B59485B - AUDIT: * buf2: E9A8AB9589D71155E7B161FC3DBB66CE - AUDIT: * r1: 0x3A338FB7 r2: 0xCC480665 - AUDIT: ===== RANDOM NUMBER GENERATOR AUDIT END ==== - writing settings to file (/tmp/chip_counters.ini-oR46os) - renamed tmp file to file (/tmp/chip_counters.ini) - NVS set: chip-counters/reboot-count = 12 (0xC) - Got Ethernet interface: eth0 - Found the primary Ethernet interface:eth0 - Got WiFi interface: wlan0 - Failed to reset WiFi statistic counts - MDNS failed to join multicast group on veth5731933 for address type IPv4: ../third_party/connectedhomeip/src/inet/IPEndPointBasis.cpp:387: Inet Error 0x00000110: Address not found - MDNS failed to join multicast group on vethbf7bfa6 for address type IPv4: ../third_party/connectedhomeip/src/inet/IPEndPointBasis.cpp:387: Inet Error 0x00000110: Address not found - MDNS failed to join multicast group on vethcf434e5 for address type IPv4: ../third_party/connectedhomeip/src/inet/IPEndPointBasis.cpp:387: Inet Error 0x00000110: Address not found - Attempt to mDNS broadcast failed: ../third_party/connectedhomeip/src/inet/IPEndPointBasis.cpp:687: OS Error 0x02000065: Network is unreachable - Attempt to mDNS broadcast failed: ../third_party/connectedhomeip/src/inet/IPEndPointBasis.cpp:687: OS Error 0x02000065: Network is unreachable - Attempt to mDNS broadcast failed: ../third_party/connectedhomeip/src/inet/IPEndPointBasis.cpp:687: OS Error 0x02000065: Network is unreachable - Attempt to mDNS broadcast failed: ../third_party/connectedhomeip/src/inet/IPEndPointBasis.cpp:687: OS Error 0x02000065: Network is unreachable - Discovered Commissioner #1 - Device Name: Test TV - Vendor ID: 9050 - Product ID: 65279 - Device Type: 35 - Hostname: EEAABADABAD0DDCA - IP Address #1: 2402:e280:2108:181:dea6:32ff:fef9:f0a1 - IP Address #2: fe80::dea6:32ff:fef9:f0a1 - IP Address #3: 192.168.1.12 - Port: 5550 - Commissioning Mode: 0 - 1 commissioner(s) discovered. Select one (by number# above) to request commissioning from: + ubuntu@ubuntu:~/may23_cntrl/connectedhomeip/examples/chip-tool/out/debug$ avahi-browse -rt _matterd._udp + + + eth0 IPv6 A0BF4D00BE973DEC _matterd._udp local + + eth0 IPv6 252FB62C79E2724B _matterd._udp local + = eth0 IPv6 A0BF4D00BE973DEC _matterd._udp local + hostname = [E45F010F27530000.local] + address = [fe80::e65f:1ff:fe0f:2755] + port = [5650] + txt = ["T=1" "SAI=300" "SII=5000" "DN=Test TV" "DT=35" "VP=65521+32769"] + = eth0 IPv6 252FB62C79E2724B _matterd._udp local + hostname = [E45F010F27530000.local] + address = [fe80::e65f:1ff:fe0f:2755] + port = [5650] + txt = ["T=1" "SAI=300" "SII=5000" "DN=Test TV" "DT=35" "VP=65521+32769"] disabled: true - label: "TH is instructed to start the commissioning procedure with the DUT found at step 2" verification: | - Select option 1 on TH + This particular step is Out of scope for V1.0 + + https://github.com/CHIP-Specifications/chip-test-plans/issues/1312 disabled: true - label: "DUT verify the Identification Declaration message" verification: | - On DUT. + This particular step is Out of scope for V1.0 - CHIP:SVR: UserDirectedCommissioningServer::OnMessageReceived - CHIP:SVR: UDC instance=420604DE2A8F19A2 - CHIP:SVR: UserDirectedCommissioningServer::OnMessageReceived - CHIP:SVR: UDC instance=420604DE2A8F19A2 - CHIP:SVR: UserDirectedCommissioningServer::OnMessageReceived - CHIP:SVR: UDC instance=420604DE2A8F19A2 - CHIP:SVR: UserDirectedCommissioningServer::OnMessageReceived - CHIP:SVR: UDC instance=420604DE2A8F19A2 - CHIP:SVR: OnCommissionableNodeFound instance: name=420604DE2A8F19A2 old_state=1 new_state=3 - CHIP:CTL: ------PROMPT USER!! OnUserDirectedCommissioningRequest instance=420604DE2A8F19A2 deviceName=Test TV casting app - CHIP:SVR: UDC Client[0] instance=420604DE2A8F19A2 deviceName=Test TV casting app address=UDP:192.168.1.11:5540, disc=3840 + https://github.com/CHIP-Specifications/chip-test-plans/issues/1312 disabled: true - label: "By any means DUT prompt user for onboarding payload" verification: | disabled: true + + - label: "DUT start the commissioning procedure with TH" + verification: | + ./chip-tool pairing ethernet 1 20202021 3840 fe80::e65f:1ff:fe0f:2755 5640 + + [1653559159.021348][4240:4246] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0030 Command=0x0000_0005 + [1653559159.021432][4240:4246] CHIP:CTL: Received CommissioningComplete response, errorCode=0 + [1653559159.021499][4240:4246] CHIP:CTL: Successfully finished commissioning step 'SendComplete' + [1653559159.021554][4240:4246] CHIP:CTL: Commissioning stage next step: 'SendComplete' -> 'Cleanup' + [1653559159.021611][4240:4246] CHIP:CTL: Performing next commissioning step 'Cleanup' + [1653559159.021725][4240:4246] CHIP:CTL: Successfully finished commissioning step 'Cleanup' + [1653559159.021790][4240:4246] CHIP:TOO: Device commissioning completed with success + disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_DD_3_5.yaml b/src/app/tests/suites/certification/Test_TC_DD_3_5.yaml index f90a91e12147de..3705c397c6837f 100644 --- a/src/app/tests/suites/certification/Test_TC_DD_3_5.yaml +++ b/src/app/tests/suites/certification/Test_TC_DD_3_5.yaml @@ -41,12 +41,12 @@ tests: [1653471956.972509][10713:10713] CHIP:-: ==== Onboarding payload for Standard Commissioning Flow ==== [1653471956.972546][10713:10713] CHIP:SVR: SetupQRCode: [MT:-24J0CEK01KA0648G00] [1653471956.972579][10713:10713] CHIP:SVR: Copy/paste the below URL in a browser to see the QR Code: - [1653471956.972600][10713:10713] CHIP:SVR: https://project-chip.github.io/connectedhomeip/qrcode.html?data=MT%3A-24J0CEK01KA0648G00 + [1653471956.972600][10713:10713] CHIP:SVR: https://dhrishi.github.io/connectedhomeip/qrcode.html?data=MT%3A-24J0CEK01KA0648G00 [1653471956.972632][10713:10713] CHIP:SVR: Manual pairing code: [34970112332] [1653471956.972654][10713:10713] CHIP:-: ==== Onboarding payload for Custom Commissioning Flows ==== [1653471956.972715][10713:10713] CHIP:SVR: SetupQRCode: [MT:-24J048N01KA0648G00] [1653471956.972748][10713:10713] CHIP:SVR: Copy/paste the below URL in a browser to see the QR Code: - [1653471956.972769][10713:10713] CHIP:SVR: https://project-chip.github.io/connectedhomeip/qrcode.html?data=MT%3A-24J048N01KA0648G00 + [1653471956.972769][10713:10713] CHIP:SVR: https://dhrishi.github.io/connectedhomeip/qrcode.html?data=MT%3A-24J048N01KA0648G00 [1653471956.972803][10713:10713] CHIP:SVR: Manual pairing code: [749701123365521327694] @@ -201,8 +201,10 @@ tests: - label: "Commissioner and Commissionee discover each other and connect via the - discovery mode applicable for the DUT. If (PICS_DT_IP), TH device is - advertising over IP Network using DNS-based Service Discovery (DNS-SD)" + discovery mode applicable for the DUT. If (MCORE.DD.DT_IP), TH device + is advertising over IP Network using DNS-based Service Discovery + (DNS-SD)" + PICS: MCORE.DD.DT_IP verification: | Verify on DUT: @@ -356,7 +358,7 @@ tests: verification: | Verify that the responder receives the PBKDFParamRequest message - Check on DUT: + Check on TH: CHIP:SC: Received PBKDF param request CHIP:SC: Peer assigned session ID 18450 CHIP:SC: Found MRP parameters in the message @@ -366,7 +368,7 @@ tests: CHIP:IN: Sending unauthenticated msg 0xaaaaad340560 with MessageCounter:1341084110 to 0x0000000000000000 at monotonic time: 0000000000FBA380 msec CHIP:SC: Sent PBKDF param response - Check on TH: + Check on DUT: Sent PBKDF param request [1653471961.364996][30157:30162] CHIP:CTL: Setting wifi credentials from parameters [1653471961.365051][30157:30162] CHIP:CTL: Setting attestation nonce to random value @@ -384,27 +386,28 @@ tests: "Commissioner SHALL re-arm Fail-safe timer on Commissionee within 60s (the autonomously Fail-safe timer length set by Commissionee)" verification: | - Verify on DUT: + Verify on TH: CHIP:DL: NVS set: chip-config/fail-safe-armed = true - Verify on TH: + Verify on DUT: : Performing next commissioning step 'ArmFailSafe' [1653471968.064493][30157:30162] CHIP:CTL: Arming failsafe (60 seconds) disabled: true - label: - "If (PICS_WIFI) or (PICS_THREAD), Commissioner SHALL configure - regulatory information in the Commissionee." + "Commissioner SHALL configure regulatory information in the + Commissionee." + PICS: MCORE.DD.WIRELESS verification: | - Verify on TH Log: + Verify on DUT Log: Performing next commissioning step 'ConfigRegulatory' [1653471968.202645][30157:30162] CHIP:CTL: Setting Regulatory Config [1653471968.202666][30157:30162] CHIP:CTL: No regulatory config supplied by controller, leaving as device default (0) - Verify on DUT: + Verify on TH: NVS set: chip-config/regulatory-location = 0 (0x0) disabled: true @@ -412,13 +415,13 @@ tests: "Commissioner requests operational CSR from Commissionee with OperationalCSRRequest command" verification: | - Verify the following on TH after commissioning + Verify the following on DUT after commissioning [1646909537.102263][3145:3150] CHIP:CTL: Received Attestation Information from the device [1646909537.102418][3145:3150] CHIP:CTL: Verifying attestation [1646909537.115081][3145:3150] CHIP:CTL: Successfully validated 'Attestation Information' command received from the device. - Verify on DUT: + Verify on TH: CHIP:ZCL: OpCreds: commissioner has requested a CSR CHIP:ZCL: OpCreds: NewCertificateSigningRequest returned ../../third_party/connectedhomeip/src/crypto/CHIPCryptoPALOpenSSL.cpp:1114: Success disabled: true @@ -427,11 +430,11 @@ tests: "Commissioner configures operational credentials on DUT if not previously installed" verification: | - Verify on DUT: + Verify on TH: OpCreds: Received an AddTrustedRootCertificate command - Verify on TH: + Verify on DUT: Sending root certificate to the device CHIP:DMG: ICR moving to [AddingComm] @@ -446,7 +449,7 @@ tests: "Commissioner configures itself as administrator in ACL on TH if needed" verification: | - Verify the following on TH after commissioning + Verify the following on DUT after commissioning CHIP:CTL: Commissioning stage next step: 'SendTrustedRootCert' -> 'SendNOC' [1653471969.812357][30157:30162] CHIP:CTL: Performing next commissioning step 'SendNOC' @@ -500,7 +503,7 @@ tests: [1653471970.347439][30157:30162] CHIP:TOO: Secure Pairing Success [1653471970.347485][30157:30162] CHIP:CTL: Successfully finished commissioning step 'SendNOC' - Verify on DUT: + Verify on TH: OpCreds: Received an AddNOC command disabled: true @@ -509,7 +512,7 @@ tests: "Commissioner configures operational network on TH if TH both supports and requires" verification: | - Verify the following on TH after commissioning + Verify the following on DUT after commissioning [1646909537.345068][3145:3150] CHIP:CTL: Received certificate signing request from the device disabled: true @@ -518,7 +521,7 @@ tests: "Commissioner instructs Commissionee to connect to operational network if not already connected" verification: | - Verify the following on TH after commissioning + Verify the following on DUT after commissioning [1646909537.976592][3145:3150] CHIP:CTL: Operational credentials provisioned on device 0xffffac001730 [1646909537.976664][3145:3150] CHIP:TOO: Secure Pairing Success @@ -526,7 +529,7 @@ tests: - label: "Commissioner starts discovery of TH using Operational Discovery" verification: | - Verify the following on TH: + Verify the following on DUT: Commissioning stage next step: 'WiFiNetworkEnable' -> 'FindOperational' [1653471976.344532][30157:30162] CHIP:CTL: Performing next commissioning step 'FindOperational' @@ -549,7 +552,7 @@ tests: - label: "Commissioner opens a CASE session with TH over operational network" verification: | - Verify the following on DUT: + Verify the following on TH: CASE Server enabling CASE session setups [1653471957.713139][10713:10713] CHIP:SVR: Joining Multicast groups @@ -560,7 +563,7 @@ tests: - label: "Commissioner sends CommissioningComplete command" verification: | - Verify the following on TH: + Verify the following on DUT: CHIP:CTL: Received CommissioningComplete response disabled: true @@ -569,7 +572,7 @@ tests: "Commissioning channel between the Commissioner and Commissionee is terminated." verification: | - Verify the following on TH: + Verify the following on DUT: CHIP:CTL: Successfully finished commissioning step 'SendComplete' CHIP:CTL: Commissioning stage next step: 'SendComplete' -> 'Cleanup' diff --git a/src/app/tests/suites/certification/Test_TC_DD_3_6.yaml b/src/app/tests/suites/certification/Test_TC_DD_3_6.yaml index dfc4efa8cdad97..10590e2df572f6 100644 --- a/src/app/tests/suites/certification/Test_TC_DD_3_6.yaml +++ b/src/app/tests/suites/certification/Test_TC_DD_3_6.yaml @@ -58,8 +58,9 @@ tests: disabled: true - label: - "If (PICS_WIFI) or (PICS_THREAD), Commissioner SHALL configure - regulatory information in the Commissionee." + "Commissioner SHALL configure regulatory information in the + Commissionee." + PICS: MCORE.DD.WIRELESS verification: | Need chip-tool implementation disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_DD_3_7.yaml b/src/app/tests/suites/certification/Test_TC_DD_3_7.yaml index 6c4afdcb7f70f7..6948b45f5b129b 100644 --- a/src/app/tests/suites/certification/Test_TC_DD_3_7.yaml +++ b/src/app/tests/suites/certification/Test_TC_DD_3_7.yaml @@ -40,7 +40,7 @@ tests: Reference : below Full log for the above commands (click on this cell if you like to see complete log) - controller > ./chip-tool discover commissionables + connectedhomeip/examples/chip-tool/out/debug$ ./chip-tool discover commissionables Waiting for device responses... CHIP:CTL: Generating ICAC CHIP:DL: AUDIT: ===== RANDOM NUMBER GENERATOR AUDIT START ==== @@ -184,13 +184,12 @@ tests: CHIP:DIS: Address 2: 192.168.1.12 - controller> sudo ./chip-tool pairing ethernet 112233 20202021 3840 192.168.1.12 5540 + connectedhomeip/examples/chip-tool/out/debug$ sudo ./chip-tool pairing ethernet 112233 20202021 3840 fe80::e65f:1ff:fe0f:2753 5540 - Output of this command in cell number I6 and J6 due to cell constraint of maximum size. - controller> sudo ./chip-tool basic read product-name 0x000000000001B669 0 + connectedhomeip/examples/chip-tool/out/debug$ sudo ./chip-tool basic read product-name 0x000000000001B669 0 ,, disabled: true @@ -555,10 +554,11 @@ tests: disabled: true - label: - "If (PICS_WIFI) or (PICS_THREAD), Commissioner SHALL configure - regulatory information in the Commissionee." + "Commissioner SHALL configure regulatory information in the + Commissionee." + PICS: MCORE.DD.WIRELESS verification: | - Need chip-tool implementation + Need test step review, potentially not a hard requirement so would not be required in test case disabled: true - label: @@ -592,6 +592,9 @@ tests: needed" verification: | Verify the following on DUT after commissioning + + + [1646909537.115328][3145:3150] CHIP:CTL: Sending CSR request to 0xffffac001730 device [1646909537.115512][3145:3150] CHIP:DMG: ICR moving to [AddingComm] [1646909537.115589][3145:3150] CHIP:DMG: ICR moving to [AddedComma] diff --git a/src/app/tests/suites/certification/Test_TC_DD_3_8.yaml b/src/app/tests/suites/certification/Test_TC_DD_3_8.yaml index 563872367b5ba5..1e0500759afca0 100644 --- a/src/app/tests/suites/certification/Test_TC_DD_3_8.yaml +++ b/src/app/tests/suites/certification/Test_TC_DD_3_8.yaml @@ -59,8 +59,9 @@ tests: disabled: true - label: - "If (PICS_WIFI) or (PICS_THREAD), Commissioner SHALL configure - regulatory information in the Commissionee." + "Commissioner SHALL configure regulatory information in the + Commissionee." + PICS: MCORE.DD.WIRELESS verification: | On DUT: CHIP:CTL: Setting Regulatory Config @@ -375,10 +376,11 @@ tests: disabled: true - label: - "If (PICS_WIFI) or (PICS_THREAD), Commissioner SHALL configure - regulatory information in the Commissionee." + "Commissioner SHALL configure regulatory information in the + Commissionee." + PICS: MCORE.DD.WIRELESS verification: | - Need chip-tool implementation + Need test step review, potentially not a hard requirement so would not be required in test case disabled: true - label: diff --git a/src/app/tests/suites/certification/Test_TC_DGETH_2_1.yaml b/src/app/tests/suites/certification/Test_TC_DGETH_2_1.yaml index 25739999b1f84b..a94faa0ebda955 100644 --- a/src/app/tests/suites/certification/Test_TC_DGETH_2_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_DGETH_2_1.yaml @@ -29,6 +29,7 @@ tests: value: nodeId - label: "Read PHYRate attribute constraints" + PICS: DGETH.S.A0000 command: "readAttribute" attribute: "PHYRate" response: @@ -38,6 +39,7 @@ tests: maxValue: 9 - label: "Read FullDuplex attribute constraints" + PICS: DGETH.S.A0001 command: "readAttribute" attribute: "FullDuplex" response: @@ -46,6 +48,7 @@ tests: #issue #13648 - label: "Read PacketRxCount attribute constraints" + PICS: DGETH.S.A0002 command: "readAttribute" attribute: "PacketRxCount" response: @@ -63,7 +66,7 @@ tests: [1649663623.009973][8103:8108] CHIP:TOO: PacketRxCount: 3322 cluster: "LogCommands" command: "UserPrompt" - PICS: PICS_USER_PROMPT + PICS: PICS_USER_PROMPT && DGETH.S.A0002 arguments: values: - name: "message" @@ -72,6 +75,7 @@ tests: value: "y" - label: "Read PacketTxCount attribute constraints" + PICS: DGETH.S.A0003 command: "readAttribute" attribute: "PacketTxCount" response: @@ -89,7 +93,7 @@ tests: [1649663793.192934][8117:8122] CHIP:TOO: PacketTxCount: 3220 cluster: "LogCommands" command: "UserPrompt" - PICS: PICS_USER_PROMPT + PICS: PICS_USER_PROMPT && DGETH.S.A0003 arguments: values: - name: "message" @@ -98,6 +102,7 @@ tests: value: "y" - label: "Read TxErrCount attribute constraints" + PICS: DGETH.S.A0004 command: "readAttribute" attribute: "TxErrCount" response: @@ -115,7 +120,7 @@ tests: [1649663843.295395][8123:8128] CHIP:TOO: TxErrCount: 0 cluster: "LogCommands" command: "UserPrompt" - PICS: PICS_USER_PROMPT + PICS: PICS_USER_PROMPT && DGETH.S.A0004 arguments: values: - name: "message" @@ -124,6 +129,7 @@ tests: value: "y" - label: "Read CollisionCount attribute constraints" + PICS: DGETH.S.A0005 command: "readAttribute" attribute: "CollisionCount" response: @@ -142,7 +148,7 @@ tests: [1649663870.221742][8133:8138] CHIP:TOO: CollisionCount: 0 cluster: "LogCommands" command: "UserPrompt" - PICS: PICS_USER_PROMPT + PICS: PICS_USER_PROMPT && DGETH.S.A0005 arguments: values: - name: "message" @@ -151,6 +157,7 @@ tests: value: "y" - label: "Read OverrunCount attribute constraints" + PICS: DGETH.S.A0006 command: "readAttribute" attribute: "OverrunCount" response: @@ -168,7 +175,7 @@ tests: [1649663948.738274][8142:8147] CHIP:TOO: OverrunCount: 0 cluster: "LogCommands" command: "UserPrompt" - PICS: PICS_USER_PROMPT + PICS: PICS_USER_PROMPT && DGETH.S.A0006 arguments: values: - name: "message" @@ -177,6 +184,7 @@ tests: value: "y" - label: "Read CarrierDetect attribute constraints" + PICS: DGETH.S.A0007 command: "readAttribute" attribute: "CarrierDetect" response: @@ -195,7 +203,7 @@ tests: [1649663972.829304][8149:8154] CHIP:TOO: CarrierDetect: null cluster: "LogCommands" command: "UserPrompt" - PICS: PICS_USER_PROMPT + PICS: PICS_USER_PROMPT && DGETH.S.A0007 arguments: values: - name: "message" @@ -204,6 +212,7 @@ tests: value: "y" - label: "Read TimeSinceReset attribute constraints" + PICS: DGETH.S.A0008 command: "readAttribute" attribute: "TimeSinceReset" response: @@ -221,7 +230,7 @@ tests: [1649664046.010810][8158:8163] CHIP:TOO: TimeSinceReset: 5219 cluster: "LogCommands" command: "UserPrompt" - PICS: PICS_USER_PROMPT + PICS: PICS_USER_PROMPT && DGETH.S.A0008 arguments: values: - name: "message" 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 0c9dcc20d59c28..5f58fb3fa1e4ab 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 @@ -30,39 +30,39 @@ tests: #issue #13648 - label: "Sends ResetCounts command" - PICS: PICS_SKIP_SAMPLE_APP + PICS: PICS_SKIP_SAMPLE_APP && DGETH.S.C00 command: "ResetCounts" - label: "Read the PacketRxCount attribute" - PICS: PICS_SKIP_SAMPLE_APP + PICS: PICS_SKIP_SAMPLE_APP && DGETH.S.A0002 command: "readAttribute" attribute: "PacketRxCount" response: value: 0 - label: "Read the PacketTxCount attribute" - PICS: PICS_SKIP_SAMPLE_APP + PICS: PICS_SKIP_SAMPLE_APP && DGETH.S.A0003 command: "readAttribute" attribute: "PacketTxCount" response: value: 0 - label: "Read the TxErrCount attribute" - PICS: PICS_SKIP_SAMPLE_APP + PICS: PICS_SKIP_SAMPLE_APP && DGETH.S.A0004 command: "readAttribute" attribute: "TxErrCount" response: value: 0 - label: "Read the CollisionCount attribute" - PICS: PICS_SKIP_SAMPLE_APP + PICS: PICS_SKIP_SAMPLE_APP && DGETH.S.A0005 command: "readAttribute" attribute: "CollisionCount" response: value: 0 - label: "Read the OverrunCount attribute" - PICS: PICS_SKIP_SAMPLE_APP + PICS: PICS_SKIP_SAMPLE_APP && DGETH.S.A0006 command: "readAttribute" attribute: "OverrunCount" response: diff --git a/src/app/tests/suites/certification/Test_TC_DGETH_3_1.yaml b/src/app/tests/suites/certification/Test_TC_DGETH_3_1.yaml index 03c2b7056eee43..bc2008bbe4bd39 100644 --- a/src/app/tests/suites/certification/Test_TC_DGETH_3_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_DGETH_3_1.yaml @@ -13,7 +13,7 @@ # limitations under the License. # Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default -name: 45.3.1. [TC-DGETH-3.1] Attributes with client as DUT +name: 3.3.1. [TC-DGETH-3.1] Attributes with client as DUT config: nodeId: 0x12344321 @@ -21,326 +21,98 @@ config: endpoint: 0 tests: - - label: "DUT reads a attribute value from TH." + - label: "Commission TH to DUT" + verification: | + + disabled: true + + - label: "DUT reads PHYRate attribute from TH." + PICS: DGETH.S.A0000 verification: | - ./chip-tool ethernetnetworkdiagnostics read phyrate 1 1 + ./chip-tool ethernetnetworkdiagnostics read phyrate 1 0 + Verify the value of PHYRate is in range of PHYRate enum + + CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0037 Attribute 0x0000_0000 DataVersion: 3872576452 + [1649663425.191426][8076:8082] CHIP:TOO: PHYRate: 1 disabled: true - label: "DUT reads a attribute value from TH." + PICS: DGETH.S.A0001 verification: | - ./chip-tool ethernetnetworkdiagnostics read full-duplex 1 1 + ./chip-tool ethernetnetworkdiagnostics read full-duplex 1 0 + Verify the value of FullDuplex is boolean - [1641968402.899684][47113:47118] CHIP:IN: Sending unauthenticated msg 0x7fe2e5623000 with MessageCounter:2023182737 to 0x0000000000000000 at monotonic time: 41076457 msec - [1641968402.899752][47113:47118] CHIP:EM: Flushed pending ack for MessageCounter:232282391 on exchange 1273i - [1641968402.940188][47113:47118] CHIP:EM: Received message of type 0x5 with protocolId (0, 1) and MessageCounter:797945 on exchange 1274i - [1641968402.940241][47113:47118] CHIP:EM: Found matching exchange: 1274i, Delegate: 0x7fe2d0001980 - [1641968402.940272][47113:47118] CHIP:EM: Rxd Ack; Removing MessageCounter:6647928 from Retrans Table on exchange 1274i - [1641968402.940291][47113:47118] CHIP:EM: Removed CHIP MessageCounter:6647928 from RetransTable on exchange 1274i - [1641968402.940339][47113:47118] CHIP:DMG: ReportDataMessage = - [1641968402.940358][47113:47118] CHIP:DMG: { - [1641968402.940371][47113:47118] CHIP:DMG: AttributeReportIBs = - [1641968402.940393][47113:47118] CHIP:DMG: [ - [1641968402.940410][47113:47118] CHIP:DMG: AttributeReportIB = - [1641968402.940435][47113:47118] CHIP:DMG: { - [1641968402.940451][47113:47118] CHIP:DMG: AttributeDataIB = - [1641968402.940469][47113:47118] CHIP:DMG: { - [1641968402.940488][47113:47118] CHIP:DMG: DataVersion = 0x0, - [1641968402.940504][47113:47118] CHIP:DMG: AttributePathIB = - [1641968402.940521][47113:47118] CHIP:DMG: { - [1641968402.940537][47113:47118] CHIP:DMG: Endpoint = 0x0, - [1641968402.940554][47113:47118] CHIP:DMG: Cluster = 0x37, - [1641968402.940572][47113:47118] CHIP:DMG: Attribute = 0x0000_0001, - [1641968402.940588][47113:47118] CHIP:DMG: } - [1641968402.940612][47113:47118] CHIP:DMG: - [1641968402.940633][47113:47118] CHIP:DMG: Data = false, - [1641968402.940650][47113:47118] CHIP:DMG: }, - [1641968402.940681][47113:47118] CHIP:DMG: - [1641968402.940699][47113:47118] CHIP:DMG: }, - [1641968402.940721][47113:47118] CHIP:DMG: - [1641968402.940738][47113:47118] CHIP:DMG: ], - [1641968402.940762][47113:47118] CHIP:DMG: - [1641968402.940777][47113:47118] CHIP:DMG: SuppressResponse = true, - [1641968402.940793][47113:47118] CHIP:DMG: } - [1641968402.940922][47113:47118] CHIP:TOO: EthernetNetworkDiagnostics.FullDuplex response: FALSE - [1641968402.940978][47113:47118] CHIP:EM: Sending Standalone Ack for MessageCounter:797945 on exchange 1274i - [1641968402.941024][47113:47118] CHIP:IN: Prepared secure message 0x7fe2e5622fe0 to 0x0000000000000002 (1) of type 0x10 and protocolId (0, 0) on exchange 1274i with MessageCounter:6647929. + CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0037 Attribute 0x0000_0001 DataVersion: 3872576452 + [1649663520.936873][8088:8093] CHIP:TOO: FullDuplex: TRUE disabled: true - label: "DUT reads a attribute value from TH." + PICS: DGETH.S.A0002 verification: | - ./chip-tool ethernetnetworkdiagnostics read packet-rx-count 1 1 + ./chip-tool ethernetnetworkdiagnostics read packet-rx-count 1 0 + Verify the value of PacketRxCount is in range uint64 - CHIP:EM: Flushed pending ack for MessageCounter:1297482240 on exchange 29107i - [1635592219.188641][3563:3568] CHIP:EM: Received message of type 0x5 with protocolId (0, 1) and MessageCounter:1 on exchange 29108i - [1635592219.188711][3563:3568] CHIP:EM: Rxd Ack; Removing MessageCounter:0 from Retrans Table on exchange 29108i - [1635592219.188751][3563:3568] CHIP:EM: Removed CHIP MessageCounter:0 from RetransTable on exchange 29108i - [1635592219.188808][3563:3568] CHIP:DMG: ReportData = - [1635592219.188850][3563:3568] CHIP:DMG: { - [1635592219.188886][3563:3568] CHIP:DMG: AttributeDataList = - [1635592219.188928][3563:3568] CHIP:DMG: [ - [1635592219.188968][3563:3568] CHIP:DMG: AttributeDataElement = - [1635592219.189017][3563:3568] CHIP:DMG: { - [1635592219.189059][3563:3568] CHIP:DMG: AttributePath = - [1635592219.189105][3563:3568] CHIP:DMG: { - [1635592219.189151][3563:3568] CHIP:DMG: NodeId = 0x1, - [1635592219.189204][3563:3568] CHIP:DMG: EndpointId = 0x1, - [1635592219.189263][3563:3568] CHIP:DMG: ClusterId = 0x37, - [1635592219.189314][3563:3568] CHIP:DMG: FieldTag = 0x0000_0002, - [1635592219.189369][3563:3568] CHIP:DMG: } - [1635592219.189425][3563:3568] CHIP:DMG: - [1635592219.189484][3563:3568] CHIP:DMG: Data = 1527, - [1635592219.189527][3563:3568] CHIP:DMG: DataElementVersion = 0x0, - [1635592219.189576][3563:3568] CHIP:DMG: }, - [1635592219.189621][3563:3568] CHIP:DMG: - [1635592219.189660][3563:3568] CHIP:DMG: ], - [1635592219.189707][3563:3568] CHIP:DMG: - [1635592219.189744][3563:3568] CHIP:DMG: } - [1635592219.189859][3563:3568] CHIP:ZCL: ReadAttributesResponse: - [1635592219.189896][3563:3568] CHIP:ZCL: ClusterId: 0x0000_0037 - [1635592219.189934][3563:3568] CHIP:ZCL: attributeId: 0x0000_0002 - [1635592219.189963][3563:3568] CHIP:ZCL: status: Success (0x0000) - [1635592219.189997][3563:3568] CHIP:ZCL: attribute TLV Type: 0x04 - [1635592219.191925][3563:3568] CHIP:TOO: Int64u attribute Response: 1527 - [1635592219.192058][3563:3568] CHIP:EM: Piggybacking Ack for MessageCounter:1 on exchange: 29108i - [1635592219.192158][3563:3568] CHIP:IN: Prepared encrypted message 0xaaaafc44cd10 to 0x0000000000000001 of type 0x1 and protocolId (0, 1) on exchange 29108i with MessageCounter:1. - [1635592219.192219][3563:3568] CHIP:IN: Sending encrypted msg 0xaaaafc44cd10 with MessageCounter:1 to 0x0000000000000001 at monotonic time: 4913165 msec + CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0037 Attribute 0x0000_0002 DataVersion: 3872576452 + [1649663623.009973][8103:8108] CHIP:TOO: PacketRxCount: 3322 disabled: true - label: "DUT reads a attribute value from TH." + PICS: DGETH.S.A0003 verification: | ./chip-tool ethernetnetworkdiagnostics read packet-tx-count 1 0 + Verify the value of PacketTxCount is in range uint64 - [1635592621.454286][3588:3593] CHIP:EM: Flushed pending ack for MessageCounter:1297482244 on exchange 55710i - [1635592621.457857][3588:3593] CHIP:EM: Received message of type 0x5 with protocolId (0, 1) and MessageCounter:1 on exchange 55711i - [1635592621.457922][3588:3593] CHIP:EM: Rxd Ack; Removing MessageCounter:0 from Retrans Table on exchange 55711i - [1635592621.457959][3588:3593] CHIP:EM: Removed CHIP MessageCounter:0 from RetransTable on exchange 55711i - [1635592621.458010][3588:3593] CHIP:DMG: ReportData = - [1635592621.458048][3588:3593] CHIP:DMG: { - [1635592621.458095][3588:3593] CHIP:DMG: AttributeDataList = - [1635592621.458134][3588:3593] CHIP:DMG: [ - [1635592621.458185][3588:3593] CHIP:DMG: AttributeDataElement = - [1635592621.458236][3588:3593] CHIP:DMG: { - [1635592621.458290][3588:3593] CHIP:DMG: AttributePath = - [1635592621.458330][3588:3593] CHIP:DMG: { - [1635592621.458435][3588:3593] CHIP:DMG: NodeId = 0x1, - [1635592621.458506][3588:3593] CHIP:DMG: EndpointId = 0x1, - [1635592621.458573][3588:3593] CHIP:DMG: ClusterId = 0x37, - [1635592621.458628][3588:3593] CHIP:DMG: FieldTag = 0x0000_0003, - [1635592621.458687][3588:3593] CHIP:DMG: } - [1635592621.458751][3588:3593] CHIP:DMG: - [1635592621.458800][3588:3593] CHIP:DMG: Data = 1860, - [1635592621.458861][3588:3593] CHIP:DMG: DataElementVersion = 0x0, - [1635592621.458910][3588:3593] CHIP:DMG: }, - [1635592621.458967][3588:3593] CHIP:DMG: - [1635592621.459003][3588:3593] CHIP:DMG: ], - [1635592621.459058][3588:3593] CHIP:DMG: - [1635592621.459091][3588:3593] CHIP:DMG: } - [1635592621.459218][3588:3593] CHIP:ZCL: ReadAttributesResponse: - [1635592621.459252][3588:3593] CHIP:ZCL: ClusterId: 0x0000_0037 - [1635592621.459298][3588:3593] CHIP:ZCL: attributeId: 0x0000_0003 - [1635592621.459331][3588:3593] CHIP:ZCL: status: Success (0x0000) - [1635592621.459362][3588:3593] CHIP:ZCL: attribute TLV Type: 0x04 - [1635592621.459419][3588:3593] CHIP:TOO: Int64u attribute Response: 1860 - [1635592621.459523][3588:3593] CHIP:EM: Piggybacking Ack for MessageCounter:1 on exchange: 55711i - [1635592621.459613][3588:3593] CHIP:IN: Prepared encrypted message 0xaaaae3686d10 to 0x0000000000000001 of type 0x1 and protocolId (0, 1) on exchange 55711i with MessageCounter:1. - [1635592621.459678][3588:3593] CHIP:IN: Sending encrypted msg 0xaaaae3686d10 with MessageCounter:1 to 0x0000000000000001 at monotonic time: 5315433 msec + CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0037 Attribute 0x0000_0003 DataVersion: 3872576452 + [1649663793.192934][8117:8122] CHIP:TOO: PacketTxCount: 3220 disabled: true - label: "DUT reads a attribute value from TH." + PICS: DGETH.S.A0004 verification: | ./chip-tool ethernetnetworkdiagnostics read tx-err-count 1 1 + Verify the value of TxErrCount is in range uint64 - CHIP:EM: Flushed pending ack for MessageCounter:1297482246 on exchange 60303i - [1635592718.495110][3600:3605] CHIP:EM: Received message of type 0x5 with protocolId (0, 1) and MessageCounter:1 on exchange 60304i - [1635592718.495172][3600:3605] CHIP:EM: Rxd Ack; Removing MessageCounter:0 from Retrans Table on exchange 60304i - [1635592718.495209][3600:3605] CHIP:EM: Removed CHIP MessageCounter:0 from RetransTable on exchange 60304i - [1635592718.495261][3600:3605] CHIP:DMG: ReportData = - [1635592718.495300][3600:3605] CHIP:DMG: { - [1635592718.495332][3600:3605] CHIP:DMG: AttributeDataList = - [1635592718.495374][3600:3605] CHIP:DMG: [ - [1635592718.495410][3600:3605] CHIP:DMG: AttributeDataElement = - [1635592718.495454][3600:3605] CHIP:DMG: { - [1635592718.495487][3600:3605] CHIP:DMG: AttributePath = - [1635592718.495537][3600:3605] CHIP:DMG: { - [1635592718.495584][3600:3605] CHIP:DMG: NodeId = 0x1, - [1635592718.495636][3600:3605] CHIP:DMG: EndpointId = 0x1, - [1635592718.495685][3600:3605] CHIP:DMG: ClusterId = 0x37, - [1635592718.495735][3600:3605] CHIP:DMG: FieldTag = 0x0000_0004, - [1635592718.495777][3600:3605] CHIP:DMG: } - [1635592718.495826][3600:3605] CHIP:DMG: - [1635592718.495880][3600:3605] CHIP:DMG: Data = 0, - [1635592718.495925][3600:3605] CHIP:DMG: DataElementVersion = 0x0, - [1635592718.495972][3600:3605] CHIP:DMG: }, - [1635592718.496016][3600:3605] CHIP:DMG: - [1635592718.496053][3600:3605] CHIP:DMG: ], - [1635592718.496095][3600:3605] CHIP:DMG: - [1635592718.496128][3600:3605] CHIP:DMG: } - [1635592718.496233][3600:3605] CHIP:ZCL: ReadAttributesResponse: - [1635592718.496266][3600:3605] CHIP:ZCL: ClusterId: 0x0000_0037 - [1635592718.496301][3600:3605] CHIP:ZCL: attributeId: 0x0000_0004 - [1635592718.496332][3600:3605] CHIP:ZCL: status: Success (0x0000) - [1635592718.496363][3600:3605] CHIP:ZCL: attribute TLV Type: 0x04 - [1635592718.496417][3600:3605] CHIP:TOO: Int64u attribute Response: 0 - [1635592718.496507][3600:3605] CHIP:EM: Piggybacking Ack for MessageCounter:1 on exchange: 60304i - [1635592718.496582][3600:3605] CHIP:IN: Prepared encrypted message 0xaaaaf0f6dd10 to 0x0000000000000001 of type 0x1 and protocolId (0, 1) on exchange 60304i with MessageCounter:1. + CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0037 Attribute 0x0000_0004 DataVersion: 3872576452 + [1649663843.295395][8123:8128] CHIP:TOO: TxErrCount: 0 disabled: true - label: "DUT reads a attribute value from TH." + PICS: DGETH.S.A0005 verification: | ./chip-tool ethernetnetworkdiagnostics read collision-count 1 1 + Verify the value of CollisionCount is in range uint64 - CHIP:EM: Flushed pending ack for MessageCounter:3583386127 on exchange 42705i - [1635593202.317904][3279:3284] CHIP:EM: Received message of type 0x5 with protocolId (0, 1) and MessageCounter:1 on exchange 42706i - [1635593202.317981][3279:3284] CHIP:EM: Rxd Ack; Removing MessageCounter:0 from Retrans Table on exchange 42706i - [1635593202.318016][3279:3284] CHIP:EM: Removed CHIP MessageCounter:0 from RetransTable on exchange 42706i - [1635593202.318066][3279:3284] CHIP:DMG: ReportData = - [1635593202.318101][3279:3284] CHIP:DMG: { - [1635593202.318130][3279:3284] CHIP:DMG: AttributeDataList = - [1635593202.318171][3279:3284] CHIP:DMG: [ - [1635593202.318204][3279:3284] CHIP:DMG: AttributeDataElement = - [1635593202.318244][3279:3284] CHIP:DMG: { - [1635593202.318278][3279:3284] CHIP:DMG: AttributePath = - [1635593202.318318][3279:3284] CHIP:DMG: { - [1635593202.318365][3279:3284] CHIP:DMG: NodeId = 0x1, - [1635593202.318411][3279:3284] CHIP:DMG: EndpointId = 0x1, - [1635593202.318455][3279:3284] CHIP:DMG: ClusterId = 0x37, - [1635593202.318501][3279:3284] CHIP:DMG: FieldTag = 0x0000_0005, - [1635593202.318539][3279:3284] CHIP:DMG: } - [1635593202.318588][3279:3284] CHIP:DMG: - [1635593202.318636][3279:3284] CHIP:DMG: Data = 0, - [1635593202.318676][3279:3284] CHIP:DMG: DataElementVersion = 0x0, - [1635593202.318720][3279:3284] CHIP:DMG: }, - [1635593202.318761][3279:3284] CHIP:DMG: - [1635593202.318793][3279:3284] CHIP:DMG: ], - [1635593202.318832][3279:3284] CHIP:DMG: - [1635593202.318862][3279:3284] CHIP:DMG: } - [1635593202.318959][3279:3284] CHIP:ZCL: ReadAttributesResponse: - [1635593202.318988][3279:3284] CHIP:ZCL: ClusterId: 0x0000_0037 - [1635593202.319020][3279:3284] CHIP:ZCL: attributeId: 0x0000_0005 - [1635593202.319048][3279:3284] CHIP:ZCL: status: Success (0x0000) - [1635593202.319075][3279:3284] CHIP:ZCL: attribute TLV Type: 0x04 - [1635593202.320974][3279:3284] CHIP:TOO: Int64u attribute Response: 0 - [1635593202.321118][3279:3284] CHIP:EM: Piggybacking Ack for MessageCounter:1 on exchange: 42706i - [1635593202.321234][3279:3284] CHIP:IN: Prepared encrypted message 0xaaaada965d10 to 0x0000000000000001 of type 0x1 and protocolId (0, 1) on exchange 42706i with MessageCounter:1. + CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0037 Attribute 0x0000_0005 DataVersion: 3872576452 + [1649663870.221742][8133:8138] CHIP:TOO: CollisionCount: 0 disabled: true - label: "DUT reads a attribute value from TH." + PICS: DGETH.S.A0006 verification: | Verify that the attribute data value is present. If the value is 0, no packet loss was recorded or it was just reset from a node reboot. ./chip-tool ethernetnetworkdiagnostics read overrun-count 1 1 - CHIP:EM: Flushed pending ack for MessageCounter:3583386129 on exchange 49490i - [1635593280.833752][3287:3292] CHIP:EM: Received message of type 0x5 with protocolId (0, 1) and MessageCounter:1 on exchange 49491i - [1635593280.833815][3287:3292] CHIP:EM: Rxd Ack; Removing MessageCounter:0 from Retrans Table on exchange 49491i - [1635593280.833852][3287:3292] CHIP:EM: Removed CHIP MessageCounter:0 from RetransTable on exchange 49491i - [1635593280.833904][3287:3292] CHIP:DMG: ReportData = - [1635593280.833942][3287:3292] CHIP:DMG: { - [1635593280.833973][3287:3292] CHIP:DMG: AttributeDataList = - [1635593280.834011][3287:3292] CHIP:DMG: [ - [1635593280.834046][3287:3292] CHIP:DMG: AttributeDataElement = - [1635593280.834091][3287:3292] CHIP:DMG: { - [1635593280.834129][3287:3292] CHIP:DMG: AttributePath = - [1635593280.834170][3287:3292] CHIP:DMG: { - [1635593280.834207][3287:3292] CHIP:DMG: NodeId = 0x1, - [1635593280.834256][3287:3292] CHIP:DMG: EndpointId = 0x1, - [1635593280.834302][3287:3292] CHIP:DMG: ClusterId = 0x37, - [1635593280.834347][3287:3292] CHIP:DMG: FieldTag = 0x0000_0006, - [1635593280.834384][3287:3292] CHIP:DMG: } - [1635593280.834432][3287:3292] CHIP:DMG: - [1635593280.834484][3287:3292] CHIP:DMG: Data = 0, - [1635593280.834527][3287:3292] CHIP:DMG: DataElementVersion = 0x0, - [1635593280.834569][3287:3292] CHIP:DMG: }, - [1635593280.834613][3287:3292] CHIP:DMG: - [1635593280.834648][3287:3292] CHIP:DMG: ], - [1635593280.834692][3287:3292] CHIP:DMG: - [1635593280.834722][3287:3292] CHIP:DMG: } - [1635593280.834827][3287:3292] CHIP:ZCL: ReadAttributesResponse: - [1635593280.834863][3287:3292] CHIP:ZCL: ClusterId: 0x0000_0037 - [1635593280.834898][3287:3292] CHIP:ZCL: attributeId: 0x0000_0006 - [1635593280.834930][3287:3292] CHIP:ZCL: status: Success (0x0000) - [1635593280.834969][3287:3292] CHIP:ZCL: attribute TLV Type: 0x04 - [1635593280.835029][3287:3292] CHIP:TOO: Int64u attribute Response: 0 - [1635593280.835139][3287:3292] CHIP:EM: Piggybacking Ack for MessageCounter:1 on exchange: 49491i - [1635593280.835248][3287:3292] CHIP:IN: Prepared encrypted message 0xaaaac79ccd10 to 0x0000000000000001 of type 0x1 and protocolId (0, 1) on exchange 49491i with MessageCounter:1. + CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0037 Attribute 0x0000_0006 DataVersion: 3872576452 + [1649663948.738274][8142:8147] CHIP:TOO: OverrunCount: 0 disabled: true - label: "DUT reads a attribute value from TH." + PICS: DGETH.S.A0007 verification: | ./chip-tool ethernetnetworkdiagnostics read carrier-detect 1 1 + Verify the value of CarrierDetect is either bool or null - [1641968810.313075][47247:47252] CHIP:IN: Sending unauthenticated msg 0x7f053d769000 with MessageCounter:46971505 to 0x0000000000000000 at monotonic time: 41483870 msec - [1641968810.313138][47247:47252] CHIP:EM: Flushed pending ack for MessageCounter:232282395 on exchange 21496i - [1641968810.361363][47247:47252] CHIP:EM: Received message of type 0x5 with protocolId (0, 1) and MessageCounter:8068841 on exchange 21497i - [1641968810.361419][47247:47252] CHIP:EM: Found matching exchange: 21497i, Delegate: 0x7f0528001980 - [1641968810.361451][47247:47252] CHIP:EM: Rxd Ack; Removing MessageCounter:10983035 from Retrans Table on exchange 21497i - [1641968810.361469][47247:47252] CHIP:EM: Removed CHIP MessageCounter:10983035 from RetransTable on exchange 21497i - [1641968810.361524][47247:47252] CHIP:DMG: ReportDataMessage = - [1641968810.361543][47247:47252] CHIP:DMG: { - [1641968810.361556][47247:47252] CHIP:DMG: AttributeReportIBs = - [1641968810.361579][47247:47252] CHIP:DMG: [ - [1641968810.361593][47247:47252] CHIP:DMG: AttributeReportIB = - [1641968810.361617][47247:47252] CHIP:DMG: { - [1641968810.361634][47247:47252] CHIP:DMG: AttributeDataIB = - [1641968810.361652][47247:47252] CHIP:DMG: { - [1641968810.361673][47247:47252] CHIP:DMG: DataVersion = 0x0, - [1641968810.361697][47247:47252] CHIP:DMG: AttributePathIB = - [1641968810.361716][47247:47252] CHIP:DMG: { - [1641968810.361738][47247:47252] CHIP:DMG: Endpoint = 0x0, - [1641968810.361762][47247:47252] CHIP:DMG: Cluster = 0x37, - [1641968810.361786][47247:47252] CHIP:DMG: Attribute = 0x0000_0007, - [1641968810.361810][47247:47252] CHIP:DMG: } - [1641968810.361833][47247:47252] CHIP:DMG: - [1641968810.361855][47247:47252] CHIP:DMG: Data = false, - [1641968810.361878][47247:47252] CHIP:DMG: }, - [1641968810.361904][47247:47252] CHIP:DMG: - [1641968810.361924][47247:47252] CHIP:DMG: }, - [1641968810.361949][47247:47252] CHIP:DMG: - [1641968810.361965][47247:47252] CHIP:DMG: ], - [1641968810.361993][47247:47252] CHIP:DMG: - [1641968810.362011][47247:47252] CHIP:DMG: SuppressResponse = true, - [1641968810.362028][47247:47252] CHIP:DMG: } - [1641968810.362160][47247:47252] CHIP:TOO: EthernetNetworkDiagnostics.CarrierDetect response: FALSE - [1641968810.362226][47247:47252] CHIP:EM: Sending Standalone Ack for MessageCounter:8068841 on exchange 21497i - [1641968810.362279][47247:47252] CHIP:IN: Prepared secure message 0x7f053d768fe0 to 0x0000000000000002 (1) of type 0x10 and protocolId (0, 0) on exchange 21497i with MessageCounter:10983036. + CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0037 Attribute 0x0000_0007 DataVersion: 3872576452 + [1649663972.829304][8149:8154] CHIP:TOO: CarrierDetect: null disabled: true - label: "DUT reads a attribute value from TH." + PICS: DGETH.S.A0008 verification: | ./chip-tool ethernetnetworkdiagnostics read time-since-reset 1 1 + Verify the value of TimeSinceReset is in range uint64 - [1641969031.785485][47346:47351] CHIP:IN: Sending unauthenticated msg 0x7fc42cd75000 with MessageCounter:2397945726 to 0x0000000000000000 at monotonic time: 41705343 msec - [1641969031.785554][47346:47351] CHIP:EM: Flushed pending ack for MessageCounter:232282397 on exchange 7607i - [1641969031.832054][47346:47351] CHIP:EM: Received message of type 0x5 with protocolId (0, 1) and MessageCounter:14807496 on exchange 7608i - [1641969031.832142][47346:47351] CHIP:EM: Found matching exchange: 7608i, Delegate: 0x7fc418001980 - [1641969031.832193][47346:47351] CHIP:EM: Rxd Ack; Removing MessageCounter:3781212 from Retrans Table on exchange 7608i - [1641969031.832214][47346:47351] CHIP:EM: Removed CHIP MessageCounter:3781212 from RetransTable on exchange 7608i - [1641969031.832275][47346:47351] CHIP:DMG: ReportDataMessage = - [1641969031.832299][47346:47351] CHIP:DMG: { - [1641969031.832318][47346:47351] CHIP:DMG: AttributeReportIBs = - [1641969031.832352][47346:47351] CHIP:DMG: [ - [1641969031.832370][47346:47351] CHIP:DMG: AttributeReportIB = - [1641969031.832400][47346:47351] CHIP:DMG: { - [1641969031.832419][47346:47351] CHIP:DMG: AttributeDataIB = - [1641969031.832448][47346:47351] CHIP:DMG: { - [1641969031.832470][47346:47351] CHIP:DMG: DataVersion = 0x0, - [1641969031.832489][47346:47351] CHIP:DMG: AttributePathIB = - [1641969031.832515][47346:47351] CHIP:DMG: { - [1641969031.832539][47346:47351] CHIP:DMG: Endpoint = 0x0, - [1641969031.832571][47346:47351] CHIP:DMG: Cluster = 0x37, - [1641969031.832602][47346:47351] CHIP:DMG: Attribute = 0x0000_0008, - [1641969031.832622][47346:47351] CHIP:DMG: } - [1641969031.832646][47346:47351] CHIP:DMG: - [1641969031.832667][47346:47351] CHIP:DMG: Data = 5425, - [1641969031.832686][47346:47351] CHIP:DMG: }, - [1641969031.832715][47346:47351] CHIP:DMG: - [1641969031.832733][47346:47351] CHIP:DMG: }, - [1641969031.832757][47346:47351] CHIP:DMG: - [1641969031.832773][47346:47351] CHIP:DMG: ], - [1641969031.832798][47346:47351] CHIP:DMG: - [1641969031.832816][47346:47351] CHIP:DMG: SuppressResponse = true, - [1641969031.832836][47346:47351] CHIP:DMG: } - [1641969031.832996][47346:47351] CHIP:TOO: EthernetNetworkDiagnostics.TimeSinceReset response: 5425 - [1641969031.833057][47346:47351] CHIP:EM: Sending Standalone Ack for MessageCounter:14807496 on exchange 7608i - [1641969031.833110][47346:47351] CHIP:IN: Prepared secure message 0x7fc42cd74fe0 to 0x0000000000000002 (1) of type 0x10 and protocolId (0, 0) on exchange 7608i with MessageCounter:3781213. + CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0037 Attribute 0x0000_0008 DataVersion: 3872576452 + [1649664046.010810][8158:8163] CHIP:TOO: TimeSinceReset: 5219 disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_DGETH_3_2.yaml b/src/app/tests/suites/certification/Test_TC_DGETH_3_2.yaml index da71687fe184df..a8c077f847165e 100644 --- a/src/app/tests/suites/certification/Test_TC_DGETH_3_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_DGETH_3_2.yaml @@ -21,12 +21,13 @@ config: endpoint: 0 tests: - - label: "Commission DUT to TH" + - label: "Commission TH to DUT" verification: | disabled: true - - label: "TH sends ResetCounts to DUT" + - label: "DUT sends ResetCounts to TH" + PICS: DGETH.S.C00 verification: | Verify Command data recieved from running the below command is a success diff --git a/src/app/tests/suites/certification/Test_TC_DGWIFI_2_1.yaml b/src/app/tests/suites/certification/Test_TC_DGWIFI_2_1.yaml index 99009cd96db468..83a25223f7525d 100644 --- a/src/app/tests/suites/certification/Test_TC_DGWIFI_2_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_DGWIFI_2_1.yaml @@ -29,6 +29,7 @@ tests: value: nodeId - label: "Reads NetworkInterface structure attribute from DUT" + PICS: DGWIFI.S.A0000 cluster: "General Diagnostics" command: "readAttribute" attribute: "NetworkInterfaces" @@ -38,6 +39,7 @@ tests: #issue #13645 - label: "Reads SecurityType attribute constraints" + PICS: DGWIFI.S.A0001 command: "readAttribute" attribute: "SecurityType" response: @@ -45,6 +47,7 @@ tests: type: enum - label: "Reads WiFiVersion attribute constraints" + PICS: DGWIFI.S.A0002 command: "readAttribute" attribute: "WiFiVersion" response: @@ -54,6 +57,7 @@ tests: maxValue: 5 - label: "Reads ChannelNumber attribute constraints" + PICS: DGWIFI.S.A0003 command: "readAttribute" attribute: "ChannelNumber" response: @@ -61,6 +65,7 @@ tests: type: uint16 - label: "Reads RSSI attribute constraints" + PICS: DGWIFI.S.A0004 command: "readAttribute" attribute: "RSSI" response: @@ -70,7 +75,7 @@ tests: maxValue: 0 - label: "Reads BeaconLostCount attribute constraints" - PICS: PICS_SKIP_SAMPLE_APP + PICS: PICS_SKIP_SAMPLE_APP && DGWIFI.S.A0005 command: "readAttribute" attribute: "BeaconLostCount" response: @@ -78,6 +83,7 @@ tests: type: uint32 - label: "Reads BeaconRxCount attribute constraints" + PICS: DGWIFI.S.A0006 command: "readAttribute" attribute: "BeaconRxCount" response: @@ -85,7 +91,7 @@ tests: type: uint32 - label: "Reads PacketMulticastRxCount attribute constraints" - PICS: PICS_SKIP_SAMPLE_APP + PICS: PICS_SKIP_SAMPLE_APP && DGWIFI.S.A0007 command: "readAttribute" attribute: "PacketMulticastRxCount" response: @@ -93,7 +99,7 @@ tests: type: uint32 - label: "Reads PacketMulticastTxCount attribute constraints" - PICS: PICS_SKIP_SAMPLE_APP + PICS: PICS_SKIP_SAMPLE_APP && DGWIFI.S.A0008 command: "readAttribute" attribute: "PacketMulticastTxCount" response: @@ -101,7 +107,7 @@ tests: type: uint32 - label: "Reads PacketUnicastRxCount attribute constraints" - PICS: PICS_SKIP_SAMPLE_APP + PICS: PICS_SKIP_SAMPLE_APP && DGWIFI.S.A0009 command: "readAttribute" attribute: "PacketUnicastRxCount" response: @@ -109,7 +115,7 @@ tests: type: uint32 - label: "Reads PacketUnicastTxCount attribute constraints" - PICS: PICS_SKIP_SAMPLE_APP + PICS: PICS_SKIP_SAMPLE_APP && DGWIFI.S.A000a command: "readAttribute" attribute: "PacketUnicastTxCount" response: @@ -117,7 +123,7 @@ tests: type: uint32 - label: "Reads CurrentMaxRate attribute constraints" - PICS: PICS_SKIP_SAMPLE_APP + PICS: PICS_SKIP_SAMPLE_APP && DGWIFI.S.A000b command: "readAttribute" attribute: "CurrentMaxRate" response: @@ -125,7 +131,7 @@ tests: type: uint64 - label: "Reads OverrunCount attribute constraints" - PICS: PICS_SKIP_SAMPLE_APP + PICS: PICS_SKIP_SAMPLE_APP && DGWIFI.S.A000c command: "readAttribute" attribute: "OverrunCount" response: diff --git a/src/app/tests/suites/certification/Test_TC_DGWIFI_2_2.yaml b/src/app/tests/suites/certification/Test_TC_DGWIFI_2_2.yaml index 5b22bf5d467348..f22f60eb657aca 100644 --- a/src/app/tests/suites/certification/Test_TC_DGWIFI_2_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_DGWIFI_2_2.yaml @@ -27,16 +27,19 @@ tests: disabled: true - label: "TH sends chip-tool command to DUT" + PICS: DGWIFI.S.E00 verification: | chip-tool wifinetworkdiagnostics read-event disconnection 1 0 disabled: true - label: "TH sends chip-tool command to DUT" + PICS: DGWIFI.S.E01 verification: | chip-tool wifinetworkdiagnostics read-event association-failure 1 0 disabled: true - label: "TH sends chip-tool command to DUT" + PICS: DGWIFI.S.E02 verification: | chip-tool wifinetworkdiagnostics read-event connection-status 1 0 disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_DGWIFI_2_3.yaml b/src/app/tests/suites/certification/Test_TC_DGWIFI_2_3.yaml index 6cf1873005ab72..bed1769ad4774d 100644 --- a/src/app/tests/suites/certification/Test_TC_DGWIFI_2_3.yaml +++ b/src/app/tests/suites/certification/Test_TC_DGWIFI_2_3.yaml @@ -32,46 +32,46 @@ tests: # Also, ResetCounts may not work on some platforms yet? # And on Linux since we don't have actual Wi-Fi these error out. - label: "TH sends ResetCounts command to DUT" - PICS: PICS_SKIP_SAMPLE_APP + PICS: PICS_SKIP_SAMPLE_APP && DGWIFI.S.C00 command: "ResetCounts" - label: "Reads BeaconLostCount attribute from DUT" - PICS: PICS_SKIP_SAMPLE_APP + PICS: PICS_SKIP_SAMPLE_APP && DGWIFI.S.C00 command: "readAttribute" attribute: "BeaconLostCount" response: value: 0 - label: "Reads BeaconRxCount attribute from DUT" - PICS: PICS_SKIP_SAMPLE_APP + PICS: PICS_SKIP_SAMPLE_APP && DGWIFI.S.C00 command: "readAttribute" attribute: "BeaconRxCount" response: value: 0 - label: "Reads PacketMulticastRxCount attribute from DUT" - PICS: PICS_SKIP_SAMPLE_APP + PICS: PICS_SKIP_SAMPLE_APP && DGWIFI.S.C00 command: "readAttribute" attribute: "PacketMulticastRxCount" response: value: 0 - label: "Reads PacketMulticastTxCount attribute from DUT" - PICS: PICS_SKIP_SAMPLE_APP + PICS: PICS_SKIP_SAMPLE_APP && DGWIFI.S.C00 command: "readAttribute" attribute: "PacketMulticastTxCount" response: value: 0 - label: "Reads PacketUnicastRxCount attribute from DUT" - PICS: PICS_SKIP_SAMPLE_APP + PICS: PICS_SKIP_SAMPLE_APP && DGWIFI.S.C00 command: "readAttribute" attribute: "PacketUnicastRxCount" response: value: 0 - label: "Reads PacketUnicastTxCount attribute from DUT" - PICS: PICS_SKIP_SAMPLE_APP + PICS: PICS_SKIP_SAMPLE_APP && DGWIFI.S.C00 command: "readAttribute" attribute: "PacketUnicastTxCount" response: diff --git a/src/app/tests/suites/certification/Test_TC_DGWIFI_3_1.yaml b/src/app/tests/suites/certification/Test_TC_DGWIFI_3_1.yaml index 046ad728cc69e4..ad16b7e4222243 100644 --- a/src/app/tests/suites/certification/Test_TC_DGWIFI_3_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_DGWIFI_3_1.yaml @@ -26,25 +26,28 @@ tests: disabled: true - - label: "DUT reads a attribute value from TH." + - label: "DUT reads NetworkInterface structure attribute from TH." + PICS: DGWIFI.S.A0000 verification: | Verify that the attribute value is non-zero and the value data type matches ./chip-tool wifinetworkdiagnostics read bssid 1 0 [1650451782.025188][9063:9068] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0036 Attribute 0x0000_0000 DataVersion: 1028539580 - [1650451782.025262][9063:9068] CHIP:TOO: bssid: 210200000000 + [1650451782.025262][9063:9068] CHIP:TOO: bssid: 21020000FFFF disabled: true - - label: "DUT reads a attribute value from TH." + - label: "DUT reads a SecurityType attribute value from TH." + PICS: DGWIFI.S.A0001 verification: | Verify that the attribute value is non-zero and the value data type matches ./chip-tool wifinetworkdiagnostics read security-type 1 0 [1650451927.587236][9086:9091] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0036 Attribute 0x0000_0001 DataVersion: 1028539580 - [1650451927.587329][9086:9091] CHIP:TOO: SecurityType: 0 + [1650451927.587329][9086:9091] CHIP:TOO: SecurityType: 4 disabled: true - - label: "DUT reads a attribute value from TH." + - label: "DUT reads a WiFiVersion attribute value from TH." + PICS: DGWIFI.S.A0002 verification: | ./chip-tool wifinetworkdiagnostics read wi-fi-version 1 0 @@ -52,24 +55,27 @@ tests: [1650451948.677299][9092:9097] CHIP:TOO: WiFiVersion: 3 disabled: true - - label: "DUT reads a attribute value from TH." + - label: "DUT reads a ChannelNumber attribute value from TH." + PICS: DGWIFI.S.A0003 verification: | ./chip-tool wifinetworkdiagnostics read channel-number 1 0 [1650451989.021486][9112:9117] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0036 Attribute 0x0000_0003 DataVersion: 1028539580 - [1650451989.021547][9112:9117] CHIP:TOO: ChannelNumber: null + [1650451989.021547][9112:9117] CHIP:TOO: ChannelNumber: 1 disabled: true - - label: "DUT reads a attribute value from TH." + - label: "DUT reads a RSSI attribute value from TH." + PICS: DGWIFI.S.A0004 verification: | Verify that the attribute data value is present. If the value is 0, no packet loss was recorded or it was just reset from a node reboot. ./chip-tool wifinetworkdiagnostics read rssi 1 0 [1650452156.130334][9132:9137] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0036 Attribute 0x0000_0004 DataVersion: 1028539580 - [1650452156.130405][9132:9137] CHIP:TOO: Rssi: null + [1650452156.130405][9132:9137] CHIP:TOO: Rssi: -11 disabled: true - - label: "DUT reads a attribute value from TH." + - label: "DUT reads a BeaconLostCount attribute value from TH." + PICS: DGWIFI.S.A0005 verification: | Verify that the attribute data value is present. If the value is 0, no packet loss was recorded or it was just reset from a node reboot. @@ -79,7 +85,8 @@ tests: [1650450239.341280][5252:5257] CHIP:TOO: BeaconLostCount: 0 disabled: true - - label: "DUT reads a attribute value from TH." + - label: "DUT reads a BeaconRxCount attribute value from TH." + PICS: DGWIFI.S.A0006 verification: | Verify that the attribute data value is present. If the value is 0, no packet loss was recorded or it was just reset from a node reboot. @@ -88,7 +95,8 @@ tests: [1650454625.960813][9290:9295] CHIP:TOO: BeaconRxCount: 0 disabled: true - - label: "DUT reads a attribute value from TH." + - label: "DUT reads a PacketMultiRxCount attribute value from TH." + PICS: DGWIFI.S.A0007 verification: | Verify that the attribute data value is present. If the value is 0, no packet loss was recorded or it was just reset from a node reboot. @@ -97,7 +105,8 @@ tests: [1650454695.550515][9303:9308] CHIP:TOO: PacketMulticastRxCount: 401028 disabled: true - - label: "DUT reads a attribute value from TH." + - label: "DUT reads a PacketMultiTxCount attribute value from TH." + PICS: DGWIFI.S.A0008 verification: | Verify that the attribute data value is present. If the value is 0, no packet loss was recorded or it was just reset from a node reboot. @@ -107,26 +116,29 @@ tests: [1650454724.371740][9311:9316] CHIP:TOO: PacketMulticastTxCount: 0 disabled: true - - label: "DUT reads a attribute value from TH." + - label: "DUT reads a PacketUniRxCount attribute value from TH." + PICS: DGWIFI.S.A0009 verification: | Verify that the attribute data value is present. If the value is 0, no packet loss was recorded or it was just reset from a node reboot. ./chip-tool wifinetworkdiagnostics read packet-unicast-rx-count 1 0 [1650454751.954086][9317:9322] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0036 Attribute 0x0000_0009 DataVersion: 1028539580 - [1650454751.954174][9317:9322] CHIP:TOO: PacketUnicastRxCount: 653833 + [1650454751.954174][9317:9322] CHIP:TOO: PacketUnicastRxCount: 4855 disabled: true - - label: "DUT reads a attribute value from TH." + - label: "DUT reads a PacketUniTxCount attribute value from TH." + PICS: DGWIFI.S.A000a verification: | Verify that the attribute data value is present. If the value is 0, no packet loss was recorded or it was just reset from a node reboot. ./chip-tool wifinetworkdiagnostics read packet-unicast-tx-count 1 0 [1650454782.789340][9323:9328] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0036 Attribute 0x0000_000A DataVersion: 1028539580 - [1650454782.789426][9323:9328] CHIP:TOO: PacketUnicastTxCount: 1123 + [1650454782.789426][9323:9328] CHIP:TOO: PacketUnicastTxCount: 0 disabled: true - - label: "DUT reads a attribute value from TH." + - label: "DUT reads CurrentMaxRate attribute value from TH." + PICS: DGWIFI.S.A000b verification: | Verify that the attribute data value is present. If the value is 0, no packet loss was recorded or it was just reset from a node reboot. @@ -136,7 +148,8 @@ tests: [1650451685.093078][5470:5475] CHIP:TOO: CurrentMaxRate: 24000000 disabled: true - - label: "DUT reads a attribute value from TH." + - label: "DUT reads a OverrunCount attribute value from TH." + PICS: DGWIFI.S.A000c verification: | Verify that the attribute data value is present. If the value is 0, no packet loss was recorded or it was just reset from a node reboot. diff --git a/src/app/tests/suites/certification/Test_TC_DGWIFI_3_2.yaml b/src/app/tests/suites/certification/Test_TC_DGWIFI_3_2.yaml index a9a2fe4d52544d..0cb869a747146b 100644 --- a/src/app/tests/suites/certification/Test_TC_DGWIFI_3_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_DGWIFI_3_2.yaml @@ -27,10 +27,11 @@ tests: disabled: true - label: "DUT sends ResetCounts command to TH" + PICS: DGWIFI.S.C00 verification: | Verify Command data recieved from running the below command is a success - ./chip-tool wifinetworkdiagnostics reset-counts 1 1 + ./chip-tool wifinetworkdiagnostics reset-counts 1 0 CHIP:DMG: InvokeResponseMessage = [1649664146.639743][8173:8178] CHIP:DMG: { [1649664146.639789][8173:8178] CHIP:DMG: suppressResponse = false, diff --git a/src/app/tests/suites/certification/Test_TC_IDM_1_1.yaml b/src/app/tests/suites/certification/Test_TC_IDM_1_1.yaml index bfa9cda1e2eef4..bf6ee3ecd0ce4c 100644 --- a/src/app/tests/suites/certification/Test_TC_IDM_1_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_IDM_1_1.yaml @@ -13,8 +13,7 @@ # limitations under the License. # Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default -name: - 20.1.1. [TC-IDM-1.1] Invoke Request Action from DUT to TH [DUT - Controller] +name: 21.1.1. [TC-IDM-1.1] Invoke Request Action from DUT to TH - [{DUT_Client}] config: nodeId: 0x12344321 @@ -29,38 +28,37 @@ tests: verification: | In case of chip tool, here is an example command to use - sudo ./chip-tool identify identify 0 1 1 + ./chip-tool onoff on 1 1 Verify we are getting EndpointID, CommandID, ClusterID in the response data (as below) matching with the data sent in the above command - [1648721385.183101][2528:2528] CHIP:EM: Handling via exchange: 37235r, Delegate: 0xaaaaca773368 - [1648721385.183190][2528:2528] CHIP:DMG: InvokeRequestMessage = - [1648721385.183229][2528:2528] CHIP:DMG: { - [1648721385.183263][2528:2528] CHIP:DMG: suppressResponse = false, - [1648721385.183301][2528:2528] CHIP:DMG: timedRequest = false, - [1648721385.183342][2528:2528] CHIP:DMG: InvokeRequests = - [1648721385.183386][2528:2528] CHIP:DMG: [ - [1648721385.183423][2528:2528] CHIP:DMG: CommandDataIB = - [1648721385.183467][2528:2528] CHIP:DMG: { - [1648721385.183505][2528:2528] CHIP:DMG: CommandPathIB = - [1648721385.183553][2528:2528] CHIP:DMG: { - [1648721385.183605][2528:2528] CHIP:DMG: EndpointId = 0x1, - [1648721385.183661][2528:2528] CHIP:DMG: ClusterId = 0x3, - [1648721385.183716][2528:2528] CHIP:DMG: CommandId = 0x0, - [1648721385.183769][2528:2528] CHIP:DMG: }, - [1648721385.183818][2528:2528] CHIP:DMG: - [1648721385.183861][2528:2528] CHIP:DMG: CommandData = - [1648721385.183911][2528:2528] CHIP:DMG: { - [1648721385.183959][2528:2528] CHIP:DMG: 0x0 = 0, - [1648721385.184012][2528:2528] CHIP:DMG: }, - [1648721385.184060][2528:2528] CHIP:DMG: }, - [1648721385.184108][2528:2528] CHIP:DMG: - [1648721385.184142][2528:2528] CHIP:DMG: ], - [1648721385.184186][2528:2528] CHIP:DMG: - [1648721385.184221][2528:2528] CHIP:DMG: InteractionModelRevision = 1 - [1648721385.184256][2528:2528] CHIP:DMG: }, - [1648721385.184347][2528:2528] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0003 e=1 p=o - [1648721385.184403][2528:2528] CHIP:DMG: AccessControl: allowed + On TH + [1655717373.046081][10909:10909] CHIP:DMG: InvokeRequestMessage = + [1655717373.046137][10909:10909] CHIP:DMG: { + [1655717373.046185][10909:10909] CHIP:DMG: suppressResponse = false, + [1655717373.046240][10909:10909] CHIP:DMG: timedRequest = false, + [1655717373.046291][10909:10909] CHIP:DMG: InvokeRequests = + [1655717373.046356][10909:10909] CHIP:DMG: [ + [1655717373.046407][10909:10909] CHIP:DMG: CommandDataIB = + [1655717373.046464][10909:10909] CHIP:DMG: { + [1655717373.046518][10909:10909] CHIP:DMG: CommandPathIB = + [1655717373.046583][10909:10909] CHIP:DMG: { + [1655717373.046649][10909:10909] CHIP:DMG: EndpointId = 0x1, + [1655717373.046720][10909:10909] CHIP:DMG: ClusterId = 0x6, + [1655717373.046782][10909:10909] CHIP:DMG: CommandId = 0x1, + [1655717373.046885][10909:10909] CHIP:DMG: }, + [1655717373.046961][10909:10909] CHIP:DMG: + [1655717373.047017][10909:10909] CHIP:DMG: CommandFields = + [1655717373.047080][10909:10909] CHIP:DMG: { + [1655717373.047143][10909:10909] CHIP:DMG: }, + [1655717373.047211][10909:10909] CHIP:DMG: }, + [1655717373.047272][10909:10909] CHIP:DMG: + [1655717373.047322][10909:10909] CHIP:DMG: ], + [1655717373.047383][10909:10909] CHIP:DMG: + [1655717373.047433][10909:10909] CHIP:DMG: InteractionModelRevision = 1 + [1655717373.047482][10909:10909] CHIP:DMG: }, + [1655717373.047599][10909:10909] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0006 e=1 p=o + [1655717373.047665][10909:10909] CHIP:DMG: AccessControl: allowed disabled: true - label: @@ -87,61 +85,41 @@ tests: Messages to the TH." verification: | In case of chip tool, here is an example command to use - sudo ./chip-tool identify identify 10 1 1 + ./chip-tool onoff off 1 1 Verify we are getting EndpointID, CommandID, ClusterID in the response data (as below) matching with the data sent in the above command + [1655717456.105815][10909:10909] CHIP:DMG: InvokeRequestMessage = + [1655717456.105853][10909:10909] CHIP:DMG: { + [1655717456.105887][10909:10909] CHIP:DMG: suppressResponse = false, + [1655717456.105933][10909:10909] CHIP:DMG: timedRequest = false, + [1655717456.105970][10909:10909] CHIP:DMG: InvokeRequests = + [1655717456.106015][10909:10909] CHIP:DMG: [ + [1655717456.106051][10909:10909] CHIP:DMG: CommandDataIB = + [1655717456.106091][10909:10909] CHIP:DMG: { + [1655717456.106129][10909:10909] CHIP:DMG: CommandPathIB = + [1655717456.106173][10909:10909] CHIP:DMG: { + [1655717456.106220][10909:10909] CHIP:DMG: EndpointId = 0x1, + [1655717456.106274][10909:10909] CHIP:DMG: ClusterId = 0x6, + [1655717456.106327][10909:10909] CHIP:DMG: CommandId = 0x0, + [1655717456.106373][10909:10909] CHIP:DMG: }, + [1655717456.106420][10909:10909] CHIP:DMG: + [1655717456.106462][10909:10909] CHIP:DMG: CommandFields = + [1655717456.106507][10909:10909] CHIP:DMG: { + [1655717456.106551][10909:10909] CHIP:DMG: }, + [1655717456.106594][10909:10909] CHIP:DMG: }, + [1655717456.106636][10909:10909] CHIP:DMG: + [1655717456.106671][10909:10909] CHIP:DMG: ], + [1655717456.106714][10909:10909] CHIP:DMG: + [1655717456.106749][10909:10909] CHIP:DMG: InteractionModelRevision = 1 + [1655717456.106783][10909:10909] CHIP:DMG: }, + [1655717456.106904][10909:10909] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0006 e=1 p=o + [1655717456.106954][10909:10909] CHIP:DMG: AccessControl: allowed + + + ./chip-tool onoff off 1 1 + Verify we are getting EndpointID, CommandID, ClusterID in the response data (as below) matching with the data sent in the above command - [1648721578.295986][2528:2528] CHIP:DMG: InvokeRequestMessage = - [1648721578.296016][2528:2528] CHIP:DMG: { - [1648721578.296039][2528:2528] CHIP:DMG: suppressResponse = false, - [1648721578.296066][2528:2528] CHIP:DMG: timedRequest = false, - [1648721578.296091][2528:2528] CHIP:DMG: InvokeRequests = - [1648721578.296120][2528:2528] CHIP:DMG: [ - [1648721578.296145][2528:2528] CHIP:DMG: CommandDataIB = - [1648721578.296180][2528:2528] CHIP:DMG: { - [1648721578.296208][2528:2528] CHIP:DMG: CommandPathIB = - [1648721578.296238][2528:2528] CHIP:DMG: { - [1648721578.296268][2528:2528] CHIP:DMG: EndpointId = 0x1, - [1648721578.296299][2528:2528] CHIP:DMG: ClusterId = 0x3, - [1648721578.296328][2528:2528] CHIP:DMG: CommandId = 0x0, - [1648721578.296357][2528:2528] CHIP:DMG: }, - [1648721578.296386][2528:2528] CHIP:DMG: - [1648721578.296412][2528:2528] CHIP:DMG: CommandData = - [1648721578.296440][2528:2528] CHIP:DMG: { - [1648721578.296470][2528:2528] CHIP:DMG: 0x0 = 10, - [1648721578.296499][2528:2528] CHIP:DMG: }, - [1648721578.296525][2528:2528] CHIP:DMG: }, - [1648721578.296554][2528:2528] CHIP:DMG: - [1648721578.296577][2528:2528] CHIP:DMG: ], - [1648721578.296607][2528:2528] CHIP:DMG: - [1648721578.296630][2528:2528] CHIP:DMG: InteractionModelRevision = 1 - [1648721578.296653][2528:2528] CHIP:DMG: }, - [1648721578.296718][2528:2528] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0003 e=1 p=o - [1648721578.296758][2528:2528] CHIP:DMG: AccessControl: allowed - [1648721578.296786][2528:2528] CHIP:DMG: Received command for Endpoint=1 Cluster=0x0000_0003 Command=0x0000_0000 - [1648721578.296828][2528:2528] CHIP:DMG: Endpoint 1, Cluster 0x0000_0003 update version to f25efe02 - [1648721578.296868][2528:2528] CHIP:ZCL: OnIdentifyStart - [1648721578.296917][2528:2528] CHIP:DMG: ICR moving to [AddingComm] - [1648721578.296950][2528:2528] CHIP:DMG: ICR moving to [AddedComma] - - sudo ./chip-tool identify identify 10 1 1 - sudo ./chip-tool identify identify 10 1 1 - disabled: true - - - label: - "DUT sends the Invoke Request Message to the TH. + The Message should - contain one valid CommandDataIB, which has the specific Endpoint, - Specific Cluster and Specific Command." - verification: | - - disabled: true - - - label: - "DUT sends the Invoke Request Message to the TH. + The Message should - contain one valid CommandDataIB, which has the specific Endpoint, - Specific Cluster and Specific Command. + Send 2 more Invoke Request - Messages to the TH." - verification: | - can be tested by using the command scan networks + ./chip-tool onoff off 1 1 + Verify we are getting EndpointID, CommandID, ClusterID in the response data (as below) matching with the data sent in the above command disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_IDM_1_2.yaml b/src/app/tests/suites/certification/Test_TC_IDM_1_2.yaml index be43d49de95ea8..3f3f1c9076187b 100644 --- a/src/app/tests/suites/certification/Test_TC_IDM_1_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_IDM_1_2.yaml @@ -29,11 +29,11 @@ tests: ./chip-tool onoff on 1 20 - verify TH is responsds with unsuppported endpoint with the data sent in the below command + verify DUT is responsds with unsuppported endpoint for the data sent in the above command - [1654076784.679791][13733:13738] CHIP:DMG: Received Command Response Status for Endpoint=20 Cluster=0x0000_0006 Command=0x0000_0001 Status=0x7f - [1654076784.679818][13733:13738] CHIP:TOO: Error: IM Error 0x0000057F: General error: 0x7f (UNSUPPORTED_ENDPOINT) - [1654076784.679871][13733:13738] CHIP:DMG: ICR moving to [AwaitingDe] + [1655718065.882392][4587:4592] CHIP:DMG: Received Command Response Status for Endpoint=20 Cluster=0x0000_0006 Command=0x0000_0001 Status=0x7f + [1655718065.882440][4587:4592] CHIP:TOO: Error: IM Error 0x0000057F: General error: 0x7f (UNSUPPORTED_ENDPOINT) + [1655718065.882491][4587:4592] CHIP:DMG: ICR moving to [AwaitingDe] disabled: true - label: @@ -44,10 +44,11 @@ tests: ./chip-tool any command-by-id 0x0003 0 1 1 2 - verify TH is responsds with unsuppported cluster with the data sent in the below command - [1654076811.947575][13740:13745] CHIP:DMG: Received Command Response Status for Endpoint=2 Cluster=0x0000_0003 Command=0x0000_0000 Status=0xc3 - [1654076811.947587][13740:13745] CHIP:TOO: Error: IM Error 0x000005C3: General error: 0xc3 (UNSUPPORTED_CLUSTER) - [1654076811.947602][13740:13745] CHIP:DMG: ICR moving to [AwaitingDe] + verify DUT is responsds with unsuppported cluster for the data sent in the above command + + [1655718144.692503][4602:4607] CHIP:DMG: Received Command Response Status for Endpoint=2 Cluster=0x0000_0003 Command=0x0000_0000 Status=0xc3 + [1655718144.692570][4602:4607] CHIP:TOO: Error: IM Error 0x000005C3: General error: 0xc3 (UNSUPPORTED_CLUSTER) + [1655718144.692627][4602:4607] CHIP:DMG: ICR moving to [AwaitingDe] disabled: true - label: @@ -55,7 +56,11 @@ tests: indicates a specific command that is unsupported." verification: | In case of chip tool, here is an example command to use + ./chip-tool any command-by-id 0x0003 3 1 1 0 + + verify DUT is responsds with unsuppported command for the data sent in the above command + [1654076838.936184][13752:13757] CHIP:DMG: Received Command Response Status for Endpoint=0 Cluster=0x0000_0003 Command=0x0000_0003 Status=0x81 [1654076838.936215][13752:13757] CHIP:TOO: Error: IM Error 0x00000581: General error: 0x81 (UNSUPPORTED_COMMAND) [1654076838.936258][13752:13757] CHIP:DMG: ICR moving to [AwaitingDe] @@ -68,8 +73,14 @@ tests: verification: | In case of chip tool, here is an example command to use + To Setup the TH such that there is no accessing fabric, 1st we need to send below mentioned ACL command + ./chip-tool accesscontrol write acl '[{"fabricIndex": 1, "privilege": 5, "authMode": 2, "subjects": [1234], "targets": null}]' 1 0 - ./chip-tool onoff on 1 1 + + ./chip-tool onoff on 1 1 + + verify DUT is responsds with UNSUPPORTED_ACCESS for the data sent in the above command + [1654079683.774619][14540:14546] CHIP:DMG: Received Command Response Status for Endpoint=1 Cluster=0x0000_0006 Command=0x0000_0001 Status=0x7e [1654079683.774630][14540:14546] CHIP:TOO: Error: IM Error 0x0000057E: General error: 0x7e (UNSUPPORTED_ACCESS) [1654079683.774643][14540:14546] CHIP:DMG: ICR moving to [AwaitingDe] @@ -82,10 +93,14 @@ tests: verification: | In case of chip tool, here is an example command to use - To get UNSUPPORTED_ACCESS 1st we need to send below mentioned ACL command and then + To Setup the TH such that there is no accessing fabric, 1st we need to send below mentioned ACL command + ./chip-tool accesscontrol write acl '[{"fabricIndex": 1, "privilege": 5, "authMode": 2, "subjects": [1234], "targets": null}]' 1 0 - ./chip-tool generalcommissioning commissioning-complete 1 0 + ./chip-tool generalcommissioning commissioning-complete 1 0 + + verify DUT is responsds with UNSUPPORTED_ACCESS for the data sent in the above command + [1654079608.667986][14525:14530] CHIP:DMG: Received Command Response Status for Endpoint=0 Cluster=0x0000_0030 Command=0x0000_0004 Status=0x7e [1654079608.668000][14525:14530] CHIP:TOO: Error: IM Error 0x0000057E: General error: 0x7e (UNSUPPORTED_ACCESS) [1654079608.668011][14525:14530] CHIP:DMG: ICR moving to [AwaitingDe] @@ -98,50 +113,56 @@ tests: In case of chip tool, here is an example command to use sudo ./chip-tool generalcommissioning arm-fail-safe 1000 1 1 0 - - [1653559028.744923][13424:13429] CHIP:DMG: InvokeResponseMessage = - [1653559028.744944][13424:13429] CHIP:DMG: { - [1653559028.744963][13424:13429] CHIP:DMG: suppressResponse = false, - [1653559028.744985][13424:13429] CHIP:DMG: InvokeResponseIBs = - [1653559028.745020][13424:13429] CHIP:DMG: [ - [1653559028.745041][13424:13429] CHIP:DMG: InvokeResponseIB = - [1653559028.745073][13424:13429] CHIP:DMG: { - [1653559028.745092][13424:13429] CHIP:DMG: CommandDataIB = - [1653559028.745113][13424:13429] CHIP:DMG: { - [1653559028.745140][13424:13429] CHIP:DMG: CommandPathIB = - [1653559028.745167][13424:13429] CHIP:DMG: { - [1653559028.745192][13424:13429] CHIP:DMG: EndpointId = 0x0, - [1653559028.745217][13424:13429] CHIP:DMG: ClusterId = 0x30, - [1653559028.745244][13424:13429] CHIP:DMG: CommandId = 0x1, - [1653559028.745268][13424:13429] CHIP:DMG: }, - [1653559028.745299][13424:13429] CHIP:DMG: - [1653559028.745322][13424:13429] CHIP:DMG: CommandData = - [1653559028.745348][13424:13429] CHIP:DMG: { - [1653559028.745399][13424:13429] CHIP:DMG: 0x0 = 0, - [1653559028.745425][13424:13429] CHIP:DMG: 0x1 = "", - [1653559028.745447][13424:13429] CHIP:DMG: }, - [1653559028.745468][13424:13429] CHIP:DMG: }, - [1653559028.745501][13424:13429] CHIP:DMG: - [1653559028.745524][13424:13429] CHIP:DMG: }, - [1653559028.745557][13424:13429] CHIP:DMG: - [1653559028.745579][13424:13429] CHIP:DMG: ], - [1653559028.745614][13424:13429] CHIP:DMG: - [1653559028.745636][13424:13429] CHIP:DMG: InteractionModelRevision = 1 - [1653559028.745656][13424:13429] CHIP:DMG: }, - [1653559028.745741][13424:13429] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0030 Command=0x0000_0001 - [1653559028.745793][13424:13429] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0030 Command 0x0000_0001 - [1653559028.745851][13424:13429] CHIP:TOO: ArmFailSafeResponse: { - [1653559028.745884][13424:13429] CHIP:TOO: errorCode: 0 - [1653559028.745907][13424:13429] CHIP:TOO: debugText: - [1653559028.745930][13424:13429] CHIP:TOO: } + Verify DUT generates an InvokeResponseIB with a valid CommandDataIB and + sends it to the TH for the data sent in the above command + + On TH + [1655718690.469392][4629:4634] CHIP:DMG: }, + [1655718690.469476][4629:4634] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0030 Command=0x0000_0001 + [1655718690.469541][4629:4634] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0030 Command 0x0000_0001 + [1655718690.469615][4629:4634] CHIP:TOO: ArmFailSafeResponse: { + [1655718690.469664][4629:4634] CHIP:TOO: errorCode: 0 + [1655718690.469698][4629:4634] CHIP:TOO: debugText: + [1655718690.469733][4629:4634] CHIP:TOO: } + [1655718690.469787][4629:4634] CHIP:DMG: ICR moving to [AwaitingDe] + [1655718690.469859][4629:4634] CHIP:EM: Sending Standalone Ack for MessageCounter:60280704 on exchange 4731i + + + On DUT + [1655718690.417352][10909:10909] CHIP:DMG: InvokeRequestMessage = + [1655718690.417401][10909:10909] CHIP:DMG: { + [1655718690.417436][10909:10909] CHIP:DMG: suppressResponse = false, + [1655718690.417484][10909:10909] CHIP:DMG: timedRequest = false, + [1655718690.417529][10909:10909] CHIP:DMG: InvokeRequests = + [1655718690.417587][10909:10909] CHIP:DMG: [ + [1655718690.417633][10909:10909] CHIP:DMG: CommandDataIB = + [1655718690.417683][10909:10909] CHIP:DMG: { + [1655718690.417730][10909:10909] CHIP:DMG: CommandPathIB = + [1655718690.417793][10909:10909] CHIP:DMG: { + [1655718690.417852][10909:10909] CHIP:DMG: EndpointId = 0x0, + [1655718690.417914][10909:10909] CHIP:DMG: ClusterId = 0x30, + [1655718690.417973][10909:10909] CHIP:DMG: CommandId = 0x0, + [1655718690.418030][10909:10909] CHIP:DMG: }, + [1655718690.418087][10909:10909] CHIP:DMG: + [1655718690.418140][10909:10909] CHIP:DMG: CommandFields = + [1655718690.418202][10909:10909] CHIP:DMG: { + [1655718690.418261][10909:10909] CHIP:DMG: 0x0 = 1000, + [1655718690.418322][10909:10909] CHIP:DMG: 0x1 = 1, + [1655718690.418381][10909:10909] CHIP:DMG: }, + [1655718690.418433][10909:10909] CHIP:DMG: }, + [1655718690.418487][10909:10909] CHIP:DMG: + [1655718690.418531][10909:10909] CHIP:DMG: ], + [1655718690.418586][10909:10909] CHIP:DMG: + [1655718690.418630][10909:10909] CHIP:DMG: InteractionModelRevision = 1 + [1655718690.418673][10909:10909] CHIP:DMG: }, + [1655718690.418779][10909:10909] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0030 e=0 p=a disabled: true - label: "TH sends the Invoke Request Message to the DUT with a valid CommandDataIB and SuppressResponse set to True" verification: | - https://github.com/project-chip/connectedhomeip/issues/8043 - Out of Scope for V1.0 + Out of Scope for V1.0 disabled: true - label: @@ -150,9 +171,12 @@ tests: verification: | In case of chip tool, here is an example command to use + To Setup the TH such that there is no accessing fabric, 1st we need to send below mentioned ACL command + ./chip-tool accesscontrol write acl '[{"fabricIndex": 1, "privilege": 5, "authMode": 2, "subjects": [1234], "targets": null}]' 1 0 ./chip-tool any command-by-id 0x0003 0 1 1 0 --timedInteractionTimeoutMs 500 + verify DUT is responsds with UNSUPPORTED_ACCESS for the data sent in the above command [1654079573.921236][14516:14521] CHIP:DMG: Received Command Response Status for Endpoint=0 Cluster=0x0000_0003 Command=0x0000_0000 Status=0x7e [1654079573.921251][14516:14521] CHIP:TOO: Error: IM Error 0x0000057E: General error: 0x7e (UNSUPPORTED_ACCESS) @@ -167,6 +191,8 @@ tests: In case of chip tool, here is an example command to use ./chip-tool administratorcommissioning open-basic-commissioning-window 500 1 0 + verify DUT is responsds with NEEDS_TIMED_INTERACTION for the data sent in the above command + [1654077001.606235][13788:13793] CHIP:DMG: Received Command Response Status for Endpoint=0 Cluster=0x0000_003C Command=0x0000_0001 Status=0xc6 [1654077001.606268][13788:13793] CHIP:TOO: Error: IM Error 0x000005C6: General error: 0xc6 (NEEDS_TIMED_INTERACTION) [1654077001.606311][13788:13793] CHIP:DMG: ICR moving to [AwaitingDe] diff --git a/src/app/tests/suites/certification/Test_TC_IDM_2_2.yaml b/src/app/tests/suites/certification/Test_TC_IDM_2_2.yaml index 2598dda702db0c..a6e70957673889 100644 --- a/src/app/tests/suites/certification/Test_TC_IDM_2_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_IDM_2_2.yaml @@ -13,7 +13,7 @@ # limitations under the License. # Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default -name: 20.2.2. [TC-IDM-2.2] Report Data Action from DUT to TH +name: 21.2.2. [TC-IDM-2.2] Report Data Action from DUT to TH. [{DUT_Server}] config: nodeId: 0x12344321 @@ -28,37 +28,40 @@ tests: Attribute]] On receipt of this message, DUT should send a report data action with the attribute value to the DUT." verification: | - sudo ./chip-tool identify read identify-time 1 1 + In case of chip tool, here is an example command to use - [1653629236.865368][8434:8440] CHIP:DMG: ReportDataMessage = - [1653629236.865385][8434:8440] CHIP:DMG: { - [1653629236.865396][8434:8440] CHIP:DMG: AttributeReportIBs = - [1653629236.865421][8434:8440] CHIP:DMG: [ - [1653629236.865436][8434:8440] CHIP:DMG: AttributeReportIB = - [1653629236.865456][8434:8440] CHIP:DMG: { - [1653629236.865472][8434:8440] CHIP:DMG: AttributeDataIB = - [1653629236.865492][8434:8440] CHIP:DMG: { - [1653629236.865512][8434:8440] CHIP:DMG: DataVersion = 0xd7cb76c3, - [1653629236.865529][8434:8440] CHIP:DMG: AttributePathIB = - [1653629236.865544][8434:8440] CHIP:DMG: { - [1653629236.865563][8434:8440] CHIP:DMG: Endpoint = 0x1, - [1653629236.865581][8434:8440] CHIP:DMG: Cluster = 0x3, - [1653629236.865601][8434:8440] CHIP:DMG: Attribute = 0x0000_0000, - [1653629236.865619][8434:8440] CHIP:DMG: } - [1653629236.865639][8434:8440] CHIP:DMG: - [1653629236.865659][8434:8440] CHIP:DMG: Data = 0, - [1653629236.865677][8434:8440] CHIP:DMG: }, - [1653629236.865699][8434:8440] CHIP:DMG: - [1653629236.865715][8434:8440] CHIP:DMG: }, - [1653629236.865738][8434:8440] CHIP:DMG: - [1653629236.865753][8434:8440] CHIP:DMG: ], - [1653629236.865777][8434:8440] CHIP:DMG: - [1653629236.865793][8434:8440] CHIP:DMG: SuppressResponse = true, - [1653629236.865807][8434:8440] CHIP:DMG: InteractionModelRevision = 1 - [1653629236.865822][8434:8440] CHIP:DMG: } - [1653629236.865950][8434:8440] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0003 Attribute 0x0000_0000 DataVersion: 3620435651 - [1653629236.866003][8434:8440] CHIP:TOO: identify time: 0 - [1653629236.866077][8434:8440] CHIP:EM: Sending Standalone Ack for MessageCounter:10900625 on exchange 38226i + sudo ./chip-tool identify read identify-time 1 1 + Verify on TH , DUT is responds right attribute value for above command + + [1655727338.260966][5267:5272] CHIP:DMG: ReportDataMessage = + [1655727338.261012][5267:5272] CHIP:DMG: { + [1655727338.261048][5267:5272] CHIP:DMG: AttributeReportIBs = + [1655727338.261097][5267:5272] CHIP:DMG: [ + [1655727338.261136][5267:5272] CHIP:DMG: AttributeReportIB = + [1655727338.261193][5267:5272] CHIP:DMG: { + [1655727338.261235][5267:5272] CHIP:DMG: AttributeDataIB = + [1655727338.261285][5267:5272] CHIP:DMG: { + [1655727338.261338][5267:5272] CHIP:DMG: DataVersion = 0xe1f913f, + [1655727338.261385][5267:5272] CHIP:DMG: AttributePathIB = + [1655727338.261436][5267:5272] CHIP:DMG: { + [1655727338.261496][5267:5272] CHIP:DMG: Endpoint = 0x1, + [1655727338.261553][5267:5272] CHIP:DMG: Cluster = 0x3, + [1655727338.261609][5267:5272] CHIP:DMG: Attribute = 0x0000_0000, + [1655727338.261663][5267:5272] CHIP:DMG: } + [1655727338.261719][5267:5272] CHIP:DMG: + [1655727338.261776][5267:5272] CHIP:DMG: Data = 0, + [1655727338.261826][5267:5272] CHIP:DMG: }, + [1655727338.261880][5267:5272] CHIP:DMG: + [1655727338.261925][5267:5272] CHIP:DMG: }, + [1655727338.261974][5267:5272] CHIP:DMG: + [1655727338.262013][5267:5272] CHIP:DMG: ], + [1655727338.262061][5267:5272] CHIP:DMG: + [1655727338.262102][5267:5272] CHIP:DMG: SuppressResponse = true, + [1655727338.262145][5267:5272] CHIP:DMG: InteractionModelRevision = 1 + [1655727338.262182][5267:5272] CHIP:DMG: } + [1655727338.262379][5267:5272] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0003 Attribute 0x0000_0000 DataVersion: 236949823 + [1655727338.262475][5267:5272] CHIP:TOO: identify time: 0 + [1655727338.262588][5267:5272] CHIP:EM: Sending Standalone Ack for MessageCounter:9195311 on exchange 32586i disabled: true - label: @@ -68,54 +71,63 @@ tests: DUT should send a report data action with the attribute value to the DUT." verification: | + In case of chip tool, here is an example command to use + sudo ./chip-tool any read-by-id 0x03 0xFFFFFFFF 1 0xFFFF - [1653629351.741280][8503:8508] CHIP:DMG: } - [1653629351.741546][8503:8508] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0003 Attribute 0x0000_0000 DataVersion: 2065044836 - [1653629351.741566][8503:8508] CHIP:TOO: identify time: 0 - [1653629351.741588][8503:8508] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0003 Attribute 0x0000_0001 DataVersion: 2065044836 - [1653629351.741594][8503:8508] CHIP:TOO: identify type: 2 - [1653629351.741616][8503:8508] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0003 Attribute 0x0000_FFFD DataVersion: 2065044836 - [1653629351.741621][8503:8508] CHIP:TOO: ClusterRevision: 4 - [1653629351.741685][8503:8508] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0003 Attribute 0x0000_FFF8 DataVersion: 2065044836 - [1653629351.741699][8503:8508] CHIP:TOO: GeneratedCommandList: 1 entries - [1653629351.741707][8503:8508] CHIP:TOO: [1]: 0 - [1653629351.741784][8503:8508] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0003 Attribute 0x0000_FFF9 DataVersion: 2065044836 - [1653629351.741794][8503:8508] CHIP:TOO: AcceptedCommandList: 3 entries - [1653629351.741800][8503:8508] CHIP:TOO: [1]: 0 - [1653629351.741807][8503:8508] CHIP:TOO: [2]: 1 - [1653629351.741813][8503:8508] CHIP:TOO: [3]: 64 - [1653629351.741937][8503:8508] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0003 Attribute 0x0000_FFFB DataVersion: 2065044836 - [1653629351.741949][8503:8508] CHIP:TOO: AttributeList: 6 entries - [1653629351.741955][8503:8508] CHIP:TOO: [1]: 0 - [1653629351.741962][8503:8508] CHIP:TOO: [2]: 1 - [1653629351.741968][8503:8508] CHIP:TOO: [3]: 65528 - [1653629351.741975][8503:8508] CHIP:TOO: [4]: 65529 - [1653629351.741981][8503:8508] CHIP:TOO: [5]: 65531 - [1653629351.741987][8503:8508] CHIP:TOO: [6]: 65533 - [1653629351.741994][8503:8508] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0003 Attribute 0x0000_0000 DataVersion: 3620435651 - [1653629351.742000][8503:8508] CHIP:TOO: identify time: 0 - [1653629351.742022][8503:8508] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0003 Attribute 0x0000_0001 DataVersion: 3620435651 - [1653629351.742028][8503:8508] CHIP:TOO: identify type: 2 - [1653629351.742048][8503:8508] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0003 Attribute 0x0000_FFFD DataVersion: 3620435651 - [1653629351.742054][8503:8508] CHIP:TOO: ClusterRevision: 4 - [1653629351.742109][8503:8508] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0003 Attribute 0x0000_FFF8 DataVersion: 3620435651 - [1653629351.742117][8503:8508] CHIP:TOO: GeneratedCommandList: 1 entries - [1653629351.742124][8503:8508] CHIP:TOO: [1]: 0 - [1653629351.742198][8503:8508] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0003 Attribute 0x0000_FFF9 DataVersion: 3620435651 - [1653629351.745044][8503:8508] CHIP:TOO: AcceptedCommandList: 3 entries - [1653629351.745059][8503:8508] CHIP:TOO: [1]: 0 - [1653629351.745066][8503:8508] CHIP:TOO: [2]: 1 - [1653629351.745074][8503:8508] CHIP:TOO: [3]: 64 - [1653629351.745195][8503:8508] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0003 Attribute 0x0000_FFFB DataVersion: 3620435651 - [1653629351.745206][8503:8508] CHIP:TOO: AttributeList: 6 entries - [1653629351.745211][8503:8508] CHIP:TOO: [1]: 0 - [1653629351.745215][8503:8508] CHIP:TOO: [2]: 1 - [1653629351.745219][8503:8508] CHIP:TOO: [3]: 65528 - [1653629351.745223][8503:8508] CHIP:TOO: [4]: 65529 - [1653629351.745226][8503:8508] CHIP:TOO: [5]: 65531 - [1653629351.745230][8503:8508] CHIP:TOO: [6]: 65533 - [1653629351.745311][8503:8508] CHIP:EM: Sending Standalone Ack for MessageCounter:6362667 on exchange 25146i + Verify on TH , DUT is responds right attribute value for above command + + [1655727546.354466][5286:5291] CHIP:DMG: + [1655727546.354512][5286:5291] CHIP:DMG: SuppressResponse = true, + [1655727546.354538][5286:5291] CHIP:DMG: InteractionModelRevision = 1 + [1655727546.354580][5286:5291] CHIP:DMG: } + [1655727546.355252][5286:5291] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0003 Attribute 0x0000_0000 DataVersion: 1545325355 + [1655727546.355324][5286:5291] CHIP:TOO: identify time: 0 + [1655727546.355386][5286:5291] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0003 Attribute 0x0000_0001 DataVersion: 1545325355 + [1655727546.355414][5286:5291] CHIP:TOO: identify type: 2 + [1655727546.355470][5286:5291] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0003 Attribute 0x0000_FFFC DataVersion: 1545325355 + [1655727546.355524][5286:5291] CHIP:TOO: FeatureMap: 0 + [1655727546.355606][5286:5291] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0003 Attribute 0x0000_FFFD DataVersion: 1545325355 + [1655727546.355635][5286:5291] CHIP:TOO: ClusterRevision: 4 + [1655727546.355788][5286:5291] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0003 Attribute 0x0000_FFF8 DataVersion: 1545325355 + [1655727546.355845][5286:5291] CHIP:TOO: GeneratedCommandList: 0 entries + [1655727546.356030][5286:5291] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0003 Attribute 0x0000_FFF9 DataVersion: 1545325355 + [1655727546.356087][5286:5291] CHIP:TOO: AcceptedCommandList: 2 entries + [1655727546.356117][5286:5291] CHIP:TOO: [1]: 0 + [1655727546.356143][5286:5291] CHIP:TOO: [2]: 64 + [1655727546.356552][5286:5291] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0003 Attribute 0x0000_FFFB DataVersion: 1545325355 + [1655727546.356590][5286:5291] CHIP:TOO: AttributeList: 7 entries + [1655727546.356617][5286:5291] CHIP:TOO: [1]: 0 + [1655727546.356642][5286:5291] CHIP:TOO: [2]: 1 + [1655727546.356667][5286:5291] CHIP:TOO: [3]: 65528 + [1655727546.356692][5286:5291] CHIP:TOO: [4]: 65529 + [1655727546.356716][5286:5291] CHIP:TOO: [5]: 65531 + [1655727546.356741][5286:5291] CHIP:TOO: [6]: 65532 + [1655727546.356766][5286:5291] CHIP:TOO: [7]: 65533 + [1655727546.356790][5286:5291] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0003 Attribute 0x0000_0000 DataVersion: 236949823 + [1655727546.356815][5286:5291] CHIP:TOO: identify time: 0 + [1655727546.356895][5286:5291] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0003 Attribute 0x0000_0001 DataVersion: 236949823 + [1655727546.356946][5286:5291] CHIP:TOO: identify type: 2 + [1655727546.357022][5286:5291] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0003 Attribute 0x0000_FFFC DataVersion: 236949823 + [1655727546.357065][5286:5291] CHIP:TOO: FeatureMap: 0 + [1655727546.357143][5286:5291] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0003 Attribute 0x0000_FFFD DataVersion: 236949823 + [1655727546.357171][5286:5291] CHIP:TOO: ClusterRevision: 4 + [1655727546.357312][5286:5291] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0003 Attribute 0x0000_FFF8 DataVersion: 236949823 + [1655727546.357362][5286:5291] CHIP:TOO: GeneratedCommandList: 0 entries + [1655727546.357555][5286:5291] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0003 Attribute 0x0000_FFF9 DataVersion: 236949823 + [1655727546.357610][5286:5291] CHIP:TOO: AcceptedCommandList: 2 entries + [1655727546.357638][5286:5291] CHIP:TOO: [1]: 0 + [1655727546.357662][5286:5291] CHIP:TOO: [2]: 64 + [1655727546.358014][5286:5291] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0003 Attribute 0x0000_FFFB DataVersion: 236949823 + [1655727546.358052][5286:5291] CHIP:TOO: AttributeList: 7 entries + [1655727546.358078][5286:5291] CHIP:TOO: [1]: 0 + [1655727546.358103][5286:5291] CHIP:TOO: [2]: 1 + [1655727546.358127][5286:5291] CHIP:TOO: [3]: 65528 + [1655727546.358152][5286:5291] CHIP:TOO: [4]: 65529 + [1655727546.358176][5286:5291] CHIP:TOO: [5]: 65531 + [1655727546.358200][5286:5291] CHIP:TOO: [6]: 65532 + [1655727546.358225][5286:5291] CHIP:TOO: [7]: 65533 + [1655727546.358492][5286:5291] CHIP:EM: Sending Standalone Ack for MessageCounter:220291395 on exchange 53799i disabled: true - label: @@ -125,56 +137,61 @@ tests: message, DUT should send a report data action with the attribute value from all the Endpoints to the DUT." verification: | + In case of chip tool, here is an example command to use + sudo ./chip-tool any read-by-id 0x03 0x00 1 0xFFFF - [1653629424.424101][8542:8547] CHIP:DMG: ReportDataMessage = - [1653629424.424120][8542:8547] CHIP:DMG: { - [1653629424.424131][8542:8547] CHIP:DMG: AttributeReportIBs = - [1653629424.424153][8542:8547] CHIP:DMG: [ - [1653629424.424164][8542:8547] CHIP:DMG: AttributeReportIB = - [1653629424.424186][8542:8547] CHIP:DMG: { - [1653629424.424203][8542:8547] CHIP:DMG: AttributeDataIB = - [1653629424.424221][8542:8547] CHIP:DMG: { - [1653629424.424240][8542:8547] CHIP:DMG: DataVersion = 0x7b161564, - [1653629424.424256][8542:8547] CHIP:DMG: AttributePathIB = - [1653629424.424276][8542:8547] CHIP:DMG: { - [1653629424.424296][8542:8547] CHIP:DMG: Endpoint = 0x0, - [1653629424.424316][8542:8547] CHIP:DMG: Cluster = 0x3, - [1653629424.424336][8542:8547] CHIP:DMG: Attribute = 0x0000_0000, - [1653629424.424353][8542:8547] CHIP:DMG: } - [1653629424.424375][8542:8547] CHIP:DMG: - [1653629424.424396][8542:8547] CHIP:DMG: Data = 0, - [1653629424.424413][8542:8547] CHIP:DMG: }, - [1653629424.424437][8542:8547] CHIP:DMG: - [1653629424.424453][8542:8547] CHIP:DMG: }, - [1653629424.424483][8542:8547] CHIP:DMG: - [1653629424.424499][8542:8547] CHIP:DMG: AttributeReportIB = - [1653629424.424521][8542:8547] CHIP:DMG: { - [1653629424.424537][8542:8547] CHIP:DMG: AttributeDataIB = - [1653629424.424556][8542:8547] CHIP:DMG: { - [1653629424.424573][8542:8547] CHIP:DMG: DataVersion = 0xd7cb76c3, - [1653629424.424587][8542:8547] CHIP:DMG: AttributePathIB = - [1653629424.424605][8542:8547] CHIP:DMG: { - [1653629424.424623][8542:8547] CHIP:DMG: Endpoint = 0x1, - [1653629424.424641][8542:8547] CHIP:DMG: Cluster = 0x3, - [1653629424.424659][8542:8547] CHIP:DMG: Attribute = 0x0000_0000, - [1653629424.424676][8542:8547] CHIP:DMG: } - [1653629424.424696][8542:8547] CHIP:DMG: - [1653629424.424714][8542:8547] CHIP:DMG: Data = 0, - [1653629424.424730][8542:8547] CHIP:DMG: }, - [1653629424.424751][8542:8547] CHIP:DMG: - [1653629424.424766][8542:8547] CHIP:DMG: }, - [1653629424.424787][8542:8547] CHIP:DMG: - [1653629424.424802][8542:8547] CHIP:DMG: ], - [1653629424.424830][8542:8547] CHIP:DMG: - [1653629424.424847][8542:8547] CHIP:DMG: SuppressResponse = true, - [1653629424.424863][8542:8547] CHIP:DMG: InteractionModelRevision = 1 - [1653629424.424878][8542:8547] CHIP:DMG: } - [1653629424.425028][8542:8547] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0003 Attribute 0x0000_0000 DataVersion: 2065044836 - [1653629424.425079][8542:8547] CHIP:TOO: identify time: 0 - [1653629424.425146][8542:8547] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0003 Attribute 0x0000_0000 DataVersion: 3620435651 - [1653629424.425164][8542:8547] CHIP:TOO: identify time: 0 - [1653629424.425237][8542:8547] CHIP:EM: Sending Standalone Ack for MessageCounter:8601484 on exchange 41046i + Verify on TH , DUT is responds right attribute value for above command + + [1655727602.117907][5301:5306] CHIP:EM: Removed CHIP MessageCounter:97487240 from RetransTable on exchange 58891i + [1655727602.117985][5301:5306] CHIP:DMG: ReportDataMessage = + [1655727602.118025][5301:5306] CHIP:DMG: { + [1655727602.118057][5301:5306] CHIP:DMG: AttributeReportIBs = + [1655727602.118102][5301:5306] CHIP:DMG: [ + [1655727602.118138][5301:5306] CHIP:DMG: AttributeReportIB = + [1655727602.118188][5301:5306] CHIP:DMG: { + [1655727602.118225][5301:5306] CHIP:DMG: AttributeDataIB = + [1655727602.118270][5301:5306] CHIP:DMG: { + [1655727602.118317][5301:5306] CHIP:DMG: DataVersion = 0x5c1bcb2b, + [1655727602.118364][5301:5306] CHIP:DMG: AttributePathIB = + [1655727602.118417][5301:5306] CHIP:DMG: { + [1655727602.118464][5301:5306] CHIP:DMG: Endpoint = 0x0, + [1655727602.118515][5301:5306] CHIP:DMG: Cluster = 0x3, + [1655727602.118570][5301:5306] CHIP:DMG: Attribute = 0x0000_0000, + [1655727602.118618][5301:5306] CHIP:DMG: } + [1655727602.118674][5301:5306] CHIP:DMG: + [1655727602.118724][5301:5306] CHIP:DMG: Data = 0, + [1655727602.118768][5301:5306] CHIP:DMG: }, + [1655727602.118816][5301:5306] CHIP:DMG: + [1655727602.118856][5301:5306] CHIP:DMG: }, + [1655727602.118903][5301:5306] CHIP:DMG: + [1655727602.118938][5301:5306] CHIP:DMG: AttributeReportIB = + [1655727602.119043][5301:5306] CHIP:DMG: { + [1655727602.119084][5301:5306] CHIP:DMG: AttributeDataIB = + [1655727602.119128][5301:5306] CHIP:DMG: { + [1655727602.119174][5301:5306] CHIP:DMG: DataVersion = 0xe1f913f, + [1655727602.119215][5301:5306] CHIP:DMG: AttributePathIB = + [1655727602.119264][5301:5306] CHIP:DMG: { + [1655727602.119313][5301:5306] CHIP:DMG: Endpoint = 0x1, + [1655727602.119367][5301:5306] CHIP:DMG: Cluster = 0x3, + [1655727602.119423][5301:5306] CHIP:DMG: Attribute = 0x0000_0000, + [1655727602.119472][5301:5306] CHIP:DMG: } + [1655727602.119522][5301:5306] CHIP:DMG: + [1655727602.119568][5301:5306] CHIP:DMG: Data = 0, + [1655727602.119611][5301:5306] CHIP:DMG: }, + [1655727602.119661][5301:5306] CHIP:DMG: + [1655727602.119698][5301:5306] CHIP:DMG: }, + [1655727602.119744][5301:5306] CHIP:DMG: + [1655727602.119779][5301:5306] CHIP:DMG: ], + [1655727602.119823][5301:5306] CHIP:DMG: + [1655727602.119859][5301:5306] CHIP:DMG: SuppressResponse = true, + [1655727602.119897][5301:5306] CHIP:DMG: InteractionModelRevision = 1 + [1655727602.119933][5301:5306] CHIP:DMG: } + [1655727602.120134][5301:5306] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0003 Attribute 0x0000_0000 DataVersion: 1545325355 + [1655727602.120223][5301:5306] CHIP:TOO: identify time: 0 + [1655727602.120315][5301:5306] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0003 Attribute 0x0000_0000 DataVersion: 236949823 + [1655727602.120356][5301:5306] CHIP:TOO: identify time: 0 + [1655727602.120460][5301:5306] CHIP:EM: Sending Standalone Ack for MessageCounter:192238779 on exchange 58891i disabled: true - label: @@ -184,60 +201,69 @@ tests: Attribute]] On receipt of this message, DUT should send a report data action with the attribute value from all the clusters to the DUT." verification: | + In case of chip tool, here is an example command to use + sudo ./chip-tool any read-by-id 0xFFFFFFFF 0xFFFD 1 0 - [1653629525.510828][8567:8572] CHIP:DMG: } - [1653629525.511238][8567:8572] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0003 Attribute 0x0000_FFFD DataVersion: 2065044836 - [1653629525.511345][8567:8572] CHIP:TOO: ClusterRevision: 4 - [1653629525.511387][8567:8572] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0004 Attribute 0x0000_FFFD DataVersion: 1892696235 - [1653629525.511401][8567:8572] CHIP:TOO: ClusterRevision: 4 - [1653629525.511436][8567:8572] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001D Attribute 0x0000_FFFD DataVersion: 1817528171 - [1653629525.511448][8567:8572] CHIP:TOO: ClusterRevision: 1 - [1653629525.511483][8567:8572] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001E Attribute 0x0000_FFFD DataVersion: 778874126 - [1653629525.511495][8567:8572] CHIP:TOO: ClusterRevision: 1 - [1653629525.511533][8567:8572] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Attribute 0x0000_FFFD DataVersion: 4159399632 - [1653629525.511544][8567:8572] CHIP:TOO: ClusterRevision: 1 - [1653629525.511578][8567:8572] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0028 Attribute 0x0000_FFFD DataVersion: 2705188066 - [1653629525.511590][8567:8572] CHIP:TOO: ClusterRevision: 1 - [1653629525.511624][8567:8572] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_002A Attribute 0x0000_FFFD DataVersion: 2073041134 - [1653629525.511637][8567:8572] CHIP:TOO: ClusterRevision: 1 - [1653629525.511671][8567:8572] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_002B Attribute 0x0000_FFFD DataVersion: 2899581463 - [1653629525.511683][8567:8572] CHIP:TOO: ClusterRevision: 1 - [1653629525.511717][8567:8572] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_002C Attribute 0x0000_FFFD DataVersion: 139938310 - [1653629525.511729][8567:8572] CHIP:TOO: ClusterRevision: 1 - [1653629525.511763][8567:8572] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_002D Attribute 0x0000_FFFD DataVersion: 1881924600 - [1653629525.511774][8567:8572] CHIP:TOO: ClusterRevision: 1 - [1653629525.511809][8567:8572] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_002E Attribute 0x0000_FFFD DataVersion: 965953906 - [1653629525.511821][8567:8572] CHIP:TOO: ClusterRevision: 1 - [1653629525.511856][8567:8572] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_002F Attribute 0x0000_FFFD DataVersion: 621120931 - [1653629525.511869][8567:8572] CHIP:TOO: ClusterRevision: 1 - [1653629525.511902][8567:8572] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0030 Attribute 0x0000_FFFD DataVersion: 2366251699 - [1653629525.511914][8567:8572] CHIP:TOO: ClusterRevision: 1 - [1653629525.511950][8567:8572] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_FFFD DataVersion: 2560747985 - [1653629525.511962][8567:8572] CHIP:TOO: ClusterRevision: 1 - [1653629525.515209][8567:8572] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0033 Attribute 0x0000_FFFD DataVersion: 68496368 - [1653629525.515241][8567:8572] CHIP:TOO: ClusterRevision: 1 - [1653629525.515281][8567:8572] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0034 Attribute 0x0000_FFFD DataVersion: 366565986 - [1653629525.515292][8567:8572] CHIP:TOO: ClusterRevision: 1 - [1653629525.515324][8567:8572] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0035 Attribute 0x0000_FFFD DataVersion: 3069278869 - [1653629525.515333][8567:8572] CHIP:TOO: ClusterRevision: 1 - [1653629525.515367][8567:8572] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0036 Attribute 0x0000_FFFD DataVersion: 2097780219 - [1653629525.515376][8567:8572] CHIP:TOO: ClusterRevision: 1 - [1653629525.515408][8567:8572] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0037 Attribute 0x0000_FFFD DataVersion: 3808204989 - [1653629525.515417][8567:8572] CHIP:TOO: ClusterRevision: 1 - [1653629525.515450][8567:8572] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003C Attribute 0x0000_FFFD DataVersion: 659825789 - [1653629525.515461][8567:8572] CHIP:TOO: ClusterRevision: 1 - [1653629525.515497][8567:8572] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_FFFD DataVersion: 2025844388 - [1653629525.515507][8567:8572] CHIP:TOO: ClusterRevision: 1 - [1653629525.515541][8567:8572] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003F Attribute 0x0000_FFFD DataVersion: 1292877491 - [1653629525.515551][8567:8572] CHIP:TOO: ClusterRevision: 1 - [1653629525.515585][8567:8572] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0040 Attribute 0x0000_FFFD DataVersion: 469408948 - [1653629525.515596][8567:8572] CHIP:TOO: ClusterRevision: 1 - [1653629525.515629][8567:8572] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0041 Attribute 0x0000_FFFD DataVersion: 1529979688 - [1653629525.515640][8567:8572] CHIP:TOO: ClusterRevision: 1 - [1653629525.515684][8567:8572] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0405 Attribute 0x0000_FFFD DataVersion: 3850945162 - [1653629525.515719][8567:8572] CHIP:TOO: ClusterRevision: 3 - [1653629525.515852][8567:8572] CHIP:EM: Sending Standalone Ack for MessageCounter:1536220 on exchange 8075i + Verify on TH , DUT is responds right attribute value for above command + + + [1655727656.941694][5312:5317] CHIP:DMG: SuppressResponse = true, + [1655727656.941720][5312:5317] CHIP:DMG: InteractionModelRevision = 1 + [1655727656.941743][5312:5317] CHIP:DMG: } + [1655727656.942228][5312:5317] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0003 Attribute 0x0000_FFFD DataVersion: 1545325355 + [1655727656.942298][5312:5317] CHIP:TOO: ClusterRevision: 4 + [1655727656.942360][5312:5317] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0004 Attribute 0x0000_FFFD DataVersion: 1942266209 + [1655727656.942387][5312:5317] CHIP:TOO: ClusterRevision: 4 + [1655727656.942443][5312:5317] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001D Attribute 0x0000_FFFD DataVersion: 3023309492 + [1655727656.942471][5312:5317] CHIP:TOO: ClusterRevision: 1 + [1655727656.942527][5312:5317] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001E Attribute 0x0000_FFFD DataVersion: 3936061778 + [1655727656.942554][5312:5317] CHIP:TOO: ClusterRevision: 1 + [1655727656.942610][5312:5317] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Attribute 0x0000_FFFD DataVersion: 3928768969 + [1655727656.942637][5312:5317] CHIP:TOO: ClusterRevision: 1 + [1655727656.942693][5312:5317] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0028 Attribute 0x0000_FFFD DataVersion: 3721523210 + [1655727656.942719][5312:5317] CHIP:TOO: ClusterRevision: 1 + [1655727656.942774][5312:5317] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_002A Attribute 0x0000_FFFD DataVersion: 1181162426 + [1655727656.942813][5312:5317] CHIP:TOO: ClusterRevision: 1 + [1655727656.942869][5312:5317] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_002B Attribute 0x0000_FFFD DataVersion: 2219345422 + [1655727656.942896][5312:5317] CHIP:TOO: ClusterRevision: 1 + [1655727656.942952][5312:5317] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_002C Attribute 0x0000_FFFD DataVersion: 3817408109 + [1655727656.942988][5312:5317] CHIP:TOO: ClusterRevision: 1 + [1655727656.943044][5312:5317] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_002D Attribute 0x0000_FFFD DataVersion: 425516794 + [1655727656.943071][5312:5317] CHIP:TOO: ClusterRevision: 1 + [1655727656.943126][5312:5317] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_002E Attribute 0x0000_FFFD DataVersion: 3515937606 + [1655727656.943153][5312:5317] CHIP:TOO: ClusterRevision: 1 + [1655727656.943208][5312:5317] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_002F Attribute 0x0000_FFFD DataVersion: 622436169 + [1655727656.943235][5312:5317] CHIP:TOO: ClusterRevision: 1 + [1655727656.943291][5312:5317] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0030 Attribute 0x0000_FFFD DataVersion: 356792938 + [1655727656.943317][5312:5317] CHIP:TOO: ClusterRevision: 1 + [1655727656.943373][5312:5317] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_FFFD DataVersion: 1227688606 + [1655727656.943400][5312:5317] CHIP:TOO: ClusterRevision: 1 + [1655727656.943456][5312:5317] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0032 Attribute 0x0000_FFFD DataVersion: 1996735258 + [1655727656.943482][5312:5317] CHIP:TOO: ClusterRevision: 1 + [1655727656.943538][5312:5317] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0033 Attribute 0x0000_FFFD DataVersion: 905751170 + [1655727656.943564][5312:5317] CHIP:TOO: ClusterRevision: 1 + [1655727656.943620][5312:5317] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0034 Attribute 0x0000_FFFD DataVersion: 1221138867 + [1655727656.943646][5312:5317] CHIP:TOO: ClusterRevision: 1 + [1655727656.943701][5312:5317] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0035 Attribute 0x0000_FFFD DataVersion: 2670679178 + [1655727656.943728][5312:5317] CHIP:TOO: ClusterRevision: 1 + [1655727656.943783][5312:5317] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0036 Attribute 0x0000_FFFD DataVersion: 1044884973 + [1655727656.943810][5312:5317] CHIP:TOO: ClusterRevision: 1 + [1655727656.943865][5312:5317] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0037 Attribute 0x0000_FFFD DataVersion: 2445435667 + [1655727656.943892][5312:5317] CHIP:TOO: ClusterRevision: 1 + [1655727656.943947][5312:5317] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003C Attribute 0x0000_FFFD DataVersion: 3327019447 + [1655727656.943974][5312:5317] CHIP:TOO: ClusterRevision: 1 + [1655727656.944030][5312:5317] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_FFFD DataVersion: 2726656324 + [1655727656.944056][5312:5317] CHIP:TOO: ClusterRevision: 1 + [1655727656.944111][5312:5317] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003F Attribute 0x0000_FFFD DataVersion: 3526129415 + [1655727656.944137][5312:5317] CHIP:TOO: ClusterRevision: 1 + [1655727656.944192][5312:5317] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0040 Attribute 0x0000_FFFD DataVersion: 2328349985 + [1655727656.944219][5312:5317] CHIP:TOO: ClusterRevision: 1 + [1655727656.944275][5312:5317] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0041 Attribute 0x0000_FFFD DataVersion: 537607835 + [1655727656.944301][5312:5317] CHIP:TOO: ClusterRevision: 1 + [1655727656.944357][5312:5317] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0405 Attribute 0x0000_FFFD DataVersion: 2911491950 + [1655727656.944383][5312:5317] CHIP:TOO: ClusterRevision: 3 + [1655727656.944550][5312:5317] CHIP:EM: Sending Standalone Ack for MessageCounter:181900858 on exchange 38221i disabled: true - label: @@ -246,6 +272,9 @@ tests: this message, DUT should send a report data action with the attribute value from all the clusters to the DUT." verification: | + In case of chip tool, here is an example command to use + + sudo ./chip-tool any read-by-id 0xFFFFFFFF 0xFFFFFFFF 1 0xFFFF --timeout 40 received report data message has all the right attribute values from DUT to TH disabled: true @@ -257,6 +286,8 @@ tests: DUT should send a report data action with the attribute value from all the clusters to the DUT." verification: | + In case of chip tool, here is an example command to use + sudo ./chip-tool any read-by-id 0xFFFFFFFF 0xFFFD 1 0xFFFF Here Verifying cluster revision global attribute from all cluster for all endpoint. received report data message has all the right attribute values from DUT to TH @@ -268,6 +299,8 @@ tests: ClusterID]] On receipt of this message, DUT should send a report data action with the attribute value from all the Endpoints to the DUT." verification: | + In case of chip tool, here is an example command to use + sudo ./chip-tool any read-by-id 0x03 0xFFFFFFFF 1 0xFFFF [1653629930.057852][8778:8783] CHIP:DMG: } @@ -325,6 +358,8 @@ tests: report data action with the attribute value from all the Endpoints to the DUT." verification: | + In case of chip tool, here is an example command to use + sudo ./chip-tool any read-by-id 0xFFFFFFFF 0xFFFFFFFF 1 1 @@ -336,6 +371,8 @@ tests: attribute of data type bool. DUT responds with the report data action with the right attribute value." verification: | + In case of chip tool, here is an example command to use + sudo ./chip-tool onoff read on-off 1 1 [1653630222.692433][8886:8891] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0006 Attribute 0x0000_0000 DataVersion: 312829505 @@ -348,6 +385,8 @@ tests: attribute of data type string. DUT responds with the report data action with the right attribute value." verification: | + In case of chip tool, here is an example command to use + sudo ./chip-tool modeselect read description 1 1 [1653630307.924844][8910:8915] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0050 Attribute 0x0000_0000 DataVersion: 722071058 @@ -360,7 +399,9 @@ tests: attribute of data type unsigned integer. DUT responds with the report data action with the right attribute value." verification: | - sudo ./chip-tool any read-by-id 0x3 0x1 1 0 + In case of chip tool, here is an example command to use + + sudo ./chip-tool any read-by-id 0x3 0x1 1 0 [1653630355.834677][8923:8928] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0003 Attribute 0x0000_0001 DataVersion: 2065044836 [1653630355.834735][8923:8928] CHIP:TOO: identify type: 2 @@ -372,6 +413,8 @@ tests: attribute of data type signed integer. DUT responds with the report data action with the right attribute value." verification: | + In case of chip tool, here is an example command to use + sudo ./chip-tool pressuremeasurement read measured-value 1 1 [1653630404.570993][8934:8939] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0403 Attribute 0x0000_0000 DataVersion: 3770689028 @@ -392,12 +435,15 @@ tests: attribute of data type Octet String. DUT responds with the report data action with the right attribute value." verification: | + In case of chip tool, here is an example command to use + sudo ./chip-tool operationalcredentials read trusted-root-certificates 1 0 - [1653630497.890683][8988:8993] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0004 DataVersion: 2025844388 - [1653630497.890738][8988:8993] CHIP:TOO: TrustedRootCertificates: 1 entries - [1653630497.890769][8988:8993] CHIP:TOO: [1]: Elided value too large of size 231 - [1653630497.890856][8988:8993] CHIP:EM: Sending Standalone Ack for MessageCounter:8673864 on exchange 42218i + [1655729519.609898][5433:5438] CHIP:DMG: } + [1655729519.610252][5433:5438] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0004 DataVersion: 2726656324 + [1655729519.610387][5433:5438] CHIP:TOO: TrustedRootCertificates: 1 entries + [1655729519.610460][5433:5438] CHIP:TOO: [1]: 1530010100240201370324140018260480228127260580254D3A37062414001824070124080130094104AB127A3610DCD7BC4ED07A7322D1DD40C5EBF11B53DEB2D1801C583EFA43730C1FE32D88079153EB3E4540964C5E044D7AE75465F4D5F927221A43119E15514D370A3501290118240260300414806F4AB0008FD14951B704A8A36511C73DD974B5300514806F4AB0008FD14951B704A8A36511C73DD974B518300B40F794F6C90A7FA3E06C1F6355AFCEE886BEAE92048089490280BEA4FC3EA754721F130D35BCB3F611D861F1B5088F222BBA8C89AC49C4E3178505F3A563E01D5C18 + [1655729519.610584][5433:5438] CHIP:EM: Sending Standalone Ack for MessageCounter:214593598 on exchange 62283i disabled: true - label: @@ -405,6 +451,8 @@ tests: attribute of data type Struct. DUT responds with the report data action with the right attribute value." verification: | + In case of chip tool, here is an example command to use + sudo ./chip-tool occupancysensing read occupancy-sensor-type 1 1 [1653630542.619226][9034:9039] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0406 Attribute 0x0000_0001 DataVersion: 3604656322 @@ -417,6 +465,8 @@ tests: attribute of data type List. DUT responds with the report data action with the right attribute value." verification: | + In case of chip tool, here is an example command to use + sudo ./chip-tool timeformatlocalization read supported-calendar-types 1 0 [1653630857.535521][9171:9176] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_002C Attribute 0x0000_0002 DataVersion: 139938310 @@ -441,6 +491,8 @@ tests: attribute of data type enum. DUT responds with the report data action with the right attribute value." verification: | + In case of chip tool, here is an example command to use + sudo ./chip-tool occupancysensing read occupancy-sensor-type 1 1 [1653630949.025002][9198:9203] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0406 Attribute 0x0000_0001 DataVersion: 3604656322 @@ -453,6 +505,8 @@ tests: attribute of data type bitmap. DUT responds with the report data action with the right attribute value." verification: | + In case of chip tool, here is an example command to use + sudo ./chip-tool levelcontrol read options 1 1 [1653631017.039079][9211:9216] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0008 Attribute 0x0000_000F DataVersion: 199562416 @@ -471,6 +525,8 @@ tests: "TH sends the Read Request Message to the DUT to read any attribute to an unsupported Endpoint. DUT responds with the report data action." verification: | + In case of chip tool, here is an example command to use + sudo ./chip-tool any read-by-id 0x3 0x1 1 8 [1653631094.367299][9229:9234] CHIP:DMG: SuppressResponse = true, @@ -484,6 +540,8 @@ tests: "TH sends the Read Request Message to the DUT to read any attribute to an unsupported cluster. DUT responds with the report data action." verification: | + In case of chip tool, here is an example command to use + sudo ./chip-tool any read-by-id 0x3 0x1 1 2 [1653631187.121757][9257:9262] CHIP:DMG: SuppressResponse = true, @@ -497,6 +555,8 @@ tests: "TH sends the Read Request Message to the DUT to read an unsupported attribute DUT responds with the report data action." verification: | + In case of chip tool, here is an example command to use + sudo ./chip-tool thermostat read outdoor-temperature 1 1 [1653631289.755681][9274:9279] CHIP:DMG: SuppressResponse = true, @@ -518,6 +578,8 @@ tests: the path that requires a privilege that is not granted for the cluster in the path. DUT responds with the report data action." verification: | + In case of chip tool, here is an example command to use + ./chip-tool accesscontrol write acl '[{"fabricIndex": 1, "privilege": 5, "authMode": 2, "subjects": [1234], "targets": null}]' 1 0 1st send above mentioned ACL command and then verify the below mentioned command ./chip-tool operationalcredentials read trusted-root-certificates 1 0 @@ -533,6 +595,8 @@ tests: "TH sends the Read Request Message to the DUT to read an attribute Repeat the above steps 3 times." verification: | + In case of chip tool, here is an example command to use + sudo ./chip-tool identify read identify-time 1 1 [1653631418.770328][9322:9327] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0003 Attribute 0x0000_0000 DataVersion: 3620435651 [1653631418.770402][9322:9327] CHIP:TOO: identify time: 0 @@ -556,6 +620,8 @@ tests: read request to the same cluster with the DataVersionFilter Field set with the dataversion value received before." verification: | + In case of chip tool, here is an example command to use + sudo ./chip-tool identify read identify-time 1 1 [1653633746.447923][9791:9796] CHIP:DMG: ReportDataMessage = [1653633746.447944][9791:9796] CHIP:DMG: { @@ -606,6 +672,8 @@ tests: the DataVersionFilter Field set with the dataversion value received before." verification: | + In case of chip tool, here is an example command to use + sudo ./chip-tool identify read identify-time 1 1 [1653632941.730187][9571:9576] CHIP:DMG: ReportDataMessage = @@ -665,6 +733,8 @@ tests: cluster with the DataVersionFilter Field set with the dataversion value received before." verification: | + In case of chip tool, here is an example command to use + sudo ./chip-tool any read-by-id 0x03 0xFFFFFFFF 1 1 [1653633965.092996][9835:9840] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0003 Attribute 0x0000_0000 DataVersion: 3620435654 @@ -757,6 +827,8 @@ tests: and also an older DataVersion. The Read Request Message should have 2 DataVersionIB filters." verification: | + In case of chip tool, here is an example command to use + sudo ./chip-tool identify read identify-time 1 1 [1653634213.984023][9909:9914] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0003 Attribute 0x0000_0000 DataVersion: 3620435660 @@ -824,6 +896,8 @@ tests: supported attribute/wildcard on another cluster B. DataVersionList field should only contain the DataVersion of cluster A." verification: | + In case of chip tool, here is an example command to use + sudo ./chip-tool any read-by-id 0x03 0xFFFFFFFF 1 1 [1653634446.678378][9962:9967] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0003 Attribute 0x0000_0000 DataVersion: 3620435660 @@ -891,7 +965,17 @@ tests: [[Endpoint = Specific Endpoint, Attribute = Specific Non Global Attribute]]" verification: | - https://github.com/CHIP-Specifications/chip-test-plans/issues/1373 + ./chip-tool any read-by-id 0xFFFFFFFF 0x0 1 1 + + [1656504191.589526][2805:2810] CHIP:EM: Removed CHIP MessageCounter:183619379 from RetransTable on exchange 22711i + [1656504191.589590][2805:2810] CHIP:DMG: StatusResponseMessage = + [1656504191.589630][2805:2810] CHIP:DMG: { + [1656504191.589665][2805:2810] CHIP:DMG: Status = 0x80 (INVALID_ACTION), + [1656504191.589703][2805:2810] CHIP:DMG: InteractionModelRevision = 1 + [1656504191.589744][2805:2810] CHIP:DMG: } + [1656504191.589782][2805:2810] CHIP:IM: Received status response, status is 0x80 (INVALID_ACTION) + [1656504191.589833][2805:2810] CHIP:TOO: Error: IM Error 0x00000580: General error: 0x80 (INVALID_ACTION) + [1656504191.589971][2805:2810] CHIP:EM: Sending Standalone Ack for MessageCounter:1519537 on exchange 22711i disabled: true - label: @@ -899,7 +983,15 @@ tests: attribute from all clusters at all Endpoints AttributePath = [[Attribute = Specific Non Global Attribute]]" verification: | - https://github.com/CHIP-Specifications/chip-test-plans/issues/1373 + ./chip-tool any read-by-id 0xFFFFFFFF 0x0 1 0xFFFF + [1656503822.388967][2787:2792] CHIP:DMG: StatusResponseMessage = + [1656503822.389027][2787:2792] CHIP:DMG: { + [1656503822.389066][2787:2792] CHIP:DMG: Status = 0x80 (INVALID_ACTION), + [1656503822.389107][2787:2792] CHIP:DMG: InteractionModelRevision = 1 + [1656503822.389161][2787:2792] CHIP:DMG: } + [1656503822.389202][2787:2792] CHIP:IM: Received status response, status is 0x80 (INVALID_ACTION) + [1656503822.389272][2787:2792] CHIP:TOO: Error: IM Error 0x00000580: General error: 0x80 (INVALID_ACTION) + [1656503822.389373][2787:2792] CHIP:EM: Sending Standalone Ack for MessageCounter:185578 on exchange 45672i disabled: true - label: diff --git a/src/app/tests/suites/certification/Test_TC_IDM_3_1.yaml b/src/app/tests/suites/certification/Test_TC_IDM_3_1.yaml index e0254fcc152383..2ea03d61c77fdd 100644 --- a/src/app/tests/suites/certification/Test_TC_IDM_3_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_IDM_3_1.yaml @@ -13,8 +13,7 @@ # limitations under the License. # Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default -name: - 20.3.1. [TC-IDM-3.1] Write Request Action from DUT to TH [DUT - Controller] +name: 21.3.1. [TC-IDM-3.1] Write Request Action from DUT to TH. [{DUT_Client}] config: nodeId: 0x12344321 @@ -26,40 +25,42 @@ tests: "DUT sends the WriteRequestMessage to the TH to modify one attribute data" verification: | - sudo ./chip-tool levelcontrol write on-level 2 1 1 + In case of chip tool, here is an example command to use - [1653636768.762894][11142:11147] CHIP:DMG: WriteResponseMessage = - [1653636768.762912][11142:11147] CHIP:DMG: { - [1653636768.762924][11142:11147] CHIP:DMG: AttributeStatusIBs = - [1653636768.762946][11142:11147] CHIP:DMG: [ - [1653636768.762958][11142:11147] CHIP:DMG: AttributeStatusIB = - [1653636768.762972][11142:11147] CHIP:DMG: { - [1653636768.762988][11142:11147] CHIP:DMG: AttributePathIB = - [1653636768.763007][11142:11147] CHIP:DMG: { - [1653636768.763026][11142:11147] CHIP:DMG: Endpoint = 0x1, - [1653636768.763044][11142:11147] CHIP:DMG: Cluster = 0x8, - [1653636768.763064][11142:11147] CHIP:DMG: Attribute = 0x0000_0011, - [1653636768.763082][11142:11147] CHIP:DMG: } - [1653636768.763110][11142:11147] CHIP:DMG: - [1653636768.763125][11142:11147] CHIP:DMG: StatusIB = - [1653636768.763141][11142:11147] CHIP:DMG: { - [1653636768.763155][11142:11147] CHIP:DMG: status = 0x00 (SUCCESS), - [1653636768.763169][11142:11147] CHIP:DMG: }, - [1653636768.763184][11142:11147] CHIP:DMG: - [1653636768.763196][11142:11147] CHIP:DMG: }, - [1653636768.763218][11142:11147] CHIP:DMG: - [1653636768.763233][11142:11147] CHIP:DMG: ], - [1653636768.763252][11142:11147] CHIP:DMG: - [1653636768.763268][11142:11147] CHIP:DMG: InteractionModelRevision = 1 - [1653636768.763280][11142:11147] CHIP:DMG: } - [1653636768.763347][11142:11147] CHIP:DMG: WriteClient moving to [AwaitingDe] + verify on TH receives the right write Request Message for the data sent in the above command + sudo ./chip-tool levelcontrol write on-level 2 1 1 + [1655795552.551487][7331:7331] CHIP:EM: Handling via exchange: 41640r, Delegate: 0xaaaad9aed418 + [1655795552.551552][7331:7331] CHIP:IM: Received Write request + [1655795552.551589][7331:7331] CHIP:DMG: IM WH moving to [Initialized] + [1655795552.551669][7331:7331] CHIP:DMG: WriteRequestMessage = + [1655795552.551710][7331:7331] CHIP:DMG: { + [1655795552.551747][7331:7331] CHIP:DMG: suppressResponse = false, + [1655795552.551791][7331:7331] CHIP:DMG: timedRequest = false, + [1655795552.551832][7331:7331] CHIP:DMG: AttributeDataIBs = + [1655795552.551882][7331:7331] CHIP:DMG: [ + [1655795552.551921][7331:7331] CHIP:DMG: AttributeDataIB = + [1655795552.551966][7331:7331] CHIP:DMG: { + [1655795552.552009][7331:7331] CHIP:DMG: AttributePathIB = + [1655795552.552072][7331:7331] CHIP:DMG: { + [1655795552.552125][7331:7331] CHIP:DMG: Endpoint = 0x1, + [1655795552.552180][7331:7331] CHIP:DMG: Cluster = 0x8, + [1655795552.552234][7331:7331] CHIP:DMG: Attribute = 0x0000_0011, + [1655795552.552275][7331:7331] CHIP:DMG: } + [1655795552.552327][7331:7331] CHIP:DMG: + [1655795552.552381][7331:7331] CHIP:DMG: Data = 2, + [1655795552.552428][7331:7331] CHIP:DMG: }, + [1655795552.552478][7331:7331] CHIP:DMG: + [1655795552.552517][7331:7331] CHIP:DMG: ], + [1655795552.552564][7331:7331] CHIP:DMG: + [1655795552.552605][7331:7331] CHIP:DMG: moreChunkedMessages = false, + [1655795552.552647][7331:7331] CHIP:DMG: InteractionModelRevision = 1 + [1655795552.552686][7331:7331] CHIP:DMG: }, sudo ./chip-tool levelcontrol read on-level 1 1 - [1653636854.551347][11158:11163] CHIP:DMG: } - [1653636854.551442][11158:11163] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0008 Attribute 0x0000_0011 DataVersion: 199562417 - [1653636854.551486][11158:11163] CHIP:TOO: on level: 2 - [1653636854.551543][11158:11163] CHIP:EM: Sending Standalone Ack for MessageCounter:9262666 on exchange 52004i + [1655795604.755214][6880:6885] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0008 Attribute 0x0000_0011 DataVersion: 737039636 + [1655795604.755363][6880:6885] CHIP:TOO: on level: 2 + [1655795604.755460][6880:6885] CHIP:EM: Sending Standalone Ack for MessageCounter:83198098 on exchange 53763i disabled: true - label: @@ -67,120 +68,139 @@ tests: on all Endpoints. On receipt of this message, TH should modify the attribute and send a WriteResponseMessage to the DUT." verification: | - V1 out of scope + Out of Scope for V1.0 disabled: true - label: "[Optional] DUT sends the WriteRequestMessage to the TH to write an attribute of data type bool." verification: | - sudo ./chip-tool basic write local-config-disabled 1 1 0 - [1653636925.022916][11169:11174] CHIP:DMG: WriteResponseMessage = - [1653636925.022948][11169:11174] CHIP:DMG: { - [1653636925.022967][11169:11174] CHIP:DMG: AttributeStatusIBs = - [1653636925.022996][11169:11174] CHIP:DMG: [ - [1653636925.023018][11169:11174] CHIP:DMG: AttributeStatusIB = - [1653636925.023045][11169:11174] CHIP:DMG: { - [1653636925.023067][11169:11174] CHIP:DMG: AttributePathIB = - [1653636925.023091][11169:11174] CHIP:DMG: { - [1653636925.023110][11169:11174] CHIP:DMG: Endpoint = 0x0, - [1653636925.023125][11169:11174] CHIP:DMG: Cluster = 0x28, - [1653636925.023140][11169:11174] CHIP:DMG: Attribute = 0x0000_0010, - [1653636925.023171][11169:11174] CHIP:DMG: } - [1653636925.023192][11169:11174] CHIP:DMG: - [1653636925.023205][11169:11174] CHIP:DMG: StatusIB = - [1653636925.023220][11169:11174] CHIP:DMG: { - [1653636925.023243][11169:11174] CHIP:DMG: status = 0x00 (SUCCESS), - [1653636925.023266][11169:11174] CHIP:DMG: }, - [1653636925.023288][11169:11174] CHIP:DMG: - [1653636925.023305][11169:11174] CHIP:DMG: }, - [1653636925.023328][11169:11174] CHIP:DMG: - [1653636925.023348][11169:11174] CHIP:DMG: ], - [1653636925.023382][11169:11174] CHIP:DMG: - [1653636925.023401][11169:11174] CHIP:DMG: InteractionModelRevision = 1 - [1653636925.023418][11169:11174] CHIP:DMG: } - - sudo ./chip-tool basic read local-config-disabled 1 0 - [1653636965.583608][11178:11183] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0028 Attribute 0x0000_0010 DataVersion: 2705188067 - [1653636965.583617][11178:11183] CHIP:TOO: LocalConfigDisabled: TRUE - [1653636965.583647][11178:11183] CHIP:EM: Sending Standalone Ack for MessageCounter:2068189 on exchange 17706i + In case of chip tool, here is an example command to use + + verify on TH receives the right write Request Message for the data sent in the above command + + ./chip-tool basic write local-config-disabled 1 1 0 + [1655795795.033946][7331:7331] CHIP:EM: Handling via exchange: 11668r, Delegate: 0xaaaad9aed418 + [1655795795.034011][7331:7331] CHIP:IM: Received Write request + [1655795795.034050][7331:7331] CHIP:DMG: IM WH moving to [Initialized] + [1655795795.034127][7331:7331] CHIP:DMG: WriteRequestMessage = + [1655795795.034168][7331:7331] CHIP:DMG: { + [1655795795.034206][7331:7331] CHIP:DMG: suppressResponse = false, + [1655795795.034250][7331:7331] CHIP:DMG: timedRequest = false, + [1655795795.034290][7331:7331] CHIP:DMG: AttributeDataIBs = + [1655795795.034340][7331:7331] CHIP:DMG: [ + [1655795795.034380][7331:7331] CHIP:DMG: AttributeDataIB = + [1655795795.034425][7331:7331] CHIP:DMG: { + [1655795795.034467][7331:7331] CHIP:DMG: AttributePathIB = + [1655795795.034515][7331:7331] CHIP:DMG: { + [1655795795.034568][7331:7331] CHIP:DMG: Endpoint = 0x0, + [1655795795.034625][7331:7331] CHIP:DMG: Cluster = 0x28, + [1655795795.034680][7331:7331] CHIP:DMG: Attribute = 0x0000_0010, + [1655795795.034737][7331:7331] CHIP:DMG: } + [1655795795.034784][7331:7331] CHIP:DMG: + [1655795795.034834][7331:7331] CHIP:DMG: Data = true, + [1655795795.034880][7331:7331] CHIP:DMG: }, + [1655795795.034929][7331:7331] CHIP:DMG: + [1655795795.034968][7331:7331] CHIP:DMG: ], + [1655795795.035015][7331:7331] CHIP:DMG: + [1655795795.035056][7331:7331] CHIP:DMG: moreChunkedMessages = false, + [1655795795.035099][7331:7331] CHIP:DMG: InteractionModelRevision = 1 + [1655795795.035138][7331:7331] CHIP:DMG: }, + [1655795795.035259][7331:7331] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0028 e=0 p=m + + ./chip-tool basic read local-config-disabled 1 0 + [1655795843.336042][6902:6907] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0028 Attribute 0x0000_0010 DataVersion: 1263909562 + [1655795843.336093][6902:6907] CHIP:TOO: LocalConfigDisabled: TRUE + [1655795843.336251][6902:6907] CHIP:EM: Sending Standalone Ack for MessageCounter:108030495 on exchange 43207i disabled: true - label: "[Optional] DUT sends the WriteRequestMessage to the TH to write an attribute of data type string." verification: | - sudo ./chip-tool basic write node-label node 1 0 - - [1653637012.758732][11186:11191] CHIP:DMG: WriteResponseMessage = - [1653637012.758758][11186:11191] CHIP:DMG: { - [1653637012.758781][11186:11191] CHIP:DMG: AttributeStatusIBs = - [1653637012.758816][11186:11191] CHIP:DMG: [ - [1653637012.758838][11186:11191] CHIP:DMG: AttributeStatusIB = - [1653637012.758893][11186:11191] CHIP:DMG: { - [1653637012.758921][11186:11191] CHIP:DMG: AttributePathIB = - [1653637012.758949][11186:11191] CHIP:DMG: { - [1653637012.758976][11186:11191] CHIP:DMG: Endpoint = 0x0, - [1653637012.759019][11186:11191] CHIP:DMG: Cluster = 0x28, - [1653637012.759046][11186:11191] CHIP:DMG: Attribute = 0x0000_0005, - [1653637012.759069][11186:11191] CHIP:DMG: } - [1653637012.759103][11186:11191] CHIP:DMG: - [1653637012.759128][11186:11191] CHIP:DMG: StatusIB = - [1653637012.759154][11186:11191] CHIP:DMG: { - [1653637012.759179][11186:11191] CHIP:DMG: status = 0x00 (SUCCESS), - [1653637012.759210][11186:11191] CHIP:DMG: }, - [1653637012.759237][11186:11191] CHIP:DMG: - [1653637012.759259][11186:11191] CHIP:DMG: }, - [1653637012.759288][11186:11191] CHIP:DMG: - [1653637012.759309][11186:11191] CHIP:DMG: ], - [1653637012.759342][11186:11191] CHIP:DMG: - [1653637012.759365][11186:11191] CHIP:DMG: InteractionModelRevision = 1 - [1653637012.759386][11186:11191] CHIP:DMG: } - [1653637012.759483][11186:11191] CHIP:DMG: WriteClient moving to [AwaitingDe] - - - sudo ./chip-tool basic read node-label 1 0 - [1653637022.172793][11195:11200] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0028 Attribute 0x0000_0005 DataVersion: 2705188068 - [1653637022.172827][11195:11200] CHIP:TOO: NodeLabel: node - [1653637022.172936][11195:11200] CHIP:EM: Sending Standalone Ack for MessageCounter:1112826 on exchange 9435i + In case of chip tool, here is an example command to use + + verify on TH receives the right write Request Message for the data sent in the above command + + ./chip-tool basic write node-label node 1 0 + + [1655796035.022296][7331:7331] CHIP:EM: Handling via exchange: 64908r, Delegate: 0xaaaad9aed418 + [1655796035.022365][7331:7331] CHIP:IM: Received Write request + [1655796035.022407][7331:7331] CHIP:DMG: IM WH moving to [Initialized] + [1655796035.022494][7331:7331] CHIP:DMG: WriteRequestMessage = + [1655796035.022541][7331:7331] CHIP:DMG: { + [1655796035.022584][7331:7331] CHIP:DMG: suppressResponse = false, + [1655796035.022633][7331:7331] CHIP:DMG: timedRequest = false, + [1655796035.022679][7331:7331] CHIP:DMG: AttributeDataIBs = + [1655796035.022735][7331:7331] CHIP:DMG: [ + [1655796035.022780][7331:7331] CHIP:DMG: AttributeDataIB = + [1655796035.022831][7331:7331] CHIP:DMG: { + [1655796035.022879][7331:7331] CHIP:DMG: AttributePathIB = + [1655796035.022939][7331:7331] CHIP:DMG: { + [1655796035.022999][7331:7331] CHIP:DMG: Endpoint = 0x0, + [1655796035.023067][7331:7331] CHIP:DMG: Cluster = 0x28, + [1655796035.023134][7331:7331] CHIP:DMG: Attribute = 0x0000_0005, + [1655796035.023192][7331:7331] CHIP:DMG: } + [1655796035.023252][7331:7331] CHIP:DMG: + [1655796035.023313][7331:7331] CHIP:DMG: Data = "node", + [1655796035.023366][7331:7331] CHIP:DMG: }, + [1655796035.023421][7331:7331] CHIP:DMG: + [1655796035.023466][7331:7331] CHIP:DMG: ], + [1655796035.023519][7331:7331] CHIP:DMG: + [1655796035.023565][7331:7331] CHIP:DMG: moreChunkedMessages = false, + [1655796035.023613][7331:7331] CHIP:DMG: InteractionModelRevision = 1 + [1655796035.023656][7331:7331] CHIP:DMG: }, + [1655796035.023791][7331:7331] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0028 e=0 p=m + [1655796035.023851][7331:7331] CHIP:DMG: AccessControl: allowed + + ./chip-tool basic read node-label 1 0 + [1655796082.079468][6918:6923] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0028 Attribute 0x0000_0005 DataVersion: 1263909563 + [1655796082.079509][6918:6923] CHIP:TOO: NodeLabel: node + [1655796082.079608][6918:6923] CHIP:EM: Sending Standalone Ack for MessageCounter:256008218 on exchange 23185i disabled: true - label: "[Optional] DUT sends the WriteRequestMessage to the TH to write an attribute of data type unsigned integer." verification: | - sudo ./chip-tool any write-by-id 0x0008 0x0010 1 1 1 - - [1653637100.119726][11211:11216] CHIP:DMG: WriteResponseMessage = - [1653637100.119740][11211:11216] CHIP:DMG: { - [1653637100.119751][11211:11216] CHIP:DMG: AttributeStatusIBs = - [1653637100.119772][11211:11216] CHIP:DMG: [ - [1653637100.119787][11211:11216] CHIP:DMG: AttributeStatusIB = - [1653637100.119804][11211:11216] CHIP:DMG: { - [1653637100.119820][11211:11216] CHIP:DMG: AttributePathIB = - [1653637100.119838][11211:11216] CHIP:DMG: { - [1653637100.119857][11211:11216] CHIP:DMG: Endpoint = 0x1, - [1653637100.119872][11211:11216] CHIP:DMG: Cluster = 0x8, - [1653637100.119891][11211:11216] CHIP:DMG: Attribute = 0x0000_0010, - [1653637100.119911][11211:11216] CHIP:DMG: } - [1653637100.119934][11211:11216] CHIP:DMG: - [1653637100.119951][11211:11216] CHIP:DMG: StatusIB = - [1653637100.119972][11211:11216] CHIP:DMG: { - [1653637100.119989][11211:11216] CHIP:DMG: status = 0x00 (SUCCESS), - [1653637100.120006][11211:11216] CHIP:DMG: }, - [1653637100.120025][11211:11216] CHIP:DMG: - [1653637100.120041][11211:11216] CHIP:DMG: }, - [1653637100.120063][11211:11216] CHIP:DMG: - [1653637100.120078][11211:11216] CHIP:DMG: ], - [1653637100.120100][11211:11216] CHIP:DMG: - [1653637100.120116][11211:11216] CHIP:DMG: InteractionModelRevision = 1 - [1653637100.120131][11211:11216] CHIP:DMG: } - [1653637100.120200][11211:11216] CHIP:DMG: WriteClient moving to [AwaitingDe] - - sudo ./chip-tool any read-by-id 0x0008 0x0010 1 1 - [1653637110.019283][11218:11223] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0008 Attribute 0x0000_0010 DataVersion: 199562418 - [1653637110.019354][11218:11223] CHIP:TOO: on off transition time: 1 - [1653637110.019428][11218:11223] CHIP:EM: Sending Standalone Ack for MessageCounter:13973760 on exchange 8819i + In case of chip tool, here is an example command to use + + verify on TH receives the right write Request Message for the data sent in the above command + + ./chip-tool any write-by-id 0x0008 0x0010 1 1 1 + [1655796141.166846][7331:7331] CHIP:IM: Received Write request + [1655796141.166889][7331:7331] CHIP:DMG: IM WH moving to [Initialized] + [1655796141.166973][7331:7331] CHIP:DMG: WriteRequestMessage = + [1655796141.167019][7331:7331] CHIP:DMG: { + [1655796141.167062][7331:7331] CHIP:DMG: suppressResponse = false, + [1655796141.167111][7331:7331] CHIP:DMG: timedRequest = false, + [1655796141.167155][7331:7331] CHIP:DMG: AttributeDataIBs = + [1655796141.167211][7331:7331] CHIP:DMG: [ + [1655796141.167255][7331:7331] CHIP:DMG: AttributeDataIB = + [1655796141.167311][7331:7331] CHIP:DMG: { + [1655796141.167362][7331:7331] CHIP:DMG: AttributePathIB = + [1655796141.167421][7331:7331] CHIP:DMG: { + [1655796141.167479][7331:7331] CHIP:DMG: Endpoint = 0x1, + [1655796141.167542][7331:7331] CHIP:DMG: Cluster = 0x8, + [1655796141.167603][7331:7331] CHIP:DMG: Attribute = 0x0000_0010, + [1655796141.167660][7331:7331] CHIP:DMG: } + [1655796141.167719][7331:7331] CHIP:DMG: + [1655796141.167782][7331:7331] CHIP:DMG: Data = 1, + [1655796141.167836][7331:7331] CHIP:DMG: }, + [1655796141.167890][7331:7331] CHIP:DMG: + [1655796141.167933][7331:7331] CHIP:DMG: ], + [1655796141.167987][7331:7331] CHIP:DMG: + [1655796141.168032][7331:7331] CHIP:DMG: moreChunkedMessages = false, + [1655796141.168079][7331:7331] CHIP:DMG: InteractionModelRevision = 1 + [1655796141.168121][7331:7331] CHIP:DMG: }, + [1655796141.168253][7331:7331] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0008 e=1 p=o + [1655796141.168313][7331:7331] CHIP:DMG: AccessControl: allowed + + + ./chip-tool any read-by-id 0x0008 0x0010 1 1 + [1655796192.032715][6931:6936] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0008 Attribute 0x0000_0010 DataVersion: 737039637 + [1655796192.032807][6931:6936] CHIP:TOO: on off transition time: 1 + [1655796192.032908][6931:6936] CHIP:EM: Sending Standalone Ack for MessageCounter:249349258 on exchange 7433i disabled: true - label: @@ -222,75 +242,88 @@ tests: "[Optional] DUT sends the WriteRequestMessage to the TH to write an attribute of data type enum." verification: | - sudo ./chip-tool any write-by-id 0x0204 0 1 1 1 - [1653637194.357339][11226:11231] CHIP:DMG: WriteResponseMessage = - [1653637194.357360][11226:11231] CHIP:DMG: { - [1653637194.357380][11226:11231] CHIP:DMG: AttributeStatusIBs = - [1653637194.357413][11226:11231] CHIP:DMG: [ - [1653637194.357431][11226:11231] CHIP:DMG: AttributeStatusIB = - [1653637194.357454][11226:11231] CHIP:DMG: { - [1653637194.357473][11226:11231] CHIP:DMG: AttributePathIB = - [1653637194.357496][11226:11231] CHIP:DMG: { - [1653637194.357520][11226:11231] CHIP:DMG: Endpoint = 0x1, - [1653637194.357544][11226:11231] CHIP:DMG: Cluster = 0x204, - [1653637194.357570][11226:11231] CHIP:DMG: Attribute = 0x0000_0000, - [1653637194.357590][11226:11231] CHIP:DMG: } - [1653637194.357620][11226:11231] CHIP:DMG: - [1653637194.357639][11226:11231] CHIP:DMG: StatusIB = - [1653637194.357663][11226:11231] CHIP:DMG: { - [1653637194.357686][11226:11231] CHIP:DMG: status = 0x00 (SUCCESS), - [1653637194.357707][11226:11231] CHIP:DMG: }, - [1653637194.357731][11226:11231] CHIP:DMG: - [1653637194.357748][11226:11231] CHIP:DMG: }, - [1653637194.357776][11226:11231] CHIP:DMG: - [1653637194.357792][11226:11231] CHIP:DMG: ], - [1653637194.357821][11226:11231] CHIP:DMG: - [1653637194.357839][11226:11231] CHIP:DMG: InteractionModelRevision = 1 - [1653637194.357858][11226:11231] CHIP:DMG: } - [1653637194.357936][11226:11231] CHIP:DMG: WriteClient moving to [AwaitingDe] - - sudo ./chip-tool any read-by-id 0x0204 0 1 1 - [1653637206.201431][11236:11241] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0204 Attribute 0x0000_0000 DataVersion: 262853191 - [1653637206.201456][11236:11241] CHIP:TOO: temperature display mode: 1 - [1653637206.201496][11236:11241] CHIP:EM: Sending Standalone Ack for MessageCounter:9550262 on exchange 37195i + In case of chip tool, here is an example command to use + + verify on TH receives the right write Request Message for the data sent in the above command + + ./chip-tool any write-by-id 0x0204 0 1 1 1 + [1655796297.607841][7331:7331] CHIP:EM: Handling via exchange: 37495r, Delegate: 0xaaaad9aed418 + [1655796297.607911][7331:7331] CHIP:IM: Received Write request + [1655796297.607954][7331:7331] CHIP:DMG: IM WH moving to [Initialized] + [1655796297.608038][7331:7331] CHIP:DMG: WriteRequestMessage = + [1655796297.608086][7331:7331] CHIP:DMG: { + [1655796297.608128][7331:7331] CHIP:DMG: suppressResponse = false, + [1655796297.608178][7331:7331] CHIP:DMG: timedRequest = false, + [1655796297.608222][7331:7331] CHIP:DMG: AttributeDataIBs = + [1655796297.608278][7331:7331] CHIP:DMG: [ + [1655796297.608323][7331:7331] CHIP:DMG: AttributeDataIB = + [1655796297.608383][7331:7331] CHIP:DMG: { + [1655796297.608431][7331:7331] CHIP:DMG: AttributePathIB = + [1655796297.608491][7331:7331] CHIP:DMG: { + [1655796297.608549][7331:7331] CHIP:DMG: Endpoint = 0x1, + [1655796297.608618][7331:7331] CHIP:DMG: Cluster = 0x204, + [1655796297.608685][7331:7331] CHIP:DMG: Attribute = 0x0000_0000, + [1655796297.608749][7331:7331] CHIP:DMG: } + [1655796297.608810][7331:7331] CHIP:DMG: + [1655796297.608869][7331:7331] CHIP:DMG: Data = 1, + [1655796297.608923][7331:7331] CHIP:DMG: }, + [1655796297.608981][7331:7331] CHIP:DMG: + [1655796297.609025][7331:7331] CHIP:DMG: ], + [1655796297.609078][7331:7331] CHIP:DMG: + [1655796297.609124][7331:7331] CHIP:DMG: moreChunkedMessages = false, + [1655796297.609171][7331:7331] CHIP:DMG: InteractionModelRevision = 1 + [1655796297.609214][7331:7331] CHIP:DMG: }, + [1655796297.609342][7331:7331] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0204 e=1 p=o + [1655796297.609403][7331:7331] CHIP:DMG: AccessControl: allowed + + ./chip-tool any read-by-id 0x0204 0 1 1 + [1655796341.132655][6946:6951] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0204 Attribute 0x0000_0000 DataVersion: 3165945391 + [1655796341.132864][6946:6951] CHIP:TOO: temperature display mode: 1 + [1655796341.132973][6946:6951] CHIP:EM: Sending Standalone Ack for MessageCounter:245498041 on exchange 51992i disabled: true - label: "[Optional] DUT sends the WriteRequestMessage to the TH to write an attribute of data type bitmap." verification: | - sudo ./chip-tool colorcontrol write-by-id 0x000f 1 1 1 - - [1653637300.588667][11253:11258] CHIP:DMG: WriteResponseMessage = - [1653637300.588684][11253:11258] CHIP:DMG: { - [1653637300.588695][11253:11258] CHIP:DMG: AttributeStatusIBs = - [1653637300.588716][11253:11258] CHIP:DMG: [ - [1653637300.588728][11253:11258] CHIP:DMG: AttributeStatusIB = - [1653637300.588743][11253:11258] CHIP:DMG: { - [1653637300.588758][11253:11258] CHIP:DMG: AttributePathIB = - [1653637300.588776][11253:11258] CHIP:DMG: { - [1653637300.588795][11253:11258] CHIP:DMG: Endpoint = 0x1, - [1653637300.588819][11253:11258] CHIP:DMG: Cluster = 0x300, - [1653637300.588839][11253:11258] CHIP:DMG: Attribute = 0x0000_000F, - [1653637300.588858][11253:11258] CHIP:DMG: } - [1653637300.588882][11253:11258] CHIP:DMG: - [1653637300.588898][11253:11258] CHIP:DMG: StatusIB = - [1653637300.588916][11253:11258] CHIP:DMG: { - [1653637300.588934][11253:11258] CHIP:DMG: status = 0x00 (SUCCESS), - [1653637300.588951][11253:11258] CHIP:DMG: }, - [1653637300.588969][11253:11258] CHIP:DMG: - [1653637300.588984][11253:11258] CHIP:DMG: }, - [1653637300.589005][11253:11258] CHIP:DMG: - [1653637300.589020][11253:11258] CHIP:DMG: ], - [1653637300.589042][11253:11258] CHIP:DMG: - [1653637300.589058][11253:11258] CHIP:DMG: InteractionModelRevision = 1 - [1653637300.589072][11253:11258] CHIP:DMG: } - [1653637300.589138][11253:11258] CHIP:DMG: WriteClient moving to [AwaitingDe] + In case of chip tool, here is an example command to use + + verify on TH receives the right write Request Message for the data sent in the above command + + ./chip-tool colorcontrol write-by-id 0x000f 1 1 1 + [1655796429.696904][7331:7331] CHIP:IM: Received Write request + [1655796429.696947][7331:7331] CHIP:DMG: IM WH moving to [Initialized] + [1655796429.697031][7331:7331] CHIP:DMG: WriteRequestMessage = + [1655796429.697078][7331:7331] CHIP:DMG: { + [1655796429.697121][7331:7331] CHIP:DMG: suppressResponse = false, + [1655796429.697170][7331:7331] CHIP:DMG: timedRequest = false, + [1655796429.697215][7331:7331] CHIP:DMG: AttributeDataIBs = + [1655796429.697270][7331:7331] CHIP:DMG: [ + [1655796429.697315][7331:7331] CHIP:DMG: AttributeDataIB = + [1655796429.697370][7331:7331] CHIP:DMG: { + [1655796429.697422][7331:7331] CHIP:DMG: AttributePathIB = + [1655796429.697487][7331:7331] CHIP:DMG: { + [1655796429.697582][7331:7331] CHIP:DMG: Endpoint = 0x1, + [1655796429.697650][7331:7331] CHIP:DMG: Cluster = 0x300, + [1655796429.697718][7331:7331] CHIP:DMG: Attribute = 0x0000_000F, + [1655796429.697781][7331:7331] CHIP:DMG: } + [1655796429.697843][7331:7331] CHIP:DMG: + [1655796429.697910][7331:7331] CHIP:DMG: Data = 1, + [1655796429.697963][7331:7331] CHIP:DMG: }, + [1655796429.698021][7331:7331] CHIP:DMG: + [1655796429.698065][7331:7331] CHIP:DMG: ], + [1655796429.698118][7331:7331] CHIP:DMG: + [1655796429.698163][7331:7331] CHIP:DMG: moreChunkedMessages = false, + [1655796429.698210][7331:7331] CHIP:DMG: InteractionModelRevision = 1 + [1655796429.698252][7331:7331] CHIP:DMG: }, + [1655796429.698386][7331:7331] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0300 e=1 p=o + [1655796429.698446][7331:7331] CHIP:DMG: AccessControl: allowed + sudo ./chip-tool colorcontrol read-by-id 0x000f 1 1 - [1653637344.964750][11271:11276] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0300 Attribute 0x0000_000F DataVersion: 3506850134 - [1653637344.964781][11271:11276] CHIP:TOO: color control options: 1 - [1653637344.964865][11271:11276] CHIP:EM: Sending Standalone Ack for MessageCounter:5851001 on exchange 32073i + [1655796493.233673][6961:6966] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0300 Attribute 0x0000_000F DataVersion: 2788050502 + [1655796493.233761][6961:6966] CHIP:TOO: Options: 1 + [1655796493.233865][6961:6966] CHIP:EM: Sending Standalone Ack for MessageCounter:185730221 on exchange 37136i disabled: true - label: @@ -304,49 +337,56 @@ tests: "DUT sends the WriteRequestMessage to the TH to write one attribute on a given cluster and endpoint. Repeat the above steps 3 times." verification: | - sudo ./chip-tool any write-by-id 0x0204 0 1 1 1 - [1653637194.357339][11226:11231] CHIP:DMG: WriteResponseMessage = - [1653637194.357360][11226:11231] CHIP:DMG: { - [1653637194.357380][11226:11231] CHIP:DMG: AttributeStatusIBs = - [1653637194.357413][11226:11231] CHIP:DMG: [ - [1653637194.357431][11226:11231] CHIP:DMG: AttributeStatusIB = - [1653637194.357454][11226:11231] CHIP:DMG: { - [1653637194.357473][11226:11231] CHIP:DMG: AttributePathIB = - [1653637194.357496][11226:11231] CHIP:DMG: { - [1653637194.357520][11226:11231] CHIP:DMG: Endpoint = 0x1, - [1653637194.357544][11226:11231] CHIP:DMG: Cluster = 0x204, - [1653637194.357570][11226:11231] CHIP:DMG: Attribute = 0x0000_0000, - [1653637194.357590][11226:11231] CHIP:DMG: } - [1653637194.357620][11226:11231] CHIP:DMG: - [1653637194.357639][11226:11231] CHIP:DMG: StatusIB = - [1653637194.357663][11226:11231] CHIP:DMG: { - [1653637194.357686][11226:11231] CHIP:DMG: status = 0x00 (SUCCESS), - [1653637194.357707][11226:11231] CHIP:DMG: }, - [1653637194.357731][11226:11231] CHIP:DMG: - [1653637194.357748][11226:11231] CHIP:DMG: }, - [1653637194.357776][11226:11231] CHIP:DMG: - [1653637194.357792][11226:11231] CHIP:DMG: ], - [1653637194.357821][11226:11231] CHIP:DMG: - [1653637194.357839][11226:11231] CHIP:DMG: InteractionModelRevision = 1 - [1653637194.357858][11226:11231] CHIP:DMG: } - [1653637194.357936][11226:11231] CHIP:DMG: WriteClient moving to [AwaitingDe] - - sudo ./chip-tool any read-by-id 0x0204 0 1 1 - [1653637206.201431][11236:11241] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0204 Attribute 0x0000_0000 DataVersion: 262853191 - [1653637206.201456][11236:11241] CHIP:TOO: temperature display mode: 1 - [1653637206.201496][11236:11241] CHIP:EM: Sending Standalone Ack for MessageCounter:9550262 on exchange 37195i + In case of chip tool, here is an example command to use + + verify on TH receives the right write Request Message for the data sent in the above command + + ./chip-tool any write-by-id 0x0204 0 1 1 1 + [1655796724.510633][7331:7331] CHIP:EM: Handling via exchange: 51058r, Delegate: 0xaaaad9aed418 + [1655796724.510711][7331:7331] CHIP:IM: Received Write request + [1655796724.510759][7331:7331] CHIP:DMG: IM WH moving to [Initialized] + [1655796724.510853][7331:7331] CHIP:DMG: WriteRequestMessage = + [1655796724.510907][7331:7331] CHIP:DMG: { + [1655796724.510955][7331:7331] CHIP:DMG: suppressResponse = false, + [1655796724.511023][7331:7331] CHIP:DMG: timedRequest = false, + [1655796724.511076][7331:7331] CHIP:DMG: AttributeDataIBs = + [1655796724.511140][7331:7331] CHIP:DMG: [ + [1655796724.511191][7331:7331] CHIP:DMG: AttributeDataIB = + [1655796724.511253][7331:7331] CHIP:DMG: { + [1655796724.511312][7331:7331] CHIP:DMG: AttributePathIB = + [1655796724.511379][7331:7331] CHIP:DMG: { + [1655796724.511446][7331:7331] CHIP:DMG: Endpoint = 0x1, + [1655796724.511520][7331:7331] CHIP:DMG: Cluster = 0x204, + [1655796724.511592][7331:7331] CHIP:DMG: Attribute = 0x0000_0000, + [1655796724.511659][7331:7331] CHIP:DMG: } + [1655796724.511731][7331:7331] CHIP:DMG: + [1655796724.511801][7331:7331] CHIP:DMG: Data = 1, + [1655796724.511864][7331:7331] CHIP:DMG: }, + [1655796724.511930][7331:7331] CHIP:DMG: + [1655796724.511980][7331:7331] CHIP:DMG: ], + [1655796724.512041][7331:7331] CHIP:DMG: + [1655796724.512093][7331:7331] CHIP:DMG: moreChunkedMessages = false, + [1655796724.512146][7331:7331] CHIP:DMG: InteractionModelRevision = 1 + [1655796724.512195][7331:7331] CHIP:DMG: }, + [1655796724.512344][7331:7331] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0204 e=1 p=o + + ./chip-tool any read-by-id 0x0204 0 1 1 + [1655796786.513406][6976:6981] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0204 Attribute 0x0000_0000 DataVersion: 3165945392 + [1655796786.513496][6976:6981] CHIP:TOO: temperature display mode: 1 + [1655796786.513593][6976:6981] CHIP:EM: Sending Standalone Ack for MessageCounter:190446058 on exchange 28240i + Repeat the above steps 3 times. disabled: true - label: - "DUT sends a ReadRequest message to the TH to read any attribute on - two clusters. TH returns with a report data action with the attribute - values and the dataversions of the clusters. DUT sends a + "[Optional] DUT sends a ReadRequest message to the TH to read any + attribute on two clusters. TH returns with a report data action with + the attribute values and the dataversions of the clusters. DUT sends a WriteRequestMessage to the DUT to both the clusters with the appropriate dataversions(received in the previous step) to modify the value of an attribute" verification: | - https://github.com/project-chip/connectedhomeip/issues/19139 + Out of Scope for V1.0 disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_IDM_3_2.yaml b/src/app/tests/suites/certification/Test_TC_IDM_3_2.yaml index b10cd7e9a39295..c3b689a9b0faad 100644 --- a/src/app/tests/suites/certification/Test_TC_IDM_3_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_IDM_3_2.yaml @@ -13,7 +13,7 @@ # limitations under the License. # Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default -name: 20.3.2. [TC-IDM-3.2] Write Response Action from DUT to TH. +name: 21.3.2. [TC-IDM-3.2] Write Response Action from DUT to TH. [{DUT_Client}] config: nodeId: 0x12344321 @@ -26,6 +26,10 @@ tests: a given cluster and endpoint. On receipt of this message, DUT should send a write response action." verification: | + In case of chip tool, here is an example command to use + + Verify on TH receives WriteResponseMessage with the status set to Success for the data sent in the above command and veriy by sending a ReadRequestMessage to read the value that was modified. + ./chip-tool levelcontrol write on-level 2 1 1 [1653026683.396666][6229:6234] CHIP:DMG: WriteResponseMessage = @@ -65,7 +69,7 @@ tests: all endpoints. On receipt of this message, DUT should send a Write Response action" verification: | - V1 out of scope + Out of Scope for V1.0 disabled: true - label: @@ -74,6 +78,8 @@ tests: verification: | In case of chip tool, here is an example command to use + Verify on TH receives WriteResponseMessage with the status set to Success for the data sent in the above command and veriy by sending a ReadRequestMessage to read the value that was modified. + sudo ./chip-tool basic write local-config-disabled 1 1 0 [1655201045.952849][3550:3555] CHIP:DMG: WriteResponseMessage = [1655201045.952886][3550:3555] CHIP:DMG: { @@ -115,37 +121,40 @@ tests: verification: | In case of chip tool, here is an example command to use - sudo ./chip-tool basic write node-label 1 1 0 - [1649152505.885287][16202:16208] CHIP:DMG: WriteResponseMessage = - [1649152505.885339][16202:16208] CHIP:DMG: { - [1649152505.885378][16202:16208] CHIP:DMG: AttributeStatusIBs = - [1649152505.885415][16202:16208] CHIP:DMG: [ - [1649152505.885454][16202:16208] CHIP:DMG: AttributeStatusIB = - [1649152505.885499][16202:16208] CHIP:DMG: { - [1649152505.885530][16202:16208] CHIP:DMG: AttributePathIB = - [1649152505.885575][16202:16208] CHIP:DMG: { - [1649152505.885616][16202:16208] CHIP:DMG: Endpoint = 0x0, - [1649152505.885668][16202:16208] CHIP:DMG: Cluster = 0x28, - [1649152505.885720][16202:16208] CHIP:DMG: Attribute = 0x0000_0005, - [1649152505.885759][16202:16208] CHIP:DMG: } - [1649152505.885810][16202:16208] CHIP:DMG: - [1649152505.885855][16202:16208] CHIP:DMG: StatusIB = - [1649152505.885892][16202:16208] CHIP:DMG: { - [1649152505.885942][16202:16208] CHIP:DMG: status = 0x00 (SUCCESS), - [1649152505.885988][16202:16208] CHIP:DMG: }, - [1649152505.886024][16202:16208] CHIP:DMG: - [1649152505.886065][16202:16208] CHIP:DMG: }, - [1649152505.886102][16202:16208] CHIP:DMG: - [1649152505.886139][16202:16208] CHIP:DMG: ], - [1649152505.886174][16202:16208] CHIP:DMG: - [1649152505.886213][16202:16208] CHIP:DMG: InteractionModelRevision = 1 - [1649152505.886240][16202:16208] CHIP:DMG: } + Verify on TH receives WriteResponseMessage with the status set to Success for the data sent in the above command and veriy by sending a ReadRequestMessage to read the value that was modified. + + ./chip-tool basic write node-label new 1 0 + [1655806131.663097][7241:7246] CHIP:DMG: WriteClient moving to [ResponseRe] + [1655806131.663177][7241:7246] CHIP:DMG: WriteResponseMessage = + [1655806131.663215][7241:7246] CHIP:DMG: { + [1655806131.663259][7241:7246] CHIP:DMG: AttributeStatusIBs = + [1655806131.663305][7241:7246] CHIP:DMG: [ + [1655806131.663353][7241:7246] CHIP:DMG: AttributeStatusIB = + [1655806131.663402][7241:7246] CHIP:DMG: { + [1655806131.663453][7241:7246] CHIP:DMG: AttributePathIB = + [1655806131.663511][7241:7246] CHIP:DMG: { + [1655806131.663561][7241:7246] CHIP:DMG: Endpoint = 0x0, + [1655806131.663621][7241:7246] CHIP:DMG: Cluster = 0x28, + [1655806131.663672][7241:7246] CHIP:DMG: Attribute = 0x0000_0005, + [1655806131.663735][7241:7246] CHIP:DMG: } + [1655806131.663791][7241:7246] CHIP:DMG: + [1655806131.663839][7241:7246] CHIP:DMG: StatusIB = + [1655806131.663889][7241:7246] CHIP:DMG: { + [1655806131.663935][7241:7246] CHIP:DMG: status = 0x00 (SUCCESS), + [1655806131.663980][7241:7246] CHIP:DMG: }, + [1655806131.664024][7241:7246] CHIP:DMG: + [1655806131.664063][7241:7246] CHIP:DMG: }, + [1655806131.664106][7241:7246] CHIP:DMG: + [1655806131.664141][7241:7246] CHIP:DMG: ], + [1655806131.664208][7241:7246] CHIP:DMG: + [1655806131.664243][7241:7246] CHIP:DMG: InteractionModelRevision = 1 + [1655806131.664278][7241:7246] CHIP:DMG: } + [1655806131.664372][7241:7246] CHIP:DMG: WriteClient moving to [AwaitingDe] ./chip-tool basic read node-label 1 0 - - [1655201181.791246][3568:3574] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0028 Attribute 0x0000_0005 DataVersion: 1458477848 - [1655201181.791297][3568:3574] CHIP:TOO: NodeLabel: 1 - [1655201181.791421][3568:3574] CHIP:EM: Sending Standalone Ack for MessageCounter:200651197 on exchange 45925i + [1655806189.835517][7250:7255] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0028 Attribute 0x0000_0005 DataVersion: 1238808428 + [1655806189.835566][7250:7255] CHIP:TOO: NodeLabel: new + [1655806189.835689][7250:7255] CHIP:EM: Sending Standalone Ack for MessageCounter:194887570 on exchange 10216i disabled: true - label: @@ -154,7 +163,9 @@ tests: verification: | In case of chip tool, here is an example command to use - sudo ./chip-tool any write-by-id 0x0008 0x0010 1 1 1 + sudo Verify on TH receives WriteResponseMessage with the status set to Success for the data sent in the above command and veriy by sending a ReadRequestMessage to read the value that was modified. + + ./chip-tool any write-by-id 0x0008 0x0010 1 1 1 [1649152567.635323][16212:16217] CHIP:DMG: WriteResponseMessage = [1649152567.635361][16212:16217] CHIP:DMG: { [1649152567.635394][16212:16217] CHIP:DMG: AttributeStatusIBs = @@ -229,6 +240,8 @@ tests: verification: | In case of chip tool, here is an example command to use + Verify on TH receives WriteResponseMessage with the status set to Success for the data sent in the above command and veriy by sending a ReadRequestMessage to read the value that was modified. + sudo ./chip-tool any write-by-id 0x0204 0 1 1 1 [1649152707.514290][16226:16231] CHIP:DMG: WriteResponseMessage = [1649152707.514324][16226:16231] CHIP:DMG: { @@ -269,6 +282,8 @@ tests: verification: | In case of chip tool, here is an example command to use + Verify on TH receives WriteResponseMessage with the status set to Success for the data sent in the above command and veriy by sending a ReadRequestMessage to read the value that was modified. + sudo ./chip-tool colorcontrol write-by-id 0x000f 1 1 1 [1649152768.817940][16237:16242] CHIP:DMG: WriteResponseMessage = @@ -308,7 +323,7 @@ tests: "TH sends the WriteRequestMessage to the DUT to write any attribute on an unsupported node. DUT responds with the Write Response action" verification: | - V1 out of scope + Out of Scope for V1.0 disabled: true - label: @@ -319,6 +334,7 @@ tests: sudo ./chip-tool levelcontrol write on-level 2 1 20 + Verify DUT is responsds with UNSUPPORTED_ENDPOINT for the data sent in the above command 1649153009.582466][16268:16273] CHIP:DMG: WriteResponseMessage = [1649153009.582507][16268:16273] CHIP:DMG: { @@ -357,6 +373,8 @@ tests: sudo ./chip-tool thermostat write unoccupied-heating-setpoint 1200 1 0 + Verify DUT is responsds with UNSUPPORTED_CLUSTER for the data sent in the above command + [1650618880.286103][2741:2746] CHIP:DMG: WriteResponseMessage = [1650618880.286161][2741:2746] CHIP:DMG: { [1650618880.286210][2741:2746] CHIP:DMG: AttributeStatusIBs = @@ -389,8 +407,11 @@ tests: "TH sends the WriteRequestMessage to the DUT to write an unsupported attribute DUT responds with the Write Response action" verification: | + In case of chip tool, here is an example command to use + sudo ./chip-tool thermostat write unoccupied-heating-setpoint 1200 1 1 + Verify DUT is responsds with UNSUPPORTED_ATTRIBUTE for the data sent in the above command [1650618819.921180][2730:2735] CHIP:DMG: WriteResponseMessage = [1650618819.921212][2730:2735] CHIP:DMG: { @@ -424,31 +445,35 @@ tests: "TH sends the WriteRequestMessage to the DUT to write an attribute which is not writable. DUT responds with the Write Response action" verification: | - ./chip-tool basic write-by-id 0x7 2 1 0 + In case of chip tool, here is an example command to use + + ./chip-tool basic write-by-id 0x7 2 1 0 + + Verify DUT is responsds with UNSUPPORTED_WRITE for the data sent in the above command [1655201693.989436][3767:3772] CHIP:DMG: WriteResponseMessage = [1655201693.989472][3767:3772] CHIP:DMG: { - [1655201693.989504][3767:3772] CHIP:DMG: AttributeStatusIBs = - [1655201693.989548][3767:3772] CHIP:DMG: [ - [1655201693.989584][3767:3772] CHIP:DMG: AttributeStatusIB = - [1655201693.989673][3767:3772] CHIP:DMG: { - [1655201693.989715][3767:3772] CHIP:DMG: AttributePathIB = - [1655201693.989762][3767:3772] CHIP:DMG: { - [1655201693.989810][3767:3772] CHIP:DMG: Endpoint = 0x0, - [1655201693.989859][3767:3772] CHIP:DMG: Cluster = 0x28, - [1655201693.989912][3767:3772] CHIP:DMG: Attribute = 0x0000_0007, - [1655201693.989962][3767:3772] CHIP:DMG: } + [1655201693.989504][3767:3772] CHIP:DMG: AttributeStatusIBs = + [1655201693.989548][3767:3772] CHIP:DMG: [ + [1655201693.989584][3767:3772] CHIP:DMG: AttributeStatusIB = + [1655201693.989673][3767:3772] CHIP:DMG: { + [1655201693.989715][3767:3772] CHIP:DMG: AttributePathIB = + [1655201693.989762][3767:3772] CHIP:DMG: { + [1655201693.989810][3767:3772] CHIP:DMG: Endpoint = 0x0, + [1655201693.989859][3767:3772] CHIP:DMG: Cluster = 0x28, + [1655201693.989912][3767:3772] CHIP:DMG: Attribute = 0x0000_0007, + [1655201693.989962][3767:3772] CHIP:DMG: } [1655201693.990012][3767:3772] CHIP:DMG: - [1655201693.990058][3767:3772] CHIP:DMG: StatusIB = - [1655201693.990105][3767:3772] CHIP:DMG: { - [1655201693.990149][3767:3772] CHIP:DMG: status = 0x88 (UNSUPPORTED_WRITE), - [1655201693.990196][3767:3772] CHIP:DMG: }, + [1655201693.990058][3767:3772] CHIP:DMG: StatusIB = + [1655201693.990105][3767:3772] CHIP:DMG: { + [1655201693.990149][3767:3772] CHIP:DMG: status = 0x88 (UNSUPPORTED_WRITE), + [1655201693.990196][3767:3772] CHIP:DMG: }, [1655201693.990240][3767:3772] CHIP:DMG: - [1655201693.990277][3767:3772] CHIP:DMG: }, + [1655201693.990277][3767:3772] CHIP:DMG: }, [1655201693.990320][3767:3772] CHIP:DMG: - [1655201693.990355][3767:3772] CHIP:DMG: ], + [1655201693.990355][3767:3772] CHIP:DMG: ], [1655201693.990398][3767:3772] CHIP:DMG: - [1655201693.990433][3767:3772] CHIP:DMG: InteractionModelRevision = 1 + [1655201693.990433][3767:3772] CHIP:DMG: InteractionModelRevision = 1 [1655201693.990467][3767:3772] CHIP:DMG: } [1655201693.990561][3767:3772] CHIP:DMG: WriteClient moving to [AwaitingDe] [1655201693.990608][3767:3772] CHIP:TOO: Response Failure: IM Error 0x00000588: General error: 0x88 (UNSUPPORTED_WRITE) @@ -460,9 +485,16 @@ tests: in the path that requires a privilege that is not granted for the cluster in the path. DUT responds with the Write Response action" verification: | + In case of chip tool, here is an example command to use + + To Setup the TH such that there is no accessing fabric, 1st we need to send below mentioned ACL command + ./chip-tool accesscontrol write acl '[{"fabricIndex": 1, "privilege": 5, "authMode": 2, "subjects": [1234], "targets": null}]' 1 0 - "sudo ./chip-tool thermostatuserinterfaceconfiguration write temperature-display-mode 2 1 1 + sudo ./chip-tool thermostatuserinterfaceconfiguration write temperature-display-mode 2 1 1 + + verify DUT is responsds with UNSUPPORTED_ACCESS for the data sent in the above command + [1650552778.852950][17227:17232] CHIP:DMG: WriteResponseMessage = [1650552778.852981][17227:17232] CHIP:DMG: { [1650552778.853009][17227:17232] CHIP:DMG: AttributeStatusIBs = @@ -495,6 +527,10 @@ tests: "TH sends the WriteRequestMessage to the DUT to write one attribute on a given cluster and endpoint. Repeat the above steps 3 times." verification: | + In case of chip tool, here is an example command to use + + Verify on TH receives WriteResponseMessage with the status set to Success for the data sent in the above command and veriy by sending a ReadRequestMessage to read the value that was modified. + sudo ./chip-tool levelcontrol write on-level 2 1 1 [1653028376.099679][6518:6523] CHIP:DMG: WriteResponseMessage = @@ -552,6 +588,10 @@ tests: [1653028474.240393][6540:6545] CHIP:DMG: } [1653028474.240473][6540:6545] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0008 Attribute 0x0000_0011 DataVersion: 3301562285 [1653028474.240815][6540:6545] CHIP:TOO: on level: 2 + + + + ./chip-tool levelcontrol write on-level 3 1 1 ./chip-tool levelcontrol write on-level 1 1 1 disabled: true @@ -560,29 +600,28 @@ tests: "TH sends the WriteRequestMessage to the DUT to modify the value of one attribute on a given cluster and endpoint to null." verification: | - V1 out of scope(15999) + Out of Scope for V1.0 disabled: true - label: "TH sends the WriteRequestMessage to the DUT to append an attribute value" verification: | - V1 out of scope + Out of Scope for V1.0 disabled: true - label: "TH sends the WriteRequestMessage to the DUT to delete an attribute value" verification: | - V1 out of scope + Out of Scope for V1.0 disabled: true - label: "TH sends the WriteRequestMessage to the DUT to modify the value of one attribute and Set SuppressResponse to True." verification: | - https://github.com/project-chip/connectedhomeip/issues/8043 - Out of Scope for V1.0 + Out of Scope for V1.0 disabled: true - label: @@ -592,6 +631,11 @@ tests: WriteRequestMessage to the DUT to modify the value of one attribute with the DataVersion field set to the one received in the prior step." verification: | + In case of chip tool, here is an example command to use + + Verify on TH receives WriteResponseMessage with the status set to Success for the data sent in the above command and veriy by sending a ReadRequestMessage to read the value that was modified. + + ./chip-tool levelcontrol read on-level 1 1 [1653028897.525838][6605:6611] CHIP:DMG: ReportDataMessage = @@ -666,6 +710,10 @@ tests: DUT to modify the value of an attribute with the dataversion field set to the value received earlier." verification: | + In case of chip tool, here is an example command to use + + Verify DUT is responsds with DATA_VERSION_MISMATCH for the second Write request. + ./chip-tool levelcontrol read on-level 1 1 [1653029048.535610][6634:6639] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0008 Attribute 0x0000_0011 DataVersion: 3301562287 diff --git a/src/app/tests/suites/certification/Test_TC_IDM_4_1.yaml b/src/app/tests/suites/certification/Test_TC_IDM_4_1.yaml index b38122cfa9bfff..05903d12faf311 100644 --- a/src/app/tests/suites/certification/Test_TC_IDM_4_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_IDM_4_1.yaml @@ -13,7 +13,9 @@ # limitations under the License. # Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default -name: 20.4.1. [TC-IDM-4.1] SubscriptionRequestMessage from DUT test cases +name: + 21.4.1. [TC-IDM-4.1] SubscriptionRequestMessage from DUT test cases. + [{DUT_Client}] config: nodeId: 0x12344321 @@ -25,74 +27,49 @@ tests: "DUT sends a subscription request message to the target node/reference device for a single attribute of any data type supported." verification: | - sudo ./chip-tool onoff subscribe on-off 100 1000 1 1 - - ON-DUT(reference-app) - [1653645704.951305][1424:1424] CHIP:IM: Received Subscribe request - [1653645704.951393][1424:1424] CHIP:DMG: SubscribeRequestMessage = - [1653645704.951419][1424:1424] CHIP:DMG: { - [1653645704.951443][1424:1424] CHIP:DMG: KeepSubscriptions = false, - [1653645704.951469][1424:1424] CHIP:DMG: MinIntervalFloorSeconds = 0x64, - [1653645704.951496][1424:1424] CHIP:DMG: MaxIntervalCeilingSeconds = 0x3e8, - [1653645704.951521][1424:1424] CHIP:DMG: AttributePathIBs = - [1653645704.951548][1424:1424] CHIP:DMG: [ - [1653645704.951571][1424:1424] CHIP:DMG: AttributePathIB = - [1653645704.951601][1424:1424] CHIP:DMG: { - [1653645704.951629][1424:1424] CHIP:DMG: Endpoint = 0x1, - [1653645704.951660][1424:1424] CHIP:DMG: Cluster = 0x6, - [1653645704.951690][1424:1424] CHIP:DMG: Attribute = 0x0000_0000, - [1653645704.951718][1424:1424] CHIP:DMG: } - [1653645704.951746][1424:1424] CHIP:DMG: - [1653645704.951771][1424:1424] CHIP:DMG: ], - [1653645704.951799][1424:1424] CHIP:DMG: - [1653645704.951825][1424:1424] CHIP:DMG: isFabricFiltered = true, - [1653645704.951850][1424:1424] CHIP:DMG: InteractionModelRevision = 1 - [1653645704.951873][1424:1424] CHIP:DMG: }, - [1653645704.951943][1424:1424] CHIP:DMG: Final negotiated min/max parameters: Min = 100s, Max = 1000s - - [1653645704.873151][12663:12668] CHIP:DMG: ReportDataMessage = - [1653645704.873169][12663:12668] CHIP:DMG: { - [1653645704.873183][12663:12668] CHIP:DMG: SubscriptionId = 0xd848d918, - [1653645704.873196][12663:12668] CHIP:DMG: AttributeReportIBs = - [1653645704.873217][12663:12668] CHIP:DMG: [ - [1653645704.873229][12663:12668] CHIP:DMG: AttributeReportIB = - [1653645704.873254][12663:12668] CHIP:DMG: { - [1653645704.873270][12663:12668] CHIP:DMG: AttributeDataIB = - [1653645704.873284][12663:12668] CHIP:DMG: { - [1653645704.873303][12663:12668] CHIP:DMG: DataVersion = 0x12a56641, - [1653645704.873319][12663:12668] CHIP:DMG: AttributePathIB = - [1653645704.873338][12663:12668] CHIP:DMG: { - [1653645704.873363][12663:12668] CHIP:DMG: Endpoint = 0x1, - [1653645704.873386][12663:12668] CHIP:DMG: Cluster = 0x6, - [1653645704.873407][12663:12668] CHIP:DMG: Attribute = 0x0000_0000, - [1653645704.873426][12663:12668] CHIP:DMG: } - [1653645704.873455][12663:12668] CHIP:DMG: - [1653645704.873482][12663:12668] CHIP:DMG: Data = false, - [1653645704.873512][12663:12668] CHIP:DMG: }, - [1653645704.873542][12663:12668] CHIP:DMG: - [1653645704.873565][12663:12668] CHIP:DMG: }, - [1653645704.873596][12663:12668] CHIP:DMG: - [1653645704.873617][12663:12668] CHIP:DMG: ], - [1653645704.873650][12663:12668] CHIP:DMG: - [1653645704.873671][12663:12668] CHIP:DMG: InteractionModelRevision = 1 - [1653645704.873691][12663:12668] CHIP:DMG: } - [1653645704.873864][12663:12668] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0006 Attribute 0x0000_0000 DataVersion: 312829505 - [1653645704.873907][12663:12668] CHIP:TOO: OnOff: FALSE - [1653645704.873957][12663:12668] CHIP:DMG: MoveToState ReadClient[0x7fa688003b50]: Moving to [AwaitingSu] + ./chip-tool any subscribe-by-id 0x0008 0x0010 100 1000 1 1 + Verify DUT is responsds with status response for the data sent in the above command + [1656937912.144528][12255:12255] CHIP:DMG: SubscribeRequestMessage = + [1656937912.144578][12255:12255] CHIP:DMG: { + [1656937912.144621][12255:12255] CHIP:DMG: KeepSubscriptions = false, + [1656937912.144669][12255:12255] CHIP:DMG: MinIntervalFloorSeconds = 0x64, + [1656937912.144718][12255:12255] CHIP:DMG: MaxIntervalCeilingSeconds = 0x3e8, + [1656937912.144762][12255:12255] CHIP:DMG: AttributePathIBs = + [1656937912.144809][12255:12255] CHIP:DMG: [ + [1656937912.144853][12255:12255] CHIP:DMG: AttributePathIB = + [1656937912.144906][12255:12255] CHIP:DMG: { + [1656937912.144956][12255:12255] CHIP:DMG: Endpoint = 0x1, + [1656937912.145014][12255:12255] CHIP:DMG: Cluster = 0x8, + [1656937912.145072][12255:12255] CHIP:DMG: Attribute = 0x0000_0010, + [1656937912.145126][12255:12255] CHIP:DMG: } + [1656937912.145178][12255:12255] CHIP:DMG: + [1656937912.145223][12255:12255] CHIP:DMG: ], + [1656937912.145273][12255:12255] CHIP:DMG: + [1656937912.145320][12255:12255] CHIP:DMG: isFabricFiltered = true, + [1656937912.145365][12255:12255] CHIP:DMG: InteractionModelRevision = 1 + [1656937912.145407][12255:12255] CHIP:DMG: }, + [1656937912.145525][12255:12255] CHIP:DMG: Final negotiated min/max parameters: Min = 100s, Max = 1000s + [1656937912.145651][12255:12255] CHIP:DMG: IM RH moving to [GeneratingReports] disabled: true - label: "DUT sends the subscription request message to TH TH sends a report data DUT sends the status response back to TH" verification: | - sudo ./chip-tool onoff subscribe on-off 100 1000 1 1 - - [1653645958.282297][1424:1424] CHIP:DMG: StatusResponseMessage = - [1653645958.282326][1424:1424] CHIP:DMG: { - [1653645958.282351][1424:1424] CHIP:DMG: Status = 0x00 (SUCCESS), - [1653645958.282377][1424:1424] CHIP:DMG: InteractionModelRevision = 1 - [1653645958.282401][1424:1424] CHIP:DMG: } - [1653645958.282428][1424:1424] CHIP:IM: Received status response, status is 0x00 (SUCCESS) + In case of chip tool, here is an example command to use + + ./chip-tool onoff subscribe on-off 100 1000 1 1 + + Verify DUT is responsds with status response for the data sent in the above command + + [1655880368.147124][3499:3499] CHIP:EM: Removed CHIP MessageCounter:254984751 from RetransTable on exchange 58479r + [1655880368.147207][3499:3499] CHIP:DMG: StatusResponseMessage = + [1655880368.147262][3499:3499] CHIP:DMG: { + [1655880368.147312][3499:3499] CHIP:DMG: Status = 0x00 (SUCCESS), + [1655880368.147370][3499:3499] CHIP:DMG: InteractionModelRevision = 1 + [1655880368.147420][3499:3499] CHIP:DMG: } + [1655880368.147469][3499:3499] CHIP:IM: Received status response, status is 0x00 (SUCCESS) + [1655880368.147537][3499:3499] CHIP:DMG: Refresh Subscribe Sync Timer with max 1000 seconds disabled: true - label: @@ -101,28 +78,47 @@ tests: should send the modified data to the DUT. Modify the attribute multiple times (3 times)." verification: | - sudo ./chip-tool basic subscribe local-config-disabled 0 100 1 0 - [1653646349.707597][1424:1424] CHIP:DMG: StatusResponseMessage = - [1653646349.707662][1424:1424] CHIP:DMG: { - [1653646349.707720][1424:1424] CHIP:DMG: Status = 0x00 (SUCCESS), - [1653646349.707783][1424:1424] CHIP:DMG: InteractionModelRevision = 1 - [1653646349.707840][1424:1424] CHIP:DMG: } - [1653646349.707899][1424:1424] CHIP:IM: Received status response, status is 0x00 (SUCCESS) + In case of chip tool, here is an example command to use + Verify DUT is responsds with status response for the data sent in the all below commands + ./chip-tool basic subscribe local-config-disabled 100 1000 1 0 + [1655881752.438947][3499:3499] CHIP:EM: Removed CHIP MessageCounter:177558174 from RetransTable on exchange 49368r + [1656330747.137973][9924:9924] CHIP:DMG: StatusResponseMessage = + [1656330747.138003][9924:9924] CHIP:DMG: { + [1656330747.138031][9924:9924] CHIP:DMG: Status = 0x00 (SUCCESS), + [1656330747.138059][9924:9924] CHIP:DMG: InteractionModelRevision = 1 + [1656330747.138085][9924:9924] CHIP:DMG: } + [1656330747.138112][9924:9924] CHIP:IM: Received status response, status is 0x00 (SUCCESS) - sudo ./chip-tool basic write local-config-disabled 1 1 0 - [1653030847.813047][7157:7162] CHIP:DMG: - [1653030847.813064][7157:7162] CHIP:DMG: StatusIB = - [1653030847.813082][7157:7162] CHIP:DMG: { - [1653030847.813100][7157:7162] CHIP:DMG: status = 0x00 (SUCCESS), - [1653030847.813117][7157:7162] CHIP:DMG: }, - - sudo ./chip-tool basic subscribe local-config-disabled 100 1000 1 0 - [1653646400.634692][12766:12771] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0028 Attribute 0x0000_0010 DataVersion: 2705188069 - [1653646400.634724][12766:12771] CHIP:TOO: LocalConfigDisabled: TRUE - [1653646400.634764][12766:12771] CHIP:DMG: MoveToState ReadClient[0x7f1660000e70]: Moving to [AwaitingSu] + ./chip-tool basic write local-config-disabled 1 1 0 + On DUT + [1655881905.760510][1721:1726] CHIP:DMG: { + [1655881905.760547][1721:1726] CHIP:DMG: AttributePathIB = + [1655881905.760593][1721:1726] CHIP:DMG: { + [1655881905.760641][1721:1726] CHIP:DMG: Endpoint = 0x0, + [1655881905.760691][1721:1726] CHIP:DMG: Cluster = 0x28, + [1655881905.760739][1721:1726] CHIP:DMG: Attribute = 0x0000_0010, + [1655881905.760784][1721:1726] CHIP:DMG: } + [1655881905.760834][1721:1726] CHIP:DMG: + [1655881905.760878][1721:1726] CHIP:DMG: StatusIB = + [1655881905.760930][1721:1726] CHIP:DMG: { + [1655881905.760976][1721:1726] CHIP:DMG: status = 0x00 (SUCCESS), + [1655881905.761021][1721:1726] CHIP:DMG: }, + [1655881905.761066][1721:1726] CHIP:DMG: + [1655881905.761103][1721:1726] CHIP:DMG: }, + + + ./chip-tool basic subscribe local-config-disabled 100 1000 1 0 + [1655881908.817879][3499:3499] CHIP:EM: Removed CHIP MessageCounter:263001918 from RetransTable on exchange 44935r + [1655881908.817925][3499:3499] CHIP:DMG: StatusResponseMessage = + [1655881908.817953][3499:3499] CHIP:DMG: { + [1655881908.817978][3499:3499] CHIP:DMG: Status = 0x00 (SUCCESS), + [1655881908.818006][3499:3499] CHIP:DMG: InteractionModelRevision = 1 + [1655881908.818030][3499:3499] CHIP:DMG: } + [1655881908.818055][3499:3499] CHIP:IM: Received status response, status is 0x00 (SUCCESS) + [1655881908.818094][3499:3499] CHIP:DMG: Refresh Subscribe Sync Timer with max 1000 seconds disabled: true - label: @@ -131,32 +127,39 @@ tests: should send the modified data to the DUT. Modify the attribute multiple times (3 times)." verification: | - sudo ./chip-tool interactive start - basic subscribe node-label 100 1000 1 0 - - [1653646569.656671][1424:1424] CHIP:EM: Removed CHIP MessageCounter:10111502 from RetransTable on exchange 7279r - [1653646569.656771][1424:1424] CHIP:DMG: StatusResponseMessage = - [1653646569.656834][1424:1424] CHIP:DMG: { - [1653646569.656891][1424:1424] CHIP:DMG: Status = 0x00 (SUCCESS), - [1653646569.656953][1424:1424] CHIP:DMG: InteractionModelRevision = 1 - [1653646569.657011][1424:1424] CHIP:DMG: } - [1653646569.657068][1424:1424] CHIP:IM: Received status response, status is 0x00 (SUCCESS) - - - - basic write node-label 1 1 0 - - [1653646705.474336][12766:12771] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0028 Attribute 0x0000_0005 DataVersion: 2705188070 - [1653646705.474374][12766:12771] CHIP:TOO: NodeLabel: 1 - [1653646705.474425][12766:12771] CHIP:DMG: Refresh LivenessCheckTime for 1025000 milliseconds with SubscriptionId = 0xd3ec111e Peer = 01:0000000000000001 - - - [1653646705.500136][1424:1424] CHIP:DMG: StatusResponseMessage = - [1653646705.500183][1424:1424] CHIP:DMG: { - [1653646705.500214][1424:1424] CHIP:DMG: Status = 0x00 (SUCCESS), - [1653646705.500258][1424:1424] CHIP:DMG: InteractionModelRevision = 1 - [1653646705.500288][1424:1424] CHIP:DMG: } - [1653646705.500329][1424:1424] CHIP:IM: Received status response, status is 0x00 (SUCCESS) + In case of chip tool, here is an example command to use + + Verify DUT is responsds with status response for the data sent in the all below commands + + ./chip-tool basic subscribe node-label 100 1000 1 0 + [1655882093.124724][3499:3499] CHIP:EM: Removed CHIP MessageCounter:73279722 from RetransTable on exchange 51099r + [1655882093.124770][3499:3499] CHIP:DMG: StatusResponseMessage = + [1655882093.124797][3499:3499] CHIP:DMG: { + [1655882093.124821][3499:3499] CHIP:DMG: Status = 0x00 (SUCCESS), + [1655882093.124846][3499:3499] CHIP:DMG: InteractionModelRevision = 1 + [1655882093.124868][3499:3499] CHIP:DMG: } + [1655882093.124892][3499:3499] CHIP:IM: Received status response, status is 0x00 (SUCCESS) + [1655882093.124930][3499:3499] CHIP:DMG: Refresh Subscribe Sync Timer with max 1000 seconds + + ./chip-tool basic write node-label new 1 0 + [1655882311.953917][1752:1757] CHIP:DMG: } + [1655882311.953981][1752:1757] CHIP:DMG: + [1655882311.954037][1752:1757] CHIP:DMG: StatusIB = + [1655882311.954085][1752:1757] CHIP:DMG: { + [1655882311.954143][1752:1757] CHIP:DMG: status = 0x00 (SUCCESS), + [1655882311.954204][1752:1757] CHIP:DMG: }, + [1655882311.954251][1752:1757] CHIP:DMG: + [1655882311.954302][1752:1757] CHIP:DMG: }, + + ./chip-tool basic subscribe node-label 100 1000 1 0 + [1655882346.547318][3499:3499] CHIP:EM: Removed CHIP MessageCounter:199893385 from RetransTable on exchange 48312r + [1655882346.547362][3499:3499] CHIP:DMG: StatusResponseMessage = + [1655882346.547388][3499:3499] CHIP:DMG: { + [1655882346.547412][3499:3499] CHIP:DMG: Status = 0x00 (SUCCESS), + [1655882346.547437][3499:3499] CHIP:DMG: InteractionModelRevision = 1 + [1655882346.547460][3499:3499] CHIP:DMG: } + [1655882346.547483][3499:3499] CHIP:IM: Received status response, status is 0x00 (SUCCESS) + [1655882346.547518][3499:3499] CHIP:DMG: Refresh Subscribe Sync Timer with max 1000 seconds disabled: true - label: @@ -165,51 +168,40 @@ tests: the TH. TH should send the modified data to the DUT. Modify the attribute multiple times (3 times)." verification: | - sudo ./chip-tool interactive start + In case of chip tool, here is an example command to use - any subscribe-by-id 0x0008 0x0010 100 1000 1 1 - [1653646798.749610][1424:1424] CHIP:DMG: StatusResponseMessage = - [1653646798.749702][1424:1424] CHIP:DMG: { - [1653646798.749762][1424:1424] CHIP:DMG: Status = 0x00 (SUCCESS), - [1653646798.749825][1424:1424] CHIP:DMG: InteractionModelRevision = 1 - [1653646798.749904][1424:1424] CHIP:DMG: } - [1653646798.749964][1424:1424] CHIP:IM: Received status response, status is 0x00 (SUCCESS) + Verify DUT is responsds with status response for the data sent in the all below commands + ./chip-tool any subscribe-by-id 0x0008 0x0010 100 1000 1 1 + [1655882443.793602][3499:3499] CHIP:EM: Removed CHIP MessageCounter:14191415 from RetransTable on exchange 21493r + [1655882443.793649][3499:3499] CHIP:DMG: StatusResponseMessage = + [1655882443.793675][3499:3499] CHIP:DMG: { + [1655882443.793698][3499:3499] CHIP:DMG: Status = 0x00 (SUCCESS), + [1655882443.793726][3499:3499] CHIP:DMG: InteractionModelRevision = 1 + [1655882443.793750][3499:3499] CHIP:DMG: } + [1655882443.793774][3499:3499] CHIP:IM: Received status response, status is 0x00 (SUCCESS) + [1655882443.793810][3499:3499] CHIP:DMG: Refresh Subscribe Sync Timer with max 1000 seconds - any write-by-id 0x0008 0x0010 1 1 1 - [1653646868.623977][12766:12771] CHIP:DMG: StatusIB = - [1653646868.623992][12766:12771] CHIP:DMG: { - [1653646868.624010][12766:12771] CHIP:DMG: status = 0x00 (SUCCESS), - [1653646868.624024][12766:12771] CHIP:DMG: }, + ./chip-tool any write-by-id 0x0008 0x0010 1 1 1 + On DUT + [1655882507.865292][1772:1777] CHIP:DMG: + [1655882507.865364][1772:1777] CHIP:DMG: StatusIB = + [1655882507.865409][1772:1777] CHIP:DMG: { + [1655882507.865453][1772:1777] CHIP:DMG: status = 0x00 (SUCCESS), + [1655882507.865495][1772:1777] CHIP:DMG: }, - any subscribe-by-id 0x0008 0x0010 100 1000 1 1 - [1653646893.531695][1424:1424] CHIP:DMG: StatusResponseMessage = - [1653646893.531785][1424:1424] CHIP:DMG: { - [1653646893.531845][1424:1424] CHIP:DMG: Status = 0x00 (SUCCESS), - [1653646893.531932][1424:1424] CHIP:DMG: InteractionModelRevision = 1 - [1653646893.531991][1424:1424] CHIP:DMG: } - [1653646893.532103][1424:1424] CHIP:IM: Received status response, status is 0x00 (SUCCESS) - On DUT - [1653646893.477316][12766:12771] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0008 Attribute 0x0000_0010 DataVersion: 199562419 - [1653646893.477343][12766:12771] CHIP:TOO: on off transition time: 1 - [1653646893.477374][12766:12771] CHIP:DMG: MoveToState ReadClient[0x7f1660002fd0]: Moving to [AwaitingSu] - [1653646893.477414][12766:12771] CHIP:EM: Piggybacking Ack for MessageCounter:10111510 on exchange: 7283i - [1653646893.477459][12766:12771] CHIP:IN: Prepared secure message 0x55b46f498848 to 0x0000000000000001 (1) of type 0x1 and protocolId (0, 1) on exchange 7283i with MessageCounter:10832569. - [1653646893.477489][12766:12771] CHIP:IN: Sending encrypted msg 0x55b46f498848 with MessageCounter:10832569 to 0x0000000000000001 (1) at monotonic time: 0000000001328E74 msec - [1653646893.528928][12766:12771] CHIP:EM: Received message of type 0x4 with protocolId (0, 1) and MessageCounter:10111511 on exchange 7283i - [1653646893.528954][12766:12771] CHIP:EM: Found matching exchange: 7283i, Delegate: 0x7f1660002fd0 - [1653646893.528973][12766:12771] CHIP:EM: Rxd Ack; Removing MessageCounter:10832569 from Retrans Table on exchange 7283i - [1653646893.528982][12766:12771] CHIP:EM: Removed CHIP MessageCounter:10832569 from RetransTable on exchange 7283i - [1653646893.529010][12766:12771] CHIP:DMG: SubscribeResponseMessage = - [1653646893.529024][12766:12771] CHIP:DMG: { - [1653646893.529032][12766:12771] CHIP:DMG: SubscriptionId = 0xfc6ec672, - [1653646893.529041][12766:12771] CHIP:DMG: MinIntervalFloorSeconds = 0x64, - [1653646893.529049][12766:12771] CHIP:DMG: MaxIntervalCeilingSeconds = 0x3e8, - [1653646893.529057][12766:12771] CHIP:DMG: InteractionModelRevision = 1 - [1653646893.529064][12766:12771] CHIP:DMG: } - [1653646893.529077][12766:12771] CHIP:DMG: Subscription established with SubscriptionID = 0xfc6ec672 MinInterval = 100s MaxInterval = 1000s Peer = 01:0000000000000001 + ./chip-tool any subscribe-by-id 0x0008 0x0010 100 1000 1 1 + [1655882560.683450][3499:3499] CHIP:EM: Removed CHIP MessageCounter:250174901 from RetransTable on exchange 12757r + [1655882560.683492][3499:3499] CHIP:DMG: StatusResponseMessage = + [1655882560.683518][3499:3499] CHIP:DMG: { + [1655882560.683541][3499:3499] CHIP:DMG: Status = 0x00 (SUCCESS), + [1655882560.683566][3499:3499] CHIP:DMG: InteractionModelRevision = 1 + [1655882560.683589][3499:3499] CHIP:DMG: } + [1655882560.683612][3499:3499] CHIP:IM: Received status response, status is 0x00 (SUCCESS) + [1655882560.683647][3499:3499] CHIP:DMG: Refresh Subscribe Sync Timer with max 1000 seconds + Verify the above command multiple times by changing attribute value(3 times) @@ -221,34 +213,43 @@ tests: TH. TH should send the modified data to the DUT. Modify the attribute multiple times (3 times)" verification: | - any subscribe-by-id 0x0008 0x0010 100 1000 1 1 - [1653647296.293763][1424:1424] CHIP:DMG: StatusResponseMessage = - [1653647296.293828][1424:1424] CHIP:DMG: { - [1653647296.293886][1424:1424] CHIP:DMG: Status = 0x00 (SUCCESS), - [1653647296.293949][1424:1424] CHIP:DMG: InteractionModelRevision = 1 - [1653647296.294008][1424:1424] CHIP:DMG: } - [1653647296.294067][1424:1424] CHIP:IM: Received status response, status is 0x00 (SUCCESS) + In case of chip tool, here is an example command to use + Verify DUT is responsds with status response for the data sent in the all below commands - any write-by-id 0x0008 0x0010 1 1 1 - [1653647348.051712][12766:12771] CHIP:DMG: StatusIB = - [1653647348.051721][12766:12771] CHIP:DMG: { - [1653647348.051729][12766:12771] CHIP:DMG: status = 0x00 (SUCCESS), - [1653647348.051737][12766:12771] CHIP:DMG: }, - - any subscribe-by-id 0x0008 0x0010 100 1000 1 1 - [1653647374.362256][12766:12771] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0008 Attribute 0x0000_0010 DataVersion: 199562420 - [1653647374.362285][12766:12771] CHIP:TOO: on off transition time: 1 - [1653647374.362317][12766:12771] CHIP:DMG: MoveToState ReadClient[0x7f1660002bd0]: Moving to [AwaitingSu] + ./chip-tool any subscribe-by-id 0x0008 0x0010 100 1000 1 1 + [1655882844.643091][3499:3499] CHIP:EM: Removed CHIP MessageCounter:155702711 from RetransTable on exchange 40469r + [1655882844.643136][3499:3499] CHIP:DMG: StatusResponseMessage = + [1655882844.643163][3499:3499] CHIP:DMG: { + [1655882844.643187][3499:3499] CHIP:DMG: Status = 0x00 (SUCCESS), + [1655882844.643215][3499:3499] CHIP:DMG: InteractionModelRevision = 1 + [1655882844.643238][3499:3499] CHIP:DMG: } + [1655882844.643262][3499:3499] CHIP:IM: Received status response, status is 0x00 (SUCCESS) + [1655882844.643299][3499:3499] CHIP:DMG: Refresh Subscribe Sync Timer with max 1000 seconds + ./chip-tool any write-by-id 0x0008 0x0010 1 1 1 On DUT - [1653647374.357998][1424:1424] CHIP:DMG: StatusResponseMessage = - [1653647374.358063][1424:1424] CHIP:DMG: { - [1653647374.358122][1424:1424] CHIP:DMG: Status = 0x00 (SUCCESS), - [1653647374.358184][1424:1424] CHIP:DMG: InteractionModelRevision = 1 - [1653647374.358242][1424:1424] CHIP:DMG: } - [1653647374.358301][1424:1424] CHIP:IM: Received status response, status is 0x00 (SUCCESS) + [1655882963.306590][1818:1823] CHIP:DMG: } + [1655882963.306641][1818:1823] CHIP:DMG: + [1655882963.306684][1818:1823] CHIP:DMG: StatusIB = + [1655882963.306730][1818:1823] CHIP:DMG: { + [1655882963.306776][1818:1823] CHIP:DMG: status = 0x00 (SUCCESS), + [1655882963.306821][1818:1823] CHIP:DMG: }, + [1655882963.306866][1818:1823] CHIP:DMG: + + ./chip-tool any subscribe-by-id 0x0008 0x0010 100 1000 1 1 + [1655882991.052492][3499:3499] CHIP:EM: Removed CHIP MessageCounter:211047849 from RetransTable on exchange 41909r + [1655882991.052535][3499:3499] CHIP:DMG: StatusResponseMessage = + [1655882991.052562][3499:3499] CHIP:DMG: { + [1655882991.052586][3499:3499] CHIP:DMG: Status = 0x00 (SUCCESS), + [1655882991.052611][3499:3499] CHIP:DMG: InteractionModelRevision = 1 + [1655882991.052634][3499:3499] CHIP:DMG: } + [1655882991.052658][3499:3499] CHIP:IM: Received status response, status is 0x00 (SUCCESS) + [1655882991.052693][3499:3499] CHIP:DMG: Refresh Subscribe Sync Timer with max 1000 seconds + + + Verify the above command multiple times by changing attribute value(3 times) disabled: true - label: @@ -274,69 +275,46 @@ tests: "DUT sends a subscription request message to the target node/reference device for multiple attributes(3 attributes)." verification: | - sudo ./chip-tool any subscribe-by-id "6,8,3" "0,17,1" ${NODE_ID} 100 1000 3 "1,1,1" - - On reference app - [1653659809.784344][1390:1390] CHIP:DMG: SubscribeRequestMessage = - [1653659809.784399][1390:1390] CHIP:DMG: { - [1653659809.784470][1390:1390] CHIP:DMG: KeepSubscriptions = false, - [1653659809.784526][1390:1390] CHIP:DMG: MinIntervalFloorSeconds = 0x64, - [1653659809.784584][1390:1390] CHIP:DMG: MaxIntervalCeilingSeconds = 0x3e8, - [1653659809.784655][1390:1390] CHIP:DMG: AttributePathIBs = - [1653659809.784750][1390:1390] CHIP:DMG: [ - [1653659809.784822][1390:1390] CHIP:DMG: AttributePathIB = - [1653659809.784892][1390:1390] CHIP:DMG: { - [1653659809.784969][1390:1390] CHIP:DMG: Endpoint = 0x1, - [1653659809.785036][1390:1390] CHIP:DMG: Cluster = 0x6, - [1653659809.785121][1390:1390] CHIP:DMG: Attribute = 0x0000_0000, - [1653659809.785202][1390:1390] CHIP:DMG: } - [1653659809.785266][1390:1390] CHIP:DMG: - [1653659809.785341][1390:1390] CHIP:DMG: AttributePathIB = - [1653659809.785398][1390:1390] CHIP:DMG: { - [1653659809.785455][1390:1390] CHIP:DMG: Endpoint = 0x1, - [1653659809.785519][1390:1390] CHIP:DMG: Cluster = 0x8, - [1653659809.785584][1390:1390] CHIP:DMG: Attribute = 0x0000_0011, - [1653659809.785647][1390:1390] CHIP:DMG: } - [1653659809.785707][1390:1390] CHIP:DMG: - [1653659809.785760][1390:1390] CHIP:DMG: AttributePathIB = - [1653659809.785815][1390:1390] CHIP:DMG: { - [1653659809.785872][1390:1390] CHIP:DMG: Endpoint = 0x1, - [1653659809.785936][1390:1390] CHIP:DMG: Cluster = 0x3, - [1653659809.786002][1390:1390] CHIP:DMG: Attribute = 0x0000_0001, - [1653659809.786062][1390:1390] CHIP:DMG: } - [1653659809.786124][1390:1390] CHIP:DMG: - [1653659809.786178][1390:1390] CHIP:DMG: ], - [1653659809.786245][1390:1390] CHIP:DMG: - [1653659809.786300][1390:1390] CHIP:DMG: isFabricFiltered = true, - [1653659809.786353][1390:1390] CHIP:DMG: InteractionModelRevision = 1 - [1653659809.786403][1390:1390] CHIP:DMG: }, - [1653659809.786610][1390:1390] CHIP:DMG: Final negotiated min/max parameters: Min = 100s, Max = 1000s - - - - On TH - [1653659809.783308][15084:15089] CHIP:DMG: } - [1653659809.783387][15084:15089] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0003 Attribute 0x0000_0001 DataVersion: 3025903808 - [1653659809.783415][15084:15089] CHIP:TOO: identify type: 2 - [1653659809.783449][15084:15089] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0008 Attribute 0x0000_0011 DataVersion: 2343590012 - [1653659809.783467][15084:15089] CHIP:TOO: on level: null - [1653659809.783500][15084:15089] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0006 Attribute 0x0000_0000 DataVersion: 3715656673 - [1653659809.783510][15084:15089] CHIP:TOO: OnOff: FALSE - [1653659809.783533][15084:15089] CHIP:DMG: MoveToState ReadClient[0x7f46d8004110]: Moving to [AwaitingSu] - [1653659809.783554][15084:15089] CHIP:EM: Piggybacking Ack for MessageCounter:7512023 on exchange: 56481i - [1653659809.783579][15084:15089] CHIP:IN: Prepared secure message 0x5592621e7b08 to 0x0000000000000003 (1) of type 0x1 and protocolId (0, 1) on exchange 56481i with MessageCounter:6679698. - [1653659809.783595][15084:15089] CHIP:IN: Sending encrypted msg 0x5592621e7b08 with MessageCounter:6679698 to 0x0000000000000003 (1) at monotonic time: 0000000001F7A4C6 msec - [1653659809.786461][15084:15089] CHIP:EM: Received message of type 0x4 with protocolId (0, 1) and MessageCounter:7512024 on exchange 56481i - [1653659809.786493][15084:15089] CHIP:EM: Found matching exchange: 56481i, Delegate: 0x7f46d8004110 - [1653659809.786522][15084:15089] CHIP:EM: Rxd Ack; Removing MessageCounter:6679698 from Retrans Table on exchange 56481i - [1653659809.786535][15084:15089] CHIP:EM: Removed CHIP MessageCounter:6679698 from RetransTable on exchange 56481i - [1653659809.786572][15084:15089] CHIP:DMG: SubscribeResponseMessage = - [1653659809.786585][15084:15089] CHIP:DMG: { - [1653659809.786601][15084:15089] CHIP:DMG: SubscriptionId = 0x22235b40, - [1653659809.786612][15084:15089] CHIP:DMG: MinIntervalFloorSeconds = 0x64, - [1653659809.786627][15084:15089] CHIP:DMG: MaxIntervalCeilingSeconds = 0x3e8, - [1653659809.786640][15084:15089] CHIP:DMG: InteractionModelRevision = 1 - [1653659809.786651][15084:15089] CHIP:DMG: } + sudo ./chip-tool any subscribe-by-id "6,8,3" "0,17,1" ${NODE_ID} 100 1000 3 "1,1,1" + + Verify DUT is responsds with status response for the data sent in the all below commands + + [1656938061.290779][12255:12255] CHIP:DMG: SubscribeRequestMessage = + [1656938061.290823][12255:12255] CHIP:DMG: { + [1656938061.290862][12255:12255] CHIP:DMG: KeepSubscriptions = false, + [1656938061.290913][12255:12255] CHIP:DMG: MinIntervalFloorSeconds = 0x64, + [1656938061.290957][12255:12255] CHIP:DMG: MaxIntervalCeilingSeconds = 0x3e8, + [1656938061.290997][12255:12255] CHIP:DMG: AttributePathIBs = + [1656938061.291038][12255:12255] CHIP:DMG: [ + [1656938061.291077][12255:12255] CHIP:DMG: AttributePathIB = + [1656938061.291120][12255:12255] CHIP:DMG: { + [1656938061.291164][12255:12255] CHIP:DMG: Endpoint = 0x1, + [1656938061.291214][12255:12255] CHIP:DMG: Cluster = 0x6, + [1656938061.291265][12255:12255] CHIP:DMG: Attribute = 0x0000_0000, + [1656938061.291313][12255:12255] CHIP:DMG: } + [1656938061.291359][12255:12255] CHIP:DMG: + [1656938061.291400][12255:12255] CHIP:DMG: AttributePathIB = + [1656938061.291442][12255:12255] CHIP:DMG: { + [1656938061.291486][12255:12255] CHIP:DMG: Endpoint = 0x1, + [1656938061.291535][12255:12255] CHIP:DMG: Cluster = 0x8, + [1656938061.291584][12255:12255] CHIP:DMG: Attribute = 0x0000_0011, + [1656938061.291629][12255:12255] CHIP:DMG: } + [1656938061.291677][12255:12255] CHIP:DMG: + [1656938061.291718][12255:12255] CHIP:DMG: AttributePathIB = + [1656938061.291759][12255:12255] CHIP:DMG: { + [1656938061.291803][12255:12255] CHIP:DMG: Endpoint = 0x1, + [1656938061.291852][12255:12255] CHIP:DMG: Cluster = 0x3, + [1656938061.291902][12255:12255] CHIP:DMG: Attribute = 0x0000_0001, + [1656938061.291948][12255:12255] CHIP:DMG: } + [1656938061.291997][12255:12255] CHIP:DMG: + [1656938061.292040][12255:12255] CHIP:DMG: ], + [1656938061.292091][12255:12255] CHIP:DMG: + [1656938061.292132][12255:12255] CHIP:DMG: isFabricFiltered = true, + [1656938061.292173][12255:12255] CHIP:DMG: InteractionModelRevision = 1 + [1656938061.292210][12255:12255] CHIP:DMG: }, + [1656938061.292366][12255:12255] CHIP:DMG: Final negotiated min/max parameters: Min = 100s, Max = 1000s + [1656938061.292524][12255:12255] CHIP:DMG: IM RH moving to [GeneratingReports] + [1656938061.292642][12255:12255] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 disabled: true - label: @@ -352,26 +330,7 @@ tests: "[OPTIONAL] DUT sends a subscription request message to the TH for a single attribute of any data type supported. Reboot the DUT." verification: | - sudo ./chip-tool pumpconfigurationandcontrol subscribe max-speed 0 100 1 1 - [1651580465.334423][2479:2484] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0200 Attribute 0x0000_0001 DataVersion: 2627724264 - [1651580465.334499][2479:2484] CHIP:TOO: MaxSpeed: 0 - [1651580465.334545][2479:2484] CHIP:DMG: MoveToState ReadClient[0xffff94004340]: Moving to [AwaitingSu] - [1651580465.334611][2479:2484] CHIP:EM: Piggybacking Ack for MessageCounter:13648828 on exchange: 34337i - [1651580465.334688][2479:2484] CHIP:IN: Prepared secure message 0xaaaaef8fde08 to 0x0000000000000001 (1) of type 0x1 and protocolId (0, 1) on exchange 34337i with MessageCounter:6328273. - [1651580465.334729][2479:2484] CHIP:IN: Sending encrypted msg 0xaaaaef8fde08 with MessageCounter:6328273 to 0x0000000000000001 (1) at monotonic time: 00000000000F8D83 msec - [1651580465.336879][2479:2484] CHIP:EM: Received message of type 0x4 with protocolId (0, 1) and MessageCounter:13648829 on exchange 34337i - [1651580465.336986][2479:2484] CHIP:EM: Found matching exchange: 34337i, Delegate: 0xffff94004340 - [1651580465.337025][2479:2484] CHIP:EM: Rxd Ack; Removing MessageCounter:6328273 from Retrans Table on exchange 34337i - [1651580465.337064][2479:2484] CHIP:EM: Removed CHIP MessageCounter:6328273 from RetransTable on exchange 34337i - [1651580465.337115][2479:2484] CHIP:DMG: SubscribeResponseMessage = - [1651580465.337157][2479:2484] CHIP:DMG: { - [1651580465.337184][2479:2484] CHIP:DMG: SubscriptionId = 0xeb3eaa8ae68e6013, - [1651580465.337215][2479:2484] CHIP:DMG: MinIntervalFloorSeconds = 0x0, - [1651580465.337255][2479:2484] CHIP:DMG: MaxIntervalCeilingSeconds = 0x64, - [1651580465.337284][2479:2484] CHIP:DMG: InteractionModelRevision = 1 - [1651580465.337321][2479:2484] CHIP:DMG: } - - after reboot the DUT verify once that the TH does not send a report data message to the DUT + TH fails to send report data to the DUT after DUT is rebooted as this step is optional disabled: true - label: @@ -381,75 +340,41 @@ tests: subscription for that attribute. Start another subscription with the DataVersionFilter field set to the data version received above." verification: | - sudo ./chip-tool onoff subscribe on-off 100 1000 1 1 - - [1654175423.951361][3190:3195] CHIP:DMG: ReportDataMessage = - [1654175423.951388][3190:3195] CHIP:DMG: { - [1654175423.951413][3190:3195] CHIP:DMG: SubscriptionId = 0xc42ac3d, - [1654175423.951444][3190:3195] CHIP:DMG: AttributeReportIBs = - [1654175423.951476][3190:3195] CHIP:DMG: [ - [1654175423.951502][3190:3195] CHIP:DMG: AttributeReportIB = - [1654175423.951536][3190:3195] CHIP:DMG: { - [1654175423.951565][3190:3195] CHIP:DMG: AttributeDataIB = - [1654175423.951600][3190:3195] CHIP:DMG: { - [1654175423.951637][3190:3195] CHIP:DMG: DataVersion = 0xade83c25, - [1654175423.951672][3190:3195] CHIP:DMG: AttributePathIB = - [1654175423.951709][3190:3195] CHIP:DMG: { - [1654175423.951746][3190:3195] CHIP:DMG: Endpoint = 0x1, - [1654175423.951785][3190:3195] CHIP:DMG: Cluster = 0x6, - [1654175423.951863][3190:3195] CHIP:DMG: Attribute = 0x0000_0000, - [1654175423.951901][3190:3195] CHIP:DMG: } - [1654175423.951941][3190:3195] CHIP:DMG: - [1654175423.951979][3190:3195] CHIP:DMG: Data = false, - [1654175423.952016][3190:3195] CHIP:DMG: }, - [1654175423.952053][3190:3195] CHIP:DMG: - [1654175423.952081][3190:3195] CHIP:DMG: }, - [1654175423.952114][3190:3195] CHIP:DMG: - [1654175423.952138][3190:3195] CHIP:DMG: ], - [1654175423.952169][3190:3195] CHIP:DMG: - [1654175423.952194][3190:3195] CHIP:DMG: InteractionModelRevision = 1 - [1654175423.952219][3190:3195] CHIP:DMG: } - [1654175423.952354][3190:3195] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0006 Attribute 0x0000_0000 DataVersion: 2917678117 - [1654175423.952406][3190:3195] CHIP:TOO: OnOff: FALSE - [1654175423.952456][3190:3195] CHIP:DMG: MoveToState ReadClient[0xffffa80032c0]: Moving to [AwaitingSu] - [1654175423.952517][3190:3195] CHIP:EM: Piggybacking Ack for MessageCounter:12775881 on exchange: 62757i - [1654175423.952590][3190:3195] CHIP:IN: Prepared secure message 0xaaaac5541268 to 0x0000000000000001 (1) of type 0x1 and protocolId (0, 1) on exchange 62757i with MessageCounter:3107578. - [1654175423.952630][3190:3195] CHIP:IN: Sending encrypted msg 0xaaaac5541268 with MessageCounter:3107578 to 0x0000000000000001 (1) at monotonic time: 00000000007656B6 msec - [1654175423.953592][3190:3195] CHIP:EM: Received message of type 0x4 with protocolId (0, 1) and MessageCounter:12775882 on exchange 62757i - [1654175423.953636][3190:3195] CHIP:EM: Found matching exchange: 62757i, Delegate: 0xffffa80032c0 - [1654175423.953691][3190:3195] CHIP:EM: Rxd Ack; Removing MessageCounter:3107578 from Retrans Table on exchange 62757i - [1654175423.953717][3190:3195] CHIP:EM: Removed CHIP MessageCounter:3107578 from RetransTable on exchange 62757i - [1654175423.953766][3190:3195] CHIP:DMG: SubscribeResponseMessage = - [1654175423.953793][3190:3195] CHIP:DMG: { - [1654175423.953817][3190:3195] CHIP:DMG: SubscriptionId = 0xc42ac3d, - [1654175423.953848][3190:3195] CHIP:DMG: MinIntervalFloorSeconds = 0x64, - [1654175423.953878][3190:3195] CHIP:DMG: MaxIntervalCeilingSeconds = 0x3e8, - [1654175423.953905][3190:3195] CHIP:DMG: InteractionModelRevision = 1 - [1654175423.953927][3190:3195] CHIP:DMG: } - [1654175423.953958][3190:3195] CHIP:DMG: Subscription established with SubscriptionID = 0x0c42ac3d MinInterval = 100s MaxInterval = 1000s Peer = 01:0000000000000001 - - sudo ./chip-tool onoff subscribe on-off 100 1000 1 1 --data-version 0xade83c25 - - [1654175447.437581][3201:3206] CHIP:EM: Removed CHIP MessageCounter:5400183 from RetransTable on exchange 53258i - [1654175447.437637][3201:3206] CHIP:DMG: ReportDataMessage = - [1654175447.437690][3201:3206] CHIP:DMG: { - [1654175447.437721][3201:3206] CHIP:DMG: SubscriptionId = 0xd9de4b60, - [1654175447.437752][3201:3206] CHIP:DMG: InteractionModelRevision = 1 - [1654175447.437781][3201:3206] CHIP:DMG: } - [1654175447.437827][3201:3206] CHIP:DMG: MoveToState ReadClient[0xffff6c003550]: Moving to [AwaitingSu] - [1654175447.437880][3201:3206] CHIP:EM: Piggybacking Ack for MessageCounter:15074312 on exchange: 53258i - [1654175447.437942][3201:3206] CHIP:IN: Prepared secure message 0xaaaad1b74ef8 to 0x0000000000000001 (1) of type 0x1 and protocolId (0, 1) on exchange 53258i with MessageCounter:5400184. - [1654175447.437985][3201:3206] CHIP:IN: Sending encrypted msg 0xaaaad1b74ef8 with MessageCounter:5400184 to 0x0000000000000001 (1) at monotonic time: 000000000076B274 msec - [1654175447.438887][3201:3206] CHIP:EM: Received message of type 0x4 with protocolId (0, 1) and MessageCounter:15074313 on exchange 53258i - [1654175447.438924][3201:3206] CHIP:EM: Found matching exchange: 53258i, Delegate: 0xffff6c003550 - [1654175447.438960][3201:3206] CHIP:EM: Rxd Ack; Removing MessageCounter:5400184 from Retrans Table on exchange 53258i - [1654175447.438989][3201:3206] CHIP:EM: Removed CHIP MessageCounter:5400184 from RetransTable on exchange 53258i - [1654175447.439035][3201:3206] CHIP:DMG: SubscribeResponseMessage = - [1654175447.439068][3201:3206] CHIP:DMG: { - [1654175447.439097][3201:3206] CHIP:DMG: SubscriptionId = 0xd9de4b60, - [1654175447.439128][3201:3206] CHIP:DMG: MinIntervalFloorSeconds = 0x64, - [1654175447.439160][3201:3206] CHIP:DMG: MaxIntervalCeilingSeconds = 0x3e8, - [1654175447.439191][3201:3206] CHIP:DMG: InteractionModelRevision = 1 - [1654175447.439220][3201:3206] CHIP:DMG: } - [1654175447.439255][3201:3206] CHIP:DMG: Subscription established with SubscriptionID = 0xd9de4b60 MinInterval = 100s MaxInterval = 1000s Peer = 01:0000000000000001 + In case of chip tool, here is an example command to use + + ./chip-tool onoff subscribe on-off 100 1000 1 1 + [1655890349.597254][1369:1369] CHIP:EM: Removed CHIP MessageCounter:79213623 from RetransTable on exchange 62776r + [1655890349.597330][1369:1369] CHIP:DMG: StatusResponseMessage = + [1655890349.597379][1369:1369] CHIP:DMG: { + [1655890349.597423][1369:1369] CHIP:DMG: Status = 0x00 (SUCCESS), + [1655890349.597470][1369:1369] CHIP:DMG: InteractionModelRevision = 1 + [1655890349.597512][1369:1369] CHIP:DMG: } + [1655890349.597555][1369:1369] CHIP:IM: Received status response, status is 0x00 (SUCCESS) + [1655890349.597616][1369:1369] CHIP:DMG: Refresh Subscribe Sync Timer with max 1000 seconds + [1655890349.597672][1369:1369] CHIP:EM: Piggybacking Ack for MessageCounter:138387217 on exchange: 62776r + + On DUT verify, Attribute data is not sent for the second subscription + ./chip-tool onoff subscribe on-off 100 1000 1 1 --data-version 0x32c52d73 + + [1655890477.269305][1518:1523] CHIP:EM: Removed CHIP MessageCounter:196305006 from RetransTable on exchange 43437i + [1655890477.269385][1518:1523] CHIP:DMG: ReportDataMessage = + [1655890477.269425][1518:1523] CHIP:DMG: { + [1655890477.269473][1518:1523] CHIP:DMG: SubscriptionId = 0x72322357, + [1655890477.269523][1518:1523] CHIP:DMG: InteractionModelRevision = 1 + [1655890477.269577][1518:1523] CHIP:DMG: } + [1655890477.269643][1518:1523] CHIP:DMG: MoveToState ReadClient[0xffff98002df0]: Moving to [AwaitingSu] + [1655890477.269707][1518:1523] CHIP:EM: Piggybacking Ack for MessageCounter:19565255 on exchange: 43437i + [1655890477.269794][1518:1523] CHIP:IN: Prepared secure message 0xaaaaca508b78 to 0x0000000000000001 (1) of type 0x1 and protocolId (0, 1) on exchange 43437i with MessageCounter:196305007. + [1655890477.269858][1518:1523] CHIP:IN: Sending encrypted msg 0xaaaaca508b78 with MessageCounter:196305007 to 0x0000000000000001 (1) at monotonic time: 00000000000F351F msec + [1655890477.271312][1518:1523] CHIP:EM: Received message of type 0x4 with protocolId (0, 1) and MessageCounter:19565256 on exchange 43437i + [1655890477.271359][1518:1523] CHIP:EM: Found matching exchange: 43437i, Delegate: 0xffff98002df0 + [1655890477.271405][1518:1523] CHIP:EM: Rxd Ack; Removing MessageCounter:196305007 from Retrans Table on exchange 43437i + [1655890477.271440][1518:1523] CHIP:EM: Removed CHIP MessageCounter:196305007 from RetransTable on exchange 43437i + [1655890477.271497][1518:1523] CHIP:DMG: SubscribeResponseMessage = + [1655890477.271549][1518:1523] CHIP:DMG: { + [1655890477.271586][1518:1523] CHIP:DMG: SubscriptionId = 0x72322357, + [1655890477.271644][1518:1523] CHIP:DMG: MaxInterval = 0x3e8, + [1655890477.271681][1518:1523] CHIP:DMG: InteractionModelRevision = 1 + [1655890477.271732][1518:1523] CHIP:DMG: } + [1655890477.271771][1518:1523] CHIP:DMG: Subscription established with SubscriptionID = 0x72322357 MinInterval = 0s MaxInterval = 1000s Peer = 01:0000000000000001 disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_IDM_4_2.yaml b/src/app/tests/suites/certification/Test_TC_IDM_4_2.yaml index 14b8e7e4e9ac76..523d23a53d95ba 100644 --- a/src/app/tests/suites/certification/Test_TC_IDM_4_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_IDM_4_2.yaml @@ -13,7 +13,9 @@ # limitations under the License. # Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default -name: 20.4.2. [TC-IDM-4.2] Subscription Response Messages from DUT Test Cases +name: + 21.4.2. [TC-IDM-4.2] Subscription Response Messages from DUT Test Cases. + [{DUT_Server}] config: nodeId: 0x12344321 @@ -191,21 +193,6 @@ tests: [1654861525.174252][32132:32137] CHIP:DMG: } [1654861525.174390][32132:32137] CHIP:TOO: Response Failure: IM Error 0x0000057E: General error: 0x7e (UNSUPPORTED_ACCESS) [1654861525.174448][32132:32137] CHIP:DMG: MoveToState ReadClient[0xaaaac3e723c0]: Moving to [AwaitingSu] - [1654861525.174539][32132:32137] CHIP:EM: Piggybacking Ack for MessageCounter:84810773 on exchange: 49933i - [1654861525.174618][32132:32137] CHIP:IN: Prepared secure message 0xaaaac3e8e388 to 0x0000000000000001 (1) of type 0x1 and protocolId (0, 1) on exchange 49933i with MessageCounter:22480748. - [1654861525.174669][32132:32137] CHIP:IN: Sending encrypted msg 0xaaaac3e8e388 with MessageCounter:22480748 to 0x0000000000000001 (1) at monotonic time: 00000000019A8CF5 msec - [1654861525.175785][32132:32137] CHIP:EM: Received message of type 0x4 with protocolId (0, 1) and MessageCounter:84810774 on exchange 49933i - [1654861525.175832][32132:32137] CHIP:EM: Found matching exchange: 49933i, Delegate: 0xaaaac3e723c0 - [1654861525.175877][32132:32137] CHIP:EM: Rxd Ack; Removing MessageCounter:22480748 from Retrans Table on exchange 49933i - [1654861525.175912][32132:32137] CHIP:EM: Removed CHIP MessageCounter:22480748 from RetransTable on exchange 49933i - [1654861525.175999][32132:32137] CHIP:DMG: SubscribeResponseMessage = - [1654861525.176039][32132:32137] CHIP:DMG: { - [1654861525.176073][32132:32137] CHIP:DMG: SubscriptionId = 0xa6e75c5a, - [1654861525.176116][32132:32137] CHIP:DMG: MinIntervalFloorSeconds = 0x64, - [1654861525.176154][32132:32137] CHIP:DMG: MaxIntervalCeilingSeconds = 0xbb8, - [1654861525.176191][32132:32137] CHIP:DMG: InteractionModelRevision = 1 - [1654861525.176226][32132:32137] CHIP:DMG: } - [1654861525.176268][32132:32137] CHIP:DMG: Subscription established with SubscriptionID = 0xa6e75c5a MinInterval = 100s MaxInterval = 3000s Peer = 01:0000000000000001 disabled: true - label: @@ -249,23 +236,7 @@ tests: [1654862486.786685][32309:32314] CHIP:DMG: InteractionModelRevision = 1 [1654862486.786720][32309:32314] CHIP:DMG: } [1654862486.786862][32309:32314] CHIP:TOO: Response Failure: IM Error 0x0000057E: General error: 0x7e (UNSUPPORTED_ACCESS) - [1654862486.786918][32309:32314] CHIP:DMG: MoveToState ReadClient[0xffff840040e0]: Moving to [AwaitingSu] - [1654862486.786977][32309:32314] CHIP:EM: Piggybacking Ack for MessageCounter:50225771 on exchange: 12667i - [1654862486.787050][32309:32314] CHIP:IN: Prepared secure message 0xaaab0afd31d8 to 0x0000000000000001 (1) of type 0x1 and protocolId (0, 1) on exchange 12667i with MessageCounter:57280470. - [1654862486.787101][32309:32314] CHIP:IN: Sending encrypted msg 0xaaab0afd31d8 with MessageCounter:57280470 to 0x0000000000000001 (1) at monotonic time: 0000000001A93942 msec - [1654862486.788415][32309:32314] CHIP:EM: Received message of type 0x4 with protocolId (0, 1) and MessageCounter:50225772 on exchange 12667i - [1654862486.788461][32309:32314] CHIP:EM: Found matching exchange: 12667i, Delegate: 0xffff840040e0 - [1654862486.788504][32309:32314] CHIP:EM: Rxd Ack; Removing MessageCounter:57280470 from Retrans Table on exchange 12667i - [1654862486.788539][32309:32314] CHIP:EM: Removed CHIP MessageCounter:57280470 from RetransTable on exchange 12667i - [1654862486.788597][32309:32314] CHIP:DMG: SubscribeResponseMessage = - [1654862486.788636][32309:32314] CHIP:DMG: { - [1654862486.788671][32309:32314] CHIP:DMG: SubscriptionId = 0x111a3e69, - [1654862486.788709][32309:32314] CHIP:DMG: MinIntervalFloorSeconds = 0x64, - [1654862486.788747][32309:32314] CHIP:DMG: MaxIntervalCeilingSeconds = 0x3e8, - [1654862486.788783][32309:32314] CHIP:DMG: InteractionModelRevision = 1 - [1654862486.788817][32309:32314] CHIP:DMG: } - [1654862486.788904][32309:32314] CHIP:DMG: Subscription established with SubscriptionID = 0x111a3e69 MinInterval = 100s MaxInterval = 1000s Peer = 01:0000000000000001 - [1654862486.788947][32309:32314] CHIP:DMG: MoveToState ReadClient[0xffff840040e0]: Moving to [Subscripti] + [1654862486.786918][32309:32314] CHIP:DMG: MoveToState ReadClient[0xffff840040e0]: Moving to disabled: true - label: @@ -274,17 +245,43 @@ tests: all endpoints on a Node for which it does not have access. AttributePath = [[ ]]." verification: | - Waiting For Test-Plan author for more input. Verification step upadte is in progress + Out of Scope for V1.0 disabled: true - label: - "DUT sends a subscription request action for an attribute with an - empty DataVersionFilters field. DUT sends a report data action with - the data of the attribute along with the data version. Tear down the + "TH sends a subscription request action for an attribute with an empty + DataVersionFilters field. DUT sends a report data action with the data + of the attribute along with the data version. Tear down the subscription for that attribute. Start another subscription with the DataVersionFilter field set to the data version received above." verification: | - https://github.com/CHIP-Specifications/chip-test-plans/issues/1451 + ./chip-tool onoff subscribe start-up-on-off 50 800 1 1 + [1655893106.834876][1656:1661] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0006 Attribute 0x0000_4003 DataVersion: 633563796 + [1655893106.834928][1656:1661] CHIP:TOO: StartUpOnOff: null + [1655893106.834980][1656:1661] CHIP:DMG: MoveToState ReadClient[0xffff90003ab0]: Moving to [AwaitingSu] + + ./chip-tool onoff subscribe start-up-on-off 50 800 1 1 --data-version 0x25c36a94 + [1655893181.169225][1664:1669] CHIP:EM: Removed CHIP MessageCounter:96233214 from RetransTable on exchange 43726i + [1655893181.169289][1664:1669] CHIP:DMG: ReportDataMessage = + [1655893181.169344][1664:1669] CHIP:DMG: { + [1655893181.169381][1664:1669] CHIP:DMG: SubscriptionId = 0xde0c12dc, + [1655893181.169432][1664:1669] CHIP:DMG: InteractionModelRevision = 1 + [1655893181.169468][1664:1669] CHIP:DMG: } + [1655893181.169533][1664:1669] CHIP:DMG: MoveToState ReadClient[0xffff98002df0]: Moving to [AwaitingSu] + [1655893181.169610][1664:1669] CHIP:EM: Piggybacking Ack for MessageCounter:253027362 on exchange: 43726i + [1655893181.169684][1664:1669] CHIP:IN: Prepared secure message 0xaaaaeeb6fb78 to 0x0000000000000001 (1) of type 0x1 and protocolId (0, 1) on exchange 43726i with MessageCounter:96233215. + [1655893181.169734][1664:1669] CHIP:IN: Sending encrypted msg 0xaaaaeeb6fb78 with MessageCounter:96233215 to 0x0000000000000001 (1) at monotonic time: 000000000038773B msec + [1655893181.171142][1664:1669] CHIP:EM: Received message of type 0x4 with protocolId (0, 1) and MessageCounter:253027363 on exchange 43726i + [1655893181.171186][1664:1669] CHIP:EM: Found matching exchange: 43726i, Delegate: 0xffff98002df0 + [1655893181.171230][1664:1669] CHIP:EM: Rxd Ack; Removing MessageCounter:96233215 from Retrans Table on exchange 43726i + [1655893181.171265][1664:1669] CHIP:EM: Removed CHIP MessageCounter:96233215 from RetransTable on exchange 43726i + [1655893181.171321][1664:1669] CHIP:DMG: SubscribeResponseMessage = + [1655893181.171359][1664:1669] CHIP:DMG: { + [1655893181.171395][1664:1669] CHIP:DMG: SubscriptionId = 0xde0c12dc, + [1655893181.171436][1664:1669] CHIP:DMG: MaxInterval = 0x320, + [1655893181.171473][1664:1669] CHIP:DMG: InteractionModelRevision = 1 + [1655893181.171507][1664:1669] CHIP:DMG: } + [1655893181.171545][1664:1669] CHIP:DMG: Subscription established with SubscriptionID = 0xde0c12dc MinInterval = 0s MaxInterval = 800s Peer = 01:0000000000000001 disabled: true - label: @@ -349,8 +346,8 @@ tests: [1654863279.009335][32383:32388] CHIP:DMG: StatusResponseMessage = [1654863279.009366][32383:32388] CHIP:DMG: { - [1654863279.009402][32383:32388] CHIP:DMG: Status = 0x01 (FAILURE), - [1654863279.009430][32383:32388] CHIP:DMG: InteractionModelRevision = 1 + [1654863279.009402][32383:32388] CHIP:DMG: Status = 0x01 (FAILURE), + [1654863279.009430][32383:32388] CHIP:DMG: InteractionModelRevision = 1 [1654863279.009455][32383:32388] CHIP:DMG: } [1654863279.009491][32383:32388] CHIP:IM: Received status response, status is 0x01 (FAILURE) [1654863279.009531][32383:32388] CHIP:DMG: mResubscribePolicy is null diff --git a/src/app/tests/suites/certification/Test_TC_IDM_4_3.yaml b/src/app/tests/suites/certification/Test_TC_IDM_4_3.yaml index 033f9b1290e3de..922dd6faf9cabc 100644 --- a/src/app/tests/suites/certification/Test_TC_IDM_4_3.yaml +++ b/src/app/tests/suites/certification/Test_TC_IDM_4_3.yaml @@ -14,8 +14,8 @@ # Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default name: - 20.4.3. [TC-IDM-4.3] Report Data Messages post Subscription Activation from - DUT Test Cases + 21.4.3. [TC-IDM-4.3] Report Data Messages post Subscription Activation from + DUT Test Cases. [{DUT_Server}] config: nodeId: 0x12344321 @@ -29,132 +29,7 @@ tests: some settings on the device. Example: Temperature sensor may update the value of the room temperature. Turning on/off on a light bulb." verification: | - Use interactive mode to verify this - ./chip-tool start interactive mood - - onoff subscribe on-time 100 1000 1 1 - - [1653473717.457459][21558:21563] CHIP:DMG: ReportDataMessage = - [1653473717.457490][21558:21563] CHIP:DMG: { - [1653473717.457512][21558:21563] CHIP:DMG: SubscriptionId = 0x864c6467, - [1653473717.457531][21558:21563] CHIP:DMG: AttributeReportIBs = - [1653473717.457561][21558:21563] CHIP:DMG: [ - [1653473717.457579][21558:21563] CHIP:DMG: AttributeReportIB = - [1653473717.457608][21558:21563] CHIP:DMG: { - [1653473717.457627][21558:21563] CHIP:DMG: AttributeDataIB = - [1653473717.457648][21558:21563] CHIP:DMG: { - [1653473717.457670][21558:21563] CHIP:DMG: DataVersion = 0xbf2fc271, - [1653473717.457690][21558:21563] CHIP:DMG: AttributePathIB = - [1653473717.457712][21558:21563] CHIP:DMG: { - [1653473717.457733][21558:21563] CHIP:DMG: Endpoint = 0x1, - [1653473717.457755][21558:21563] CHIP:DMG: Cluster = 0x6, - [1653473717.457779][21558:21563] CHIP:DMG: Attribute = 0x0000_4001, - [1653473717.457799][21558:21563] CHIP:DMG: } - [1653473717.457823][21558:21563] CHIP:DMG: - [1653473717.457846][21558:21563] CHIP:DMG: Data = 2, - [1653473717.457865][21558:21563] CHIP:DMG: }, - [1653473717.457892][21558:21563] CHIP:DMG: - [1653473717.457910][21558:21563] CHIP:DMG: }, - [1653473717.457937][21558:21563] CHIP:DMG: - [1653473717.457955][21558:21563] CHIP:DMG: ], - [1653473717.457982][21558:21563] CHIP:DMG: - [1653473717.458000][21558:21563] CHIP:DMG: InteractionModelRevision = 1 - [1653473717.458018][21558:21563] CHIP:DMG: } - [1653473717.458135][21558:21563] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0006 Attribute 0x0000_4001 DataVersion: 3207578225 - [1653473717.458170][21558:21563] CHIP:TOO: OnTime: 2 - - >>> onoff write on-time 1 1 1 - [1653473911.947884][21558:21563] CHIP:TOO: Sending command to node 0x1 - [1653473911.947942][21558:21563] CHIP:CSM: FindOrEstablishSession: PeerId = 082901BE3B352248:0000000000000001 - [1653473911.947976][21558:21563] CHIP:TOO: Sending WriteAttribute to cluster 0x0000_0006 on endpoint 1 - [1653473911.948045][21558:21563] CHIP:DMG: WriteClient moving to [AddAttribu] - [1653473911.948173][21558:21563] CHIP:IN: Prepared secure message 0x5604e6136648 to 0x0000000000000001 (1) of type 0x6 and protocolId (0, 1) on exchange 43234i with MessageCounter:16478590. - [1653473911.948225][21558:21563] CHIP:IN: Sending encrypted msg 0x5604e6136648 with MessageCounter:16478590 to 0x0000000000000001 (1) at monotonic time: 000000000128B780 msec - [1653473911.948423][21558:21563] CHIP:DMG: WriteClient moving to [AwaitingRe] - [1653473911.954883][21558:21563] CHIP:EM: Received message of type 0x7 with protocolId (0, 1) and MessageCounter:15912632 on exchange 43234i - [1653473911.954954][21558:21563] CHIP:EM: Found matching exchange: 43234i, Delegate: 0x5604e6164250 - [1653473911.955011][21558:21563] CHIP:EM: Rxd Ack; Removing MessageCounter:16478590 from Retrans Table on exchange 43234i - [1653473911.955044][21558:21563] CHIP:EM: Removed CHIP MessageCounter:16478590 from RetransTable on exchange 43234i - [1653473911.955084][21558:21563] CHIP:DMG: WriteClient moving to [ResponseRe] - [1653473911.955144][21558:21563] CHIP:DMG: WriteResponseMessage = - [1653473911.955170][21558:21563] CHIP:DMG: { - [1653473911.955192][21558:21563] CHIP:DMG: AttributeStatusIBs = - [1653473911.955231][21558:21563] CHIP:DMG: [ - [1653473911.955253][21558:21563] CHIP:DMG: AttributeStatusIB = - [1653473911.955281][21558:21563] CHIP:DMG: { - [1653473911.955309][21558:21563] CHIP:DMG: AttributePathIB = - [1653473911.955332][21558:21563] CHIP:DMG: { - [1653473911.955353][21558:21563] CHIP:DMG: Endpoint = 0x1, - [1653473911.955370][21558:21563] CHIP:DMG: Cluster = 0x6, - [1653473911.955393][21558:21563] CHIP:DMG: Attribute = 0x0000_4001, - [1653473911.955413][21558:21563] CHIP:DMG: } - [1653473911.955440][21558:21563] CHIP:DMG: - [1653473911.955472][21558:21563] CHIP:DMG: StatusIB = - [1653473911.955504][21558:21563] CHIP:DMG: { - [1653473911.955532][21558:21563] CHIP:DMG: status = 0x00 (SUCCESS), - [1653473911.955559][21558:21563] CHIP:DMG: }, - [1653473911.955588][21558:21563] CHIP:DMG: - [1653473911.955614][21558:21563] CHIP:DMG: }, - [1653473911.955648][21558:21563] CHIP:DMG: - [1653473911.955673][21558:21563] CHIP:DMG: ], - [1653473911.955708][21558:21563] CHIP:DMG: - [1653473911.955735][21558:21563] CHIP:DMG: InteractionModelRevision = 1 - [1653473911.955758][21558:21563] CHIP:DMG: } - [1653473911.955872][21558:21563] CHIP:DMG: WriteClient moving to [AwaitingDe] - [1653473911.955952][21558:21563] CHIP:EM: Sending Standalone Ack for MessageCounter:15912632 on exchange 43234i - [1653473911.956039][21558:21563] CHIP:IN: Prepared secure message 0x7f35c3ffe000 to 0x0000000000000001 (1) of type 0x10 and protocolId (0, 0) on exchange 43234i with MessageCounter:16478591. - [1653473911.956175][21558:21563] CHIP:IN: Sending encrypted msg 0x7f35c3ffe000 with MessageCounter:16478591 to 0x0000000000000001 (1) at monotonic time: 000000000128B788 msec - [1653473911.956354][21558:21563] CHIP:EM: Flushed pending ack for MessageCounter:15912632 on exchange 43234i - [1653473911.956547][21558:21563] CHIP:EM: Received message of type 0x5 with protocolId (0, 1) and MessageCounter:15912633 on exchange 59626r - [1653473911.956610][21558:21563] CHIP:EM: Handling via exchange: 59626r, Delegate: 0x5604e4374c88 - [1653473911.956724][21558:21563] CHIP:EM: Sending Standalone Ack for MessageCounter:15912633 on exchange 59626r - [1653473911.956818][21558:21563] CHIP:IN: Prepared secure message 0x7f35c3ffe150 to 0x0000000000000001 (1) of type 0x10 and protocolId (0, 0) on exchange 59626r with MessageCounter:16478592. - [1653473911.956932][21558:21563] CHIP:IN: Sending encrypted msg 0x7f35c3ffe150 with MessageCounter:16478592 to 0x0000000000000001 (1) at monotonic time: 000000000128B789 msec - [1653473911.957060][21558:21563] CHIP:EM: Flushed pending ack for MessageCounter:15912633 on exchange 59626r - [1653473911.957196][21558:21563] CHIP:EM: Received message of type 0x5 with protocolId (0, 1) and MessageCounter:15912634 on exchange 59627r - [1653473911.957253][21558:21563] CHIP:EM: Handling via exchange: 59627r, Delegate: 0x5604e4374c88 - [1653473911.957349][21558:21563] CHIP:EM: Sending Standalone Ack for MessageCounter:15912634 on exchange 59627r - [1653473911.957436][21558:21563] CHIP:IN: Prepared secure message 0x7f35c3ffe150 to 0x0000000000000001 (1) of type 0x10 and protocolId (0, 0) on exchange 59627r with MessageCounter:16478593. - [1653473911.957507][21558:21563] CHIP:IN: Sending encrypted msg 0x7f35c3ffe150 with MessageCounter:16478593 to 0x0000000000000001 (1) at monotonic time: 000000000128B78A msec - [1653473911.957622][21558:21563] CHIP:EM: Flushed pending ack for MessageCounter:15912634 on exchange 59627r - [1653473911.957945][21558:21563] CHIP:EM: Received message of type 0x5 with protocolId (0, 1) and MessageCounter:15912635 on exchange 59628r - [1653473911.958021][21558:21563] CHIP:EM: Handling via exchange: 59628r, Delegate: 0x5604e4374c88 - [1653473911.958134][21558:21563] CHIP:DMG: ReportDataMessage = - [1653473911.958178][21558:21563] CHIP:DMG: { - [1653473911.958212][21558:21563] CHIP:DMG: SubscriptionId = 0x864c6467, - [1653473911.958242][21558:21563] CHIP:DMG: AttributeReportIBs = - [1653473911.958320][21558:21563] CHIP:DMG: [ - [1653473911.958350][21558:21563] CHIP:DMG: AttributeReportIB = - [1653473911.958389][21558:21563] CHIP:DMG: { - [1653473911.958413][21558:21563] CHIP:DMG: AttributeDataIB = - [1653473911.958454][21558:21563] CHIP:DMG: { - [1653473911.958505][21558:21563] CHIP:DMG: DataVersion = 0xbf2fc272, - [1653473911.958541][21558:21563] CHIP:DMG: AttributePathIB = - [1653473911.958581][21558:21563] CHIP:DMG: { - [1653473911.958611][21558:21563] CHIP:DMG: Endpoint = 0x1, - [1653473911.958635][21558:21563] CHIP:DMG: Cluster = 0x6, - [1653473911.958663][21558:21563] CHIP:DMG: Attribute = 0x0000_4001, - [1653473911.958689][21558:21563] CHIP:DMG: } - [1653473911.958717][21558:21563] CHIP:DMG: - [1653473911.958744][21558:21563] CHIP:DMG: Data = 1, - [1653473911.958770][21558:21563] CHIP:DMG: }, - [1653473911.958800][21558:21563] CHIP:DMG: - [1653473911.958822][21558:21563] CHIP:DMG: }, - [1653473911.958853][21558:21563] CHIP:DMG: - [1653473911.958874][21558:21563] CHIP:DMG: ], - [1653473911.958905][21558:21563] CHIP:DMG: - [1653473911.958928][21558:21563] CHIP:DMG: InteractionModelRevision = 1 - [1653473911.958952][21558:21563] CHIP:DMG: } - [1653473911.959066][21558:21563] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0006 Attribute 0x0000_4001 DataVersion: 3207578226 - [1653473911.959104][21558:21563] CHIP:TOO: OnTime: 1 - [1653473911.959156][21558:21563] CHIP:DMG: Refresh LivenessCheckTime for 1025000 milliseconds with SubscriptionId = 0x864c6467 Peer = 01:0000000000000001 - [1653473911.959205][21558:21563] CHIP:EM: Piggybacking Ack for MessageCounter:15912635 on exchange: 59628r - [1653473911.959257][21558:21563] CHIP:IN: Prepared secure message 0x5604e6136648 to 0x0000000000000001 (1) of type 0x1 and protocolId (0, 1) on exchange 59628r with MessageCounter:16478594. - [1653473911.959296][21558:21563] CHIP:IN: Sending encrypted msg 0x5604e6136648 with MessageCounter:16478594 to 0x0000000000000001 (1) at monotonic time: 000000000128B78B msec - [1653473911.964417][21558:21563] CHIP:EM: Received message of type 0x10 with protocolId (0, 0) and MessageCounter:15912636 on exchange 59628r - [1653473911.964441][21558:21563] CHIP:EM: Found matching exchange: 59628r, Delegate: (nil) - [1653473911.964457][21558:21563] CHIP:EM: Rxd Ack; Removing MessageCounter:16478594 from Retrans Table on exchange 59628r - [1653473911.964466][21558:21563] CHIP:EM: Removed CHIP MessageCounter:16478594 from RetransTable on ex + DUT dependency disabled: true - label: @@ -162,130 +37,96 @@ tests: attribute which has been subscribed on the DUT by sending an IMWrite or Invoke message to the DUT from the TH." verification: | - In case of chip tool, here is an example command to use - sudo ./chip-tool levelcontrol subscribe on-level 0 100 1 1 - [1651581090.101913][2548:2553] CHIP:DMG: ReportDataMessage = - [1651581090.101952][2548:2553] CHIP:DMG: { - [1651581090.101986][2548:2553] CHIP:DMG: SubscriptionId = 0xe5f261cdbbd208ad, - [1651581090.102023][2548:2553] CHIP:DMG: AttributeReportIBs = - [1651581090.102067][2548:2553] CHIP:DMG: [ - [1651581090.102104][2548:2553] CHIP:DMG: AttributeReportIB = - [1651581090.102159][2548:2553] CHIP:DMG: { - [1651581090.102201][2548:2553] CHIP:DMG: AttributeDataIB = - [1651581090.102252][2548:2553] CHIP:DMG: { - [1651581090.102301][2548:2553] CHIP:DMG: DataVersion = 0x2c5d1f48, - [1651581090.102348][2548:2553] CHIP:DMG: AttributePathIB = - [1651581090.102401][2548:2553] CHIP:DMG: { - [1651581090.102453][2548:2553] CHIP:DMG: Endpoint = 0x1, - [1651581090.102510][2548:2553] CHIP:DMG: Cluster = 0x8, - [1651581090.102562][2548:2553] CHIP:DMG: Attribute = 0x0000_0011, - [1651581090.102611][2548:2553] CHIP:DMG: } - [1651581090.102663][2548:2553] CHIP:DMG: - [1651581090.102713][2548:2553] CHIP:DMG: Data = 2, - [1651581090.102765][2548:2553] CHIP:DMG: }, - [1651581090.102814][2548:2553] CHIP:DMG: - [1651581090.102882][2548:2553] CHIP:DMG: }, - [1651581090.102932][2548:2553] CHIP:DMG: - [1651581090.102967][2548:2553] CHIP:DMG: ], - [1651581090.103012][2548:2553] CHIP:DMG: - [1651581090.103047][2548:2553] CHIP:DMG: InteractionModelRevision = 1 - [1651581090.103081][2548:2553] CHIP:DMG: } - [1651581090.103251][2548:2553] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0008 Attribute 0x0000_0011 DataVersion: 744300360 - [1651581090.103346][2548:2553] CHIP:TOO: on level: 2 - [1651581090.103404][2548:2553] CHIP:DMG: MoveToState ReadClient[0xffff9c005350]: Moving to [AwaitingSu] - [1651581090.103469][2548:2553] CHIP:EM: Piggybacking Ack for MessageCounter:16486934 on exchange: 56780i - [1651581090.103551][2548:2553] CHIP:IN: Prepared secure message 0xaaaaff7fcb38 to 0x0000000000000001 (1) of type 0x1 and protocolId (0, 1) on exchange 56780i with MessageCounter:12926057. - [1651581090.103602][2548:2553] CHIP:IN: Sending encrypted msg 0xaaaaff7fcb38 with MessageCounter:12926057 to 0x0000000000000001 (1) at monotonic time: 0000000000191604 msec - [1651581090.104831][2548:2553] CHIP:EM: Received message of type 0x4 with protocolId (0, 1) and MessageCounter:16486935 on exchange 56780i - [1651581090.104878][2548:2553] CHIP:EM: Found matching exchange: 56780i, Delegate: 0xffff9c005350 - [1651581090.104923][2548:2553] CHIP:EM: Rxd Ack; Removing MessageCounter:12926057 from Retrans Table on exchange 56780i - [1651581090.104958][2548:2553] CHIP:EM: Removed CHIP MessageCounter:12926057 from RetransTable on exchange 56780i - [1651581090.105015][2548:2553] CHIP:DMG: SubscribeResponseMessage = - [1651581090.105054][2548:2553] CHIP:DMG: { - [1651581090.105089][2548:2553] CHIP:DMG: SubscriptionId = 0xe5f261cdbbd208ad, - [1651581090.105128][2548:2553] CHIP:DMG: MinIntervalFloorSeconds = 0x0, - [1651581090.105166][2548:2553] CHIP:DMG: MaxIntervalCeilingSeconds = 0x64, - [1651581090.105203][2548:2553] CHIP:DMG: InteractionModelRevision = 1 - [1651581090.105238][2548:2553] CHIP:DMG: } - - - - sudo ./chip-tool levelcontrol write on-level 2 1 1 - [1651581060.982048][2541:2546] CHIP:DMG: WriteResponseMessage = - [1651581060.982078][2541:2546] CHIP:DMG: { - [1651581060.982103][2541:2546] CHIP:DMG: AttributeStatusIBs = - [1651581060.982138][2541:2546] CHIP:DMG: [ - [1651581060.982166][2541:2546] CHIP:DMG: AttributeStatusIB = - [1651581060.982206][2541:2546] CHIP:DMG: { - [1651581060.982238][2541:2546] CHIP:DMG: AttributePathIB = - [1651581060.982275][2541:2546] CHIP:DMG: { - [1651581060.982316][2541:2546] CHIP:DMG: Endpoint = 0x1, - [1651581060.982358][2541:2546] CHIP:DMG: Cluster = 0x8, - [1651581060.982397][2541:2546] CHIP:DMG: Attribute = 0x0000_0011, - [1651581060.982432][2541:2546] CHIP:DMG: } - [1651581060.982472][2541:2546] CHIP:DMG: - [1651581060.982506][2541:2546] CHIP:DMG: StatusIB = - [1651581060.982540][2541:2546] CHIP:DMG: { - [1651581060.982576][2541:2546] CHIP:DMG: status = 0x00 (SUCCESS), - [1651581060.982608][2541:2546] CHIP:DMG: }, - [1651581060.982644][2541:2546] CHIP:DMG: - [1651581060.982672][2541:2546] CHIP:DMG: }, - [1651581060.982706][2541:2546] CHIP:DMG: - [1651581060.982732][2541:2546] CHIP:DMG: ], - [1651581060.982766][2541:2546] CHIP:DMG: - [1651581060.982793][2541:2546] CHIP:DMG: InteractionModelRevision = 1 - [1651581060.982820][2541:2546] CHIP:DMG: } + ./chip-tool onoff subscribe start-up-on-off 50 800 1 1 + [1655893620.555858][1705:1710] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0006 Attribute 0x0000_4003 DataVersion: 633563797 + [1655893620.555948][1705:1710] CHIP:TOO: StartUpOnOff: 2 + [1655893620.556004][1705:1710] CHIP:DMG: MoveToState ReadClient[0xffff84003860]: Moving to [AwaitingSu] + [1655893620.556072][1705:1710] CHIP:EM: Piggybacking Ack for MessageCounter:100672538 on exchange: 53893i + + + ./chip-tool onoff write start-up-on-off 1 1 1 + [1655893744.405633][1725:1730] CHIP:DMG: StatusIB = + [1655893744.405681][1725:1730] CHIP:DMG: { + [1655893744.405745][1725:1730] CHIP:DMG: status = 0x00 (SUCCESS), + [1655893744.405804][1725:1730] CHIP:DMG: }, + + ./chip-tool onoff subscribe start-up-on-off 50 800 1 1 + [1655893813.969626][1731:1736] CHIP:EM: Removed CHIP MessageCounter:250929411 from RetransTable on exchange 43399i + [1655893813.969697][1731:1736] CHIP:DMG: ReportDataMessage = + [1655893813.969729][1731:1736] CHIP:DMG: { + [1655893813.969769][1731:1736] CHIP:DMG: SubscriptionId = 0xe0a0bb02, + [1655893813.969798][1731:1736] CHIP:DMG: AttributeReportIBs = + [1655893813.969833][1731:1736] CHIP:DMG: [ + [1655893813.969906][1731:1736] CHIP:DMG: AttributeReportIB = + [1655893813.969994][1731:1736] CHIP:DMG: { + [1655893813.970035][1731:1736] CHIP:DMG: AttributeDataIB = + [1655893813.970071][1731:1736] CHIP:DMG: { + [1655893813.970107][1731:1736] CHIP:DMG: DataVersion = 0x25c36a97, + [1655893813.970154][1731:1736] CHIP:DMG: AttributePathIB = + [1655893813.970203][1731:1736] CHIP:DMG: { + [1655893813.970242][1731:1736] CHIP:DMG: Endpoint = 0x1, + [1655893813.970292][1731:1736] CHIP:DMG: Cluster = 0x6, + [1655893813.970341][1731:1736] CHIP:DMG: Attribute = 0x0000_4003, + [1655893813.970379][1731:1736] CHIP:DMG: } + [1655893813.970429][1731:1736] CHIP:DMG: + [1655893813.970476][1731:1736] CHIP:DMG: Data = 1, + [1655893813.970511][1731:1736] CHIP:DMG: }, + [1655893813.970558][1731:1736] CHIP:DMG: + [1655893813.970587][1731:1736] CHIP:DMG: }, + [1655893813.970632][1731:1736] CHIP:DMG: + [1655893813.970668][1731:1736] CHIP:DMG: ], + [1655893813.970704][1731:1736] CHIP:DMG: + [1655893813.970731][1731:1736] CHIP:DMG: InteractionModelRevision = 1 + [1655893813.970769][1731:1736] CHIP:DMG: } + [1655893813.970926][1731:1736] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0006 Attribute 0x0000_4003 DataVersion: 633563799 + [1655893813.971011][1731:1736] CHIP:TOO: StartUpOnOff: 1 + [1655893813.971056][1731:1736] CHIP:DMG: MoveToState ReadClient[0xffffa8002df0]: Moving to [AwaitingSu] disabled: true - label: "DUT and TH activate the subscription for an attribute. Dont change the value of the attribute which has been subscribed." verification: | - In case of chip tool, here is an example command to use - sudo ./chip-tool levelcontrol subscribe on-level 0 100 1 1 - [1651581090.101913][2548:2553] CHIP:DMG: ReportDataMessage = - [1651581090.101952][2548:2553] CHIP:DMG: { - [1651581090.101986][2548:2553] CHIP:DMG: SubscriptionId = 0xe5f261cdbbd208ad, - [1651581090.102023][2548:2553] CHIP:DMG: AttributeReportIBs = - [1651581090.102067][2548:2553] CHIP:DMG: [ - [1651581090.102104][2548:2553] CHIP:DMG: AttributeReportIB = - [1651581090.102159][2548:2553] CHIP:DMG: { - [1651581090.102201][2548:2553] CHIP:DMG: AttributeDataIB = - [1651581090.102252][2548:2553] CHIP:DMG: { - [1651581090.102301][2548:2553] CHIP:DMG: DataVersion = 0x2c5d1f48, - [1651581090.102348][2548:2553] CHIP:DMG: AttributePathIB = - [1651581090.102401][2548:2553] CHIP:DMG: { - [1651581090.102453][2548:2553] CHIP:DMG: Endpoint = 0x1, - [1651581090.102510][2548:2553] CHIP:DMG: Cluster = 0x8, - [1651581090.102562][2548:2553] CHIP:DMG: Attribute = 0x0000_0011, - [1651581090.102611][2548:2553] CHIP:DMG: } - [1651581090.102663][2548:2553] CHIP:DMG: - [1651581090.102713][2548:2553] CHIP:DMG: Data = 2, - [1651581090.102765][2548:2553] CHIP:DMG: }, - [1651581090.102814][2548:2553] CHIP:DMG: - [1651581090.102882][2548:2553] CHIP:DMG: }, - [1651581090.102932][2548:2553] CHIP:DMG: - [1651581090.102967][2548:2553] CHIP:DMG: ], - [1651581090.103012][2548:2553] CHIP:DMG: - [1651581090.103047][2548:2553] CHIP:DMG: InteractionModelRevision = 1 - [1651581090.103081][2548:2553] CHIP:DMG: } - [1651581090.103251][2548:2553] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0008 Attribute 0x0000_0011 DataVersion: 744300360 - [1651581090.103346][2548:2553] CHIP:TOO: on level: 2 - [1651581090.103404][2548:2553] CHIP:DMG: MoveToState ReadClient[0xffff9c005350]: Moving to [AwaitingSu] - [1651581090.103469][2548:2553] CHIP:EM: Piggybacking Ack for MessageCounter:16486934 on exchange: 56780i - [1651581090.103551][2548:2553] CHIP:IN: Prepared secure message 0xaaaaff7fcb38 to 0x0000000000000001 (1) of type 0x1 and protocolId (0, 1) on exchange 56780i with MessageCounter:12926057. - [1651581090.103602][2548:2553] CHIP:IN: Sending encrypted msg 0xaaaaff7fcb38 with MessageCounter:12926057 to 0x0000000000000001 (1) at monotonic time: 0000000000191604 msec - [1651581090.104831][2548:2553] CHIP:EM: Received message of type 0x4 with protocolId (0, 1) and MessageCounter:16486935 on exchange 56780i - [1651581090.104878][2548:2553] CHIP:EM: Found matching exchange: 56780i, Delegate: 0xffff9c005350 - [1651581090.104923][2548:2553] CHIP:EM: Rxd Ack; Removing MessageCounter:12926057 from Retrans Table on exchange 56780i - [1651581090.104958][2548:2553] CHIP:EM: Removed CHIP MessageCounter:12926057 from RetransTable on exchange 56780i - [1651581090.105015][2548:2553] CHIP:DMG: SubscribeResponseMessage = - [1651581090.105054][2548:2553] CHIP:DMG: { - [1651581090.105089][2548:2553] CHIP:DMG: SubscriptionId = 0xe5f261cdbbd208ad, - [1651581090.105128][2548:2553] CHIP:DMG: MinIntervalFloorSeconds = 0x0, - [1651581090.105166][2548:2553] CHIP:DMG: MaxIntervalCeilingSeconds = 0x64, - [1651581090.105203][2548:2553] CHIP:DMG: InteractionModelRevision = 1 - [1651581090.105238][2548:2553] CHIP:DMG: } + ./chip-tool onoff subscribe on-off 90 900 1 1 + [1655894000.461474][1739:1744] CHIP:DMG: ReportDataMessage = + [1655894000.461513][1739:1744] CHIP:DMG: { + [1655894000.461548][1739:1744] CHIP:DMG: SubscriptionId = 0x61799d12, + [1655894000.461589][1739:1744] CHIP:DMG: AttributeReportIBs = + [1655894000.461634][1739:1744] CHIP:DMG: [ + [1655894000.461670][1739:1744] CHIP:DMG: AttributeReportIB = + [1655894000.461717][1739:1744] CHIP:DMG: { + [1655894000.461755][1739:1744] CHIP:DMG: AttributeDataIB = + [1655894000.461796][1739:1744] CHIP:DMG: { + [1655894000.461842][1739:1744] CHIP:DMG: DataVersion = 0x25c36a97, + [1655894000.461893][1739:1744] CHIP:DMG: AttributePathIB = + [1655894000.461968][1739:1744] CHIP:DMG: { + [1655894000.462021][1739:1744] CHIP:DMG: Endpoint = 0x1, + [1655894000.462076][1739:1744] CHIP:DMG: Cluster = 0x6, + [1655894000.462128][1739:1744] CHIP:DMG: Attribute = 0x0000_0000, + [1655894000.462172][1739:1744] CHIP:DMG: } + [1655894000.462227][1739:1744] CHIP:DMG: + [1655894000.462277][1739:1744] CHIP:DMG: Data = false, + [1655894000.462323][1739:1744] CHIP:DMG: }, + [1655894000.462372][1739:1744] CHIP:DMG: + [1655894000.462409][1739:1744] CHIP:DMG: }, + [1655894000.462453][1739:1744] CHIP:DMG: + [1655894000.462488][1739:1744] CHIP:DMG: ], + [1655894000.462532][1739:1744] CHIP:DMG: + [1655894000.462567][1739:1744] CHIP:DMG: InteractionModelRevision = 1 + [1655894000.462601][1739:1744] CHIP:DMG: } + [1655894000.462775][1739:1744] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0006 Attribute 0x0000_0000 DataVersion: 633563799 + [1655894000.462838][1739:1744] CHIP:TOO: OnOff: FALSE + [1655894000.462904][1739:1744] CHIP:DMG: MoveToState ReadClient[0xffff68003900]: Moving to [AwaitingSu] + + ./chip-tool onoff subscribe on-off 90 900 1 1 --data-version 0x25c36a97 + [1655894043.008680][1749:1754] CHIP:EM: Removed CHIP MessageCounter:95673197 from RetransTable on exchange 16443i + [1655894043.008745][1749:1754] CHIP:DMG: ReportDataMessage = + [1655894043.008785][1749:1754] CHIP:DMG: { + [1655894043.008821][1749:1754] CHIP:DMG: SubscriptionId = 0x5c84cce0, + [1655894043.008859][1749:1754] CHIP:DMG: InteractionModelRevision = 1 + [1655894043.008894][1749:1754] CHIP:DMG: } + [1655894043.008948][1749:1754] CHIP:DMG: MoveToState ReadClient[0xffff7c005970]: Moving to [AwaitingSu] + [1655894043.009010][1749:1754] CHIP:EM: Piggybacking Ack for MessageCounter:264821983 on exchange: 16443i disabled: true - label: @@ -294,7 +135,7 @@ tests: status response with an "inactive subscription". Change the value of the attribute which has been subscribed on the DUT.' verification: | - This testr needs to be tested by changing the controls available in the DUT and then read the value. And can't be tested with Soft DUT & has dependency of Vendor specific DUT support. + This tester needs to be tested by changing the controls available in the DUT and then read the value. And can't be tested with Soft DUT & has dependency of Vendor specific DUT support. disabled: true - label: @@ -304,56 +145,62 @@ tests: the attribute multiple times (3 times) before the max interval time specified during the subscription activation." verification: | - In case of chip tool, here is an example command to use - - sudo ./chip-tool basic write local-config-disabled 1 1 0 - [1651581143.935028][2560:2565] CHIP:DMG: WriteResponseMessage = - [1651581143.935074][2560:2565] CHIP:DMG: { - [1651581143.935114][2560:2565] CHIP:DMG: AttributeStatusIBs = - [1651581143.935171][2560:2565] CHIP:DMG: [ - [1651581143.935217][2560:2565] CHIP:DMG: AttributeStatusIB = - [1651581143.935268][2560:2565] CHIP:DMG: { - [1651581143.935327][2560:2565] CHIP:DMG: AttributePathIB = - [1651581143.935386][2560:2565] CHIP:DMG: { - [1651581143.935445][2560:2565] CHIP:DMG: Endpoint = 0x0, - [1651581143.935508][2560:2565] CHIP:DMG: Cluster = 0x28, - [1651581143.935570][2560:2565] CHIP:DMG: Attribute = 0x0000_0010, - [1651581143.935623][2560:2565] CHIP:DMG: } - [1651581143.935686][2560:2565] CHIP:DMG: - [1651581143.935741][2560:2565] CHIP:DMG: StatusIB = - [1651581143.935801][2560:2565] CHIP:DMG: { - [1651581143.935854][2560:2565] CHIP:DMG: status = 0x00 (SUCCESS), - [1651581143.935913][2560:2565] CHIP:DMG: }, - [1651581143.935966][2560:2565] CHIP:DMG: - [1651581143.936016][2560:2565] CHIP:DMG: }, - [1651581143.936076][2560:2565] CHIP:DMG: - [1651581143.936120][2560:2565] CHIP:DMG: ], - [1651581143.936175][2560:2565] CHIP:DMG: - [1651581143.936220][2560:2565] CHIP:DMG: InteractionModelRevision = 1 - [1651581143.936264][2560:2565] CHIP:DMG: } - - - - sudo ./chip-tool basic subscribe local-config-disabled 0 100 1 0 - [1651581168.305387][2569:2574] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0028 Attribute 0x0000_0010 DataVersion: 2272149882 - [1651581168.305439][2569:2574] CHIP:TOO: LocalConfigDisabled: TRUE - [1651581168.305493][2569:2574] CHIP:DMG: MoveToState ReadClient[0xffffa0004790]: Moving to [AwaitingSu] - [1651581168.305557][2569:2574] CHIP:EM: Piggybacking Ack for MessageCounter:3216298 on exchange: 59996i - [1651581168.305718][2569:2574] CHIP:IN: Prepared secure message 0xaaaaea061c98 to 0x0000000000000001 (1) of type 0x1 and protocolId (0, 1) on exchange 59996i with MessageCounter:13929590. - [1651581168.305776][2569:2574] CHIP:IN: Sending encrypted msg 0xaaaaea061c98 with MessageCounter:13929590 to 0x0000000000000001 (1) at monotonic time: 00000000001A477E msec - [1651581168.307099][2569:2574] CHIP:EM: Received message of type 0x4 with protocolId (0, 1) and MessageCounter:3216299 on exchange 59996i - [1651581168.307148][2569:2574] CHIP:EM: Found matching exchange: 59996i, Delegate: 0xffffa0004790 - [1651581168.307196][2569:2574] CHIP:EM: Rxd Ack; Removing MessageCounter:13929590 from Retrans Table on exchange 59996i - [1651581168.307232][2569:2574] CHIP:EM: Removed CHIP MessageCounter:13929590 from RetransTable on exchange 59996i - [1651581168.307292][2569:2574] CHIP:DMG: SubscribeResponseMessage = - [1651581168.307330][2569:2574] CHIP:DMG: { - [1651581168.307365][2569:2574] CHIP:DMG: SubscriptionId = 0xfd55400dbe72f1cb, - [1651581168.307405][2569:2574] CHIP:DMG: MinIntervalFloorSeconds = 0x0, - [1651581168.307444][2569:2574] CHIP:DMG: MaxIntervalCeilingSeconds = 0x64, - [1651581168.307481][2569:2574] CHIP:DMG: InteractionModelRevision = 1 - [1651581168.307516][2569:2574] CHIP:DMG: } - - + ./chip-tool basic subscribe local-config-disabled 100 200 1 0 + [1655894975.518731][1787:1792] CHIP:DMG: ReportDataMessage = + [1655894975.518772][1787:1792] CHIP:DMG: { + [1655894975.518808][1787:1792] CHIP:DMG: SubscriptionId = 0x156d3be2, + [1655894975.518845][1787:1792] CHIP:DMG: AttributeReportIBs = + [1655894975.518889][1787:1792] CHIP:DMG: [ + [1655894975.518925][1787:1792] CHIP:DMG: AttributeReportIB = + [1655894975.518972][1787:1792] CHIP:DMG: { + [1655894975.519010][1787:1792] CHIP:DMG: AttributeDataIB = + [1655894975.519056][1787:1792] CHIP:DMG: { + [1655894975.519104][1787:1792] CHIP:DMG: DataVersion = 0xf62da664, + [1655894975.519151][1787:1792] CHIP:DMG: AttributePathIB = + [1655894975.519200][1787:1792] CHIP:DMG: { + [1655894975.519255][1787:1792] CHIP:DMG: Endpoint = 0x0, + [1655894975.519311][1787:1792] CHIP:DMG: Cluster = 0x28, + [1655894975.519363][1787:1792] CHIP:DMG: Attribute = 0x0000_0010, + [1655894975.519415][1787:1792] CHIP:DMG: } + [1655894975.519465][1787:1792] CHIP:DMG: + [1655894975.519520][1787:1792] CHIP:DMG: Data = true, + [1655894975.519566][1787:1792] CHIP:DMG: }, + [1655894975.519614][1787:1792] CHIP:DMG: + [1655894975.519652][1787:1792] CHIP:DMG: }, + [1655894975.519696][1787:1792] CHIP:DMG: + [1655894975.519731][1787:1792] CHIP:DMG: ], + [1655894975.519776][1787:1792] CHIP:DMG: + [1655894975.519812][1787:1792] CHIP:DMG: InteractionModelRevision = 1 + [1655894975.519847][1787:1792] CHIP:DMG: } + [1655894975.520023][1787:1792] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0028 Attribute 0x0000_0010 DataVersion: 4130186852 + [1655894975.520073][1787:1792] CHIP:TOO: LocalConfigDisabled: TRUE + [1655894975.520142][1787:1792] CHIP:DMG: MoveToState ReadClient[0xffff6c006f50]: Moving to [AwaitingSu] + + + ./chip-tool basic write local-config-disabled 0 1 0 + [1655895037.152837][1793:1798] CHIP:DMG: StatusIB = + [1655895037.152884][1793:1798] CHIP:DMG: { + [1655895037.152942][1793:1798] CHIP:DMG: status = 0x00 (SUCCESS), + [1655895037.152988][1793:1798] CHIP:DMG: }, + + ./chip-tool basic subscribe local-config-disabled 100 200 1 0 + [1655895107.326374][1801:1806] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0028 Attribute 0x0000_0010 DataVersion: 4130186853 + [1655895107.326423][1801:1806] CHIP:TOO: LocalConfigDisabled: FALSE + [1655895107.326491][1801:1806] CHIP:DMG: MoveToState ReadClient[0xaaaaf7f7c1a0]: Moving to [AwaitingSu] + [1655895107.326557][1801:1806] CHIP:EM: Piggybacking Ack for MessageCounter:241530555 on exchange: 11522i + [1655895107.326630][1801:1806] CHIP:IN: Prepared secure message 0xaaaaf7f999a8 to 0x0000000000000001 (1) of type 0x1 and protocolId (0, 1) on exchange 11522i with MessageCounter:177944799. + [1655895107.326681][1801:1806] CHIP:IN: Sending encrypted msg 0xaaaaf7f999a8 with MessageCounter:177944799 to 0x0000000000000001 (1) at monotonic time: 000000000055DB48 msec + [1655895107.327646][1801:1806] CHIP:EM: Received message of type 0x4 with protocolId (0, 1) and MessageCounter:241530556 on exchange 11522i + [1655895107.327690][1801:1806] CHIP:EM: Found matching exchange: 11522i, Delegate: 0xaaaaf7f7c1a0 + [1655895107.327733][1801:1806] CHIP:EM: Rxd Ack; Removing MessageCounter:177944799 from Retrans Table on exchange 11522i + [1655895107.327768][1801:1806] CHIP:EM: Removed CHIP MessageCounter:177944799 from RetransTable on exchange 11522i + [1655895107.327821][1801:1806] CHIP:DMG: SubscribeResponseMessage = + [1655895107.327857][1801:1806] CHIP:DMG: { + [1655895107.327891][1801:1806] CHIP:DMG: SubscriptionId = 0xccbfeed1, + [1655895107.327929][1801:1806] CHIP:DMG: MaxInterval = 0xc8, + [1655895107.327965][1801:1806] CHIP:DMG: InteractionModelRevision = 1 + [1655895107.327998][1801:1806] CHIP:DMG: } + [1655895107.328035][1801:1806] CHIP:DMG: Subscription established with SubscriptionID = 0xccbfeed1 MinInterval = 0s MaxInterval = 200s Peer = 01:0000000000000001 Verify the above command multiple times(3 times) disabled: true @@ -365,72 +212,49 @@ tests: Modify the attribute multiple times (3 times) before the max interval time specified during the subscription activation." verification: | - In case of chip tool, here is an example command to use - - sudo ./chip-tool basic write node-label new 1 0 - - On TH-- - [1653463495.068961][19463:19468] CHIP:DMG: WriteResponseMessage = - [1653463495.068977][19463:19468] CHIP:DMG: { - [1653463495.068992][19463:19468] CHIP:DMG: AttributeStatusIBs = - [1653463495.069017][19463:19468] CHIP:DMG: [ - [1653463495.069032][19463:19468] CHIP:DMG: AttributeStatusIB = - [1653463495.069048][19463:19468] CHIP:DMG: { - [1653463495.069061][19463:19468] CHIP:DMG: AttributePathIB = - [1653463495.069075][19463:19468] CHIP:DMG: { - [1653463495.069090][19463:19468] CHIP:DMG: Endpoint = 0x0, - [1653463495.069106][19463:19468] CHIP:DMG: Cluster = 0x28, - [1653463495.069127][19463:19468] CHIP:DMG: Attribute = 0x0000_0005, - [1653463495.069141][19463:19468] CHIP:DMG: } - [1653463495.069161][19463:19468] CHIP:DMG: - [1653463495.069175][19463:19468] CHIP:DMG: StatusIB = - [1653463495.069193][19463:19468] CHIP:DMG: { - [1653463495.069209][19463:19468] CHIP:DMG: status = 0x00 (SUCCESS), - [1653463495.069227][19463:19468] CHIP:DMG: }, - [1653463495.069244][19463:19468] CHIP:DMG: - [1653463495.069257][19463:19468] CHIP:DMG: }, - [1653463495.069276][19463:19468] CHIP:DMG: - [1653463495.069289][19463:19468] CHIP:DMG: ], - [1653463495.069309][19463:19468] CHIP:DMG: - [1653463495.069322][19463:19468] CHIP:DMG: InteractionModelRevision = 1 - [1653463495.069335][19463:19468] CHIP:DMG: } - - - - - sudo ./chip-tool basic subscribe node-label 0 100 1 0 - - ON TH-- - [1653463505.771898][19471:19476] CHIP:DMG: ReportDataMessage = - [1653463505.771918][19471:19476] CHIP:DMG: { - [1653463505.771935][19471:19476] CHIP:DMG: SubscriptionId = 0xc242f057, - [1653463505.771953][19471:19476] CHIP:DMG: AttributeReportIBs = - [1653463505.771985][19471:19476] CHIP:DMG: [ - [1653463505.772001][19471:19476] CHIP:DMG: AttributeReportIB = - [1653463505.772027][19471:19476] CHIP:DMG: { - [1653463505.772043][19471:19476] CHIP:DMG: AttributeDataIB = - [1653463505.772061][19471:19476] CHIP:DMG: { - [1653463505.772081][19471:19476] CHIP:DMG: DataVersion = 0x8a93859e, - [1653463505.772098][19471:19476] CHIP:DMG: AttributePathIB = - [1653463505.772117][19471:19476] CHIP:DMG: { - [1653463505.772137][19471:19476] CHIP:DMG: Endpoint = 0x0, - [1653463505.772157][19471:19476] CHIP:DMG: Cluster = 0x28, - [1653463505.772177][19471:19476] CHIP:DMG: Attribute = 0x0000_0005, - [1653463505.772194][19471:19476] CHIP:DMG: } - [1653463505.772215][19471:19476] CHIP:DMG: - [1653463505.772237][19471:19476] CHIP:DMG: Data = "new", - [1653463505.772255][19471:19476] CHIP:DMG: }, - [1653463505.772277][19471:19476] CHIP:DMG: - [1653463505.772294][19471:19476] CHIP:DMG: }, - [1653463505.772316][19471:19476] CHIP:DMG: - [1653463505.772331][19471:19476] CHIP:DMG: ], - [1653463505.772362][19471:19476] CHIP:DMG: - [1653463505.772388][19471:19476] CHIP:DMG: InteractionModelRevision = 1 - [1653463505.772408][19471:19476] CHIP:DMG: } - [1653463505.772555][19471:19476] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0028 Attribute 0x0000_0005 DataVersion: 2324923806 - [1653463505.772583][19471:19476] CHIP:TOO: NodeLabel: new - - + ./chip-tool basic subscribe node-label 30 500 1 0 + [1655895494.995166][1812:1817] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0028 Attribute 0x0000_0005 DataVersion: 4130186853 + [1655895494.995216][1812:1817] CHIP:TOO: NodeLabel: + [1655895494.995283][1812:1817] CHIP:DMG: MoveToState ReadClient[0xffff74003ff0]: Moving to [AwaitingSu] + + ./chip-tool basic write node-label new 1 0 + [1655895585.624127][1835:1840] CHIP:DMG: StatusIB = + [1655895585.624172][1835:1840] CHIP:DMG: { + [1655895585.624216][1835:1840] CHIP:DMG: status = 0x00 (SUCCESS), + [1655895585.624263][1835:1840] CHIP:DMG: }, + [1655895585.624308][1835:1840] CHIP:DMG: + [1655895585.624345][1835:1840] CHIP:DMG: }, + + ./chip-tool basic subscribe node-label 30 500 1 0 + [1655895608.108538][1842:1847] CHIP:DMG: ReportDataMessage = + [1655895608.108578][1842:1847] CHIP:DMG: { + [1655895608.108628][1842:1847] CHIP:DMG: SubscriptionId = 0x510536e1, + [1655895608.108667][1842:1847] CHIP:DMG: AttributeReportIBs = + [1655895608.108713][1842:1847] CHIP:DMG: [ + [1655895608.108762][1842:1847] CHIP:DMG: AttributeReportIB = + [1655895608.108811][1842:1847] CHIP:DMG: { + [1655895608.108864][1842:1847] CHIP:DMG: AttributeDataIB = + [1655895608.108911][1842:1847] CHIP:DMG: { + [1655895608.108976][1842:1847] CHIP:DMG: DataVersion = 0xf62da668, + [1655895608.109041][1842:1847] CHIP:DMG: AttributePathIB = + [1655895608.109093][1842:1847] CHIP:DMG: { + [1655895608.109154][1842:1847] CHIP:DMG: Endpoint = 0x0, + [1655895608.109219][1842:1847] CHIP:DMG: Cluster = 0x28, + [1655895608.109274][1842:1847] CHIP:DMG: Attribute = 0x0000_0005, + [1655895608.109340][1842:1847] CHIP:DMG: } + [1655895608.109405][1842:1847] CHIP:DMG: + [1655895608.109459][1842:1847] CHIP:DMG: Data = "new", + [1655895608.109522][1842:1847] CHIP:DMG: }, + [1655895608.109585][1842:1847] CHIP:DMG: + [1655895608.109626][1842:1847] CHIP:DMG: }, + [1655895608.109684][1842:1847] CHIP:DMG: + [1655895608.109721][1842:1847] CHIP:DMG: ], + [1655895608.109781][1842:1847] CHIP:DMG: + [1655895608.109818][1842:1847] CHIP:DMG: InteractionModelRevision = 1 + [1655895608.109866][1842:1847] CHIP:DMG: } + [1655895608.110086][1842:1847] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0028 Attribute 0x0000_0005 DataVersion: 4130186856 + [1655895608.110137][1842:1847] CHIP:TOO: NodeLabel: new + [1655895608.110221][1842:1847] CHIP:DMG: MoveToState ReadClient[0xffff98003e90]: Moving to [AwaitingSu] Verify the above command multiple times(3 times) disabled: true @@ -442,53 +266,48 @@ tests: value. Modify the attribute multiple times (3 times) before the max interval time specified during the subscription activation.' verification: | - In case of chip tool, here is an example command to use - - sudo ./chip-tool any write-by-id 0x0008 0x0010 1 1 1 - [1651581271.466102][2595:2600] CHIP:DMG: WriteResponseMessage = - [1651581271.466135][2595:2600] CHIP:DMG: { - [1651581271.466173][2595:2600] CHIP:DMG: AttributeStatusIBs = - [1651581271.466212][2595:2600] CHIP:DMG: [ - [1651581271.466254][2595:2600] CHIP:DMG: AttributeStatusIB = - [1651581271.466293][2595:2600] CHIP:DMG: { - [1651581271.466339][2595:2600] CHIP:DMG: AttributePathIB = - [1651581271.466390][2595:2600] CHIP:DMG: { - [1651581271.466431][2595:2600] CHIP:DMG: Endpoint = 0x1, - [1651581271.466482][2595:2600] CHIP:DMG: Cluster = 0x8, - [1651581271.466539][2595:2600] CHIP:DMG: Attribute = 0x0000_0010, - [1651581271.466579][2595:2600] CHIP:DMG: } - [1651581271.466633][2595:2600] CHIP:DMG: - [1651581271.466671][2595:2600] CHIP:DMG: StatusIB = - [1651581271.466725][2595:2600] CHIP:DMG: { - [1651581271.466780][2595:2600] CHIP:DMG: status = 0x00 (SUCCESS), - [1651581271.466824][2595:2600] CHIP:DMG: }, - [1651581271.466918][2595:2600] CHIP:DMG: - [1651581271.466954][2595:2600] CHIP:DMG: }, - [1651581271.467007][2595:2600] CHIP:DMG: - [1651581271.467047][2595:2600] CHIP:DMG: ], - [1651581271.467086][2595:2600] CHIP:DMG: - [1651581271.467115][2595:2600] CHIP:DMG: InteractionModelRevision = 1 - [1651581271.467157][2595:2600] CHIP:DMG: } - - sudo ./chip-tool any subscribe-by-id 0x0008 0x0010 0 100 0 1 1 - [1651581311.929391][2605:2611] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0008 Attribute 0x0000_0010 DataVersion: 744300361 - [1651581311.929466][2605:2611] CHIP:TOO: on off transition time: 1 - [1651581311.929510][2605:2611] CHIP:DMG: MoveToState ReadClient[0xffff80003530]: Moving to [AwaitingSu] - [1651581311.929570][2605:2611] CHIP:EM: Piggybacking Ack for MessageCounter:1109661 on exchange: 21136i - [1651581311.929645][2605:2611] CHIP:IN: Prepared secure message 0xaaaaeb4dbc98 to 0x0000000000000001 (1) of type 0x1 and protocolId (0, 1) on exchange 21136i with MessageCounter:3315113. - [1651581311.929689][2605:2611] CHIP:IN: Sending encrypted msg 0xaaaaeb4dbc98 with MessageCounter:3315113 to 0x0000000000000001 (1) at monotonic time: 00000000001C7886 msec - [1651581311.930981][2605:2611] CHIP:EM: Received message of type 0x4 with protocolId (0, 1) and MessageCounter:1109662 on exchange 21136i - [1651581311.931029][2605:2611] CHIP:EM: Found matching exchange: 21136i, Delegate: 0xffff80003530 - [1651581311.931067][2605:2611] CHIP:EM: Rxd Ack; Removing MessageCounter:3315113 from Retrans Table on exchange 21136i - [1651581311.931090][2605:2611] CHIP:EM: Removed CHIP MessageCounter:3315113 from RetransTable on exchange 21136i - [1651581311.931140][2605:2611] CHIP:DMG: SubscribeResponseMessage = - [1651581311.931168][2605:2611] CHIP:DMG: { - [1651581311.931193][2605:2611] CHIP:DMG: SubscriptionId = 0x54d8451e9c60ea8, - [1651581311.931226][2605:2611] CHIP:DMG: MinIntervalFloorSeconds = 0x0, - [1651581311.931254][2605:2611] CHIP:DMG: MaxIntervalCeilingSeconds = 0x64, - [1651581311.931279][2605:2611] CHIP:DMG: InteractionModelRevision = 1 - [1651581311.931303][2605:2611] CHIP:DMG: } - + ./chip-tool basic subscribe node-label 30 500 1 0 + [1655895755.465257][1849:1854] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0008 Attribute 0x0000_0010 DataVersion: 2889729871 + [1655895755.465366][1849:1854] CHIP:TOO: on off transition time: 0 + [1655895755.465416][1849:1854] CHIP:DMG: MoveToState ReadClient[0xffff9c006f10]: Moving to [AwaitingSu] + + ./chip-tool any write-by-id 0x0008 0x0010 1 1 1 + [1655895794.917918][1857:1862] CHIP:DMG: StatusIB = + [1655895794.918014][1857:1862] CHIP:DMG: { + [1655895794.918059][1857:1862] CHIP:DMG: status = 0x00 (SUCCESS), + [1655895794.918105][1857:1862] CHIP:DMG: }, + + + ./chip-tool any subscribe-by-id 0x0008 0x0010 100 300 1 1 + [1655895880.423985][1864:1869] CHIP:DMG: ReportDataMessage = + [1655895880.424029][1864:1869] CHIP:DMG: { + [1655895880.424069][1864:1869] CHIP:DMG: SubscriptionId = 0x8dd9847b, + [1655895880.424109][1864:1869] CHIP:DMG: AttributeReportIBs = + [1655895880.424158][1864:1869] CHIP:DMG: [ + [1655895880.424198][1864:1869] CHIP:DMG: AttributeReportIB = + [1655895880.424249][1864:1869] CHIP:DMG: { + [1655895880.424291][1864:1869] CHIP:DMG: AttributeDataIB = + [1655895880.424338][1864:1869] CHIP:DMG: { + [1655895880.424396][1864:1869] CHIP:DMG: DataVersion = 0xac3dc750, + [1655895880.424447][1864:1869] CHIP:DMG: AttributePathIB = + [1655895880.424502][1864:1869] CHIP:DMG: { + [1655895880.424557][1864:1869] CHIP:DMG: Endpoint = 0x1, + [1655895880.424620][1864:1869] CHIP:DMG: Cluster = 0x8, + [1655895880.424676][1864:1869] CHIP:DMG: Attribute = 0x0000_0010, + [1655895880.424729][1864:1869] CHIP:DMG: } + [1655895880.424786][1864:1869] CHIP:DMG: + [1655895880.424847][1864:1869] CHIP:DMG: Data = 1, + [1655895880.424898][1864:1869] CHIP:DMG: }, + [1655895880.424951][1864:1869] CHIP:DMG: + [1655895880.424993][1864:1869] CHIP:DMG: }, + [1655895880.425041][1864:1869] CHIP:DMG: + [1655895880.425080][1864:1869] CHIP:DMG: ], + [1655895880.425130][1864:1869] CHIP:DMG: + [1655895880.425169][1864:1869] CHIP:DMG: InteractionModelRevision = 1 + [1655895880.425207][1864:1869] CHIP:DMG: } + [1655895880.425391][1864:1869] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0008 Attribute 0x0000_0010 DataVersion: 2889729872 + [1655895880.425489][1864:1869] CHIP:TOO: on off transition time: 1 + [1655895880.425551][1864:1869] CHIP:DMG: MoveToState ReadClient[0xffffa0004b70]: Moving to [AwaitingSu] Verify the above command multiple times(3 times) disabled: true @@ -500,7 +319,7 @@ tests: value. Modify the attribute multiple times (3 times)before the max interval time specified during the subscription activation.' verification: | - subscribe to an attribute of type signed integer to the Harness + Subscribe to an attribute of type signed integer to the Harness disabled: true - label: @@ -510,7 +329,7 @@ tests: value. Modify the attribute multiple times (3 times) before the max interval time specified during the subscription activation.' verification: | - subscribe to an attribute of type floating point to the Harness + Subscribe to an attribute of type floating point to the Harness disabled: true - label: @@ -520,41 +339,32 @@ tests: the attribute multiple times (3 times) before the max interval time specified during the subscription activation." verification: | - sudo ./chip-tool modeselect subscribe supported-modes 0 100 1 1 - sudo ./chip-tool modeselect subscribe supported-modes 0 100 1 1 - sudo ./chip-tool modeselect subscribe supported-modes 0 100 1 1 - [1651582224.233708][2800:2805] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0050 Attribute 0x0000_0002 DataVersion: 208325786 - [1651582224.233839][2800:2805] CHIP:TOO: SupportedModes: 3 entries - [1651582224.233928][2800:2805] CHIP:TOO: [1]: { - [1651582224.233967][2800:2805] CHIP:TOO: Label: Black - [1651582224.234022][2800:2805] CHIP:TOO: Mode: 0 - [1651582224.234059][2800:2805] CHIP:TOO: SemanticTag: 0 - [1651582224.234096][2800:2805] CHIP:TOO: } - [1651582224.234141][2800:2805] CHIP:TOO: [2]: { - [1651582224.234178][2800:2805] CHIP:TOO: Label: Cappuccino - [1651582224.234212][2800:2805] CHIP:TOO: Mode: 4 - [1651582224.234246][2800:2805] CHIP:TOO: SemanticTag: 0 - [1651582224.234281][2800:2805] CHIP:TOO: } - [1651582224.234325][2800:2805] CHIP:TOO: [3]: { - [1651582224.234361][2800:2805] CHIP:TOO: Label: Espresso - [1651582224.234395][2800:2805] CHIP:TOO: Mode: 7 - [1651582224.234428][2800:2805] CHIP:TOO: SemanticTag: 0 - [1651582224.234463][2800:2805] CHIP:TOO: } - [1651582224.234534][2800:2805] CHIP:DMG: MoveToState ReadClient[0xffff88002d90]: Moving to [AwaitingSu] - [1651582224.234588][2800:2805] CHIP:EM: Piggybacking Ack for MessageCounter:12155993 on exchange: 59569i - [1651582224.234665][2800:2805] CHIP:IN: Prepared secure message 0xaaaaf2f076b8 to 0x0000000000000001 (1) of type 0x1 and protocolId (0, 1) on exchange 59569i with MessageCounter:7049664. - [1651582224.234711][2800:2805] CHIP:IN: Sending encrypted msg 0xaaaaf2f076b8 with MessageCounter:7049664 to 0x0000000000000001 (1) at monotonic time: 00000000002A6437 msec - [1651582224.236774][2800:2805] CHIP:EM: Received message of type 0x4 with protocolId (0, 1) and MessageCounter:12155994 on exchange 59569i - [1651582224.236817][2800:2805] CHIP:EM: Found matching exchange: 59569i, Delegate: 0xffff88002d90 - [1651582224.236858][2800:2805] CHIP:EM: Rxd Ack; Removing MessageCounter:7049664 from Retrans Table on exchange 59569i - [1651582224.236887][2800:2805] CHIP:EM: Removed CHIP MessageCounter:7049664 from RetransTable on exchange 59569i - [1651582224.236941][2800:2805] CHIP:DMG: SubscribeResponseMessage = - [1651582224.236974][2800:2805] CHIP:DMG: { - [1651582224.237002][2800:2805] CHIP:DMG: SubscriptionId = 0xe2b3f2defbc9ad8d, - [1651582224.237037][2800:2805] CHIP:DMG: MinIntervalFloorSeconds = 0x0, - [1651582224.237069][2800:2805] CHIP:DMG: MaxIntervalCeilingSeconds = 0x64, - [1651582224.237099][2800:2805] CHIP:DMG: InteractionModelRevision = 1 - [1651582224.237127][2800:2805] CHIP:DMG: } + ./chip-tool userlabel subscribe label-list 100 500 1 0 + [1655896309.160632][1885:1890] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0041 Attribute 0x0000_0000 DataVersion: 3773922725 + [1655896309.160795][1885:1890] CHIP:TOO: label list: 0 entries + [1655896309.160851][1885:1890] CHIP:DMG: MoveToState ReadClient[0xffffa0005710]: Moving to [AwaitingSu] + + + ./chip-tool userlabel write label-list '[{"label":"room", "value":"bedroom 1"}, {"label":"orientation", "value":"east"}]' 1 0 + [1655896383.439036][1893:1898] CHIP:DMG: StatusIB = + [1655896383.439109][1893:1898] CHIP:DMG: { + [1655896383.439183][1893:1898] CHIP:DMG: status = 0x00 (SUCCESS), + [1655896383.439264][1893:1898] CHIP:DMG: }, + + ./chip-tool userlabel subscribe label-list 100 500 1 0 + [1655896422.936972][1899:1904] CHIP:DMG: } + [1655896422.937347][1899:1904] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0041 Attribute 0x0000_0000 DataVersion: 3773922728 + [1655896422.937478][1899:1904] CHIP:TOO: label list: 2 entries + [1655896422.937612][1899:1904] CHIP:TOO: [1]: { + [1655896422.937658][1899:1904] CHIP:TOO: Label: room + [1655896422.937697][1899:1904] CHIP:TOO: Value: bedroom 1 + [1655896422.937738][1899:1904] CHIP:TOO: } + [1655896422.937789][1899:1904] CHIP:TOO: [2]: { + [1655896422.937830][1899:1904] CHIP:TOO: Label: orientation + [1655896422.937868][1899:1904] CHIP:TOO: Value: east + [1655896422.937907][1899:1904] CHIP:TOO: } + [1655896422.938019][1899:1904] CHIP:DMG: MoveToState ReadClient[0xffff6c006120]: Moving to [AwaitingSu] + [1655896422.938098][1899:1904] CHIP:EM: Piggybacking Ack for MessageCounter:178495354 on exchange: 58101i disabled: true - label: @@ -565,79 +375,68 @@ tests: KeepSubsriptions flag should be set to False Change the value of the attribute requested on the DUT." verification: | - sudo ./chip-tool basic subscribe local-config-disabled 0 100 1 0 --keepSubscriptions 0 - - [1653464485.355192][19712:19717] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0028 Attribute 0x0000_0010 DataVersion: 2324923808 - [1653464485.355221][19712:19717] CHIP:TOO: LocalConfigDisabled: TRUE - [1653464485.355280][19712:19717] CHIP:DMG: MoveToState ReadClient[0x7f1bd0005590]: Moving to [AwaitingSu] - [1653464485.355334][19712:19717] CHIP:EM: Piggybacking Ack for MessageCounter:9045781 on exchange: 63930i - [1653464485.355393][19712:19717] CHIP:IN: Prepared secure message 0x55aac7ba5188 to 0x0000000000000001 (1) of type 0x1 and protocolId (0, 1) on exchange 63930i with MessageCounter:13974682. - [1653464485.355424][19712:19717] CHIP:IN: Sending encrypted msg 0x55aac7ba5188 with MessageCounter:13974682 to 0x0000000000000001 (1) at monotonic time: 000000000098E0DF msec - [1653464485.376990][19712:19717] CHIP:EM: Received message of type 0x4 with protocolId (0, 1) and MessageCounter:9045782 on exchange 63930i - [1653464485.377041][19712:19717] CHIP:EM: Found matching exchange: 63930i, Delegate: 0x7f1bd0005590 - [1653464485.377073][19712:19717] CHIP:EM: Rxd Ack; Removing MessageCounter:13974682 from Retrans Table on exchange 63930i - [1653464485.377093][19712:19717] CHIP:EM: Removed CHIP MessageCounter:13974682 from RetransTable on exchange 63930i - [1653464485.377140][19712:19717] CHIP:DMG: SubscribeResponseMessage = - [1653464485.377158][19712:19717] CHIP:DMG: { - [1653464485.377175][19712:19717] CHIP:DMG: SubscriptionId = 0x1941a0fd, - [1653464485.377192][19712:19717] CHIP:DMG: MinIntervalFloorSeconds = 0x0, - [1653464485.377210][19712:19717] CHIP:DMG: MaxIntervalCeilingSeconds = 0x64, - [1653464485.377227][19712:19717] CHIP:DMG: InteractionModelRevision = 1 - [1653464485.377242][19712:19717] CHIP:DMG: } - - sudo ./chip-tool basic subscribe local-config-disabled 200 1000 1 0 --keepSubscriptions 0 - - [1653464502.663445][19724:19729] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0028 Attribute 0x0000_0010 DataVersion: 2324923808 - [1653464502.663458][19724:19729] CHIP:TOO: LocalConfigDisabled: TRUE - [1653464502.663480][19724:19729] CHIP:DMG: MoveToState ReadClient[0x7f8c880057c0]: Moving to [AwaitingSu] - [1653464502.663504][19724:19729] CHIP:EM: Piggybacking Ack for MessageCounter:2192862 on exchange: 20981i - [1653464502.663527][19724:19729] CHIP:IN: Prepared secure message 0x55a9fb3310d8 to 0x0000000000000001 (1) of type 0x1 and protocolId (0, 1) on exchange 20981i with MessageCounter:3779317. - [1653464502.663542][19724:19729] CHIP:IN: Sending encrypted msg 0x55a9fb3310d8 with MessageCounter:3779317 to 0x0000000000000001 (1) at monotonic time: 000000000099247C msec - [1653464502.676940][19724:19729] CHIP:EM: Received message of type 0x4 with protocolId (0, 1) and MessageCounter:2192863 on exchange 20981i - [1653464502.676976][19724:19729] CHIP:EM: Found matching exchange: 20981i, Delegate: 0x7f8c880057c0 - [1653464502.676997][19724:19729] CHIP:EM: Rxd Ack; Removing MessageCounter:3779317 from Retrans Table on exchange 20981i - [1653464502.677005][19724:19729] CHIP:EM: Removed CHIP MessageCounter:3779317 from RetransTable on exchange 20981i - [1653464502.677036][19724:19729] CHIP:DMG: SubscribeResponseMessage = - [1653464502.677047][19724:19729] CHIP:DMG: { - [1653464502.677057][19724:19729] CHIP:DMG: SubscriptionId = 0x3d593b10, - [1653464502.677068][19724:19729] CHIP:DMG: MinIntervalFloorSeconds = 0xc8, - [1653464502.677078][19724:19729] CHIP:DMG: MaxIntervalCeilingSeconds = 0x3e8, - [1653464502.677087][19724:19729] CHIP:DMG: InteractionModelRevision = 1 - [1653464502.677096][19724:19729] CHIP:DMG: } - - - sudo ./chip-tool basic write local-config-disabled 1 1 0 - [1653464565.244478][19736:19741] CHIP:DMG: Endpoint = 0x0, - [1653464565.244506][19736:19741] CHIP:DMG: Cluster = 0x28, - [1653464565.244536][19736:19741] CHIP:DMG: Attribute = 0x0000_0010, - [1653464565.244563][19736:19741] CHIP:DMG: } - [1653464565.244602][19736:19741] CHIP:DMG: - [1653464565.244629][19736:19741] CHIP:DMG: StatusIB = - [1653464565.244659][19736:19741] CHIP:DMG: { - [1653464565.244685][19736:19741] CHIP:DMG: status = 0x00 (SUCCESS), - [1653464565.244710][19736:19741] CHIP:DMG: }, - [1653464565.244738][19736:19741] CHIP:DMG: - - - sudo ./chip-tool basic subscribe local-config-disabled 0 100 1 0 --keepSubscriptions 0 - - [1653464583.855119][19746:19751] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0028 Attribute 0x0000_0010 DataVersion: 2324923809 - [1653464583.855160][19746:19751] CHIP:TOO: LocalConfigDisabled: TRUE - [1653464583.855212][19746:19751] CHIP:DMG: MoveToState ReadClient[0x7f7130005ab0]: Moving to [AwaitingSu] - [1653464583.855256][19746:19751] CHIP:EM: Piggybacking Ack for MessageCounter:7563414 on exchange: 10588i - [1653464583.855305][19746:19751] CHIP:IN: Prepared secure message 0x55f470930a48 to 0x0000000000000001 (1) of type 0x1 and protocolId (0, 1) on exchange 10588i with MessageCounter:6505897. - [1653464583.855337][19746:19751] CHIP:IN: Sending encrypted msg 0x55f470930a48 with MessageCounter:6505897 to 0x0000000000000001 (1) at monotonic time: 00000000009A61A3 msec - [1653464583.859578][19746:19751] CHIP:EM: Received message of type 0x4 with protocolId (0, 1) and MessageCounter:7563415 on exchange 10588i - [1653464583.859625][19746:19751] CHIP:EM: Found matching exchange: 10588i, Delegate: 0x7f7130005ab0 - [1653464583.859661][19746:19751] CHIP:EM: Rxd Ack; Removing MessageCounter:6505897 from Retrans Table on exchange 10588i - [1653464583.859689][19746:19751] CHIP:EM: Removed CHIP MessageCounter:6505897 from RetransTable on exchange 10588i - [1653464583.859734][19746:19751] CHIP:DMG: SubscribeResponseMessage = - [1653464583.859749][19746:19751] CHIP:DMG: { - [1653464583.859762][19746:19751] CHIP:DMG: SubscriptionId = 0x2d5a25e3, - [1653464583.859781][19746:19751] CHIP:DMG: MinIntervalFloorSeconds = 0x0, - [1653464583.859806][19746:19751] CHIP:DMG: MaxIntervalCeilingSeconds = 0x64, - [1653464583.859828][19746:19751] CHIP:DMG: InteractionModelRevision = 1 - [1653464583.859847][19746:19751] CHIP:DMG: } + ./chip-tool basic subscribe local-config-disabled 0 100 1 0 --keepSubscriptions 0 + [1655897683.993116][1424:1424] CHIP:DMG: SubscribeRequestMessage = + [1655897683.993164][1424:1424] CHIP:DMG: { + [1655897683.993207][1424:1424] CHIP:DMG: KeepSubscriptions = false, + [1655897683.993255][1424:1424] CHIP:DMG: MinIntervalFloorSeconds = 0x0, + [1655897683.993411][1424:1424] CHIP:DMG: MaxIntervalCeilingSeconds = 0x64, + [1655897683.993464][1424:1424] CHIP:DMG: AttributePathIBs = + [1655897683.993512][1424:1424] CHIP:DMG: [ + [1655897683.993556][1424:1424] CHIP:DMG: AttributePathIB = + [1655897683.993605][1424:1424] CHIP:DMG: { + [1655897683.993656][1424:1424] CHIP:DMG: Endpoint = 0x0, + [1655897683.993713][1424:1424] CHIP:DMG: Cluster = 0x28, + [1655897683.993776][1424:1424] CHIP:DMG: Attribute = 0x0000_0010, + [1655897683.993835][1424:1424] CHIP:DMG: } + [1655897683.993891][1424:1424] CHIP:DMG: + [1655897683.993936][1424:1424] CHIP:DMG: ], + [1655897683.993987][1424:1424] CHIP:DMG: + [1655897683.994034][1424:1424] CHIP:DMG: isFabricFiltered = true, + [1655897683.994080][1424:1424] CHIP:DMG: InteractionModelRevision = 1 + [1655897683.994123][1424:1424] CHIP:DMG: }, + [1655897683.994246][1424:1424] CHIP:DMG: Final negotiated min/max parameters: Min = 0s, Max = 100s + + sudo ./chip-tool basic write local-config-disabled 1 1 0 + [1655897946.992504][1934:1939] CHIP:DMG: } + [1655897946.992554][1934:1939] CHIP:DMG: + [1655897946.992597][1934:1939] CHIP:DMG: StatusIB = + [1655897946.992643][1934:1939] CHIP:DMG: { + [1655897946.992687][1934:1939] CHIP:DMG: status = 0x00 (SUCCESS), + [1655897946.992732][1934:1939] CHIP:DMG: }, + [1655897946.992776][1934:1939] CHIP:DMG: + [1655897946.992813][1934:1939] CHIP:DMG: }, + + sudo ./chip-tool basic subscribe local-config-disabled 200 500 1 0 --keepSubscriptions 0 + [1655898064.517796][1956:1961] CHIP:DMG: ReportDataMessage = + [1655898064.517837][1956:1961] CHIP:DMG: { + [1655898064.517872][1956:1961] CHIP:DMG: SubscriptionId = 0xba6ed, + [1655898064.517909][1956:1961] CHIP:DMG: AttributeReportIBs = + [1655898064.518036][1956:1961] CHIP:DMG: [ + [1655898064.518074][1956:1961] CHIP:DMG: AttributeReportIB = + [1655898064.518121][1956:1961] CHIP:DMG: { + [1655898064.518160][1956:1961] CHIP:DMG: AttributeDataIB = + [1655898064.518211][1956:1961] CHIP:DMG: { + [1655898064.518258][1956:1961] CHIP:DMG: DataVersion = 0xf62da669, + [1655898064.518304][1956:1961] CHIP:DMG: AttributePathIB = + [1655898064.518352][1956:1961] CHIP:DMG: { + [1655898064.518403][1956:1961] CHIP:DMG: Endpoint = 0x0, + [1655898064.518454][1956:1961] CHIP:DMG: Cluster = 0x28, + [1655898064.518506][1956:1961] CHIP:DMG: Attribute = 0x0000_0010, + [1655898064.518554][1956:1961] CHIP:DMG: } + [1655898064.518600][1956:1961] CHIP:DMG: + [1655898064.518651][1956:1961] CHIP:DMG: Data = true, + [1655898064.518696][1956:1961] CHIP:DMG: }, + [1655898064.518743][1956:1961] CHIP:DMG: + [1655898064.518781][1956:1961] CHIP:DMG: }, + [1655898064.518825][1956:1961] CHIP:DMG: + [1655898064.518860][1956:1961] CHIP:DMG: ], + [1655898064.518904][1956:1961] CHIP:DMG: + [1655898064.518940][1956:1961] CHIP:DMG: InteractionModelRevision = 1 + [1655898064.518975][1956:1961] CHIP:DMG: } + [1655898064.519148][1956:1961] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0028 Attribute 0x0000_0010 DataVersion: 4130186857 + [1655898064.519201][1956:1961] CHIP:TOO: LocalConfigDisabled: TRUE + [1655898064.519269][1956:1961] CHIP:DMG: MoveToState ReadClient[0xffff70003590]: Moving to [AwaitingSu] disabled: true - label: @@ -645,90 +444,39 @@ tests: attribute After the Maximum interval time is elapsed, change the value of the attribute requested on the DUT." verification: | - sudo ./chip-tool basic write local-config-disabled 1 1 0 - - [1653464647.615920][19758:19763] CHIP:DMG: StatusIB = - [1653464647.615940][19758:19763] CHIP:DMG: { - [1653464647.615959][19758:19763] CHIP:DMG: status = 0x00 (SUCCESS), - [1653464647.615976][19758:19763] CHIP:DMG: }, - - sudo ./chip-tool basic subscribe local-config-disabled 0 100 1 0 - - [1653464677.814495][19798:19803] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0028 Attribute 0x0000_0010 DataVersion: 2324923810 - [1653464677.814522][19798:19803] CHIP:TOO: LocalConfigDisabled: TRUE - [1653464677.814571][19798:19803] CHIP:DMG: MoveToState ReadClient[0x7fe884006cd0]: Moving to [AwaitingSu] - [1653464677.814616][19798:19803] CHIP:EM: Piggybacking Ack for MessageCounter:13698510 on exchange: 51112i - [1653464677.814667][19798:19803] CHIP:IN: Prepared secure message 0x5602c0b7aaf8 to 0x0000000000000001 (1) of type 0x1 and protocolId (0, 1) on exchange 51112i with MessageCounter:575272. - [1653464677.814698][19798:19803] CHIP:IN: Sending encrypted msg 0x5602c0b7aaf8 with MessageCounter:575272 to 0x0000000000000001 (1) at monotonic time: 00000000009BD0AB msec - [1653464677.821795][19798:19803] CHIP:EM: Received message of type 0x4 with protocolId (0, 1) and MessageCounter:13698511 on exchange 51112i - [1653464677.821832][19798:19803] CHIP:EM: Found matching exchange: 51112i, Delegate: 0x7fe884006cd0 - [1653464677.821859][19798:19803] CHIP:EM: Rxd Ack; Removing MessageCounter:575272 from Retrans Table on exchange 51112i - [1653464677.821877][19798:19803] CHIP:EM: Removed CHIP MessageCounter:575272 from RetransTable on exchange 51112i - [1653464677.821926][19798:19803] CHIP:DMG: SubscribeResponseMessage = - [1653464677.821943][19798:19803] CHIP:DMG: { - [1653464677.821956][19798:19803] CHIP:DMG: SubscriptionId = 0x7d224f31, - [1653464677.821970][19798:19803] CHIP:DMG: MinIntervalFloorSeconds = 0x0, - [1653464677.821983][19798:19803] CHIP:DMG: MaxIntervalCeilingSeconds = 0x64, - [1653464677.821996][19798:19803] CHIP:DMG: InteractionModelRevision = 1 - [1653464677.822007][19798:19803] CHIP:DMG: } - - sudo ./chip-tool basic write local-config-disabled 0 1 0 - - [1653464719.762143][19924:19929] CHIP:DMG: StatusIB = - [1653464719.762166][19924:19929] CHIP:DMG: { - [1653464719.762186][19924:19929] CHIP:DMG: status = 0x00 (SUCCESS), - [1653464719.762210][19924:19929] CHIP:DMG: }, - - - sudo ./chip-tool basic subscribe local-config-disabled 0 100 1 0 - - - [1653464757.024706][19936:19941] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0028 Attribute 0x0000_0010 DataVersion: 2324923811 - [1653464757.024735][19936:19941] CHIP:TOO: LocalConfigDisabled: FALSE - [1653464757.024769][19936:19941] CHIP:DMG: MoveToState ReadClient[0x7efe28007700]: Moving to [AwaitingSu] - [1653464757.024799][19936:19941] CHIP:EM: Piggybacking Ack for MessageCounter:5206161 on exchange: 26375i - [1653464757.024859][19936:19941] CHIP:IN: Prepared secure message 0x5590ceb1e6b8 to 0x0000000000000001 (1) of type 0x1 and protocolId (0, 1) on exchange 26375i with MessageCounter:557407. - [1653464757.024886][19936:19941] CHIP:IN: Sending encrypted msg 0x5590ceb1e6b8 with MessageCounter:557407 to 0x0000000000000001 (1) at monotonic time: 00000000009D0615 msec - [1653464757.034562][19936:19941] CHIP:EM: Received message of type 0x4 with protocolId (0, 1) and MessageCounter:5206162 on exchange 26375i - [1653464757.034598][19936:19941] CHIP:EM: Found matching exchange: 26375i, Delegate: 0x7efe28007700 - [1653464757.034622][19936:19941] CHIP:EM: Rxd Ack; Removing MessageCounter:557407 from Retrans Table on exchange 26375i - [1653464757.034634][19936:19941] CHIP:EM: Removed CHIP MessageCounter:557407 from RetransTable on exchange 26375i - [1653464757.034699][19936:19941] CHIP:DMG: SubscribeResponseMessage = - [1653464757.034722][19936:19941] CHIP:DMG: { - [1653464757.034739][19936:19941] CHIP:DMG: SubscriptionId = 0x7bb8ea47, - [1653464757.034756][19936:19941] CHIP:DMG: MinIntervalFloorSeconds = 0x0, - [1653464757.034773][19936:19941] CHIP:DMG: MaxIntervalCeilingSeconds = 0x64, - [1653464757.034789][19936:19941] CHIP:DMG: InteractionModelRevision = 1 - [1653464757.034806][19936:19941] CHIP:DMG: } + ./chip-tool userlabel subscribe label-list 100 500 1 0 + [1655896309.160632][1885:1890] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0041 Attribute 0x0000_0000 DataVersion: 3773922725 + [1655896309.160795][1885:1890] CHIP:TOO: label list: 0 entries + [1655896309.160851][1885:1890] CHIP:DMG: MoveToState ReadClient[0xffffa0005710]: Moving to [AwaitingSu] + + + ./chip-tool userlabel write label-list '[{"label":"room", "value":"bedroom 1"}, {"label":"orientation", "value":"east"}]' 1 0 + [1655896383.439036][1893:1898] CHIP:DMG: StatusIB = + [1655896383.439109][1893:1898] CHIP:DMG: { + [1655896383.439183][1893:1898] CHIP:DMG: status = 0x00 (SUCCESS), + [1655896383.439264][1893:1898] CHIP:DMG: }, + + ./chip-tool userlabel subscribe label-list 100 500 1 0 + [1655896422.936972][1899:1904] CHIP:DMG: } + [1655896422.937347][1899:1904] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0041 Attribute 0x0000_0000 DataVersion: 3773922728 + [1655896422.937478][1899:1904] CHIP:TOO: label list: 2 entries + [1655896422.937612][1899:1904] CHIP:TOO: [1]: { + [1655896422.937658][1899:1904] CHIP:TOO: Label: room + [1655896422.937697][1899:1904] CHIP:TOO: Value: bedroom 1 + [1655896422.937738][1899:1904] CHIP:TOO: } + [1655896422.937789][1899:1904] CHIP:TOO: [2]: { + [1655896422.937830][1899:1904] CHIP:TOO: Label: orientation + [1655896422.937868][1899:1904] CHIP:TOO: Value: east + [1655896422.937907][1899:1904] CHIP:TOO: } + [1655896422.938019][1899:1904] CHIP:DMG: MoveToState ReadClient[0xffff6c006120]: Moving to [AwaitingSu] + [1655896422.938098][1899:1904] CHIP:EM: Piggybacking Ack for MessageCounter:178495354 on exchange: 58101i disabled: true - label: "Activate the subscription between the DUT and the TH for an attribute Reboot the DUT. Change the value of the attribute on the DUT." verification: | - sudo ./chip-tool basic subscribe local-config-disabled 0 100 1 0 - [1653464677.814495][19798:19803] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0028 Attribute 0x0000_0010 DataVersion: 2324923810 - [1653464677.814522][19798:19803] CHIP:TOO: LocalConfigDisabled: TRUE - [1653464677.814571][19798:19803] CHIP:DMG: MoveToState ReadClient[0x7fe884006cd0]: Moving to [AwaitingSu] - [1653464677.814616][19798:19803] CHIP:EM: Piggybacking Ack for MessageCounter:13698510 on exchange: 51112i - [1653464677.814667][19798:19803] CHIP:IN: Prepared secure message 0x5602c0b7aaf8 to 0x0000000000000001 (1) of type 0x1 and protocolId (0, 1) on exchange 51112i with MessageCounter:575272. - [1653464677.814698][19798:19803] CHIP:IN: Sending encrypted msg 0x5602c0b7aaf8 with MessageCounter:575272 to 0x0000000000000001 (1) at monotonic time: 00000000009BD0AB msec - [1653464677.821795][19798:19803] CHIP:EM: Received message of type 0x4 with protocolId (0, 1) and MessageCounter:13698511 on exchange 51112i - [1653464677.821832][19798:19803] CHIP:EM: Found matching exchange: 51112i, Delegate: 0x7fe884006cd0 - [1653464677.821859][19798:19803] CHIP:EM: Rxd Ack; Removing MessageCounter:575272 from Retrans Table on exchange 51112i - [1653464677.821877][19798:19803] CHIP:EM: Removed CHIP MessageCounter:575272 from RetransTable on exchange 51112i - [1653464677.821926][19798:19803] CHIP:DMG: SubscribeResponseMessage = - [1653464677.821943][19798:19803] CHIP:DMG: { - [1653464677.821956][19798:19803] CHIP:DMG: SubscriptionId = 0x7d224f31, - [1653464677.821970][19798:19803] CHIP:DMG: MinIntervalFloorSeconds = 0x0, - [1653464677.821983][19798:19803] CHIP:DMG: MaxIntervalCeilingSeconds = 0x64, - [1653464677.821996][19798:19803] CHIP:DMG: InteractionModelRevision = 1 - [1653464677.822007][19798:19803] CHIP:DMG: } - - reboot the DUT using factory reset method - - Change the attribute value by sending attribute value and verify DUT fails to send changed attribute value. disabled: true - label: @@ -775,122 +523,103 @@ tests: to the DUT for another attribute with the KeepSubscriptions flag set to True. Change both the attribute values on the DUT." verification: | - Use interactive mode to verify this - ./chip-tool start interactive mood - - onoff subscribe off-wait-time 100 1000 1 1 --keepSubscriptions 1 - - [1653473183.208514][21558:21563] CHIP:DMG: ReportDataMessage = - [1653473183.208542][21558:21563] CHIP:DMG: { - [1653473183.208571][21558:21563] CHIP:DMG: SubscriptionId = 0x75817f8c, - [1653473183.208595][21558:21563] CHIP:DMG: AttributeReportIBs = - [1653473183.208634][21558:21563] CHIP:DMG: [ - [1653473183.208655][21558:21563] CHIP:DMG: AttributeReportIB = - [1653473183.208692][21558:21563] CHIP:DMG: { - [1653473183.208715][21558:21563] CHIP:DMG: AttributeDataIB = - [1653473183.208743][21558:21563] CHIP:DMG: { - [1653473183.208770][21558:21563] CHIP:DMG: DataVersion = 0xbf2fc26e, - [1653473183.208794][21558:21563] CHIP:DMG: AttributePathIB = - [1653473183.208863][21558:21563] CHIP:DMG: { - [1653473183.208902][21558:21563] CHIP:DMG: Endpoint = 0x1, - [1653473183.208931][21558:21563] CHIP:DMG: Cluster = 0x6, - [1653473183.208960][21558:21563] CHIP:DMG: Attribute = 0x0000_4002, - [1653473183.208988][21558:21563] CHIP:DMG: } - [1653473183.209021][21558:21563] CHIP:DMG: - [1653473183.209050][21558:21563] CHIP:DMG: Data = 0, - [1653473183.209073][21558:21563] CHIP:DMG: }, - [1653473183.209107][21558:21563] CHIP:DMG: - [1653473183.209127][21558:21563] CHIP:DMG: }, - [1653473183.209160][21558:21563] CHIP:DMG: - [1653473183.209180][21558:21563] CHIP:DMG: ], - [1653473183.209215][21558:21563] CHIP:DMG: - [1653473183.209236][21558:21563] CHIP:DMG: InteractionModelRevision = 1 - [1653473183.209257][21558:21563] CHIP:DMG: } - [1653473183.209384][21558:21563] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0006 Attribute 0x0000_4002 DataVersion: 3207578222 - [1653473183.209421][21558:21563] CHIP:TOO: OffWaitTime: 0 - - onoff subscribe on-time 100 1000 1 1 --keepSubscriptions 1 - - [1653473048.980181][21558:21563] CHIP:DMG: ReportDataMessage = - [1653473048.980202][21558:21563] CHIP:DMG: { - [1653473048.980219][21558:21563] CHIP:DMG: SubscriptionId = 0x29adb83a, - [1653473048.980233][21558:21563] CHIP:DMG: AttributeReportIBs = - [1653473048.980258][21558:21563] CHIP:DMG: [ - [1653473048.980276][21558:21563] CHIP:DMG: AttributeReportIB = - [1653473048.980305][21558:21563] CHIP:DMG: { - [1653473048.980323][21558:21563] CHIP:DMG: AttributeDataIB = - [1653473048.980354][21558:21563] CHIP:DMG: { - [1653473048.980376][21558:21563] CHIP:DMG: DataVersion = 0xbf2fc26d, - [1653473048.980392][21558:21563] CHIP:DMG: AttributePathIB = - [1653473048.980411][21558:21563] CHIP:DMG: { - [1653473048.980440][21558:21563] CHIP:DMG: Endpoint = 0x1, - [1653473048.980463][21558:21563] CHIP:DMG: Cluster = 0x6, - [1653473048.980487][21558:21563] CHIP:DMG: Attribute = 0x0000_4001, - [1653473048.980507][21558:21563] CHIP:DMG: } - [1653473048.980532][21558:21563] CHIP:DMG: - [1653473048.980556][21558:21563] CHIP:DMG: Data = 0, - [1653473048.980576][21558:21563] CHIP:DMG: }, - [1653473048.980598][21558:21563] CHIP:DMG: - [1653473048.980617][21558:21563] CHIP:DMG: }, - [1653473048.980644][21558:21563] CHIP:DMG: - [1653473048.980661][21558:21563] CHIP:DMG: ], - [1653473048.980690][21558:21563] CHIP:DMG: - [1653473048.980708][21558:21563] CHIP:DMG: InteractionModelRevision = 1 - [1653473048.980726][21558:21563] CHIP:DMG: } - [1653473048.980887][21558:21563] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0006 Attribute 0x0000_4001 DataVersion: 3207578221 - [1653473048.980930][21558:21563] CHIP:TOO: OnTime: 0 - [1653473048.980994][21558:21563] CHIP:DMG: MoveToState ReadClient[0x7f35bc003d90]: Moving to [AwaitingSu] - - onoff write on-time 2 1 1 - [1654239682.807602][3235:3240] CHIP:DMG: WriteResponseMessage = - [1654239682.807629][3235:3240] CHIP:DMG: { - [1654239682.807651][3235:3240] CHIP:DMG: AttributeStatusIBs = - [1654239682.807682][3235:3240] CHIP:DMG: [ - [1654239682.807707][3235:3240] CHIP:DMG: AttributeStatusIB = - [1654239682.807735][3235:3240] CHIP:DMG: { - [1654239682.807760][3235:3240] CHIP:DMG: AttributePathIB = - [1654239682.807797][3235:3240] CHIP:DMG: { - [1654239682.807833][3235:3240] CHIP:DMG: Endpoint = 0x1, - [1654239682.807872][3235:3240] CHIP:DMG: Cluster = 0x6, - [1654239682.807909][3235:3240] CHIP:DMG: Attribute = 0x0000_4001, - [1654239682.807943][3235:3240] CHIP:DMG: } - [1654239682.807979][3235:3240] CHIP:DMG: - [1654239682.808010][3235:3240] CHIP:DMG: StatusIB = - [1654239682.808042][3235:3240] CHIP:DMG: { - [1654239682.808073][3235:3240] CHIP:DMG: status = 0x00 (SUCCESS), - [1654239682.808107][3235:3240] CHIP:DMG: }, - [1654239682.808139][3235:3240] CHIP:DMG: - [1654239682.808165][3235:3240] CHIP:DMG: }, - [1654239682.808194][3235:3240] CHIP:DMG: - [1654239682.808218][3235:3240] CHIP:DMG: ], - [1654239682.808247][3235:3240] CHIP:DMG: - [1654239682.808271][3235:3240] CHIP:DMG: InteractionModelRevision = 1 - [1654239682.808294][3235:3240] CHIP:DMG: } - - onoff write off-wait-time 3 1 1 - [1653473207.686171][1507:1507] CHIP:DMG: WriteRequestMessage = - [1653473207.686233][1507:1507] CHIP:DMG: { - [1653473207.686290][1507:1507] CHIP:DMG: suppressResponse = false, - [1653473207.686394][1507:1507] CHIP:DMG: timedRequest = false, - [1653473207.686454][1507:1507] CHIP:DMG: AttributeDataIBs = - [1653473207.686550][1507:1507] CHIP:DMG: [ - [1653473207.686611][1507:1507] CHIP:DMG: AttributeDataIB = - [1653473207.686710][1507:1507] CHIP:DMG: { - [1653473207.686775][1507:1507] CHIP:DMG: AttributePathIB = - [1653473207.686872][1507:1507] CHIP:DMG: { - [1653473207.686973][1507:1507] CHIP:DMG: Endpoint = 0x1, - [1653473207.687057][1507:1507] CHIP:DMG: Cluster = 0x6, - [1653473207.687163][1507:1507] CHIP:DMG: Attribute = 0x0000_4002, - [1653473207.687267][1507:1507] CHIP:DMG: } - [1653473207.687358][1507:1507] CHIP:DMG: - [1653473207.687460][1507:1507] CHIP:DMG: Data = 3, - [1653473207.687558][1507:1507] CHIP:DMG: }, - [1653473207.687638][1507:1507] CHIP:DMG: - [1653473207.687722][1507:1507] CHIP:DMG: ], - [1653473207.687795][1507:1507] CHIP:DMG: - [1653473207.687855][1507:1507] CHIP:DMG: moreChunkedMessages = false, - [1653473207.687916][1507:1507] CHIP:DMG: InteractionModelRevision = 1 - [1653473207.687974][1507:1507] CHIP:DMG: } + sudo ./chip-tool onoff subscribe off-wait-time 100 1000 1 1 --keepSubscriptions 1 + [1655898311.301185][1424:1424] CHIP:EM: Removed CHIP MessageCounter:187890668 from RetransTable on exchange 62245r + [1655898311.301229][1424:1424] CHIP:DMG: StatusResponseMessage = + [1655898311.301256][1424:1424] CHIP:DMG: { + [1655898311.301279][1424:1424] CHIP:DMG: Status = 0x00 (SUCCESS), + [1655898311.301304][1424:1424] CHIP:DMG: InteractionModelRevision = 1 + [1655898311.301327][1424:1424] CHIP:DMG: } + [1655898311.301350][1424:1424] CHIP:IM: Received status response, status is 0x00 (SUCCESS) + [1655898311.301385][1424:1424] CHIP:DMG: Refresh Subscribe Sync Timer with max 1000 seconds + + sudo ./chip-tool onoff subscribe on-time 100 1000 1 1 --keepSubscriptions 1 + [1655898429.764898][1424:1424] CHIP:EM: Removed CHIP MessageCounter:256700476 from RetransTable on exchange 46197r + [1655898429.764940][1424:1424] CHIP:DMG: StatusResponseMessage = + [1655898429.764966][1424:1424] CHIP:DMG: { + [1655898429.764989][1424:1424] CHIP:DMG: Status = 0x00 (SUCCESS), + [1655898429.765014][1424:1424] CHIP:DMG: InteractionModelRevision = 1 + [1655898429.765037][1424:1424] CHIP:DMG: } + [1655898429.765060][1424:1424] CHIP:IM: Received status response, status is 0x00 (SUCCESS) + [1655898429.765095][1424:1424] CHIP:DMG: Refresh Subscribe Sync Timer with max 1000 seconds + + sudo ./chip-tool onoff write off-wait-time 3 1 1 + [1655898493.521309][2009:2014] CHIP:DMG: StatusIB = + [1655898493.521352][2009:2014] CHIP:DMG: { + [1655898493.521392][2009:2014] CHIP:DMG: status = 0x00 (SUCCESS), + [1655898493.521438][2009:2014] CHIP:DMG: }, + + sudo ./chip-tool onoff write on-time 2 1 1 + [1655898534.627669][2019:2024] CHIP:DMG: + [1655898534.627712][2019:2024] CHIP:DMG: StatusIB = + [1655898534.627757][2019:2024] CHIP:DMG: { + [1655898534.627802][2019:2024] CHIP:DMG: status = 0x00 (SUCCESS), + [1655898534.627848][2019:2024] CHIP:DMG: }, + [1655898534.627892][2019:2024] CHIP:DMG: + + sudo ./chip-tool onoff subscribe off-wait-time 100 1000 1 1 --keepSubscriptions 1 + [1655898566.833039][2027:2032] CHIP:DMG: ReportDataMessage = + [1655898566.833079][2027:2032] CHIP:DMG: { + [1655898566.833115][2027:2032] CHIP:DMG: SubscriptionId = 0xeb08d8e5, + [1655898566.833151][2027:2032] CHIP:DMG: AttributeReportIBs = + [1655898566.833195][2027:2032] CHIP:DMG: [ + [1655898566.833231][2027:2032] CHIP:DMG: AttributeReportIB = + [1655898566.833277][2027:2032] CHIP:DMG: { + [1655898566.833314][2027:2032] CHIP:DMG: AttributeDataIB = + [1655898566.833358][2027:2032] CHIP:DMG: { + [1655898566.833407][2027:2032] CHIP:DMG: DataVersion = 0x25c36a99, + [1655898566.833453][2027:2032] CHIP:DMG: AttributePathIB = + [1655898566.833501][2027:2032] CHIP:DMG: { + [1655898566.833551][2027:2032] CHIP:DMG: Endpoint = 0x1, + [1655898566.833602][2027:2032] CHIP:DMG: Cluster = 0x6, + [1655898566.833653][2027:2032] CHIP:DMG: Attribute = 0x0000_4002, + [1655898566.833705][2027:2032] CHIP:DMG: } + [1655898566.833756][2027:2032] CHIP:DMG: + [1655898566.833806][2027:2032] CHIP:DMG: Data = 3, + [1655898566.833851][2027:2032] CHIP:DMG: }, + [1655898566.833898][2027:2032] CHIP:DMG: + [1655898566.833972][2027:2032] CHIP:DMG: }, + [1655898566.834017][2027:2032] CHIP:DMG: + [1655898566.834052][2027:2032] CHIP:DMG: ], + [1655898566.834096][2027:2032] CHIP:DMG: + [1655898566.834131][2027:2032] CHIP:DMG: InteractionModelRevision = 1 + [1655898566.834164][2027:2032] CHIP:DMG: } + [1655898566.834337][2027:2032] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0006 Attribute 0x0000_4002 DataVersion: 633563801 + [1655898566.834423][2027:2032] CHIP:TOO: OffWaitTime: 3 + [1655898566.834476][2027:2032] CHIP:DMG: MoveToState ReadClient[0xffff90006670]: Moving to [AwaitingSu] + + + + sudo ./chip-tool onoff subscribe on-time 100 1000 1 1 --keepSubscriptions 1 + [1655898621.689883][2035:2040] CHIP:DMG: ReportDataMessage = + [1655898621.689941][2035:2040] CHIP:DMG: { + [1655898621.689976][2035:2040] CHIP:DMG: SubscriptionId = 0x8b29faa2, + [1655898621.690009][2035:2040] CHIP:DMG: AttributeReportIBs = + [1655898621.690051][2035:2040] CHIP:DMG: [ + [1655898621.690084][2035:2040] CHIP:DMG: AttributeReportIB = + [1655898621.690128][2035:2040] CHIP:DMG: { + [1655898621.690162][2035:2040] CHIP:DMG: AttributeDataIB = + [1655898621.690207][2035:2040] CHIP:DMG: { + [1655898621.690250][2035:2040] CHIP:DMG: DataVersion = 0x25c36a99, + [1655898621.690292][2035:2040] CHIP:DMG: AttributePathIB = + [1655898621.690336][2035:2040] CHIP:DMG: { + [1655898621.690385][2035:2040] CHIP:DMG: Endpoint = 0x1, + [1655898621.690432][2035:2040] CHIP:DMG: Cluster = 0x6, + [1655898621.690478][2035:2040] CHIP:DMG: Attribute = 0x0000_4001, + [1655898621.690522][2035:2040] CHIP:DMG: } + [1655898621.690569][2035:2040] CHIP:DMG: + [1655898621.690614][2035:2040] CHIP:DMG: Data = 2, + [1655898621.690655][2035:2040] CHIP:DMG: }, + [1655898621.690698][2035:2040] CHIP:DMG: + [1655898621.690735][2035:2040] CHIP:DMG: }, + [1655898621.690775][2035:2040] CHIP:DMG: + [1655898621.690806][2035:2040] CHIP:DMG: ], + [1655898621.690847][2035:2040] CHIP:DMG: + [1655898621.690879][2035:2040] CHIP:DMG: InteractionModelRevision = 1 + [1655898621.690909][2035:2040] CHIP:DMG: } + [1655898621.691073][2035:2040] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0006 Attribute 0x0000_4001 DataVersion: 633563801 + [1655898621.691154][2035:2040] CHIP:TOO: OnTime: 2 + [1655898621.691204][2035:2040] CHIP:DMG: MoveToState ReadClient[0xffff68006bc0]: Moving to [AwaitingSu] disabled: true - label: @@ -900,88 +629,68 @@ tests: to the DUT for another attribute with the KeepSubscriptions flag set to False. Change both the attribute values on the DUT." verification: | - Use interactive mode to verify this - ./chip-tool start interactive mood - - onoff subscribe on-time 100 1000 1 1 --keepSubscriptions 1 - - [1653473413.660423][21558:21563] CHIP:DMG: ReportDataMessage = - [1653473413.660448][21558:21563] CHIP:DMG: { - [1653473413.660471][21558:21563] CHIP:DMG: SubscriptionId = 0x35e946cb, - [1653473413.660492][21558:21563] CHIP:DMG: AttributeReportIBs = - [1653473413.660521][21558:21563] CHIP:DMG: [ - [1653473413.660540][21558:21563] CHIP:DMG: AttributeReportIB = - [1653473413.660570][21558:21563] CHIP:DMG: { - [1653473413.660590][21558:21563] CHIP:DMG: AttributeDataIB = - [1653473413.660612][21558:21563] CHIP:DMG: { - [1653473413.660636][21558:21563] CHIP:DMG: DataVersion = 0xbf2fc26f, - [1653473413.660656][21558:21563] CHIP:DMG: AttributePathIB = - [1653473413.660681][21558:21563] CHIP:DMG: { - [1653473413.660704][21558:21563] CHIP:DMG: Endpoint = 0x1, - [1653473413.660733][21558:21563] CHIP:DMG: Cluster = 0x6, - [1653473413.660759][21558:21563] CHIP:DMG: Attribute = 0x0000_4001, - [1653473413.660782][21558:21563] CHIP:DMG: } - [1653473413.660808][21558:21563] CHIP:DMG: - [1653473413.660874][21558:21563] CHIP:DMG: Data = 2, - [1653473413.660910][21558:21563] CHIP:DMG: }, - [1653473413.660968][21558:21563] CHIP:DMG: - [1653473413.660990][21558:21563] CHIP:DMG: }, - [1653473413.661017][21558:21563] CHIP:DMG: - [1653473413.661035][21558:21563] CHIP:DMG: ], - [1653473413.661063][21558:21563] CHIP:DMG: - [1653473413.661081][21558:21563] CHIP:DMG: InteractionModelRevision = 1 - [1653473413.661098][21558:21563] CHIP:DMG: } - [1653473413.661214][21558:21563] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0006 Attribute 0x0000_4001 DataVersion: 3207578223 - [1653473413.661246][21558:21563] CHIP:TOO: OnTime: 2 - - onoff subscribe off-wait-time 100 1000 1 1 --keepSubscriptions 0 - [1653473420.739901][21558:21563] CHIP:DMG: ReportDataMessage = - [1653473420.739928][21558:21563] CHIP:DMG: { - [1653473420.739945][21558:21563] CHIP:DMG: SubscriptionId = 0x2293d74e, - [1653473420.739959][21558:21563] CHIP:DMG: AttributeReportIBs = - [1653473420.739984][21558:21563] CHIP:DMG: [ - [1653473420.740005][21558:21563] CHIP:DMG: AttributeReportIB = - [1653473420.740034][21558:21563] CHIP:DMG: { - [1653473420.740049][21558:21563] CHIP:DMG: AttributeDataIB = - [1653473420.740072][21558:21563] CHIP:DMG: { - [1653473420.740095][21558:21563] CHIP:DMG: DataVersion = 0xbf2fc26f, - [1653473420.740116][21558:21563] CHIP:DMG: AttributePathIB = - [1653473420.740138][21558:21563] CHIP:DMG: { - [1653473420.740161][21558:21563] CHIP:DMG: Endpoint = 0x1, - [1653473420.740183][21558:21563] CHIP:DMG: Cluster = 0x6, - [1653473420.740207][21558:21563] CHIP:DMG: Attribute = 0x0000_4002, - [1653473420.740228][21558:21563] CHIP:DMG: } - [1653473420.740253][21558:21563] CHIP:DMG: - [1653473420.740277][21558:21563] CHIP:DMG: Data = 3, - [1653473420.740297][21558:21563] CHIP:DMG: }, - [1653473420.740323][21558:21563] CHIP:DMG: - [1653473420.740342][21558:21563] CHIP:DMG: }, - [1653473420.740368][21558:21563] CHIP:DMG: - [1653473420.740386][21558:21563] CHIP:DMG: ], - [1653473420.740414][21558:21563] CHIP:DMG: - [1653473420.740433][21558:21563] CHIP:DMG: InteractionModelRevision = 1 - [1653473420.740450][21558:21563] CHIP:DMG: } - [1653473420.740566][21558:21563] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0006 Attribute 0x0000_4002 DataVersion: 3207578223 - [1653473420.740601][21558:21563] CHIP:TOO: OffWaitTime: 3 - - onoff write on-time 2 1 1 - [1653473446.598647][21558:21563] CHIP:DMG: StatusIB = - [1653473446.598668][21558:21563] CHIP:DMG: { - [1653473446.598689][21558:21563] CHIP:DMG: status = 0x00 (SUCCESS), - [1653473446.598708][21558:21563] CHIP:DMG: }, - - onoff write off-wait-time 3 1 1 - [1653473455.212291][21558:21563] CHIP:DMG: StatusIB = - [1653473455.212313][21558:21563] CHIP:DMG: { - [1653473455.212335][21558:21563] CHIP:DMG: status = 0x00 (SUCCESS), - [1653473455.212354][21558:21563] CHIP:DMG: }, - [1653473455.212376][21558:21563] CHIP:DMG: - - - onoff subscribe on-time 100 1000 1 1 - [1653473471.271631][21558:21563] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0006 Attribute 0x0000_4001 DataVersion: 3207578225 - [1653473471.271692][21558:21563] CHIP:TOO: OnTime: 2 - [1653473471.271749][21558:21563] CHIP:DMG: MoveToState ReadClient[0x7f35bc003d90]: Moving to [AwaitingSu] + sudo ./chip-tool onoff subscribe on-time 100 1000 1 1 --keepSubscriptions 1 + [1655898720.752290][1424:1424] CHIP:EM: Removed CHIP MessageCounter:242672799 from RetransTable on exchange 1309r + [1655898720.752333][1424:1424] CHIP:DMG: StatusResponseMessage = + [1655898720.752360][1424:1424] CHIP:DMG: { + [1655898720.752384][1424:1424] CHIP:DMG: Status = 0x00 (SUCCESS), + [1655898720.752409][1424:1424] CHIP:DMG: InteractionModelRevision = 1 + [1655898720.752432][1424:1424] CHIP:DMG: } + [1655898720.752455][1424:1424] CHIP:IM: Received status response, status is 0x00 (SUCCESS) + [1655898720.752490][1424:1424] CHIP:DMG: Refresh Subscribe Sync Timer with max 1000 seconds + + + sudo ./chip-tool onoff subscribe off-wait-time 100 1000 1 1 --keepSubscriptions 0 + [1655898785.428573][1424:1424] CHIP:DMG: StatusResponseMessage = + [1655898785.428600][1424:1424] CHIP:DMG: { + [1655898785.428621][1424:1424] CHIP:DMG: Status = 0x00 (SUCCESS), + [1655898785.428646][1424:1424] CHIP:DMG: InteractionModelRevision = 1 + [1655898785.428668][1424:1424] CHIP:DMG: } + [1655898785.428691][1424:1424] CHIP:IM: Received status response, status is 0x00 (SUCCESS) + [1655898785.428727][1424:1424] CHIP:DMG: Refresh Subscribe Sync Timer with max 1000 seconds + + sudo ./chip-tool onoff write on-time 1 1 1 + [1655898874.614226][2072:2077] CHIP:DMG: StatusIB = + [1655898874.614267][2072:2077] CHIP:DMG: { + [1655898874.614307][2072:2077] CHIP:DMG: status = 0x00 (SUCCESS), + [1655898874.614349][2072:2077] CHIP:DMG: }, + + sudo ./chip-tool onoff write off-wait-time 2 1 1 + [1655899018.113489][2082:2087] CHIP:DMG: StatusIB = + [1655899018.113539][2082:2087] CHIP:DMG: { + [1655899018.113588][2082:2087] CHIP:DMG: status = 0x00 (SUCCESS), + [1655899018.113643][2082:2087] CHIP:DMG: }, + + sudo ./chip-tool onoff subscribe on-time 100 1000 1 1 + [1655899051.784907][2091:2096] CHIP:DMG: ReportDataMessage = + [1655899051.784952][2091:2096] CHIP:DMG: { + [1655899051.784992][2091:2096] CHIP:DMG: SubscriptionId = 0x68a034c4, + [1655899051.785032][2091:2096] CHIP:DMG: AttributeReportIBs = + [1655899051.785081][2091:2096] CHIP:DMG: [ + [1655899051.785122][2091:2096] CHIP:DMG: AttributeReportIB = + [1655899051.785174][2091:2096] CHIP:DMG: { + [1655899051.785216][2091:2096] CHIP:DMG: AttributeDataIB = + [1655899051.785266][2091:2096] CHIP:DMG: { + [1655899051.785317][2091:2096] CHIP:DMG: DataVersion = 0x25c36a9c, + [1655899051.785372][2091:2096] CHIP:DMG: AttributePathIB = + [1655899051.785425][2091:2096] CHIP:DMG: { + [1655899051.785479][2091:2096] CHIP:DMG: Endpoint = 0x1, + [1655899051.785541][2091:2096] CHIP:DMG: Cluster = 0x6, + [1655899051.785597][2091:2096] CHIP:DMG: Attribute = 0x0000_4001, + [1655899051.785649][2091:2096] CHIP:DMG: } + [1655899051.785704][2091:2096] CHIP:DMG: + [1655899051.785760][2091:2096] CHIP:DMG: Data = 1, + [1655899051.785809][2091:2096] CHIP:DMG: }, + [1655899051.785863][2091:2096] CHIP:DMG: + [1655899051.785905][2091:2096] CHIP:DMG: }, + [1655899051.786016][2091:2096] CHIP:DMG: + [1655899051.786058][2091:2096] CHIP:DMG: ], + [1655899051.786107][2091:2096] CHIP:DMG: + [1655899051.786147][2091:2096] CHIP:DMG: InteractionModelRevision = 1 + [1655899051.786185][2091:2096] CHIP:DMG: } + [1655899051.786376][2091:2096] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0006 Attribute 0x0000_4001 DataVersion: 633563804 + [1655899051.786468][2091:2096] CHIP:TOO: OnTime: 1 + [1655899051.786528][2091:2096] CHIP:DMG: MoveToState ReadClient[0xffff800080d0]: Moving to [AwaitingSu] disabled: true - label: @@ -990,7 +699,7 @@ tests: Change the value of the attribute and trigger an action on the DUT to trigger any event.' verification: | - + https://github.com/CHIP-Specifications/chip-test-plans/issues/1373 disabled: true - label: @@ -999,7 +708,7 @@ tests: the MinIntervalFloor to some value say "N"(seconds). Change all or few of the attributes on the DUT' verification: | - + Out of Scope for V1.0 disabled: true - label: @@ -1008,48 +717,7 @@ tests: Attribute, Cluster = ClusterID ]]. Set the MinIntervalFloor to some value say "N"(seconds). Change the attribute on the DUT' verification: | - This test case has been modified, please update the verification step - Use interactive mode to verify this - ./chip-tool start interactive mood - - onoff subscribe on-off 100 1000 1 1 - - [1653471711.843070][21032:21037] CHIP:DMG: ReportDataMessage = - [1653471711.843103][21032:21037] CHIP:DMG: { - [1653471711.843136][21032:21037] CHIP:DMG: SubscriptionId = 0x352176f5, - [1653471711.843166][21032:21037] CHIP:DMG: AttributeReportIBs = - [1653471711.843212][21032:21037] CHIP:DMG: [ - [1653471711.843239][21032:21037] CHIP:DMG: AttributeReportIB = - [1653471711.843284][21032:21037] CHIP:DMG: { - [1653471711.843310][21032:21037] CHIP:DMG: AttributeDataIB = - [1653471711.843344][21032:21037] CHIP:DMG: { - [1653471711.843372][21032:21037] CHIP:DMG: DataVersion = 0xbf2fc26d, - [1653471711.843404][21032:21037] CHIP:DMG: AttributePathIB = - [1653471711.843437][21032:21037] CHIP:DMG: { - [1653471711.843464][21032:21037] CHIP:DMG: Endpoint = 0x1, - [1653471711.843505][21032:21037] CHIP:DMG: Cluster = 0x6, - [1653471711.843536][21032:21037] CHIP:DMG: Attribute = 0x0000_0000, - [1653471711.843560][21032:21037] CHIP:DMG: } - [1653471711.843589][21032:21037] CHIP:DMG: - [1653471711.843615][21032:21037] CHIP:DMG: Data = false, - [1653471711.843647][21032:21037] CHIP:DMG: }, - [1653471711.843686][21032:21037] CHIP:DMG: - [1653471711.843710][21032:21037] CHIP:DMG: }, - [1653471711.843748][21032:21037] CHIP:DMG: - [1653471711.843771][21032:21037] CHIP:DMG: ], - [1653471711.843831][21032:21037] CHIP:DMG: - [1653471711.843852][21032:21037] CHIP:DMG: InteractionModelRevision = 1 - [1653471711.843873][21032:21037] CHIP:DMG: } - [1653471711.844008][21032:21037] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0006 Attribute 0x0000_0000 DataVersion: 3207578221 - [1653471711.844042][21032:21037] CHIP:TOO: OnOff: FALSE - - - onoff subscribe on-off 100 1000 1 1 --data-version 0xbf2fc26d - [1653471816.642239][21032:21037] CHIP:DMG: ReportDataMessage = - [1653471816.642244][21032:21037] CHIP:DMG: { - [1653471816.642250][21032:21037] CHIP:DMG: SubscriptionId = 0xe9e61b04, - [1653471816.642256][21032:21037] CHIP:DMG: InteractionModelRevision = 1 - [1653471816.642261][21032:21037] CHIP:DMG: } + Out of Scope for V1.0 disabled: true - label: @@ -1058,75 +726,7 @@ tests: MinIntervalFloor to some value say "N"(seconds). Change all or few of the attributes on the DUT' verification: | - Use interactive mode to verify this - ./chip-tool start interactive mood - identify subscribe-by-id 0x00 800 800 3 1 - - [1653656592.465788][14560:14565] CHIP:DMG: ReportDataMessage = - [1653656592.465817][14560:14565] CHIP:DMG: { - [1653656592.465834][14560:14565] CHIP:DMG: SubscriptionId = 0xc657316f, - [1653656592.465848][14560:14565] CHIP:DMG: AttributeReportIBs = - [1653656592.465872][14560:14565] CHIP:DMG: [ - [1653656592.465886][14560:14565] CHIP:DMG: AttributeReportIB = - [1653656592.465910][14560:14565] CHIP:DMG: { - [1653656592.465924][14560:14565] CHIP:DMG: AttributeDataIB = - [1653656592.465941][14560:14565] CHIP:DMG: { - [1653656592.465959][14560:14565] CHIP:DMG: DataVersion = 0xb45ba0b9, - [1653656592.465975][14560:14565] CHIP:DMG: AttributePathIB = - [1653656592.465998][14560:14565] CHIP:DMG: { - [1653656592.466031][14560:14565] CHIP:DMG: Endpoint = 0x1, - [1653656592.466054][14560:14565] CHIP:DMG: Cluster = 0x3, - [1653656592.466077][14560:14565] CHIP:DMG: Attribute = 0x0000_0000, - [1653656592.466097][14560:14565] CHIP:DMG: } - [1653656592.466122][14560:14565] CHIP:DMG: - [1653656592.466146][14560:14565] CHIP:DMG: Data = 0, - [1653656592.466166][14560:14565] CHIP:DMG: }, - [1653656592.466192][14560:14565] CHIP:DMG: - [1653656592.466210][14560:14565] CHIP:DMG: }, - [1653656592.466236][14560:14565] CHIP:DMG: - [1653656592.466253][14560:14565] CHIP:DMG: ], - [1653656592.466281][14560:14565] CHIP:DMG: - [1653656592.466300][14560:14565] CHIP:DMG: InteractionModelRevision = 1 - [1653656592.466318][14560:14565] CHIP:DMG: } - [1653656592.466465][14560:14565] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0003 Attribute 0x0000_0000 DataVersion: 3025903801 - [1653656592.466516][14560:14565] CHIP:TOO: identify time: 0 - - identify write-by-id 0x00 2 3 1 - [1653656682.729852][14560:14565] CHIP:DMG: StatusIB = - [1653656682.729863][14560:14565] CHIP:DMG: { - [1653656682.729873][14560:14565] CHIP:DMG: status = 0x00 (SUCCESS), - [1653656682.729881][14560:14565] CHIP:DMG: }, - - identify subscribe-by-id 0x01 800 800 3 1 - [1653656754.979929][14560:14565] CHIP:DMG: ReportDataMessage = - [1653656754.979956][14560:14565] CHIP:DMG: { - [1653656754.979985][14560:14565] CHIP:DMG: SubscriptionId = 0x5d21ef91, - [1653656754.980010][14560:14565] CHIP:DMG: AttributeReportIBs = - [1653656754.980048][14560:14565] CHIP:DMG: [ - [1653656754.980068][14560:14565] CHIP:DMG: AttributeReportIB = - [1653656754.980103][14560:14565] CHIP:DMG: { - [1653656754.980125][14560:14565] CHIP:DMG: AttributeDataIB = - [1653656754.980154][14560:14565] CHIP:DMG: { - [1653656754.980180][14560:14565] CHIP:DMG: DataVersion = 0xb45ba0c0, - [1653656754.980207][14560:14565] CHIP:DMG: AttributePathIB = - [1653656754.980235][14560:14565] CHIP:DMG: { - [1653656754.980262][14560:14565] CHIP:DMG: Endpoint = 0x1, - [1653656754.980287][14560:14565] CHIP:DMG: Cluster = 0x3, - [1653656754.980310][14560:14565] CHIP:DMG: Attribute = 0x0000_0001, - [1653656754.980339][14560:14565] CHIP:DMG: } - [1653656754.980367][14560:14565] CHIP:DMG: - [1653656754.980390][14560:14565] CHIP:DMG: Data = 2, - [1653656754.980417][14560:14565] CHIP:DMG: }, - [1653656754.980450][14560:14565] CHIP:DMG: - [1653656754.980471][14560:14565] CHIP:DMG: }, - [1653656754.980504][14560:14565] CHIP:DMG: - [1653656754.980524][14560:14565] CHIP:DMG: ], - [1653656754.980558][14560:14565] CHIP:DMG: - [1653656754.980579][14560:14565] CHIP:DMG: InteractionModelRevision = 1 - [1653656754.980601][14560:14565] CHIP:DMG: } - [1653656754.980720][14560:14565] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0003 Attribute 0x0000_0001 DataVersion: 3025903808 - [1653656754.980755][14560:14565] CHIP:TOO: identify type: 2 - [1653656754.980799][14560:14565] CHIP:DMG: MoveToState ReadClient[0x7fda00004f10]: Moving to [AwaitingSu] + Out of Scope for V1.0 disabled: true - label: @@ -1135,16 +735,7 @@ tests: EndpointID]]. Set the MinIntervalFloor to some value say "N"(seconds). Change all or few of the attributes on the DUT' verification: | - sudo ./chip-tool thermostatuserinterfaceconfiguration subscribe temperature-display-mode 10000 1000 1 1 - - [1654863279.009335][32383:32388] CHIP:DMG: StatusResponseMessage = - [1654863279.009366][32383:32388] CHIP:DMG: { - [1654863279.009402][32383:32388] CHIP:DMG: Status = 0x01 (FAILURE), - [1654863279.009430][32383:32388] CHIP:DMG: InteractionModelRevision = 1 - [1654863279.009455][32383:32388] CHIP:DMG: } - [1654863279.009491][32383:32388] CHIP:IM: Received status response, status is 0x01 (FAILURE) - [1654863279.009531][32383:32388] CHIP:DMG: mResubscribePolicy is null - [1654863279.009562][32383:32388] CHIP:TOO: Error: IM Error 0x00000501: General error: 0x01 (FAILURE) + Out of Scope for V1.0 disabled: true - label: @@ -1153,5 +744,5 @@ tests: ClusterID]]. Set the MinIntervalFloor to some value say "N"(seconds). Change all or few of the attributes on the DUT' verification: | - + Out of Scope for V1.0 disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_IDM_5_1.yaml b/src/app/tests/suites/certification/Test_TC_IDM_5_1.yaml index defc8d5a3de041..a36e9693e2818a 100644 --- a/src/app/tests/suites/certification/Test_TC_IDM_5_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_IDM_5_1.yaml @@ -33,64 +33,83 @@ tests: Verify the DUT sent the invoke message to the TH after the specified timeout value for above command on the TH (reference all cluster app) you should see - - [1649683321.645175][2241:2241] CHIP:DMG: TimedRequestMessage = - [1649683321.645225][2241:2241] CHIP:DMG: { - [1649683321.645269][2241:2241] CHIP:DMG: TimeoutMs = 0xc8, - [1649683321.645317][2241:2241] CHIP:DMG: InteractionModelRevision = 1 - [1649683321.645360][2241:2241] CHIP:DMG: } - - [1649683321.647287][2241:2241] CHIP:DMG: InvokeRequestMessage = - [1649683321.647333][2241:2241] CHIP:DMG: { - [1649683321.647375][2241:2241] CHIP:DMG: suppressResponse = false, - [1649683321.647425][2241:2241] CHIP:DMG: timedRequest = true, - [1649683321.647470][2241:2241] CHIP:DMG: InvokeRequests = - [1649683321.647525][2241:2241] CHIP:DMG: [ - [1649683321.647571][2241:2241] CHIP:DMG: CommandDataIB = - [1649683321.647624][2241:2241] CHIP:DMG: { - [1649683321.647672][2241:2241] CHIP:DMG: CommandPathIB = - [1649683321.647719][2241:2241] CHIP:DMG: { - [1649683321.647776][2241:2241] CHIP:DMG: EndpointId = 0x1, - [1649683321.647838][2241:2241] CHIP:DMG: ClusterId = 0x6, - [1649683321.647899][2241:2241] CHIP:DMG: CommandId = 0x1, - [1649683321.647957][2241:2241] CHIP:DMG: }, - [1649683321.648020][2241:2241] CHIP:DMG: - [1649683321.648072][2241:2241] CHIP:DMG: CommandData = - [1649683321.648134][2241:2241] CHIP:DMG: { - [1649683321.648196][2241:2241] CHIP:DMG: }, - [1649683321.648251][2241:2241] CHIP:DMG: }, - [1649683321.648309][2241:2241] CHIP:DMG: - [1649683321.648353][2241:2241] CHIP:DMG: ], - [1649683321.648407][2241:2241] CHIP:DMG: - [1649683321.648454][2241:2241] CHIP:DMG: InteractionModelRevision = 1 - [1649683321.648499][2241:2241] CHIP:DMG: }, - - - TH receives InvokeRequestMessage - - [1641535680.297385][3878:3878] CHIP:DMG: InvokeRequestMessage = - [1641535680.297408][3878:3878] CHIP:DMG: { - [1641535680.297429][3878:3878] CHIP:DMG: suppressResponse = false, - [1641535680.297453][3878:3878] CHIP:DMG: timedRequest = true, - [1641535680.297475][3878:3878] CHIP:DMG: InvokeRequests = - [1641535680.297503][3878:3878] CHIP:DMG: [ - [1641535680.297525][3878:3878] CHIP:DMG: CommandDataIB = - [1641535680.297554][3878:3878] CHIP:DMG: { - [1641535680.297579][3878:3878] CHIP:DMG: CommandPathIB = - [1641535680.297610][3878:3878] CHIP:DMG: { - [1641535680.297644][3878:3878] CHIP:DMG: EndpointId = 0x1, - [1641535680.297676][3878:3878] CHIP:DMG: ClusterId = 0x6, - [1641535680.297706][3878:3878] CHIP:DMG: CommandId = 0x1, - [1641535680.297738][3878:3878] CHIP:DMG: }, - [1641535680.297771][3878:3878] CHIP:DMG: - [1641535680.297797][3878:3878] CHIP:DMG: CommandData = - [1641535680.297825][3878:3878] CHIP:DMG: { - [1641535680.297853][3878:3878] CHIP:DMG: }, - [1641535680.297880][3878:3878] CHIP:DMG: }, - [1641535680.297909][3878:3878] CHIP:DMG: - [1641535680.297931][3878:3878] CHIP:DMG: ], - [1641535680.297957][3878:3878] CHIP:DMG: - [1641535680.297976][3878:3878] CHIP:DMG: }, + [1655797318.624018][7331:7331] CHIP:EM: Handling via exchange: 28067r, Delegate: 0xaaaad9aed418 + [1655797318.624129][7331:7331] CHIP:DMG: TimedRequestMessage = + [1655797318.624185][7331:7331] CHIP:DMG: { + [1655797318.624235][7331:7331] CHIP:DMG: TimeoutMs = 0xc8, + [1655797318.624289][7331:7331] CHIP:DMG: InteractionModelRevision = 1 + [1655797318.624339][7331:7331] CHIP:DMG: } + [1655797318.624394][7331:7331] CHIP:DMG: Got Timed Request with timeout 200: handler 0xaaaaf9f93440 exchange 28067r + + [1655797318.626273][7331:7331] CHIP:DMG: Handing timed invoke to IM engine: handler 0xaaaaf9f93440 exchange 28067r + [1655797318.626358][7331:7331] CHIP:DMG: InvokeRequestMessage = + [1655797318.626411][7331:7331] CHIP:DMG: { + [1655797318.626460][7331:7331] CHIP:DMG: suppressResponse = false, + [1655797318.626517][7331:7331] CHIP:DMG: timedRequest = true, + [1655797318.626569][7331:7331] CHIP:DMG: InvokeRequests = + [1655797318.626633][7331:7331] CHIP:DMG: [ + [1655797318.626684][7331:7331] CHIP:DMG: CommandDataIB = + [1655797318.626742][7331:7331] CHIP:DMG: { + [1655797318.626796][7331:7331] CHIP:DMG: CommandPathIB = + [1655797318.626866][7331:7331] CHIP:DMG: { + [1655797318.626934][7331:7331] CHIP:DMG: EndpointId = 0x1, + [1655797318.627002][7331:7331] CHIP:DMG: ClusterId = 0x6, + [1655797318.627037][7331:7331] CHIP:DMG: CommandId = 0x1, + [1655797318.627070][7331:7331] CHIP:DMG: }, + [1655797318.627148][7331:7331] CHIP:DMG: + [1655797318.627179][7331:7331] CHIP:DMG: CommandFields = + [1655797318.627209][7331:7331] CHIP:DMG: { + [1655797318.627243][7331:7331] CHIP:DMG: }, + [1655797318.627274][7331:7331] CHIP:DMG: }, + [1655797318.627306][7331:7331] CHIP:DMG: + [1655797318.627330][7331:7331] CHIP:DMG: ], + [1655797318.627359][7331:7331] CHIP:DMG: + [1655797318.627383][7331:7331] CHIP:DMG: InteractionModelRevision = 1 + [1655797318.627406][7331:7331] CHIP:DMG: }, + [1655797318.627467][7331:7331] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0006 e=1 p=o + + + + TH receives InvokeResponseMessage from DUT + + [1655797318.637938][6989:6994] CHIP:DMG: InvokeResponseMessage = + [1655797318.637973][6989:6994] CHIP:DMG: { + [1655797318.638007][6989:6994] CHIP:DMG: suppressResponse = false, + [1655797318.638043][6989:6994] CHIP:DMG: InvokeResponseIBs = + [1655797318.638088][6989:6994] CHIP:DMG: [ + [1655797318.638123][6989:6994] CHIP:DMG: InvokeResponseIB = + [1655797318.638169][6989:6994] CHIP:DMG: { + [1655797318.638207][6989:6994] CHIP:DMG: CommandStatusIB = + [1655797318.638330][6989:6994] CHIP:DMG: { + [1655797318.638377][6989:6994] CHIP:DMG: CommandPathIB = + [1655797318.638429][6989:6994] CHIP:DMG: { + [1655797318.638479][6989:6994] CHIP:DMG: EndpointId = 0x1, + [1655797318.638530][6989:6994] CHIP:DMG: ClusterId = 0x6, + [1655797318.638581][6989:6994] CHIP:DMG: CommandId = 0x1, + [1655797318.638628][6989:6994] CHIP:DMG: }, + [1655797318.638681][6989:6994] CHIP:DMG: + [1655797318.638724][6989:6994] CHIP:DMG: StatusIB = + [1655797318.638773][6989:6994] CHIP:DMG: { + [1655797318.638822][6989:6994] CHIP:DMG: status = 0x00 (SUCCESS), + [1655797318.638869][6989:6994] CHIP:DMG: }, + [1655797318.638917][6989:6994] CHIP:DMG: + [1655797318.638961][6989:6994] CHIP:DMG: }, + [1655797318.639009][6989:6994] CHIP:DMG: + [1655797318.639048][6989:6994] CHIP:DMG: }, + [1655797318.639092][6989:6994] CHIP:DMG: + [1655797318.639126][6989:6994] CHIP:DMG: ], + [1655797318.639169][6989:6994] CHIP:DMG: + [1655797318.639204][6989:6994] CHIP:DMG: InteractionModelRevision = 1 + [1655797318.639238][6989:6994] CHIP:DMG: }, + [1655797318.639316][6989:6994] CHIP:DMG: Received Command Response Status for Endpoint=1 Cluster=0x0000_0006 Command=0x0000_0001 Status=0x0 + [1655797318.639375][6989:6994] CHIP:DMG: ICR moving to [AwaitingDe] + + [1655797318.632282][6989:6994] CHIP:DMG: StatusResponseMessage = + [1655797318.632321][6989:6994] CHIP:DMG: { + [1655797318.632357][6989:6994] CHIP:DMG: Status = 0x00 (SUCCESS), + [1655797318.632394][6989:6994] CHIP:DMG: InteractionModelRevision = 1 + [1655797318.632429][6989:6994] CHIP:DMG: } + [1655797318.632465][6989:6994] CHIP:IM: Received status response, status is 0x00 (SUCCESS) disabled: true - label: @@ -103,51 +122,78 @@ tests: ./chip-tool levelcontrol write on-level 1 1 1 --timedInteractionTimeoutMs 200 on the TH (reference all cluster app) you should see + [1655797580.941429][7331:7331] CHIP:DMG: TimedRequestMessage = + [1655797580.941479][7331:7331] CHIP:DMG: { + [1655797580.941561][7331:7331] CHIP:DMG: TimeoutMs = 0xc8, + [1655797580.941609][7331:7331] CHIP:DMG: InteractionModelRevision = 1 + [1655797580.941652][7331:7331] CHIP:DMG: } + [1655797580.941700][7331:7331] CHIP:DMG: Got Timed Request with timeout 200: handler 0xaaaaf9f94b20 exchange 47847r + + [1655797580.943440][7331:7331] CHIP:DMG: Handing timed write to IM engine: handler 0xaaaaf9f94b20 exchange 47847r + [1655797580.943482][7331:7331] CHIP:IM: Received Write request + [1655797580.943519][7331:7331] CHIP:DMG: IM WH moving to [Initialized] + [1655797580.943594][7331:7331] CHIP:DMG: WriteRequestMessage = + [1655797580.943641][7331:7331] CHIP:DMG: { + [1655797580.943684][7331:7331] CHIP:DMG: suppressResponse = false, + [1655797580.943733][7331:7331] CHIP:DMG: timedRequest = true, + [1655797580.943779][7331:7331] CHIP:DMG: AttributeDataIBs = + [1655797580.943941][7331:7331] CHIP:DMG: [ + [1655797580.943990][7331:7331] CHIP:DMG: AttributeDataIB = + [1655797580.944045][7331:7331] CHIP:DMG: { + [1655797580.944093][7331:7331] CHIP:DMG: AttributePathIB = + [1655797580.944150][7331:7331] CHIP:DMG: { + [1655797580.944211][7331:7331] CHIP:DMG: Endpoint = 0x1, + [1655797580.944274][7331:7331] CHIP:DMG: Cluster = 0x8, + [1655797580.944335][7331:7331] CHIP:DMG: Attribute = 0x0000_0011, + [1655797580.944392][7331:7331] CHIP:DMG: } + [1655797580.944452][7331:7331] CHIP:DMG: + [1655797580.944513][7331:7331] CHIP:DMG: Data = 1, + [1655797580.944567][7331:7331] CHIP:DMG: }, + [1655797580.944623][7331:7331] CHIP:DMG: + [1655797580.944667][7331:7331] CHIP:DMG: ], + [1655797580.944721][7331:7331] CHIP:DMG: + [1655797580.944766][7331:7331] CHIP:DMG: moreChunkedMessages = false, + [1655797580.944813][7331:7331] CHIP:DMG: InteractionModelRevision = 1 + [1655797580.944855][7331:7331] CHIP:DMG: }, + [1655797580.944986][7331:7331] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0008 e=1 p=o - [1652943666.776460][8499:8499] CHIP:DMG: TimedRequestMessage = - [1652943666.776504][8499:8499] CHIP:DMG: { - [1652943666.776542][8499:8499] CHIP:DMG: TimeoutMs = 0x384, - [1652943666.776584][8499:8499] CHIP:DMG: InteractionModelRevision = 1 - [1652943666.776623][8499:8499] CHIP:DMG: } - [1652943666.776666][8499:8499] CHIP:DMG: Got Timed Request with timeout 900: handler 0xaaaab360c2d0 exchange 2224r - - - [1652943666.780309][8499:8499] CHIP:DMG: WriteRequestMessage = - [1652943666.780349][8499:8499] CHIP:DMG: { - [1652943666.780387][8499:8499] CHIP:DMG: suppressResponse = false, - [1652943666.780430][8499:8499] CHIP:DMG: timedRequest = true, - [1652943666.780470][8499:8499] CHIP:DMG: AttributeDataIBs = - [1652943666.780518][8499:8499] CHIP:DMG: [ - [1652943666.780558][8499:8499] CHIP:DMG: AttributeDataIB = - [1652943666.780609][8499:8499] CHIP:DMG: { - [1652943666.780653][8499:8499] CHIP:DMG: AttributePathIB = - [1652943666.780710][8499:8499] CHIP:DMG: { - [1652943666.780763][8499:8499] CHIP:DMG: Endpoint = 0x1, - [1652943666.780824][8499:8499] CHIP:DMG: Cluster = 0x8, - [1652943666.780883][8499:8499] CHIP:DMG: Attribute = 0x0000_0011, - [1652943666.780934][8499:8499] CHIP:DMG: } - [1652943666.780993][8499:8499] CHIP:DMG: - [1652943666.781046][8499:8499] CHIP:DMG: Data = 1, - [1652943666.781101][8499:8499] CHIP:DMG: }, - [1652943666.781152][8499:8499] CHIP:DMG: - [1652943666.781191][8499:8499] CHIP:DMG: ], - [1652943666.781238][8499:8499] CHIP:DMG: - [1652943666.781278][8499:8499] CHIP:DMG: moreChunkedMessages = false, - [1652943666.781318][8499:8499] CHIP:DMG: InteractionModelRevision = 1 - [1652943666.781356][8499:8499] CHIP:DMG: }, On DUT--- - [1652943666.816563][34595:34600] CHIP:DMG: AttributePathIB = - [1652943666.816581][34595:34600] CHIP:DMG: { - [1652943666.816600][34595:34600] CHIP:DMG: Endpoint = 0x1, - [1652943666.816617][34595:34600] CHIP:DMG: Cluster = 0x8, - [1652943666.816637][34595:34600] CHIP:DMG: Attribute = 0x0000_0011, - [1652943666.816653][34595:34600] CHIP:DMG: } - [1652943666.816676][34595:34600] CHIP:DMG: - [1652943666.816692][34595:34600] CHIP:DMG: StatusIB = - [1652943666.816710][34595:34600] CHIP:DMG: { - [1652943666.816727][34595:34600] CHIP:DMG: status = 0x00 (SUCCESS), - [1652943666.816744][34595:34600] CHIP:DMG: }, + [1655797580.953617][7000:7005] CHIP:DMG: WriteClient moving to [ResponseRe] + [1655797580.953672][7000:7005] CHIP:DMG: WriteResponseMessage = + [1655797580.953707][7000:7005] CHIP:DMG: { + [1655797580.953738][7000:7005] CHIP:DMG: AttributeStatusIBs = + [1655797580.953782][7000:7005] CHIP:DMG: [ + [1655797580.953817][7000:7005] CHIP:DMG: AttributeStatusIB = + [1655797580.953856][7000:7005] CHIP:DMG: { + [1655797580.953893][7000:7005] CHIP:DMG: AttributePathIB = + [1655797580.953938][7000:7005] CHIP:DMG: { + [1655797580.953983][7000:7005] CHIP:DMG: Endpoint = 0x1, + [1655797580.954032][7000:7005] CHIP:DMG: Cluster = 0x8, + [1655797580.954079][7000:7005] CHIP:DMG: Attribute = 0x0000_0011, + [1655797580.954128][7000:7005] CHIP:DMG: } + [1655797580.954177][7000:7005] CHIP:DMG: + [1655797580.954220][7000:7005] CHIP:DMG: StatusIB = + [1655797580.954263][7000:7005] CHIP:DMG: { + [1655797580.954306][7000:7005] CHIP:DMG: status = 0x00 (SUCCESS), + [1655797580.954351][7000:7005] CHIP:DMG: }, + [1655797580.954394][7000:7005] CHIP:DMG: + [1655797580.954431][7000:7005] CHIP:DMG: }, + [1655797580.954473][7000:7005] CHIP:DMG: + [1655797580.954507][7000:7005] CHIP:DMG: ], + [1655797580.954554][7000:7005] CHIP:DMG: + [1655797580.954589][7000:7005] CHIP:DMG: InteractionModelRevision = 1 + [1655797580.954623][7000:7005] CHIP:DMG: } + [1655797580.954714][7000:7005] CHIP:DMG: WriteClient moving to [AwaitingDe] + + + [1655797580.950146][7000:7005] CHIP:EM: Removed CHIP MessageCounter:266490918 from RetransTable on exchange 47847i + [1655797580.950211][7000:7005] CHIP:DMG: StatusResponseMessage = + [1655797580.950251][7000:7005] CHIP:DMG: { + [1655797580.950287][7000:7005] CHIP:DMG: Status = 0x00 (SUCCESS), + [1655797580.950324][7000:7005] CHIP:DMG: InteractionModelRevision = 1 + [1655797580.950357][7000:7005] CHIP:DMG: } + [1655797580.950393][7000:7005] CHIP:IM: Received status response, status is 0x00 (SUCCESS) disabled: true - label: diff --git a/src/app/tests/suites/certification/Test_TC_IDM_5_2.yaml b/src/app/tests/suites/certification/Test_TC_IDM_5_2.yaml index a12932cba10bfd..64c7fb3d6c2871 100644 --- a/src/app/tests/suites/certification/Test_TC_IDM_5_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_IDM_5_2.yaml @@ -28,43 +28,81 @@ tests: ./chip-tool onoff on 1 1 --timedInteractionTimeoutMs 200 On TH - [1652944460.867007][34730:34735] CHIP:DMG: StatusResponseMessage = - [1652944460.867025][34730:34735] CHIP:DMG: { - [1652944460.867041][34730:34735] CHIP:DMG: Status = 0x00 (SUCCESS), - [1652944460.867058][34730:34735] CHIP:DMG: InteractionModelRevision = 1 - [1652944460.867073][34730:34735] CHIP:DMG: } + [1655798564.111773][7331:7331] CHIP:DMG: TimedRequestMessage = + [1655798564.111822][7331:7331] CHIP:DMG: { + [1655798564.111866][7331:7331] CHIP:DMG: TimeoutMs = 0xc8, + [1655798564.111912][7331:7331] CHIP:DMG: InteractionModelRevision = 1 + [1655798564.111955][7331:7331] CHIP:DMG: } + [1655798564.112003][7331:7331] CHIP:DMG: Got Timed Request with timeout 200: handler 0xaaaaf9f93e70 exchange 20627r + + [1655798564.113754][7331:7331] CHIP:DMG: InvokeRequestMessage = + [1655798564.113800][7331:7331] CHIP:DMG: { + [1655798564.113842][7331:7331] CHIP:DMG: suppressResponse = false, + [1655798564.113892][7331:7331] CHIP:DMG: timedRequest = true, + [1655798564.113937][7331:7331] CHIP:DMG: InvokeRequests = + [1655798564.113993][7331:7331] CHIP:DMG: [ + [1655798564.114038][7331:7331] CHIP:DMG: CommandDataIB = + [1655798564.114093][7331:7331] CHIP:DMG: { + [1655798564.114141][7331:7331] CHIP:DMG: CommandPathIB = + [1655798564.114197][7331:7331] CHIP:DMG: { + [1655798564.114259][7331:7331] CHIP:DMG: EndpointId = 0x1, + [1655798564.114323][7331:7331] CHIP:DMG: ClusterId = 0x6, + [1655798564.114387][7331:7331] CHIP:DMG: CommandId = 0x1, + [1655798564.114446][7331:7331] CHIP:DMG: }, + [1655798564.114506][7331:7331] CHIP:DMG: + [1655798564.114558][7331:7331] CHIP:DMG: CommandFields = + [1655798564.114621][7331:7331] CHIP:DMG: { + [1655798564.114677][7331:7331] CHIP:DMG: }, + [1655798564.114731][7331:7331] CHIP:DMG: }, + [1655798564.114785][7331:7331] CHIP:DMG: + [1655798564.114829][7331:7331] CHIP:DMG: ], + [1655798564.114883][7331:7331] CHIP:DMG: + [1655798564.114927][7331:7331] CHIP:DMG: InteractionModelRevision = 1 + [1655798564.114961][7331:7331] CHIP:DMG: }, + [1655798564.115025][7331:7331] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0006 e=1 p=o + + On DUT - [1652944460.839395][8499:8499] CHIP:DMG: TimedRequestMessage = - [1652944460.839450][8499:8499] CHIP:DMG: { - [1652944460.839518][8499:8499] CHIP:DMG: TimeoutMs = 0x190, - [1652944460.839573][8499:8499] CHIP:DMG: InteractionModelRevision = 1 - [1652944460.839623][8499:8499] CHIP:DMG: } - - [1652944460.863502][8499:8499] CHIP:DMG: InvokeRequestMessage = - [1652944460.863587][8499:8499] CHIP:DMG: { - [1652944460.863644][8499:8499] CHIP:DMG: suppressResponse = false, - [1652944460.863729][8499:8499] CHIP:DMG: timedRequest = true, - [1652944460.863791][8499:8499] CHIP:DMG: InvokeRequests = - [1652944460.863883][8499:8499] CHIP:DMG: [ - [1652944460.863945][8499:8499] CHIP:DMG: CommandDataIB = - [1652944460.864038][8499:8499] CHIP:DMG: { - [1652944460.864108][8499:8499] CHIP:DMG: CommandPathIB = - [1652944460.864202][8499:8499] CHIP:DMG: { - [1652944460.864282][8499:8499] CHIP:DMG: EndpointId = 0x1, - [1652944460.864386][8499:8499] CHIP:DMG: ClusterId = 0x6, - [1652944460.864486][8499:8499] CHIP:DMG: CommandId = 0x1, - [1652944460.864564][8499:8499] CHIP:DMG: }, - [1652944460.864660][8499:8499] CHIP:DMG: - [1652944460.864729][8499:8499] CHIP:DMG: CommandData = - [1652944460.864948][8499:8499] CHIP:DMG: { - [1652944460.865032][8499:8499] CHIP:DMG: }, - [1652944460.865131][8499:8499] CHIP:DMG: }, - [1652944460.865346][8499:8499] CHIP:DMG: - [1652944460.865434][8499:8499] CHIP:DMG: ], - [1652944460.865509][8499:8499] CHIP:DMG: - [1652944460.865568][8499:8499] CHIP:DMG: InteractionModelRevision = 1 - [1652944460.865648][8499:8499] CHIP:DMG: }, + [1655798564.112839][7055:7060] CHIP:DMG: StatusResponseMessage = + [1655798564.112870][7055:7060] CHIP:DMG: { + [1655798564.112898][7055:7060] CHIP:DMG: Status = 0x00 (SUCCESS), + [1655798564.112927][7055:7060] CHIP:DMG: InteractionModelRevision = 1 + [1655798564.112954][7055:7060] CHIP:DMG: } + [1655798564.112983][7055:7060] CHIP:IM: Received status response, status is 0x00 (SUCCESS) + + + [1655798564.116059][7055:7060] CHIP:DMG: InvokeResponseMessage = + [1655798564.116095][7055:7060] CHIP:DMG: { + [1655798564.116130][7055:7060] CHIP:DMG: suppressResponse = false, + [1655798564.116188][7055:7060] CHIP:DMG: InvokeResponseIBs = + [1655798564.116234][7055:7060] CHIP:DMG: [ + [1655798564.116270][7055:7060] CHIP:DMG: InvokeResponseIB = + [1655798564.116322][7055:7060] CHIP:DMG: { + [1655798564.116361][7055:7060] CHIP:DMG: CommandStatusIB = + [1655798564.116406][7055:7060] CHIP:DMG: { + [1655798564.116446][7055:7060] CHIP:DMG: CommandPathIB = + [1655798564.116493][7055:7060] CHIP:DMG: { + [1655798564.116547][7055:7060] CHIP:DMG: EndpointId = 0x1, + [1655798564.116600][7055:7060] CHIP:DMG: ClusterId = 0x6, + [1655798564.116655][7055:7060] CHIP:DMG: CommandId = 0x1, + [1655798564.116707][7055:7060] CHIP:DMG: }, + [1655798564.116761][7055:7060] CHIP:DMG: + [1655798564.116801][7055:7060] CHIP:DMG: StatusIB = + [1655798564.116851][7055:7060] CHIP:DMG: { + [1655798564.116895][7055:7060] CHIP:DMG: status = 0x00 (SUCCESS), + [1655798564.116943][7055:7060] CHIP:DMG: }, + [1655798564.116987][7055:7060] CHIP:DMG: + [1655798564.117030][7055:7060] CHIP:DMG: }, + [1655798564.117079][7055:7060] CHIP:DMG: + [1655798564.117119][7055:7060] CHIP:DMG: }, + [1655798564.117162][7055:7060] CHIP:DMG: + [1655798564.117197][7055:7060] CHIP:DMG: ], + [1655798564.117241][7055:7060] CHIP:DMG: + [1655798564.117271][7055:7060] CHIP:DMG: InteractionModelRevision = 1 + [1655798564.117306][7055:7060] CHIP:DMG: }, + [1655798564.117386][7055:7060] CHIP:DMG: Received Command Response Status for Endpoint=1 Cluster=0x0000_0006 Command=0x0000_0001 Status=0x0 + [1655798564.117446][7055:7060] CHIP:DMG: ICR moving to [AwaitingDe] disabled: true - label: @@ -75,59 +113,42 @@ tests: verification: | ./chip-tool levelcontrol write on-level 1 1 1 --timedInteractionTimeoutMs 500 On TH - [1652944714.550110][34757:34762] CHIP:DMG: StatusResponseMessage = - [1652944714.550129][34757:34762] CHIP:DMG: { - [1652944714.550144][34757:34762] CHIP:DMG: Status = 0x00 (SUCCESS), - [1652944714.550160][34757:34762] CHIP:DMG: InteractionModelRevision = 1 - [1652944714.550173][34757:34762] CHIP:DMG: } - - - [1652944714.558166][34757:34762] CHIP:DMG: WriteResponseMessage = - [1652944714.558183][34757:34762] CHIP:DMG: { - [1652944714.558198][34757:34762] CHIP:DMG: AttributeStatusIBs = - [1652944714.558225][34757:34762] CHIP:DMG: [ - [1652944714.558240][34757:34762] CHIP:DMG: AttributeStatusIB = - [1652944714.558259][34757:34762] CHIP:DMG: { - [1652944714.558274][34757:34762] CHIP:DMG: AttributePathIB = - [1652944714.558292][34757:34762] CHIP:DMG: { - [1652944714.558311][34757:34762] CHIP:DMG: Endpoint = 0x1, - [1652944714.558328][34757:34762] CHIP:DMG: Cluster = 0x8, - [1652944714.558347][34757:34762] CHIP:DMG: Attribute = 0x0000_0011, - [1652944714.558364][34757:34762] CHIP:DMG: } - [1652944714.558386][34757:34762] CHIP:DMG: - [1652944714.558404][34757:34762] CHIP:DMG: StatusIB = - [1652944714.558421][34757:34762] CHIP:DMG: { - [1652944714.558439][34757:34762] CHIP:DMG: status = 0x00 (SUCCESS), - [1652944714.558452][34757:34762] CHIP:DMG: }, - - - On DUT - [1652944714.526970][8499:8499] CHIP:DMG: WriteRequestMessage = - [1652944714.527020][8499:8499] CHIP:DMG: { - [1652944714.527053][8499:8499] CHIP:DMG: suppressResponse = false, - [1652944714.527092][8499:8499] CHIP:DMG: timedRequest = true, - [1652944714.527140][8499:8499] CHIP:DMG: AttributeDataIBs = - [1652944714.527185][8499:8499] CHIP:DMG: [ - [1652944714.527234][8499:8499] CHIP:DMG: AttributeDataIB = - [1652944714.527286][8499:8499] CHIP:DMG: { - [1652944714.527341][8499:8499] CHIP:DMG: AttributePathIB = - [1652944714.527411][8499:8499] CHIP:DMG: { - [1652944714.527463][8499:8499] CHIP:DMG: Endpoint = 0x1, - [1652944714.527525][8499:8499] CHIP:DMG: Cluster = 0x8, - [1652944714.527576][8499:8499] CHIP:DMG: Attribute = 0x0000_0011, - [1652944714.527636][8499:8499] CHIP:DMG: } - [1652944714.527701][8499:8499] CHIP:DMG: - [1652944714.527751][8499:8499] CHIP:DMG: Data = 1, - [1652944714.527801][8499:8499] CHIP:DMG: }, - [1652944714.527839][8499:8499] CHIP:DMG: - [1652944714.527950][8499:8499] CHIP:DMG: ], - [1652944714.527992][8499:8499] CHIP:DMG: - [1652944714.528033][8499:8499] CHIP:DMG: moreChunkedMessages = false, - [1652944714.528065][8499:8499] CHIP:DMG: InteractionModelRevision = 1 - [1652944714.528104][8499:8499] CHIP:DMG: }, - - - + [1655798786.127953][7331:7331] CHIP:EM: Handling via exchange: 38682r, Delegate: 0xaaaad9aed418 + [1655798786.128052][7331:7331] CHIP:DMG: TimedRequestMessage = + [1655798786.128103][7331:7331] CHIP:DMG: { + [1655798786.128147][7331:7331] CHIP:DMG: TimeoutMs = 0x1f4, + [1655798786.128194][7331:7331] CHIP:DMG: InteractionModelRevision = 1 + [1655798786.128237][7331:7331] CHIP:DMG: } + [1655798786.128282][7331:7331] CHIP:DMG: Got Timed Request with timeout 500: handler 0xaaaaf9f6ecd0 exchange 38682r + + [1655798786.131890][7065:7070] CHIP:DMG: WriteResponseMessage = + [1655798786.131932][7065:7070] CHIP:DMG: { + [1655798786.131984][7065:7070] CHIP:DMG: AttributeStatusIBs = + [1655798786.132035][7065:7070] CHIP:DMG: [ + [1655798786.132089][7065:7070] CHIP:DMG: AttributeStatusIB = + [1655798786.132142][7065:7070] CHIP:DMG: { + [1655798786.132246][7065:7070] CHIP:DMG: AttributePathIB = + [1655798786.132311][7065:7070] CHIP:DMG: { + [1655798786.132377][7065:7070] CHIP:DMG: Endpoint = 0x1, + [1655798786.132439][7065:7070] CHIP:DMG: Cluster = 0x8, + [1655798786.132512][7065:7070] CHIP:DMG: Attribute = 0x0000_0011, + [1655798786.132578][7065:7070] CHIP:DMG: } + [1655798786.132635][7065:7070] CHIP:DMG: + [1655798786.132704][7065:7070] CHIP:DMG: StatusIB = + [1655798786.132770][7065:7070] CHIP:DMG: { + [1655798786.132822][7065:7070] CHIP:DMG: status = 0x00 (SUCCESS), + [1655798786.132892][7065:7070] CHIP:DMG: }, + [1655798786.132960][7065:7070] CHIP:DMG: + [1655798786.133006][7065:7070] CHIP:DMG: }, + [1655798786.133070][7065:7070] CHIP:DMG: + [1655798786.133109][7065:7070] CHIP:DMG: ], + [1655798786.133173][7065:7070] CHIP:DMG: + [1655798786.133213][7065:7070] CHIP:DMG: InteractionModelRevision = 1 + [1655798786.133269][7065:7070] CHIP:DMG: } + [1655798786.133385][7065:7070] CHIP:DMG: WriteClient moving to [AwaitingDe] + + + By sending a ReadRequest that the Write action was performed correctly. ./chip-tool levelcontrol write on-level 1 1 1 [1652945083.826161][34821:34826] CHIP:DMG: AttributePathIB = [1652945083.826181][34821:34826] CHIP:DMG: { @@ -143,11 +164,9 @@ tests: ./chip-tool levelcontrol read on-level 1 1 - [1652944956.222032][34790:34795] CHIP:DMG: SuppressResponse = true, - [1652944956.222047][34790:34795] CHIP:DMG: InteractionModelRevision = 1 - [1652944956.222061][34790:34795] CHIP:DMG: } - [1652944956.222195][34790:34795] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0008 Attribute 0x0000_0011 DataVersion: 2105467261 - [1652944956.222235][34790:34795] CHIP:TOO: on level: 1 + [1655799013.466144][7075:7080] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0008 Attribute 0x0000_0011 DataVersion: 737039642 + [1655799013.466237][7075:7080] CHIP:TOO: on level: 1 + [1655799013.466336][7075:7080] CHIP:EM: Sending Standalone Ack for MessageCounter:202402347 on exchange 58038i disabled: true - label: diff --git a/src/app/tests/suites/certification/Test_TC_IDM_6_1.yaml b/src/app/tests/suites/certification/Test_TC_IDM_6_1.yaml index b6be17faf589e5..c77bf818340bfa 100644 --- a/src/app/tests/suites/certification/Test_TC_IDM_6_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_IDM_6_1.yaml @@ -13,7 +13,8 @@ # limitations under the License. # Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default -name: 20.6.1. [TC-IDM-6.1] Events Read Interaction from TH to DUT +name: + 21.6.1. [TC-IDM-6.1] Events Read Interaction from TH to DUT. [{DUT_Server}] config: nodeId: 0x12344321 @@ -24,9 +25,11 @@ tests: - label: "TH sends Read Request Message to DUT with EventRequests set to a specific event from a specific cluster on a specific endpoint on a - specific node i.e. [Node = Specific, Endpoint = Specific, Cluster = - Specific, Event = Specific]." + specific node that is, [Node = Specific, Endpoint = Specific, Cluster + = Specific, Event = Specific]." verification: | + In case of chip tool, here is an example command to use + sudo ./chip-tool basic read-event start-up 1 0 [1653051591.078855][11664:11669] CHIP:DMG: ReportDataMessage = @@ -72,8 +75,8 @@ tests: - label: "TH sends Read Request Message to DUT with EventRequests set to all events from a specific cluster on a specific endpoint on a specific - node i.e. [Node = Specific, Endpoint = Specific, Cluster = Specific, - Event = Wildcard]." + node that is, [Node = Specific, Endpoint = Specific, Cluster = + Specific, Event = Wildcard]." verification: | In case of chip tool, here is an example command to use @@ -122,8 +125,8 @@ tests: - label: "TH sends Read Request Message to DUT with EventRequests set to all events from all clusters on a specific endpoint on a specific node - i.e. [Node = Specific, Endpoint = Specific, Cluster = Wildcard, Event - = Wildcard]." + that is, [Node = Specific, Endpoint = Specific, Cluster = Wildcard, + Event = Wildcard]." verification: | In case of chip tool, here is an example command to use @@ -165,9 +168,11 @@ tests: - label: "TH sends Read Request Message to DUT with EventRequests set to a specific event from a specific cluster on all endpoints on a specific - node i.e. [Node = Specific, Endpoint = Wildcard, Cluster = Specific, - Event = Specific]." + node that is, [Node = Specific, Endpoint = Wildcard, Cluster = + Specific, Event = Specific]." verification: | + In case of chip tool, here is an example command to use + sudo ./chip-tool basic read-event start-up 1 0xFFFF [1653051642.744722][11676:11681] CHIP:DMG: ReportDataMessage = @@ -213,9 +218,11 @@ tests: - label: "TH sends Read Request Message to DUT with EventRequests set to all events from a specific cluster on all endpoints on a specific node - i.e. [Node = Specific, Endpoint = Wildcard, Cluster = Specific, Event - = Wildcard]." + that is, [Node = Specific, Endpoint = Wildcard, Cluster = Specific, + Event = Wildcard]." verification: | + In case of chip tool, here is an example command to use + sudo ./chip-tool basic read-event-by-id 0xFFFFFFFF 1 0xFFFF [1653051699.893049][11691:11696] CHIP:DMG: ReportDataMessage = [1653051699.893068][11691:11696] CHIP:DMG: { @@ -259,10 +266,12 @@ tests: - label: "TH sends Read Request Message to DUT with EventRequests set to all - events from all clusters on all endpoints on a specific node i.e. + events from all clusters on all endpoints on a specific node that is, [Node = Specific, Endpoint = Wildcard, Cluster = Wildcard, Event = Wildcard]." verification: | + In case of chip tool, here is an example command to use + sudo ./chip-tool any read-event-by-id 0xFFFFFFFF 0xFFFFFFFF 1 0xFFFF [1653051769.144914][11706:11711] CHIP:DMG: ReportDataMessage = @@ -399,6 +408,8 @@ tests: which requires a privilege that is not granted for the cluster in the path." verification: | + In case of chip tool, here is an example command to use + ./chip-tool accesscontrol write acl '[{"fabricIndex": 1, "privilege": 5, "authMode": 2, "subjects": [1234], "targets": null}]' 1 0 ./chip-tool any read-event-by-id 0x28 0 1 0 [1653054249.514825][12265:12270] CHIP:DMG: ReportDataMessage = @@ -453,52 +464,62 @@ tests: EventMin field set to a number less than what was received in the previous step." verification: | - ./chip-tool softwarediagnostics read-by-id 0x0 1 0 + sudo ./chip-tool any read-event-by-id 0xFFFFFFFF 0xFFFFFFFF 1 0xFFFF + [1655986008.400642][4813:4818] CHIP:DMG: } + [1655986008.400859][4813:4818] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0028 Event 0x0000_0000 + [1655986008.400893][4813:4818] CHIP:TOO: Event number: 0 + [1655986008.400923][4813:4818] CHIP:TOO: Priority: Critical + [1655986008.400952][4813:4818] CHIP:TOO: Timestamp: 4896714 + [1655986008.401039][4813:4818] CHIP:TOO: StartUp: { + [1655986008.401083][4813:4818] CHIP:TOO: SoftwareVersion: 1 + [1655986008.401116][4813:4818] CHIP:TOO: } + [1655986008.401259][4813:4818] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Event 0x0000_0000 + [1655986008.401291][4813:4818] CHIP:TOO: Event number: 1 + [1655986008.401321][4813:4818] CHIP:TOO: Priority: Info + [1655986008.401425][4813:4818] CHIP:TOO: Timestamp: 4971265 + [1655986008.401494][4813:4818] CHIP:TOO: AccessControlEntryChanged: { + [1655986008.401529][4813:4818] CHIP:TOO: AdminNodeID: null + [1655986008.401561][4813:4818] CHIP:TOO: AdminPasscodeID: 0 + [1655986008.401592][4813:4818] CHIP:TOO: ChangeType: 1 + [1655986008.401623][4813:4818] CHIP:TOO: LatestValue: { + [1655986008.401648][4813:4818] CHIP:TOO: Privilege: 5 + [1655986008.401675][4813:4818] CHIP:TOO: AuthMode: 2 + [1655986008.401712][4813:4818] CHIP:TOO: Subjects: 1 entries + [1655986008.401750][4813:4818] CHIP:TOO: [1]: 112233 + [1655986008.401786][4813:4818] CHIP:TOO: Targets: null + [1655986008.401816][4813:4818] CHIP:TOO: FabricIndex: 1 + [1655986008.401845][4813:4818] CHIP:TOO: } + [1655986008.401876][4813:4818] CHIP:TOO: AdminFabricIndex: 1 + [1655986008.401906][4813:4818] CHIP:TOO: } + [1655986008.402045][4813:4818] CHIP:EM: Sending Standalone Ack for MessageCounter:51662085 on exchange 4386i - [1651583857.832820][2932:2937] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0034 Attribute 0x0000_0000 DataVersion: 440941735 - [1651583857.832964][2932:2937] CHIP:TOO: ThreadMetrics: 6 entries - [1651583857.833044][2932:2937] CHIP:TOO: [1]: { - [1651583857.833093][2932:2937] CHIP:TOO: Id: 2357 - [1651583857.833125][2932:2937] CHIP:TOO: Name: 2357 - [1651583857.833157][2932:2937] CHIP:TOO: StackFreeCurrent: 0 - [1651583857.833188][2932:2937] CHIP:TOO: StackFreeMinimum: 0 - [1651583857.833219][2932:2937] CHIP:TOO: StackSize: 0 - [1651583857.833250][2932:2937] CHIP:TOO: } - [1651583857.833292][2932:2937] CHIP:TOO: [2]: { - [1651583857.833324][2932:2937] CHIP:TOO: Id: 2356 - [1651583857.833353][2932:2937] CHIP:TOO: Name: 2356 - [1651583857.833382][2932:2937] CHIP:TOO: StackFreeCurrent: 0 - [1651583857.833412][2932:2937] CHIP:TOO: StackFreeMinimum: 0 - [1651583857.833442][2932:2937] CHIP:TOO: StackSize: 0 - [1651583857.833471][2932:2937] CHIP:TOO: } - [1651583857.833511][2932:2937] CHIP:TOO: [3]: { - [1651583857.833624][2932:2937] CHIP:TOO: Id: 2355 - [1651583857.833657][2932:2937] CHIP:TOO: Name: 2355 - [1651583857.833687][2932:2937] CHIP:TOO: StackFreeCurrent: 0 - [1651583857.833718][2932:2937] CHIP:TOO: StackFreeMinimum: 0 - [1651583857.833748][2932:2937] CHIP:TOO: StackSize: 0 - [1651583857.833777][2932:2937] CHIP:TOO: } - [1651583857.833819][2932:2937] CHIP:TOO: [4]: { - [1651583857.833851][2932:2937] CHIP:TOO: Id: 2354 - [1651583857.833880][2932:2937] CHIP:TOO: Name: 2354 - [1651583857.833909][2932:2937] CHIP:TOO: StackFreeCurrent: 0 - [1651583857.833939][2932:2937] CHIP:TOO: StackFreeMinimum: 0 - [1651583857.833969][2932:2937] CHIP:TOO: StackSize: 0 - [1651583857.833998][2932:2937] CHIP:TOO: } - [1651583857.834037][2932:2937] CHIP:TOO: [5]: { - [1651583857.834068][2932:2937] CHIP:TOO: Id: 2353 - [1651583857.834097][2932:2937] CHIP:TOO: Name: 2353 - [1651583857.834126][2932:2937] CHIP:TOO: StackFreeCurrent: 0 - [1651583857.834156][2932:2937] CHIP:TOO: StackFreeMinimum: 0 - [1651583857.834186][2932:2937] CHIP:TOO: StackSize: 0 - [1651583857.834215][2932:2937] CHIP:TOO: } - [1651583857.834254][2932:2937] CHIP:TOO: [6]: { - [1651583857.834284][2932:2937] CHIP:TOO: Id: 2352 - [1651583857.834313][2932:2937] CHIP:TOO: Name: 2352 - [1651583857.834343][2932:2937] CHIP:TOO: StackFreeCurrent: 0 - [1651583857.834372][2932:2937] CHIP:TOO: StackFreeMinimum: 0 - [1651583857.834402][2932:2937] CHIP:TOO: StackSize: 0 - [1651583857.834431][2932:2937] CHIP:TOO: } + sudo ./chip-tool any read-event-by-id 0xFFFFFFFF 0xFFFFFFFF 1 0xFFFF --event-min 0 + [1655986113.735628][4843:4848] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0028 Event 0x0000_0000 + [1655986113.735661][4843:4848] CHIP:TOO: Event number: 0 + [1655986113.735690][4843:4848] CHIP:TOO: Priority: Critical + [1655986113.735718][4843:4848] CHIP:TOO: Timestamp: 4896714 + [1655986113.735803][4843:4848] CHIP:TOO: StartUp: { + [1655986113.735848][4843:4848] CHIP:TOO: SoftwareVersion: 1 + [1655986113.735878][4843:4848] CHIP:TOO: } + [1655986113.736018][4843:4848] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Event 0x0000_0000 + [1655986113.736049][4843:4848] CHIP:TOO: Event number: 1 + [1655986113.736078][4843:4848] CHIP:TOO: Priority: Info + [1655986113.736106][4843:4848] CHIP:TOO: Timestamp: 4971265 + [1655986113.736168][4843:4848] CHIP:TOO: AccessControlEntryChanged: { + [1655986113.736200][4843:4848] CHIP:TOO: AdminNodeID: null + [1655986113.736231][4843:4848] CHIP:TOO: AdminPasscodeID: 0 + [1655986113.736261][4843:4848] CHIP:TOO: ChangeType: 1 + [1655986113.736291][4843:4848] CHIP:TOO: LatestValue: { + [1655986113.736320][4843:4848] CHIP:TOO: Privilege: 5 + [1655986113.736348][4843:4848] CHIP:TOO: AuthMode: 2 + [1655986113.736384][4843:4848] CHIP:TOO: Subjects: 1 entries + [1655986113.736420][4843:4848] CHIP:TOO: [1]: 112233 + [1655986113.736454][4843:4848] CHIP:TOO: Targets: null + [1655986113.736483][4843:4848] CHIP:TOO: FabricIndex: 1 + [1655986113.736511][4843:4848] CHIP:TOO: } + [1655986113.736540][4843:4848] CHIP:TOO: AdminFabricIndex: 1 + [1655986113.736568][4843:4848] CHIP:TOO: } + [1655986113.736707][4843:4848] CHIP:EM: Sending Standalone Ack for MessageCounter:245457747 on exchange 9028i disabled: true - label: @@ -524,5 +545,13 @@ tests: event data. For every chunked data message received, DUT sends a status response." verification: | - https://github.com/CHIP-Specifications/chip-test-plans/issues/1365 + tried in doorlock app,I Sent wildcard read-event command from TH to DUT to verify this test-step, + ./chip-tool any read-event-by-id 0xFFFFFFFF 0xFFFFFFFF 1 0xFFFF + The message flow I would expect here is: + TH -> DUT ReadRequest + DUT -> TH ReportData, not last chunk + TH -> DUT StatusResponse + Possibly repeat steps 2 & 3 a few times + DUT -> TH ReportData, last chunk, SuppressResponse set to true + TH -> DUT standalone ack disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_IDM_6_2.yaml b/src/app/tests/suites/certification/Test_TC_IDM_6_2.yaml index 9ecfc1b4c540d8..85fb5c9dda0c47 100644 --- a/src/app/tests/suites/certification/Test_TC_IDM_6_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_IDM_6_2.yaml @@ -13,7 +13,9 @@ # limitations under the License. # Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default -name: 20.6.2. [TC-IDM-6.2] Events Subscribe Interaction from TH to DUT +name: + 21.6.2. [TC-IDM-6.2] Events Subscribe Interaction from TH to DUT. + [{DUT_Server}] config: nodeId: 0x12344321 @@ -24,330 +26,368 @@ tests: - label: "TH sends Subscribe Request Message to DUT with EventRequests set to a specific event from a specific cluster on a specific endpoint on a - specific node i.e. [Node = Specific, Endpoint = Specific, Cluster = - Specific, Event = Specific]." + specific node that is, [Node = Specific, Endpoint = Specific, Cluster + = Specific, Event = Specific]." verification: | In case of chip tool, here is an example command to use - sudo ./chip-tool any subscribe-event-by-id 0x0033 0x01 0 100 1 1 + sudo ./chip-tool basic subscribe-event start-up 20 100 1 0 on TH - [1651585153.535829][2998:3003] CHIP:DMG: ReportDataMessage = - [1651585153.535860][2998:3003] CHIP:DMG: { - [1651585153.535888][2998:3003] CHIP:DMG: SubscriptionId = 0x2e08688819c6e7af, - [1651585153.535918][2998:3003] CHIP:DMG: InteractionModelRevision = 1 - [1651585153.535945][2998:3003] CHIP:DMG: } - [1651585153.535990][2998:3003] CHIP:DMG: MoveToState ReadClient[0xffff98002e10]: Moving to [AwaitingSu] - [1651585153.536039][2998:3003] CHIP:EM: Piggybacking Ack for MessageCounter:12695913 on exchange: 56366i - [1651585153.536099][2998:3003] CHIP:IN: Prepared secure message 0xaaaad8552488 to 0x0000000000000001 (1) of type 0x1 and protocolId (0, 1) on exchange 56366i with MessageCounter:12866229. - [1651585153.536139][2998:3003] CHIP:IN: Sending encrypted msg 0xaaaad8552488 with MessageCounter:12866229 to 0x0000000000000001 (1) at monotonic time: 00000000005716CD msec - [1651585153.537541][2998:3003] CHIP:EM: Received message of type 0x4 with protocolId (0, 1) and MessageCounter:12695914 on exchange 56366i - [1651585153.537579][2998:3003] CHIP:EM: Found matching exchange: 56366i, Delegate: 0xffff98002e10 - [1651585153.537614][2998:3003] CHIP:EM: Rxd Ack; Removing MessageCounter:12866229 from Retrans Table on exchange 56366i - [1651585153.537641][2998:3003] CHIP:EM: Removed CHIP MessageCounter:12866229 from RetransTable on exchange 56366i - [1651585153.537688][2998:3003] CHIP:DMG: SubscribeResponseMessage = - [1651585153.537718][2998:3003] CHIP:DMG: { - [1651585153.537749][2998:3003] CHIP:DMG: SubscriptionId = 0x2e08688819c6e7af, - [1651585153.537805][2998:3003] CHIP:DMG: MinIntervalFloorSeconds = 0x0, - [1651585153.537861][2998:3003] CHIP:DMG: MaxIntervalCeilingSeconds = 0x64, - [1651585153.537916][2998:3003] CHIP:DMG: InteractionModelRevision = 1 - [1651585153.537967][2998:3003] CHIP:DMG: } - - - DUT side - [1651585153.529075][2352:2352] CHIP:DMG: SubscribeRequestMessage = - [1651585153.529112][2352:2352] CHIP:DMG: { - [1651585153.529158][2352:2352] CHIP:DMG: KeepSubscriptions = false, - [1651585153.529193][2352:2352] CHIP:DMG: MinIntervalFloorSeconds = 0x0, - [1651585153.529228][2352:2352] CHIP:DMG: MaxIntervalCeilingSeconds = 0x64, - [1651585153.529275][2352:2352] CHIP:DMG: EventPathIBs = - [1651585153.529311][2352:2352] CHIP:DMG: [ - [1651585153.529355][2352:2352] CHIP:DMG: EventPath = - [1651585153.529395][2352:2352] CHIP:DMG: { - [1651585153.529502][2352:2352] CHIP:DMG: Endpoint = 0x1, - [1651585153.529560][2352:2352] CHIP:DMG: Cluster = 0x33, - [1651585153.529603][2352:2352] CHIP:DMG: Event = 0x1, - [1651585153.529652][2352:2352] CHIP:DMG: }, - [1651585153.529694][2352:2352] CHIP:DMG: - [1651585153.529739][2352:2352] CHIP:DMG: ], - [1651585153.529778][2352:2352] CHIP:DMG: - [1651585153.529825][2352:2352] CHIP:DMG: isFabricFiltered = true, - [1651585153.529861][2352:2352] CHIP:DMG: InteractionModelRevision = 1 - [1651585153.529905][2352:2352] CHIP:DMG: }, - [1651585153.529989][2352:2352] CHIP:DMG: Final negotiated min/max parameters: Min = 0s, Max = 100s - [1651585153.530085][2352:2352] CHIP:DMG: IM RH moving to [GeneratingReports] - [1651585153.530195][2352:2352] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 - [1651585153.530365][2352:2352] CHIP:DMG: Fetched 0 events - [1651585153.530403][2352:2352] CHIP:DMG: Sending report (payload has 15 bytes)... - [1651585153.530435][2352:2352] CHIP:DMG: IM RH moving to [AwaitingReportResponse] - [1651585153.530472][2352:2352] CHIP:EM: Piggybacking Ack for MessageCounter:12866228 on exchange: 56366r - [1651585153.530547][2352:2352] CHIP:IN: Prepared secure message 0xaaaabeacb650 to 0x000000000001B669 (1) of type 0x5 and protocolId (0, 1) on exchange 56366r with MessageCounter:12695913. - [1651585153.530596][2352:2352] CHIP:IN: Sending encrypted msg 0xaaaabeacb650 with MessageCounter:12695913 to 0x000000000001B669 (1) at monotonic time: 00000000005729DD msec - [1651585153.530947][2352:2352] CHIP:DMG: ReportsInFlight = 3 with readHandler 0, RE has no more messages - [1651585153.530988][2352:2352] CHIP:DMG: All ReadHandler-s are clean, clear GlobalDirtySet - [1651585153.532011][2352:2352] CHIP:EM: Received message of type 0x1 with protocolId (0, 1) and MessageCounter:12866229 on exchange 56366r - [1651585153.532053][2352:2352] CHIP:EM: Found matching exchange: 56366r, Delegate: 0xaaaabfc22d00 - [1651585153.532098][2352:2352] CHIP:EM: Rxd Ack; Removing MessageCounter:12695913 from Retrans Table on exchange 56366r - [1651585153.532129][2352:2352] CHIP:EM: Removed CHIP MessageCounter:12695913 from RetransTable on exchange 56366r - [1651585153.532185][2352:2352] CHIP:DMG: StatusResponseMessage = - [1651585153.532236][2352:2352] CHIP:DMG: { - [1651585153.532268][2352:2352] CHIP:DMG: Status = 0x00 (SUCCESS), - [1651585153.532305][2352:2352] CHIP:DMG: InteractionModelRevision = 1 - [1651585153.532351][2352:2352] CHIP:DMG: } + [1655977276.638991][4311:4316] CHIP:DMG: ReportDataMessage = + [1655977276.639038][4311:4316] CHIP:DMG: { + [1655977276.639092][4311:4316] CHIP:DMG: SubscriptionId = 0x64e994d3, + [1655977276.639135][4311:4316] CHIP:DMG: EventReportIBs = + [1655977276.639201][4311:4316] CHIP:DMG: [ + [1655977276.639243][4311:4316] CHIP:DMG: EventReportIB = + [1655977276.639316][4311:4316] CHIP:DMG: { + [1655977276.639360][4311:4316] CHIP:DMG: EventDataIB = + [1655977276.639425][4311:4316] CHIP:DMG: { + [1655977276.639486][4311:4316] CHIP:DMG: EventPath = + [1655977276.639542][4311:4316] CHIP:DMG: { + [1655977276.639613][4311:4316] CHIP:DMG: Endpoint = 0x0, + [1655977276.639684][4311:4316] CHIP:DMG: Cluster = 0x28, + [1655977276.639741][4311:4316] CHIP:DMG: Event = 0x0, + [1655977276.639810][4311:4316] CHIP:DMG: }, + [1655977276.639880][4311:4316] CHIP:DMG: + [1655977276.639933][4311:4316] CHIP:DMG: EventNumber = 0x0, + [1655977276.640009][4311:4316] CHIP:DMG: PriorityLevel = 0x2, + [1655977276.640078][4311:4316] CHIP:DMG: SystemTimestamp = 0x4ab7ca, + [1655977276.640131][4311:4316] CHIP:DMG: EventData = + [1655977276.640198][4311:4316] CHIP:DMG: { + [1655977276.640298][4311:4316] CHIP:DMG: 0x0 = 1, + [1655977276.640368][4311:4316] CHIP:DMG: }, + [1655977276.640419][4311:4316] CHIP:DMG: }, + [1655977276.640490][4311:4316] CHIP:DMG: + [1655977276.640532][4311:4316] CHIP:DMG: }, + [1655977276.640597][4311:4316] CHIP:DMG: + [1655977276.640636][4311:4316] CHIP:DMG: ], + [1655977276.640702][4311:4316] CHIP:DMG: + [1655977276.640757][4311:4316] CHIP:DMG: InteractionModelRevision = 1 + [1655977276.640797][4311:4316] CHIP:DMG: } + [1655977276.641042][4311:4316] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0028 Event 0x0000_0000 + [1655977276.641086][4311:4316] CHIP:TOO: Event number: 0 + [1655977276.641122][4311:4316] CHIP:TOO: Priority: Critical + [1655977276.641158][4311:4316] CHIP:TOO: Timestamp: 4896714 + [1655977276.641276][4311:4316] CHIP:TOO: StartUp: { + [1655977276.641344][4311:4316] CHIP:TOO: SoftwareVersion: 1 + [1655977276.641385][4311:4316] CHIP:TOO: } + [1655977276.641461][4311:4316] CHIP:DMG: MoveToState ReadClient[0xffff9c006f50]: Moving to [AwaitingSu] + [1655977276.641553][4311:4316] CHIP:EM: Piggybacking Ack for MessageCounter:264495416 on exchange: 5419i + [1655977276.641656][4311:4316] CHIP:IN: Prepared secure message 0xaaaac9574fd8 to 0x0000000000000001 (1) of type 0x1 and protocolId (0, 1) on exchange 5419i with MessageCounter:38634004. + [1655977276.641716][4311:4316] CHIP:IN: Sending encrypted msg 0xaaaac9574fd8 with MessageCounter:38634004 to 0x0000000000000001 (1) at monotonic time: 0000000000FA0882 msec + [1655977276.642731][4311:4316] CHIP:EM: Received message of type 0x4 with protocolId (0, 1) and MessageCounter:264495417 on exchange 5419i + [1655977276.642784][4311:4316] CHIP:EM: Found matching exchange: 5419i, Delegate: 0xffff9c006f50 + [1655977276.642836][4311:4316] CHIP:EM: Rxd Ack; Removing MessageCounter:38634004 from Retrans Table on exchange 5419i + [1655977276.642875][4311:4316] CHIP:EM: Removed CHIP MessageCounter:38634004 from RetransTable on exchange 5419i + [1655977276.642967][4311:4316] CHIP:DMG: SubscribeResponseMessage = + [1655977276.643030][4311:4316] CHIP:DMG: { + [1655977276.643069][4311:4316] CHIP:DMG: SubscriptionId = 0x64e994d3, + [1655977276.643127][4311:4316] CHIP:DMG: MaxInterval = 0x64, + [1655977276.643168][4311:4316] CHIP:DMG: InteractionModelRevision = 1 + [1655977276.643220][4311:4316] CHIP:DMG: } + [1655977276.643263][4311:4316] CHIP:DMG: Subscription established with SubscriptionID = 0x64e994d3 MinInterval = 20s MaxInterval = 100s Peer = 01:0000000000000001 disabled: true - label: "TH sends Subscribe Request Message to DUT with EventRequests set to all events from a specific cluster on a specific endpoint on a - specific node i.e. [Node = Specific, Endpoint = Specific, Cluster = - Specific, Event = Wildcard]." + specific node that is, [Node = Specific, Endpoint = Specific, Cluster + = Specific, Event = Wildcard]." verification: | - Use interactive mode to verify this - ./chip-tool start interactive mood - - basic subscribe-event-by-id 0xFFFFFFFF 100 1000 1 0 - - [1653477346.830909][21558:21563] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0028 Event 0x0000_0000 - [1653477346.830930][21558:21563] CHIP:TOO: Event number: 0 - [1653477346.830947][21558:21563] CHIP:TOO: Priority: Critical - [1653477346.830963][21558:21563] CHIP:TOO: Timestamp: 2525140 - [1653477346.831045][21558:21563] CHIP:TOO: StartUp: { - [1653477346.831374][21558:21563] CHIP:TOO: SoftwareVersion: 1 - [1653477346.831401][21558:21563] CHIP:TOO: } - [1653477346.831540][21558:21563] CHIP:DMG: MoveToState ReadClient[0x7f35bc002be0]: Moving to [AwaitingSu] - [1653477346.831599][21558:21563] CHIP:EM: Piggybacking Ack for MessageCounter:15912670 on exchange: 43248i - [1653477346.831656][21558:21563] CHIP:IN: Prepared secure message 0x5604e6136648 to 0x0000000000000001 (1) of type 0x1 and protocolId (0, 1) on exchange 43248i with MessageCounter:16478636. - [1653477346.831692][21558:21563] CHIP:IN: Sending encrypted msg 0x5604e6136648 with MessageCounter:16478636 to 0x0000000000000001 (1) at monotonic time: 00000000015D2104 msec - [1653477346.836230][21558:21563] CHIP:EM: Received message of type 0x4 with protocolId (0, 1) and MessageCounter:15912671 on exchange 43248i - [1653477346.836245][21558:21563] CHIP:EM: Found matching exchange: 43248i, Delegate: 0x7f35bc002be0 - [1653477346.836256][21558:21563] CHIP:EM: Rxd Ack; Removing MessageCounter:16478636 from Retrans Table on exchange 43248i - [1653477346.836262][21558:21563] CHIP:EM: Removed CHIP MessageCounter:16478636 from RetransTable on exchange 43248i - [1653477346.836277][21558:21563] CHIP:DMG: SubscribeResponseMessage = - [1653477346.836284][21558:21563] CHIP:DMG: { - [1653477346.836290][21558:21563] CHIP:DMG: SubscriptionId = 0x1e5c8a80, - [1653477346.836296][21558:21563] CHIP:DMG: MinIntervalFloorSeconds = 0x64, - [1653477346.836302][21558:21563] CHIP:DMG: MaxIntervalCeilingSeconds = 0x3e8, - [1653477346.836308][21558:21563] CHIP:DMG: InteractionModelRevision = 1 - [1653477346.836313][21558:21563] CHIP:DMG: } + sudo ./chip-tool basic subscribe-event-by-id 0xFFFFFFFF 100 1000 1 0 + [1655977531.386194][4337:4342] CHIP:DMG: ReportDataMessage = + [1655977531.386222][4337:4342] CHIP:DMG: { + [1655977531.386247][4337:4342] CHIP:DMG: SubscriptionId = 0x317286e5, + [1655977531.386271][4337:4342] CHIP:DMG: EventReportIBs = + [1655977531.386303][4337:4342] CHIP:DMG: [ + [1655977531.386327][4337:4342] CHIP:DMG: EventReportIB = + [1655977531.386360][4337:4342] CHIP:DMG: { + [1655977531.386385][4337:4342] CHIP:DMG: EventDataIB = + [1655977531.386420][4337:4342] CHIP:DMG: { + [1655977531.386449][4337:4342] CHIP:DMG: EventPath = + [1655977531.386482][4337:4342] CHIP:DMG: { + [1655977531.386517][4337:4342] CHIP:DMG: Endpoint = 0x0, + [1655977531.386552][4337:4342] CHIP:DMG: Cluster = 0x28, + [1655977531.386585][4337:4342] CHIP:DMG: Event = 0x0, + [1655977531.386619][4337:4342] CHIP:DMG: }, + [1655977531.386653][4337:4342] CHIP:DMG: + [1655977531.386684][4337:4342] CHIP:DMG: EventNumber = 0x0, + [1655977531.386717][4337:4342] CHIP:DMG: PriorityLevel = 0x2, + [1655977531.386749][4337:4342] CHIP:DMG: SystemTimestamp = 0x4ab7ca, + [1655977531.386780][4337:4342] CHIP:DMG: EventData = + [1655977531.386812][4337:4342] CHIP:DMG: { + [1655977531.386865][4337:4342] CHIP:DMG: 0x0 = 1, + [1655977531.386898][4337:4342] CHIP:DMG: }, + [1655977531.386973][4337:4342] CHIP:DMG: }, + [1655977531.387010][4337:4342] CHIP:DMG: + [1655977531.387037][4337:4342] CHIP:DMG: }, + [1655977531.387067][4337:4342] CHIP:DMG: + [1655977531.387091][4337:4342] CHIP:DMG: ], + [1655977531.387122][4337:4342] CHIP:DMG: + [1655977531.387146][4337:4342] CHIP:DMG: InteractionModelRevision = 1 + [1655977531.387168][4337:4342] CHIP:DMG: } + [1655977531.387299][4337:4342] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0028 Event 0x0000_0000 + [1655977531.387325][4337:4342] CHIP:TOO: Event number: 0 + [1655977531.387346][4337:4342] CHIP:TOO: Priority: Critical + [1655977531.387368][4337:4342] CHIP:TOO: Timestamp: 4896714 + [1655977531.387435][4337:4342] CHIP:TOO: StartUp: { + [1655977531.387470][4337:4342] CHIP:TOO: SoftwareVersion: 1 + [1655977531.387494][4337:4342] CHIP:TOO: } + [1655977531.387541][4337:4342] CHIP:DMG: MoveToState ReadClient[0xffff68007030]: Moving to [AwaitingSu] + [1655977531.387593][4337:4342] CHIP:EM: Piggybacking Ack for MessageCounter:103226132 on exchange: 14818i + [1655977531.387651][4337:4342] CHIP:IN: Prepared secure message 0xaaaae64957e8 to 0x0000000000000001 (1) of type 0x1 and protocolId (0, 1) on exchange 14818i with MessageCounter:195745808. + [1655977531.387686][4337:4342] CHIP:IN: Sending encrypted msg 0xaaaae64957e8 with MessageCounter:195745808 to 0x0000000000000001 (1) at monotonic time: 0000000000FDEB9C msec + [1655977531.388695][4337:4342] CHIP:EM: Received message of type 0x4 with protocolId (0, 1) and MessageCounter:103226133 on exchange 14818i + [1655977531.388759][4337:4342] CHIP:EM: Found matching exchange: 14818i, Delegate: 0xffff68007030 + [1655977531.388821][4337:4342] CHIP:EM: Rxd Ack; Removing MessageCounter:195745808 from Retrans Table on exchange 14818i + [1655977531.388871][4337:4342] CHIP:EM: Removed CHIP MessageCounter:195745808 from RetransTable on exchange 14818i + [1655977531.388950][4337:4342] CHIP:DMG: SubscribeResponseMessage = + [1655977531.389004][4337:4342] CHIP:DMG: { + [1655977531.389054][4337:4342] CHIP:DMG: SubscriptionId = 0x317286e5, + [1655977531.389107][4337:4342] CHIP:DMG: MaxInterval = 0x3e8, + [1655977531.389160][4337:4342] CHIP:DMG: InteractionModelRevision = 1 + [1655977531.389208][4337:4342] CHIP:DMG: } + [1655977531.389261][4337:4342] CHIP:DMG: Subscription established with SubscriptionID = 0x317286e5 MinInterval = 100s MaxInterval = 1000s Peer = 01:0000000000000001 disabled: true - label: "TH sends Subscribe Request Message to DUT with EventRequests set to all events from all clusters on a specific endpoint on a specific node - i.e. [Node = Specific, Endpoint = Specific, Cluster = Wildcard, Event - = Wildcard]." + that is, [Node = Specific, Endpoint = Specific, Cluster = Wildcard, + Event = Wildcard]." verification: | - Use interactive mode to verify this - ./chip-tool start interactive mood - any subscribe-event-by-id 0xFFFFFFFF 0xFFFFFFFF 0 100 1 0 - - [1653477454.958220][21558:21563] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0028 Event 0x0000_0000 - [1653477454.958253][21558:21563] CHIP:TOO: Event number: 0 - [1653477454.958270][21558:21563] CHIP:TOO: Priority: Critical - [1653477454.958288][21558:21563] CHIP:TOO: Timestamp: 2525140 - [1653477454.958322][21558:21563] CHIP:TOO: StartUp: { - [1653477454.958353][21558:21563] CHIP:TOO: SoftwareVersion: 1 - [1653477454.958376][21558:21563] CHIP:TOO: } - [1653477454.958487][21558:21563] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0033 Event 0x0000_0003 - [1653477454.958505][21558:21563] CHIP:TOO: Event number: 1 - [1653477454.958520][21558:21563] CHIP:TOO: Priority: Critical - [1653477454.958536][21558:21563] CHIP:TOO: Timestamp: 2525141 - [1653477454.958559][21558:21563] CHIP:TOO: BootReason: { - [1653477454.958578][21558:21563] CHIP:TOO: BootReason: 0 - [1653477454.958594][21558:21563] CHIP:TOO: } - [1653477454.958726][21558:21563] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Event 0x0000_0000 - [1653477454.958742][21558:21563] CHIP:TOO: Event number: 2 - [1653477454.958756][21558:21563] CHIP:TOO: Priority: Info - [1653477454.958771][21558:21563] CHIP:TOO: Timestamp: 2533827 - [1653477454.959176][21558:21563] CHIP:TOO: AccessControlEntryChanged: { - [1653477454.959201][21558:21563] CHIP:TOO: AdminNodeID: null - [1653477454.959221][21558:21563] CHIP:TOO: AdminPasscodeID: 0 - [1653477454.959237][21558:21563] CHIP:TOO: ChangeType: 1 - [1653477454.959252][21558:21563] CHIP:TOO: LatestValue: { - [1653477454.959267][21558:21563] CHIP:TOO: Privilege: 5 - [1653477454.959284][21558:21563] CHIP:TOO: AuthMode: 2 - [1653477454.959304][21558:21563] CHIP:TOO: Subjects: 1 entries - [1653477454.959326][21558:21563] CHIP:TOO: [1]: 112233 - [1653477454.959344][21558:21563] CHIP:TOO: Targets: null - [1653477454.959360][21558:21563] CHIP:TOO: FabricIndex: 1 - [1653477454.959375][21558:21563] CHIP:TOO: } - [1653477454.959391][21558:21563] CHIP:TOO: AdminFabricIndex: 1 - [1653477454.959407][21558:21563] CHIP:TOO: } - [1653477454.959510][21558:21563] CHIP:DMG: MoveToState ReadClient[0x7f35bc0035d0]: Moving to [AwaitingSu] + sudo ./chip-tool any subscribe-event-by-id 0xFFFFFFFF 0xFFFFFFFF 20 100 1 0 + + [1655978025.631905][4361:4366] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0028 Event 0x0000_0000 + [1655978025.631939][4361:4366] CHIP:TOO: Event number: 0 + [1655978025.631968][4361:4366] CHIP:TOO: Priority: Critical + [1655978025.631997][4361:4366] CHIP:TOO: Timestamp: 4896714 + [1655978025.632083][4361:4366] CHIP:TOO: StartUp: { + [1655978025.632126][4361:4366] CHIP:TOO: SoftwareVersion: 1 + [1655978025.632158][4361:4366] CHIP:TOO: } + [1655978025.632299][4361:4366] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Event 0x0000_0000 + [1655978025.632330][4361:4366] CHIP:TOO: Event number: 1 + [1655978025.632359][4361:4366] CHIP:TOO: Priority: Info + [1655978025.632388][4361:4366] CHIP:TOO: Timestamp: 4971265 + [1655978025.632450][4361:4366] CHIP:TOO: AccessControlEntryChanged: { + [1655978025.632483][4361:4366] CHIP:TOO: AdminNodeID: null + [1655978025.632513][4361:4366] CHIP:TOO: AdminPasscodeID: 0 + [1655978025.632544][4361:4366] CHIP:TOO: ChangeType: 1 + [1655978025.632573][4361:4366] CHIP:TOO: LatestValue: { + [1655978025.632602][4361:4366] CHIP:TOO: Privilege: 5 + [1655978025.632631][4361:4366] CHIP:TOO: AuthMode: 2 + [1655978025.632668][4361:4366] CHIP:TOO: Subjects: 1 entries + [1655978025.632706][4361:4366] CHIP:TOO: [1]: 112233 + [1655978025.632740][4361:4366] CHIP:TOO: Targets: null + [1655978025.632770][4361:4366] CHIP:TOO: FabricIndex: 1 + [1655978025.632799][4361:4366] CHIP:TOO: } + [1655978025.632829][4361:4366] CHIP:TOO: AdminFabricIndex: 1 + [1655978025.632859][4361:4366] CHIP:TOO: } + [1655978025.632952][4361:4366] CHIP:DMG: MoveToState ReadClient[0xaaaacb9f11e0]: Moving to [AwaitingSu] disabled: true - label: "TH sends Subscribe Request Message to DUT with EventRequests set to a specific event from a specific cluster on all endpoints on a specific - node i.e. [Node = Specific, Endpoint = Wildcard, Cluster = Specific, - Event = Specific]." + node that is, [Node = Specific, Endpoint = Wildcard, Cluster = + Specific, Event = Specific]." verification: | - Use interactive mode to verify this - ./chip-tool start interactive mood - - basic subscribe-event-by-id 0x00 100 1000 1 0xFFFF - - - - [1653477546.644801][21558:21563] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0028 Event 0x0000_0000 - [1653477546.644809][21558:21563] CHIP:TOO: Event number: 0 - [1653477546.644816][21558:21563] CHIP:TOO: Priority: Critical - [1653477546.644832][21558:21563] CHIP:TOO: Timestamp: 2525140 - [1653477546.644842][21558:21563] CHIP:TOO: StartUp: { - [1653477546.644851][21558:21563] CHIP:TOO: SoftwareVersion: 1 - [1653477546.644859][21558:21563] CHIP:TOO: } - [1653477546.644879][21558:21563] CHIP:DMG: MoveToState ReadClient[0x7f35bc002260]: Moving to [AwaitingSu] - [1653477546.644899][21558:21563] CHIP:EM: Piggybacking Ack for MessageCounter:15912674 on exchange: 43250i - [1653477546.644922][21558:21563] CHIP:IN: Prepared secure message 0x5604e6136648 to 0x0000000000000001 (1) of type 0x1 and protocolId (0, 1) on exchange 43250i with MessageCounter:16478642. - [1653477546.644936][21558:21563] CHIP:IN: Sending encrypted msg 0x5604e6136648 with MessageCounter:16478642 to 0x0000000000000001 (1) at monotonic time: 0000000001602D89 msec - [1653477546.650168][21558:21563] CHIP:EM: Received message of type 0x4 with protocolId (0, 1) and MessageCounter:15912675 on exchange 43250i - [1653477546.650196][21558:21563] CHIP:EM: Found matching exchange: 43250i, Delegate: 0x7f35bc002260 - [1653477546.650215][21558:21563] CHIP:EM: Rxd Ack; Removing MessageCounter:16478642 from Retrans Table on exchange 43250i - [1653477546.650229][21558:21563] CHIP:EM: Removed CHIP MessageCounter:16478642 from RetransTable on exchange 43250i - [1653477546.650252][21558:21563] CHIP:DMG: SubscribeResponseMessage = - [1653477546.650261][21558:21563] CHIP:DMG: { - [1653477546.650269][21558:21563] CHIP:DMG: SubscriptionId = 0xee971ed7, - [1653477546.650277][21558:21563] CHIP:DMG: MinIntervalFloorSeconds = 0x64, - [1653477546.650285][21558:21563] CHIP:DMG: MaxIntervalCeilingSeconds = 0x3e8, - [1653477546.650292][21558:21563] CHIP:DMG: InteractionModelRevision = 1 - [1653477546.650299][21558:21563] CHIP:DMG: } - [1653477546.650310][21558:21563] CHIP:DMG: Subscription established with SubscriptionID = 0xee971ed7 MinInterval = 100s MaxInterval = 1000s Peer = 01:0000000000000001 + sudo ./chip-tool basic subscribe-event-by-id 0x00 10 700 1 0xFFFF + + [1655978108.922718][4380:4385] CHIP:DMG: ReportDataMessage = + [1655978108.922755][4380:4385] CHIP:DMG: { + [1655978108.922788][4380:4385] CHIP:DMG: SubscriptionId = 0x6d4c1b90, + [1655978108.922822][4380:4385] CHIP:DMG: EventReportIBs = + [1655978108.922865][4380:4385] CHIP:DMG: [ + [1655978108.922898][4380:4385] CHIP:DMG: EventReportIB = + [1655978108.922980][4380:4385] CHIP:DMG: { + [1655978108.923019][4380:4385] CHIP:DMG: EventDataIB = + [1655978108.923062][4380:4385] CHIP:DMG: { + [1655978108.923102][4380:4385] CHIP:DMG: EventPath = + [1655978108.923145][4380:4385] CHIP:DMG: { + [1655978108.923191][4380:4385] CHIP:DMG: Endpoint = 0x0, + [1655978108.923238][4380:4385] CHIP:DMG: Cluster = 0x28, + [1655978108.923284][4380:4385] CHIP:DMG: Event = 0x0, + [1655978108.923327][4380:4385] CHIP:DMG: }, + [1655978108.923369][4380:4385] CHIP:DMG: + [1655978108.923411][4380:4385] CHIP:DMG: EventNumber = 0x0, + [1655978108.923460][4380:4385] CHIP:DMG: PriorityLevel = 0x2, + [1655978108.923508][4380:4385] CHIP:DMG: SystemTimestamp = 0x4ab7ca, + [1655978108.923551][4380:4385] CHIP:DMG: EventData = + [1655978108.923594][4380:4385] CHIP:DMG: { + [1655978108.923671][4380:4385] CHIP:DMG: 0x0 = 1, + [1655978108.923721][4380:4385] CHIP:DMG: }, + [1655978108.923758][4380:4385] CHIP:DMG: }, + [1655978108.923805][4380:4385] CHIP:DMG: + [1655978108.923839][4380:4385] CHIP:DMG: }, + [1655978108.923883][4380:4385] CHIP:DMG: + [1655978108.923914][4380:4385] CHIP:DMG: ], + [1655978108.923956][4380:4385] CHIP:DMG: + [1655978108.923988][4380:4385] CHIP:DMG: InteractionModelRevision = 1 + [1655978108.924019][4380:4385] CHIP:DMG: } + [1655978108.924188][4380:4385] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0028 Event 0x0000_0000 + [1655978108.924222][4380:4385] CHIP:TOO: Event number: 0 + [1655978108.924252][4380:4385] CHIP:TOO: Priority: Critical + [1655978108.924281][4380:4385] CHIP:TOO: Timestamp: 4896714 + [1655978108.924367][4380:4385] CHIP:TOO: StartUp: { + [1655978108.924412][4380:4385] CHIP:TOO: SoftwareVersion: 1 + [1655978108.924444][4380:4385] CHIP:TOO: } + [1655978108.924507][4380:4385] CHIP:DMG: MoveToState ReadClient[0xffff7c0040a0]: Moving to [AwaitingSu] + [1655978108.924573][4380:4385] CHIP:EM: Piggybacking Ack for MessageCounter:198149325 on exchange: 7153i disabled: true - label: "TH sends Subscribe Request Message to DUT with EventRequests set to all events from a specific cluster on all endpoints on a specific node - i.e. [Node = Specific, Endpoint = Wildcard, Cluster = Specific, Event - = Wildcard]." + that is, [Node = Specific, Endpoint = Wildcard, Cluster = Specific, + Event = Wildcard]." verification: | - Use interactive mode to verify this - ./chip-tool start interactive mood - basic subscribe-event-by-id 0xFFFFFFFF 100 1000 1 0xFFFF - - [1653477615.136932][21558:21563] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0028 Event 0x0000_0000 - [1653477615.136942][21558:21563] CHIP:TOO: Event number: 0 - [1653477615.136952][21558:21563] CHIP:TOO: Priority: Critical - [1653477615.136960][21558:21563] CHIP:TOO: Timestamp: 2525140 - [1653477615.136975][21558:21563] CHIP:TOO: StartUp: { - [1653477615.136986][21558:21563] CHIP:TOO: SoftwareVersion: 1 - [1653477615.136996][21558:21563] CHIP:TOO: } - [1653477615.137024][21558:21563] CHIP:DMG: MoveToState ReadClient[0x7f35bc003ab0]: Moving to [AwaitingSu] - [1653477615.137046][21558:21563] CHIP:EM: Piggybacking Ack for MessageCounter:15912676 on exchange: 43251i - [1653477615.137070][21558:21563] CHIP:IN: Prepared secure message 0x5604e6136648 to 0x0000000000000001 (1) of type 0x1 and protocolId (0, 1) on exchange 43251i with MessageCounter:16478645. - [1653477615.137088][21558:21563] CHIP:IN: Sending encrypted msg 0x5604e6136648 with MessageCounter:16478645 to 0x0000000000000001 (1) at monotonic time: 0000000001613915 msec - [1653477615.161863][21558:21563] CHIP:EM: Received message of type 0x4 with protocolId (0, 1) and MessageCounter:15912677 on exchange 43251i - [1653477615.161915][21558:21563] CHIP:EM: Found matching exchange: 43251i, Delegate: 0x7f35bc003ab0 - [1653477615.161947][21558:21563] CHIP:EM: Rxd Ack; Removing MessageCounter:16478645 from Retrans Table on exchange 43251i - [1653477615.161965][21558:21563] CHIP:EM: Removed CHIP MessageCounter:16478645 from RetransTable on exchange 43251i - [1653477615.162016][21558:21563] CHIP:DMG: SubscribeResponseMessage = - [1653477615.162034][21558:21563] CHIP:DMG: { - [1653477615.162047][21558:21563] CHIP:DMG: SubscriptionId = 0x4f8636e3, - [1653477615.162061][21558:21563] CHIP:DMG: MinIntervalFloorSeconds = 0x64, - [1653477615.162075][21558:21563] CHIP:DMG: MaxIntervalCeilingSeconds = 0x3e8, - [1653477615.162091][21558:21563] CHIP:DMG: InteractionModelRevision = 1 - [1653477615.162106][21558:21563] CHIP:DMG: } - [1653477615.162131][21558:21563] CHIP:DMG: Subscription established with SubscriptionID = 0x4f8636e3 MinInterval = 100s MaxInterval = 1000s Peer = 01:0000000000000001 + sudo ./chip-tool basic subscribe-event-by-id 0xFFFFFFFF 100 1000 1 0xFFFF + + [1655978154.819363][4396:4401] CHIP:DMG: ReportDataMessage = + [1655978154.819402][4396:4401] CHIP:DMG: { + [1655978154.819438][4396:4401] CHIP:DMG: SubscriptionId = 0x35c8f49e, + [1655978154.819474][4396:4401] CHIP:DMG: EventReportIBs = + [1655978154.819520][4396:4401] CHIP:DMG: [ + [1655978154.819557][4396:4401] CHIP:DMG: EventReportIB = + [1655978154.819607][4396:4401] CHIP:DMG: { + [1655978154.819645][4396:4401] CHIP:DMG: EventDataIB = + [1655978154.819697][4396:4401] CHIP:DMG: { + [1655978154.819740][4396:4401] CHIP:DMG: EventPath = + [1655978154.819789][4396:4401] CHIP:DMG: { + [1655978154.819838][4396:4401] CHIP:DMG: Endpoint = 0x0, + [1655978154.819888][4396:4401] CHIP:DMG: Cluster = 0x28, + [1655978154.819939][4396:4401] CHIP:DMG: Event = 0x0, + [1655978154.819991][4396:4401] CHIP:DMG: }, + [1655978154.820044][4396:4401] CHIP:DMG: + [1655978154.820090][4396:4401] CHIP:DMG: EventNumber = 0x0, + [1655978154.820139][4396:4401] CHIP:DMG: PriorityLevel = 0x2, + [1655978154.820187][4396:4401] CHIP:DMG: SystemTimestamp = 0x4ab7ca, + [1655978154.820238][4396:4401] CHIP:DMG: EventData = + [1655978154.820285][4396:4401] CHIP:DMG: { + [1655978154.820362][4396:4401] CHIP:DMG: 0x0 = 1, + [1655978154.820412][4396:4401] CHIP:DMG: }, + [1655978154.820457][4396:4401] CHIP:DMG: }, + [1655978154.820506][4396:4401] CHIP:DMG: + [1655978154.820546][4396:4401] CHIP:DMG: }, + [1655978154.820592][4396:4401] CHIP:DMG: + [1655978154.820627][4396:4401] CHIP:DMG: ], + [1655978154.820673][4396:4401] CHIP:DMG: + [1655978154.820709][4396:4401] CHIP:DMG: InteractionModelRevision = 1 + [1655978154.820743][4396:4401] CHIP:DMG: } + [1655978154.820927][4396:4401] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0028 Event 0x0000_0000 + [1655978154.820964][4396:4401] CHIP:TOO: Event number: 0 + [1655978154.820997][4396:4401] CHIP:TOO: Priority: Critical + [1655978154.821029][4396:4401] CHIP:TOO: Timestamp: 4896714 + [1655978154.821122][4396:4401] CHIP:TOO: StartUp: { + [1655978154.821170][4396:4401] CHIP:TOO: SoftwareVersion: 1 + [1655978154.821204][4396:4401] CHIP:TOO: } + [1655978154.821272][4396:4401] CHIP:DMG: MoveToState ReadClient[0xffff68004370]: Moving to [AwaitingSu] disabled: true - label: "TH sends Subscribe Request Message to DUT with EventRequests set to - all events from all clusters on all endpoints on a specific node i.e. - [Node = Specific, Endpoint = Wildcard, Cluster = Wildcard, Event = + all events from all clusters on all endpoints on a specific node that + is, [Node = Specific, Endpoint = Wildcard, Cluster = Wildcard, Event = Wildcard]." verification: | - Use interactive mode to verify this - ./chip-tool start interactive mood - any subscribe-event-by-id 0xFFFFFFFF 0xFFFFFFFF 100 1000 1 0xFFFF - - [1653477656.896724][21558:21563] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0028 Event 0x0000_0000 - [1653477656.896745][21558:21563] CHIP:TOO: Event number: 0 - [1653477656.896762][21558:21563] CHIP:TOO: Priority: Critical - [1653477656.896779][21558:21563] CHIP:TOO: Timestamp: 2525140 - [1653477656.896808][21558:21563] CHIP:TOO: StartUp: { - [1653477656.896865][21558:21563] CHIP:TOO: SoftwareVersion: 1 - [1653477656.896896][21558:21563] CHIP:TOO: } - [1653477656.897017][21558:21563] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0033 Event 0x0000_0003 - [1653477656.897036][21558:21563] CHIP:TOO: Event number: 1 - [1653477656.897053][21558:21563] CHIP:TOO: Priority: Critical - [1653477656.897066][21558:21563] CHIP:TOO: Timestamp: 2525141 - [1653477656.897090][21558:21563] CHIP:TOO: BootReason: { - [1653477656.897111][21558:21563] CHIP:TOO: BootReason: 0 - [1653477656.897129][21558:21563] CHIP:TOO: } - [1653477656.897285][21558:21563] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Event 0x0000_0000 - [1653477656.897303][21558:21563] CHIP:TOO: Event number: 2 - [1653477656.897319][21558:21563] CHIP:TOO: Priority: Info - [1653477656.897335][21558:21563] CHIP:TOO: Timestamp: 2533827 - [1653477656.897386][21558:21563] CHIP:TOO: AccessControlEntryChanged: { - [1653477656.897406][21558:21563] CHIP:TOO: AdminNodeID: null - [1653477656.897427][21558:21563] CHIP:TOO: AdminPasscodeID: 0 - [1653477656.897446][21558:21563] CHIP:TOO: ChangeType: 1 - [1653477656.897463][21558:21563] CHIP:TOO: LatestValue: { - [1653477656.897481][21558:21563] CHIP:TOO: Privilege: 5 - [1653477656.897499][21558:21563] CHIP:TOO: AuthMode: 2 - [1653477656.897522][21558:21563] CHIP:TOO: Subjects: 1 entries - [1653477656.897546][21558:21563] CHIP:TOO: [1]: 112233 - [1653477656.897566][21558:21563] CHIP:TOO: Targets: null - [1653477656.897584][21558:21563] CHIP:TOO: FabricIndex: 1 - [1653477656.897602][21558:21563] CHIP:TOO: } - [1653477656.897620][21558:21563] CHIP:TOO: AdminFabricIndex: 1 - [1653477656.897638][21558:21563] CHIP:TOO: } - [1653477656.897753][21558:21563] CHIP:DMG: MoveToState ReadClient[0x7f35bc002260]: Moving to [AwaitingSu] - [1653477656.897804][21558:21563] CHIP:EM: Piggybacking Ack for MessageCounter:15912678 on exchange: 43252i - [1653477656.897865][21558:21563] CHIP:IN: Prepared secure message 0x5604e6136648 to 0x0000000000000001 (1) of type 0x1 and protocolId (0, 1) on exchange 43252i with MessageCounter:16478648. - [1653477656.897901][21558:21563] CHIP:IN: Sending encrypted msg 0x5604e6136648 with MessageCounter:16478648 to 0x0000000000000001 (1) at monotonic time: 000000000161DC36 msec - [1653477656.905754][21558:21563] CHIP:EM: Received message of type 0x4 with protocolId (0, 1) and MessageCounter:15912679 on exchange 43252i - [1653477656.905777][21558:21563] CHIP:EM: Found matching exchange: 43252i, Delegate: 0x7f35bc002260 - [1653477656.905797][21558:21563] CHIP:EM: Rxd Ack; Removing MessageCounter:16478648 from Retrans Table on exchange 43252i - [1653477656.905806][21558:21563] CHIP:EM: Removed CHIP MessageCounter:16478648 from RetransTable on exchange 43252i - [1653477656.905861][21558:21563] CHIP:DMG: SubscribeResponseMessage = - [1653477656.905871][21558:21563] CHIP:DMG: { - [1653477656.905880][21558:21563] CHIP:DMG: SubscriptionId = 0x12b3d340, - [1653477656.905891][21558:21563] CHIP:DMG: MinIntervalFloorSeconds = 0x64, - [1653477656.905903][21558:21563] CHIP:DMG: MaxIntervalCeilingSeconds = 0x3e8, - [1653477656.905913][21558:21563] CHIP:DMG: InteractionModelRevision = 1 - [1653477656.905922][21558:21563] CHIP:DMG: } - [1653477656.905936][21558:21563] CHIP:DMG: Subscription established with SubscriptionID = 0x12b3d340 MinInterval = 100s MaxInterval = 1000s Peer = 01:0000000000000001 + sudo ./chip-tool any subscribe-event-by-id 0xFFFFFFFF 0xFFFFFFFF 100 1000 1 0xFFFF + + [1655978294.671160][4411:4416] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0028 Event 0x0000_0000 + [1655978294.671200][4411:4416] CHIP:TOO: Event number: 0 + [1655978294.671233][4411:4416] CHIP:TOO: Priority: Critical + [1655978294.671266][4411:4416] CHIP:TOO: Timestamp: 4896714 + [1655978294.671358][4411:4416] CHIP:TOO: StartUp: { + [1655978294.671406][4411:4416] CHIP:TOO: SoftwareVersion: 1 + [1655978294.671440][4411:4416] CHIP:TOO: } + [1655978294.671595][4411:4416] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Event 0x0000_0000 + [1655978294.671630][4411:4416] CHIP:TOO: Event number: 1 + [1655978294.671663][4411:4416] CHIP:TOO: Priority: Info + [1655978294.671695][4411:4416] CHIP:TOO: Timestamp: 4971265 + [1655978294.671763][4411:4416] CHIP:TOO: AccessControlEntryChanged: { + [1655978294.671800][4411:4416] CHIP:TOO: AdminNodeID: null + [1655978294.671835][4411:4416] CHIP:TOO: AdminPasscodeID: 0 + [1655978294.671869][4411:4416] CHIP:TOO: ChangeType: 1 + [1655978294.671902][4411:4416] CHIP:TOO: LatestValue: { + [1655978294.671935][4411:4416] CHIP:TOO: Privilege: 5 + [1655978294.671968][4411:4416] CHIP:TOO: AuthMode: 2 + [1655978294.672007][4411:4416] CHIP:TOO: Subjects: 1 entries + [1655978294.672050][4411:4416] CHIP:TOO: [1]: 112233 + [1655978294.672088][4411:4416] CHIP:TOO: Targets: null + [1655978294.672121][4411:4416] CHIP:TOO: FabricIndex: 1 + [1655978294.672154][4411:4416] CHIP:TOO: } + [1655978294.672187][4411:4416] CHIP:TOO: AdminFabricIndex: 1 + [1655978294.672219][4411:4416] CHIP:TOO: } + [1655978294.672320][4411:4416] CHIP:DMG: MoveToState ReadClient[0xffff94004410]: Moving to [AwaitingSu] + [1655978294.672390][4411:4416] CHIP:EM: Piggybacking Ack for MessageCounter:9582248 on exchange: 63074i + [1655978294.672469][4411:4416] CHIP:IN: Prepared secure message 0xaaaaaf336c48 to 0x0000000000000001 (1) of type 0x1 and protocolId (0, 1) on exchange 63074i with MessageCounter:265102197. + [1655978294.672521][4411:4416] CHIP:IN: Sending encrypted msg 0xaaaaaf336c48 with MessageCounter:265102197 to 0x0000000000000001 (1) at monotonic time: 0000000001099131 msec + [1655978294.673483][4411:4416] CHIP:EM: Received message of type 0x4 with protocolId (0, 1) and MessageCounter:9582249 on exchange 63074i + [1655978294.673530][4411:4416] CHIP:EM: Found matching exchange: 63074i, Delegate: 0xffff94004410 + [1655978294.673576][4411:4416] CHIP:EM: Rxd Ack; Removing MessageCounter:265102197 from Retrans Table on exchange 63074i + [1655978294.673611][4411:4416] CHIP:EM: Removed CHIP MessageCounter:265102197 from RetransTable on exchange 63074i + [1655978294.673667][4411:4416] CHIP:DMG: SubscribeResponseMessage = + [1655978294.673706][4411:4416] CHIP:DMG: { + [1655978294.673740][4411:4416] CHIP:DMG: SubscriptionId = 0xb01feb58, + [1655978294.673778][4411:4416] CHIP:DMG: MaxInterval = 0x3e8, + [1655978294.673815][4411:4416] CHIP:DMG: InteractionModelRevision = 1 + [1655978294.673849][4411:4416] CHIP:DMG: } + [1655978294.673887][4411:4416] CHIP:DMG: Subscription established with SubscriptionID = 0xb01feb58 MinInterval = 100s MaxInterval = 1000s Peer = 01:0000000000000001 disabled: true - label: "TH sends Subscribe Request Message to DUT with EventRequests set to - all events from all clusters on all endpoints on a specific node i.e. - [Node = Specific, Endpoint = Wildcard, Cluster = Wildcard, Event = + all events from all clusters on all endpoints on a specific node that + is, [Node = Specific, Endpoint = Wildcard, Cluster = Wildcard, Event = Wildcard]." verification: | Test step repeated disabled: true - label: - "Activate Event subscription from TH to DUT and change the attribute - value to create subscribed event before minimum interval." + "Activate Event subscription from TH to DUT and trigger the subscribed + event on the DUT before minimum interval." verification: | - Use interactive mode to verify this - ./chip-tool start interactive mood - basic subscribe-event-by-id 0x000 100 1000 1 0 - - [1653478391.003351][21558:21563] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0028 Event 0x0000_0000 - [1653478391.003375][21558:21563] CHIP:TOO: Event number: 0 - [1653478391.003395][21558:21563] CHIP:TOO: Priority: Critical - [1653478391.003415][21558:21563] CHIP:TOO: Timestamp: 2525140 - [1653478391.003447][21558:21563] CHIP:TOO: StartUp: { - [1653478391.003475][21558:21563] CHIP:TOO: SoftwareVersion: 1 - [1653478391.003498][21558:21563] CHIP:TOO: } - [1653478391.003565][21558:21563] CHIP:DMG: MoveToState ReadClient[0x7f35bc003d90]: Moving to [AwaitingSu] - [1653478391.003619][21558:21563] CHIP:EM: Piggybacking Ack for MessageCounter:15912689 on exchange: 43259i - [1653478391.003706][21558:21563] CHIP:IN: Prepared secure message 0x5604e6136648 to 0x0000000000000001 (1) of type 0x1 and protocolId (0, 1) on exchange 43259i with MessageCounter:16478666. - [1653478391.003766][21558:21563] CHIP:IN: Sending encrypted msg 0x5604e6136648 with MessageCounter:16478666 to 0x0000000000000001 (1) at monotonic time: 00000000016D0FD0 msec - [1653478391.012173][21558:21563] CHIP:EM: Received message of type 0x4 with protocolId (0, 1) and MessageCounter:15912690 on exchange 43259i - [1653478391.012194][21558:21563] CHIP:EM: Found matching exchange: 43259i, Delegate: 0x7f35bc003d90 - [1653478391.012210][21558:21563] CHIP:EM: Rxd Ack; Removing MessageCounter:16478666 from Retrans Table on exchange 43259i - [1653478391.012219][21558:21563] CHIP:EM: Removed CHIP MessageCounter:16478666 from RetransTable on exchange 43259i - [1653478391.012241][21558:21563] CHIP:DMG: SubscribeResponseMessage = - [1653478391.012249][21558:21563] CHIP:DMG: { - [1653478391.012257][21558:21563] CHIP:DMG: SubscriptionId = 0x6b28cc4d, - [1653478391.012264][21558:21563] CHIP:DMG: MinIntervalFloorSeconds = 0x64, - [1653478391.012272][21558:21563] CHIP:DMG: MaxIntervalCeilingSeconds = 0x3e8, - [1653478391.012280][21558:21563] CHIP:DMG: InteractionModelRevision = 1 - [1653478391.012286][21558:21563] CHIP:DMG: } - [1653478391.012297][21558:21563] CHIP:DMG: Subscription established with SubscriptionID = 0x6b28cc4d MinInterval = 100s MaxInterval = 1000s Peer = 01:0000000000000001 + sudo ./chip-tool basic subscribe-event-by-id 0x000 100 1000 1 0 + [1655978403.942817][4421:4426] CHIP:DMG: ReportDataMessage = + [1655978403.942856][4421:4426] CHIP:DMG: { + [1655978403.942888][4421:4426] CHIP:DMG: SubscriptionId = 0xd8a1d921, + [1655978403.942913][4421:4426] CHIP:DMG: EventReportIBs = + [1655978403.943012][4421:4426] CHIP:DMG: [ + [1655978403.943037][4421:4426] CHIP:DMG: EventReportIB = + [1655978403.943070][4421:4426] CHIP:DMG: { + [1655978403.943106][4421:4426] CHIP:DMG: EventDataIB = + [1655978403.943139][4421:4426] CHIP:DMG: { + [1655978403.943176][4421:4426] CHIP:DMG: EventPath = + [1655978403.943218][4421:4426] CHIP:DMG: { + [1655978403.943252][4421:4426] CHIP:DMG: Endpoint = 0x0, + [1655978403.943295][4421:4426] CHIP:DMG: Cluster = 0x28, + [1655978403.943337][4421:4426] CHIP:DMG: Event = 0x0, + [1655978403.943370][4421:4426] CHIP:DMG: }, + [1655978403.943413][4421:4426] CHIP:DMG: + [1655978403.943452][4421:4426] CHIP:DMG: EventNumber = 0x0, + [1655978403.943487][4421:4426] CHIP:DMG: PriorityLevel = 0x2, + [1655978403.943530][4421:4426] CHIP:DMG: SystemTimestamp = 0x4ab7ca, + [1655978403.943571][4421:4426] CHIP:DMG: EventData = + [1655978403.943607][4421:4426] CHIP:DMG: { + [1655978403.943674][4421:4426] CHIP:DMG: 0x0 = 1, + [1655978403.943717][4421:4426] CHIP:DMG: }, + [1655978403.943747][4421:4426] CHIP:DMG: }, + [1655978403.943780][4421:4426] CHIP:DMG: + [1655978403.943815][4421:4426] CHIP:DMG: }, + [1655978403.943847][4421:4426] CHIP:DMG: + [1655978403.943879][4421:4426] CHIP:DMG: ], + [1655978403.943912][4421:4426] CHIP:DMG: + [1655978403.943944][4421:4426] CHIP:DMG: InteractionModelRevision = 1 + [1655978403.943968][4421:4426] CHIP:DMG: } + [1655978403.944242][4421:4426] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0028 Event 0x0000_0000 + [1655978403.944296][4421:4426] CHIP:TOO: Event number: 0 + [1655978403.944343][4421:4426] CHIP:TOO: Priority: Critical + [1655978403.944389][4421:4426] CHIP:TOO: Timestamp: 4896714 + [1655978403.944531][4421:4426] CHIP:TOO: StartUp: { + [1655978403.944598][4421:4426] CHIP:TOO: SoftwareVersion: 1 + [1655978403.944664][4421:4426] CHIP:TOO: } + [1655978403.944762][4421:4426] CHIP:DMG: MoveToState ReadClient[0xffff94006630]: Moving to [AwaitingSu] disabled: true - label: @@ -356,126 +396,198 @@ tests: is set to True for a particular event path in the EventPathIB in the SubscribeRequestMessage." verification: | - https://github.com/CHIP-Specifications/chip-test-plans/issues/1451 + Use interactive mode to verify this + basic subscribe-event start-up 30 100 1 0 --is-urgent true + + On DUT + [1655979158.361200][1637:1637] CHIP:IM: Received Subscribe request + [1655979158.361388][1637:1637] CHIP:DMG: SubscribeRequestMessage = + [1655979158.361444][1637:1637] CHIP:DMG: { + [1655979158.361512][1637:1637] CHIP:DMG: KeepSubscriptions = false, + [1655979158.361568][1637:1637] CHIP:DMG: MinIntervalFloorSeconds = 0x1e, + [1655979158.361623][1637:1637] CHIP:DMG: MaxIntervalCeilingSeconds = 0x64, + [1655979158.361673][1637:1637] CHIP:DMG: EventPathIBs = + [1655979158.361727][1637:1637] CHIP:DMG: [ + [1655979158.361796][1637:1637] CHIP:DMG: EventPath = + [1655979158.361852][1637:1637] CHIP:DMG: { + [1655979158.361928][1637:1637] CHIP:DMG: Endpoint = 0x0, + [1655979158.362016][1637:1637] CHIP:DMG: Cluster = 0x28, + [1655979158.362082][1637:1637] CHIP:DMG: Event = 0x0, + [1655979158.362161][1637:1637] CHIP:DMG: isUrgent = true, + [1655979158.362220][1637:1637] CHIP:DMG: }, + [1655979158.362299][1637:1637] CHIP:DMG: + [1655979158.362350][1637:1637] CHIP:DMG: ], + [1655979158.362425][1637:1637] CHIP:DMG: + [1655979158.362477][1637:1637] CHIP:DMG: isFabricFiltered = true, + [1655979158.362546][1637:1637] CHIP:DMG: InteractionModelRevision = 1 + [1655979158.362638][1637:1637] CHIP:DMG: }, + [1655979158.362788][1637:1637] CHIP:DMG: Final negotiated min/max parameters: Min = 30s, Max = 100s + + + On TH + [1655979158.364976][4496:4501] CHIP:DMG: ReportDataMessage = + [1655979158.365035][4496:4501] CHIP:DMG: { + [1655979158.365087][4496:4501] CHIP:DMG: SubscriptionId = 0x10275693, + [1655979158.365139][4496:4501] CHIP:DMG: EventReportIBs = + [1655979158.365207][4496:4501] CHIP:DMG: [ + [1655979158.365259][4496:4501] CHIP:DMG: EventReportIB = + [1655979158.365331][4496:4501] CHIP:DMG: { + [1655979158.365386][4496:4501] CHIP:DMG: EventDataIB = + [1655979158.365452][4496:4501] CHIP:DMG: { + [1655979158.365514][4496:4501] CHIP:DMG: EventPath = + [1655979158.365584][4496:4501] CHIP:DMG: { + [1655979158.365661][4496:4501] CHIP:DMG: Endpoint = 0x0, + [1655979158.365737][4496:4501] CHIP:DMG: Cluster = 0x28, + [1655979158.365803][4496:4501] CHIP:DMG: Event = 0x0, + [1655979158.365873][4496:4501] CHIP:DMG: }, + [1655979158.365939][4496:4501] CHIP:DMG: + [1655979158.366005][4496:4501] CHIP:DMG: EventNumber = 0x0, + [1655979158.366082][4496:4501] CHIP:DMG: PriorityLevel = 0x2, + [1655979158.366152][4496:4501] CHIP:DMG: SystemTimestamp = 0x4ab7ca, + [1655979158.366221][4496:4501] CHIP:DMG: EventData = + [1655979158.366314][4496:4501] CHIP:DMG: { + [1655979158.366390][4496:4501] CHIP:DMG: 0x0 = 1, + [1655979158.366464][4496:4501] CHIP:DMG: }, + [1655979158.366528][4496:4501] CHIP:DMG: }, + [1655979158.366600][4496:4501] CHIP:DMG: + [1655979158.366654][4496:4501] CHIP:DMG: }, + [1655979158.366721][4496:4501] CHIP:DMG: + [1655979158.366772][4496:4501] CHIP:DMG: ], + [1655979158.366839][4496:4501] CHIP:DMG: + [1655979158.366891][4496:4501] CHIP:DMG: InteractionModelRevision = 1 + [1655979158.367002][4496:4501] CHIP:DMG: } + [1655979158.367266][4496:4501] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0028 Event 0x0000_0000 + [1655979158.367320][4496:4501] CHIP:TOO: Event number: 0 + [1655979158.367368][4496:4501] CHIP:TOO: Priority: Critical + [1655979158.367417][4496:4501] CHIP:TOO: Timestamp: 4896714 + [1655979158.367545][4496:4501] CHIP:TOO: StartUp: { + [1655979158.367612][4496:4501] CHIP:TOO: SoftwareVersion: 1 + [1655979158.367662][4496:4501] CHIP:TOO: } + [1655979158.367759][4496:4501] CHIP:DMG: MoveToState ReadClient[0xffff70007140]: Moving to [AwaitingSu] disabled: true - label: "Activate Event subscription from TH to DUT with no change in event triggering attribute values before maximum interval." verification: | - In case of chip tool, here is an example command to use - - sudo ./chip-tool any subscribe-event-by-id 0x0033 0x01 0 100 1 1 - on TH - [1651585153.535829][2998:3003] CHIP:DMG: ReportDataMessage = - [1651585153.535860][2998:3003] CHIP:DMG: { - [1651585153.535888][2998:3003] CHIP:DMG: SubscriptionId = 0x2e08688819c6e7af, - [1651585153.535918][2998:3003] CHIP:DMG: InteractionModelRevision = 1 - [1651585153.535945][2998:3003] CHIP:DMG: } - [1651585153.535990][2998:3003] CHIP:DMG: MoveToState ReadClient[0xffff98002e10]: Moving to [AwaitingSu] - [1651585153.536039][2998:3003] CHIP:EM: Piggybacking Ack for MessageCounter:12695913 on exchange: 56366i - [1651585153.536099][2998:3003] CHIP:IN: Prepared secure message 0xaaaad8552488 to 0x0000000000000001 (1) of type 0x1 and protocolId (0, 1) on exchange 56366i with MessageCounter:12866229. - [1651585153.536139][2998:3003] CHIP:IN: Sending encrypted msg 0xaaaad8552488 with MessageCounter:12866229 to 0x0000000000000001 (1) at monotonic time: 00000000005716CD msec - [1651585153.537541][2998:3003] CHIP:EM: Received message of type 0x4 with protocolId (0, 1) and MessageCounter:12695914 on exchange 56366i - [1651585153.537579][2998:3003] CHIP:EM: Found matching exchange: 56366i, Delegate: 0xffff98002e10 - [1651585153.537614][2998:3003] CHIP:EM: Rxd Ack; Removing MessageCounter:12866229 from Retrans Table on exchange 56366i - [1651585153.537641][2998:3003] CHIP:EM: Removed CHIP MessageCounter:12866229 from RetransTable on exchange 56366i - [1651585153.537688][2998:3003] CHIP:DMG: SubscribeResponseMessage = - [1651585153.537718][2998:3003] CHIP:DMG: { - [1651585153.537749][2998:3003] CHIP:DMG: SubscriptionId = 0x2e08688819c6e7af, - [1651585153.537805][2998:3003] CHIP:DMG: MinIntervalFloorSeconds = 0x0, - [1651585153.537861][2998:3003] CHIP:DMG: MaxIntervalCeilingSeconds = 0x64, - [1651585153.537916][2998:3003] CHIP:DMG: InteractionModelRevision = 1 - [1651585153.537967][2998:3003] CHIP:DMG: } - - - DUT side - [1651585153.529075][2352:2352] CHIP:DMG: SubscribeRequestMessage = - [1651585153.529112][2352:2352] CHIP:DMG: { - [1651585153.529158][2352:2352] CHIP:DMG: KeepSubscriptions = false, - [1651585153.529193][2352:2352] CHIP:DMG: MinIntervalFloorSeconds = 0x0, - [1651585153.529228][2352:2352] CHIP:DMG: MaxIntervalCeilingSeconds = 0x64, - [1651585153.529275][2352:2352] CHIP:DMG: EventPathIBs = - [1651585153.529311][2352:2352] CHIP:DMG: [ - [1651585153.529355][2352:2352] CHIP:DMG: EventPath = - [1651585153.529395][2352:2352] CHIP:DMG: { - [1651585153.529502][2352:2352] CHIP:DMG: Endpoint = 0x1, - [1651585153.529560][2352:2352] CHIP:DMG: Cluster = 0x33, - [1651585153.529603][2352:2352] CHIP:DMG: Event = 0x1, - [1651585153.529652][2352:2352] CHIP:DMG: }, - [1651585153.529694][2352:2352] CHIP:DMG: - [1651585153.529739][2352:2352] CHIP:DMG: ], - [1651585153.529778][2352:2352] CHIP:DMG: - [1651585153.529825][2352:2352] CHIP:DMG: isFabricFiltered = true, - [1651585153.529861][2352:2352] CHIP:DMG: InteractionModelRevision = 1 - [1651585153.529905][2352:2352] CHIP:DMG: }, - [1651585153.529989][2352:2352] CHIP:DMG: Final negotiated min/max parameters: Min = 0s, Max = 100s - [1651585153.530085][2352:2352] CHIP:DMG: IM RH moving to [GeneratingReports] - [1651585153.530195][2352:2352] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 - [1651585153.530365][2352:2352] CHIP:DMG: Fetched 0 events - [1651585153.530403][2352:2352] CHIP:DMG: Sending report (payload has 15 bytes)... - [1651585153.530435][2352:2352] CHIP:DMG: IM RH moving to [AwaitingReportResponse] - [1651585153.530472][2352:2352] CHIP:EM: Piggybacking Ack for MessageCounter:12866228 on exchange: 56366r - [1651585153.530547][2352:2352] CHIP:IN: Prepared secure message 0xaaaabeacb650 to 0x000000000001B669 (1) of type 0x5 and protocolId (0, 1) on exchange 56366r with MessageCounter:12695913. - [1651585153.530596][2352:2352] CHIP:IN: Sending encrypted msg 0xaaaabeacb650 with MessageCounter:12695913 to 0x000000000001B669 (1) at monotonic time: 00000000005729DD msec - [1651585153.530947][2352:2352] CHIP:DMG: ReportsInFlight = 3 with readHandler 0, RE has no more messages - [1651585153.530988][2352:2352] CHIP:DMG: All ReadHandler-s are clean, clear GlobalDirtySet - [1651585153.532011][2352:2352] CHIP:EM: Received message of type 0x1 with protocolId (0, 1) and MessageCounter:12866229 on exchange 56366r - [1651585153.532053][2352:2352] CHIP:EM: Found matching exchange: 56366r, Delegate: 0xaaaabfc22d00 - [1651585153.532098][2352:2352] CHIP:EM: Rxd Ack; Removing MessageCounter:12695913 from Retrans Table on exchange 56366r - [1651585153.532129][2352:2352] CHIP:EM: Removed CHIP MessageCounter:12695913 from RetransTable on exchange 56366r - [1651585153.532185][2352:2352] CHIP:DMG: StatusResponseMessage = - [1651585153.532236][2352:2352] CHIP:DMG: { - [1651585153.532268][2352:2352] CHIP:DMG: Status = 0x00 (SUCCESS), - [1651585153.532305][2352:2352] CHIP:DMG: InteractionModelRevision = 1 - [1651585153.532351][2352:2352] CHIP:DMG: } + ./chip-tool basic subscribe-event start-up 20 100 1 0 + [1656586853.121700][3433:3438] CHIP:EM: Removed CHIP MessageCounter:63910370 from RetransTable on exchange 37869i + [1656586853.121777][3433:3438] CHIP:DMG: ReportDataMessage = + [1656586853.121815][3433:3438] CHIP:DMG: { + [1656586853.121850][3433:3438] CHIP:DMG: SubscriptionId = 0x9657c553, + [1656586853.121886][3433:3438] CHIP:DMG: EventReportIBs = + [1656586853.121933][3433:3438] CHIP:DMG: [ + [1656586853.121969][3433:3438] CHIP:DMG: EventReportIB = + [1656586853.122019][3433:3438] CHIP:DMG: { + [1656586853.122057][3433:3438] CHIP:DMG: EventDataIB = + [1656586853.122105][3433:3438] CHIP:DMG: { + [1656586853.122150][3433:3438] CHIP:DMG: EventPath = + [1656586853.122204][3433:3438] CHIP:DMG: { + [1656586853.122254][3433:3438] CHIP:DMG: Endpoint = 0x0, + [1656586853.122310][3433:3438] CHIP:DMG: Cluster = 0x28, + [1656586853.122355][3433:3438] CHIP:DMG: Event = 0x0, + [1656586853.122434][3433:3438] CHIP:DMG: }, + [1656586853.122485][3433:3438] CHIP:DMG: + [1656586853.122531][3433:3438] CHIP:DMG: EventNumber = 0x0, + [1656586853.122581][3433:3438] CHIP:DMG: PriorityLevel = 0x2, + [1656586853.122629][3433:3438] CHIP:DMG: SystemTimestamp = 0x8b5ff, + [1656586853.122675][3433:3438] CHIP:DMG: EventData = + [1656586853.122721][3433:3438] CHIP:DMG: { + [1656586853.122797][3433:3438] CHIP:DMG: 0x0 = 1, + [1656586853.122852][3433:3438] CHIP:DMG: }, + [1656586853.122893][3433:3438] CHIP:DMG: }, + [1656586853.122944][3433:3438] CHIP:DMG: + [1656586853.122984][3433:3438] CHIP:DMG: }, + [1656586853.123030][3433:3438] CHIP:DMG: + [1656586853.123065][3433:3438] CHIP:DMG: ], + [1656586853.123113][3433:3438] CHIP:DMG: + [1656586853.123149][3433:3438] CHIP:DMG: InteractionModelRevision = 1 + [1656586853.123184][3433:3438] CHIP:DMG: } + [1656586853.123380][3433:3438] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0028 Event 0x0000_0000 + [1656586853.123417][3433:3438] CHIP:TOO: Event number: 0 + [1656586853.123450][3433:3438] CHIP:TOO: Priority: Critical + [1656586853.123483][3433:3438] CHIP:TOO: Timestamp: 570879 + [1656586853.123571][3433:3438] CHIP:TOO: StartUp: { + [1656586853.123634][3433:3438] CHIP:TOO: SoftwareVersion: 1 + [1656586853.123670][3433:3438] CHIP:TOO: } + [1656586853.123739][3433:3438] CHIP:DMG: MoveToState ReadClient[0xffff8c004000]: Moving to [AwaitingSu] disabled: true - label: "With an active Event subscription from TH to DUT, TH sends another Subscribe Request Message to DUT with KeepSubscriptions as False." verification: | - + ./chip-tool basic subscribe-event-by-id 0x000 100 1000 1 0 + + [1656586584.993544][3416:3421] CHIP:DMG: } + [1656586584.993743][3416:3421] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0028 Event 0x0000_0000 + [1656586584.993781][3416:3421] CHIP:TOO: Event number: 0 + [1656586584.993815][3416:3421] CHIP:TOO: Priority: Critical + [1656586584.993851][3416:3421] CHIP:TOO: Timestamp: 570879 + [1656586584.993938][3416:3421] CHIP:TOO: StartUp: { + [1656586584.994000][3416:3421] CHIP:TOO: SoftwareVersion: 1 + [1656586584.994036][3416:3421] CHIP:TOO: } + [1656586584.994105][3416:3421] CHIP:DMG: MoveToState ReadClient[0xffff84005da0]: Moving to [AwaitingSu] + [1656586584.994171][3416:3421] CHIP:EM: Piggybacking Ack for MessageCounter:201398118 on exchange: 37980i + [1656586584.994250][3416:3421] CHIP:IN: Prepared secure message 0xaaaae80fa2a8 to 0x0000000000000001 (1) of type 0x1 and protocolId (0, 1) on exchange 37980i with MessageCounter:65866683. + [1656586584.994302][3416:3421] CHIP:IN: Sending encrypted msg 0xaaaae80fa2a8 with MessageCounter:65866683 to 0x0000000000000001 (1) at monotonic time: 0000000001409EBB msec + [1656586584.995316][3416:3421] CHIP:EM: Received message of type 0x4 with protocolId (0, 1) and MessageCounter:201398119 on exchange 37980i + [1656586584.995363][3416:3421] CHIP:EM: Found matching exchange: 37980i, Delegate: 0xffff84005da0 + [1656586584.995409][3416:3421] CHIP:EM: Rxd Ack; Removing MessageCounter:65866683 from Retrans Table on exchange 37980i + [1656586584.995444][3416:3421] CHIP:EM: Removed CHIP MessageCounter:65866683 from RetransTable on exchange 37980i + [1656586584.995501][3416:3421] CHIP:DMG: SubscribeResponseMessage = + [1656586584.995541][3416:3421] CHIP:DMG: { + [1656586584.995576][3416:3421] CHIP:DMG: SubscriptionId = 0x2f62924f, + [1656586584.995616][3416:3421] CHIP:DMG: MaxInterval = 0x3e8, + [1656586584.995653][3416:3421] CHIP:DMG: InteractionModelRevision = 1 + [1656586584.995687][3416:3421] CHIP:DMG: } + [1656586584.995724][3416:3421] CHIP:DMG: Subscription established with SubscriptionID = 0x2f62924f MinInterval = 100s MaxInterval = 1000s Peer = 01:0000000000000001 + + + ./chip-tool basic subscribe-event-by-id 0x000 100 1000 1 0 --keepSubscriptions 0 + [1656586592.481229][3423:3428] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0028 Event 0x0000_0000 + [1656586592.481265][3423:3428] CHIP:TOO: Event number: 0 + [1656586592.481299][3423:3428] CHIP:TOO: Priority: Critical + [1656586592.481331][3423:3428] CHIP:TOO: Timestamp: 570879 + [1656586592.481420][3423:3428] CHIP:TOO: StartUp: { + [1656586592.481483][3423:3428] CHIP:TOO: SoftwareVersion: 1 + [1656586592.481519][3423:3428] CHIP:TOO: } + [1656586592.481588][3423:3428] CHIP:DMG: MoveToState ReadClient[0xffff98002f00]: Moving to [AwaitingSu] + [1656586592.481653][3423:3428] CHIP:EM: Piggybacking Ack for MessageCounter:193147231 on exchange: 54998i + [1656586592.481731][3423:3428] CHIP:IN: Prepared secure message 0xaaaaf7795938 to 0x0000000000000001 (1) of type 0x1 and protocolId (0, 1) on exchange 54998i with MessageCounter:224157172. + [1656586592.481785][3423:3428] CHIP:IN: Sending encrypted msg 0xaaaaf7795938 with MessageCounter:224157172 to 0x0000000000000001 (1) at monotonic time: 000000000140BBFB msec + [1656586592.483234][3423:3428] CHIP:EM: Received message of type 0x4 with protocolId (0, 1) and MessageCounter:193147232 on exchange 54998i + [1656586592.483282][3423:3428] CHIP:EM: Found matching exchange: 54998i, Delegate: 0xffff98002f00 + [1656586592.483327][3423:3428] CHIP:EM: Rxd Ack; Removing MessageCounter:224157172 from Retrans Table on exchange 54998i + [1656586592.483361][3423:3428] CHIP:EM: Removed CHIP MessageCounter:224157172 from RetransTable on exchange 54998i + [1656586592.483418][3423:3428] CHIP:DMG: SubscribeResponseMessage = + [1656586592.483456][3423:3428] CHIP:DMG: { + [1656586592.483490][3423:3428] CHIP:DMG: SubscriptionId = 0xc9446e32, + [1656586592.483532][3423:3428] CHIP:DMG: MaxInterval = 0x3e8, + [1656586592.483569][3423:3428] CHIP:DMG: InteractionModelRevision = 1 + [1656586592.483602][3423:3428] CHIP:DMG: } + [1656586592.483639][3423:3428] CHIP:DMG: Subscription established with SubscriptionID = 0xc9446e32 MinInterval = 100s MaxInterval = 1000s Peer = 01:0000000000000001 disabled: true - label: - "TH sends Subscribe Request Message to DUT. DUT sends Report Data + "TH sends Subscribe Request Message to DUT + DUT sends Report Data message to DUT. TH sends Status Response Message with a success Status code." verification: | - Use interactive mode to verify this - ./chip-tool start interactive mood - - basic subscribe-event-by-id 0x000 100 1000 1 0 - - [1653478391.003351][21558:21563] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0028 Event 0x0000_0000 - [1653478391.003375][21558:21563] CHIP:TOO: Event number: 0 - [1653478391.003395][21558:21563] CHIP:TOO: Priority: Critical - [1653478391.003415][21558:21563] CHIP:TOO: Timestamp: 2525140 - [1653478391.003447][21558:21563] CHIP:TOO: StartUp: { - [1653478391.003475][21558:21563] CHIP:TOO: SoftwareVersion: 1 - [1653478391.003498][21558:21563] CHIP:TOO: } - [1653478391.003565][21558:21563] CHIP:DMG: MoveToState ReadClient[0x7f35bc003d90]: Moving to [AwaitingSu] - [1653478391.003619][21558:21563] CHIP:EM: Piggybacking Ack for MessageCounter:15912689 on exchange: 43259i - [1653478391.003706][21558:21563] CHIP:IN: Prepared secure message 0x5604e6136648 to 0x0000000000000001 (1) of type 0x1 and protocolId (0, 1) on exchange 43259i with MessageCounter:16478666. - [1653478391.003766][21558:21563] CHIP:IN: Sending encrypted msg 0x5604e6136648 with MessageCounter:16478666 to 0x0000000000000001 (1) at monotonic time: 00000000016D0FD0 msec - [1653478391.012173][21558:21563] CHIP:EM: Received message of type 0x4 with protocolId (0, 1) and MessageCounter:15912690 on exchange 43259i - [1653478391.012194][21558:21563] CHIP:EM: Found matching exchange: 43259i, Delegate: 0x7f35bc003d90 - [1653478391.012210][21558:21563] CHIP:EM: Rxd Ack; Removing MessageCounter:16478666 from Retrans Table on exchange 43259i - [1653478391.012219][21558:21563] CHIP:EM: Removed CHIP MessageCounter:16478666 from RetransTable on exchange 43259i - [1653478391.012241][21558:21563] CHIP:DMG: SubscribeResponseMessage = - [1653478391.012249][21558:21563] CHIP:DMG: { - [1653478391.012257][21558:21563] CHIP:DMG: SubscriptionId = 0x6b28cc4d, - [1653478391.012264][21558:21563] CHIP:DMG: MinIntervalFloorSeconds = 0x64, - [1653478391.012272][21558:21563] CHIP:DMG: MaxIntervalCeilingSeconds = 0x3e8, - [1653478391.012280][21558:21563] CHIP:DMG: InteractionModelRevision = 1 - [1653478391.012286][21558:21563] CHIP:DMG: } - [1653478391.012297][21558:21563] CHIP:DMG: Subscription established with SubscriptionID = 0x6b28cc4d MinInterval = 100s MaxInterval = 1000s Peer = 01:0000000000000001 + sudo ./chip-tool basic subscribe-event-by-id 0x000 20 400 1 0 + + [1655979596.078821][4557:4562] CHIP:DMG: SubscribeResponseMessage = + [1655979596.078861][4557:4562] CHIP:DMG: { + [1655979596.078897][4557:4562] CHIP:DMG: SubscriptionId = 0x6a61af41, + [1655979596.078955][4557:4562] CHIP:DMG: MaxInterval = 0x190, + [1655979596.078995][4557:4562] CHIP:DMG: InteractionModelRevision = 1 + [1655979596.079030][4557:4562] CHIP:DMG: } + [1655979596.079069][4557:4562] CHIP:DMG: Subscription established with SubscriptionID = 0x6a61af41 MinInterval = 20s MaxInterval = 400s Peer = 01:0000000000000001 disabled: true - label: "TH sends Subscribe Request Message to DUT. DUT sends Report Data - message to DUT . TH sends Status Response Message with an error + message to DUT + TH sends Status Response Message with an error Status." verification: | This is not testable in normal scenario, and needs to be tested as part of Unit test.This test step to be removed from the manual execution. @@ -485,7 +597,7 @@ tests: "TH sends Subscribe Request Message to DUT with EventRequests set to path which indicates a cluster event that is not supported." verification: | - cannot be executed with V1.0 SDK. + Out of Scope for V1.0 disabled: true - label: @@ -553,33 +665,201 @@ tests: information field matching the node indicated in the path and EventMin field." verification: | - Use interactive mode to verify this - ./chip-tool start interactive mood - basic subscribe-event-by-id 0 100 1000 3 0 - - [1653656063.055701][14377:14382] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0028 Event 0x0000_0000 - [1653656063.055723][14377:14382] CHIP:TOO: Event number: 65536 - [1653656063.055741][14377:14382] CHIP:TOO: Priority: Critical - [1653656063.055758][14377:14382] CHIP:TOO: Timestamp: 127594 - [1653656063.055811][14377:14382] CHIP:TOO: StartUp: { - [1653656063.055838][14377:14382] CHIP:TOO: SoftwareVersion: 1 - [1653656063.055859][14377:14382] CHIP:TOO: } - [1653656063.055918][14377:14382] CHIP:DMG: MoveToState ReadClient[0x7f4f68002260]: Moving to [AwaitingSu] - [1653656063.055970][14377:14382] CHIP:EM: Piggybacking Ack for MessageCounter:5873379 on exchange: 39762i - [1653656063.056029][14377:14382] CHIP:IN: Prepared secure message 0x55ccea0fc878 to 0x0000000000000003 (1) of type 0x1 and protocolId (0, 1) on exchange 39762i with MessageCounter:3741292. - [1653656063.056240][14377:14382] CHIP:IN: Sending encrypted msg 0x55ccea0fc878 with MessageCounter:3741292 to 0x0000000000000003 (1) at monotonic time: 0000000001BE791F msec - [1653656063.069994][14377:14382] CHIP:EM: Received message of type 0x4 with protocolId (0, 1) and MessageCounter:5873380 on exchange 39762i - [1653656063.070016][14377:14382] CHIP:EM: Found matching exchange: 39762i, Delegate: 0x7f4f68002260 - [1653656063.070032][14377:14382] CHIP:EM: Rxd Ack; Removing MessageCounter:3741292 from Retrans Table on exchange 39762i - [1653656063.070039][14377:14382] CHIP:EM: Removed CHIP MessageCounter:3741292 from RetransTable on exchange 39762i - [1653656063.070063][14377:14382] CHIP:DMG: SubscribeResponseMessage = - [1653656063.070074][14377:14382] CHIP:DMG: { - [1653656063.070083][14377:14382] CHIP:DMG: SubscriptionId = 0x49bb06f8, - [1653656063.070091][14377:14382] CHIP:DMG: MinIntervalFloorSeconds = 0x64, - [1653656063.070100][14377:14382] CHIP:DMG: MaxIntervalCeilingSeconds = 0x3e8, - [1653656063.070108][14377:14382] CHIP:DMG: InteractionModelRevision = 1 - [1653656063.070115][14377:14382] CHIP:DMG: } - [1653656063.070127][14377:14382] CHIP:DMG: Subscription established with SubscriptionID = 0x49bb06f8 MinInterval = 100s MaxInterval = 1000s Peer = 01:0000000000000003 + sudo ./chip-tool accesscontrol subscribe-event access-control-entry-changed 5 10 1 0 + [1655979825.174136][4566:4571] CHIP:DMG: ReportDataMessage = + [1655979825.174177][4566:4571] CHIP:DMG: { + [1655979825.174213][4566:4571] CHIP:DMG: SubscriptionId = 0xd263227e, + [1655979825.174249][4566:4571] CHIP:DMG: EventReportIBs = + [1655979825.174303][4566:4571] CHIP:DMG: [ + [1655979825.174339][4566:4571] CHIP:DMG: EventReportIB = + [1655979825.174396][4566:4571] CHIP:DMG: { + [1655979825.174434][4566:4571] CHIP:DMG: EventDataIB = + [1655979825.174481][4566:4571] CHIP:DMG: { + [1655979825.174524][4566:4571] CHIP:DMG: EventPath = + [1655979825.174578][4566:4571] CHIP:DMG: { + [1655979825.174628][4566:4571] CHIP:DMG: Endpoint = 0x0, + [1655979825.174681][4566:4571] CHIP:DMG: Cluster = 0x1f, + [1655979825.174732][4566:4571] CHIP:DMG: Event = 0x0, + [1655979825.174784][4566:4571] CHIP:DMG: }, + [1655979825.174835][4566:4571] CHIP:DMG: + [1655979825.174883][4566:4571] CHIP:DMG: EventNumber = 0x1, + [1655979825.174944][4566:4571] CHIP:DMG: PriorityLevel = 0x1, + [1655979825.174995][4566:4571] CHIP:DMG: SystemTimestamp = 0x4bdb01, + [1655979825.175041][4566:4571] CHIP:DMG: EventData = + [1655979825.175089][4566:4571] CHIP:DMG: { + [1655979825.175162][4566:4571] CHIP:DMG: 0x1 = NULL + [1655979825.175216][4566:4571] CHIP:DMG: 0x2 = 0, + [1655979825.175267][4566:4571] CHIP:DMG: 0x3 = 1, + [1655979825.175312][4566:4571] CHIP:DMG: 0x4 = + [1655979825.175360][4566:4571] CHIP:DMG: { + [1655979825.175470][4566:4571] CHIP:DMG: 0x1 = 5, + [1655979825.175529][4566:4571] CHIP:DMG: 0x2 = 2, + [1655979825.175584][4566:4571] CHIP:DMG: 0x3 = [ + [1655979825.175653][4566:4571] CHIP:DMG: 112233, + [1655979825.175754][4566:4571] CHIP:DMG: ], + [1655979825.175809][4566:4571] CHIP:DMG: 0x4 = NULL + [1655979825.175865][4566:4571] CHIP:DMG: 0xfe = 1, + [1655979825.175918][4566:4571] CHIP:DMG: }, + [1655979825.175968][4566:4571] CHIP:DMG: 0xfe = 1, + [1655979825.176018][4566:4571] CHIP:DMG: }, + [1655979825.176059][4566:4571] CHIP:DMG: }, + [1655979825.176115][4566:4571] CHIP:DMG: + [1655979825.176155][4566:4571] CHIP:DMG: }, + [1655979825.176208][4566:4571] CHIP:DMG: + [1655979825.176243][4566:4571] CHIP:DMG: ], + [1655979825.176326][4566:4571] CHIP:DMG: + [1655979825.176364][4566:4571] CHIP:DMG: InteractionModelRevision = 1 + [1655979825.176399][4566:4571] CHIP:DMG: } + [1655979825.176631][4566:4571] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Event 0x0000_0000 + [1655979825.176668][4566:4571] CHIP:TOO: Event number: 1 + [1655979825.176701][4566:4571] CHIP:TOO: Priority: Info + [1655979825.176733][4566:4571] CHIP:TOO: Timestamp: 4971265 + [1655979825.176857][4566:4571] CHIP:TOO: AccessControlEntryChanged: { + [1655979825.176896][4566:4571] CHIP:TOO: AdminNodeID: null + [1655979825.176945][4566:4571] CHIP:TOO: AdminPasscodeID: 0 + [1655979825.176982][4566:4571] CHIP:TOO: ChangeType: 1 + [1655979825.177016][4566:4571] CHIP:TOO: LatestValue: { + [1655979825.177049][4566:4571] CHIP:TOO: Privilege: 5 + [1655979825.177083][4566:4571] CHIP:TOO: AuthMode: 2 + [1655979825.177125][4566:4571] CHIP:TOO: Subjects: 1 entries + [1655979825.177168][4566:4571] CHIP:TOO: [1]: 112233 + [1655979825.177206][4566:4571] CHIP:TOO: Targets: null + [1655979825.177242][4566:4571] CHIP:TOO: FabricIndex: 1 + [1655979825.177276][4566:4571] CHIP:TOO: } + [1655979825.177310][4566:4571] CHIP:TOO: AdminFabricIndex: 1 + [1655979825.177344][4566:4571] CHIP:TOO: } + [1655979825.177433][4566:4571] CHIP:DMG: MoveToState ReadClient[0xffff84006d40]: Moving to [AwaitingSu] + + + + sudo ./chip-tool accesscontrol subscribe-event access-control-entry-changed 5 10 1 0 --event-min 0 + [1655979915.863156][4607:4612] CHIP:DMG: ReportDataMessage = + [1655979915.863196][4607:4612] CHIP:DMG: { + [1655979915.863232][4607:4612] CHIP:DMG: SubscriptionId = 0xeb39dedd, + [1655979915.863268][4607:4612] CHIP:DMG: EventReportIBs = + [1655979915.863321][4607:4612] CHIP:DMG: [ + [1655979915.863357][4607:4612] CHIP:DMG: EventReportIB = + [1655979915.863412][4607:4612] CHIP:DMG: { + [1655979915.863450][4607:4612] CHIP:DMG: EventDataIB = + [1655979915.863496][4607:4612] CHIP:DMG: { + [1655979915.863538][4607:4612] CHIP:DMG: EventPath = + [1655979915.863586][4607:4612] CHIP:DMG: { + [1655979915.863636][4607:4612] CHIP:DMG: Endpoint = 0x0, + [1655979915.863692][4607:4612] CHIP:DMG: Cluster = 0x1f, + [1655979915.863743][4607:4612] CHIP:DMG: Event = 0x0, + [1655979915.863790][4607:4612] CHIP:DMG: }, + [1655979915.863845][4607:4612] CHIP:DMG: + [1655979915.863892][4607:4612] CHIP:DMG: EventNumber = 0x1, + [1655979915.863942][4607:4612] CHIP:DMG: PriorityLevel = 0x1, + [1655979915.863990][4607:4612] CHIP:DMG: SystemTimestamp = 0x4bdb01, + [1655979915.864036][4607:4612] CHIP:DMG: EventData = + [1655979915.864083][4607:4612] CHIP:DMG: { + [1655979915.864149][4607:4612] CHIP:DMG: 0x1 = NULL + [1655979915.864201][4607:4612] CHIP:DMG: 0x2 = 0, + [1655979915.864252][4607:4612] CHIP:DMG: 0x3 = 1, + [1655979915.864300][4607:4612] CHIP:DMG: 0x4 = + [1655979915.864348][4607:4612] CHIP:DMG: { + [1655979915.864399][4607:4612] CHIP:DMG: 0x1 = 5, + [1655979915.864454][4607:4612] CHIP:DMG: 0x2 = 2, + [1655979915.864505][4607:4612] CHIP:DMG: 0x3 = [ + [1655979915.864571][4607:4612] CHIP:DMG: 112233, + [1655979915.864631][4607:4612] CHIP:DMG: ], + [1655979915.864685][4607:4612] CHIP:DMG: 0x4 = NULL + [1655979915.864738][4607:4612] CHIP:DMG: 0xfe = 1, + [1655979915.864791][4607:4612] CHIP:DMG: }, + [1655979915.864841][4607:4612] CHIP:DMG: 0xfe = 1, + [1655979915.864889][4607:4612] CHIP:DMG: }, + [1655979915.864934][4607:4612] CHIP:DMG: }, + [1655979915.864989][4607:4612] CHIP:DMG: + [1655979915.865025][4607:4612] CHIP:DMG: }, + [1655979915.865076][4607:4612] CHIP:DMG: + [1655979915.865111][4607:4612] CHIP:DMG: ], + [1655979915.865163][4607:4612] CHIP:DMG: + [1655979915.865198][4607:4612] CHIP:DMG: InteractionModelRevision = 1 + [1655979915.865232][4607:4612] CHIP:DMG: } + [1655979915.865462][4607:4612] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Event 0x0000_0000 + [1655979915.865497][4607:4612] CHIP:TOO: Event number: 1 + [1655979915.865530][4607:4612] CHIP:TOO: Priority: Info + [1655979915.865562][4607:4612] CHIP:TOO: Timestamp: 4971265 + [1655979915.865683][4607:4612] CHIP:TOO: AccessControlEntryChanged: { + [1655979915.865720][4607:4612] CHIP:TOO: AdminNodeID: null + [1655979915.865767][4607:4612] CHIP:TOO: AdminPasscodeID: 0 + [1655979915.865802][4607:4612] CHIP:TOO: ChangeType: 1 + [1655979915.865835][4607:4612] CHIP:TOO: LatestValue: { + [1655979915.865867][4607:4612] CHIP:TOO: Privilege: 5 + [1655979915.865899][4607:4612] CHIP:TOO: AuthMode: 2 + [1655979915.865939][4607:4612] CHIP:TOO: Subjects: 1 entries + [1655979915.865981][4607:4612] CHIP:TOO: [1]: 112233 + [1655979915.866018][4607:4612] CHIP:TOO: Targets: null + [1655979915.866052][4607:4612] CHIP:TOO: FabricIndex: 1 + [1655979915.866084][4607:4612] CHIP:TOO: } + [1655979915.866116][4607:4612] CHIP:TOO: AdminFabricIndex: 1 + [1655979915.866148][4607:4612] CHIP:TOO: } + [1655979915.866233][4607:4612] CHIP:DMG: MoveToState ReadClient[0xffffa0005710]: Moving to [AwaitingSu] + + [1655979915.863156][4607:4612] CHIP:DMG: ReportDataMessage = + [1655979915.863196][4607:4612] CHIP:DMG: { + [1655979915.863232][4607:4612] CHIP:DMG: SubscriptionId = 0xeb39dedd, + [1655979915.863268][4607:4612] CHIP:DMG: EventReportIBs = + [1655979915.863321][4607:4612] CHIP:DMG: [ + [1655979915.863357][4607:4612] CHIP:DMG: EventReportIB = + [1655979915.863412][4607:4612] CHIP:DMG: { + [1655979915.863450][4607:4612] CHIP:DMG: EventDataIB = + [1655979915.863496][4607:4612] CHIP:DMG: { + [1655979915.863538][4607:4612] CHIP:DMG: EventPath = + [1655979915.863586][4607:4612] CHIP:DMG: { + [1655979915.863636][4607:4612] CHIP:DMG: Endpoint = 0x0, + [1655979915.863692][4607:4612] CHIP:DMG: Cluster = 0x1f, + [1655979915.863743][4607:4612] CHIP:DMG: Event = 0x0, + [1655979915.863790][4607:4612] CHIP:DMG: }, + [1655979915.863845][4607:4612] CHIP:DMG: + [1655979915.863892][4607:4612] CHIP:DMG: EventNumber = 0x1, + [1655979915.863942][4607:4612] CHIP:DMG: PriorityLevel = 0x1, + [1655979915.863990][4607:4612] CHIP:DMG: SystemTimestamp = 0x4bdb01, + [1655979915.864036][4607:4612] CHIP:DMG: EventData = + [1655979915.864083][4607:4612] CHIP:DMG: { + [1655979915.864149][4607:4612] CHIP:DMG: 0x1 = NULL + [1655979915.864201][4607:4612] CHIP:DMG: 0x2 = 0, + [1655979915.864252][4607:4612] CHIP:DMG: 0x3 = 1, + [1655979915.864300][4607:4612] CHIP:DMG: 0x4 = + [1655979915.864348][4607:4612] CHIP:DMG: { + [1655979915.864399][4607:4612] CHIP:DMG: 0x1 = 5, + [1655979915.864454][4607:4612] CHIP:DMG: 0x2 = 2, + [1655979915.864505][4607:4612] CHIP:DMG: 0x3 = [ + [1655979915.864571][4607:4612] CHIP:DMG: 112233, + [1655979915.864631][4607:4612] CHIP:DMG: ], + [1655979915.864685][4607:4612] CHIP:DMG: 0x4 = NULL + [1655979915.864738][4607:4612] CHIP:DMG: 0xfe = 1, + [1655979915.864791][4607:4612] CHIP:DMG: }, + [1655979915.864841][4607:4612] CHIP:DMG: 0xfe = 1, + [1655979915.864889][4607:4612] CHIP:DMG: }, + [1655979915.864934][4607:4612] CHIP:DMG: }, + [1655979915.864989][4607:4612] CHIP:DMG: + [1655979915.865025][4607:4612] CHIP:DMG: }, + [1655979915.865076][4607:4612] CHIP:DMG: + [1655979915.865111][4607:4612] CHIP:DMG: ], + [1655979915.865163][4607:4612] CHIP:DMG: + [1655979915.865198][4607:4612] CHIP:DMG: InteractionModelRevision = 1 + [1655979915.865232][4607:4612] CHIP:DMG: } + [1655979915.865462][4607:4612] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Event 0x0000_0000 + [1655979915.865497][4607:4612] CHIP:TOO: Event number: 1 + [1655979915.865530][4607:4612] CHIP:TOO: Priority: Info + [1655979915.865562][4607:4612] CHIP:TOO: Timestamp: 4971265 + [1655979915.865683][4607:4612] CHIP:TOO: AccessControlEntryChanged: { + [1655979915.865720][4607:4612] CHIP:TOO: AdminNodeID: null + [1655979915.865767][4607:4612] CHIP:TOO: AdminPasscodeID: 0 + [1655979915.865802][4607:4612] CHIP:TOO: ChangeType: 1 + [1655979915.865835][4607:4612] CHIP:TOO: LatestValue: { + [1655979915.865867][4607:4612] CHIP:TOO: Privilege: 5 + [1655979915.865899][4607:4612] CHIP:TOO: AuthMode: 2 + [1655979915.865939][4607:4612] CHIP:TOO: Subjects: 1 entries + [1655979915.865981][4607:4612] CHIP:TOO: [1]: 112233 + [1655979915.866018][4607:4612] CHIP:TOO: Targets: null + [1655979915.866052][4607:4612] CHIP:TOO: FabricIndex: 1 + [1655979915.866084][4607:4612] CHIP:TOO: } + [1655979915.866116][4607:4612] CHIP:TOO: AdminFabricIndex: 1 + [1655979915.866148][4607:4612] CHIP:TOO: } + [1655979915.866233][4607:4612] CHIP:DMG: MoveToState ReadClient[0xffffa0005710]: Moving to [AwaitingSu] disabled: true - label: @@ -587,60 +867,192 @@ tests: information field matching the node indicated in the path and the event number is less than the EventMin field." verification: | - Use interactive mode to verify this - ./chip-tool start interactive mood + sudo ./chip-tool basic subscribe-event-by-id 0x000 100 1000 1 0 --event-min 1 - basic subscribe-event-by-id 0x000 100 1000 1 0 --event-min 1 On TH - [1653479609.999143][22515:22520] CHIP:DMG: ReportDataMessage = - [1653479609.999186][22515:22520] CHIP:DMG: { - [1653479609.999216][22515:22520] CHIP:DMG: SubscriptionId = 0x8ee91d0c, - [1653479609.999243][22515:22520] CHIP:DMG: InteractionModelRevision = 1 - [1653479609.999269][22515:22520] CHIP:DMG: } - [1653479609.999321][22515:22520] CHIP:DMG: MoveToState ReadClient[0x7fecd8003370]: Moving to [AwaitingSu] - - On TH - [1653479609.997019][1507:1507] CHIP:IM: Received Subscribe request - [1653479609.997218][1507:1507] CHIP:DMG: SubscribeRequestMessage = - [1653479609.997284][1507:1507] CHIP:DMG: { - [1653479609.997338][1507:1507] CHIP:DMG: KeepSubscriptions = false, - [1653479609.997401][1507:1507] CHIP:DMG: MinIntervalFloorSeconds = 0x64, - [1653479609.997466][1507:1507] CHIP:DMG: MaxIntervalCeilingSeconds = 0x3e8, - [1653479609.997526][1507:1507] CHIP:DMG: EventPathIBs = - [1653479609.997590][1507:1507] CHIP:DMG: [ - [1653479609.997649][1507:1507] CHIP:DMG: EventPath = - [1653479609.997714][1507:1507] CHIP:DMG: { - [1653479609.997780][1507:1507] CHIP:DMG: Endpoint = 0x0, - [1653479609.997858][1507:1507] CHIP:DMG: Cluster = 0x28, - [1653479609.997933][1507:1507] CHIP:DMG: Event = 0x0, - [1653479609.998005][1507:1507] CHIP:DMG: }, - [1653479609.998073][1507:1507] CHIP:DMG: - [1653479609.998132][1507:1507] CHIP:DMG: ], - [1653479609.998200][1507:1507] CHIP:DMG: - [1653479609.998256][1507:1507] CHIP:DMG: EventFilterIBs = - [1653479609.998327][1507:1507] CHIP:DMG: [ - [1653479609.998386][1507:1507] CHIP:DMG: EventFilterIB = - [1653479609.998451][1507:1507] CHIP:DMG: { - [1653479609.998514][1507:1507] CHIP:DMG: EventMin = 0x1, - [1653479609.998577][1507:1507] CHIP:DMG: }, - [1653479609.998642][1507:1507] CHIP:DMG: - [1653479609.998699][1507:1507] CHIP:DMG: ], - [1653479609.998764][1507:1507] CHIP:DMG: - [1653479609.998823][1507:1507] CHIP:DMG: isFabricFiltered = true, - [1653479609.998883][1507:1507] CHIP:DMG: InteractionModelRevision = 1 - [1653479609.998939][1507:1507] CHIP:DMG: }, - [1653479609.999107][1507:1507] CHIP:DMG: Final negotiated min/max parameters: Min = 100s, Max = 1000s - [1653479609.999296][1507:1507] CHIP:DMG: IM RH moving to [GeneratingReports] - [1653479609.999467][1507:1507] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 - [1653479609.999772][1507:1507] CHIP:DMG: Fetched 0 events + [1655980488.281744][4665:4671] CHIP:EM: Removed CHIP MessageCounter:255017723 from RetransTable on exchange 3120i + [1655980488.281823][4665:4671] CHIP:DMG: ReportDataMessage = + [1655980488.281891][4665:4671] CHIP:DMG: { + [1655980488.281938][4665:4671] CHIP:DMG: SubscriptionId = 0x1b82bfe6, + [1655980488.282000][4665:4671] CHIP:DMG: InteractionModelRevision = 1 + [1655980488.282046][4665:4671] CHIP:DMG: } + [1655980488.282129][4665:4671] CHIP:DMG: MoveToState ReadClient[0xffff94006ea0]: Moving to [AwaitingSu] + [1655980488.282222][4665:4671] CHIP:EM: Piggybacking Ack for MessageCounter:7910071 on exchange: 3120i disabled: true - label: "With an active Event subscription from TH to DUT, change attribute values on DUT to create events multiple times." verification: | - + Provision DUT and TH. + + To generate the software fault event, execute the following + 1. Get the PID of the DUT & KIll it . + ps -aef|grep all-clusters-app + sudo kill -SIGUSR1 + + After killing the DUT , you may observe the following log in the DUT + [1656509949.322396][1609:1609] CHIP:IM: Received Subscribe request + [1656509949.322534][1609:1609] CHIP:DMG: SubscribeRequestMessage = + [1656509949.322582][1609:1609] CHIP:DMG: { + [1656509949.322626][1609:1609] CHIP:DMG: KeepSubscriptions = false, + [1656509949.322674][1609:1609] CHIP:DMG: MinIntervalFloorSeconds = 0x64, + [1656509949.322723][1609:1609] CHIP:DMG: MaxIntervalCeilingSeconds = 0x3e8, + [1656509949.322767][1609:1609] CHIP:DMG: EventPathIBs = + [1656509949.322814][1609:1609] CHIP:DMG: [ + [1656509949.322858][1609:1609] CHIP:DMG: EventPath = + [1656509949.322906][1609:1609] CHIP:DMG: { + [1656509949.322957][1609:1609] CHIP:DMG: Endpoint = 0x0, + [1656509949.323022][1609:1609] CHIP:DMG: Cluster = 0x34, + [1656509949.323085][1609:1609] CHIP:DMG: Event = 0x0, + [1656509949.323142][1609:1609] CHIP:DMG: }, + [1656509949.323197][1609:1609] CHIP:DMG: + [1656509949.323240][1609:1609] CHIP:DMG: ], + [1656509949.323290][1609:1609] CHIP:DMG: + [1656509949.323335][1609:1609] CHIP:DMG: isFabricFiltered = true, + [1656509949.323381][1609:1609] CHIP:DMG: InteractionModelRevision = 1 + [1656509949.323424][1609:1609] CHIP:DMG: }, + [1656509949.323535][1609:1609] CHIP:DMG: Final negotiated min/max parameters: Min = 100s, Max = 1000s + + [1656509949.326403][1609:1609] CHIP:DMG: Fetched 14 events + [1656509949.326451][1609:1609] CHIP:DMG: Sending report (payload has 984 bytes)... + + + + + On TH Send the below command + + ./chip-tool softwarediagnostics subscribe-event software-fault 1 0 + [1656509949.252105][1593:1598] CHIP:DMG: InteractionModelRevision = 1 + [1656509949.252131][1593:1598] CHIP:DMG: } + [1656509949.252482][1593:1598] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0034 Event 0x0000_0000 + [1656509949.252514][1593:1598] CHIP:TOO: Event number: 7 + [1656509949.252540][1593:1598] CHIP:TOO: Priority: Info + [1656509949.252564][1593:1598] CHIP:TOO: Timestamp: 1667389 + [1656509949.252673][1593:1598] CHIP:TOO: SoftwareFault: { + [1656509949.252726][1593:1598] CHIP:TOO: Id: 1609 + [1656509949.252755][1593:1598] CHIP:TOO: Name: 1609 + [1656509949.252785][1593:1598] CHIP:TOO: FaultRecording: 576564204A756E2032392031333A33343A353220323032320A + [1656509949.252812][1593:1598] CHIP:TOO: } + [1656509949.252919][1593:1598] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0034 Event 0x0000_0000 + [1656509949.252946][1593:1598] CHIP:TOO: Event number: 8 + [1656509949.252970][1593:1598] CHIP:TOO: Priority: Info + [1656509949.252994][1593:1598] CHIP:TOO: Timestamp: 1668865 + [1656509949.253028][1593:1598] CHIP:TOO: SoftwareFault: { + [1656509949.253054][1593:1598] CHIP:TOO: Id: 1609 + [1656509949.253079][1593:1598] CHIP:TOO: Name: 1609 + [1656509949.253106][1593:1598] CHIP:TOO: FaultRecording: 576564204A756E2032392031333A33343A353420323032320A + [1656509949.253131][1593:1598] CHIP:TOO: } + [1656509949.253235][1593:1598] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0034 Event 0x0000_0000 + [1656509949.253262][1593:1598] CHIP:TOO: Event number: 9 + [1656509949.253286][1593:1598] CHIP:TOO: Priority: Info + [1656509949.253310][1593:1598] CHIP:TOO: Timestamp: 1671097 + [1656509949.253343][1593:1598] CHIP:TOO: SoftwareFault: { + [1656509949.253370][1593:1598] CHIP:TOO: Id: 1609 + [1656509949.253394][1593:1598] CHIP:TOO: Name: 1609 + [1656509949.253420][1593:1598] CHIP:TOO: FaultRecording: 576564204A756E2032392031333A33343A353620323032320A + [1656509949.253445][1593:1598] CHIP:TOO: } + [1656509949.253552][1593:1598] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0034 Event 0x0000_0000 + [1656509949.253578][1593:1598] CHIP:TOO: Event number: 10 + [1656509949.253602][1593:1598] CHIP:TOO: Priority: Info + [1656509949.253626][1593:1598] CHIP:TOO: Timestamp: 1899745 + [1656509949.253658][1593:1598] CHIP:TOO: SoftwareFault: { + [1656509949.253685][1593:1598] CHIP:TOO: Id: 1609 + [1656509949.253708][1593:1598] CHIP:TOO: Name: 1609 + [1656509949.253734][1593:1598] CHIP:TOO: FaultRecording: 576564204A756E2032392031333A33383A343520323032320A + [1656509949.253755][1593:1598] CHIP:TOO: } + [1656509949.253856][1593:1598] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0034 Event 0x0000_0000 + [1656509949.253883][1593:1598] CHIP:TOO: Event number: 11 + [1656509949.253904][1593:1598] CHIP:TOO: Priority: Info + [1656509949.253924][1593:1598] CHIP:TOO: Timestamp: 1901573 + [1656509949.253954][1593:1598] CHIP:TOO: SoftwareFault: { + [1656509949.253977][1593:1598] CHIP:TOO: Id: 1609 + [1656509949.253997][1593:1598] CHIP:TOO: Name: 1609 + [1656509949.254020][1593:1598] CHIP:TOO: FaultRecording: 576564204A756E2032392031333A33383A343620323032320A + [1656509949.254042][1593:1598] CHIP:TOO: } + [1656509949.254132][1593:1598] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0034 Event 0x0000_0000 + [1656509949.254155][1593:1598] CHIP:TOO: Event number: 12 + [1656509949.254176][1593:1598] CHIP:TOO: Priority: Info + [1656509949.254196][1593:1598] CHIP:TOO: Timestamp: 1903174 + [1656509949.254225][1593:1598] CHIP:TOO: SoftwareFault: { + [1656509949.254247][1593:1598] CHIP:TOO: Id: 1609 + [1656509949.254268][1593:1598] CHIP:TOO: Name: 1609 + [1656509949.254291][1593:1598] CHIP:TOO: FaultRecording: 576564204A756E2032392031333A33383A343820323032320A + [1656509949.254313][1593:1598] CHIP:TOO: } + [1656509949.254403][1593:1598] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0034 Event 0x0000_0000 + [1656509949.254426][1593:1598] CHIP:TOO: Event number: 13 + [1656509949.254447][1593:1598] CHIP:TOO: Priority: Info + [1656509949.254468][1593:1598] CHIP:TOO: Timestamp: 1904273 + [1656509949.254496][1593:1598] CHIP:TOO: SoftwareFault: { + [1656509949.254519][1593:1598] CHIP:TOO: Id: 1609 + [1656509949.254540][1593:1598] CHIP:TOO: Name: 1609 + [1656509949.254563][1593:1598] CHIP:TOO: FaultRecording: 576564204A756E2032392031333A33383A343920323032320A + [1656509949.254584][1593:1598] CHIP:TOO: } + [1656509949.254674][1593:1598] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0034 Event 0x0000_0000 + [1656509949.254697][1593:1598] CHIP:TOO: Event number: 14 + [1656509949.254718][1593:1598] CHIP:TOO: Priority: Info + [1656509949.254739][1593:1598] CHIP:TOO: Timestamp: 1905286 + [1656509949.254766][1593:1598] CHIP:TOO: SoftwareFault: { + [1656509949.254789][1593:1598] CHIP:TOO: Id: 1609 + [1656509949.254810][1593:1598] CHIP:TOO: Name: 1609 + [1656509949.254833][1593:1598] CHIP:TOO: FaultRecording: 576564204A756E2032392031333A33383A353020323032320A + [1656509949.254854][1593:1598] CHIP:TOO: } + [1656509949.254945][1593:1598] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0034 Event 0x0000_0000 + [1656509949.254967][1593:1598] CHIP:TOO: Event number: 15 + [1656509949.254988][1593:1598] CHIP:TOO: Priority: Info + [1656509949.255008][1593:1598] CHIP:TOO: Timestamp: 1907173 + [1656509949.255036][1593:1598] CHIP:TOO: SoftwareFault: { + [1656509949.255059][1593:1598] CHIP:TOO: Id: 1609 + [1656509949.255080][1593:1598] CHIP:TOO: Name: 1609 + [1656509949.255103][1593:1598] CHIP:TOO: FaultRecording: 576564204A756E2032392031333A33383A353220323032320A + [1656509949.255125][1593:1598] CHIP:TOO: } + [1656509949.255214][1593:1598] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0034 Event 0x0000_0000 + [1656509949.255236][1593:1598] CHIP:TOO: Event number: 16 + [1656509949.255257][1593:1598] CHIP:TOO: Priority: Info + [1656509949.255277][1593:1598] CHIP:TOO: Timestamp: 1908021 + [1656509949.255305][1593:1598] CHIP:TOO: SoftwareFault: { + [1656509949.255328][1593:1598] CHIP:TOO: Id: 1609 + [1656509949.255349][1593:1598] CHIP:TOO: Name: 1609 + [1656509949.255372][1593:1598] CHIP:TOO: FaultRecording: 576564204A756E2032392031333A33383A353320323032320A + [1656509949.255393][1593:1598] CHIP:TOO: } + [1656509949.255484][1593:1598] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0034 Event 0x0000_0000 + [1656509949.255506][1593:1598] CHIP:TOO: Event number: 17 + [1656509949.255527][1593:1598] CHIP:TOO: Priority: Info + [1656509949.255548][1593:1598] CHIP:TOO: Timestamp: 1908798 + [1656509949.255575][1593:1598] CHIP:TOO: SoftwareFault: { + [1656509949.255598][1593:1598] CHIP:TOO: Id: 1609 + [1656509949.255618][1593:1598] CHIP:TOO: Name: 1609 + [1656509949.255641][1593:1598] CHIP:TOO: FaultRecording: 576564204A756E2032392031333A33383A353420323032320A + [1656509949.255663][1593:1598] CHIP:TOO: } + [1656509949.255752][1593:1598] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0034 Event 0x0000_0000 + [1656509949.255774][1593:1598] CHIP:TOO: Event number: 18 + [1656509949.255796][1593:1598] CHIP:TOO: Priority: Info + [1656509949.255816][1593:1598] CHIP:TOO: Timestamp: 1909478 + [1656509949.255844][1593:1598] CHIP:TOO: SoftwareFault: { + [1656509949.255866][1593:1598] CHIP:TOO: Id: 1609 + [1656509949.255887][1593:1598] CHIP:TOO: Name: 1609 + [1656509949.255910][1593:1598] CHIP:TOO: FaultRecording: 576564204A756E2032392031333A33383A353420323032320A + [1656509949.255931][1593:1598] CHIP:TOO: } + [1656509949.256022][1593:1598] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0034 Event 0x0000_0000 + [1656509949.256044][1593:1598] CHIP:TOO: Event number: 19 + [1656509949.256065][1593:1598] CHIP:TOO: Priority: Info + [1656509949.256086][1593:1598] CHIP:TOO: Timestamp: 1910178 + [1656509949.256114][1593:1598] CHIP:TOO: SoftwareFault: { + [1656509949.256136][1593:1598] CHIP:TOO: Id: 1609 + [1656509949.256157][1593:1598] CHIP:TOO: Name: 1609 + [1656509949.256193][1593:1598] CHIP:TOO: FaultRecording: 576564204A756E2032392031333A33383A353520323032320A + [1656509949.256216][1593:1598] CHIP:TOO: } + [1656509949.256306][1593:1598] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0034 Event 0x0000_0000 + [1656509949.256328][1593:1598] CHIP:TOO: Event number: 20 + [1656509949.256349][1593:1598] CHIP:TOO: Priority: Info + [1656509949.256370][1593:1598] CHIP:TOO: Timestamp: 1911229 + [1656509949.256398][1593:1598] CHIP:TOO: SoftwareFault: { + [1656509949.256420][1593:1598] CHIP:TOO: Id: 1609 + [1656509949.256442][1593:1598] CHIP:TOO: Name: 1609 + [1656509949.256464][1593:1598] CHIP:TOO: FaultRecording: 576564204A756E2032392031333A33383A353620323032320A + [1656509949.256486][1593:1598] CHIP:TOO: } + [1656509949.256679][1593:1598] CHIP:DMG: MoveToState ReadClient[0xffff74004470]: Moving to [AwaitingSu] disabled: true - label: diff --git a/src/app/tests/suites/certification/Test_TC_IDM_6_3.yaml b/src/app/tests/suites/certification/Test_TC_IDM_6_3.yaml index 3b38b6b0218114..28d17f13f9f2ae 100644 --- a/src/app/tests/suites/certification/Test_TC_IDM_6_3.yaml +++ b/src/app/tests/suites/certification/Test_TC_IDM_6_3.yaml @@ -14,8 +14,7 @@ # Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default name: - 20.6.3. [TC-IDM-6.3] Events Read Interaction from DUT to TH [DUT - - Controller] + 21.6.3. [TC-IDM-6.3] Events Read Interaction from DUT to TH. [{DUT_Client}] config: nodeId: 0x12344321 @@ -27,70 +26,13 @@ tests: verification: | In case of chip tool, here is an example command to use + On TH verify that Read Request Message received has these fields EventRequests, EventFilters, and FabricFiltered. + sudo ./chip-tool any read-event-by-id 0xFFFFFFFF 0xFFFFFFFF 1 0xFFFF - [1655210591.947581][2883:2883] CHIP:IM: Received Read request - [1655210591.947662][2883:2883] CHIP:DMG: ReadRequestMessage = - [1655210591.947709][2883:2883] CHIP:DMG: { - [1655210591.947750][2883:2883] CHIP:DMG: EventPathIBs = - [1655210591.947797][2883:2883] CHIP:DMG: [ - [1655210591.947841][2883:2883] CHIP:DMG: EventPath = - [1655210591.947889][2883:2883] CHIP:DMG: { - [1655210591.947935][2883:2883] CHIP:DMG: }, - [1655210591.947984][2883:2883] CHIP:DMG: - [1655210591.948027][2883:2883] CHIP:DMG: ], - [1655210591.948076][2883:2883] CHIP:DMG: - [1655210591.948121][2883:2883] CHIP:DMG: isFabricFiltered = true, - [1655210591.948168][2883:2883] CHIP:DMG: InteractionModelRevision = 1 - [1655210591.948211][2883:2883] CHIP:DMG: }, - [1655210591.948313][2883:2883] CHIP:DMG: IM RH moving to [GeneratingReports] - [1655210591.948437][2883:2883] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 - [1655210591.948549][2883:2883] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0028 e=0 p=v - [1655210591.948611][2883:2883] CHIP:DMG: AccessControl: allowed - [1655210591.948716][2883:2883] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_001F e=0 p=a - [1655210591.948744][2883:2883] CHIP:DMG: AccessControl: allowed - [1655210591.948825][2883:2883] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0034 e=0 p=v - [1655210591.948852][2883:2883] CHIP:DMG: AccessControl: allowed - [1655210591.948921][2883:2883] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_003B e=1 p=v - [1655210591.948948][2883:2883] CHIP:DMG: AccessControl: allowed - [1655210591.949032][2883:2883] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_003B e=1 p=v - [1655210591.949061][2883:2883] CHIP:DMG: AccessControl: allowed - [1655210591.949123][2883:2883] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0034 e=0 p=v - [1655210591.949150][2883:2883] CHIP:DMG: AccessControl: allowed - [1655210591.949218][2883:2883] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0034 e=0 p=v - [1655210591.949244][2883:2883] CHIP:DMG: AccessControl: allowed - [1655210591.949311][2883:2883] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_003B e=1 p=v - [1655210591.949337][2883:2883] CHIP:DMG: AccessControl: allowed - [1655210591.949398][2883:2883] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_003B e=1 p=v - [1655210591.949424][2883:2883] CHIP:DMG: AccessControl: allowed - [1655210591.949484][2883:2883] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_003B e=1 p=v - [1655210591.949510][2883:2883] CHIP:DMG: AccessControl: allowed - [1655210591.949570][2883:2883] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_003B e=1 p=v - [1655210591.949595][2883:2883] CHIP:DMG: AccessControl: allowed - [1655210591.949656][2883:2883] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0033 e=0 p=v - [1655210591.949681][2883:2883] CHIP:DMG: AccessControl: allowed - [1655210591.949743][2883:2883] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_003B e=1 p=v - [1655210591.949769][2883:2883] CHIP:DMG: AccessControl: allowed - [1655210591.949829][2883:2883] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_003B e=1 p=v - [1655210591.949855][2883:2883] CHIP:DMG: AccessControl: allowed - [1655210591.949914][2883:2883] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_003B e=1 p=v - [1655210591.949940][2883:2883] CHIP:DMG: AccessControl: allowed - [1655210591.949999][2883:2883] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_003B e=1 p=v - [1655210591.950025][2883:2883] CHIP:DMG: AccessControl: allowed - [1655210591.950086][2883:2883] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0034 e=0 p=v - [1655210591.950112][2883:2883] CHIP:DMG: AccessControl: allowed - [1655210591.950178][2883:2883] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_003B e=1 p=v - [1655210591.950204][2883:2883] CHIP:DMG: AccessControl: allowed - [1655210591.950263][2883:2883] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_003B e=1 p=v - [1655210591.950289][2883:2883] CHIP:DMG: AccessControl: allowed - [1655210591.950334][2883:2883] CHIP:DMG: Fetched 19 events - [1655210591.950362][2883:2883] CHIP:DMG: Sending report (payload has 887 bytes)... - [1655210591.950396][2883:2883] CHIP:EM: Piggybacking Ack for MessageCounter:38120344 on exchange: 48722r - [1655210591.950502][2883:2883] CHIP:IN: Prepared secure message 0xaaaade6d4e40 to 0x000000000001B669 (1) of type 0x5 and protocolId (0, 1) on exchange 48722r with MessageCounter:59542778. - [1655210591.950539][2883:2883] CHIP:IN: Sending encrypted msg 0xaaaade6d4e40 with MessageCounter:59542778 to 0x000000000001B669 (1) at monotonic time: 0000000001C61135 msec - [1655210591.950689][2883:2883] CHIP:DMG: OnReportConfirm: NumReports = 0 + On TH [1655210591.986723][4218:4223] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0028 Event 0x0000_0000 [1655210591.986748][4218:4223] CHIP:TOO: Event number: 65536 diff --git a/src/app/tests/suites/certification/Test_TC_IDM_6_4.yaml b/src/app/tests/suites/certification/Test_TC_IDM_6_4.yaml index 1624a7f7a24bce..09008ba0d5dd43 100644 --- a/src/app/tests/suites/certification/Test_TC_IDM_6_4.yaml +++ b/src/app/tests/suites/certification/Test_TC_IDM_6_4.yaml @@ -14,8 +14,8 @@ # Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default name: - 20.6.4. [TC-IDM-6.4] Events Subscribe Interaction from DUT to TH [DUT - - Controller] + 21.6.4. [TC-IDM-6.4] Events Subscribe Interaction from DUT to TH. + [{DUT_Client}] config: nodeId: 0x12344321 @@ -27,135 +27,44 @@ tests: "DUT sends Subscribe Request Message to the TH for a supported event." verification: | sudo ./chip-tool basic subscribe-event start-up 100 1000 1 0 - On DUT - [1653649895.213398][1424:1424] CHIP:DMG: SubscribeRequestMessage = - [1653649895.213464][1424:1424] CHIP:DMG: { - [1653649895.213522][1424:1424] CHIP:DMG: KeepSubscriptions = false, - [1653649895.213590][1424:1424] CHIP:DMG: MinIntervalFloorSeconds = 0x64, - [1653649895.213656][1424:1424] CHIP:DMG: MaxIntervalCeilingSeconds = 0x3e8, - [1653649895.213718][1424:1424] CHIP:DMG: EventPathIBs = - [1653649895.213782][1424:1424] CHIP:DMG: [ - [1653649895.213843][1424:1424] CHIP:DMG: EventPath = - [1653649895.213920][1424:1424] CHIP:DMG: { - [1653649895.213989][1424:1424] CHIP:DMG: Endpoint = 0x0, - [1653649895.214066][1424:1424] CHIP:DMG: Cluster = 0x28, - [1653649895.214140][1424:1424] CHIP:DMG: Event = 0x0, - [1653649895.214213][1424:1424] CHIP:DMG: }, - [1653649895.214282][1424:1424] CHIP:DMG: - [1653649895.214341][1424:1424] CHIP:DMG: ], - [1653649895.214409][1424:1424] CHIP:DMG: - [1653649895.214470][1424:1424] CHIP:DMG: isFabricFiltered = true, - [1653649895.214534][1424:1424] CHIP:DMG: InteractionModelRevision = 1 - [1653649895.214592][1424:1424] CHIP:DMG: }, - [1653649895.214740][1424:1424] CHIP:DMG: Final negotiated min/max parameters: Min = 100s, Max = 1000s - - - [1653649895.222992][1424:1424] CHIP:DMG: StatusResponseMessage = - [1653649895.223057][1424:1424] CHIP:DMG: { - [1653649895.223115][1424:1424] CHIP:DMG: Status = 0x00 (SUCCESS), - [1653649895.223177][1424:1424] CHIP:DMG: InteractionModelRevision = 1 - [1653649895.223236][1424:1424] CHIP:DMG: } - [1653649895.223296][1424:1424] CHIP:IM: Received status response, status is 0x00 (SUCCESS) - - - - - On TH - [1653402133.935993][12088:12093] CHIP:DMG: InteractionModelRevision = 1 - [1653402133.936007][12088:12093] CHIP:DMG: } - [1653402133.936164][12088:12093] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0028 Event 0x0000_0000 - [1653402133.936184][12088:12093] CHIP:TOO: Event number: 0 - [1653402133.936203][12088:12093] CHIP:TOO: Priority: Critical - [1653402133.936218][12088:12093] CHIP:TOO: Timestamp: 21600803 - [1653402133.936267][12088:12093] CHIP:TOO: StartUp: { - [1653402133.936291][12088:12093] CHIP:TOO: SoftwareVersion: 1 - [1653402133.936309][12088:12093] CHIP:TOO: } - [1653402133.936362][12088:12093] CHIP:DMG: MoveToState ReadClient[0x7ff794004750]: Moving to [AwaitingSu] - [1653402133.936407][12088:12093] CHIP:EM: Piggybacking Ack for MessageCounter:220576 on exchange: 40612i - [1653402133.936456][12088:12093] CHIP:IN: Prepared secure message 0x55713bb98058 to 0x0000000000000001 (1) of type 0x1 and protocolId (0, 1) on exchange 40612i with MessageCounter:11138541. - [1653402133.936487][12088:12093] CHIP:IN: Sending encrypted msg 0x55713bb98058 with MessageCounter:11138541 to 0x0000000000000001 (1) at monotonic time: 00000000020D876B msec - [1653402133.939809][12088:12093] CHIP:EM: Received message of type 0x4 with protocolId (0, 1) and MessageCounter:220577 on exchange 40612i - [1653402133.939854][12088:12093] CHIP:EM: Found matching exchange: 40612i, Delegate: 0x7ff794004750 - [1653402133.939897][12088:12093] CHIP:EM: Rxd Ack; Removing MessageCounter:11138541 from Retrans Table on exchange 40612i - [1653402133.939917][12088:12093] CHIP:EM: Removed CHIP MessageCounter:11138541 from RetransTable on exchange 40612i - [1653402133.939971][12088:12093] CHIP:DMG: SubscribeResponseMessage = - [1653402133.939998][12088:12093] CHIP:DMG: { - [1653402133.940016][12088:12093] CHIP:DMG: SubscriptionId = 0xde0863af, - [1653402133.940038][12088:12093] CHIP:DMG: MinIntervalFloorSeconds = 0x64, - [1653402133.940065][12088:12093] CHIP:DMG: MaxIntervalCeilingSeconds = 0x3e8, - [1653402133.940089][12088:12093] CHIP:DMG: InteractionModelRevision = 1 - [1653402133.940105][12088:12093] CHIP:DMG: } - [1653402133.940137][12088:12093] CHIP:DMG: Subscription established with SubscriptionID = 0xde0863af MinInterval = 100s MaxInterval = 1000s Peer = 01:0000000000000001 + [1655981582.711841][1637:1637] CHIP:IM: Received Subscribe request + [1655981582.712024][1637:1637] CHIP:DMG: SubscribeRequestMessage = + [1655981582.712110][1637:1637] CHIP:DMG: { + [1655981582.712167][1637:1637] CHIP:DMG: KeepSubscriptions = false, + [1655981582.712231][1637:1637] CHIP:DMG: MinIntervalFloorSeconds = 0x64, + [1655981582.712316][1637:1637] CHIP:DMG: MaxIntervalCeilingSeconds = 0x3e8, + [1655981582.712375][1637:1637] CHIP:DMG: EventPathIBs = + [1655981582.712458][1637:1637] CHIP:DMG: [ + [1655981582.712516][1637:1637] CHIP:DMG: EventPath = + [1655981582.712601][1637:1637] CHIP:DMG: { + [1655981582.712668][1637:1637] CHIP:DMG: Endpoint = 0x0, + [1655981582.712764][1637:1637] CHIP:DMG: Cluster = 0x28, + [1655981582.712860][1637:1637] CHIP:DMG: Event = 0x0, + [1655981582.712930][1637:1637] CHIP:DMG: }, + [1655981582.713020][1637:1637] CHIP:DMG: + [1655981582.713079][1637:1637] CHIP:DMG: ], + [1655981582.713125][1637:1637] CHIP:DMG: + [1655981582.713149][1637:1637] CHIP:DMG: isFabricFiltered = true, + [1655981582.713182][1637:1637] CHIP:DMG: InteractionModelRevision = 1 + [1655981582.713205][1637:1637] CHIP:DMG: }, + [1655981582.713270][1637:1637] CHIP:DMG: Final negotiated min/max parameters: Min = 100s, Max = 1000s + [1655981582.713359][1637:1637] CHIP:DMG: IM RH moving to [GeneratingReports] disabled: true - label: - "DUT sends Subscribe Request Message to the TH + TH sends Report Data + "DUT sends Subscribe Request Message to the TH. TH sends Report Data message to DUT." verification: | - sudo ./chip-tool generaldiagnostics subscribe-event-by-id 3 0 100 1 0 - - - - [1653402203.752975][2753:2753] CHIP:IM: Received Subscribe request - [1653402203.753118][2753:2753] CHIP:DMG: SubscribeRequestMessage = - [1653402203.753166][2753:2753] CHIP:DMG: { - [1653402203.753209][2753:2753] CHIP:DMG: KeepSubscriptions = false, - [1653402203.753257][2753:2753] CHIP:DMG: MinIntervalFloorSeconds = 0x0, - [1653402203.753306][2753:2753] CHIP:DMG: MaxIntervalCeilingSeconds = 0x64, - [1653402203.753350][2753:2753] CHIP:DMG: EventPathIBs = - [1653402203.753398][2753:2753] CHIP:DMG: [ - [1653402203.753441][2753:2753] CHIP:DMG: EventPath = - [1653402203.753594][2753:2753] CHIP:DMG: { - [1653402203.753649][2753:2753] CHIP:DMG: Endpoint = 0x0, - [1653402203.753705][2753:2753] CHIP:DMG: Cluster = 0x33, - [1653402203.753764][2753:2753] CHIP:DMG: Event = 0x3, - [1653402203.753818][2753:2753] CHIP:DMG: }, - [1653402203.753873][2753:2753] CHIP:DMG: - [1653402203.753916][2753:2753] CHIP:DMG: ], - [1653402203.753967][2753:2753] CHIP:DMG: - [1653402203.754012][2753:2753] CHIP:DMG: isFabricFiltered = true, - [1653402203.754058][2753:2753] CHIP:DMG: InteractionModelRevision = 1 - [1653402203.754101][2753:2753] CHIP:DMG: }, - - - [1653402203.781700][12097:12102] CHIP:DMG: ReportDataMessage = - [1653402203.781703][12097:12102] CHIP:DMG: { - [1653402203.781706][12097:12102] CHIP:DMG: SubscriptionId = 0xfeb6d63f, - [1653402203.781709][12097:12102] CHIP:DMG: EventReportIBs = - [1653402203.781714][12097:12102] CHIP:DMG: [ - [1653402203.781718][12097:12102] CHIP:DMG: EventReportIB = - [1653402203.781723][12097:12102] CHIP:DMG: { - [1653402203.781727][12097:12102] CHIP:DMG: EventDataIB = - [1653402203.781730][12097:12102] CHIP:DMG: { - [1653402203.781733][12097:12102] CHIP:DMG: EventPath = - [1653402203.781737][12097:12102] CHIP:DMG: { - [1653402203.781740][12097:12102] CHIP:DMG: Endpoint = 0x0, - [1653402203.781743][12097:12102] CHIP:DMG: Cluster = 0x33, - [1653402203.781746][12097:12102] CHIP:DMG: Event = 0x3, - [1653402203.781749][12097:12102] CHIP:DMG: }, - [1653402203.781753][12097:12102] CHIP:DMG: - [1653402203.781756][12097:12102] CHIP:DMG: EventNumber = 0x1, - [1653402203.781759][12097:12102] CHIP:DMG: PriorityLevel = 0x2, - [1653402203.781763][12097:12102] CHIP:DMG: SystemTimestamp = 0x1499a24, - [1653402203.781766][12097:12102] CHIP:DMG: EventData = - [1653402203.781770][12097:12102] CHIP:DMG: { - [1653402203.781774][12097:12102] CHIP:DMG: 0x0 = 0, - [1653402203.781778][12097:12102] CHIP:DMG: }, - [1653402203.781781][12097:12102] CHIP:DMG: }, - [1653402203.781786][12097:12102] CHIP:DMG: - [1653402203.781790][12097:12102] CHIP:DMG: }, - [1653402203.781795][12097:12102] CHIP:DMG: - [1653402203.781798][12097:12102] CHIP:DMG: ], - [1653402203.781804][12097:12102] CHIP:DMG: - [1653402203.781807][12097:12102] CHIP:DMG: InteractionModelRevision = 1 - [1653402203.781810][12097:12102] CHIP:DMG: } - [1653402203.781845][12097:12102] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0033 Event 0x0000_0003 - [1653402203.781849][12097:12102] CHIP:TOO: Event number: 1 - [1653402203.781852][12097:12102] CHIP:TOO: Priority: Critical - [1653402203.781855][12097:12102] CHIP:TOO: Timestamp: 21600804 - [1653402203.781871][12097:12102] CHIP:TOO: BootReason: { - [1653402203.781876][12097:12102] CHIP:TOO: BootReason: 0 - [1653402203.781880][12097:12102] CHIP:TOO: } + sudo ./chip-tool basic subscribe-event-by-id 0x000 20 400 1 0 + + [1655981705.663905][1637:1637] CHIP:EM: Removed CHIP MessageCounter:153423939 from RetransTable on exchange 36114r + [1655981705.663961][1637:1637] CHIP:DMG: StatusResponseMessage = + [1655981705.663988][1637:1637] CHIP:DMG: { + [1655981705.664011][1637:1637] CHIP:DMG: Status = 0x00 (SUCCESS), + [1655981705.664046][1637:1637] CHIP:DMG: InteractionModelRevision = 1 + [1655981705.664069][1637:1637] CHIP:DMG: } + [1655981705.664104][1637:1637] CHIP:IM: Received status response, status is 0x00 (SUCCESS) + [1655981705.664150][1637:1637] CHIP:DMG: Refresh Subscribe Sync Timer with max 400 seconds disabled: true - label: @@ -166,8 +75,8 @@ tests: disabled: true - label: - "DUT sends Subscribe Request Message to the TH . TH sends Report Data - message to DUT. DUT sends Status Response Message to the TH . TH does + "DUT sends Subscribe Request Message to the TH. TH sends Report Data + message to DUT. DUT sends Status Response Message to the TH. TH does not respond with Subscribe Response message to DUT." verification: | This is not testable in normal scenario, and needs to be tested as part of Unit test. This test step to be removed from the manual execution. @@ -194,32 +103,54 @@ tests: the TH, perform actions to trigger the event. (Trigger it multiple times). DUT resubscribes to the same event after bootup to the TH." verification: | - In case of chip tool, here is an example command to use - - - sudo ./chip-tool generaldiagnostics subscribe-event-by-id 3 0 100 1 0 - - [1653650128.888225][1424:1424] CHIP:DMG: SubscribeRequestMessage = - [1653650128.888290][1424:1424] CHIP:DMG: { - [1653650128.888348][1424:1424] CHIP:DMG: KeepSubscriptions = false, - [1653650128.888415][1424:1424] CHIP:DMG: MinIntervalFloorSeconds = 0x0, - [1653650128.888481][1424:1424] CHIP:DMG: MaxIntervalCeilingSeconds = 0x64, - [1653650128.888542][1424:1424] CHIP:DMG: EventPathIBs = - [1653650128.888606][1424:1424] CHIP:DMG: [ - [1653650128.888667][1424:1424] CHIP:DMG: EventPath = - [1653650128.888732][1424:1424] CHIP:DMG: { - [1653650128.888801][1424:1424] CHIP:DMG: Endpoint = 0x0, - [1653650128.888879][1424:1424] CHIP:DMG: Cluster = 0x33, - [1653650128.888954][1424:1424] CHIP:DMG: Event = 0x3, - [1653650128.889022][1424:1424] CHIP:DMG: }, - [1653650128.889092][1424:1424] CHIP:DMG: - [1653650128.889151][1424:1424] CHIP:DMG: ], - [1653650128.889218][1424:1424] CHIP:DMG: - [1653650128.889278][1424:1424] CHIP:DMG: isFabricFiltered = true, - [1653650128.889340][1424:1424] CHIP:DMG: InteractionModelRevision = 1 - [1653650128.889398][1424:1424] CHIP:DMG: }, - [1653650128.889547][1424:1424] CHIP:DMG: Final negotiated min/max parameters: Min = 0s, Max = 100s - - Once the subscription is active, reboot the TH. On the DUT, perform actions to trigger the event. (Trigger it multiple times). - TH resubscribes to the same event after bootup to the DUT. + ./chip-tool softwarediagnostics read-event software-fault 1 0 + + [1655375196.291424][35133:35138] CHIP:DMG: SuppressResponse = true, + [1655375196.291478][35133:35138] CHIP:DMG: InteractionModelRevision = 1 + [1655375196.291527][35133:35138] CHIP:DMG: } + [1655375196.291829][35133:35138] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0034 Event 0x0000_0000 + [1655375196.291882][35133:35138] CHIP:TOO: Event number: 6 + [1655375196.291931][35133:35138] CHIP:TOO: Priority: Info + [1655375196.291978][35133:35138] CHIP:TOO: Timestamp: 6164894 + [1655375196.292119][35133:35138] CHIP:TOO: SoftwareFault: { + [1655375196.292173][35133:35138] CHIP:TOO: SoftwareFault: { + [1655375196.292235][35133:35138] CHIP:TOO: Id: 2677 + [1655375196.292287][35133:35138] CHIP:TOO: Name: 2677 + [1655375196.292341][35133:35138] CHIP:TOO: FaultRecording: 546875204A756E2031362031303A32363A313420323032320A + [1655375196.292391][35133:35138] CHIP:TOO: } + [1655375196.292438][35133:35138] CHIP:TOO: } + + + Provision DUT and TH. + + To generate the software fault event, execute the following + 1. Get the PID of the DUT & KIll it . + ps -aef|grep all-clusters-app + sudo kill -SIGUSR1 + + After killing the DUT , you may observe the following log in the DUT + + [1655198519.293098][2883:2883] CHIP:ZCL: SoftwareDiagnosticsDelegate: OnSoftwareFaultDetected + [1655198519.293180][2883:2883] CHIP:EVL: LogEvent event number: 0x0000000000010006 priority: 1, endpoint id: 0x0 cluster id: 0x0000_0034 event id: 0x0 Sys timestamp: 0x00000000010DDA64 + + + + On TH Send the below command + + ./chip-tool softwarediagnostics read-event software-fault 1 0 + + [1655375196.291424][35133:35138] CHIP:DMG: SuppressResponse = true, + [1655375196.291478][35133:35138] CHIP:DMG: InteractionModelRevision = 1 + [1655375196.291527][35133:35138] CHIP:DMG: } + [1655375196.291829][35133:35138] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0034 Event 0x0000_0000 + [1655375196.291882][35133:35138] CHIP:TOO: Event number: 6 + [1655375196.291931][35133:35138] CHIP:TOO: Priority: Info + [1655375196.291978][35133:35138] CHIP:TOO: Timestamp: 6164894 + [1655375196.292119][35133:35138] CHIP:TOO: SoftwareFault: { + [1655375196.292173][35133:35138] CHIP:TOO: SoftwareFault: { + [1655375196.292235][35133:35138] CHIP:TOO: Id: 2677 + [1655375196.292287][35133:35138] CHIP:TOO: Name: 2677 + [1655375196.292341][35133:35138] CHIP:TOO: FaultRecording: 546875204A756E2031362031303A32363A313420323032320A + [1655375196.292391][35133:35138] CHIP:TOO: } + [1655375196.292438][35133:35138] CHIP:TOO: } disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_IDM_7_1.yaml b/src/app/tests/suites/certification/Test_TC_IDM_7_1.yaml index dea03da27f175a..7879dca9757b20 100644 --- a/src/app/tests/suites/certification/Test_TC_IDM_7_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_IDM_7_1.yaml @@ -13,9 +13,7 @@ # limitations under the License. # Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default -name: - 20.6.5. [TC-IDM-7.1] Multi Fabric Subscription Test Cases. DUT as the - server. +name: 21.6.5. [TC-IDM-7.1] Multi Fabric Subscription Test Cases. [{DUT_Server}] config: nodeId: 0x12344321 @@ -25,93 +23,246 @@ config: tests: - label: "RD1, RD2, RD3, RD4, RD5 send 3 Subscribe Request Messages to - DUT.(Total - 15 active subscriptions) + Each subscribe request should + DUT.(Total - 15 active subscriptions) Each subscribe request should contain 3 different paths. They can subscribe to different attributes and events. Once all subscriptions are active, change the value of all the attributes that have been subscribed or trigger an action on the DUT to generate an event." verification: | - sudo ./chip-tool any subscribe-by-id "6,8" "0,17" ${NODE_ID} 0 1000 1 "1,1" - Waiting For Test-Plan author for more input. Verification step upadte is in progress - - - [1653403086.002767][12239:12245] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0008 Attribute 0x0000_0011 DataVersion: 3173357546 - [1653403086.002782][12239:12245] CHIP:TOO: on level: null - [1653403086.002800][12239:12245] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0006 Attribute 0x0000_0000 DataVersion: 2664954815 - [1653403086.002805][12239:12245] CHIP:TOO: OnOff: FALSE - [1653403086.002816][12239:12245] CHIP:DMG: MoveToState ReadClient[0x7f1d700072a0]: Moving to [AwaitingSu] - [1653403086.002829][12239:12245] CHIP:EM: Piggybacking Ack for MessageCounter:15927693 on exchange: 53574i - [1653403086.002842][12239:12245] CHIP:IN: Prepared secure message 0x5595b67a6108 to 0x0000000000000001 (1) of type 0x1 and protocolId (0, 1) on exchange 53574i with MessageCounter:15164689. - [1653403086.002850][12239:12245] CHIP:IN: Sending encrypted msg 0x5595b67a6108 with MessageCounter:15164689 to 0x0000000000000001 (1) at monotonic time: 00000000021C0E6D msec - [1653403086.011341][12239:12245] CHIP:EM: Received message of type 0x4 with protocolId (0, 1) and MessageCounter:15927694 on exchange 53574i - [1653403086.011352][12239:12245] CHIP:EM: Found matching exchange: 53574i, Delegate: 0x7f1d700072a0 - [1653403086.011361][12239:12245] CHIP:EM: Rxd Ack; Removing MessageCounter:15164689 from Retrans Table on exchange 53574i - [1653403086.011365][12239:12245] CHIP:EM: Removed CHIP MessageCounter:15164689 from RetransTable on exchange 53574i - [1653403086.011376][12239:12245] CHIP:DMG: SubscribeResponseMessage = - [1653403086.011381][12239:12245] CHIP:DMG: { - [1653403086.011386][12239:12245] CHIP:DMG: SubscriptionId = 0xfa0b5c08, - [1653403086.011391][12239:12245] CHIP:DMG: MinIntervalFloorSeconds = 0x0, - [1653403086.011396][12239:12245] CHIP:DMG: MaxIntervalCeilingSeconds = 0x3e8, - [1653403086.011401][12239:12245] CHIP:DMG: InteractionModelRevision = 1 - [1653403086.011405][12239:12245] CHIP:DMG: } - - - sudo ./chip-tool any subscribe-by-id "3,8" "1,1" ${NODE_ID} 0 1000 1 "1,1" - [1653403576.015722][13006:13011] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0008 Attribute 0x0000_0001 DataVersion: 3173357546 - [1653403576.015802][13006:13011] CHIP:TOO: remaining time: 0 - [1653403576.015900][13006:13011] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0003 Attribute 0x0000_0001 DataVersion: 1689730037 - [1653403576.015944][13006:13011] CHIP:TOO: identify type: 2 - [1653403576.016007][13006:13011] CHIP:DMG: MoveToState ReadClient[0x7f10cc004f50]: Moving to [AwaitingSu] - [1653403576.016077][13006:13011] CHIP:EM: Piggybacking Ack for MessageCounter:15501318 on exchange: 47781i - [1653403576.016150][13006:13011] CHIP:IN: Prepared secure message 0x55e293868908 to 0x0000000000000001 (1) of type 0x1 and protocolId (0, 1) on exchange 47781i with MessageCounter:3013623. - [1653403576.016197][13006:13011] CHIP:IN: Sending encrypted msg 0x55e293868908 with MessageCounter:3013623 to 0x0000000000000001 (1) at monotonic time: 000000000223888B msec - [1653403576.016565][13006:13011] CHIP:EM: Received message of type 0x10 with protocolId (0, 0) and MessageCounter:15501319 on exchange 47781i - [1653403576.016605][13006:13011] CHIP:EM: Found matching exchange: 47781i, Delegate: 0x7f10cc004f50 - [1653403576.016637][13006:13011] CHIP:EM: CHIP MessageCounter:3013622 not in RetransTable on exchange 47781i - [1653403576.175950][13006:13011] CHIP:DIS: Checking node lookup status after 200 ms - [1653403576.176075][13006:13011] CHIP:CTL: Updating device address to UDP:[fe80::e65f:1ff:fe69:61b1%wlp3s0]:5540 while in state 5 - [1653403576.176114][13006:13011] CHIP:DIS: Discovery does not require any more timeouts - [1653403576.247237][13006:13011] CHIP:EM: Received message of type 0x4 with protocolId (0, 1) and MessageCounter:15501320 on exchange 47781i - [1653403576.247297][13006:13011] CHIP:EM: Found matching exchange: 47781i, Delegate: 0x7f10cc004f50 - [1653403576.247367][13006:13011] CHIP:EM: Rxd Ack; Removing MessageCounter:3013623 from Retrans Table on exchange 47781i - [1653403576.247390][13006:13011] CHIP:EM: Removed CHIP MessageCounter:3013623 from RetransTable on exchange 47781i - [1653403576.247460][13006:13011] CHIP:DMG: SubscribeResponseMessage = - [1653403576.247484][13006:13011] CHIP:DMG: { - [1653403576.247508][13006:13011] CHIP:DMG: SubscriptionId = 0x72a4e6bf, - [1653403576.247530][13006:13011] CHIP:DMG: MinIntervalFloorSeconds = 0x0, - [1653403576.247551][13006:13011] CHIP:DMG: MaxIntervalCeilingSeconds = 0x3e8, - [1653403576.247575][13006:13011] CHIP:DMG: InteractionModelRevision = 1 - [1653403576.247599][13006:13011] CHIP:DMG: } - - - sudo ./chip-tool any subscribe-by-id "8,3" "1,1" ${NODE_ID} 0 1000 1 "1,1" + Send 3 Subscriptionrequest message from each Reference Device(Eg. RD1...) to DUT + and verify all the subscription requests are succes, and change the value of + all the attributes by sending write command, after sending write commanfd + verify on each of these Reference Devices that the appropriate attribute + value has been received. + + + Below Given a example commands + + ./chip-tool onoff subscribe on-time 100 1000 1 1 + [1656330208.062624][9924:9924] CHIP:DMG: StatusResponseMessage = + [1656330208.062654][9924:9924] CHIP:DMG: { + [1656330208.062681][9924:9924] CHIP:DMG: Status = 0x00 (SUCCESS), + [1656330208.062712][9924:9924] CHIP:DMG: InteractionModelRevision = 1 + [1656330208.062738][9924:9924] CHIP:DMG: } + [1656330208.062765][9924:9924] CHIP:IM: Received status response, status is 0x00 (SUCCESS) + [1656330208.062804][9924:9924] CHIP:DMG: Refresh Subscribe Sync Timer with max 1000 seconds + + ./chip-tool levelcontrol subscribe on-level 100 1000 1 1 + [1656330387.470712][9924:9924] CHIP:DMG: StatusResponseMessage = + [1656330387.470740][9924:9924] CHIP:DMG: { + [1656330387.470765][9924:9924] CHIP:DMG: Status = 0x00 (SUCCESS), + [1656330387.470792][9924:9924] CHIP:DMG: InteractionModelRevision = 1 + [1656330387.470816][9924:9924] CHIP:DMG: } + [1656330387.470842][9924:9924] CHIP:IM: Received status response, status is 0x00 (SUCCESS) + + + ./chip-tool onoff subscribe start-up-on-off 100 1000 1 1 + [1656330608.134217][9924:9924] CHIP:EM: Removed CHIP MessageCounter:188047438 from RetransTable on exchange 44706r + [1656330608.134265][9924:9924] CHIP:DMG: StatusResponseMessage = + [1656330608.134293][9924:9924] CHIP:DMG: { + [1656330608.134319][9924:9924] CHIP:DMG: Status = 0x00 (SUCCESS), + [1656330608.134345][9924:9924] CHIP:DMG: InteractionModelRevision = 1 + [1656330608.134370][9924:9924] CHIP:DMG: } + [1656330608.134395][9924:9924] CHIP:IM: Received status response, status is 0x00 (SUCCESS) + [1656330608.134434][9924:9924] CHIP:DMG: Refresh Subscribe Sync Timer with max 1000 seconds + + + ./chip-tool any subscribe-by-id 0x0008 0x0010 100 1000 1 1 + [1656330747.137973][9924:9924] CHIP:DMG: StatusResponseMessage = + [1656330747.138003][9924:9924] CHIP:DMG: { + [1656330747.138031][9924:9924] CHIP:DMG: Status = 0x00 (SUCCESS), + [1656330747.138059][9924:9924] CHIP:DMG: InteractionModelRevision = 1 + [1656330747.138085][9924:9924] CHIP:DMG: } + [1656330747.138112][9924:9924] CHIP:IM: Received status response, status is 0x00 (SUCCESS) + [1656330747.138152][9924:9924] CHIP:DMG: Refresh Subscribe Sync Timer with max 1000 seconds + + + ./chip-tool basic subscribe node-label 100 1000 1 0 + [1656330747.137973][9924:9924] CHIP:DMG: StatusResponseMessage = + [1656330747.138003][9924:9924] CHIP:DMG: { + [1656330747.138031][9924:9924] CHIP:DMG: Status = 0x00 (SUCCESS), + [1656330747.138059][9924:9924] CHIP:DMG: InteractionModelRevision = 1 + [1656330747.138085][9924:9924] CHIP:DMG: } + [1656330747.138112][9924:9924] CHIP:IM: Received status response, status is 0x00 (SUCCESS) + [1656330747.138152][9924:9924] CHIP:DMG: Refresh Subscribe Sync Timer with max 1000 seconds + + ./chip-tool levelcontrol subscribe options 100 1000 1 0 + [1656331434.214406][9924:9924] CHIP:DMG: StatusResponseMessage = + [1656331434.214433][9924:9924] CHIP:DMG: { + [1656331434.214456][9924:9924] CHIP:DMG: Status = 0x00 (SUCCESS), + [1656331434.214481][9924:9924] CHIP:DMG: InteractionModelRevision = 1 + [1656331434.214505][9924:9924] CHIP:DMG: } + [1656331434.214529][9924:9924] CHIP:IM: Received status response, status is 0x00 (SUCCESS) + [1656331434.214565][9924:9924] CHIP:DMG: Refresh Subscribe Sync Timer with max 1000 seconds + + + ./chip-tool basic subscribe location 100 1000 1 0 + [1656331099.398232][9924:9924] CHIP:DMG: StatusResponseMessage = + [1656331099.398259][9924:9924] CHIP:DMG: { + [1656331099.398283][9924:9924] CHIP:DMG: Status = 0x00 (SUCCESS), + [1656331099.398307][9924:9924] CHIP:DMG: InteractionModelRevision = 1 + [1656331099.398330][9924:9924] CHIP:DMG: } + [1656331099.398353][9924:9924] CHIP:IM: Received status response, status is 0x00 (SUCCESS) + [1656331099.398390][9924:9924] CHIP:DMG: Refresh Subscribe Sync Timer with max 1000 seconds disabled: true - label: "RD1, RD2, RD3, RD4, RD5 send 3 Subscribe Request Messages to - DUT.(Total - 15 active subscriptions) + Each subscribe requests should + DUT.(Total - 15 active subscriptions) Each subscribe requests should contain 3 different paths. The subscription request from RD1 should contain 4 paths." verification: | - sudo ./chip-tool any read-by-id 0xFFFFFFFF 0xFFFFFFFF 1 0xFFFF + Send 3 Subscriptionrequest message from each Reference Device(Eg. RD1...) to DUT + and verify all the subscription requests are succes. and in The subscription request from RD1 should contain 4 paths, Verify that the subscriptions from RD2, RD3, RD4 and RD5 are not affected. + + Below Given a example commands + + ./chip-tool any subscribe-by-id 0x0008 0x0010 100 1000 1 1 + [1656330747.137973][9924:9924] CHIP:DMG: StatusResponseMessage = + [1656330747.138003][9924:9924] CHIP:DMG: { + [1656330747.138031][9924:9924] CHIP:DMG: Status = 0x00 (SUCCESS), + [1656330747.138059][9924:9924] CHIP:DMG: InteractionModelRevision = 1 + [1656330747.138085][9924:9924] CHIP:DMG: } + [1656330747.138112][9924:9924] CHIP:IM: Received status response, status is 0x00 (SUCCESS) + [1656330747.138152][9924:9924] CHIP:DMG: Refresh Subscribe Sync Timer with max 1000 seconds + + + ./chip-tool basic subscribe node-label 100 1000 1 0 + [1656330747.137973][9924:9924] CHIP:DMG: StatusResponseMessage = + [1656330747.138003][9924:9924] CHIP:DMG: { + [1656330747.138031][9924:9924] CHIP:DMG: Status = 0x00 (SUCCESS), + [1656330747.138059][9924:9924] CHIP:DMG: InteractionModelRevision = 1 + [1656330747.138085][9924:9924] CHIP:DMG: } + [1656330747.138112][9924:9924] CHIP:IM: Received status response, status is 0x00 (SUCCESS) + [1656330747.138152][9924:9924] CHIP:DMG: Refresh Subscribe Sync Timer with max 1000 seconds + + ./chip-tool onoff subscribe on-time 100 1000 1 1 + [1656330208.062624][9924:9924] CHIP:DMG: StatusResponseMessage = + [1656330208.062654][9924:9924] CHIP:DMG: { + [1656330208.062681][9924:9924] CHIP:DMG: Status = 0x00 (SUCCESS), + [1656330208.062712][9924:9924] CHIP:DMG: InteractionModelRevision = 1 + [1656330208.062738][9924:9924] CHIP:DMG: } + [1656330208.062765][9924:9924] CHIP:IM: Received status response, status is 0x00 (SUCCESS) + [1656330208.062804][9924:9924] CHIP:DMG: Refresh Subscribe Sync Timer with max 1000 seconds + + ./chip-tool levelcontrol subscribe on-level 100 1000 1 1 + [1656330387.470712][9924:9924] CHIP:DMG: StatusResponseMessage = + [1656330387.470740][9924:9924] CHIP:DMG: { + [1656330387.470765][9924:9924] CHIP:DMG: Status = 0x00 (SUCCESS), + [1656330387.470792][9924:9924] CHIP:DMG: InteractionModelRevision = 1 + [1656330387.470816][9924:9924] CHIP:DMG: } + [1656330387.470842][9924:9924] CHIP:IM: Received status response, status is 0x00 (SUCCESS) + + + ./chip-tool onoff subscribe start-up-on-off 100 1000 1 1 + [1656330608.134217][9924:9924] CHIP:EM: Removed CHIP MessageCounter:188047438 from RetransTable on exchange 44706r + [1656330608.134265][9924:9924] CHIP:DMG: StatusResponseMessage = + [1656330608.134293][9924:9924] CHIP:DMG: { + [1656330608.134319][9924:9924] CHIP:DMG: Status = 0x00 (SUCCESS), + [1656330608.134345][9924:9924] CHIP:DMG: InteractionModelRevision = 1 + [1656330608.134370][9924:9924] CHIP:DMG: } + [1656330608.134395][9924:9924] CHIP:IM: Received status response, status is 0x00 (SUCCESS) + [1656330608.134434][9924:9924] CHIP:DMG: Refresh Subscribe Sync Timer with max 1000 seconds + + + ./chip-tool basic subscribe node-label 100 1000 1 0 + [1656330747.137973][9924:9924] CHIP:DMG: StatusResponseMessage = + [1656330747.138003][9924:9924] CHIP:DMG: { + [1656330747.138031][9924:9924] CHIP:DMG: Status = 0x00 (SUCCESS), + [1656330747.138059][9924:9924] CHIP:DMG: InteractionModelRevision = 1 + [1656330747.138085][9924:9924] CHIP:DMG: } + [1656330747.138112][9924:9924] CHIP:IM: Received status response, status is 0x00 (SUCCESS) + [1656330747.138152][9924:9924] CHIP:DMG: Refresh Subscribe Sync Timer with max 1000 seconds disabled: true - label: "RD2, RD3, RD4, RD5 send 3 Subscribe request messages each with each - of them having 3 different paths. + Verify that the subscription - request messages from all reference devices succeed. + Once all the - Subscription Requests are activated, RD1 sends 6 subscription request - messages with each of them having 3 different paths." + of them having 3 different paths. Verify that the subscription request + messages from all reference devices succeed. Once all the Subscription + Requests are activated, RD1 sends 6 subscription request messages with + each of them having 3 different paths." verification: | + Send 3 Subscriptionrequest message from each Reference Device(Eg. RD1...) to DUT + and verify all the subscription requests are succes. and in The subscription request + from RD1 should contain 6 paths, Verify that the subscriptions from RD2, RD3, RD4 and + RD5 are not affected. + + Below Given a example commands + ./chip-tool onoff subscribe on-time 100 1000 1 1 + [1656330208.062624][9924:9924] CHIP:DMG: StatusResponseMessage = + [1656330208.062654][9924:9924] CHIP:DMG: { + [1656330208.062681][9924:9924] CHIP:DMG: Status = 0x00 (SUCCESS), + [1656330208.062712][9924:9924] CHIP:DMG: InteractionModelRevision = 1 + [1656330208.062738][9924:9924] CHIP:DMG: } + [1656330208.062765][9924:9924] CHIP:IM: Received status response, status is 0x00 (SUCCESS) + [1656330208.062804][9924:9924] CHIP:DMG: Refresh Subscribe Sync Timer with max 1000 seconds + + ./chip-tool levelcontrol subscribe on-level 100 1000 1 1 + [1656330387.470712][9924:9924] CHIP:DMG: StatusResponseMessage = + [1656330387.470740][9924:9924] CHIP:DMG: { + [1656330387.470765][9924:9924] CHIP:DMG: Status = 0x00 (SUCCESS), + [1656330387.470792][9924:9924] CHIP:DMG: InteractionModelRevision = 1 + [1656330387.470816][9924:9924] CHIP:DMG: } + [1656330387.470842][9924:9924] CHIP:IM: Received status response, status is 0x00 (SUCCESS) + + + ./chip-tool onoff subscribe start-up-on-off 100 1000 1 1 + [1656330608.134217][9924:9924] CHIP:EM: Removed CHIP MessageCounter:188047438 from RetransTable on exchange 44706r + [1656330608.134265][9924:9924] CHIP:DMG: StatusResponseMessage = + [1656330608.134293][9924:9924] CHIP:DMG: { + [1656330608.134319][9924:9924] CHIP:DMG: Status = 0x00 (SUCCESS), + [1656330608.134345][9924:9924] CHIP:DMG: InteractionModelRevision = 1 + [1656330608.134370][9924:9924] CHIP:DMG: } + [1656330608.134395][9924:9924] CHIP:IM: Received status response, status is 0x00 (SUCCESS) + [1656330608.134434][9924:9924] CHIP:DMG: Refresh Subscribe Sync Timer with max 1000 seconds + + ./chip-tool any subscribe-by-id 0x0008 0x0010 100 1000 1 1 + [1656330747.137973][9924:9924] CHIP:DMG: StatusResponseMessage = + [1656330747.138003][9924:9924] CHIP:DMG: { + [1656330747.138031][9924:9924] CHIP:DMG: Status = 0x00 (SUCCESS), + [1656330747.138059][9924:9924] CHIP:DMG: InteractionModelRevision = 1 + [1656330747.138085][9924:9924] CHIP:DMG: } + [1656330747.138112][9924:9924] CHIP:IM: Received status response, status is 0x00 (SUCCESS) + [1656330747.138152][9924:9924] CHIP:DMG: Refresh Subscribe Sync Timer with max 1000 seconds + + + + ./chip-tool basic subscribe node-label 100 1000 1 0 + [1656330747.137973][9924:9924] CHIP:DMG: StatusResponseMessage = + [1656330747.138003][9924:9924] CHIP:DMG: { + [1656330747.138031][9924:9924] CHIP:DMG: Status = 0x00 (SUCCESS), + [1656330747.138059][9924:9924] CHIP:DMG: InteractionModelRevision = 1 + [1656330747.138085][9924:9924] CHIP:DMG: } + [1656330747.138112][9924:9924] CHIP:IM: Received status response, status is 0x00 (SUCCESS) + [1656330747.138152][9924:9924] CHIP:DMG: Refresh Subscribe Sync Timer with max 1000 seconds + + ./chip-tool levelcontrol subscribe options 100 1000 1 0 + [1656331434.214406][9924:9924] CHIP:DMG: StatusResponseMessage = + [1656331434.214433][9924:9924] CHIP:DMG: { + [1656331434.214456][9924:9924] CHIP:DMG: Status = 0x00 (SUCCESS), + [1656331434.214481][9924:9924] CHIP:DMG: InteractionModelRevision = 1 + [1656331434.214505][9924:9924] CHIP:DMG: } + [1656331434.214529][9924:9924] CHIP:IM: Received status response, status is 0x00 (SUCCESS) + [1656331434.214565][9924:9924] CHIP:DMG: Refresh Subscribe Sync Timer with max 1000 seconds + + + ./chip-tool basic subscribe location 100 1000 1 0 + [1656331099.398232][9924:9924] CHIP:DMG: StatusResponseMessage = + [1656331099.398259][9924:9924] CHIP:DMG: { + [1656331099.398283][9924:9924] CHIP:DMG: Status = 0x00 (SUCCESS), + [1656331099.398307][9924:9924] CHIP:DMG: InteractionModelRevision = 1 + [1656331099.398330][9924:9924] CHIP:DMG: } + [1656331099.398353][9924:9924] CHIP:IM: Received status response, status is 0x00 (SUCCESS) + [1656331099.398390][9924:9924] CHIP:DMG: Refresh Subscribe Sync Timer with max 1000 seconds disabled: true - label: "RD1, RD2, RD3, RD4, RD5 send 3 Subscribe request messages each with - each of them having 3 different paths. + Verify that the subscription - request messages from RD1, RD2, RD3, RD4 and RD5 succeed. + Once all - the Subscription Requests are activated, send a Subscribe request - messages having 3 different paths from RD1A to the DUT." + each of them having 3 different paths. Verify that the subscription + request messages from RD1, RD2, RD3, RD4 and RD5 succeed. Once all the + Subscription Requests are activated, send a Subscribe request messages + having 3 different paths from RD1A to the DUT." verification: | - + Waiting For Test-Plan author for more input. Verification step upadte is in progress disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_LVL_2_1.yaml b/src/app/tests/suites/certification/Test_TC_LVL_2_1.yaml index 032f2170c53ed7..9290f5798aad21 100644 --- a/src/app/tests/suites/certification/Test_TC_LVL_2_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_LVL_2_1.yaml @@ -51,6 +51,7 @@ tests: value: 100 - label: "Reads the CurrentLevel attribute" + PICS: LVL.S.A0000 command: "readAttribute" attribute: "current level" response: @@ -60,6 +61,7 @@ tests: type: uint8 - label: "Reads the RemainingTime attribute" + PICS: LVL.S.A0001 command: "readAttribute" attribute: "remaining time" response: @@ -68,7 +70,7 @@ tests: type: uint16 - label: "Reads the MinLevel attribute" - PICS: LVL.S.F01 + PICS: LVL.S.A0002 command: "readAttribute" attribute: "min level" response: @@ -80,7 +82,7 @@ tests: maxValue: 1 - label: "Reads the MinLevel attribute" - PICS: " !LVL.S.F01 " + PICS: LVL.S.A0002 command: "readAttribute" attribute: "min level" response: @@ -91,7 +93,7 @@ tests: maxValue: 1 - label: "Reads the MaxLevel attribute" - PICS: LVL.S.F01 + PICS: LVL.S.A0003 command: "readAttribute" attribute: "max level" response: @@ -103,7 +105,7 @@ tests: maxValue: 254 - label: "Reads the MaxLevel attribute" - PICS: " !LVL.S.F01 " + PICS: LVL.S.A0003 command: "readAttribute" attribute: "max level" response: @@ -134,6 +136,7 @@ tests: maxValue: MaxLevelValue1 - label: "Reads the CurrentFrequency attribute" + PICS: LVL.S.A0004 command: "readAttribute" attribute: "current frequency" response: @@ -141,6 +144,7 @@ tests: type: uint16 - label: "Reads the MinFrequency attribute" + PICS: LVL.S.A0005 command: "readAttribute" attribute: "min frequency" response: @@ -149,6 +153,7 @@ tests: type: uint16 - label: "Reads the MaxFrequency attribute" + PICS: LVL.S.A0006 command: "readAttribute" attribute: "max frequency" response: @@ -157,6 +162,7 @@ tests: type: uint16 - label: "Step 7b & 7C Reads the CurrentFrequency attribute" + PICS: LVL.S.A0004 && LVL.S.A0005 command: "readAttribute" attribute: "current frequency" response: @@ -166,6 +172,7 @@ tests: maxValue: MaxFrequencyValue - label: "Reads the OnOffTransitionTime attribute" + PICS: LVL.S.A0010 command: "readAttribute" attribute: "on off transition time" response: @@ -194,6 +201,7 @@ tests: maxValue: MaxLevelValue1 - label: "Reads the OnTransitionTime attribute " + PICS: LVL.S.A0012 command: "readAttribute" attribute: "on transition time" response: @@ -201,6 +209,7 @@ tests: type: uint16 - label: "Reads the OffTransitionTime attribute " + PICS: LVL.S.A0013 command: "readAttribute" attribute: "off transition time" response: @@ -208,6 +217,7 @@ tests: type: uint16 - label: "Reads the DefaultMoveRate attribute " + PICS: LVL.S.A0014 command: "readAttribute" attribute: "default move rate" response: @@ -215,6 +225,7 @@ tests: type: uint8 - label: "Reads the Options attribute " + PICS: LVL.S.A000f command: "readAttribute" attribute: "options" response: @@ -223,6 +234,7 @@ tests: type: map8 - label: "Reads the StartUpCurrentLevel attribute " + PICS: LVL.S.A4000 command: "readAttribute" attribute: "start up current level" response: diff --git a/src/app/tests/suites/certification/Test_TC_LVL_2_2.yaml b/src/app/tests/suites/certification/Test_TC_LVL_2_2.yaml index d2f3a406b2ed52..27fba174766849 100644 --- a/src/app/tests/suites/certification/Test_TC_LVL_2_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_LVL_2_2.yaml @@ -29,6 +29,7 @@ tests: value: nodeId - label: "Reads the OnOffTransitionTime attribute from the DUT" + PICS: LVL.S.A0010 command: "readAttribute" attribute: "on off transition time" response: @@ -37,12 +38,14 @@ tests: type: uint16 - label: "writes the OnOffTransitionTime attribute on the DUT" + PICS: LVL.S.A0010 command: "writeAttribute" attribute: "on off transition time" arguments: value: 10 - label: "Reads the OnOffTransitionTime attribute from the DUT" + PICS: LVL.S.A0010 command: "readAttribute" attribute: "on off transition time" response: @@ -51,6 +54,7 @@ tests: type: uint16 - label: "Reads the OnLevel attribute from the DUT" + PICS: LVL.S.A0011 command: "readAttribute" attribute: "on level" response: @@ -59,12 +63,14 @@ tests: type: uint8 - label: "writes the OnLevel attribute on the DUT" + PICS: LVL.S.A0011 command: "writeAttribute" attribute: "on level" arguments: value: 254 - label: "Reads the OnLevel attribute from the DUT" + PICS: LVL.S.A0011 command: "readAttribute" attribute: "on level" response: @@ -74,6 +80,7 @@ tests: notValue: OnLevelValue - label: "Reads the OnTransitionTime attribute from the DUT" + PICS: LVL.S.A0012 command: "readAttribute" attribute: "on transition time" response: @@ -82,12 +89,14 @@ tests: type: uint16 - label: "Writes the OnTransitionTime attribute on the DUT" + PICS: LVL.S.A0012 command: "writeAttribute" attribute: "on transition time" arguments: value: 100 - label: "Reads the OnTransitionTime attribute from the DUT" + PICS: LVL.S.A0012 command: "readAttribute" attribute: "on transition time" response: @@ -97,6 +106,7 @@ tests: notValue: OnTransitionTimeValue - label: "Reads the OffTransitionTime attribute from the DUT" + PICS: LVL.S.A0013 command: "readAttribute" attribute: "off transition time" response: @@ -105,12 +115,14 @@ tests: type: uint16 - label: "Writes the OffTransitionTime attribute on the DUT" + PICS: LVL.S.A0013 command: "writeAttribute" attribute: "off transition time" arguments: value: 100 - label: "Reads the OffTransitionTime attribute from the DUT" + PICS: LVL.S.A0013 command: "readAttribute" attribute: "off transition time" response: @@ -120,6 +132,7 @@ tests: notValue: OffTransitionTimeValue - label: "Reads the DefaultMoveRate attribute from the DUT" + PICS: LVL.S.A0014 command: "readAttribute" attribute: "default move rate" response: @@ -128,12 +141,14 @@ tests: type: uint8 - label: "Writes the DefaultMoveRate attribute on the DUT" + PICS: LVL.S.A0014 command: "writeAttribute" attribute: "default move rate" arguments: value: 100 - label: "Reads the DefaultMoveRate attribute from the DUT" + PICS: LVL.S.A0014 command: "readAttribute" attribute: "default move rate" response: @@ -142,6 +157,7 @@ tests: type: uint8 - label: "Reads the StartUpCurrentLevel attribute from the DUT" + PICS: LVL.S.A4000 command: "readAttribute" attribute: "start up current level" response: @@ -150,12 +166,14 @@ tests: type: uint8 - label: "writes the StartUpCurrentLevel attribute on the DUT" + PICS: LVL.S.A4000 command: "writeAttribute" attribute: "start up current level" arguments: value: 254 - label: "reads the StartUpCurrentLevel attribute from the DUT" + PICS: LVL.S.A4000 command: "readAttribute" attribute: "start up current level" response: @@ -165,6 +183,7 @@ tests: notValue: StartUpCurrentLevelValue - label: "writes back default value of OnOffTransitionTime attribute" + PICS: LVL.S.A0010 command: "writeAttribute" attribute: "on off transition time" arguments: diff --git a/src/app/tests/suites/certification/Test_TC_LVL_2_3.yaml b/src/app/tests/suites/certification/Test_TC_LVL_2_3.yaml index 710e2ed32c5c82..4393b9c2355cbe 100644 --- a/src/app/tests/suites/certification/Test_TC_LVL_2_3.yaml +++ b/src/app/tests/suites/certification/Test_TC_LVL_2_3.yaml @@ -13,7 +13,7 @@ # limitations under the License. # Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default -name: 24.2.3. [TC-LVL-2.3] Attributes with client as DUT +name: 22.2.3. [TC-LVL-2.3] Attributes with DUT as client config: nodeId: 0x12344321 @@ -22,106 +22,277 @@ config: tests: - label: - "DUT reads all supported mandatory attributes from TH once at a time - in a manufacturer specific order" + "DUT reads all supported mandatory attributes from TH one at a time in + a manufacturer specific order" verification: | - ./chip-tool levelcontrol read current-level 112233 1 - [1636147421.294296][5294:5299] CHIP:ZCL: ReadAttributesResponse: - [1636147421.294322][5294:5299] CHIP:ZCL: ClusterId: 0x0000_0008 - [1636147421.294348][5294:5299] CHIP:ZCL: attributeId: 0x0000_0000 - [1636147421.294371][5294:5299] CHIP:ZCL: status: Success (0x0000) - [1636147421.294394][5294:5299] CHIP:ZCL: attribute TLV Type: 0x04 - - ./chip-tool levelcontrol read on-level 112233 1 - [1636147635.980414][5350:5355] CHIP:ZCL: ReadAttributesResponse: - [1636147635.980436][5350:5355] CHIP:ZCL: ClusterId: 0x0000_0008 - [1636147635.980460][5350:5355] CHIP:ZCL: attributeId: 0x0000_0010 - [1636147635.980481][5350:5355] CHIP:ZCL: status: Success (0x0000) - [1636147635.980501][5350:5355] CHIP:ZCL: attribute TLV Type: 0x04 - - ./chip-tool levelcontrol read options 112233 1 - [1636147755.811403][5387:5392] CHIP:ZCL: ReadAttributesResponse: - [1636147755.811425][5387:5392] CHIP:ZCL: ClusterId: 0x0000_0008 - [1636147755.811446][5387:5392] CHIP:ZCL: attributeId: 0x0000_000F - [1636147755.811464][5387:5392] CHIP:ZCL: status: Success (0x0000) - [1636147755.811485][5387:5392] CHIP:ZCL: attribute TLV Type: 0x04 + ./chip-tool levelcontrol read current-level 1 1 + + [1652363362.205813][2335:2335] CHIP:DMG: ReadRequestMessage = + [1652363362.205844][2335:2335] CHIP:DMG: { + [1652363362.205947][2335:2335] CHIP:DMG: AttributePathIBs = + [1652363362.205981][2335:2335] CHIP:DMG: [ + [1652363362.206009][2335:2335] CHIP:DMG: AttributePathIB = + [1652363362.206048][2335:2335] CHIP:DMG: { + [1652363362.206083][2335:2335] CHIP:DMG: Endpoint = 0x1, + [1652363362.206120][2335:2335] CHIP:DMG: Cluster = 0x8, + [1652363362.206156][2335:2335] CHIP:DMG: Attribute = 0x0000_0000, + [1652363362.206189][2335:2335] CHIP:DMG: } + [1652363362.206221][2335:2335] CHIP:DMG: + [1652363362.206252][2335:2335] CHIP:DMG: ], + [1652363362.206285][2335:2335] CHIP:DMG: + [1652363362.206317][2335:2335] CHIP:DMG: isFabricFiltered = true, + [1652363362.206346][2335:2335] CHIP:DMG: InteractionModelRevision = 1 + [1652363362.206373][2335:2335] CHIP:DMG: }, + + ./chip-tool levelcontrol read on-level 1 1 + [1652363399.089823][2335:2335] CHIP:DMG: ReadRequestMessage = + [1652363399.089855][2335:2335] CHIP:DMG: { + [1652363399.089882][2335:2335] CHIP:DMG: AttributePathIBs = + [1652363399.089915][2335:2335] CHIP:DMG: [ + [1652363399.089945][2335:2335] CHIP:DMG: AttributePathIB = + [1652363399.089981][2335:2335] CHIP:DMG: { + [1652363399.090018][2335:2335] CHIP:DMG: Endpoint = 0x1, + [1652363399.090056][2335:2335] CHIP:DMG: Cluster = 0x8, + [1652363399.090098][2335:2335] CHIP:DMG: Attribute = 0x0000_0011, + [1652363399.090135][2335:2335] CHIP:DMG: } + [1652363399.090172][2335:2335] CHIP:DMG: + [1652363399.090206][2335:2335] CHIP:DMG: ], + [1652363399.090241][2335:2335] CHIP:DMG: + [1652363399.090273][2335:2335] CHIP:DMG: isFabricFiltered = true, + [1652363399.090305][2335:2335] CHIP:DMG: InteractionModelRevision = 1 + [1652363399.090334][2335:2335] CHIP:DMG: }, + + ./chip-tool levelcontrol read options 1 1 + [1652363446.883210][2335:2335] CHIP:DMG: ReadRequestMessage = + [1652363446.883245][2335:2335] CHIP:DMG: { + [1652363446.883274][2335:2335] CHIP:DMG: AttributePathIBs = + [1652363446.883308][2335:2335] CHIP:DMG: [ + [1652363446.883341][2335:2335] CHIP:DMG: AttributePathIB = + [1652363446.883371][2335:2335] CHIP:DMG: { + [1652363446.883401][2335:2335] CHIP:DMG: Endpoint = 0x1, + [1652363446.883430][2335:2335] CHIP:DMG: Cluster = 0x8, + [1652363446.883521][2335:2335] CHIP:DMG: Attribute = 0x0000_000F, + [1652363446.883554][2335:2335] CHIP:DMG: } + [1652363446.883584][2335:2335] CHIP:DMG: + [1652363446.883611][2335:2335] CHIP:DMG: ], + [1652363446.883639][2335:2335] CHIP:DMG: + [1652363446.883666][2335:2335] CHIP:DMG: isFabricFiltered = true, + [1652363446.883691][2335:2335] CHIP:DMG: InteractionModelRevision = 1 + [1652363446.883714][2335:2335] CHIP:DMG: }, disabled: true - label: - "DUT reads all supported optional attributes from TH once at a time in + "DUT reads all supported optional attributes from TH one at a time in a manufacturer specific order" verification: | - "./chip-tool levelcontrol read remaining-time 112233 1 - [1636147460.095983][5305:5310] CHIP:ZCL: ReadAttributesResponse: - [1636147460.096008][5305:5310] CHIP:ZCL: ClusterId: 0x0000_0008 - [1636147460.096035][5305:5310] CHIP:ZCL: attributeId: 0x0000_0001 - [1636147460.096060][5305:5310] CHIP:ZCL: status: Success (0x0000) - [1636147460.096084][5305:5310] CHIP:ZCL: attribute TLV Type: 0x04" - "./chip-tool levelcontrol read min-level 112233 1 - [1636147490.255968][5312:5318] CHIP:ZCL: ReadAttributesResponse: - [1636147490.255991][5312:5318] CHIP:ZCL: ClusterId: 0x0000_0008 - [1636147490.256015][5312:5318] CHIP:ZCL: attributeId: 0x0000_0002 - [1636147490.256037][5312:5318] CHIP:ZCL: status: Success (0x0000) - [1636147490.256058][5312:5318] CHIP:ZCL: attribute TLV Type: 0x04" - "./chip-tool levelcontrol read max-level 112233 1 - [1636147512.529027][5321:5326] CHIP:ZCL: ReadAttributesResponse: - [1636147512.529047][5321:5326] CHIP:ZCL: ClusterId: 0x0000_0008 - [1636147512.529068][5321:5326] CHIP:ZCL: attributeId: 0x0000_0003 - [1636147512.529087][5321:5326] CHIP:ZCL: status: Success (0x0000) - [1636147512.529106][5321:5326] CHIP:ZCL: attribute TLV Type: 0x04" - "./chip-tool levelcontrol read current-frequency 112233 1 - [1636147546.233970][5328:5333] CHIP:ZCL: ReadAttributesResponse: - [1636147546.233992][5328:5333] CHIP:ZCL: ClusterId: 0x0000_0008 - [1636147546.234016][5328:5333] CHIP:ZCL: attributeId: 0x0000_0004 - [1636147546.234035][5328:5333] CHIP:ZCL: status: Success (0x0000) - [1636147546.234055][5328:5333] CHIP:ZCL: attribute TLV Type: 0x04" - "./chip-tool levelcontrol read min-frequency 112233 1 - [1636147579.663628][5335:5340] CHIP:ZCL: ReadAttributesResponse: - [1636147579.663653][5335:5340] CHIP:ZCL: ClusterId: 0x0000_0008 - [1636147579.663679][5335:5340] CHIP:ZCL: attributeId: 0x0000_0005 - [1636147579.663703][5335:5340] CHIP:ZCL: status: Success (0x0000) - [1636147579.663726][5335:5340] CHIP:ZCL: attribute TLV Type: 0x04" - "./chip-tool levelcontrol read max-frequency 112233 1 - [1636147611.528718][5342:5347] CHIP:ZCL: ReadAttributesResponse: - [1636147611.528741][5342:5347] CHIP:ZCL: ClusterId: 0x0000_0008 - [1636147611.528761][5342:5347] CHIP:ZCL: attributeId: 0x0000_0006 - [1636147611.528781][5342:5347] CHIP:ZCL: status: Success (0x0000) - [1636147611.528801][5342:5347] CHIP:ZCL: attribute TLV Type: 0x04" - "./chip-tool levelcontrol read on-off-transition-time 112233 1 - [1636147635.980414][5350:5355] CHIP:ZCL: ReadAttributesResponse: - [1636147635.980436][5350:5355] CHIP:ZCL: ClusterId: 0x0000_0008 - [1636147635.980460][5350:5355] CHIP:ZCL: attributeId: 0x0000_0010 - [1636147635.980481][5350:5355] CHIP:ZCL: status: Success (0x0000) - [1636147635.980501][5350:5355] CHIP:ZCL: attribute TLV Type: 0x04" - "./chip-tool levelcontrol read on-transition-time 112233 1 - [1636147685.431399][5364:5369] CHIP:ZCL: ReadAttributesResponse: - [1636147685.431422][5364:5369] CHIP:ZCL: ClusterId: 0x0000_0008 - [1636147685.431451][5364:5369] CHIP:ZCL: attributeId: 0x0000_0012 - [1636147685.431474][5364:5369] CHIP:ZCL: status: Success (0x0000) - [1636147685.431496][5364:5369] CHIP:ZCL: attribute TLV Type: 0x04" - "./chip-tool levelcontrol read off-transition-time 112233 1 - [1636147702.981073][5371:5376] CHIP:ZCL: ReadAttributesResponse: - [1636147702.981098][5371:5376] CHIP:ZCL: ClusterId: 0x0000_0008 - [1636147702.981125][5371:5376] CHIP:ZCL: attributeId: 0x0000_0013 - [1636147702.981149][5371:5376] CHIP:ZCL: status: Success (0x0000) - [1636147702.981172][5371:5376] CHIP:ZCL: attribute TLV Type: 0x04" - "./chip-tool levelcontrol read default-move-rate 112233 1 - [1636147727.632177][5379:5384] CHIP:ZCL: ReadAttributesResponse: - [1636147727.632201][5379:5384] CHIP:ZCL: ClusterId: 0x0000_0008 - [1636147727.632224][5379:5384] CHIP:ZCL: attributeId: 0x0000_0014 - [1636147727.632244][5379:5384] CHIP:ZCL: status: Success (0x0000) - [1636147727.632264][5379:5384] CHIP:ZCL: attribute TLV Type: 0x04" - "./chip-tool levelcontrol read start-up-current-level 112233 1 - [1636147777.843632][5395:5400] CHIP:ZCL: ReadAttributesResponse: - [1636147777.843657][5395:5400] CHIP:ZCL: ClusterId: 0x0000_0008 - [1636147777.843684][5395:5400] CHIP:ZCL: attributeId: 0x0000_4000 - [1636147777.843708][5395:5400] CHIP:ZCL: status: Success (0x0000) - [1636147777.843730][5395:5400] CHIP:ZCL: attribute TLV Type: 0x04" + ./chip-tool levelcontrol read remaining-time 112233 1 + + [1652363491.826059][2335:2335] CHIP:DMG: ReadRequestMessage = + [1652363491.826085][2335:2335] CHIP:DMG: { + [1652363491.826107][2335:2335] CHIP:DMG: AttributePathIBs = + [1652363491.826132][2335:2335] CHIP:DMG: [ + [1652363491.826155][2335:2335] CHIP:DMG: AttributePathIB = + [1652363491.826183][2335:2335] CHIP:DMG: { + [1652363491.826214][2335:2335] CHIP:DMG: Endpoint = 0x1, + [1652363491.826246][2335:2335] CHIP:DMG: Cluster = 0x8, + [1652363491.826279][2335:2335] CHIP:DMG: Attribute = 0x0000_0001, + [1652363491.826307][2335:2335] CHIP:DMG: } + [1652363491.826337][2335:2335] CHIP:DMG: + [1652363491.826365][2335:2335] CHIP:DMG: ], + [1652363491.826393][2335:2335] CHIP:DMG: + [1652363491.826419][2335:2335] CHIP:DMG: isFabricFiltered = true, + [1652363491.826441][2335:2335] CHIP:DMG: InteractionModelRevision = 1 + [1652363491.826461][2335:2335] CHIP:DMG: }, + + + + ./chip-tool levelcontrol read min-level 112233 1 + [1652363537.483192][2335:2335] CHIP:DMG: ReadRequestMessage = + [1652363537.483221][2335:2335] CHIP:DMG: { + [1652363537.483246][2335:2335] CHIP:DMG: AttributePathIBs = + [1652363537.483275][2335:2335] CHIP:DMG: [ + [1652363537.483303][2335:2335] CHIP:DMG: AttributePathIB = + [1652363537.483337][2335:2335] CHIP:DMG: { + [1652363537.483369][2335:2335] CHIP:DMG: Endpoint = 0x1, + [1652363537.483404][2335:2335] CHIP:DMG: Cluster = 0x8, + [1652363537.483442][2335:2335] CHIP:DMG: Attribute = 0x0000_0002, + [1652363537.483473][2335:2335] CHIP:DMG: } + [1652363537.483512][2335:2335] CHIP:DMG: + [1652363537.483541][2335:2335] CHIP:DMG: ], + [1652363537.483573][2335:2335] CHIP:DMG: + [1652363537.483604][2335:2335] CHIP:DMG: isFabricFiltered = true, + [1652363537.483633][2335:2335] CHIP:DMG: InteractionModelRevision = 1 + [1652363537.483659][2335:2335] CHIP:DMG: }, + + ./chip-tool levelcontrol read max-level 1 1 + [1652363573.821260][2335:2335] CHIP:DMG: ReadRequestMessage = + [1652363573.821286][2335:2335] CHIP:DMG: { + [1652363573.821307][2335:2335] CHIP:DMG: AttributePathIBs = + [1652363573.821333][2335:2335] CHIP:DMG: [ + [1652363573.821357][2335:2335] CHIP:DMG: AttributePathIB = + [1652363573.821387][2335:2335] CHIP:DMG: { + [1652363573.821417][2335:2335] CHIP:DMG: Endpoint = 0x1, + [1652363573.821448][2335:2335] CHIP:DMG: Cluster = 0x8, + [1652363573.821479][2335:2335] CHIP:DMG: Attribute = 0x0000_0003, + [1652363573.821508][2335:2335] CHIP:DMG: } + [1652363573.821537][2335:2335] CHIP:DMG: + [1652363573.821564][2335:2335] CHIP:DMG: ], + [1652363573.821592][2335:2335] CHIP:DMG: + [1652363573.821615][2335:2335] CHIP:DMG: isFabricFiltered = true, + [1652363573.821636][2335:2335] CHIP:DMG: InteractionModelRevision = 1 + [1652363573.821659][2335:2335] CHIP:DMG: }, + + ./chip-tool levelcontrol read current-frequency 112233 1 + [1652363623.270645][2335:2335] CHIP:DMG: ReadRequestMessage = + [1652363623.270675][2335:2335] CHIP:DMG: { + [1652363623.270696][2335:2335] CHIP:DMG: AttributePathIBs = + [1652363623.270723][2335:2335] CHIP:DMG: [ + [1652363623.270746][2335:2335] CHIP:DMG: AttributePathIB = + [1652363623.270775][2335:2335] CHIP:DMG: { + [1652363623.270805][2335:2335] CHIP:DMG: Endpoint = 0x1, + [1652363623.270834][2335:2335] CHIP:DMG: Cluster = 0x8, + [1652363623.270862][2335:2335] CHIP:DMG: Attribute = 0x0000_0004, + [1652363623.270891][2335:2335] CHIP:DMG: } + [1652363623.270918][2335:2335] CHIP:DMG: + [1652363623.270943][2335:2335] CHIP:DMG: ], + [1652363623.270971][2335:2335] CHIP:DMG: + [1652363623.270997][2335:2335] CHIP:DMG: isFabricFiltered = true, + [1652363623.271022][2335:2335] CHIP:DMG: InteractionModelRevision = 1 + [1652363623.271046][2335:2335] CHIP:DMG: }, + + ./chip-tool levelcontrol read min-frequency 1 1 + [1652363650.520343][2335:2335] CHIP:DMG: ReadRequestMessage = + [1652363650.520370][2335:2335] CHIP:DMG: { + [1652363650.520393][2335:2335] CHIP:DMG: AttributePathIBs = + [1652363650.520421][2335:2335] CHIP:DMG: [ + [1652363650.520447][2335:2335] CHIP:DMG: AttributePathIB = + [1652363650.520479][2335:2335] CHIP:DMG: { + [1652363650.520510][2335:2335] CHIP:DMG: Endpoint = 0x1, + [1652363650.520564][2335:2335] CHIP:DMG: Cluster = 0x8, + [1652363650.520597][2335:2335] CHIP:DMG: Attribute = 0x0000_0005, + [1652363650.520629][2335:2335] CHIP:DMG: } + [1652363650.520660][2335:2335] CHIP:DMG: + [1652363650.520688][2335:2335] CHIP:DMG: ], + [1652363650.520718][2335:2335] CHIP:DMG: + [1652363650.520746][2335:2335] CHIP:DMG: isFabricFiltered = true, + [1652363650.520773][2335:2335] CHIP:DMG: InteractionModelRevision = 1 + [1652363650.520797][2335:2335] CHIP:DMG: }, + + ./chip-tool levelcontrol read max-frequency 1 1 + [1652363692.622936][2335:2335] CHIP:IM: Received Read request + [1652363692.623003][2335:2335] CHIP:DMG: ReadRequestMessage = + [1652363692.623038][2335:2335] CHIP:DMG: { + [1652363692.623068][2335:2335] CHIP:DMG: AttributePathIBs = + [1652363692.623103][2335:2335] CHIP:DMG: [ + [1652363692.623136][2335:2335] CHIP:DMG: AttributePathIB = + [1652363692.623173][2335:2335] CHIP:DMG: { + [1652363692.623209][2335:2335] CHIP:DMG: Endpoint = 0x1, + [1652363692.623240][2335:2335] CHIP:DMG: Cluster = 0x8, + [1652363692.623272][2335:2335] CHIP:DMG: Attribute = 0x0000_0006, + [1652363692.623363][2335:2335] CHIP:DMG: } + [1652363692.623395][2335:2335] CHIP:DMG: + [1652363692.623423][2335:2335] CHIP:DMG: ], + [1652363692.623452][2335:2335] CHIP:DMG: + [1652363692.623479][2335:2335] CHIP:DMG: isFabricFiltered = true, + [1652363692.623505][2335:2335] CHIP:DMG: InteractionModelRevision = 1 + [1652363692.623528][2335:2335] CHIP:DMG: }, + + ./chip-tool levelcontrol read on-off-transition-time 1 1 + [1652363727.411475][2335:2335] CHIP:IM: Received Read request + [1652363727.411532][2335:2335] CHIP:DMG: ReadRequestMessage = + [1652363727.411561][2335:2335] CHIP:DMG: { + [1652363727.411586][2335:2335] CHIP:DMG: AttributePathIBs = + [1652363727.411615][2335:2335] CHIP:DMG: [ + [1652363727.411643][2335:2335] CHIP:DMG: AttributePathIB = + [1652363727.411678][2335:2335] CHIP:DMG: { + [1652363727.411710][2335:2335] CHIP:DMG: Endpoint = 0x1, + [1652363727.411744][2335:2335] CHIP:DMG: Cluster = 0x8, + [1652363727.411776][2335:2335] CHIP:DMG: Attribute = 0x0000_0010, + [1652363727.411808][2335:2335] CHIP:DMG: } + [1652363727.411840][2335:2335] CHIP:DMG: + [1652363727.411871][2335:2335] CHIP:DMG: ], + [1652363727.411904][2335:2335] CHIP:DMG: + [1652363727.411934][2335:2335] CHIP:DMG: isFabricFiltered = true, + [1652363727.411963][2335:2335] CHIP:DMG: InteractionModelRevision = 1 + [1652363727.411989][2335:2335] CHIP:DMG: }, + + ./chip-tool levelcontrol read on-transition-time 1 1 + [1652363775.374700][2335:2335] CHIP:DMG: ReadRequestMessage = + [1652363775.374738][2335:2335] CHIP:DMG: { + [1652363775.374767][2335:2335] CHIP:DMG: AttributePathIBs = + [1652363775.374802][2335:2335] CHIP:DMG: [ + [1652363775.374834][2335:2335] CHIP:DMG: AttributePathIB = + [1652363775.374866][2335:2335] CHIP:DMG: { + [1652363775.374897][2335:2335] CHIP:DMG: Endpoint = 0x1, + [1652363775.374935][2335:2335] CHIP:DMG: Cluster = 0x8, + [1652363775.375062][2335:2335] CHIP:DMG: Attribute = 0x0000_0012, + [1652363775.375091][2335:2335] CHIP:DMG: } + [1652363775.375119][2335:2335] CHIP:DMG: + [1652363775.375144][2335:2335] CHIP:DMG: ], + [1652363775.375172][2335:2335] CHIP:DMG: + [1652363775.375198][2335:2335] CHIP:DMG: isFabricFiltered = true, + [1652363775.375224][2335:2335] CHIP:DMG: InteractionModelRevision = 1 + [1652363775.375247][2335:2335] CHIP:DMG: }, + + ./chip-tool levelcontrol read off-transition-time 1 1 + [1652363859.595028][2335:2335] CHIP:DMG: ReadRequestMessage = + [1652363859.595056][2335:2335] CHIP:DMG: { + [1652363859.595079][2335:2335] CHIP:DMG: AttributePathIBs = + [1652363859.595108][2335:2335] CHIP:DMG: [ + [1652363859.595133][2335:2335] CHIP:DMG: AttributePathIB = + [1652363859.595164][2335:2335] CHIP:DMG: { + [1652363859.595195][2335:2335] CHIP:DMG: Endpoint = 0x1, + [1652363859.595228][2335:2335] CHIP:DMG: Cluster = 0x8, + [1652363859.595263][2335:2335] CHIP:DMG: Attribute = 0x0000_0013, + [1652363859.595296][2335:2335] CHIP:DMG: } + [1652363859.595403][2335:2335] CHIP:DMG: + [1652363859.595433][2335:2335] CHIP:DMG: ], + [1652363859.595463][2335:2335] CHIP:DMG: + [1652363859.595491][2335:2335] CHIP:DMG: isFabricFiltered = true, + [1652363859.595518][2335:2335] CHIP:DMG: InteractionModelRevision = 1 + [1652363859.595543][2335:2335] CHIP:DMG: }, + + ./chip-tool levelcontrol read default-move-rate 1 1 + [1652363891.332385][2335:2335] CHIP:DMG: ReadRequestMessage = + [1652363891.332411][2335:2335] CHIP:DMG: { + [1652363891.332432][2335:2335] CHIP:DMG: AttributePathIBs = + [1652363891.332461][2335:2335] CHIP:DMG: [ + [1652363891.332492][2335:2335] CHIP:DMG: AttributePathIB = + [1652363891.332540][2335:2335] CHIP:DMG: { + [1652363891.332577][2335:2335] CHIP:DMG: Endpoint = 0x1, + [1652363891.332608][2335:2335] CHIP:DMG: Cluster = 0x8, + [1652363891.332640][2335:2335] CHIP:DMG: Attribute = 0x0000_0014, + [1652363891.332666][2335:2335] CHIP:DMG: } + [1652363891.332696][2335:2335] CHIP:DMG: + [1652363891.332782][2335:2335] CHIP:DMG: ], + [1652363891.332814][2335:2335] CHIP:DMG: + [1652363891.332843][2335:2335] CHIP:DMG: isFabricFiltered = true, + [1652363891.332870][2335:2335] CHIP:DMG: InteractionModelRevision = 1 + [1652363891.332894][2335:2335] CHIP:DMG: }, + + ./chip-tool levelcontrol read start-up-current-level 1 1 + [1652363926.814302][2335:2335] CHIP:IM: Received Read request + [1652363926.814367][2335:2335] CHIP:DMG: ReadRequestMessage = + [1652363926.814402][2335:2335] CHIP:DMG: { + [1652363926.814431][2335:2335] CHIP:DMG: AttributePathIBs = + [1652363926.814519][2335:2335] CHIP:DMG: [ + [1652363926.814553][2335:2335] CHIP:DMG: AttributePathIB = + [1652363926.814600][2335:2335] CHIP:DMG: { + [1652363926.814639][2335:2335] CHIP:DMG: Endpoint = 0x1, + [1652363926.814683][2335:2335] CHIP:DMG: Cluster = 0x8, + [1652363926.814725][2335:2335] CHIP:DMG: Attribute = 0x0000_4000, + [1652363926.814764][2335:2335] CHIP:DMG: } + [1652363926.814804][2335:2335] CHIP:DMG: + [1652363926.814831][2335:2335] CHIP:DMG: ], + [1652363926.814859][2335:2335] CHIP:DMG: + [1652363926.814886][2335:2335] CHIP:DMG: isFabricFiltered = true, + [1652363926.814987][2335:2335] CHIP:DMG: InteractionModelRevision = 1 + [1652363926.815014][2335:2335] CHIP:DMG: }, disabled: true - label: "DUT writes a suitable value to all supported mandatory attributes on - the TH once at a time in a manufacturer specific order" + the TH one at a time in a manufacturer specific order" verification: | "./chip-tool levelcontrol write on-level 5 (replace with your value) 123123 1 [1636522781.877694][6671:6676] CHIP:DMG: WriteResponseMessage = @@ -154,36 +325,34 @@ tests: - label: "DUT writes a suitable value to all supported optional attributes on - the TH once at a time in a manufacturer specific order" + the TH one at a time in a manufacturer specific order" verification: | - "./chip-tool levelcontrol write on-off-transition-time 5 (replace with your own value) 123123 1 - [1636522561.168841][6649:6654] CHIP:DMG: WriteResponseMessage = - [1636522561.168867][6649:6654] CHIP:DMG: { - [1636522561.168889][6649:6654] CHIP:DMG: AttributeStatuses = - [1636522561.168920][6649:6654] CHIP:DMG: [ - [1636522561.168945][6649:6654] CHIP:DMG: AttributeStatusIB = - [1636522561.168977][6649:6654] CHIP:DMG: { - [1636522561.169006][6649:6654] CHIP:DMG: AttributePathIB = - [1636522561.169040][6649:6654] CHIP:DMG: { - [1636522561.169074][6649:6654] CHIP:DMG: Attribute = 0x0000_0010, - [1636522561.169110][6649:6654] CHIP:DMG: Node = 0x0, - [1636522561.169145][6649:6654] CHIP:DMG: Cluster = 0x8, - [1636522561.169179][6649:6654] CHIP:DMG: Endpoint = 0x1, - [1636522561.169211][6649:6654] CHIP:DMG: } - [1636522561.169248][6649:6654] CHIP:DMG: - [1636522561.169280][6649:6654] CHIP:DMG: StatusIB = - [1636522561.169312][6649:6654] CHIP:DMG: { - [1636522561.169344][6649:6654] CHIP:DMG: status = 0x0, - [1636522561.169376][6649:6654] CHIP:DMG: }, - [1636522561.169411][6649:6654] CHIP:DMG: - [1636522561.169439][6649:6654] CHIP:DMG: }, - [1636522561.169474][6649:6654] CHIP:DMG: - [1636522561.169501][6649:6654] CHIP:DMG: ], - [1636522561.169532][6649:6654] CHIP:DMG: - [1636522561.169553][6649:6654] CHIP:DMG: } - [1636522561.169611][6649:6654] CHIP:ZCL: WriteResponse: - [1636522561.169634][6649:6654] CHIP:ZCL: status: Success (0x0000)" - "./chip-tool levelcontrol write on-transition-time 5 (replace with your value) 123123 1 + ./chip-tool levelcontrol write on-off-transition-time 5 (replace with your own value) 123123 1 + [1652363991.647034][2335:2335] CHIP:DMG: WriteRequestMessage = + [1652363991.647059][2335:2335] CHIP:DMG: { + [1652363991.647081][2335:2335] CHIP:DMG: suppressResponse = false, + [1652363991.647111][2335:2335] CHIP:DMG: timedRequest = false, + [1652363991.647135][2335:2335] CHIP:DMG: AttributeDataIBs = + [1652363991.647166][2335:2335] CHIP:DMG: [ + [1652363991.647190][2335:2335] CHIP:DMG: AttributeDataIB = + [1652363991.647218][2335:2335] CHIP:DMG: { + [1652363991.647243][2335:2335] CHIP:DMG: AttributePathIB = + [1652363991.647274][2335:2335] CHIP:DMG: { + [1652363991.647306][2335:2335] CHIP:DMG: Endpoint = 0x1, + [1652363991.647339][2335:2335] CHIP:DMG: Cluster = 0x8, + [1652363991.647372][2335:2335] CHIP:DMG: Attribute = 0x0000_0010, + [1652363991.647403][2335:2335] CHIP:DMG: } + [1652363991.647436][2335:2335] CHIP:DMG: + [1652363991.647469][2335:2335] CHIP:DMG: Data = 5, + [1652363991.647502][2335:2335] CHIP:DMG: }, + [1652363991.647533][2335:2335] CHIP:DMG: + [1652363991.647556][2335:2335] CHIP:DMG: ], + [1652363991.647584][2335:2335] CHIP:DMG: + [1652363991.647609][2335:2335] CHIP:DMG: moreChunkedMessages = false, + [1652363991.647634][2335:2335] CHIP:DMG: InteractionModelRevision = 1 + [1652363991.647657][2335:2335] CHIP:DMG: }, + + ./chip-tool levelcontrol write on-transition-time 5 (replace with your value) 1 1 [1636522899.652554][6689:6694] CHIP:DMG: WriteResponseMessage = [1636522899.652575][6689:6694] CHIP:DMG: { [1636522899.652599][6689:6694] CHIP:DMG: AttributeStatuses = @@ -209,8 +378,9 @@ tests: [1636522899.653243][6689:6694] CHIP:DMG: [1636522899.653264][6689:6694] CHIP:DMG: } [1636522899.653318][6689:6694] CHIP:ZCL: WriteResponse: - [1636522899.653339][6689:6694] CHIP:ZCL: status: Success (0x0000)" - "./chip-tool levelcontrol write off-transition-time 5 1 1 + [1636522899.653339][6689:6694] CHIP:ZCL: status: Success (0x0000) + + ./chip-tool levelcontrol write off-transition-time 5 1 1 [1636523135.094185][6710:6715] CHIP:DMG: WriteResponseMessage = [1636523135.094247][6710:6715] CHIP:DMG: { [1636523135.094306][6710:6715] CHIP:DMG: AttributeStatuses = @@ -236,8 +406,9 @@ tests: [1636523135.094983][6710:6715] CHIP:DMG: [1636523135.095004][6710:6715] CHIP:DMG: } [1636523135.095061][6710:6715] CHIP:ZCL: WriteResponse: - [1636523135.095082][6710:6715] CHIP:ZCL: status: Success (0x0000)" - "./chip-tool levelcontrol write default-move-rate 5 1 1 + [1636523135.095082][6710:6715] CHIP:ZCL: status: Success (0x0000) + + ./chip-tool levelcontrol write default-move-rate 5 1 1 [1636523200.238505][6728:6733] CHIP:DMG: WriteResponseMessage = [1636523200.238533][6728:6733] CHIP:DMG: { [1636523200.238559][6728:6733] CHIP:DMG: AttributeStatuses = @@ -263,8 +434,9 @@ tests: [1636523200.239310][6728:6733] CHIP:DMG: [1636523200.239334][6728:6733] CHIP:DMG: } [1636523200.239396][6728:6733] CHIP:ZCL: WriteResponse: - [1636523200.239421][6728:6733] CHIP:ZCL: status: Success (0x0000)" - "./chip-tool levelcontrol write start-up-current-level 5 (replace with your value) 123123 1 + [1636523200.239421][6728:6733] CHIP:ZCL: status: Success (0x0000) + + ./chip-tool levelcontrol write start-up-current-level 5 (replace with your value) 123123 1 [1636523273.060220][6749:6754] CHIP:DMG: WriteResponseMessage = [1636523273.060249][6749:6754] CHIP:DMG: { [1636523273.060276][6749:6754] CHIP:DMG: AttributeStatuses = @@ -290,5 +462,127 @@ tests: [1636523273.060992][6749:6754] CHIP:DMG: [1636523273.061015][6749:6754] CHIP:DMG: } [1636523273.061073][6749:6754] CHIP:ZCL: WriteResponse: - [1636523273.061097][6749:6754] CHIP:ZCL: status: Success (0x0000)" + [1636523273.061097][6749:6754] CHIP:ZCL: status: Success (0x0000) + 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" + verification: | + ./chip-tool levelcontrol read attribute-list 1 1 + + [1654242920752] [91296:3991263] CHIP: [TOO] Endpoint: 1 Cluster: 0x0000_0008 Attribute 0x0000_FFFB DataVersion: 2296172474 + [1654242920753] [91296:3991263] CHIP: [TOO] AttributeList: 8 entries + [1654242920753] [91296:3991263] CHIP: [TOO] [1]: 0 + [1654242920753] [91296:3991263] CHIP: [TOO] [2]: 15 + [1654242920753] [91296:3991263] CHIP: [TOO] [3]: 17 + [1654242920753] [91296:3991263] CHIP: [TOO] [4]: 65528 + [1654242920753] [91296:3991263] CHIP: [TOO] [5]: 65529 + [1654242920753] [91296:3991263] CHIP: [TOO] [6]: 65531 + [1654242920753] [91296:3991263] CHIP: [TOO] [7]: 65532 + [1654242920753] [91296:3991263] CHIP: [TOO] [8]: 65533 + + + " ./chip-tool levelcontrol read current-level 1 1 + + [1652363362.205813][2335:2335] CHIP:DMG: ReadRequestMessage = + [1652363362.205844][2335:2335] CHIP:DMG: { + [1652363362.205947][2335:2335] CHIP:DMG: AttributePathIBs = + [1652363362.205981][2335:2335] CHIP:DMG: [ + [1652363362.206009][2335:2335] CHIP:DMG: AttributePathIB = + [1652363362.206048][2335:2335] CHIP:DMG: { + [1652363362.206083][2335:2335] CHIP:DMG: Endpoint = 0x1, + [1652363362.206120][2335:2335] CHIP:DMG: Cluster = 0x8, + [1652363362.206156][2335:2335] CHIP:DMG: Attribute = 0x0000_0000, + [1652363362.206189][2335:2335] CHIP:DMG: } + [1652363362.206221][2335:2335] CHIP:DMG: + [1652363362.206252][2335:2335] CHIP:DMG: ], + [1652363362.206285][2335:2335] CHIP:DMG: + [1652363362.206317][2335:2335] CHIP:DMG: isFabricFiltered = true, + [1652363362.206346][2335:2335] CHIP:DMG: InteractionModelRevision = 1 + [1652363362.206373][2335:2335] CHIP:DMG: }, + + ./chip-tool levelcontrol read on-level 1 1 + [1652363399.089823][2335:2335] CHIP:DMG: ReadRequestMessage = + [1652363399.089855][2335:2335] CHIP:DMG: { + [1652363399.089882][2335:2335] CHIP:DMG: AttributePathIBs = + [1652363399.089915][2335:2335] CHIP:DMG: [ + [1652363399.089945][2335:2335] CHIP:DMG: AttributePathIB = + [1652363399.089981][2335:2335] CHIP:DMG: { + [1652363399.090018][2335:2335] CHIP:DMG: Endpoint = 0x1, + [1652363399.090056][2335:2335] CHIP:DMG: Cluster = 0x8, + [1652363399.090098][2335:2335] CHIP:DMG: Attribute = 0x0000_0011, + [1652363399.090135][2335:2335] CHIP:DMG: } + [1652363399.090172][2335:2335] CHIP:DMG: + [1652363399.090206][2335:2335] CHIP:DMG: ], + [1652363399.090241][2335:2335] CHIP:DMG: + [1652363399.090273][2335:2335] CHIP:DMG: isFabricFiltered = true, + [1652363399.090305][2335:2335] CHIP:DMG: InteractionModelRevision = 1 + [1652363399.090334][2335:2335] CHIP:DMG: }, + + ./chip-tool levelcontrol read options 1 1 + [1652363446.883210][2335:2335] CHIP:DMG: ReadRequestMessage = + [1652363446.883245][2335:2335] CHIP:DMG: { + [1652363446.883274][2335:2335] CHIP:DMG: AttributePathIBs = + [1652363446.883308][2335:2335] CHIP:DMG: [ + [1652363446.883341][2335:2335] CHIP:DMG: AttributePathIB = + [1652363446.883371][2335:2335] CHIP:DMG: { + [1652363446.883401][2335:2335] CHIP:DMG: Endpoint = 0x1, + [1652363446.883430][2335:2335] CHIP:DMG: Cluster = 0x8, + [1652363446.883521][2335:2335] CHIP:DMG: Attribute = 0x0000_000F, + [1652363446.883554][2335:2335] CHIP:DMG: } + [1652363446.883584][2335:2335] CHIP:DMG: + [1652363446.883611][2335:2335] CHIP:DMG: ], + [1652363446.883639][2335:2335] CHIP:DMG: + [1652363446.883666][2335:2335] CHIP:DMG: isFabricFiltered = true, + [1652363446.883691][2335:2335] CHIP:DMG: InteractionModelRevision = 1 + [1652363446.883714][2335:2335] CHIP:DMG: }," + disabled: true + + - label: + "DUT reads all supported optional attributes from TH one at a time in + a manufacturer specific order" + verification: | + ./chip-tool levelcontrol read remaining-time 1 1 + General error: 0x86 (UNSUPPORTED_ATTRIBUTE) + + ./chip-tool levelcontrol read min-level 1 1 + General error: 0x86 (UNSUPPORTED_ATTRIBUTE) + + ./chip-tool levelcontrol read max-level 1 1 + General error: 0x86 (UNSUPPORTED_ATTRIBUTE) + + ./chip-tool levelcontrol read current-frequency 1 1 + General error: 0x86 (UNSUPPORTED_ATTRIBUTE) + + ./chip-tool levelcontrol read min-frequency 1 1 + General error: 0x86 (UNSUPPORTED_ATTRIBUTE) + + ./chip-tool levelcontrol read max-frequency 1 1 + General error: 0x86 (UNSUPPORTED_ATTRIBUTE) + + ./chip-tool levelcontrol read on-off-transition-time 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" + verification: | + ./chip-tool levelcontrol write on-off-transition-time 5 1 1 + General error: 0x86 (UNSUPPORTED_ATTRIBUTE) + + ./chip-tool levelcontrol write on-transition-time 5 1 1 + General error: 0x86 (UNSUPPORTED_ATTRIBUTE) + + ./chip-tool levelcontrol write off-transition-time 5 1 1 + General error: 0x86 (UNSUPPORTED_ATTRIBUTE) + + ./chip-tool levelcontrol write default-move-rate 5 1 1 + General error: 0x86 (UNSUPPORTED_ATTRIBUTE) + + ./chip-tool levelcontrol write start-up-current-level 5 1 1 + General error: 0x86 (UNSUPPORTED_ATTRIBUTE) disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_LVL_3_1.yaml b/src/app/tests/suites/certification/Test_TC_LVL_3_1.yaml index 4560edbd1f2aee..9ab73869aa45ea 100644 --- a/src/app/tests/suites/certification/Test_TC_LVL_3_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_LVL_3_1.yaml @@ -29,6 +29,7 @@ tests: value: nodeId - label: "Reads the MinLevel attribute" + PICS: LVL.S.A0002 command: "readAttribute" attribute: "min level" response: @@ -36,6 +37,7 @@ tests: type: uint8 - label: "Reads the MaxLevel attribute" + PICS: LVL.S.A0003 command: "readAttribute" attribute: "max level" response: @@ -43,6 +45,7 @@ tests: type: uint8 - label: "sends a Move to level command" + PICS: LVL.S.C00.Rsp command: "MoveToLevel" arguments: values: @@ -64,12 +67,14 @@ tests: value: 100 - label: "Reads CurrentLevel attribute from DUT" + PICS: LVL.S.C04.Rsp && LVL.S.A0000 command: "readAttribute" attribute: "current level" response: value: 64 - label: "sends a Move to level command" + PICS: LVL.S.C00.Rsp command: "MoveToLevel" arguments: values: @@ -91,12 +96,14 @@ tests: value: 100 - label: "Reads CurrentLevel attribute from DUT" + PICS: LVL.S.C00.Rsp && LVL.S.A0000 command: "readAttribute" attribute: "current level" response: value: 100 - label: "Reads On Off Transition Time attribute from DUT" + PICS: LVL.S.A0010 command: "readAttribute" attribute: "On Off Transition Time" response: @@ -104,6 +111,7 @@ tests: type: uint16 - label: "sends a Move to level command" + PICS: LVL.S.C00.Rsp && LVL.S.A0010 command: "MoveToLevel" arguments: values: @@ -125,12 +133,14 @@ tests: value: 11000 - label: "Reads CurrentLevel attribute from DUT" + PICS: LVL.S.C00.Rsp && LVL.S.A0000 && LVL.S.M.VarRate command: "readAttribute" attribute: "current level" response: value: 128 - label: "Reads the OnOffTransitionTime attribute from the DUT" + PICS: LVL.S.A0010 command: "readAttribute" attribute: "on off transition time" response: @@ -138,6 +148,7 @@ tests: type: uint16 - label: "sends a Move to level command" + PICS: LVL.S.C00.Rsp && LVL.S.A0010 command: "MoveToLevel" arguments: values: @@ -159,12 +170,14 @@ tests: value: 1000 - label: "Reads CurrentLevel attribute from DUT" + PICS: LVL.S.A0000 command: "readAttribute" attribute: "current level" response: value: 64 - label: "Reset level to 254" + PICS: LVL.S.C00.Rsp command: "MoveToLevel" arguments: values: diff --git a/src/app/tests/suites/certification/Test_TC_LVL_4_1.yaml b/src/app/tests/suites/certification/Test_TC_LVL_4_1.yaml index 0d8bd0bd3eb0bc..000381337e4c1e 100644 --- a/src/app/tests/suites/certification/Test_TC_LVL_4_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_LVL_4_1.yaml @@ -29,6 +29,7 @@ tests: value: nodeId - label: "Reads Minlevel attribute from DUT" + PICS: LVL.S.A0002 command: "readAttribute" attribute: "min level" response: @@ -37,6 +38,7 @@ tests: type: uint8 - label: "sends a Move to level command" + PICS: LVL.S.C00.Rsp command: "MoveToLevel" arguments: values: @@ -50,6 +52,7 @@ tests: value: 1 - label: "reads max level attribute from DUT" + PICS: LVL.S.A0003 command: "readAttribute" attribute: "max level" response: @@ -58,6 +61,7 @@ tests: type: uint8 - label: "sends a Move up command" + PICS: LVL.S.C01.Rsp command: "Move" arguments: values: @@ -93,13 +97,14 @@ tests: value: 9000 - label: "Reads CurrentLevel attribute from DUT" - PICS: LVL.S.A0003 + PICS: LVL.S.C01.Rsp && LVL.S.A0000 command: "readAttribute" attribute: "current level" response: value: MaxlevelValue - label: "sends a MoveWithOnOff command" + PICS: LVL.S.C05.Rsp command: "MoveWithOnOff" arguments: values: @@ -136,7 +141,7 @@ tests: # For lighting Device type current level minimal value is 1 - label: "reads CurrentLevel attribute from DUT" - PICS: LVL.S.A0002 + PICS: LVL.S.C05.Rsp && LVL.S.A0000 command: "readAttribute" attribute: "current level" response: @@ -146,6 +151,7 @@ tests: maxValue: 1 - label: "reads default move rate attribute from DUT" + PICS: LVL.S.A0014 command: "readAttribute" attribute: "default move rate" response: @@ -154,6 +160,7 @@ tests: type: uint8 - label: "sends a Move up command at default move rate" + PICS: LVL.S.C05.Rsp && LVL.S.A0014 command: "Move" arguments: values: @@ -188,6 +195,7 @@ tests: value: "y" - label: "Reset level to 254" + PICS: LVL.S.C00.Rsp command: "MoveToLevel" arguments: values: diff --git a/src/app/tests/suites/certification/Test_TC_LVL_5_1.yaml b/src/app/tests/suites/certification/Test_TC_LVL_5_1.yaml index 6d19877d9e3ccd..2a19d740390324 100644 --- a/src/app/tests/suites/certification/Test_TC_LVL_5_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_LVL_5_1.yaml @@ -29,6 +29,7 @@ tests: value: nodeId - label: "Reads Minlevel attribute from DUT" + PICS: LVL.S.A0002 command: "readAttribute" attribute: "min level" response: @@ -37,6 +38,7 @@ tests: type: uint8 - label: "Sends MoveToLevelWithOnOff command to DUT" + PICS: LVL.S.C04.Rsp command: "MoveToLevelWithOnOff" arguments: values: @@ -50,6 +52,7 @@ tests: value: 1 - label: "Reads current level attribute from DUT" + PICS: LVL.S.A0000 command: "readAttribute" attribute: "current level" response: @@ -58,6 +61,7 @@ tests: type: uint8 - label: "Sends step up command to DUT" + PICS: LVL.S.C02.Rsp command: "Step" arguments: values: @@ -81,6 +85,7 @@ tests: value: 4000 - label: "Reads current level attribute from DUT" + PICS: LVL.S.A0000 && LVL.S.C02.Rsp command: "readAttribute" attribute: "current level" response: @@ -89,6 +94,7 @@ tests: type: uint8 - label: "Sends a StepWithOnOff command" + PICS: LVL.S.C06.Rsp command: "StepWithOnOff" arguments: values: @@ -112,12 +118,14 @@ tests: value: 4000 - label: "Reads current level attribute from DUT" + PICS: LVL.S.C06.Rsp && LVL.S.A0000 command: "readAttribute" attribute: "current level" response: value: CurrentlevelValue - label: "Reset level to 254" + PICS: LVL.S.C00.Rsp command: "MoveToLevel" arguments: values: diff --git a/src/app/tests/suites/certification/Test_TC_LVL_6_1.yaml b/src/app/tests/suites/certification/Test_TC_LVL_6_1.yaml index b531492d6c00d3..b9e25ebcfad545 100644 --- a/src/app/tests/suites/certification/Test_TC_LVL_6_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_LVL_6_1.yaml @@ -29,6 +29,7 @@ tests: value: nodeId - label: "Reads Minlevel attribute from DUT" + PICS: LVL.S.A0002 command: "readAttribute" attribute: "min level" response: @@ -37,6 +38,7 @@ tests: type: uint8 - label: "Sends MoveToLevelWithOnOff command to DUT" + PICS: LVL.S.C04.Rsp command: "MoveToLevelWithOnOff" arguments: values: @@ -50,6 +52,7 @@ tests: value: 1 - label: "Reads CurrentLevel attribute from DUT" + PICS: LVL.S.A0000 command: "readAttribute" attribute: "current level" response: @@ -59,6 +62,7 @@ tests: maxValue: 1 - label: "Sends a move up command to DUT" + PICS: LVL.S.C01.Rsp command: "Move" arguments: values: @@ -80,6 +84,7 @@ tests: value: 5000 - label: "Sends stop command to DUT" + PICS: LVL.S.C03.Rsp command: "Stop" arguments: values: @@ -100,6 +105,7 @@ tests: value: "y" - label: "Reads CurrentLevel attribute from DUT" + PICS: LVL.S.C01.Rsp && LVL.S.C03.Rsp && LVL.S.A0000 command: "readAttribute" attribute: "current level" response: @@ -109,6 +115,7 @@ tests: notValue: CurrentLevelValue - label: "Sends a move up command to DUT" + PICS: LVL.S.C01.Rsp command: "Move" arguments: values: @@ -150,6 +157,7 @@ tests: value: "y" - label: "Reads CurrentLevel attribute from DUT" + PICS: LVL.S.C01.Rsp && LVL.S.C07.Rsp && LVL.S.A0000 command: "readAttribute" attribute: "current level" response: @@ -159,6 +167,7 @@ tests: notValue: CurrentLevelValue - label: "Reset level to 254" + PICS: LVL.S.C00.Rsp command: "MoveToLevel" arguments: values: diff --git a/src/app/tests/suites/certification/Test_TC_LVL_7_1.yaml b/src/app/tests/suites/certification/Test_TC_LVL_7_1.yaml new file mode 100644 index 00000000000000..ef2c3ef2ebc868 --- /dev/null +++ b/src/app/tests/suites/certification/Test_TC_LVL_7_1.yaml @@ -0,0 +1,169 @@ +# Copyright (c) 2021 Project CHIP Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default + +name: + 22.6.2. [TC-LVL-7.1] Verification of MoveToClosestFrequency command (DUT as + Server) + +config: + nodeId: 0x12344321 + cluster: "Basic" + endpoint: 0 + +tests: + - label: "TH reads the MinLevel attribute from the DUT" + PICS: LVL.S.A0002 + verification: | + ./chip-tool levelcontrol read min-level 1 1 + + [1654065563.003862][10039:10044] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0008 Attribute 0x0000_0002 DataVersion: 540248549 + [1654065563.003916][10039:10044] CHIP:TOO: min level: 0 + [1654065563.003992][10039:10044] CHIP:EM: Sending Standalone Ack for MessageCounter:10228121 on exchange 38337i + disabled: true + + - label: "TH reads the MaxLevel attribute from the DUT" + PICS: LVL.S.A0003 + verification: | + ./chip-tool levelcontrol read max-level 1 1 + + + [1654065684.869569][10048:10053] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0008 Attribute 0x0000_0003 DataVersion: 540248549 + [1654065684.869621][10048:10053] CHIP:TOO: max level: 254 + [1654065684.869737][10048:10053] CHIP:EM: Sending Standalone Ack for MessageCounter:9018536 on exchange 12814i + disabled: true + + - label: + "TH sends a MoveToLevelWithOnOff command to DUT, with the Level field + set to a value between the MinLevel and MaxLevel values (if present, + otherwise between 0x01 and 0xFE) and the TransitionTime field set to + 0x0000 (move immediately)." + PICS: LVL.S.C04.Rsp + verification: | + ./chip-tool levelcontrol move-to-level-with-on-off 253 0 1 1 + + [1654065833.084144][10181:10186] CHIP:DMG: InvokeResponseMessage = + [1654065833.084161][10181:10186] CHIP:DMG: { + [1654065833.084175][10181:10186] CHIP:DMG: suppressResponse = false, + [1654065833.084188][10181:10186] CHIP:DMG: InvokeResponseIBs = + [1654065833.084208][10181:10186] CHIP:DMG: [ + [1654065833.084237][10181:10186] CHIP:DMG: InvokeResponseIB = + [1654065833.084259][10181:10186] CHIP:DMG: { + [1654065833.084274][10181:10186] CHIP:DMG: CommandStatusIB = + [1654065833.084292][10181:10186] CHIP:DMG: { + [1654065833.084310][10181:10186] CHIP:DMG: CommandPathIB = + [1654065833.084331][10181:10186] CHIP:DMG: { + [1654065833.084352][10181:10186] CHIP:DMG: EndpointId = 0x1, + [1654065833.084370][10181:10186] CHIP:DMG: ClusterId = 0x8, + [1654065833.084386][10181:10186] CHIP:DMG: CommandId = 0x4, + [1654065833.084404][10181:10186] CHIP:DMG: }, + [1654065833.084428][10181:10186] CHIP:DMG: + [1654065833.084445][10181:10186] CHIP:DMG: StatusIB = + [1654065833.084467][10181:10186] CHIP:DMG: { + [1654065833.084485][10181:10186] CHIP:DMG: status = 0x00 (SUCCESS), + [1654065833.084503][10181:10186] CHIP:DMG: }, + [1654065833.084523][10181:10186] CHIP:DMG: + [1654065833.084540][10181:10186] CHIP:DMG: }, + [1654065833.084563][10181:10186] CHIP:DMG: + [1654065833.084580][10181:10186] CHIP:DMG: }, + [1654065833.084601][10181:10186] CHIP:DMG: + [1654065833.084617][10181:10186] CHIP:DMG: ], + [1654065833.084640][10181:10186] CHIP:DMG: + [1654065833.084657][10181:10186] CHIP:DMG: InteractionModelRevision = 1 + [1654065833.084672][10181:10186] CHIP:DMG: }, + [1654065833.084734][10181:10186] CHIP:DMG: Received Command Response Status for Endpoint=1 Cluster=0x0000_0008 Command=0x0000_0004 Status=0x0 + disabled: true + + - label: "TH reads CurrentLevel attribute from DUT" + PICS: LVL.S.C04.Rsp && LVL.S.A0000 + verification: | + ./chip-tool levelcontrol read current-level 1 1 + + [1654065859.401140][10188:10193] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0008 Attribute 0x0000_0000 DataVersion: 540248551 + [1654065859.401197][10188:10193] CHIP:TOO: current level: 253 + [1654065859.401268][10188:10193] CHIP:EM: Sending Standalone Ack for MessageCounter:2942065 on exchange 21982i + disabled: true + + - label: "TH reads the CurrentFrequency attribute." + PICS: LVL.S.A0004 + verification: | + ./chip-tool levelcontrol read current-frequency 1 1 + + [1654065889.927185][10196:10201] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0008 Attribute 0x0000_0004 DataVersion: 540248551 + [1654065889.927213][10196:10201] CHIP:TOO: current frequency: 0 + [1654065889.927247][10196:10201] CHIP:EM: Sending Standalone Ack for MessageCounter:9499985 on exchange 53579i + disabled: true + + - label: "TH reads the MinFrequency attribute." + PICS: LVL.S.A0005 + verification: | + ./chip-tool levelcontrol read min-frequency 1 1 + + [1654066011.412756][10228:10233] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0008 Attribute 0x0000_0005 DataVersion: 540248551 + [1654066011.412814][10228:10233] CHIP:TOO: min frequency: 0 + [1654066011.412890][10228:10233] CHIP:EM: Sending Standalone Ack for MessageCounter:4631273 on exchange 37550i + disabled: true + + - label: "TH reads the MaxFrequency attribute." + PICS: LVL.S.A0006 + verification: | + ./chip-tool levelcontrol read max-frequency 1 1 + + [1654066035.586373][10241:10246] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0008 Attribute 0x0000_0006 DataVersion: 540248551 + [1654066035.586435][10241:10246] CHIP:TOO: max frequency: 0 + [1654066035.586512][10241:10246] CHIP:EM: Sending Standalone Ack for MessageCounter:13631899 on exchange 38194i + disabled: true + + - label: + "TH sends a MoveToClosestFrequency command to DUT, with the frequency + field set to a random value frand, chosen such that: fmin < frand < + fmax" + PICS: LVL.S.C08.Rsp + verification: | + Frequency feature for level control cluster is not supporting in chip-tool + disabled: true + + - label: "TH reads the CurrentFrequency attribute." + PICS: LVL.S.C08.Rsp && LVL.S.A0004 + verification: | + ./chip-tool levelcontrol read current-frequency 1 1 + disabled: true + + - label: + "TH sends a MoveToClosestFrequency command to DUT, with the frequency + field set to fmax + 1" + PICS: LVL.S.C08.Rsp + verification: | + Frequency feature for level control cluster is not supporting in chip-tool + disabled: true + + - label: "TH reads the CurrentFrequency attribute." + PICS: LVL.S.C08.Rsp && LVL.S.A0004 + verification: | + ./chip-tool levelcontrol read current-frequency 1 1 + disabled: true + + - label: + "TH sends a MoveToClosestFrequency command to DUT, with the frequency + field set to fmin - 1" + PICS: LVL.S.C08.Rsp + verification: | + Frequency feature for level control cluster is not supporting in chip-tool + disabled: true + + - label: "TH reads the CurrentFrequency attribute." + PICS: LVL.S.C08.Rsp && LVL.S.A0004 + verification: | + ./chip-tool levelcontrol read current-frequency 1 1 + disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_OCC_2_2.yaml b/src/app/tests/suites/certification/Test_TC_OCC_2_2.yaml new file mode 100644 index 00000000000000..7841da4cef9249 --- /dev/null +++ b/src/app/tests/suites/certification/Test_TC_OCC_2_2.yaml @@ -0,0 +1,220 @@ +# Copyright (c) 2021 Project CHIP Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default + +name: 3.2.2. [TC-OCC-2.2] Attributes with client as DUT + +config: + nodeId: 0x12344321 + cluster: "Basic" + endpoint: 0 + +tests: + - label: "Commission DUT to TH" + verification: | + + disabled: true + + - label: "DUT reads from the TH the (0x0000) Occupancy attribute" + PICS: OCC.C.A0000 + verification: | + ./chip-tool occupancysensing read occupancy 1 1 + + DUT: + + [1648461864.548948][9281:9286] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0406 Attribute 0x0000_0000 DataVersion: 3082917122 + [1648461864.549008][9281:9286] CHIP:TOO: occupancy: 0 + + TH: + + [1651145623.970719][2336:2336] CHIP:IM: Received Read request + [1651145623.970774][2336:2336] CHIP:DMG: ReadRequestMessage = + [1651145623.970800][2336:2336] CHIP:DMG: { + [1651145623.970821][2336:2336] CHIP:DMG: AttributePathIBs = + [1651145623.970847][2336:2336] CHIP:DMG: [ + [1651145623.970871][2336:2336] CHIP:DMG: AttributePathIB = + [1651145623.970902][2336:2336] CHIP:DMG: { + [1651145623.970931][2336:2336] CHIP:DMG: Endpoint = 0x1, + [1651145623.970964][2336:2336] CHIP:DMG: Cluster = 0x406, + [1651145623.970998][2336:2336] CHIP:DMG: Attribute = 0x0000_0000, + [1651145623.971030][2336:2336] CHIP:DMG: } + [1651145623.971060][2336:2336] CHIP:DMG: + [1651145623.971087][2336:2336] CHIP:DMG: ], + [1651145623.971138][2336:2336] CHIP:DMG: + [1651145623.971166][2336:2336] CHIP:DMG: isFabricFiltered = true, + [1651145623.971191][2336:2336] CHIP:DMG: InteractionModelRevision = 1 + [1651145623.971214][2336:2336] CHIP:DMG: }, + [1651145623.971285][2336:2336] CHIP:DMG: IM RH moving to [GeneratingReports] + [1651145623.971367][2336:2336] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 + [1651145623.971394][2336:2336] CHIP:DMG: Cluster 406, Attribute 0 is dirty + [1651145623.971415][2336:2336] CHIP:DMG: Reading attribute: Cluster=0x0000_0406 Endpoint=1 AttributeId=0x0000_0000 (expanded=0) + [1651145623.971445][2336:2336] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0406 e=1 p=v + [1651145623.971480][2336:2336] CHIP:DMG: AccessControl: allowed + disabled: true + + - label: "TH reads from the DUT the (0x0001) OccupancySensorType attribute" + PICS: OCC.C.A0001 + verification: | + ./chip-tool occupancysensing read occupancy-sensor-type 1 1 + + DUT: + + [1648461870.566809][9287:9292] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0406 Attribute 0x0000_0001 DataVersion: 3082917122 + [1648461870.566882][9287:9292] CHIP:TOO: occupancy sensor type: 0 + + TH: + + [1651145797.858621][2336:2336] CHIP:IM: Received Read request + [1651145797.858677][2336:2336] CHIP:DMG: ReadRequestMessage = + [1651145797.858703][2336:2336] CHIP:DMG: { + [1651145797.858725][2336:2336] CHIP:DMG: AttributePathIBs = + [1651145797.858753][2336:2336] CHIP:DMG: [ + [1651145797.858777][2336:2336] CHIP:DMG: AttributePathIB = + [1651145797.858808][2336:2336] CHIP:DMG: { + [1651145797.858838][2336:2336] CHIP:DMG: Endpoint = 0x1, + [1651145797.858869][2336:2336] CHIP:DMG: Cluster = 0x406, + [1651145797.858900][2336:2336] CHIP:DMG: Attribute = 0x0000_0001, + [1651145797.858929][2336:2336] CHIP:DMG: } + [1651145797.858958][2336:2336] CHIP:DMG: + [1651145797.858985][2336:2336] CHIP:DMG: ], + [1651145797.859015][2336:2336] CHIP:DMG: + [1651145797.859040][2336:2336] CHIP:DMG: isFabricFiltered = true, + [1651145797.859065][2336:2336] CHIP:DMG: InteractionModelRevision = 1 + [1651145797.859088][2336:2336] CHIP:DMG: }, + [1651145797.859186][2336:2336] CHIP:DMG: IM RH moving to [GeneratingReports] + [1651145797.859273][2336:2336] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 + disabled: true + + - label: + "DUT reads from the TH the (0x0002) OccupancySensorTypeBitmap + attribute" + PICS: OCC.C.A0002 + verification: | + ./chip-tool occupancysensing read occupancy-sensor-type-bitmap 1 1 + + DUT: + + [1648461876.157687][9293:9298] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0406 Attribute 0x0000_0002 DataVersion: 3082917122 + [1648461876.157778][9293:9298] CHIP:TOO: occupancy sensor type bitmap: 1 + + TH: + + [1651145985.006057][2336:2336] CHIP:EM: Handling via exchange: 48378r, Delegate: 0xaaaaaf5c5098 + [1651145985.006150][2336:2336] CHIP:IM: Received Read request + [1651145985.006231][2336:2336] CHIP:DMG: ReadRequestMessage = + [1651145985.006259][2336:2336] CHIP:DMG: { + [1651145985.006282][2336:2336] CHIP:DMG: AttributePathIBs = + [1651145985.006336][2336:2336] CHIP:DMG: [ + [1651145985.006395][2336:2336] CHIP:DMG: AttributePathIB = + [1651145985.006509][2336:2336] CHIP:DMG: { + [1651145985.006544][2336:2336] CHIP:DMG: Endpoint = 0x1, + [1651145985.006580][2336:2336] CHIP:DMG: Cluster = 0x406, + [1651145985.006616][2336:2336] CHIP:DMG: Attribute = 0x0000_0002, + [1651145985.006643][2336:2336] CHIP:DMG: } + [1651145985.006672][2336:2336] CHIP:DMG: + [1651145985.006694][2336:2336] CHIP:DMG: ], + [1651145985.006719][2336:2336] CHIP:DMG: + [1651145985.006744][2336:2336] CHIP:DMG: isFabricFiltered = true, + [1651145985.006769][2336:2336] CHIP:DMG: InteractionModelRevision = 1 + [1651145985.006793][2336:2336] CHIP:DMG: }, + [1651145985.006860][2336:2336] CHIP:DMG: IM RH moving to [GeneratingReports] + [1651145985.006952][2336:2336] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 + disabled: true + + - label: + "DUT reads from the TH the (0x0010) PIROccupiedToUnoccupiedDelay + optional attribute, if PIR sensor" + PICS: OCC.C.A0010 + verification: | + ./chip-tool occupancysensing read pir-occupied-to-unoccupied-delay 1 1 + General error: 0x86 (UNSUPPORTED_ATTRIBUTE) + disabled: true + + - label: + "DUT reads from the TH the (0x0011) PIRUnoccupiedToOccupiedDelay + optional attribute, if PIR sensor" + PICS: OCC.C.A0011 + verification: | + ./chip-tool occupancysensing read pir-unoccupied-to-occupied-delay 1 1 + General error: 0x86 (UNSUPPORTED_ATTRIBUTE) + disabled: true + + - label: + "DUT reads from the TH the (0x0011) PIRUnoccupiedToOccupiedThreshold + optional attribute, if PIR sensor" + PICS: OCC.C.A0012 + verification: | + ./chip-tool occupancysensing read pir-unoccupied-to-occupied-threshold 1 1 + General error: 0x86 (UNSUPPORTED_ATTRIBUTE) + disabled: true + + - label: + "DUT reads from the TH the (0x0010) + UltrasonicOccupiedToUnoccupiedDelay optional attribute, if ultrasonic + sensor" + PICS: OCC.C.A0020 + verification: | + ./chip-tool occupancysensing read ultrasonic-occupied-to-unoccupied-delay 1 1 + General error: 0x86 (UNSUPPORTED_ATTRIBUTE) + disabled: true + + - label: + "DUT reads from the TH the (0x0011) + UltrasonicUnoccupiedToOccupiedDelay optional attribute, if ultrasonic + sensor" + PICS: OCC.C.A0021 + verification: | + ./chip-tool occupancysensing read ultrasonic-unoccupied-to-occupied-delay 1 1 + General error: 0x86 (UNSUPPORTED_ATTRIBUTE) + disabled: true + + - label: + "DUT reads from the TH the (0x0011) + UltrasonicUnoccupiedToOccupiedThreshold optional attribute, if + ultrasonic sensor" + PICS: OCC.C.A0022 + verification: | + ./chip-tool occupancysensing read ultrasonic-unoccupied-to-occupied-threshold 1 1 + General error: 0x86 (UNSUPPORTED_ATTRIBUTE) + disabled: true + + - label: + "DUT reads from the TH the (0x0010) + PhysicalContactOccupiedToUnoccupiedDelay optional attribute, if + Physical Contact sensor" + PICS: OCC.C.A0030 + verification: | + ./chip-tool occupancysensing read physical-contact-occupied-to-unoccupied-delay 1 1 + General error: 0x86 (UNSUPPORTED_ATTRIBUTE) + disabled: true + + - label: + "DUT reads from the TH the (0x0011) + PhysicalContactUnoccupiedToOccupiedDelay optional attribute, if + Physical Contact sensor" + PICS: OCC.C.A0031 + verification: | + ./chip-tool occupancysensing read physical-contact-unoccupied-to-occupied-delay 1 1 + General error: 0x86 (UNSUPPORTED_ATTRIBUTE) + disabled: true + + - label: + "DUT reads from the TH the (0x0011) + PhysicalContactUnoccupiedToOccupiedThreshold optional attribute, if + Physical Contact sensor" + PICS: OCC.C.A0032 + verification: | + ./chip-tool occupancysensing read physical-contact-unoccupied-to-occupied-threshold 1 1 + General error: 0x86 (UNSUPPORTED_ATTRIBUTE) + disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_OCC_2_3.yaml b/src/app/tests/suites/certification/Test_TC_OCC_2_3.yaml index 6594c05336890b..5b97b4f2da56ef 100644 --- a/src/app/tests/suites/certification/Test_TC_OCC_2_3.yaml +++ b/src/app/tests/suites/certification/Test_TC_OCC_2_3.yaml @@ -29,6 +29,7 @@ tests: disabled: true - label: "TH reads OccupancySensorType attribute from DUT" + PICS: OCC.S.A0001 verification: | ./chip-tool occupancysensing read occupancy-sensor-type 1 1 @@ -38,6 +39,7 @@ tests: disabled: true - label: "TH reads OccupancySensorTypeBitmap attribute from DUT" + PICS: OCC.S.A0002 verification: | ./chip-tool occupancysensing read occupancy-sensor-type-bitmap 1 1 diff --git a/src/app/tests/suites/certification/Test_TC_OCC_2_4.yaml b/src/app/tests/suites/certification/Test_TC_OCC_2_4.yaml index 48c5ef14be8915..aab2f74c041c97 100644 --- a/src/app/tests/suites/certification/Test_TC_OCC_2_4.yaml +++ b/src/app/tests/suites/certification/Test_TC_OCC_2_4.yaml @@ -29,6 +29,7 @@ tests: disabled: true - label: "DUT reads OccupancySensorType attribute from TH" + PICS: OCC.C.A0001 verification: | ./chip-tool occupancysensing read occupancy-sensor-type 1 1 @@ -39,6 +40,7 @@ tests: disabled: true - label: "DUT reads OccupancySensorTypeBitmap attribute from TH" + PICS: OCC.C.A0002 verification: | ./chip-tool occupancysensing read occupancy-sensor-type-bitmap 1 1 diff --git a/src/app/tests/suites/certification/Test_TC_OCC_3_1.yaml b/src/app/tests/suites/certification/Test_TC_OCC_3_1.yaml index ed420dd8778f46..8078b515f5b4d1 100644 --- a/src/app/tests/suites/certification/Test_TC_OCC_3_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_OCC_3_1.yaml @@ -29,15 +29,15 @@ tests: value: nodeId - label: "Reads Occupancy attribute from DUT" + PICS: OCC.S.A0000 command: "readAttribute" attribute: "occupancy" - PICS: A_OCCUPANCY response: value: 0 saveAs: OccupancyValue - label: "Operate on DUT to change the occupancy status" - PICS: MANUAL_OCCUPANCY_CHANGE + PICS: OCC.M.OccupancyChange cluster: "LogCommands" command: "UserPrompt" arguments: @@ -46,9 +46,9 @@ tests: value: "Operate on DUT to change the occupancy status" - label: "Reads back Occupancy attribute from DUT after few seconds" + PICS: OCC.S.A0000 command: "readAttribute" attribute: "occupancy" - PICS: A_OCCUPANCY response: constraints: notvalue: OccupancyValue diff --git a/src/app/tests/suites/certification/Test_TC_OCC_3_2.yaml b/src/app/tests/suites/certification/Test_TC_OCC_3_2.yaml index 5cedecfdb99390..490f4373385776 100644 --- a/src/app/tests/suites/certification/Test_TC_OCC_3_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_OCC_3_2.yaml @@ -27,6 +27,7 @@ tests: disabled: true - label: "DUT reads Occupancy attribute from TH" + PICS: OCC.C.A0000 verification: | ./chip-tool occupancysensing read occupancy 1 1 @@ -50,11 +51,13 @@ tests: disabled: true - label: "Operate on TH to change the occupancy status" + PICS: OCC.M.OccupancyChange verification: | - Logs will be device specific + Logs will be device specific[Dut Action needed] disabled: true - label: "after a few seconds, DUT reads Occupancy attribute from TH" + PICS: OCC.C.A0000 verification: | ./chip-tool occupancysensing read occupancy 1 1 diff --git a/src/app/tests/suites/certification/ci-pics-values b/src/app/tests/suites/certification/ci-pics-values index 789ab35bfb40b7..551c949375d95d 100644 --- a/src/app/tests/suites/certification/ci-pics-values +++ b/src/app/tests/suites/certification/ci-pics-values @@ -33,8 +33,6 @@ A_MINCOOLSETPOINTLIMIT=1 A_MAXCOOLSETPOINTLIMIT=1 A_CONTROLSEQUENCEOFOPERATION=1 CR_SetpointRaiseLower=1 -A_OCCUPANCY=1 -MANUAL_OCCUPANCY_CHANGE=1 A_ONOFF=1 A_GLOBALSCENECONTROL=1 A_ONTIME=1 @@ -398,10 +396,36 @@ MC_TGTNAV.S.A0001=1 MC_TGTNAV.S.C0000=1 PRS.S.A0003=0 + +#Level Control Cluster +LVL.S.F01=1 LVL.S.F02=1 -LVL.S.A0003=1 +LVL.S.A0000=1 +LVL.S.A0001=1 LVL.S.A0002=1 -LVL.S.F01=1 +LVL.S.A0003=1 +LVL.S.A0004=1 +LVL.S.A0005=1 +LVL.S.A0006=1 +LVL.S.A000f=1 +LVL.S.A0010=1 +LVL.S.A0011=1 +LVL.S.A0012=1 +LVL.S.A0013=1 +LVL.S.A0014=1 +LVL.S.A4000=1 +LVL.S.C00.Rsp=1 +LVL.S.C01.Rsp=1 +LVL.S.C02.Rsp=1 +LVL.S.C03.Rsp=1 +LVL.S.C04.Rsp=1 +LVL.S.C05.Rsp=1 +LVL.S.C06.Rsp=1 +LVL.S.C07.Rsp=1 +LVL.S.C08.Rsp=1 +LVL.S.M.VarRate=1 + +#Occupancy Sensing Cluster OCC.S.A0000=1 OCC.S.A0001=1 OCC.S.A0002=1 @@ -414,6 +438,20 @@ OCC.S.A0022=0 OCC.S.A0030=0 OCC.S.A0031=0 OCC.S.A0032=0 +OCC.C.A0000=1 +OCC.C.A0001=1 +OCC.C.A0002=1 +OCC.C.A0010=0 +OCC.C.A0011=0 +OCC.C.A0012=0 +OCC.C.A0020=0 +OCC.C.A0021=0 +OCC.C.A0022=0 +OCC.C.A0030=0 +OCC.C.A0031=0 +OCC.C.A0032=0 +OCC.M.OccupancyChange=1 + FLW.S.A0003=0 #PRS @@ -661,3 +699,78 @@ PS.S.E02=1 TSUIC.S.A0000=1 TSUIC.S.A0001=1 TSUIC.S.A0002=1 +#Binding +BIND.S.A0000=1 +GRPKEY.C.A0000=1 +OO.C.C00.Tx=1 +OO.C.C01.Tx=1 +GRPKEY.C.C00.Tx=1 +G.C.C00.Tx=1 + +#Device Discovery +MCORE.DD.DT_SOFTAP=0 +MCORE.DD.WIFI=0 +MCORE.DD.BLE=1 +MCORE.DD.CHIP_DEV=1 +MCORE.DD.DEV_LOCK=1 +MCORE.DD.DEV_BARRIER=1 +MCORE.DD.IE=1 +MCORE.DD.QR=1 +MCORE.DD.MANUAL_PC=1 +MCORE.DD.TLV=1 +MCORE.DD.CONCAT=1 +MCORE.DD.NFC=1 +MCORE.DD.PASSCODE=1 +MCORE.DD.UI=1 +MCORE.DD.COMM_DISCOVERY=1 +MCORE.DD.CONTROLLER=1 +MCORE.DD.CTRL_CONCATENATED_QR_CODE_1=1 +MCORE.DD.CTRL_CONCATENATED_QR_CODE_2=1 +MCORE.DD.COMMISSIONER=1 +MCORE.DD.CUSTOM_COMM_FLOW=1 +MCORE.DD.DT_BLE=1 +MCORE.DD.CONTROLLER=1 +MCORE.DD.DT_IP=1 +MCORE.DD.STANDARD_COMM_FLOW=1 +MCORE.DD.USER_INTENT_COMM_FLOW=1 +MCORE.DD.CUSTOM_COMM_FLOW=1 +MCORE.DD.11_MANUAL_PC=1 +MCORE.DD.21_MANUAL_PC=1 +MCORE.DD.PHYSICAL_TAMPERING=1 +MCORE.DD.SCAN_NFC=1 +MCORE.DD.SCAN_QR_CODE=1 +MCORE.DD.THREAD=1 +MCORE.DD.WIRELESS=1 + +#Ethernet Network Diagnostics Cluster +DGETH.S.C00=1 +DGETH.S.A0000=1 +DGETH.S.A0001=1 +DGETH.S.A0002=1 +DGETH.S.A0003=1 +DGETH.S.A0004=1 +DGETH.S.A0005=1 +DGETH.S.A0006=1 +DGETH.S.A0007=1 +DGETH.S.A0008=1 + +#Wi-Fi Network Diagnostics Cluster +DGWIFI.S.F00=1 +DGWIFI.S.F01=1 +DGWIFI.S.A0000=1 +DGWIFI.S.A0001=1 +DGWIFI.S.A0002=1 +DGWIFI.S.A0003=1 +DGWIFI.S.A0004=1 +DGWIFI.S.A0005=1 +DGWIFI.S.A0006=1 +DGWIFI.S.A0007=1 +DGWIFI.S.A0008=1 +DGWIFI.S.A0009=1 +DGWIFI.S.A000a=1 +DGWIFI.S.A000b=1 +DGWIFI.S.A000c=1 +DGWIFI.S.E00=1 +DGWIFI.S.E01=1 +DGWIFI.S.E02=1 +DGWIFI.S.C00=1 diff --git a/src/app/tests/suites/tests.js b/src/app/tests/suites/tests.js index e8a0efade92b56..43864778419602 100644 --- a/src/app/tests/suites/tests.js +++ b/src/app/tests/suites/tests.js @@ -319,6 +319,7 @@ function getManualTests() { const FlowMeasurement = ["Test_TC_FLW_2_2", "Test_TC_FLW_3_1"]; const OccupancySensing = [ + "Test_TC_OCC_2_2", "Test_TC_OCC_2_3", "Test_TC_OCC_2_4", "Test_TC_OCC_3_1", @@ -359,7 +360,11 @@ function getManualTests() { "Test_TC_LCFG_3_1", ]; - const LevelControl = ["Test_TC_LVL_2_3", "Test_TC_LVL_8_1"]; + const LevelControl = [ + "Test_TC_LVL_2_3", + "Test_TC_LVL_7_1", + "Test_TC_LVL_8_1", + ]; const OnOff = ["Test_TC_OO_2_3", "Test_TC_OO_3_1", "Test_TC_OO_3_2"]; @@ -410,7 +415,12 @@ function getManualTests() { "Test_TC_FLABEL_2_2", ]; - const Binding = ["Test_TC_BIND_1_1", "Test_TC_BIND_2_1"]; + const Binding = [ + "Test_TC_BIND_1_1", + "Test_TC_BIND_2_1", + "Test_TC_BIND_2_2", + "Test_TC_BIND_2_3", + ]; const Scenes = [ "Test_TC_S_1_1", diff --git a/zzz_generated/chip-tool/zap-generated/test/Commands.h b/zzz_generated/chip-tool/zap-generated/test/Commands.h index c3bd19a940089b..2b4e10e74d4783 100644 --- a/zzz_generated/chip-tool/zap-generated/test/Commands.h +++ b/zzz_generated/chip-tool/zap-generated/test/Commands.h @@ -472,6 +472,7 @@ class ManualTestList : public Command printf("Test_TC_WNCV_7_1\n"); printf("Test_TC_FLW_2_2\n"); printf("Test_TC_FLW_3_1\n"); + printf("Test_TC_OCC_2_2\n"); printf("Test_TC_OCC_2_3\n"); printf("Test_TC_OCC_2_4\n"); printf("Test_TC_OCC_3_1\n"); @@ -501,6 +502,7 @@ class ManualTestList : public Command printf("Test_TC_LCFG_2_1\n"); printf("Test_TC_LCFG_3_1\n"); printf("Test_TC_LVL_2_3\n"); + printf("Test_TC_LVL_7_1\n"); printf("Test_TC_LVL_8_1\n"); printf("Test_TC_OO_2_3\n"); printf("Test_TC_OO_3_1\n"); @@ -539,6 +541,8 @@ class ManualTestList : public Command printf("Test_TC_FLABEL_2_2\n"); printf("Test_TC_BIND_1_1\n"); printf("Test_TC_BIND_2_1\n"); + printf("Test_TC_BIND_2_2\n"); + printf("Test_TC_BIND_2_3\n"); printf("Test_TC_S_1_1\n"); printf("Test_TC_S_2_1\n"); printf("Test_TC_S_2_2\n"); @@ -10383,22 +10387,25 @@ class Test_TC_DGETH_2_1Suite : public TestCommand } case 1: { LogStep(1, "Read PHYRate attribute constraints"); + VerifyOrDo(!ShouldSkip("DGETH.S.A0000"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(0), EthernetNetworkDiagnostics::Id, EthernetNetworkDiagnostics::Attributes::PHYRate::Id, true, chip::NullOptional); } case 2: { LogStep(2, "Read FullDuplex attribute constraints"); + VerifyOrDo(!ShouldSkip("DGETH.S.A0001"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(0), EthernetNetworkDiagnostics::Id, EthernetNetworkDiagnostics::Attributes::FullDuplex::Id, true, chip::NullOptional); } case 3: { LogStep(3, "Read PacketRxCount attribute constraints"); + VerifyOrDo(!ShouldSkip("DGETH.S.A0002"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(0), EthernetNetworkDiagnostics::Id, EthernetNetworkDiagnostics::Attributes::PacketRxCount::Id, true, chip::NullOptional); } case 4: { LogStep(4, "Read PacketRxCount value from DUT and verify the number of packets received on ethernet network interface"); - VerifyOrDo(!ShouldSkip("PICS_USER_PROMPT"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + VerifyOrDo(!ShouldSkip("PICS_USER_PROMPT && DGETH.S.A0002"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::LogCommands::Commands::UserPrompt::Type value; value.message = chip::Span("Please enter 'y' for successgarbage: not in length on purpose", 28); @@ -10408,12 +10415,13 @@ class Test_TC_DGETH_2_1Suite : public TestCommand } case 5: { LogStep(5, "Read PacketTxCount attribute constraints"); + VerifyOrDo(!ShouldSkip("DGETH.S.A0003"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(0), EthernetNetworkDiagnostics::Id, EthernetNetworkDiagnostics::Attributes::PacketTxCount::Id, true, chip::NullOptional); } case 6: { LogStep(6, "Read PacketTxCount value from DUT and verify the number of packets received on ethernet network interface"); - VerifyOrDo(!ShouldSkip("PICS_USER_PROMPT"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + VerifyOrDo(!ShouldSkip("PICS_USER_PROMPT && DGETH.S.A0003"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::LogCommands::Commands::UserPrompt::Type value; value.message = chip::Span("Please enter 'y' for successgarbage: not in length on purpose", 28); @@ -10423,6 +10431,7 @@ class Test_TC_DGETH_2_1Suite : public TestCommand } case 7: { LogStep(7, "Read TxErrCount attribute constraints"); + VerifyOrDo(!ShouldSkip("DGETH.S.A0004"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(0), EthernetNetworkDiagnostics::Id, EthernetNetworkDiagnostics::Attributes::TxErrCount::Id, true, chip::NullOptional); } @@ -10430,7 +10439,7 @@ class Test_TC_DGETH_2_1Suite : public TestCommand LogStep(8, "Read TxErrCount value from DUT and verify value indicates the number of failed packet transmission on " "ethernet network interface"); - VerifyOrDo(!ShouldSkip("PICS_USER_PROMPT"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + VerifyOrDo(!ShouldSkip("PICS_USER_PROMPT && DGETH.S.A0004"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::LogCommands::Commands::UserPrompt::Type value; value.message = chip::Span("Please enter 'y' for successgarbage: not in length on purpose", 28); @@ -10440,6 +10449,7 @@ class Test_TC_DGETH_2_1Suite : public TestCommand } case 9: { LogStep(9, "Read CollisionCount attribute constraints"); + VerifyOrDo(!ShouldSkip("DGETH.S.A0005"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(0), EthernetNetworkDiagnostics::Id, EthernetNetworkDiagnostics::Attributes::CollisionCount::Id, true, chip::NullOptional); } @@ -10447,7 +10457,7 @@ class Test_TC_DGETH_2_1Suite : public TestCommand LogStep(10, "Read CollisionCount value from DUT and verify value indicates the number of collision occurred while " "transmitting packets on ethernet network interface"); - VerifyOrDo(!ShouldSkip("PICS_USER_PROMPT"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + VerifyOrDo(!ShouldSkip("PICS_USER_PROMPT && DGETH.S.A0005"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::LogCommands::Commands::UserPrompt::Type value; value.message = chip::Span("Please enter 'y' for successgarbage: not in length on purpose", 28); @@ -10457,6 +10467,7 @@ class Test_TC_DGETH_2_1Suite : public TestCommand } case 11: { LogStep(11, "Read OverrunCount attribute constraints"); + VerifyOrDo(!ShouldSkip("DGETH.S.A0006"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(0), EthernetNetworkDiagnostics::Id, EthernetNetworkDiagnostics::Attributes::OverrunCount::Id, true, chip::NullOptional); } @@ -10464,7 +10475,7 @@ class Test_TC_DGETH_2_1Suite : public TestCommand LogStep(12, "Read OverrunCount value from DUT and verify value indicates the number of packets dropped due to lack of " "buffer memory on ethernet network interface"); - VerifyOrDo(!ShouldSkip("PICS_USER_PROMPT"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + VerifyOrDo(!ShouldSkip("PICS_USER_PROMPT && DGETH.S.A0006"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::LogCommands::Commands::UserPrompt::Type value; value.message = chip::Span("Please enter 'y' for successgarbage: not in length on purpose", 28); @@ -10474,6 +10485,7 @@ class Test_TC_DGETH_2_1Suite : public TestCommand } case 13: { LogStep(13, "Read CarrierDetect attribute constraints"); + VerifyOrDo(!ShouldSkip("DGETH.S.A0007"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(0), EthernetNetworkDiagnostics::Id, EthernetNetworkDiagnostics::Attributes::CarrierDetect::Id, true, chip::NullOptional); } @@ -10481,7 +10493,7 @@ class Test_TC_DGETH_2_1Suite : public TestCommand LogStep(14, "Read CarrierDetect value from DUT and verify value indicates the presence of carrier detect control signal on " "ethernet network interface"); - VerifyOrDo(!ShouldSkip("PICS_USER_PROMPT"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + VerifyOrDo(!ShouldSkip("PICS_USER_PROMPT && DGETH.S.A0007"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::LogCommands::Commands::UserPrompt::Type value; value.message = chip::Span("Please enter 'y' for successgarbage: not in length on purpose", 28); @@ -10491,12 +10503,13 @@ class Test_TC_DGETH_2_1Suite : public TestCommand } case 15: { LogStep(15, "Read TimeSinceReset attribute constraints"); + VerifyOrDo(!ShouldSkip("DGETH.S.A0008"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(0), EthernetNetworkDiagnostics::Id, EthernetNetworkDiagnostics::Attributes::TimeSinceReset::Id, true, chip::NullOptional); } case 16: { LogStep(16, "Read TimeSinceReset value from DUT and verify the value indicates the duration of time, in minutes"); - VerifyOrDo(!ShouldSkip("PICS_USER_PROMPT"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + VerifyOrDo(!ShouldSkip("PICS_USER_PROMPT && DGETH.S.A0008"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::LogCommands::Commands::UserPrompt::Type value; value.message = chip::Span("Please enter 'y' for successgarbage: not in length on purpose", 28); @@ -10616,7 +10629,7 @@ class Test_TC_DGETH_2_2Suite : public TestCommand } case 1: { LogStep(1, "Sends ResetCounts command"); - VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP && DGETH.S.C00"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::EthernetNetworkDiagnostics::Commands::ResetCounts::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(0), EthernetNetworkDiagnostics::Id, @@ -10626,31 +10639,31 @@ class Test_TC_DGETH_2_2Suite : public TestCommand } case 2: { LogStep(2, "Read the PacketRxCount attribute"); - VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP && DGETH.S.A0002"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(0), EthernetNetworkDiagnostics::Id, EthernetNetworkDiagnostics::Attributes::PacketRxCount::Id, true, chip::NullOptional); } case 3: { LogStep(3, "Read the PacketTxCount attribute"); - VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP && DGETH.S.A0003"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(0), EthernetNetworkDiagnostics::Id, EthernetNetworkDiagnostics::Attributes::PacketTxCount::Id, true, chip::NullOptional); } case 4: { LogStep(4, "Read the TxErrCount attribute"); - VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP && DGETH.S.A0004"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(0), EthernetNetworkDiagnostics::Id, EthernetNetworkDiagnostics::Attributes::TxErrCount::Id, true, chip::NullOptional); } case 5: { LogStep(5, "Read the CollisionCount attribute"); - VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP && DGETH.S.A0005"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(0), EthernetNetworkDiagnostics::Id, EthernetNetworkDiagnostics::Attributes::CollisionCount::Id, true, chip::NullOptional); } case 6: { LogStep(6, "Read the OverrunCount attribute"); - VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP && DGETH.S.A0006"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(0), EthernetNetworkDiagnostics::Id, EthernetNetworkDiagnostics::Attributes::OverrunCount::Id, true, chip::NullOptional); } @@ -13401,35 +13414,37 @@ class Test_TC_LVL_2_1Suite : public TestCommand } case 3: { LogStep(3, "Reads the CurrentLevel attribute"); + VerifyOrDo(!ShouldSkip("LVL.S.A0000"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Attributes::CurrentLevel::Id, true, chip::NullOptional); } case 4: { LogStep(4, "Reads the RemainingTime attribute"); + VerifyOrDo(!ShouldSkip("LVL.S.A0001"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Attributes::RemainingTime::Id, true, chip::NullOptional); } case 5: { LogStep(5, "Reads the MinLevel attribute"); - VerifyOrDo(!ShouldSkip("LVL.S.F01"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + VerifyOrDo(!ShouldSkip("LVL.S.A0002"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Attributes::MinLevel::Id, true, chip::NullOptional); } case 6: { LogStep(6, "Reads the MinLevel attribute"); - VerifyOrDo(!ShouldSkip(" !LVL.S.F01 "), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + VerifyOrDo(!ShouldSkip("LVL.S.A0002"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Attributes::MinLevel::Id, true, chip::NullOptional); } case 7: { LogStep(7, "Reads the MaxLevel attribute"); - VerifyOrDo(!ShouldSkip("LVL.S.F01"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + VerifyOrDo(!ShouldSkip("LVL.S.A0003"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Attributes::MaxLevel::Id, true, chip::NullOptional); } case 8: { LogStep(8, "Reads the MaxLevel attribute"); - VerifyOrDo(!ShouldSkip(" !LVL.S.F01 "), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + VerifyOrDo(!ShouldSkip("LVL.S.A0003"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Attributes::MaxLevel::Id, true, chip::NullOptional); } @@ -13447,26 +13462,31 @@ class Test_TC_LVL_2_1Suite : public TestCommand } case 11: { LogStep(11, "Reads the CurrentFrequency attribute"); + VerifyOrDo(!ShouldSkip("LVL.S.A0004"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Attributes::CurrentFrequency::Id, true, chip::NullOptional); } case 12: { LogStep(12, "Reads the MinFrequency attribute"); + VerifyOrDo(!ShouldSkip("LVL.S.A0005"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Attributes::MinFrequency::Id, true, chip::NullOptional); } case 13: { LogStep(13, "Reads the MaxFrequency attribute"); + VerifyOrDo(!ShouldSkip("LVL.S.A0006"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Attributes::MaxFrequency::Id, true, chip::NullOptional); } case 14: { LogStep(14, "Step 7b & 7C Reads the CurrentFrequency attribute"); + VerifyOrDo(!ShouldSkip("LVL.S.A0004 && LVL.S.A0005"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Attributes::CurrentFrequency::Id, true, chip::NullOptional); } case 15: { LogStep(15, "Reads the OnOffTransitionTime attribute"); + VerifyOrDo(!ShouldSkip("LVL.S.A0010"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Attributes::OnOffTransitionTime::Id, true, chip::NullOptional); } @@ -13484,26 +13504,31 @@ class Test_TC_LVL_2_1Suite : public TestCommand } case 18: { LogStep(18, "Reads the OnTransitionTime attribute "); + VerifyOrDo(!ShouldSkip("LVL.S.A0012"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Attributes::OnTransitionTime::Id, true, chip::NullOptional); } case 19: { LogStep(19, "Reads the OffTransitionTime attribute "); + VerifyOrDo(!ShouldSkip("LVL.S.A0013"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Attributes::OffTransitionTime::Id, true, chip::NullOptional); } case 20: { LogStep(20, "Reads the DefaultMoveRate attribute "); + VerifyOrDo(!ShouldSkip("LVL.S.A0014"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Attributes::DefaultMoveRate::Id, true, chip::NullOptional); } case 21: { LogStep(21, "Reads the Options attribute "); + VerifyOrDo(!ShouldSkip("LVL.S.A000f"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Attributes::Options::Id, true, chip::NullOptional); } case 22: { LogStep(22, "Reads the StartUpCurrentLevel attribute "); + VerifyOrDo(!ShouldSkip("LVL.S.A4000"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Attributes::StartUpCurrentLevel::Id, true, chip::NullOptional); } @@ -13720,11 +13745,13 @@ class Test_TC_LVL_2_2Suite : public TestCommand } case 1: { LogStep(1, "Reads the OnOffTransitionTime attribute from the DUT"); + VerifyOrDo(!ShouldSkip("LVL.S.A0010"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Attributes::OnOffTransitionTime::Id, true, chip::NullOptional); } case 2: { LogStep(2, "writes the OnOffTransitionTime attribute on the DUT"); + VerifyOrDo(!ShouldSkip("LVL.S.A0010"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; uint16_t value; value = 10U; @@ -13733,16 +13760,19 @@ class Test_TC_LVL_2_2Suite : public TestCommand } case 3: { LogStep(3, "Reads the OnOffTransitionTime attribute from the DUT"); + VerifyOrDo(!ShouldSkip("LVL.S.A0010"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Attributes::OnOffTransitionTime::Id, true, chip::NullOptional); } case 4: { LogStep(4, "Reads the OnLevel attribute from the DUT"); + VerifyOrDo(!ShouldSkip("LVL.S.A0011"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Attributes::OnLevel::Id, true, chip::NullOptional); } case 5: { LogStep(5, "writes the OnLevel attribute on the DUT"); + VerifyOrDo(!ShouldSkip("LVL.S.A0011"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::DataModel::Nullable value; value.SetNonNull(); @@ -13752,16 +13782,19 @@ class Test_TC_LVL_2_2Suite : public TestCommand } case 6: { LogStep(6, "Reads the OnLevel attribute from the DUT"); + VerifyOrDo(!ShouldSkip("LVL.S.A0011"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Attributes::OnLevel::Id, true, chip::NullOptional); } case 7: { LogStep(7, "Reads the OnTransitionTime attribute from the DUT"); + VerifyOrDo(!ShouldSkip("LVL.S.A0012"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Attributes::OnTransitionTime::Id, true, chip::NullOptional); } case 8: { LogStep(8, "Writes the OnTransitionTime attribute on the DUT"); + VerifyOrDo(!ShouldSkip("LVL.S.A0012"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::DataModel::Nullable value; value.SetNonNull(); @@ -13771,16 +13804,19 @@ class Test_TC_LVL_2_2Suite : public TestCommand } case 9: { LogStep(9, "Reads the OnTransitionTime attribute from the DUT"); + VerifyOrDo(!ShouldSkip("LVL.S.A0012"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Attributes::OnTransitionTime::Id, true, chip::NullOptional); } case 10: { LogStep(10, "Reads the OffTransitionTime attribute from the DUT"); + VerifyOrDo(!ShouldSkip("LVL.S.A0013"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Attributes::OffTransitionTime::Id, true, chip::NullOptional); } case 11: { LogStep(11, "Writes the OffTransitionTime attribute on the DUT"); + VerifyOrDo(!ShouldSkip("LVL.S.A0013"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::DataModel::Nullable value; value.SetNonNull(); @@ -13790,16 +13826,19 @@ class Test_TC_LVL_2_2Suite : public TestCommand } case 12: { LogStep(12, "Reads the OffTransitionTime attribute from the DUT"); + VerifyOrDo(!ShouldSkip("LVL.S.A0013"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Attributes::OffTransitionTime::Id, true, chip::NullOptional); } case 13: { LogStep(13, "Reads the DefaultMoveRate attribute from the DUT"); + VerifyOrDo(!ShouldSkip("LVL.S.A0014"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Attributes::DefaultMoveRate::Id, true, chip::NullOptional); } case 14: { LogStep(14, "Writes the DefaultMoveRate attribute on the DUT"); + VerifyOrDo(!ShouldSkip("LVL.S.A0014"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::DataModel::Nullable value; value.SetNonNull(); @@ -13809,16 +13848,19 @@ class Test_TC_LVL_2_2Suite : public TestCommand } case 15: { LogStep(15, "Reads the DefaultMoveRate attribute from the DUT"); + VerifyOrDo(!ShouldSkip("LVL.S.A0014"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Attributes::DefaultMoveRate::Id, true, chip::NullOptional); } case 16: { LogStep(16, "Reads the StartUpCurrentLevel attribute from the DUT"); + VerifyOrDo(!ShouldSkip("LVL.S.A4000"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Attributes::StartUpCurrentLevel::Id, true, chip::NullOptional); } case 17: { LogStep(17, "writes the StartUpCurrentLevel attribute on the DUT"); + VerifyOrDo(!ShouldSkip("LVL.S.A4000"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::DataModel::Nullable value; value.SetNonNull(); @@ -13828,11 +13870,13 @@ class Test_TC_LVL_2_2Suite : public TestCommand } case 18: { LogStep(18, "reads the StartUpCurrentLevel attribute from the DUT"); + VerifyOrDo(!ShouldSkip("LVL.S.A4000"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Attributes::StartUpCurrentLevel::Id, true, chip::NullOptional); } case 19: { LogStep(19, "writes back default value of OnOffTransitionTime attribute"); + VerifyOrDo(!ShouldSkip("LVL.S.A0010"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; uint16_t value; value = 0U; @@ -14007,16 +14051,19 @@ class Test_TC_LVL_3_1Suite : public TestCommand } case 1: { LogStep(1, "Reads the MinLevel attribute"); + VerifyOrDo(!ShouldSkip("LVL.S.A0002"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Attributes::MinLevel::Id, true, chip::NullOptional); } case 2: { LogStep(2, "Reads the MaxLevel attribute"); + VerifyOrDo(!ShouldSkip("LVL.S.A0003"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Attributes::MaxLevel::Id, true, chip::NullOptional); } case 3: { LogStep(3, "sends a Move to level command"); + VerifyOrDo(!ShouldSkip("LVL.S.C00.Rsp"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::LevelControl::Commands::MoveToLevel::Type value; value.level = 64U; @@ -14037,11 +14084,13 @@ class Test_TC_LVL_3_1Suite : public TestCommand } case 5: { LogStep(5, "Reads CurrentLevel attribute from DUT"); + VerifyOrDo(!ShouldSkip("LVL.S.C04.Rsp && LVL.S.A0000"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Attributes::CurrentLevel::Id, true, chip::NullOptional); } case 6: { LogStep(6, "sends a Move to level command"); + VerifyOrDo(!ShouldSkip("LVL.S.C00.Rsp"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::LevelControl::Commands::MoveToLevel::Type value; value.level = 100U; @@ -14062,16 +14111,19 @@ class Test_TC_LVL_3_1Suite : public TestCommand } case 8: { LogStep(8, "Reads CurrentLevel attribute from DUT"); + VerifyOrDo(!ShouldSkip("LVL.S.C00.Rsp && LVL.S.A0000"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Attributes::CurrentLevel::Id, true, chip::NullOptional); } case 9: { LogStep(9, "Reads On Off Transition Time attribute from DUT"); + VerifyOrDo(!ShouldSkip("LVL.S.A0010"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Attributes::OnOffTransitionTime::Id, true, chip::NullOptional); } case 10: { LogStep(10, "sends a Move to level command"); + VerifyOrDo(!ShouldSkip("LVL.S.C00.Rsp && LVL.S.A0010"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::LevelControl::Commands::MoveToLevel::Type value; value.level = 128U; @@ -14092,16 +14144,20 @@ class Test_TC_LVL_3_1Suite : public TestCommand } case 12: { LogStep(12, "Reads CurrentLevel attribute from DUT"); + VerifyOrDo(!ShouldSkip("LVL.S.C00.Rsp && LVL.S.A0000 && LVL.S.M.VarRate"), + return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Attributes::CurrentLevel::Id, true, chip::NullOptional); } case 13: { LogStep(13, "Reads the OnOffTransitionTime attribute from the DUT"); + VerifyOrDo(!ShouldSkip("LVL.S.A0010"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Attributes::OnOffTransitionTime::Id, true, chip::NullOptional); } case 14: { LogStep(14, "sends a Move to level command"); + VerifyOrDo(!ShouldSkip("LVL.S.C00.Rsp && LVL.S.A0010"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::LevelControl::Commands::MoveToLevel::Type value; value.level = 64U; @@ -14122,11 +14178,13 @@ class Test_TC_LVL_3_1Suite : public TestCommand } case 16: { LogStep(16, "Reads CurrentLevel attribute from DUT"); + VerifyOrDo(!ShouldSkip("LVL.S.A0000"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Attributes::CurrentLevel::Id, true, chip::NullOptional); } case 17: { LogStep(17, "Reset level to 254"); + VerifyOrDo(!ShouldSkip("LVL.S.C00.Rsp"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::LevelControl::Commands::MoveToLevel::Type value; value.level = 254U; @@ -14306,11 +14364,13 @@ class Test_TC_LVL_4_1Suite : public TestCommand } case 1: { LogStep(1, "Reads Minlevel attribute from DUT"); + VerifyOrDo(!ShouldSkip("LVL.S.A0002"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Attributes::MinLevel::Id, true, chip::NullOptional); } case 2: { LogStep(2, "sends a Move to level command"); + VerifyOrDo(!ShouldSkip("LVL.S.C00.Rsp"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::LevelControl::Commands::MoveToLevel::Type value; value.level = 1U; @@ -14324,11 +14384,13 @@ class Test_TC_LVL_4_1Suite : public TestCommand } case 3: { LogStep(3, "reads max level attribute from DUT"); + VerifyOrDo(!ShouldSkip("LVL.S.A0003"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Attributes::MaxLevel::Id, true, chip::NullOptional); } case 4: { LogStep(4, "sends a Move up command"); + VerifyOrDo(!ShouldSkip("LVL.S.C01.Rsp"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::LevelControl::Commands::Move::Type value; value.moveMode = static_cast(0); @@ -14361,12 +14423,13 @@ class Test_TC_LVL_4_1Suite : public TestCommand } case 7: { LogStep(7, "Reads CurrentLevel attribute from DUT"); - VerifyOrDo(!ShouldSkip("LVL.S.A0003"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + VerifyOrDo(!ShouldSkip("LVL.S.C01.Rsp && LVL.S.A0000"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Attributes::CurrentLevel::Id, true, chip::NullOptional); } case 8: { LogStep(8, "sends a MoveWithOnOff command"); + VerifyOrDo(!ShouldSkip("LVL.S.C05.Rsp"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::LevelControl::Commands::MoveWithOnOff::Type value; value.moveMode = static_cast(1); @@ -14397,17 +14460,19 @@ class Test_TC_LVL_4_1Suite : public TestCommand } case 11: { LogStep(11, "reads CurrentLevel attribute from DUT"); - VerifyOrDo(!ShouldSkip("LVL.S.A0002"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + VerifyOrDo(!ShouldSkip("LVL.S.C05.Rsp && LVL.S.A0000"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Attributes::CurrentLevel::Id, true, chip::NullOptional); } case 12: { LogStep(12, "reads default move rate attribute from DUT"); + VerifyOrDo(!ShouldSkip("LVL.S.A0014"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Attributes::DefaultMoveRate::Id, true, chip::NullOptional); } case 13: { LogStep(13, "sends a Move up command at default move rate"); + VerifyOrDo(!ShouldSkip("LVL.S.C05.Rsp && LVL.S.A0014"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::LevelControl::Commands::Move::Type value; value.moveMode = static_cast(0); @@ -14440,6 +14505,7 @@ class Test_TC_LVL_4_1Suite : public TestCommand } case 16: { LogStep(16, "Reset level to 254"); + VerifyOrDo(!ShouldSkip("LVL.S.C00.Rsp"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::LevelControl::Commands::MoveToLevel::Type value; value.level = 254U; @@ -14589,11 +14655,13 @@ class Test_TC_LVL_5_1Suite : public TestCommand } case 1: { LogStep(1, "Reads Minlevel attribute from DUT"); + VerifyOrDo(!ShouldSkip("LVL.S.A0002"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Attributes::MinLevel::Id, true, chip::NullOptional); } case 2: { LogStep(2, "Sends MoveToLevelWithOnOff command to DUT"); + VerifyOrDo(!ShouldSkip("LVL.S.C04.Rsp"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::LevelControl::Commands::MoveToLevelWithOnOff::Type value; value.level = 1U; @@ -14605,11 +14673,13 @@ class Test_TC_LVL_5_1Suite : public TestCommand } case 3: { LogStep(3, "Reads current level attribute from DUT"); + VerifyOrDo(!ShouldSkip("LVL.S.A0000"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Attributes::CurrentLevel::Id, true, chip::NullOptional); } case 4: { LogStep(4, "Sends step up command to DUT"); + VerifyOrDo(!ShouldSkip("LVL.S.C02.Rsp"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::LevelControl::Commands::Step::Type value; value.stepMode = static_cast(0); @@ -14631,11 +14701,13 @@ class Test_TC_LVL_5_1Suite : public TestCommand } case 6: { LogStep(6, "Reads current level attribute from DUT"); + VerifyOrDo(!ShouldSkip("LVL.S.A0000 && LVL.S.C02.Rsp"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Attributes::CurrentLevel::Id, true, chip::NullOptional); } case 7: { LogStep(7, "Sends a StepWithOnOff command"); + VerifyOrDo(!ShouldSkip("LVL.S.C06.Rsp"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::LevelControl::Commands::StepWithOnOff::Type value; value.stepMode = static_cast(1); @@ -14655,11 +14727,13 @@ class Test_TC_LVL_5_1Suite : public TestCommand } case 9: { LogStep(9, "Reads current level attribute from DUT"); + VerifyOrDo(!ShouldSkip("LVL.S.C06.Rsp && LVL.S.A0000"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Attributes::CurrentLevel::Id, true, chip::NullOptional); } case 10: { LogStep(10, "Reset level to 254"); + VerifyOrDo(!ShouldSkip("LVL.S.C00.Rsp"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::LevelControl::Commands::MoveToLevel::Type value; value.level = 254U; @@ -14827,11 +14901,13 @@ class Test_TC_LVL_6_1Suite : public TestCommand } case 1: { LogStep(1, "Reads Minlevel attribute from DUT"); + VerifyOrDo(!ShouldSkip("LVL.S.A0002"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Attributes::MinLevel::Id, true, chip::NullOptional); } case 2: { LogStep(2, "Sends MoveToLevelWithOnOff command to DUT"); + VerifyOrDo(!ShouldSkip("LVL.S.C04.Rsp"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::LevelControl::Commands::MoveToLevelWithOnOff::Type value; value.level = 1U; @@ -14843,11 +14919,13 @@ class Test_TC_LVL_6_1Suite : public TestCommand } case 3: { LogStep(3, "Reads CurrentLevel attribute from DUT"); + VerifyOrDo(!ShouldSkip("LVL.S.A0000"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Attributes::CurrentLevel::Id, true, chip::NullOptional); } case 4: { LogStep(4, "Sends a move up command to DUT"); + VerifyOrDo(!ShouldSkip("LVL.S.C01.Rsp"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::LevelControl::Commands::Move::Type value; value.moveMode = static_cast(0); @@ -14868,6 +14946,7 @@ class Test_TC_LVL_6_1Suite : public TestCommand } case 6: { LogStep(6, "Sends stop command to DUT"); + VerifyOrDo(!ShouldSkip("LVL.S.C03.Rsp"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::LevelControl::Commands::Stop::Type value; value.optionMask = 0U; @@ -14889,11 +14968,14 @@ class Test_TC_LVL_6_1Suite : public TestCommand } case 8: { LogStep(8, "Reads CurrentLevel attribute from DUT"); + VerifyOrDo(!ShouldSkip("LVL.S.C01.Rsp && LVL.S.C03.Rsp && LVL.S.A0000"), + return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Attributes::CurrentLevel::Id, true, chip::NullOptional); } case 9: { LogStep(9, "Sends a move up command to DUT"); + VerifyOrDo(!ShouldSkip("LVL.S.C01.Rsp"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::LevelControl::Commands::Move::Type value; value.moveMode = static_cast(0); @@ -14935,11 +15017,14 @@ class Test_TC_LVL_6_1Suite : public TestCommand } case 13: { LogStep(13, "Reads CurrentLevel attribute from DUT"); + VerifyOrDo(!ShouldSkip("LVL.S.C01.Rsp && LVL.S.C07.Rsp && LVL.S.A0000"), + return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Attributes::CurrentLevel::Id, true, chip::NullOptional); } case 14: { LogStep(14, "Reset level to 254"); + VerifyOrDo(!ShouldSkip("LVL.S.C00.Rsp"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::LevelControl::Commands::MoveToLevel::Type value; value.level = 254U; @@ -32634,73 +32719,79 @@ class Test_TC_DGWIFI_2_1Suite : public TestCommand } case 1: { LogStep(1, "Reads NetworkInterface structure attribute from DUT"); + VerifyOrDo(!ShouldSkip("DGWIFI.S.A0000"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(0), GeneralDiagnostics::Id, GeneralDiagnostics::Attributes::NetworkInterfaces::Id, true, chip::NullOptional); } case 2: { LogStep(2, "Reads SecurityType attribute constraints"); + VerifyOrDo(!ShouldSkip("DGWIFI.S.A0001"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(0), WiFiNetworkDiagnostics::Id, WiFiNetworkDiagnostics::Attributes::SecurityType::Id, true, chip::NullOptional); } case 3: { LogStep(3, "Reads WiFiVersion attribute constraints"); + VerifyOrDo(!ShouldSkip("DGWIFI.S.A0002"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(0), WiFiNetworkDiagnostics::Id, WiFiNetworkDiagnostics::Attributes::WiFiVersion::Id, true, chip::NullOptional); } case 4: { LogStep(4, "Reads ChannelNumber attribute constraints"); + VerifyOrDo(!ShouldSkip("DGWIFI.S.A0003"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(0), WiFiNetworkDiagnostics::Id, WiFiNetworkDiagnostics::Attributes::ChannelNumber::Id, true, chip::NullOptional); } case 5: { LogStep(5, "Reads RSSI attribute constraints"); + VerifyOrDo(!ShouldSkip("DGWIFI.S.A0004"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(0), WiFiNetworkDiagnostics::Id, WiFiNetworkDiagnostics::Attributes::Rssi::Id, true, chip::NullOptional); } case 6: { LogStep(6, "Reads BeaconLostCount attribute constraints"); - VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP && DGWIFI.S.A0005"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(0), WiFiNetworkDiagnostics::Id, WiFiNetworkDiagnostics::Attributes::BeaconLostCount::Id, true, chip::NullOptional); } case 7: { LogStep(7, "Reads BeaconRxCount attribute constraints"); + VerifyOrDo(!ShouldSkip("DGWIFI.S.A0006"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(0), WiFiNetworkDiagnostics::Id, WiFiNetworkDiagnostics::Attributes::BeaconRxCount::Id, true, chip::NullOptional); } case 8: { LogStep(8, "Reads PacketMulticastRxCount attribute constraints"); - VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP && DGWIFI.S.A0007"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(0), WiFiNetworkDiagnostics::Id, WiFiNetworkDiagnostics::Attributes::PacketMulticastRxCount::Id, true, chip::NullOptional); } case 9: { LogStep(9, "Reads PacketMulticastTxCount attribute constraints"); - VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP && DGWIFI.S.A0008"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(0), WiFiNetworkDiagnostics::Id, WiFiNetworkDiagnostics::Attributes::PacketMulticastTxCount::Id, true, chip::NullOptional); } case 10: { LogStep(10, "Reads PacketUnicastRxCount attribute constraints"); - VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP && DGWIFI.S.A0009"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(0), WiFiNetworkDiagnostics::Id, WiFiNetworkDiagnostics::Attributes::PacketUnicastRxCount::Id, true, chip::NullOptional); } case 11: { LogStep(11, "Reads PacketUnicastTxCount attribute constraints"); - VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP && DGWIFI.S.A000a"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(0), WiFiNetworkDiagnostics::Id, WiFiNetworkDiagnostics::Attributes::PacketUnicastTxCount::Id, true, chip::NullOptional); } case 12: { LogStep(12, "Reads CurrentMaxRate attribute constraints"); - VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP && DGWIFI.S.A000b"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(0), WiFiNetworkDiagnostics::Id, WiFiNetworkDiagnostics::Attributes::CurrentMaxRate::Id, true, chip::NullOptional); } case 13: { LogStep(13, "Reads OverrunCount attribute constraints"); - VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP && DGWIFI.S.A000c"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(0), WiFiNetworkDiagnostics::Id, WiFiNetworkDiagnostics::Attributes::OverrunCount::Id, true, chip::NullOptional); } @@ -32824,7 +32915,7 @@ class Test_TC_DGWIFI_2_3Suite : public TestCommand } case 1: { LogStep(1, "TH sends ResetCounts command to DUT"); - VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP && DGWIFI.S.C00"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::WiFiNetworkDiagnostics::Commands::ResetCounts::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(0), WiFiNetworkDiagnostics::Id, @@ -32834,37 +32925,37 @@ class Test_TC_DGWIFI_2_3Suite : public TestCommand } case 2: { LogStep(2, "Reads BeaconLostCount attribute from DUT"); - VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP && DGWIFI.S.C00"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(0), WiFiNetworkDiagnostics::Id, WiFiNetworkDiagnostics::Attributes::BeaconLostCount::Id, true, chip::NullOptional); } case 3: { LogStep(3, "Reads BeaconRxCount attribute from DUT"); - VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP && DGWIFI.S.C00"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(0), WiFiNetworkDiagnostics::Id, WiFiNetworkDiagnostics::Attributes::BeaconRxCount::Id, true, chip::NullOptional); } case 4: { LogStep(4, "Reads PacketMulticastRxCount attribute from DUT"); - VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP && DGWIFI.S.C00"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(0), WiFiNetworkDiagnostics::Id, WiFiNetworkDiagnostics::Attributes::PacketMulticastRxCount::Id, true, chip::NullOptional); } case 5: { LogStep(5, "Reads PacketMulticastTxCount attribute from DUT"); - VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP && DGWIFI.S.C00"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(0), WiFiNetworkDiagnostics::Id, WiFiNetworkDiagnostics::Attributes::PacketMulticastTxCount::Id, true, chip::NullOptional); } case 6: { LogStep(6, "Reads PacketUnicastRxCount attribute from DUT"); - VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP && DGWIFI.S.C00"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(0), WiFiNetworkDiagnostics::Id, WiFiNetworkDiagnostics::Attributes::PacketUnicastRxCount::Id, true, chip::NullOptional); } case 7: { LogStep(7, "Reads PacketUnicastTxCount attribute from DUT"); - VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP && DGWIFI.S.C00"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(0), WiFiNetworkDiagnostics::Id, WiFiNetworkDiagnostics::Attributes::PacketUnicastTxCount::Id, true, chip::NullOptional); } @@ -78696,6 +78787,62 @@ class Test_TC_FLW_3_1Suite : public TestCommand } }; +class Test_TC_OCC_2_2Suite : public TestCommand +{ +public: + Test_TC_OCC_2_2Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_OCC_2_2", 0, credsIssuerConfig) + { + AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); + AddArgument("cluster", &mCluster); + AddArgument("endpoint", 0, UINT16_MAX, &mEndpoint); + AddArgument("timeout", 0, UINT16_MAX, &mTimeout); + } + + ~Test_TC_OCC_2_2Suite() {} + + chip::System::Clock::Timeout GetWaitDuration() const override + { + return chip::System::Clock::Seconds16(mTimeout.ValueOr(kTimeoutInSeconds)); + } + +private: + chip::Optional mNodeId; + chip::Optional mCluster; + chip::Optional mEndpoint; + chip::Optional mTimeout; + + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + + // + // Tests methods + // + + void OnResponse(const chip::app::StatusIB & status, chip::TLV::TLVReader * data) override + { + bool shouldContinue = false; + + switch (mTestIndex - 1) + { + default: + LogErrorOnFailure(ContinueOnChipMainThread(CHIP_ERROR_INVALID_ARGUMENT)); + } + + if (shouldContinue) + { + ContinueOnChipMainThread(CHIP_NO_ERROR); + } + } + + CHIP_ERROR DoTestStep(uint16_t testIndex) override + { + using namespace chip::app::Clusters; + switch (testIndex) + { + } + return CHIP_NO_ERROR; + } +}; + class Test_TC_OCC_2_3Suite : public TestCommand { public: @@ -78895,13 +79042,13 @@ class Test_TC_OCC_3_1Suite : public TestCommand } case 1: { LogStep(1, "Reads Occupancy attribute from DUT"); - VerifyOrDo(!ShouldSkip("A_OCCUPANCY"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + VerifyOrDo(!ShouldSkip("OCC.S.A0000"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), OccupancySensing::Id, OccupancySensing::Attributes::Occupancy::Id, true, chip::NullOptional); } case 2: { LogStep(2, "Operate on DUT to change the occupancy status"); - VerifyOrDo(!ShouldSkip("MANUAL_OCCUPANCY_CHANGE"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + VerifyOrDo(!ShouldSkip("OCC.M.OccupancyChange"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::LogCommands::Commands::UserPrompt::Type value; value.message = @@ -78910,7 +79057,7 @@ class Test_TC_OCC_3_1Suite : public TestCommand } case 3: { LogStep(3, "Reads back Occupancy attribute from DUT after few seconds"); - VerifyOrDo(!ShouldSkip("A_OCCUPANCY"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + VerifyOrDo(!ShouldSkip("OCC.S.A0000"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), OccupancySensing::Id, OccupancySensing::Attributes::Occupancy::Id, true, chip::NullOptional); } @@ -82344,6 +82491,62 @@ class Test_TC_LVL_2_3Suite : public TestCommand } }; +class Test_TC_LVL_7_1Suite : public TestCommand +{ +public: + Test_TC_LVL_7_1Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_LVL_7_1", 0, credsIssuerConfig) + { + AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); + AddArgument("cluster", &mCluster); + AddArgument("endpoint", 0, UINT16_MAX, &mEndpoint); + AddArgument("timeout", 0, UINT16_MAX, &mTimeout); + } + + ~Test_TC_LVL_7_1Suite() {} + + chip::System::Clock::Timeout GetWaitDuration() const override + { + return chip::System::Clock::Seconds16(mTimeout.ValueOr(kTimeoutInSeconds)); + } + +private: + chip::Optional mNodeId; + chip::Optional mCluster; + chip::Optional mEndpoint; + chip::Optional mTimeout; + + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + + // + // Tests methods + // + + void OnResponse(const chip::app::StatusIB & status, chip::TLV::TLVReader * data) override + { + bool shouldContinue = false; + + switch (mTestIndex - 1) + { + default: + LogErrorOnFailure(ContinueOnChipMainThread(CHIP_ERROR_INVALID_ARGUMENT)); + } + + if (shouldContinue) + { + ContinueOnChipMainThread(CHIP_NO_ERROR); + } + } + + CHIP_ERROR DoTestStep(uint16_t testIndex) override + { + using namespace chip::app::Clusters; + switch (testIndex) + { + } + return CHIP_NO_ERROR; + } +}; + class Test_TC_LVL_8_1Suite : public TestCommand { public: @@ -86420,6 +86623,118 @@ class Test_TC_BIND_2_1Suite : public TestCommand } }; +class Test_TC_BIND_2_2Suite : public TestCommand +{ +public: + Test_TC_BIND_2_2Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_BIND_2_2", 0, credsIssuerConfig) + { + AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); + AddArgument("cluster", &mCluster); + AddArgument("endpoint", 0, UINT16_MAX, &mEndpoint); + AddArgument("timeout", 0, UINT16_MAX, &mTimeout); + } + + ~Test_TC_BIND_2_2Suite() {} + + chip::System::Clock::Timeout GetWaitDuration() const override + { + return chip::System::Clock::Seconds16(mTimeout.ValueOr(kTimeoutInSeconds)); + } + +private: + chip::Optional mNodeId; + chip::Optional mCluster; + chip::Optional mEndpoint; + chip::Optional mTimeout; + + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + + // + // Tests methods + // + + void OnResponse(const chip::app::StatusIB & status, chip::TLV::TLVReader * data) override + { + bool shouldContinue = false; + + switch (mTestIndex - 1) + { + default: + LogErrorOnFailure(ContinueOnChipMainThread(CHIP_ERROR_INVALID_ARGUMENT)); + } + + if (shouldContinue) + { + ContinueOnChipMainThread(CHIP_NO_ERROR); + } + } + + CHIP_ERROR DoTestStep(uint16_t testIndex) override + { + using namespace chip::app::Clusters; + switch (testIndex) + { + } + return CHIP_NO_ERROR; + } +}; + +class Test_TC_BIND_2_3Suite : public TestCommand +{ +public: + Test_TC_BIND_2_3Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_BIND_2_3", 0, credsIssuerConfig) + { + AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); + AddArgument("cluster", &mCluster); + AddArgument("endpoint", 0, UINT16_MAX, &mEndpoint); + AddArgument("timeout", 0, UINT16_MAX, &mTimeout); + } + + ~Test_TC_BIND_2_3Suite() {} + + chip::System::Clock::Timeout GetWaitDuration() const override + { + return chip::System::Clock::Seconds16(mTimeout.ValueOr(kTimeoutInSeconds)); + } + +private: + chip::Optional mNodeId; + chip::Optional mCluster; + chip::Optional mEndpoint; + chip::Optional mTimeout; + + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + + // + // Tests methods + // + + void OnResponse(const chip::app::StatusIB & status, chip::TLV::TLVReader * data) override + { + bool shouldContinue = false; + + switch (mTestIndex - 1) + { + default: + LogErrorOnFailure(ContinueOnChipMainThread(CHIP_ERROR_INVALID_ARGUMENT)); + } + + if (shouldContinue) + { + ContinueOnChipMainThread(CHIP_NO_ERROR); + } + } + + CHIP_ERROR DoTestStep(uint16_t testIndex) override + { + using namespace chip::app::Clusters; + switch (testIndex) + { + } + return CHIP_NO_ERROR; + } +}; + class Test_TC_S_1_1Suite : public TestCommand { public: @@ -87193,6 +87508,7 @@ void registerCommandsTests(Commands & commands, CredentialIssuerCommands * creds make_unique(credsIssuerConfig), make_unique(credsIssuerConfig), make_unique(credsIssuerConfig), + make_unique(credsIssuerConfig), make_unique(credsIssuerConfig), make_unique(credsIssuerConfig), make_unique(credsIssuerConfig), @@ -87222,6 +87538,7 @@ void registerCommandsTests(Commands & commands, CredentialIssuerCommands * creds make_unique(credsIssuerConfig), make_unique(credsIssuerConfig), make_unique(credsIssuerConfig), + make_unique(credsIssuerConfig), make_unique(credsIssuerConfig), make_unique(credsIssuerConfig), make_unique(credsIssuerConfig), @@ -87260,6 +87577,8 @@ void registerCommandsTests(Commands & commands, CredentialIssuerCommands * creds make_unique(credsIssuerConfig), make_unique(credsIssuerConfig), make_unique(credsIssuerConfig), + make_unique(credsIssuerConfig), + make_unique(credsIssuerConfig), make_unique(credsIssuerConfig), make_unique(credsIssuerConfig), make_unique(credsIssuerConfig), 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 4d498a43c0ef49..b2a264b17b6ebf 100644 --- a/zzz_generated/darwin-framework-tool/zap-generated/test/Commands.h +++ b/zzz_generated/darwin-framework-tool/zap-generated/test/Commands.h @@ -17054,21 +17054,33 @@ class Test_TC_DGETH_2_1 : public TestCommandBridge { break; case 1: ChipLogProgress(chipTool, " ***** Test Step 1 : Read PHYRate attribute constraints\n"); + if (ShouldSkip("DGETH.S.A0000")) { + NextTest(); + return; + } err = TestReadPHYRateAttributeConstraints_1(); break; case 2: ChipLogProgress(chipTool, " ***** Test Step 2 : Read FullDuplex attribute constraints\n"); + if (ShouldSkip("DGETH.S.A0001")) { + NextTest(); + return; + } err = TestReadFullDuplexAttributeConstraints_2(); break; case 3: ChipLogProgress(chipTool, " ***** Test Step 3 : Read PacketRxCount attribute constraints\n"); + if (ShouldSkip("DGETH.S.A0002")) { + NextTest(); + return; + } err = TestReadPacketRxCountAttributeConstraints_3(); break; case 4: ChipLogProgress(chipTool, " ***** Test Step 4 : Read PacketRxCount value from DUT and verify the number of packets received on ethernet " "network interface\n"); - if (ShouldSkip("PICS_USER_PROMPT")) { + if (ShouldSkip("PICS_USER_PROMPT && DGETH.S.A0002")) { NextTest(); return; } @@ -17076,13 +17088,17 @@ class Test_TC_DGETH_2_1 : public TestCommandBridge { break; case 5: ChipLogProgress(chipTool, " ***** Test Step 5 : Read PacketTxCount attribute constraints\n"); + if (ShouldSkip("DGETH.S.A0003")) { + NextTest(); + return; + } err = TestReadPacketTxCountAttributeConstraints_5(); break; case 6: ChipLogProgress(chipTool, " ***** Test Step 6 : Read PacketTxCount value from DUT and verify the number of packets received on ethernet " "network interface\n"); - if (ShouldSkip("PICS_USER_PROMPT")) { + if (ShouldSkip("PICS_USER_PROMPT && DGETH.S.A0003")) { NextTest(); return; } @@ -17090,13 +17106,17 @@ class Test_TC_DGETH_2_1 : public TestCommandBridge { break; case 7: ChipLogProgress(chipTool, " ***** Test Step 7 : Read TxErrCount attribute constraints\n"); + if (ShouldSkip("DGETH.S.A0004")) { + NextTest(); + return; + } err = TestReadTxErrCountAttributeConstraints_7(); break; case 8: ChipLogProgress(chipTool, " ***** Test Step 8 : Read TxErrCount value from DUT and verify value indicates the number of failed packet " "transmission on ethernet network interface\n"); - if (ShouldSkip("PICS_USER_PROMPT")) { + if (ShouldSkip("PICS_USER_PROMPT && DGETH.S.A0004")) { NextTest(); return; } @@ -17104,13 +17124,17 @@ class Test_TC_DGETH_2_1 : public TestCommandBridge { break; case 9: ChipLogProgress(chipTool, " ***** Test Step 9 : Read CollisionCount attribute constraints\n"); + if (ShouldSkip("DGETH.S.A0005")) { + NextTest(); + return; + } err = TestReadCollisionCountAttributeConstraints_9(); break; case 10: ChipLogProgress(chipTool, " ***** Test Step 10 : Read CollisionCount value from DUT and verify value indicates the number of collision " "occurred while transmitting packets on ethernet network interface\n"); - if (ShouldSkip("PICS_USER_PROMPT")) { + if (ShouldSkip("PICS_USER_PROMPT && DGETH.S.A0005")) { NextTest(); return; } @@ -17118,13 +17142,17 @@ class Test_TC_DGETH_2_1 : public TestCommandBridge { break; case 11: ChipLogProgress(chipTool, " ***** Test Step 11 : Read OverrunCount attribute constraints\n"); + if (ShouldSkip("DGETH.S.A0006")) { + NextTest(); + return; + } err = TestReadOverrunCountAttributeConstraints_11(); break; case 12: ChipLogProgress(chipTool, " ***** Test Step 12 : Read OverrunCount value from DUT and verify value indicates the number of packets dropped " "due to lack of buffer memory on ethernet network interface\n"); - if (ShouldSkip("PICS_USER_PROMPT")) { + if (ShouldSkip("PICS_USER_PROMPT && DGETH.S.A0006")) { NextTest(); return; } @@ -17132,13 +17160,17 @@ class Test_TC_DGETH_2_1 : public TestCommandBridge { break; case 13: ChipLogProgress(chipTool, " ***** Test Step 13 : Read CarrierDetect attribute constraints\n"); + if (ShouldSkip("DGETH.S.A0007")) { + NextTest(); + return; + } err = TestReadCarrierDetectAttributeConstraints_13(); break; case 14: ChipLogProgress(chipTool, " ***** Test Step 14 : Read CarrierDetect value from DUT and verify value indicates the presence of carrier detect " "control signal on ethernet network interface\n"); - if (ShouldSkip("PICS_USER_PROMPT")) { + if (ShouldSkip("PICS_USER_PROMPT && DGETH.S.A0007")) { NextTest(); return; } @@ -17146,13 +17178,17 @@ class Test_TC_DGETH_2_1 : public TestCommandBridge { break; case 15: ChipLogProgress(chipTool, " ***** Test Step 15 : Read TimeSinceReset attribute constraints\n"); + if (ShouldSkip("DGETH.S.A0008")) { + NextTest(); + return; + } err = TestReadTimeSinceResetAttributeConstraints_15(); break; case 16: ChipLogProgress(chipTool, " ***** Test Step 16 : Read TimeSinceReset value from DUT and verify the value indicates the duration of time, in " "minutes\n"); - if (ShouldSkip("PICS_USER_PROMPT")) { + if (ShouldSkip("PICS_USER_PROMPT && DGETH.S.A0008")) { NextTest(); return; } @@ -17553,7 +17589,7 @@ class Test_TC_DGETH_2_2 : public TestCommandBridge { break; case 1: ChipLogProgress(chipTool, " ***** Test Step 1 : Sends ResetCounts command\n"); - if (ShouldSkip("PICS_SKIP_SAMPLE_APP")) { + if (ShouldSkip("PICS_SKIP_SAMPLE_APP && DGETH.S.C00")) { NextTest(); return; } @@ -17561,7 +17597,7 @@ class Test_TC_DGETH_2_2 : public TestCommandBridge { break; case 2: ChipLogProgress(chipTool, " ***** Test Step 2 : Read the PacketRxCount attribute\n"); - if (ShouldSkip("PICS_SKIP_SAMPLE_APP")) { + if (ShouldSkip("PICS_SKIP_SAMPLE_APP && DGETH.S.A0002")) { NextTest(); return; } @@ -17569,7 +17605,7 @@ class Test_TC_DGETH_2_2 : public TestCommandBridge { break; case 3: ChipLogProgress(chipTool, " ***** Test Step 3 : Read the PacketTxCount attribute\n"); - if (ShouldSkip("PICS_SKIP_SAMPLE_APP")) { + if (ShouldSkip("PICS_SKIP_SAMPLE_APP && DGETH.S.A0003")) { NextTest(); return; } @@ -17577,7 +17613,7 @@ class Test_TC_DGETH_2_2 : public TestCommandBridge { break; case 4: ChipLogProgress(chipTool, " ***** Test Step 4 : Read the TxErrCount attribute\n"); - if (ShouldSkip("PICS_SKIP_SAMPLE_APP")) { + if (ShouldSkip("PICS_SKIP_SAMPLE_APP && DGETH.S.A0004")) { NextTest(); return; } @@ -17585,7 +17621,7 @@ class Test_TC_DGETH_2_2 : public TestCommandBridge { break; case 5: ChipLogProgress(chipTool, " ***** Test Step 5 : Read the CollisionCount attribute\n"); - if (ShouldSkip("PICS_SKIP_SAMPLE_APP")) { + if (ShouldSkip("PICS_SKIP_SAMPLE_APP && DGETH.S.A0005")) { NextTest(); return; } @@ -17593,7 +17629,7 @@ class Test_TC_DGETH_2_2 : public TestCommandBridge { break; case 6: ChipLogProgress(chipTool, " ***** Test Step 6 : Read the OverrunCount attribute\n"); - if (ShouldSkip("PICS_SKIP_SAMPLE_APP")) { + if (ShouldSkip("PICS_SKIP_SAMPLE_APP && DGETH.S.A0006")) { NextTest(); return; } @@ -21898,15 +21934,23 @@ class Test_TC_LVL_2_1 : public TestCommandBridge { break; case 3: ChipLogProgress(chipTool, " ***** Test Step 3 : Reads the CurrentLevel attribute\n"); + if (ShouldSkip("LVL.S.A0000")) { + NextTest(); + return; + } err = TestReadsTheCurrentLevelAttribute_3(); break; case 4: ChipLogProgress(chipTool, " ***** Test Step 4 : Reads the RemainingTime attribute\n"); + if (ShouldSkip("LVL.S.A0001")) { + NextTest(); + return; + } err = TestReadsTheRemainingTimeAttribute_4(); break; case 5: ChipLogProgress(chipTool, " ***** Test Step 5 : Reads the MinLevel attribute\n"); - if (ShouldSkip("LVL.S.F01")) { + if (ShouldSkip("LVL.S.A0002")) { NextTest(); return; } @@ -21914,7 +21958,7 @@ class Test_TC_LVL_2_1 : public TestCommandBridge { break; case 6: ChipLogProgress(chipTool, " ***** Test Step 6 : Reads the MinLevel attribute\n"); - if (ShouldSkip(" !LVL.S.F01 ")) { + if (ShouldSkip("LVL.S.A0002")) { NextTest(); return; } @@ -21922,7 +21966,7 @@ class Test_TC_LVL_2_1 : public TestCommandBridge { break; case 7: ChipLogProgress(chipTool, " ***** Test Step 7 : Reads the MaxLevel attribute\n"); - if (ShouldSkip("LVL.S.F01")) { + if (ShouldSkip("LVL.S.A0003")) { NextTest(); return; } @@ -21930,7 +21974,7 @@ class Test_TC_LVL_2_1 : public TestCommandBridge { break; case 8: ChipLogProgress(chipTool, " ***** Test Step 8 : Reads the MaxLevel attribute\n"); - if (ShouldSkip(" !LVL.S.F01 ")) { + if (ShouldSkip("LVL.S.A0003")) { NextTest(); return; } @@ -21954,22 +21998,42 @@ class Test_TC_LVL_2_1 : public TestCommandBridge { break; case 11: ChipLogProgress(chipTool, " ***** Test Step 11 : Reads the CurrentFrequency attribute\n"); + if (ShouldSkip("LVL.S.A0004")) { + NextTest(); + return; + } err = TestReadsTheCurrentFrequencyAttribute_11(); break; case 12: ChipLogProgress(chipTool, " ***** Test Step 12 : Reads the MinFrequency attribute\n"); + if (ShouldSkip("LVL.S.A0005")) { + NextTest(); + return; + } err = TestReadsTheMinFrequencyAttribute_12(); break; case 13: ChipLogProgress(chipTool, " ***** Test Step 13 : Reads the MaxFrequency attribute\n"); + if (ShouldSkip("LVL.S.A0006")) { + NextTest(); + return; + } err = TestReadsTheMaxFrequencyAttribute_13(); break; case 14: ChipLogProgress(chipTool, " ***** Test Step 14 : Step 7b & 7C Reads the CurrentFrequency attribute\n"); + if (ShouldSkip("LVL.S.A0004 && LVL.S.A0005")) { + NextTest(); + return; + } err = TestStep7b7cReadsTheCurrentFrequencyAttribute_14(); break; case 15: ChipLogProgress(chipTool, " ***** Test Step 15 : Reads the OnOffTransitionTime attribute\n"); + if (ShouldSkip("LVL.S.A0010")) { + NextTest(); + return; + } err = TestReadsTheOnOffTransitionTimeAttribute_15(); break; case 16: @@ -21990,22 +22054,42 @@ class Test_TC_LVL_2_1 : public TestCommandBridge { break; case 18: ChipLogProgress(chipTool, " ***** Test Step 18 : Reads the OnTransitionTime attribute \n"); + if (ShouldSkip("LVL.S.A0012")) { + NextTest(); + return; + } err = TestReadsTheOnTransitionTimeAttribute_18(); break; case 19: ChipLogProgress(chipTool, " ***** Test Step 19 : Reads the OffTransitionTime attribute \n"); + if (ShouldSkip("LVL.S.A0013")) { + NextTest(); + return; + } err = TestReadsTheOffTransitionTimeAttribute_19(); break; case 20: ChipLogProgress(chipTool, " ***** Test Step 20 : Reads the DefaultMoveRate attribute \n"); + if (ShouldSkip("LVL.S.A0014")) { + NextTest(); + return; + } err = TestReadsTheDefaultMoveRateAttribute_20(); break; case 21: ChipLogProgress(chipTool, " ***** Test Step 21 : Reads the Options attribute \n"); + if (ShouldSkip("LVL.S.A000f")) { + NextTest(); + return; + } err = TestReadsTheOptionsAttribute_21(); break; case 22: ChipLogProgress(chipTool, " ***** Test Step 22 : Reads the StartUpCurrentLevel attribute \n"); + if (ShouldSkip("LVL.S.A4000")) { + NextTest(); + return; + } err = TestReadsTheStartUpCurrentLevelAttribute_22(); break; } @@ -22660,78 +22744,154 @@ class Test_TC_LVL_2_2 : public TestCommandBridge { break; case 1: ChipLogProgress(chipTool, " ***** Test Step 1 : Reads the OnOffTransitionTime attribute from the DUT\n"); + if (ShouldSkip("LVL.S.A0010")) { + NextTest(); + return; + } err = TestReadsTheOnOffTransitionTimeAttributeFromTheDut_1(); break; case 2: ChipLogProgress(chipTool, " ***** Test Step 2 : writes the OnOffTransitionTime attribute on the DUT\n"); + if (ShouldSkip("LVL.S.A0010")) { + NextTest(); + return; + } err = TestWritesTheOnOffTransitionTimeAttributeOnTheDut_2(); break; case 3: ChipLogProgress(chipTool, " ***** Test Step 3 : Reads the OnOffTransitionTime attribute from the DUT\n"); + if (ShouldSkip("LVL.S.A0010")) { + NextTest(); + return; + } err = TestReadsTheOnOffTransitionTimeAttributeFromTheDut_3(); break; case 4: ChipLogProgress(chipTool, " ***** Test Step 4 : Reads the OnLevel attribute from the DUT\n"); + if (ShouldSkip("LVL.S.A0011")) { + NextTest(); + return; + } err = TestReadsTheOnLevelAttributeFromTheDut_4(); break; case 5: ChipLogProgress(chipTool, " ***** Test Step 5 : writes the OnLevel attribute on the DUT\n"); + if (ShouldSkip("LVL.S.A0011")) { + NextTest(); + return; + } err = TestWritesTheOnLevelAttributeOnTheDut_5(); break; case 6: ChipLogProgress(chipTool, " ***** Test Step 6 : Reads the OnLevel attribute from the DUT\n"); + if (ShouldSkip("LVL.S.A0011")) { + NextTest(); + return; + } err = TestReadsTheOnLevelAttributeFromTheDut_6(); break; case 7: ChipLogProgress(chipTool, " ***** Test Step 7 : Reads the OnTransitionTime attribute from the DUT\n"); + if (ShouldSkip("LVL.S.A0012")) { + NextTest(); + return; + } err = TestReadsTheOnTransitionTimeAttributeFromTheDut_7(); break; case 8: ChipLogProgress(chipTool, " ***** Test Step 8 : Writes the OnTransitionTime attribute on the DUT\n"); + if (ShouldSkip("LVL.S.A0012")) { + NextTest(); + return; + } err = TestWritesTheOnTransitionTimeAttributeOnTheDut_8(); break; case 9: ChipLogProgress(chipTool, " ***** Test Step 9 : Reads the OnTransitionTime attribute from the DUT\n"); + if (ShouldSkip("LVL.S.A0012")) { + NextTest(); + return; + } err = TestReadsTheOnTransitionTimeAttributeFromTheDut_9(); break; case 10: ChipLogProgress(chipTool, " ***** Test Step 10 : Reads the OffTransitionTime attribute from the DUT\n"); + if (ShouldSkip("LVL.S.A0013")) { + NextTest(); + return; + } err = TestReadsTheOffTransitionTimeAttributeFromTheDut_10(); break; case 11: ChipLogProgress(chipTool, " ***** Test Step 11 : Writes the OffTransitionTime attribute on the DUT\n"); + if (ShouldSkip("LVL.S.A0013")) { + NextTest(); + return; + } err = TestWritesTheOffTransitionTimeAttributeOnTheDut_11(); break; case 12: ChipLogProgress(chipTool, " ***** Test Step 12 : Reads the OffTransitionTime attribute from the DUT\n"); + if (ShouldSkip("LVL.S.A0013")) { + NextTest(); + return; + } err = TestReadsTheOffTransitionTimeAttributeFromTheDut_12(); break; case 13: ChipLogProgress(chipTool, " ***** Test Step 13 : Reads the DefaultMoveRate attribute from the DUT\n"); + if (ShouldSkip("LVL.S.A0014")) { + NextTest(); + return; + } err = TestReadsTheDefaultMoveRateAttributeFromTheDut_13(); break; case 14: ChipLogProgress(chipTool, " ***** Test Step 14 : Writes the DefaultMoveRate attribute on the DUT\n"); + if (ShouldSkip("LVL.S.A0014")) { + NextTest(); + return; + } err = TestWritesTheDefaultMoveRateAttributeOnTheDut_14(); break; case 15: ChipLogProgress(chipTool, " ***** Test Step 15 : Reads the DefaultMoveRate attribute from the DUT\n"); + if (ShouldSkip("LVL.S.A0014")) { + NextTest(); + return; + } err = TestReadsTheDefaultMoveRateAttributeFromTheDut_15(); break; case 16: ChipLogProgress(chipTool, " ***** Test Step 16 : Reads the StartUpCurrentLevel attribute from the DUT\n"); + if (ShouldSkip("LVL.S.A4000")) { + NextTest(); + return; + } err = TestReadsTheStartUpCurrentLevelAttributeFromTheDut_16(); break; case 17: ChipLogProgress(chipTool, " ***** Test Step 17 : writes the StartUpCurrentLevel attribute on the DUT\n"); + if (ShouldSkip("LVL.S.A4000")) { + NextTest(); + return; + } err = TestWritesTheStartUpCurrentLevelAttributeOnTheDut_17(); break; case 18: ChipLogProgress(chipTool, " ***** Test Step 18 : reads the StartUpCurrentLevel attribute from the DUT\n"); + if (ShouldSkip("LVL.S.A4000")) { + NextTest(); + return; + } err = TestReadsTheStartUpCurrentLevelAttributeFromTheDut_18(); break; case 19: ChipLogProgress(chipTool, " ***** Test Step 19 : writes back default value of OnOffTransitionTime attribute\n"); + if (ShouldSkip("LVL.S.A0010")) { + NextTest(); + return; + } err = TestWritesBackDefaultValueOfOnOffTransitionTimeAttribute_19(); break; } @@ -23333,14 +23493,26 @@ class Test_TC_LVL_3_1 : public TestCommandBridge { break; case 1: ChipLogProgress(chipTool, " ***** Test Step 1 : Reads the MinLevel attribute\n"); + if (ShouldSkip("LVL.S.A0002")) { + NextTest(); + return; + } err = TestReadsTheMinLevelAttribute_1(); break; case 2: ChipLogProgress(chipTool, " ***** Test Step 2 : Reads the MaxLevel attribute\n"); + if (ShouldSkip("LVL.S.A0003")) { + NextTest(); + return; + } err = TestReadsTheMaxLevelAttribute_2(); break; case 3: ChipLogProgress(chipTool, " ***** Test Step 3 : sends a Move to level command\n"); + if (ShouldSkip("LVL.S.C00.Rsp")) { + NextTest(); + return; + } err = TestSendsAMoveToLevelCommand_3(); break; case 4: @@ -23349,10 +23521,18 @@ class Test_TC_LVL_3_1 : public TestCommandBridge { break; case 5: ChipLogProgress(chipTool, " ***** Test Step 5 : Reads CurrentLevel attribute from DUT\n"); + if (ShouldSkip("LVL.S.C04.Rsp && LVL.S.A0000")) { + NextTest(); + return; + } err = TestReadsCurrentLevelAttributeFromDut_5(); break; case 6: ChipLogProgress(chipTool, " ***** Test Step 6 : sends a Move to level command\n"); + if (ShouldSkip("LVL.S.C00.Rsp")) { + NextTest(); + return; + } err = TestSendsAMoveToLevelCommand_6(); break; case 7: @@ -23361,14 +23541,26 @@ class Test_TC_LVL_3_1 : public TestCommandBridge { break; case 8: ChipLogProgress(chipTool, " ***** Test Step 8 : Reads CurrentLevel attribute from DUT\n"); + if (ShouldSkip("LVL.S.C00.Rsp && LVL.S.A0000")) { + NextTest(); + return; + } err = TestReadsCurrentLevelAttributeFromDut_8(); break; case 9: ChipLogProgress(chipTool, " ***** Test Step 9 : Reads On Off Transition Time attribute from DUT\n"); + if (ShouldSkip("LVL.S.A0010")) { + NextTest(); + return; + } err = TestReadsOnOffTransitionTimeAttributeFromDut_9(); break; case 10: ChipLogProgress(chipTool, " ***** Test Step 10 : sends a Move to level command\n"); + if (ShouldSkip("LVL.S.C00.Rsp && LVL.S.A0010")) { + NextTest(); + return; + } err = TestSendsAMoveToLevelCommand_10(); break; case 11: @@ -23377,14 +23569,26 @@ class Test_TC_LVL_3_1 : public TestCommandBridge { break; case 12: ChipLogProgress(chipTool, " ***** Test Step 12 : Reads CurrentLevel attribute from DUT\n"); + if (ShouldSkip("LVL.S.C00.Rsp && LVL.S.A0000 && LVL.S.M.VarRate")) { + NextTest(); + return; + } err = TestReadsCurrentLevelAttributeFromDut_12(); break; case 13: ChipLogProgress(chipTool, " ***** Test Step 13 : Reads the OnOffTransitionTime attribute from the DUT\n"); + if (ShouldSkip("LVL.S.A0010")) { + NextTest(); + return; + } err = TestReadsTheOnOffTransitionTimeAttributeFromTheDut_13(); break; case 14: ChipLogProgress(chipTool, " ***** Test Step 14 : sends a Move to level command\n"); + if (ShouldSkip("LVL.S.C00.Rsp && LVL.S.A0010")) { + NextTest(); + return; + } err = TestSendsAMoveToLevelCommand_14(); break; case 15: @@ -23393,10 +23597,18 @@ class Test_TC_LVL_3_1 : public TestCommandBridge { break; case 16: ChipLogProgress(chipTool, " ***** Test Step 16 : Reads CurrentLevel attribute from DUT\n"); + if (ShouldSkip("LVL.S.A0000")) { + NextTest(); + return; + } err = TestReadsCurrentLevelAttributeFromDut_16(); break; case 17: ChipLogProgress(chipTool, " ***** Test Step 17 : Reset level to 254\n"); + if (ShouldSkip("LVL.S.C00.Rsp")) { + NextTest(); + return; + } err = TestResetLevelTo254_17(); break; case 18: @@ -23853,18 +24065,34 @@ class Test_TC_LVL_4_1 : public TestCommandBridge { break; case 1: ChipLogProgress(chipTool, " ***** Test Step 1 : Reads Minlevel attribute from DUT\n"); + if (ShouldSkip("LVL.S.A0002")) { + NextTest(); + return; + } err = TestReadsMinlevelAttributeFromDut_1(); break; case 2: ChipLogProgress(chipTool, " ***** Test Step 2 : sends a Move to level command\n"); + if (ShouldSkip("LVL.S.C00.Rsp")) { + NextTest(); + return; + } err = TestSendsAMoveToLevelCommand_2(); break; case 3: ChipLogProgress(chipTool, " ***** Test Step 3 : reads max level attribute from DUT\n"); + if (ShouldSkip("LVL.S.A0003")) { + NextTest(); + return; + } err = TestReadsMaxLevelAttributeFromDut_3(); break; case 4: ChipLogProgress(chipTool, " ***** Test Step 4 : sends a Move up command\n"); + if (ShouldSkip("LVL.S.C01.Rsp")) { + NextTest(); + return; + } err = TestSendsAMoveUpCommand_4(); break; case 5: @@ -23883,7 +24111,7 @@ class Test_TC_LVL_4_1 : public TestCommandBridge { break; case 7: ChipLogProgress(chipTool, " ***** Test Step 7 : Reads CurrentLevel attribute from DUT\n"); - if (ShouldSkip("LVL.S.A0003")) { + if (ShouldSkip("LVL.S.C01.Rsp && LVL.S.A0000")) { NextTest(); return; } @@ -23891,6 +24119,10 @@ class Test_TC_LVL_4_1 : public TestCommandBridge { break; case 8: ChipLogProgress(chipTool, " ***** Test Step 8 : sends a MoveWithOnOff command\n"); + if (ShouldSkip("LVL.S.C05.Rsp")) { + NextTest(); + return; + } err = TestSendsAMoveWithOnOffCommand_8(); break; case 9: @@ -23909,7 +24141,7 @@ class Test_TC_LVL_4_1 : public TestCommandBridge { break; case 11: ChipLogProgress(chipTool, " ***** Test Step 11 : reads CurrentLevel attribute from DUT\n"); - if (ShouldSkip("LVL.S.A0002")) { + if (ShouldSkip("LVL.S.C05.Rsp && LVL.S.A0000")) { NextTest(); return; } @@ -23917,10 +24149,18 @@ class Test_TC_LVL_4_1 : public TestCommandBridge { break; case 12: ChipLogProgress(chipTool, " ***** Test Step 12 : reads default move rate attribute from DUT\n"); + if (ShouldSkip("LVL.S.A0014")) { + NextTest(); + return; + } err = TestReadsDefaultMoveRateAttributeFromDut_12(); break; case 13: ChipLogProgress(chipTool, " ***** Test Step 13 : sends a Move up command at default move rate\n"); + if (ShouldSkip("LVL.S.C05.Rsp && LVL.S.A0014")) { + NextTest(); + return; + } err = TestSendsAMoveUpCommandAtDefaultMoveRate_13(); break; case 14: @@ -23939,6 +24179,10 @@ class Test_TC_LVL_4_1 : public TestCommandBridge { break; case 16: ChipLogProgress(chipTool, " ***** Test Step 16 : Reset level to 254\n"); + if (ShouldSkip("LVL.S.C00.Rsp")) { + NextTest(); + return; + } err = TestResetLevelTo254_16(); break; case 17: @@ -24371,18 +24615,34 @@ class Test_TC_LVL_5_1 : public TestCommandBridge { break; case 1: ChipLogProgress(chipTool, " ***** Test Step 1 : Reads Minlevel attribute from DUT\n"); + if (ShouldSkip("LVL.S.A0002")) { + NextTest(); + return; + } err = TestReadsMinlevelAttributeFromDut_1(); break; case 2: ChipLogProgress(chipTool, " ***** Test Step 2 : Sends MoveToLevelWithOnOff command to DUT\n"); + if (ShouldSkip("LVL.S.C04.Rsp")) { + NextTest(); + return; + } err = TestSendsMoveToLevelWithOnOffCommandToDut_2(); break; case 3: ChipLogProgress(chipTool, " ***** Test Step 3 : Reads current level attribute from DUT\n"); + if (ShouldSkip("LVL.S.A0000")) { + NextTest(); + return; + } err = TestReadsCurrentLevelAttributeFromDut_3(); break; case 4: ChipLogProgress(chipTool, " ***** Test Step 4 : Sends step up command to DUT\n"); + if (ShouldSkip("LVL.S.C02.Rsp")) { + NextTest(); + return; + } err = TestSendsStepUpCommandToDut_4(); break; case 5: @@ -24391,10 +24651,18 @@ class Test_TC_LVL_5_1 : public TestCommandBridge { break; case 6: ChipLogProgress(chipTool, " ***** Test Step 6 : Reads current level attribute from DUT\n"); + if (ShouldSkip("LVL.S.A0000 && LVL.S.C02.Rsp")) { + NextTest(); + return; + } err = TestReadsCurrentLevelAttributeFromDut_6(); break; case 7: ChipLogProgress(chipTool, " ***** Test Step 7 : Sends a StepWithOnOff command\n"); + if (ShouldSkip("LVL.S.C06.Rsp")) { + NextTest(); + return; + } err = TestSendsAStepWithOnOffCommand_7(); break; case 8: @@ -24403,10 +24671,18 @@ class Test_TC_LVL_5_1 : public TestCommandBridge { break; case 9: ChipLogProgress(chipTool, " ***** Test Step 9 : Reads current level attribute from DUT\n"); + if (ShouldSkip("LVL.S.C06.Rsp && LVL.S.A0000")) { + NextTest(); + return; + } err = TestReadsCurrentLevelAttributeFromDut_9(); break; case 10: ChipLogProgress(chipTool, " ***** Test Step 10 : Reset level to 254\n"); + if (ShouldSkip("LVL.S.C00.Rsp")) { + NextTest(); + return; + } err = TestResetLevelTo254_10(); break; case 11: @@ -24734,18 +25010,34 @@ class Test_TC_LVL_6_1 : public TestCommandBridge { break; case 1: ChipLogProgress(chipTool, " ***** Test Step 1 : Reads Minlevel attribute from DUT\n"); + if (ShouldSkip("LVL.S.A0002")) { + NextTest(); + return; + } err = TestReadsMinlevelAttributeFromDut_1(); break; case 2: ChipLogProgress(chipTool, " ***** Test Step 2 : Sends MoveToLevelWithOnOff command to DUT\n"); + if (ShouldSkip("LVL.S.C04.Rsp")) { + NextTest(); + return; + } err = TestSendsMoveToLevelWithOnOffCommandToDut_2(); break; case 3: ChipLogProgress(chipTool, " ***** Test Step 3 : Reads CurrentLevel attribute from DUT\n"); + if (ShouldSkip("LVL.S.A0000")) { + NextTest(); + return; + } err = TestReadsCurrentLevelAttributeFromDut_3(); break; case 4: ChipLogProgress(chipTool, " ***** Test Step 4 : Sends a move up command to DUT\n"); + if (ShouldSkip("LVL.S.C01.Rsp")) { + NextTest(); + return; + } err = TestSendsAMoveUpCommandToDut_4(); break; case 5: @@ -24754,6 +25046,10 @@ class Test_TC_LVL_6_1 : public TestCommandBridge { break; case 6: ChipLogProgress(chipTool, " ***** Test Step 6 : Sends stop command to DUT\n"); + if (ShouldSkip("LVL.S.C03.Rsp")) { + NextTest(); + return; + } err = TestSendsStopCommandToDut_6(); break; case 7: @@ -24766,10 +25062,18 @@ class Test_TC_LVL_6_1 : public TestCommandBridge { break; case 8: ChipLogProgress(chipTool, " ***** Test Step 8 : Reads CurrentLevel attribute from DUT\n"); + if (ShouldSkip("LVL.S.C01.Rsp && LVL.S.C03.Rsp && LVL.S.A0000")) { + NextTest(); + return; + } err = TestReadsCurrentLevelAttributeFromDut_8(); break; case 9: ChipLogProgress(chipTool, " ***** Test Step 9 : Sends a move up command to DUT\n"); + if (ShouldSkip("LVL.S.C01.Rsp")) { + NextTest(); + return; + } err = TestSendsAMoveUpCommandToDut_9(); break; case 10: @@ -24790,10 +25094,18 @@ class Test_TC_LVL_6_1 : public TestCommandBridge { break; case 13: ChipLogProgress(chipTool, " ***** Test Step 13 : Reads CurrentLevel attribute from DUT\n"); + if (ShouldSkip("LVL.S.C01.Rsp && LVL.S.C07.Rsp && LVL.S.A0000")) { + NextTest(); + return; + } err = TestReadsCurrentLevelAttributeFromDut_13(); break; case 14: ChipLogProgress(chipTool, " ***** Test Step 14 : Reset level to 254\n"); + if (ShouldSkip("LVL.S.C00.Rsp")) { + NextTest(); + return; + } err = TestResetLevelTo254_14(); break; case 15: @@ -50626,27 +50938,47 @@ class Test_TC_DGWIFI_2_1 : public TestCommandBridge { break; case 1: ChipLogProgress(chipTool, " ***** Test Step 1 : Reads NetworkInterface structure attribute from DUT\n"); + if (ShouldSkip("DGWIFI.S.A0000")) { + NextTest(); + return; + } err = TestReadsNetworkInterfaceStructureAttributeFromDut_1(); break; case 2: ChipLogProgress(chipTool, " ***** Test Step 2 : Reads SecurityType attribute constraints\n"); + if (ShouldSkip("DGWIFI.S.A0001")) { + NextTest(); + return; + } err = TestReadsSecurityTypeAttributeConstraints_2(); break; case 3: ChipLogProgress(chipTool, " ***** Test Step 3 : Reads WiFiVersion attribute constraints\n"); + if (ShouldSkip("DGWIFI.S.A0002")) { + NextTest(); + return; + } err = TestReadsWiFiVersionAttributeConstraints_3(); break; case 4: ChipLogProgress(chipTool, " ***** Test Step 4 : Reads ChannelNumber attribute constraints\n"); + if (ShouldSkip("DGWIFI.S.A0003")) { + NextTest(); + return; + } err = TestReadsChannelNumberAttributeConstraints_4(); break; case 5: ChipLogProgress(chipTool, " ***** Test Step 5 : Reads RSSI attribute constraints\n"); + if (ShouldSkip("DGWIFI.S.A0004")) { + NextTest(); + return; + } err = TestReadsRssiAttributeConstraints_5(); break; case 6: ChipLogProgress(chipTool, " ***** Test Step 6 : Reads BeaconLostCount attribute constraints\n"); - if (ShouldSkip("PICS_SKIP_SAMPLE_APP")) { + if (ShouldSkip("PICS_SKIP_SAMPLE_APP && DGWIFI.S.A0005")) { NextTest(); return; } @@ -50654,11 +50986,15 @@ class Test_TC_DGWIFI_2_1 : public TestCommandBridge { break; case 7: ChipLogProgress(chipTool, " ***** Test Step 7 : Reads BeaconRxCount attribute constraints\n"); + if (ShouldSkip("DGWIFI.S.A0006")) { + NextTest(); + return; + } err = TestReadsBeaconRxCountAttributeConstraints_7(); break; case 8: ChipLogProgress(chipTool, " ***** Test Step 8 : Reads PacketMulticastRxCount attribute constraints\n"); - if (ShouldSkip("PICS_SKIP_SAMPLE_APP")) { + if (ShouldSkip("PICS_SKIP_SAMPLE_APP && DGWIFI.S.A0007")) { NextTest(); return; } @@ -50666,7 +51002,7 @@ class Test_TC_DGWIFI_2_1 : public TestCommandBridge { break; case 9: ChipLogProgress(chipTool, " ***** Test Step 9 : Reads PacketMulticastTxCount attribute constraints\n"); - if (ShouldSkip("PICS_SKIP_SAMPLE_APP")) { + if (ShouldSkip("PICS_SKIP_SAMPLE_APP && DGWIFI.S.A0008")) { NextTest(); return; } @@ -50674,7 +51010,7 @@ class Test_TC_DGWIFI_2_1 : public TestCommandBridge { break; case 10: ChipLogProgress(chipTool, " ***** Test Step 10 : Reads PacketUnicastRxCount attribute constraints\n"); - if (ShouldSkip("PICS_SKIP_SAMPLE_APP")) { + if (ShouldSkip("PICS_SKIP_SAMPLE_APP && DGWIFI.S.A0009")) { NextTest(); return; } @@ -50682,7 +51018,7 @@ class Test_TC_DGWIFI_2_1 : public TestCommandBridge { break; case 11: ChipLogProgress(chipTool, " ***** Test Step 11 : Reads PacketUnicastTxCount attribute constraints\n"); - if (ShouldSkip("PICS_SKIP_SAMPLE_APP")) { + if (ShouldSkip("PICS_SKIP_SAMPLE_APP && DGWIFI.S.A000a")) { NextTest(); return; } @@ -50690,7 +51026,7 @@ class Test_TC_DGWIFI_2_1 : public TestCommandBridge { break; case 12: ChipLogProgress(chipTool, " ***** Test Step 12 : Reads CurrentMaxRate attribute constraints\n"); - if (ShouldSkip("PICS_SKIP_SAMPLE_APP")) { + if (ShouldSkip("PICS_SKIP_SAMPLE_APP && DGWIFI.S.A000b")) { NextTest(); return; } @@ -50698,7 +51034,7 @@ class Test_TC_DGWIFI_2_1 : public TestCommandBridge { break; case 13: ChipLogProgress(chipTool, " ***** Test Step 13 : Reads OverrunCount attribute constraints\n"); - if (ShouldSkip("PICS_SKIP_SAMPLE_APP")) { + if (ShouldSkip("PICS_SKIP_SAMPLE_APP && DGWIFI.S.A000c")) { NextTest(); return; } @@ -51109,7 +51445,7 @@ class Test_TC_DGWIFI_2_3 : public TestCommandBridge { break; case 1: ChipLogProgress(chipTool, " ***** Test Step 1 : TH sends ResetCounts command to DUT\n"); - if (ShouldSkip("PICS_SKIP_SAMPLE_APP")) { + if (ShouldSkip("PICS_SKIP_SAMPLE_APP && DGWIFI.S.C00")) { NextTest(); return; } @@ -51117,7 +51453,7 @@ class Test_TC_DGWIFI_2_3 : public TestCommandBridge { break; case 2: ChipLogProgress(chipTool, " ***** Test Step 2 : Reads BeaconLostCount attribute from DUT\n"); - if (ShouldSkip("PICS_SKIP_SAMPLE_APP")) { + if (ShouldSkip("PICS_SKIP_SAMPLE_APP && DGWIFI.S.C00")) { NextTest(); return; } @@ -51125,7 +51461,7 @@ class Test_TC_DGWIFI_2_3 : public TestCommandBridge { break; case 3: ChipLogProgress(chipTool, " ***** Test Step 3 : Reads BeaconRxCount attribute from DUT\n"); - if (ShouldSkip("PICS_SKIP_SAMPLE_APP")) { + if (ShouldSkip("PICS_SKIP_SAMPLE_APP && DGWIFI.S.C00")) { NextTest(); return; } @@ -51133,7 +51469,7 @@ class Test_TC_DGWIFI_2_3 : public TestCommandBridge { break; case 4: ChipLogProgress(chipTool, " ***** Test Step 4 : Reads PacketMulticastRxCount attribute from DUT\n"); - if (ShouldSkip("PICS_SKIP_SAMPLE_APP")) { + if (ShouldSkip("PICS_SKIP_SAMPLE_APP && DGWIFI.S.C00")) { NextTest(); return; } @@ -51141,7 +51477,7 @@ class Test_TC_DGWIFI_2_3 : public TestCommandBridge { break; case 5: ChipLogProgress(chipTool, " ***** Test Step 5 : Reads PacketMulticastTxCount attribute from DUT\n"); - if (ShouldSkip("PICS_SKIP_SAMPLE_APP")) { + if (ShouldSkip("PICS_SKIP_SAMPLE_APP && DGWIFI.S.C00")) { NextTest(); return; } @@ -51149,7 +51485,7 @@ class Test_TC_DGWIFI_2_3 : public TestCommandBridge { break; case 6: ChipLogProgress(chipTool, " ***** Test Step 6 : Reads PacketUnicastRxCount attribute from DUT\n"); - if (ShouldSkip("PICS_SKIP_SAMPLE_APP")) { + if (ShouldSkip("PICS_SKIP_SAMPLE_APP && DGWIFI.S.C00")) { NextTest(); return; } @@ -51157,7 +51493,7 @@ class Test_TC_DGWIFI_2_3 : public TestCommandBridge { break; case 7: ChipLogProgress(chipTool, " ***** Test Step 7 : Reads PacketUnicastTxCount attribute from DUT\n"); - if (ShouldSkip("PICS_SKIP_SAMPLE_APP")) { + if (ShouldSkip("PICS_SKIP_SAMPLE_APP && DGWIFI.S.C00")) { NextTest(); return; }