From 28e80d8c0e6ac7fbe2f5ca712589f6a5ddf0380d Mon Sep 17 00:00:00 2001 From: kowsisoundhar12 <57476670+kowsisoundhar12@users.noreply.github.com> Date: Fri, 1 Jul 2022 01:21:06 +0530 Subject: [PATCH] Updated Manual Scripts (#20127) * updated Manual scripts issues and PICS * Added Auto generated files * Restyled by whitespace * Restyled by clang-format * updated PICS Condition * Added AUto genearted file * Restyled by clang-format Co-authored-by: Restyled.io --- src/app/tests/suites/certification/PICS.yaml | 419 ++++++++++++- .../suites/certification/Test_TC_CC_2_1.yaml | 16 - .../suites/certification/Test_TC_CC_2_2.yaml | 553 +++++++++++++++++- .../suites/certification/Test_TC_CC_3_4.yaml | 14 +- .../suites/certification/Test_TC_CC_4_5.yaml | 61 +- .../suites/certification/Test_TC_CC_5_4.yaml | 312 +++++++++- .../suites/certification/Test_TC_CC_6_4.yaml | 240 +++++++- .../suites/certification/Test_TC_CC_7_5.yaml | 285 ++++++++- .../suites/certification/Test_TC_CC_9_4.yaml | 483 ++++++++++++++- .../certification/Test_TC_CGEN_2_1.yaml | 7 + .../certification/Test_TC_CGEN_2_2.yaml | 100 ++-- .../certification/Test_TC_CGEN_2_3.yaml | 168 ++++-- .../certification/Test_TC_CGEN_2_4.yaml | 131 +---- .../suites/certification/Test_TC_MF_1_1.yaml | 23 +- .../suites/certification/Test_TC_MF_1_11.yaml | 11 +- .../suites/certification/Test_TC_MF_1_12.yaml | 7 +- .../suites/certification/Test_TC_MF_1_13.yaml | 94 +-- .../suites/certification/Test_TC_MF_1_14.yaml | 553 +++++++++--------- .../suites/certification/Test_TC_MF_1_16.yaml | 21 +- .../suites/certification/Test_TC_MF_1_17.yaml | 223 ++++--- .../suites/certification/Test_TC_MF_1_18.yaml | 364 ++++++++---- .../suites/certification/Test_TC_MF_1_19.yaml | 426 ++++++-------- .../suites/certification/Test_TC_MF_1_2.yaml | 63 +- .../suites/certification/Test_TC_MF_1_20.yaml | 551 ++++++++--------- .../suites/certification/Test_TC_MF_1_21.yaml | 30 +- .../suites/certification/Test_TC_MF_1_22.yaml | 90 +-- .../suites/certification/Test_TC_MF_1_23.yaml | 28 +- .../suites/certification/Test_TC_MF_1_24.yaml | 89 +-- .../suites/certification/Test_TC_MF_1_25.yaml | 9 +- .../suites/certification/Test_TC_MF_1_26.yaml | 11 +- .../suites/certification/Test_TC_MF_1_8.yaml | 419 +++++++------ .../suites/certification/Test_TC_SC_4_1.yaml | 345 ++++++++++- .../suites/certification/Test_TC_SC_4_3.yaml | 42 +- .../suites/certification/Test_TC_SC_4_4.yaml | 56 +- .../suites/certification/Test_TC_SC_4_6.yaml | 44 +- .../suites/certification/Test_TC_SC_4_7.yaml | 16 +- .../suites/certification/Test_TC_SU_1_1.yaml | 5 +- .../suites/certification/Test_TC_SU_2_1.yaml | 15 +- .../suites/certification/Test_TC_SU_2_2.yaml | 71 +-- .../suites/certification/Test_TC_SU_2_3.yaml | 60 +- .../suites/certification/Test_TC_SU_2_5.yaml | 73 ++- .../suites/certification/Test_TC_SU_2_6.yaml | 7 +- .../suites/certification/Test_TC_SU_2_7.yaml | 116 ++-- .../suites/certification/Test_TC_SU_3_2.yaml | 35 +- .../suites/certification/Test_TC_SU_3_3.yaml | 24 +- .../suites/certification/Test_TC_SU_3_4.yaml | 16 +- .../suites/certification/Test_TC_SU_4_1.yaml | 65 +- .../suites/certification/Test_TC_TFL_1_1.yaml | 69 +-- .../suites/certification/Test_TC_TFL_1_2.yaml | 50 +- .../suites/certification/Test_TC_TFL_2_1.yaml | 101 +++- ...t_TC_TFL_2_2.yaml => Test_TC_TFL_3_1.yaml} | 353 ++++------- .../suites/certification/Test_TC_UL_1_1.yaml | 14 +- .../suites/certification/Test_TC_UL_1_2.yaml | 19 +- .../suites/certification/Test_TC_UL_2_1.yaml | 11 +- ...est_TC_UL_2_2.yaml => Test_TC_UL_3_1.yaml} | 17 +- .../tests/suites/certification/ci-pics-values | 128 +++- src/app/tests/suites/tests.js | 4 +- .../chip-tool/zap-generated/test/Commands.h | 95 +-- .../zap-generated/test/Commands.h | 108 +--- 59 files changed, 5249 insertions(+), 2511 deletions(-) rename src/app/tests/suites/certification/{Test_TC_TFL_2_2.yaml => Test_TC_TFL_3_1.yaml} (66%) rename src/app/tests/suites/certification/{Test_TC_UL_2_2.yaml => Test_TC_UL_3_1.yaml} (94%) diff --git a/src/app/tests/suites/certification/PICS.yaml b/src/app/tests/suites/certification/PICS.yaml index e7c93e5d18eb2e..c8d3502adb1483 100644 --- a/src/app/tests/suites/certification/PICS.yaml +++ b/src/app/tests/suites/certification/PICS.yaml @@ -289,6 +289,251 @@ PICS: - label: "Does the device implement receiving the ColorLoopSet command?" id: CC.S.C44.Rsp + - label: "Does the DUT(server) support the Hue/Saturation feature?" + id: CC.S.F00 + + - label: "Does the DUT(server) support the Enhanced Hue feature?" + id: CC.S.F01 + + - label: "Does the DUT(server) support the Color Loop feature?" + id: CC.S.F02 + + - label: "Does the DUT(server) support the Color XY feature?" + id: CC.S.F03 + + - label: "Does the DUT(server) support the Color Temperature feature?" + id: CC.S.F04 + + - label: "Does the device implement the CurrentHue attribute?" + id: CC.C.A0000 + + - label: "Does the device implement the CurrentSaturation attribute?" + id: CC.C.A0001 + + - label: "Does the device implement the REMAININGTime attribute?" + id: CC.C.A0002 + + - label: "Does the device implement the CurrentX attribute?" + id: CC.C.A0003 + + - label: "Does the device implement the CurrentY attribute?" + id: CC.C.A0004 + + - label: "Does the device implement the DriftCompensation attribute?" + id: CC.C.A0005 + + - label: "Does the device implement the CompensationText attribute?" + id: CC.C.A0006 + + - label: "Does the device implement the ColorTemperatureMireds attribute?" + id: CC.C.A0007 + + - label: "Does the device implement the ColorMode attribute?" + id: CC.C.A0008 + + - label: "Does the device implement the Options attribute?" + id: CC.C.A000f + + - label: "Does the device implement the EnhancedCurrentHue attribute?" + id: CC.C.A4000 + + - label: "Does the device implement the EnhancedColorMode attribute?" + id: CC.C.A4001 + + - label: "Does the device implement the ColorLoopActive attribute?" + id: CC.C.A4002 + + - label: "Does the device implement the ColorLoopDirection attribute?" + id: CC.C.A4003 + + - label: "Does the device implement the ColorLoopTime attribute?" + id: CC.C.A4004 + + - label: + "Does the device implement the ColorLoopStartEnhancedHue attribute?" + id: CC.C.A4005 + + - label: + "Does the device implement the ColorLoopStoredEnhancedHue attribute?" + id: CC.C.A4006 + + - label: "Does the device implement the ColorCapabilities attribute?" + id: CC.C.A400a + + - label: + "Does the device implement the ColorTempPhysicalMinMireds attribute?" + id: CC.C.A400b + + - label: + "Does the device implement the ColorTempPhysicalMaxMireds attribute?" + id: CC.C.A400c + + - label: + "Does the device implement the CoupleColorTempToLevelMinMireds + attribute?" + id: CC.C.A400d + + - label: + "Does the device implement the StartUPColorTemperatureMireds + attribute?" + id: CC.C.A4010 + + - label: "Does the device implement the NumberOfPrimaries attribute?" + id: CC.C.A0010 + + - label: "Does the device implement the Primary1X attribute?" + id: CC.C.A0011 + + - label: "Does the device implement the Primary1Y attribute?" + id: CC.C.A0012 + + - label: "Does the device implement the Primary1Intensity attribute?" + id: CC.C.A0013 + + - label: "Does the device implement the Primary2X attribute?" + id: CC.C.A0015 + + - label: "Does the device implement the Primary2Y attribute?" + id: CC.C.A0016 + + - label: "Does the device implement the Primary2Intensity attribute?" + id: CC.C.A0017 + + - label: "Does the device implement the Primary3X attribute?" + id: CC.C.A0019 + + - label: "Does the device implement the Primary3Y attribute?" + id: CC.C.A001a + + - label: "Does the device implement the Primary3Intensity attribute?" + id: CC.C.A001b + + - label: "Does the device implement the Primary4X attribute?" + id: CC.C.A0020 + + - label: "Does the device implement the Primary4Y attribute?" + id: CC.C.A0021 + + - label: "Does the device implement the PRIMAR41Intensity attribute?" + id: CC.C.A0022 + + - label: "Does the device implement the Primary5X attribute?" + id: CC.C.A0024 + + - label: "Does the device implement the Primary5Y attribute?" + id: CC.C.A0025 + + - label: "Does the device implement the Primary5Intensity attribute?" + id: CC.C.A0026 + + - label: "Does the device implement the Primary6X attribute?" + id: CC.C.A0028 + + - label: "Does the device implement the Primary6Y attribute?" + id: CC.C.A0029 + + - label: "Does the device implement the Primary6Intensity attribute?" + id: CC.C.A002a + + - label: "Does the device implement the WhitePointX attribute?" + id: CC.C.A0030 + + - label: "Does the device implement the WhitePointY attribute?" + id: CC.C.A0031 + + - label: "Does the device implement the ColorPointRX attribute?" + id: CC.C.A0032 + + - label: "Does the device implement the ColorPointRY attribute?" + id: CC.C.A0033 + + - label: "Does the device implement the ColorPointRIntensity attribute?" + id: CC.C.A0034 + + - label: "Does the device implement the ColorPointGX attribute?" + id: CC.C.A0036 + + - label: "Does the device implement the ColorPointGY attribute?" + id: CC.C.A0037 + + - label: "Does the device implement the ColorPointGIntensity attribute?" + id: CC.C.A0038 + + - label: "Does the device implement the ColorPointBX attribute?" + id: CC.C.A003a + + - label: "Does the device implement the ColorPointBY attribute?" + id: CC.C.A003b + + - label: "Does the device implement the ColorPointBIntensity attribute?" + id: CC.C.A003c + + - label: "Does the device implement receiving the MoveToHue command?" + id: CC.C.C00.Rsp + + - label: "Does the device implement receiving the MoveHue command?" + id: CC.C.C01.Rsp + + - label: "Does the device implement receiving the MoveToHue command?" + id: CC.C.C02.Rsp + + - label: "Does the device implement receiving the MoveToSaturation command?" + id: CC.C.C03.Rsp + + - label: "Does the device implement receiving the MoveSaturation command?" + id: CC.C.C04.Rsp + + - label: "Does the device implement receiving the StepSaturation command?" + id: CC.C.C05.Rsp + + - label: + "Does the device implement receiving the MoveToHueAndSaturation + command?" + id: CC.C.C06.Rsp + + - label: "Does the device implement receiving the MoveToColor command?" + id: CC.C.C07.Rsp + + - label: "Does the device implement receiving the MoveColor command?" + id: CC.C.C08.Rsp + + - label: "Does the device implement receiving the StopMoveStep command?" + id: CC.C.C47.Rsp + + - label: "Does the device implement receiving the StepColor command?" + id: CC.C.C09.Rsp + + - label: + "Does the device implement receiving the MoveToColorTemperature + command?" + id: CC.C.C0A.Rsp + + - label: + "Does the device implement receiving the MoveColorTemperature command?" + id: CC.C.C4B.Rsp + + - label: + "Does the device implement receiving the StepColorTemperature command?" + id: CC.C.C4C.Rsp + + - label: + "Does the device implement receiving the EnhancedMoveToHue command?" + id: CC.C.C40.Rsp + + - label: "Does the device implement receiving the EnhancedMoveHue command?" + id: CC.C.C41.Rsp + + - label: "Does the device implement receiving the EnhancedStepHue command?" + id: CC.C.C42.Rsp + + - label: + "Does the device implement receiving the + EnhancedMoveToHueAndSaturation command?" + id: CC.C.C43.Rsp + + - label: "Does the device implement receiving the ColorLoopSet command?" + id: CC.C.C44.Rsp + # Relative Humidity cluster - label: "Does the device implement the MeasuredValue attribute?" id: A_RELATIVEHUMIDITY @@ -838,21 +1083,6 @@ PICS: - label: "Does the device implement the Tolerance attribute?" id: FLW.S.A0003 - - label: "Does the DUT(server) support the Hue/Saturation feature?" - id: CC.S.F00 - - - label: "Does the DUT(server) support the Enhanced Hue feature?" - id: CC.S.F01 - - - label: "Does the DUT(server) support the Color Loop feature?" - id: CC.S.F02 - - - label: "Does the DUT(server) support the Color XY feature?" - id: CC.S.F03 - - - label: "Does the DUT(server) support the Color Temperature feature?" - id: CC.S.F04 - - label: "Does the device support extended range and resolution?" id: PRS.S.F00 @@ -1077,7 +1307,166 @@ 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 + + - label: "Does the device(Server) support BasicCommissioningInfo attribute?" + id: CGEN.S.A0001 + + - label: "Does the device(Server) support RegulatoryConfig attribute?" + id: CGEN.S.A0002 + + - label: "Does the device(Server) support LocationCapability attribute?" + id: CGEN.S.A0003 + + - label: + "Does the device(Server) support SupportsConcurrentConnection + attribute?" + id: CGEN.S.A0004 + + - label: + "Does the Device(Server) implement receiving the ArmFailSafe command?" + id: CGEN.S.C00.Rsp + + - label: + "Does the Device(Server) invoking/generating the ArmFailSafeResponse + command?" + id: CGEN.S.C01.Tx + + - label: + "Does the Device(Server) implement receiving the SetRegulatoryConfig + command?" + id: CGEN.S.C02.Rsp + + - label: + "Does the Device(Server) invoking/generating the + SetRegulatoryConfigResponse command?" + id: CGEN.S.C03.Tx + + - label: + "Does the Device(Server) implement receiving the CommissioningComplete + command?" + id: CGEN.S.C04.Rsp + + - label: + "Does the Device(Server) invoking/generating the + CommissioningCompleteResponse command?" + id: CGEN.S.C05.Tx + + #OTA Software Update + - label: "Does the DUT implement the OTA Requestor Device Type?" + id: MCORE.OTA.Requestor + + - label: "Does the DUT implement the OTA Provider Device Type?" + id: MCORE.OTA.Provider + + - label: "Does the DUT support the HTTPS Protocol for OTA image download?" + id: MCORE.OTA.HTTPS + + - label: + "Does the DUT support obtaining user consent for OTA application by + virtue of built-in user interface capabilities?" + id: MCORE.OTA.RequestorConsent + + - label: "Does the DUT support resumption of a transfer previously aborted?" + id: MCORE.OTA.Resume + + - label: "Does the DUT support Vendor specific OTA implementation?" + id: MCORE.OTA.VendorSpecific + + - label: + "Does the DUT have Administer privilege over the Access Control of + another node?" + id: MCORE.ACL.Administrator + + - label: + "Does the DUT support sending the DelayedActionTime field in + QueryImageResponse Command?" + id: OTAS.S.M.DelayedActionTime + + - label: + "Does the DUT support sending the UserConsentNeeded field in + QueryImageResponse Command?" + id: OTAS.S.M.UserConsentNeeded + + - label: "Does the DUT support sending the AnnounceOTAProvider Command?" + id: OTAC.C.M.AnnounceOTAProvider + + - label: "Does the DUT support sending the NotifyUpdateApplied Command?" + id: OTAC.C.M.NotifyUpdateApplied + + #Time Format Localization Cluster + - label: "Does the DUT (Server) support HourFormat attribute?" + id: LTIME.S.A0000 + + - label: "Does the DUT (Server) support ActiveCalendarType attribute?" + id: LTIME.S.A0001 + + - label: "Does the DUT (Server) support SupportedCalendarTypes attribute?" + id: LTIME.S.A0002 + + - label: "PIXIT of the list of DUT SupportedCalendarTypes" + id: LTIME.S.A0002.SCT + + - label: "Does the DUT (Server) support 12 Hr Hour Format" + id: LTIME.S.A0000.12HR + + - label: "Does the DUT (Server) support 24 Hr Hour Format" + id: LTIME.S.A0000.24HR + + - label: "Does the DUT (Client) support HourFormat attribute?" + id: LTIME.C.A0000 + + - label: "Does the DUT (Client) supportActiveCalendarType attribute?" + id: LTIME.C.A0001 + + - label: "Does the DUT (Client) support SupportedCalendarTypes attribute?" + id: LTIME.C.A0002 + + - label: "PIXIT of the list of DUT SupportedCalendarTypes" + id: LTIME.C.A0002.SCT + + - label: "Does the DUT (Client) support 12 Hr Hour Format" + id: LTIME.C.A0000.12HR + + - label: "Does the DUT (Client) support 24 Hr Hour Format" + id: LTIME.C.A0000.24HR + + #Unit Localization Cluster + - label: "Does the DUT (Server) support TemperatureUnit attribute?" + id: LUNIT.S.A0000 + + - label: "Does the DUT (Server) support Fahrenheit TemperatureUnit?" + id: LUNIT.S.A0000.Fahrenheit + + - label: "Does the DUT (Server) support Celsius TemperatureUnit?" + id: LUNIT.S.A0000.Celsius + + - label: "Does the DUT (Server) support Kelvin TemperatureUnit?" + id: LUNIT.S.A0000.Kelvin + + - label: "Does the DUT (Client) support TemperatureUnit attribute?" + id: LUNIT.C.A0000 + + - label: "Does the DUT (Client) support Fahrenheit TemperatureUnit?" + id: LUNIT.C.A0000.Fahrenheit + + - label: "Does the DUT (Client) support Celsius TemperatureUnit?" + id: LUNIT.C.A0000.Celsius + + - label: "Does the DUT (Client) support Kelvin TemperatureUnit?" + id: LUNIT.C.A0000.Kelvin + + #Multiple Fabrics + - label: "Does the DUT support Multiple Fabrics?" + id: PICS_MF + + - label: "Does the DUT support Basic Commissioning Method (BCM)?" + id: PICS_MF_BCM diff --git a/src/app/tests/suites/certification/Test_TC_CC_2_1.yaml b/src/app/tests/suites/certification/Test_TC_CC_2_1.yaml index 1f4664c21db94e..dfacc37a3217fe 100644 --- a/src/app/tests/suites/certification/Test_TC_CC_2_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_CC_2_1.yaml @@ -248,7 +248,6 @@ tests: - label: "Read the optional attribute: CoupleColorTempToLevelMinMireds" PICS: CC.S.A400d - optional: true command: "readAttribute" attribute: "CoupleColorTempToLevelMinMireds" response: @@ -259,7 +258,6 @@ tests: - label: "Read the optional attribute: StartUpColorTemperatureMireds" PICS: CC.S.A4010 - optional: true command: "readAttribute" attribute: "StartUpColorTemperatureMireds" response: @@ -270,7 +268,6 @@ tests: - label: "Validate constraints of attribute: RemainingTime" PICS: CC.S.A0002 - optional: true command: "readAttribute" attribute: "RemainingTime" response: @@ -280,7 +277,6 @@ tests: - label: "Read the optional attribute: DriftCompensation" PICS: CC.S.A0005 - optional: true command: "readAttribute" attribute: "DriftCompensation" response: @@ -291,7 +287,6 @@ tests: - label: "Read the optional attribute: CompensationText" PICS: CC.S.A0005 - optional: true command: "readAttribute" attribute: "CompensationText" response: @@ -482,7 +477,6 @@ tests: #Defined Color Points Settings Attribute Set - label: "Read the optional attribute: WhitePointX" PICS: CC.S.A0030 - optional: true command: "readAttribute" attribute: "WhitePointX" response: @@ -493,7 +487,6 @@ tests: - label: "Read the optional attribute: WhitePointY" PICS: CC.S.A0031 - optional: true command: "readAttribute" attribute: "WhitePointY" response: @@ -504,7 +497,6 @@ tests: - label: "Read the optional attribute: ColorPointRX" PICS: CC.S.A0032 - optional: true command: "readAttribute" attribute: "ColorPointRX" response: @@ -515,7 +507,6 @@ tests: - label: "Read the optional attribute: ColorPointRY" PICS: CC.S.A0033 - optional: true command: "readAttribute" attribute: "ColorPointRY" response: @@ -526,7 +517,6 @@ tests: - label: "Read the optional attribute: ColorPointRIntensity" PICS: CC.S.A0034 - optional: true command: "readAttribute" attribute: "ColorPointRIntensity" response: @@ -535,7 +525,6 @@ tests: - label: "Read the optional attribute: ColorPointGX" PICS: CC.S.A0036 - optional: true command: "readAttribute" attribute: "ColorPointGX" response: @@ -546,7 +535,6 @@ tests: - label: "Read the optional attribute: ColorPointGY" PICS: CC.S.A0037 - optional: true command: "readAttribute" attribute: "ColorPointGY" response: @@ -557,7 +545,6 @@ tests: - label: "Read the optional attribute: ColorPointGIntensity" PICS: CC.S.A0038 - optional: true command: "readAttribute" attribute: "ColorPointGIntensity" response: @@ -566,7 +553,6 @@ tests: - label: "Read the optional attribute: ColorPointBX" PICS: CC.S.A003a - optional: true command: "readAttribute" attribute: "ColorPointBX" response: @@ -577,7 +563,6 @@ tests: - label: "Read the optional attribute: ColorPointBY" PICS: CC.S.A003b - optional: true command: "readAttribute" attribute: "ColorPointBY" response: @@ -588,7 +573,6 @@ tests: - label: "Read the optional attribute: ColorPointBIntensity" PICS: CC.S.A003c - optional: true command: "readAttribute" attribute: "ColorPointBIntensity" response: diff --git a/src/app/tests/suites/certification/Test_TC_CC_2_2.yaml b/src/app/tests/suites/certification/Test_TC_CC_2_2.yaml index 2a66839f76ea4a..51b5afebdd8041 100644 --- a/src/app/tests/suites/certification/Test_TC_CC_2_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_CC_2_2.yaml @@ -22,56 +22,569 @@ config: tests: - label: - "DUT reads all supported mandatory attributes from TH once at a time - in a manufacturer specific order" + "DUT reads from the TH the (0x0000) CurrentHue attribute if + CC.S.F00(HS) is true" + PICS: CC.C.A0000 verification: | ./chip-tool colorcontrol read current-hue 1 1 + [1649661322.115302][7976:7981] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0300 Attribute 0x0000_0000 DataVersion: 4087274515 + [1649661322.115376][7976:7981] CHIP:TOO: current hue: 0 + [1649661322.115473][7976:7981] CHIP:EM: Sending Standalone Ack for MessageCounter:14511861 on exchange 26516i + disabled: true + + - label: + "DUT reads from the TH the (0x0001) CurrentSaturation attribute if + CC.S.F00(HS) is true" + PICS: CC.C.A0001 + verification: | ./chip-tool colorcontrol read current-saturation 1 1 + [1649661322.558054][7982:7987] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0300 Attribute 0x0000_0001 DataVersion: 4087274515 + [1649661322.558128][7982:7987] CHIP:TOO: current saturation: 0 + [1649661322.558225][7982:7987] CHIP:EM: Sending Standalone Ack for MessageCounter:13666860 on exchange 22550i + disabled: true + + - label: + "DUT reads from the TH the Optional (0x0002) RemainingTime attribute" + PICS: CC.C.A0002 + verification: | + ./chip-tool colorcontrol read remaining-time 1 1 + + CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0300 Attribute 0x0000_0002 DataVersion: 540305990 + [1651485342.420726][3496:3501] CHIP:TOO: remaining time: 0 + [1651485342.420816][3496:3501] CHIP:EM: Sending Standalone Ack for MessageCounter:6536290 on exchange 31520i + disabled: true + + - label: + "DUT reads from the TH the (0x0003) CurrentX attribute if CC.S.F03(XY) + is true" + PICS: CC.C.A0003 + verification: | ./chip-tool colorcontrol read current-x 1 1 + [1649661322.994696][7988:7993] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0300 Attribute 0x0000_0003 DataVersion: 4087274515 + [1649661322.994764][7988:7993] CHIP:TOO: current x: 24939 + [1649661322.994850][7988:7993] CHIP:EM: Sending Standalone Ack for MessageCounter:15274073 on exchange 48270i + disabled: true + + - label: + "DUT reads from the TH the (0x0004) CurrentY attribute if CC.S.F03(XY) + is true" + PICS: CC.C.A0004 + verification: | ./chip-tool colorcontrol read current-y 1 1 + [1649661323.433317][7994:7999] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0300 Attribute 0x0000_0004 DataVersion: 4087274515 + [1649661323.433391][7994:7999] CHIP:TOO: current y: 24701 + [1649661323.433490][7994:7999] CHIP:EM: Sending Standalone Ack for MessageCounter:12384629 on exchange 18947i + disabled: true + + - label: + "DUT reads from the TH the Optional (0x0005) DriftCompensation + attribute" + PICS: CC.C.A0005 + verification: | + ./chip-tool colorcontrol read drift-compensation 1 1 + + CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0300 Attribute 0x0000_0005 DataVersion: 540305990 + [1651485386.691700][3506:3511] CHIP:TOO: drift compensation: 0 + [1651485386.691805][3506:3511] CHIP:EM: Sending Standalone Ack for MessageCounter:12144117 on exchange 57338i + disabled: true + + - label: + "DUT reads from the TH the Optional (0x0006) CompensationText + attribute" + PICS: CC.C.A0006 + verification: | + ./chip-tool colorcontrol read compensation-text 1 1 + + CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0300 Attribute 0x0000_0006 DataVersion: 540305990 + [1651485417.552058][3512:3517] CHIP:TOO: compensation text: + [1651485417.552171][3512:3517] CHIP:EM: Sending Standalone Ack for MessageCounter:354764 on exchange 31359i + disabled: true + + - label: + "DUT reads from the TH the (0x0007) ColorTemperatureMireds attribute + if CC.S.F04(CT) is true" + PICS: CC.C.A0007 + verification: | ./chip-tool colorcontrol read color-temperature 1 1 + [1649661323.873246][8000:8005] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0300 Attribute 0x0000_0007 DataVersion: 4087274515 + [1649661323.873316][8000:8005] CHIP:TOO: color temperature: 0 + [1649661323.873405][8000:8005] CHIP:EM: Sending Standalone Ack for MessageCounter:16436117 on exchange 33080i + disabled: true + + - label: "DUT reads from the TH the (0x0008) ColorMode attribute" + PICS: CC.C.A0008 + verification: | ./chip-tool colorcontrol read color-mode 1 1 - ./chip-tool colorcontrol read color-control-options 1 1 + [1649661324.315688][8006:8011] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0300 Attribute 0x0000_0008 DataVersion: 4087274515 + [1649661324.315767][8006:8011] CHIP:TOO: color mode: 2 + [1649661324.315877][8006:8011] CHIP:EM: Sending Standalone Ack for MessageCounter:15003063 on exchange 8273i + disabled: true + + - label: "DUT reads from the TH the (0x000f) Options attribute" + PICS: CC.C.A000f + verification: | + ./chip-tool colorcontrol read options 1 1 + [1649661324.748577][8012:8017] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0300 Attribute 0x0000_000F DataVersion: 4087274515 + [1649661324.748641][8012:8017] CHIP:TOO: Options: 0 + [1649661324.748719][8012:8017] CHIP:EM: Sending Standalone Ack for MessageCounter:4617498 on exchange 9590i + disabled: true + + - label: + "DUT reads from the TH the (0x4000) EnhancedCurrentHue attribute if + CC.S.F01(EHue) is true" + PICS: CC.C.A4000 + verification: | ./chip-tool colorcontrol read enhanced-current-hue 1 1 + [1649661325.207404][8018:8023] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0300 Attribute 0x0000_4000 DataVersion: 4087274515 + [1649661325.207486][8018:8023] CHIP:TOO: enhanced current hue: 0 + [1649661325.207590][8018:8023] CHIP:EM: Sending Standalone Ack for MessageCounter:2630939 on exchange 50255i + disabled: true + + - label: + "DUT reads from the TH the (0x4001) EnhancedColorMode attribute if + CC.S.F02(CL) is true" + PICS: CC.C.A4001 + verification: | ./chip-tool colorcontrol read enhanced-color-mode 1 1 + [1649661325.650176][8024:8029] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0300 Attribute 0x0000_4001 DataVersion: 4087274515 + [1649661325.650248][8024:8029] CHIP:TOO: enhanced color mode: 2 + [1649661325.650343][8024:8029] CHIP:EM: Sending Standalone Ack for MessageCounter:11538460 on exchange 62879i + disabled: true + + - label: + "DUT reads from the TH the (0x4002) ColorLoopActive attribute if + CC.S.F02(CL) is true" + PICS: CC.C.A4002 + verification: | ./chip-tool colorcontrol read color-loop-active 1 1 + [1649661326.093373][8030:8035] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0300 Attribute 0x0000_4002 DataVersion: 4087274515 + [1649661326.093437][8030:8035] CHIP:TOO: color loop active: 0 + [1649661326.093510][8030:8035] CHIP:EM: Sending Standalone Ack for MessageCounter:16553834 on exchange 42935i + disabled: true + + - label: + "DUT reads from the TH the (0x4003) ColorLoopDirection attribute if + CC.S.F02(CL) is true" + PICS: CC.C.A4003 + verification: | ./chip-tool colorcontrol read color-loop-direction 1 1 + [1649661326.532413][8036:8041] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0300 Attribute 0x0000_4003 DataVersion: 4087274515 + [1649661326.532493][8036:8041] CHIP:TOO: color loop direction: 0 + [1649661326.532584][8036:8041] CHIP:EM: Sending Standalone Ack for MessageCounter:11662576 on exchange 8707i + disabled: true + + - label: + "DUT reads from the TH the (0x4004) ColorLoopTime attribute if + CC.S.F02(CL) is true" + PICS: CC.C.A4004 + verification: | ./chip-tool colorcontrol read color-loop-time 1 1 + [1649661326.969567][8042:8047] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0300 Attribute 0x0000_4004 DataVersion: 4087274515 + [1649661326.969644][8042:8047] CHIP:TOO: color loop time: 25 + [1649661326.969727][8042:8047] CHIP:EM: Sending Standalone Ack for MessageCounter:4589470 on exchange 61174i + disabled: true + + - label: + "DUT reads from the TH the (0x4005) ColorLoopStartEnhancedHue + attribute if CC.S.F02(CL) is true" + PICS: CC.C.A4005 + verification: | ./chip-tool colorcontrol read color-loop-start-enhanced-hue 1 1 + [1649661327.720397][8049:8054] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0300 Attribute 0x0000_4005 DataVersion: 4087274515 + [1649661327.720479][8049:8054] CHIP:TOO: color loop start enhanced hue: 8960 + [1649661327.720572][8049:8054] CHIP:EM: Sending Standalone Ack for MessageCounter:14858381 on exchange 47470i + disabled: true + + - label: + "DUT reads from the TH the (0x4006) ColorLoopStoredEnhancedHue + attribute if CC.S.F02(CL) is true" + PICS: CC.C.A4006 + verification: | ./chip-tool colorcontrol read color-loop-stored-enhanced-hue 1 1 + [1649661328.161450][8055:8060] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0300 Attribute 0x0000_4006 DataVersion: 4087274515 + [1649661328.161530][8055:8060] CHIP:TOO: color loop stored enhanced hue: 0 + [1649661328.161618][8055:8060] CHIP:EM: Sending Standalone Ack for MessageCounter:10650326 on exchange 16955i + disabled: true + + - label: "DUT reads from the TH the (0x400a) ColorCapabilities attribute" + PICS: CC.C.A400a + verification: | ./chip-tool colorcontrol read color-capabilities 1 1 - ./chip-tool colorcontrol read color-temp-physical-min 1 1 - ./chip-tool colorcontrol read color-temp-physical-max 1 1 + [1649661328.603843][8061:8066] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0300 Attribute 0x0000_400A DataVersion: 4087274515 + [1649661328.603925][8061:8066] CHIP:TOO: color capabilities: 0 + [1649661328.604011][8061:8066] CHIP:EM: Sending Standalone Ack for MessageCounter:9437585 on exchange 42028i + disabled: true + + - label: + "DUT reads from the TH the (0x400b) ColorTempPhysicalMinMireds + attribute if CC.S.F04(CT) is true" + PICS: CC.C.A400b + verification: | + ./chip-tool colorcontrol read color-temp-physical-min-mireds 1 1 + [1649661329.039107][8067:8072] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0300 Attribute 0x0000_400B DataVersion: 4087274515 + [1649661329.039188][8067:8072] CHIP:TOO: ColorTempPhysicalMinMireds: 0 + + [1649661329.039388][8067:8072] CHIP:EM: Sending Standalone Ack for MessageCounter:511360 on exchange 35476i + disabled: true + + - label: + "DUT reads from the TH the (0x400c) ColorTempPhysicalMaxMireds + attribute if CC.S.F04(CT) is true" + PICS: CC.C.A400c + verification: | + ./chip-tool colorcontrol read color-temp-physical-max-mireds 1 1 + + + [1649661329.475308][8073:8078] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0300 Attribute 0x0000_400C DataVersion: 4087274515 + [1649661329.475388][8073:8078] CHIP:TOO: ColorTempPhysicalMaxMireds: 65279 + + [1649661329.475476][8073:8078] CHIP:EM: Sending Standalone Ack for MessageCounter:14879622 on exchange 59016i + disabled: true + + - label: + "DUT reads from the TH the (0x400d) CoupleColorTempToLevelMinMireds + attribute if CC.S.F04(CT) or ColorTemperatureMireds is true" + PICS: CC.C.A400d + verification: | ./chip-tool colorcontrol read couple-color-temp-to-level-min-mireds 1 1 + [1649661329.915861][8079:8084] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0300 Attribute 0x0000_400D DataVersion: 4087274515 + [1649661329.915947][8079:8084] CHIP:TOO: couple color temp to level min-mireds: 0 + [1649661329.916065][8079:8084] CHIP:EM: Sending Standalone Ack for MessageCounter:1722601 on exchange 3570i + disabled: true + + - label: + "DUT reads from the TH the (0x4010) StartUpColorTemperatureMireds + attribute if CC.S.F04(CT) or ColorTemperatureMireds is true" + PICS: CC.C.A4010 + verification: | ./chip-tool colorcontrol read start-up-color-temperature-mireds 1 1 + [1649661330.348224][8085:8090] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0300 Attribute 0x0000_4010 DataVersion: 4087274515 + [1649661330.348301][8085:8090] CHIP:TOO: start up color temperature mireds: 0 + [1649661330.348390][8085:8090] CHIP:EM: Sending Standalone Ack for MessageCounter:15367381 on exchange 8592i + disabled: true + + - label: "DUT reads from the TH the (0x0010) NumberOfPrimaries attribute" + PICS: CC.C.A0010 + verification: | ./chip-tool colorcontrol read number-of-primaries 1 1 + [1649661330.790716][8091:8096] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0300 Attribute 0x0000_0010 DataVersion: 4087274515 + [1649661330.790792][8091:8096] CHIP:TOO: number of primaries: 0 + [1649661330.790894][8091:8096] CHIP:EM: Sending Standalone Ack for MessageCounter:4700740 on exchange 8440i + disabled: true + + - label: "DUT reads from the TH the (0x0011) Primary1X attribute" + PICS: CC.C.A0011 + verification: | + ./chip-tool colorcontrol read primary1x 1 1 + - depending on the value of number-of-primaries, primary#x, primary#y, primary#intensity are mandatory (not all devices implemented this) + CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0300 Attribute 0x0000_0011 DataVersion: 540305990 + [1651483665.109697][3245:3250] CHIP:TOO: primary 1 x: 0 + [1651483665.109797][3245:3250] CHIP:EM: Sending Standalone Ack for MessageCounter:12731123 on exchange 55053i + disabled: true + + - label: "DUT reads from the TH the (0x0012) Primary1Y attribute" + PICS: CC.C.A0012 + verification: | + ./chip-tool colorcontrol read primary1y 1 1 + + CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0300 Attribute 0x0000_0012 DataVersion: 540305990 + [1651483698.733322][3253:3259] CHIP:TOO: primary 1 y: 0 + [1651483698.733420][3253:3259] CHIP:EM: Sending Standalone Ack for MessageCounter:7863787 on exchange 13103i + disabled: true + + - label: "DUT reads from the TH the (0x0013) Primary1Intensity attribute" + PICS: CC.C.A0013 + verification: | + ./chip-tool colorcontrol read primary1intensity 1 1 + + + CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0300 Attribute 0x0000_0013 DataVersion: 540305990 + [1651483742.297459][3263:3268] CHIP:TOO: primary 1 intensity: 0 + [1651483742.297558][3263:3268] CHIP:EM: Sending Standalone Ack for MessageCounter:10210809 on exchange 7007i + disabled: true + + - label: "DUT reads from the TH the (0x0015) Primary2X attribute" + PICS: CC.C.A0015 + verification: | + ./chip-tool colorcontrol read primary2x 1 1 + + CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0300 Attribute 0x0000_0015 DataVersion: 540305990 + [1651483777.233498][3270:3275] CHIP:TOO: primary 2 x: 0 + [1651483777.233614][3270:3275] CHIP:EM: Sending Standalone Ack for MessageCounter:1684573 on exchange 21377i + disabled: true + + - label: "DUT reads from the TH the (0x0016) Primary2Y attribute" + PICS: CC.C.A0016 + verification: | + ./chip-tool colorcontrol read primary2y 1 1 + + + CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0300 Attribute 0x0000_0016 DataVersion: 540305990 + [1651483805.650796][3279:3284] CHIP:TOO: primary 2 y: 0 + [1651483805.650942][3279:3284] CHIP:EM: Sending Standalone Ack for MessageCounter:16277541 on exchange 10435i + disabled: true + + - label: "DUT reads from the TH the (0x0017) Primary2Intensity attribute" + PICS: CC.C.A0017 + verification: | + ./chip-tool colorcontrol read primary2intensity 1 1 + + + CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0300 Attribute 0x0000_0017 DataVersion: 540305990 + [1651483834.596380][3285:3290] CHIP:TOO: primary 2 intensity: 0 + [1651483834.596470][3285:3290] CHIP:EM: Sending Standalone Ack for MessageCounter:5986355 on exchange 855i + disabled: true + + - label: "DUT reads from the TH the (0x0019) Primary3X attribute" + PICS: CC.C.A0019 + verification: | + ./chip-tool colorcontrol read primary3x 1 1 + + + CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0300 Attribute 0x0000_0019 DataVersion: 540305990 + [1651483937.072323][3298:3303] CHIP:TOO: primary 3 x: 0 + [1651483937.072405][3298:3303] CHIP:EM: Sending Standalone Ack for MessageCounter:6092298 on exchange 12519i + disabled: true + + - label: "DUT reads from the TH the (0x001a) Primary3Y attribute" + PICS: CC.C.A001a + verification: | + ./chip-tool colorcontrol read primary3y 1 1 + + CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0300 Attribute 0x0000_001A DataVersion: 540305990 + [1651483967.386334][3305:3310] CHIP:TOO: primary 3 y: 0 + [1651483967.386427][3305:3310] CHIP:EM: Sending Standalone Ack for MessageCounter:3329418 on exchange 11657i + disabled: true + + - label: "DUT reads from the TH the (0x001b) Primary3Intensity attribute" + PICS: CC.C.A001b + verification: | + ./chip-tool colorcontrol read primary3intensity 1 1 + + CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0300 Attribute 0x0000_001B DataVersion: 540305990 + [1651484113.812178][3316:3321] CHIP:TOO: primary 3 intensity: 0 + [1651484113.812270][3316:3321] CHIP:EM: Sending Standalone Ack for MessageCounter:41658 on exchange 9618i + disabled: true + + - label: "DUT reads from the TH the (0x0020) Primary4X attribute" + PICS: CC.C.A0020 + verification: | + ./chip-tool colorcontrol read primary4x 1 1 + + CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0300 Attribute 0x0000_0020 DataVersion: 540305990 + [1651484143.778301][3324:3329] CHIP:TOO: primary 4 x: 0 + [1651484143.778392][3324:3329] CHIP:EM: Sending Standalone Ack for MessageCounter:2094184 on exchange 50270i + disabled: true + + - label: "DUT reads from the TH the (0x0021) Primary4Y attribute" + PICS: CC.C.A0021 + verification: | + ./chip-tool colorcontrol read primary4y 1 1 + + CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0300 Attribute 0x0000_0021 DataVersion: 540305990 + [1651484171.921901][3334:3339] CHIP:TOO: primary 4 y: 0 + [1651484171.921984][3334:3339] CHIP:EM: Sending Standalone Ack for MessageCounter:3701827 on exchange 16726i + disabled: true + + - label: "DUT reads from the TH the (0x0022) Primary4Intensity attribute" + PICS: CC.C.A0022 + verification: | + ./chip-tool colorcontrol read primary4intensity 1 1 + + CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0300 Attribute 0x0000_0022 DataVersion: 540305990 + [1651484198.443415][3341:3346] CHIP:TOO: primary 4 intensity: 0 + [1651484198.443528][3341:3346] CHIP:EM: Sending Standalone Ack for MessageCounter:1740063 on exchange 36245i + disabled: true + + - label: "DUT reads from the TH the (0x0024) Primary5X attribute" + PICS: CC.C.A0024 + verification: | + ./chip-tool colorcontrol read primary5x 1 1 + + CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0300 Attribute 0x0000_0024 DataVersion: 540305990 + [1651484241.467661][3350:3355] CHIP:TOO: primary 5 x: 0 + [1651484241.467788][3350:3355] CHIP:EM: Sending Standalone Ack for MessageCounter:5350139 on exchange 63040i + disabled: true + + - label: "DUT reads from the TH the (0x0025) Primary5Y attribute" + PICS: CC.C.A0025 + verification: | + ./chip-tool colorcontrol read primary5y 1 1 + + + CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0300 Attribute 0x0000_0025 DataVersion: 540305990 + [1651484286.709863][3358:3363] CHIP:TOO: primary 5 y: 0 + [1651484286.709964][3358:3363] CHIP:EM: Sending Standalone Ack for MessageCounter:7199124 on exchange 47604i + disabled: true + + - label: "DUT reads from the TH the (0x0026) Primary5Intensity attribute" + PICS: CC.C.A0026 + verification: | + ./chip-tool colorcontrol read primary5intensity 1 1 + + + CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0300 Attribute 0x0000_0026 DataVersion: 540305990 + [1651484304.715731][3365:3370] CHIP:TOO: primary 5 intensity: 0 + [1651484304.715829][3365:3370] CHIP:EM: Sending Standalone Ack for MessageCounter:8654922 on exchange 29272i + disabled: true + + - label: "DUT reads from the TH the (0x0028) Primary6X attribute" + PICS: CC.C.A0028 + verification: | + ./chip-tool colorcontrol read primary6x 1 1 + + + CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0300 Attribute 0x0000_0028 DataVersion: 540305990 + [1651484349.601181][3372:3377] CHIP:TOO: primary 6 x: 0 + [1651484349.601269][3372:3377] CHIP:EM: Sending Standalone Ack for MessageCounter:13704291 on exchange 30507i + disabled: true + + - label: "DUT reads from the TH the (0x0029) Primary6Y attribute" + PICS: CC.C.A0029 + verification: | + ./chip-tool colorcontrol read primary6y 1 1 + + CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0300 Attribute 0x0000_0028 DataVersion: 540305990 + [1651484349.601181][3372:3377] CHIP:TOO: primary 6 x: 0 + [1651484349.601269][3372:3377] CHIP:EM: Sending Standalone Ack for MessageCounter:13704291 on exchange 30507i + disabled: true + + - label: "DUT reads from the TH the (0x002a) Primary6Intensity attribute" + PICS: CC.C.A002a + verification: | + ./chip-tool colorcontrol read primary6intensity 1 1 + + CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0300 Attribute 0x0000_002A DataVersion: 540305990 + [1651484392.490974][3378:3383] CHIP:TOO: primary 6 intensity: 0 + [1651484392.491074][3378:3383] CHIP:EM: Sending Standalone Ack for MessageCounter:2427165 on exchange 17769i + disabled: true + + - label: "DUT reads from the TH the Optional (0x0030) WhitePointX attribute" + PICS: CC.C.A0030 + verification: | + ./chip-tool colorcontrol read white-point-x 1 1 + + + CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0300 Attribute 0x0000_0030 DataVersion: 540305990 + [1651484447.853097][3389:3394] CHIP:TOO: white point x: 0 + [1651484447.853201][3389:3394] CHIP:EM: Sending Standalone Ack for MessageCounter:2187963 on exchange 39418i + disabled: true + + - label: "DUT reads from the TH the Optional (0x0031) WhitePointY attribute" + PICS: CC.C.A0031 + verification: | + ./chip-tool colorcontrol read white-point-y 1 1 + + CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0300 Attribute 0x0000_0031 DataVersion: 540305990 + [1651484493.098722][3397:3402] CHIP:TOO: white point y: 0 + [1651484493.098838][3397:3402] CHIP:EM: Sending Standalone Ack for MessageCounter:13416692 on exchange 58975i disabled: true - label: - "DUT reads all supported optional attributes from TH once at a time in - a manufacturer specific order" + "DUT reads from the TH the Optional (0x0032) ColorPointRX attribute" + PICS: CC.C.A0032 verification: | - ./chip-tool colorcontrol read remaining-time 1 1 - ./chip-tool colorcontrol read drift-compensation 1 1 - ./chip-tool colorcontrol read compensation-text 1 1 + ./chip-tool colorcontrol read color-point-rx 1 1 + + + CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0300 Attribute 0x0000_0032 DataVersion: 540305990 + [1651484549.019811][3407:3412] CHIP:TOO: color point r x: 0 + [1651484549.019946][3407:3412] CHIP:EM: Sending Standalone Ack for MessageCounter:3393967 on exchange 29393i + disabled: true + + - label: + "DUT reads from the TH the Optional (0x0033) ColorPointRY attribute" + PICS: CC.C.A0033 + verification: | + ./chip-tool colorcontrol read color-point-ry 1 1 + + + CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0300 Attribute 0x0000_0033 DataVersion: 540305990 + [1651484569.809289][3413:3418] CHIP:TOO: color point r y: 0 + [1651484569.809368][3413:3418] CHIP:EM: Sending Standalone Ack for MessageCounter:5190611 on exchange 55680i 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" + "DUT reads from the TH the Optional (0x0034) ColorPointRIntensity + attribute" + PICS: CC.C.A0034 verification: | - Expect pass: - ./chip-tool colorcontrol write color-control-options 12 1 1 - ./chip-tool colorcontrol write start-up-color-temperature-mireds 12 1 1 + ./chip-tool colorcontrol read color-point-rintensity 1 1 - All other write command to mandatory attributes expects Failures. + + CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0300 Attribute 0x0000_0034 DataVersion: 540305990 + [1651484618.450366][3424:3429] CHIP:TOO: color point r intensity: 0 + [1651484618.450496][3424:3429] CHIP:EM: Sending Standalone Ack for MessageCounter:7795217 on exchange 46127i disabled: true - label: - "DUT writes a suitable value to all supported optional attributes on - the TH once at a time in a manufacturer specific order" + "DUT reads from the TH the Optional (0x0036) ColorPointGX attribute" + PICS: CC.C.A0036 verification: | - write optional attributes if implemented on device + ./chip-tool colorcontrol read color-point-gx 1 1 + + + CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0300 Attribute 0x0000_0036 DataVersion: 540305990 + [1651484661.163449][3438:3443] CHIP:TOO: color point g x: 0 + [1651484661.163534][3438:3443] CHIP:EM: Sending Standalone Ack for MessageCounter:8020365 on exchange 14427i + disabled: true + + - label: + "DUT reads from the TH the Optional (0x0037) ColorPointGY attribute" + PICS: CC.C.A0037 + verification: | + ./chip-tool colorcontrol read color-point-gy 1 1 + + + CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0300 Attribute 0x0000_0037 DataVersion: 540305990 + [1651484675.995507][3444:3449] CHIP:TOO: color point g y: 0 + [1651484675.995585][3444:3449] CHIP:EM: Sending Standalone Ack for MessageCounter:5358119 on exchange 45686i + disabled: true + + - label: + "DUT reads from the TH the Optional (0x0038) ColorPointGIntensity + attribute" + PICS: CC.C.A0038 + verification: | + ./chip-tool colorcontrol read color-point-gintensity 1 1 + + + CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0300 Attribute 0x0000_0038 DataVersion: 540305990 + [1651484700.811165][3451:3456] CHIP:TOO: color point g intensity: 0 + [1651484700.811283][3451:3456] CHIP:EM: Sending Standalone Ack for MessageCounter:3831934 on exchange 46053i + disabled: true + + - label: + "DUT reads from the TH the Optional (0x003a) ColorPointBX attribute" + PICS: CC.C.A003a + verification: | + ./chip-tool colorcontrol read color-point-bx 1 1 + + CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0300 Attribute 0x0000_003A DataVersion: 540305990 + [1651484728.014850][3459:3464] CHIP:TOO: color point b x: 0 + [1651484728.014978][3459:3464] CHIP:EM: Sending Standalone Ack for MessageCounter:16345213 on exchange 13i + disabled: true + + - label: + "DUT reads from the TH the Optional (0x003b) ColorPointBY attribute" + PICS: CC.C.A003b + verification: | + ./chip-tool colorcontrol read color-point-by 1 1 + + CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0300 Attribute 0x0000_003B DataVersion: 540305990 + [1651484766.975812][3469:3474] CHIP:TOO: color point b y: 0 + [1651484766.975908][3469:3474] CHIP:EM: Sending Standalone Ack for MessageCounter:13904476 on exchange 17909i + disabled: true + + - label: + "DUT reads from the TH the Optional (0x003c) ColorPointBIntensity + attribute" + PICS: CC.C.A003c + verification: | + ./chip-tool colorcontrol read color-point-bintensity 1 1 + + CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0300 Attribute 0x0000_003B DataVersion: 540305990 + [1651484766.975812][3469:3474] CHIP:TOO: color point b y: 0 + [1651484766.975908][3469:3474] CHIP:EM: Sending Standalone Ack for MessageCounter:13904476 on exchange 17909i disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_CC_3_4.yaml b/src/app/tests/suites/certification/Test_TC_CC_3_4.yaml index 9badd915a1d66a..9647c697a195e4 100644 --- a/src/app/tests/suites/certification/Test_TC_CC_3_4.yaml +++ b/src/app/tests/suites/certification/Test_TC_CC_3_4.yaml @@ -21,10 +21,10 @@ config: endpoint: 0 tests: - - label: - "DUT sends MoveToHue command to TH an Hue with _TransitionTime 200." + - label: "DUT sends MoveToHue command to TH an Hue with TransitionTime 300." + PICS: CC.C.C00.Rsp verification: | - ./chip-tool colorcontrol move-to-hue 1 0 200 0 0 1 1 + ./chip-tool colorcontrol move-to-hue 1 0 300 0 0 1 1 [1646210342.550556][2190:2190] CHIP:DMG: InvokeRequestMessage = [1646210342.550627][2190:2190] CHIP:DMG: { [1646210342.550679][2190:2190] CHIP:DMG: suppressResponse = false, @@ -59,6 +59,7 @@ tests: - label: "Over TransitionTime, DUT reads CurrentHue attribute from TH periodically." + PICS: CC.C.A0000 verification: | ./chip-tool colorcontrol read current-hue 1 1 [1646210292.985313][2190:2190] CHIP:DMG: ReadRequestMessage = @@ -80,6 +81,7 @@ tests: disabled: true - label: "DUT sends MoveHue command to TH" + PICS: CC.C.C01.Rsp verification: | ./chip-tool colorcontrol move-hue 1 10 0 0 1 1 [1646210493.976737][2190:2190] CHIP:EM: Handling via exchange: 36870r, Delegate: 0xaaaad04530c8 @@ -113,7 +115,8 @@ tests: [1646210493.978595][2190:2190] CHIP:DMG: }, disabled: true - - label: "DUT reads CurrentHue attribute from TH several times." + - label: "DUT reads CurrentHue attribute from TH several Times." + PICS: CC.C.A0000 verification: | ./chip-tool colorcontrol read current-hue 1 1 [1646210292.985313][2190:2190] CHIP:DMG: ReadRequestMessage = @@ -135,6 +138,7 @@ tests: disabled: true - label: "DUT sends StepHue command to TH" + PICS: CC.C.C02.Rsp verification: | ./chip-tool colorcontrol step-hue 1 10 200 0 0 1 1 [1646210571.683401][2190:2190] CHIP:DMG: InvokeRequestMessage = @@ -169,6 +173,7 @@ tests: disabled: true - label: "Over TransitionTime, DUT reads CurrentHue attribute from TH." + PICS: CC.C.A0000 verification: | ./chip-tool colorcontrol read current-hue 1 1 [1646210292.985313][2190:2190] CHIP:DMG: ReadRequestMessage = @@ -190,6 +195,7 @@ tests: disabled: true - label: "DUT sends StopMoveStep command to TH." + PICS: CC.C.C47.Rsp verification: | ./chip-tool colorcontrol stop-move-step 0 0 1 1 [1646210677.870562][2190:2190] CHIP:DMG: InvokeRequestMessage = diff --git a/src/app/tests/suites/certification/Test_TC_CC_4_5.yaml b/src/app/tests/suites/certification/Test_TC_CC_4_5.yaml index b9bed0d9aac0e9..ab7cdedc7b71ba 100644 --- a/src/app/tests/suites/certification/Test_TC_CC_4_5.yaml +++ b/src/app/tests/suites/certification/Test_TC_CC_4_5.yaml @@ -21,14 +21,10 @@ config: endpoint: 0 tests: - - label: "Test Step" - verification: | - Verification Steps - disabled: true - - label: "DUT sends MoveToSaturation command to TH a Saturation with - _TransitionTime 300." + TransitionTime 300." + PICS: CC.C.C03.Rsp verification: | ./chip-tool colorcontrol move-to-saturation 200 300 0 0 1 1 @@ -69,6 +65,7 @@ tests: - label: "Over TransitionTime, DUT reads CurrentSaturation attribute from TH periodically." + PICS: CC.C.A0001 verification: | ./chip-tool colorcontrol read current-saturation 1 1 [1646210970.309403][2190:2190] CHIP:IM: Received Read request @@ -91,6 +88,7 @@ tests: disabled: true - label: "DUT sends MoveSaturation command to TH" + PICS: CC.C.C04.Rsp verification: | ./chip-tool colorcontrol move-saturation 1 10 0 0 1 1 @@ -124,7 +122,8 @@ tests: [1646211062.546320][2190:2190] CHIP:DMG: }, disabled: true - - label: "DUT reads CurrentSaturation attribute from TH several times." + - label: "DUT reads CurrentSaturation attribute from TH several Times." + PICS: CC.C.A0001 verification: | ./chip-tool colorcontrol read current-saturation 1 1 [1646210970.309403][2190:2190] CHIP:IM: Received Read request @@ -147,6 +146,7 @@ tests: disabled: true - label: "DUT sends StepSaturation command to TH" + PICS: CC.C.C05.Rsp verification: | ./chip-tool colorcontrol step-saturation 1 10 200 0 0 1 1 [1646211149.169696][2190:2190] CHIP:DMG: InvokeRequestMessage = @@ -182,6 +182,52 @@ tests: - label: "Over TransitionTime, DUT reads CurrentSaturation attribute from TH." + PICS: CC.C.A0001 + verification: | + ./chip-tool colorcontrol read current-saturation 1 1 + [1646210970.309403][2190:2190] CHIP:IM: Received Read request + [1646210970.309465][2190:2190] CHIP:DMG: ReadRequestMessage = + [1646210970.309495][2190:2190] CHIP:DMG: { + [1646210970.309514][2190:2190] CHIP:DMG: AttributePathIBs = + [1646210970.309541][2190:2190] CHIP:DMG: [ + [1646210970.309567][2190:2190] CHIP:DMG: AttributePathIB = + [1646210970.309599][2190:2190] CHIP:DMG: { + [1646210970.309629][2190:2190] CHIP:DMG: Endpoint = 0x1, + [1646210970.309664][2190:2190] CHIP:DMG: Cluster = 0x300, + [1646210970.309691][2190:2190] CHIP:DMG: Attribute = 0x0000_0001, + [1646210970.309720][2190:2190] CHIP:DMG: } + [1646210970.309750][2190:2190] CHIP:DMG: + [1646210970.309779][2190:2190] CHIP:DMG: ], + [1646210970.309815][2190:2190] CHIP:DMG: + [1646210970.309844][2190:2190] CHIP:DMG: isFabricFiltered = false, + [1646210970.309871][2190:2190] CHIP:DMG: InteractionModelRevision = 1 + [1646210970.309892][2190:2190] CHIP:DMG: }, + disabled: true + + - label: "DUT sends MoveToHueAndSaturation command to TH." + PICS: CC.C.C06.Rsp + verification: | + ./chip-tool colorcontrol move-to-hue-and-saturation 100 200 200 0 0 1 1 + + [1649664783.987760][8866:8871] CHIP:DMG: StatusIB = + [1649664783.987823][8866:8871] CHIP:DMG: { + [1649664783.987888][8866:8871] CHIP:DMG: status = 0x00 (SUCCESS), + [1649664783.987943][8866:8871] CHIP:DMG: }, + disabled: true + + - label: "Over TransitionTime, DUT reads CurrentHue attribute from TH." + PICS: CC.C.A0000 + verification: | + ./chip-tool colorcontrol read current-hue 1 1 + + [1649664795.474974][8872:8877] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0300 Attribute 0x0000_0000 DataVersion: 4087328778 + [1649664795.475051][8872:8877] CHIP:TOO: CurrentHue: 29 + [1649664795.475150][8872:8877] CHIP:EM: Sending Standalone Ack for MessageCounter:4578193 on exchange 26597i + disabled: true + + - label: + "Over TransitionTime, DUT reads CurrentSaturation attribute from DUT." + PICS: CC.C.A0001 verification: | ./chip-tool colorcontrol read current-saturation 1 1 [1646210970.309403][2190:2190] CHIP:IM: Received Read request @@ -204,6 +250,7 @@ tests: disabled: true - label: "DUT sends StopMoveStep command to TH." + PICS: CC.C.C47.Rsp verification: | ./chip-tool colorcontrol stop-move-step 0 0 1 1 [1646211221.659999][2190:2190] CHIP:DMG: InvokeRequestMessage = diff --git a/src/app/tests/suites/certification/Test_TC_CC_5_4.yaml b/src/app/tests/suites/certification/Test_TC_CC_5_4.yaml index 4cfa346909a9d8..59620517b4306c 100644 --- a/src/app/tests/suites/certification/Test_TC_CC_5_4.yaml +++ b/src/app/tests/suites/certification/Test_TC_CC_5_4.yaml @@ -22,52 +22,362 @@ config: tests: - label: - "DUT sends MoveToColor command to TH a Color with _TransitionTime 300." + "DUT sends MoveToColor command to TH a Color with TransitionTime 300." + PICS: CC.C.C07.Rsp verification: | ./chip-tool colorcontrol move-to-color 400 500 300 0 0 1 1 + + [1651223638.803589][5645:5645] CHIP:EM: Handling via exchange: 42290r, Delegate: 0xaaaab48970a0 + [1651223638.803742][5645:5645] CHIP:DMG: InvokeRequestMessage = + [1651223638.803807][5645:5645] CHIP:DMG: { + [1651223638.803864][5645:5645] CHIP:DMG: suppressResponse = false, + [1651223638.803929][5645:5645] CHIP:DMG: timedRequest = false, + [1651223638.803989][5645:5645] CHIP:DMG: InvokeRequests = + [1651223638.804154][5645:5645] CHIP:DMG: [ + [1651223638.804223][5645:5645] CHIP:DMG: CommandDataIB = + [1651223638.804302][5645:5645] CHIP:DMG: { + [1651223638.804374][5645:5645] CHIP:DMG: CommandPathIB = + [1651223638.804440][5645:5645] CHIP:DMG: { + [1651223638.804518][5645:5645] CHIP:DMG: EndpointId = 0x1, + [1651223638.804609][5645:5645] CHIP:DMG: ClusterId = 0x300, + [1651223638.804699][5645:5645] CHIP:DMG: CommandId = 0x7, + [1651223638.804785][5645:5645] CHIP:DMG: }, + [1651223638.804866][5645:5645] CHIP:DMG: + [1651223638.804936][5645:5645] CHIP:DMG: CommandData = + [1651223638.805013][5645:5645] CHIP:DMG: { + [1651223638.805095][5645:5645] CHIP:DMG: 0x0 = 400, + [1651223638.805178][5645:5645] CHIP:DMG: 0x1 = 500, + [1651223638.805261][5645:5645] CHIP:DMG: 0x2 = 300, + [1651223638.805345][5645:5645] CHIP:DMG: 0x3 = 0, + [1651223638.805427][5645:5645] CHIP:DMG: 0x4 = 0, + [1651223638.805508][5645:5645] CHIP:DMG: }, + [1651223638.805588][5645:5645] CHIP:DMG: }, + [1651223638.805671][5645:5645] CHIP:DMG: + [1651223638.805735][5645:5645] CHIP:DMG: ], + [1651223638.805813][5645:5645] CHIP:DMG: + [1651223638.805872][5645:5645] CHIP:DMG: InteractionModelRevision = 1 + [1651223638.805930][5645:5645] CHIP:DMG: }, + [1651223638.806080][5645:5645] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0300 e=1 p=o + [1651223638.806159][5645:5645] CHIP:DMG: AccessControl: allowed + [1651223638.806224][5645:5645] CHIP:DMG: Received command for Endpoint=1 Cluster=0x0000_0300 Command=0x0000_0007 disabled: true - label: "Over TransitionTime, DUT reads CurrentX attribute from TH." + PICS: CC.C.A0003 verification: | ./chip-tool colorcontrol read current-x 1 1 + + [1651223645.498447][5645:5645] CHIP:EM: Handling via exchange: 56099r, Delegate: 0xaaaab48970a0 + [1651223645.498492][5645:5645] CHIP:IM: Received Read request + [1651223645.498545][5645:5645] CHIP:DMG: ReadRequestMessage = + [1651223645.498572][5645:5645] CHIP:DMG: { + [1651223645.498594][5645:5645] CHIP:DMG: AttributePathIBs = + [1651223645.498627][5645:5645] CHIP:DMG: [ + [1651223645.498652][5645:5645] CHIP:DMG: AttributePathIB = + [1651223645.498683][5645:5645] CHIP:DMG: { + [1651223645.498715][5645:5645] CHIP:DMG: Endpoint = 0x1, + [1651223645.498751][5645:5645] CHIP:DMG: Cluster = 0x300, + [1651223645.498785][5645:5645] CHIP:DMG: Attribute = 0x0000_0003, + [1651223645.498815][5645:5645] CHIP:DMG: } + [1651223645.498846][5645:5645] CHIP:DMG: + [1651223645.498875][5645:5645] CHIP:DMG: ], + [1651223645.498905][5645:5645] CHIP:DMG: + [1651223645.498931][5645:5645] CHIP:DMG: isFabricFiltered = true, + [1651223645.498956][5645:5645] CHIP:DMG: InteractionModelRevision = 1 + [1651223645.498980][5645:5645] CHIP:DMG: }, + [1651223645.499051][5645:5645] CHIP:DMG: IM RH moving to [GeneratingReports] + [1651223645.499135][5645:5645] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 + [1651223645.499163][5645:5645] CHIP:DMG: Cluster 300, Attribute 3 is dirty + [1651223645.499184][5645:5645] CHIP:DMG: Reading attribute: Cluster=0x0000_0300 Endpoint=1 AttributeId=0x0000_0003 (expanded=0) disabled: true - label: "Over TransitionTime, DUT reads CurrentY attribute from TH." + PICS: CC.C.A0004 verification: | ./chip-tool colorcontrol read current-y 1 1 + + [1651223650.416464][5645:5645] CHIP:EM: Handling via exchange: 42106r, Delegate: 0xaaaab48970a0 + [1651223650.416580][5645:5645] CHIP:IM: Received Read request + [1651223650.416637][5645:5645] CHIP:DMG: ReadRequestMessage = + [1651223650.416664][5645:5645] CHIP:DMG: { + [1651223650.416688][5645:5645] CHIP:DMG: AttributePathIBs = + [1651223650.416716][5645:5645] CHIP:DMG: [ + [1651223650.416742][5645:5645] CHIP:DMG: AttributePathIB = + [1651223650.416776][5645:5645] CHIP:DMG: { + [1651223650.416807][5645:5645] CHIP:DMG: Endpoint = 0x1, + [1651223650.416929][5645:5645] CHIP:DMG: Cluster = 0x300, + [1651223650.416975][5645:5645] CHIP:DMG: Attribute = 0x0000_0004, + [1651223650.417012][5645:5645] CHIP:DMG: } + [1651223650.417043][5645:5645] CHIP:DMG: + [1651223650.417073][5645:5645] CHIP:DMG: ], + [1651223650.417104][5645:5645] CHIP:DMG: + [1651223650.417132][5645:5645] CHIP:DMG: isFabricFiltered = true, + [1651223650.417159][5645:5645] CHIP:DMG: InteractionModelRevision = 1 + [1651223650.417184][5645:5645] CHIP:DMG: }, + [1651223650.417257][5645:5645] CHIP:DMG: IM RH moving to [GeneratingReports] + [1651223650.417351][5645:5645] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 + [1651223650.417381][5645:5645] CHIP:DMG: Cluster 300, Attribute 4 is dirty + [1651223650.417403][5645:5645] CHIP:DMG: Reading attribute: Cluster=0x0000_0300 Endpoint=1 AttributeId=0x0000_0004 (expanded=0) + [1651223650.417434][5645:5645] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0300 e=1 p=v + [1651223650.417468][5645:5645] CHIP:DMG: AccessControl: allowed + [1651223650.417526][5645:5645] CHIP:DMG: Sending report (payload has 38 bytes)... disabled: true - label: "DUT sends MoveColor command to TH" + PICS: CC.C.C08.Rsp verification: | ./chip-tool colorcontrol move-color 10 20 0 0 1 1 + + [1651223655.698178][5645:5645] CHIP:EM: Handling via exchange: 30531r, Delegate: 0xaaaab48970a0 + [1651223655.698251][5645:5645] CHIP:DMG: InvokeRequestMessage = + [1651223655.698279][5645:5645] CHIP:DMG: { + [1651223655.698301][5645:5645] CHIP:DMG: suppressResponse = false, + [1651223655.698328][5645:5645] CHIP:DMG: timedRequest = false, + [1651223655.698352][5645:5645] CHIP:DMG: InvokeRequests = + [1651223655.698385][5645:5645] CHIP:DMG: [ + [1651223655.698409][5645:5645] CHIP:DMG: CommandDataIB = + [1651223655.698437][5645:5645] CHIP:DMG: { + [1651223655.698461][5645:5645] CHIP:DMG: CommandPathIB = + [1651223655.698495][5645:5645] CHIP:DMG: { + [1651223655.698530][5645:5645] CHIP:DMG: EndpointId = 0x1, + [1651223655.698567][5645:5645] CHIP:DMG: ClusterId = 0x300, + [1651223655.698600][5645:5645] CHIP:DMG: CommandId = 0x8, + [1651223655.698631][5645:5645] CHIP:DMG: }, + [1651223655.698664][5645:5645] CHIP:DMG: + [1651223655.698693][5645:5645] CHIP:DMG: CommandData = + [1651223655.698724][5645:5645] CHIP:DMG: { + [1651223655.698761][5645:5645] CHIP:DMG: 0x0 = 10, + [1651223655.698794][5645:5645] CHIP:DMG: 0x1 = 20, + [1651223655.698828][5645:5645] CHIP:DMG: 0x2 = 0, + [1651223655.698861][5645:5645] CHIP:DMG: 0x3 = 0, + [1651223655.698893][5645:5645] CHIP:DMG: }, + [1651223655.698923][5645:5645] CHIP:DMG: }, + [1651223655.698956][5645:5645] CHIP:DMG: + [1651223655.698982][5645:5645] CHIP:DMG: ], + [1651223655.699013][5645:5645] CHIP:DMG: + [1651223655.699037][5645:5645] CHIP:DMG: InteractionModelRevision = 1 + [1651223655.699060][5645:5645] CHIP:DMG: }, + [1651223655.699127][5645:5645] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0300 e=1 p=o + [1651223655.699164][5645:5645] CHIP:DMG: AccessControl: allowed + [1651223655.699191][5645:5645] CHIP:DMG: Received command for Endpoint=1 Cluster=0x0000_0300 Command=0x0000_0008 + [1651223655.699335][5645:5645] CHIP:DMG: ICR moving to [ Preparing] + [1651223655.699370][5645:5645] CHIP:DMG: ICR moving to [AddingComm] + [1651223655.699398][5645:5645] CHIP:DMG: ICR moving to [AddedComma] + [1651223655.699438][5645:5645] CHIP:DMG: Decreasing reference count for CommandHandler, remaining 0 + [1651223655.699468][5645:5645] CHIP:EM: Piggybacking Ack for MessageCounter:12893232 on exchange: 30531r disabled: true - label: "DUT reads CurrentX attribute from TH." + PICS: CC.C.A0003 verification: | ./chip-tool colorcontrol read current-x 1 1 + + [1651223661.134785][5645:5645] CHIP:IM: Received Read request + [1651223661.135079][5645:5645] CHIP:DMG: ReadRequestMessage = + [1651223661.135144][5645:5645] CHIP:DMG: { + [1651223661.135197][5645:5645] CHIP:DMG: AttributePathIBs = + [1651223661.135261][5645:5645] CHIP:DMG: [ + [1651223661.135323][5645:5645] CHIP:DMG: AttributePathIB = + [1651223661.135395][5645:5645] CHIP:DMG: { + [1651223661.135470][5645:5645] CHIP:DMG: Endpoint = 0x1, + [1651223661.135558][5645:5645] CHIP:DMG: Cluster = 0x300, + [1651223661.135635][5645:5645] CHIP:DMG: Attribute = 0x0000_0003, + [1651223661.135711][5645:5645] CHIP:DMG: } + [1651223661.135788][5645:5645] CHIP:DMG: + [1651223661.135856][5645:5645] CHIP:DMG: ], + [1651223661.135926][5645:5645] CHIP:DMG: + [1651223661.135991][5645:5645] CHIP:DMG: isFabricFiltered = true, + [1651223661.136054][5645:5645] CHIP:DMG: InteractionModelRevision = 1 + [1651223661.136222][5645:5645] CHIP:DMG: }, + [1651223661.136385][5645:5645] CHIP:DMG: IM RH moving to [GeneratingReports] + [1651223661.136580][5645:5645] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 + [1651223661.136646][5645:5645] CHIP:DMG: Cluster 300, Attribute 3 is dirty + [1651223661.136698][5645:5645] CHIP:DMG: Reading attribute: Cluster=0x0000_0300 Endpoint=1 AttributeId=0x0000_0003 (expanded=0) + [1651223661.136763][5645:5645] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0300 e=1 p=v + [1651223661.136837][5645:5645] CHIP:DMG: AccessControl: allowed + [1651223661.136950][5645:5645] CHIP:DMG: Sending report (payload has 38 bytes)... + [1651223661.137021][5645:5645] CHIP:EM: Piggybacking Ack for MessageCounter:8190649 on exchange: 53465r disabled: true - label: "DUT reads CurrentY attribute from TH." + PICS: CC.C.A0004 verification: | ./chip-tool colorcontrol read current-y 1 1 + + [1651223667.781113][5645:5645] CHIP:IM: Received Read request + [1651223667.781165][5645:5645] CHIP:DMG: ReadRequestMessage = + [1651223667.781191][5645:5645] CHIP:DMG: { + [1651223667.781212][5645:5645] CHIP:DMG: AttributePathIBs = + [1651223667.781243][5645:5645] CHIP:DMG: [ + [1651223667.781268][5645:5645] CHIP:DMG: AttributePathIB = + [1651223667.781296][5645:5645] CHIP:DMG: { + [1651223667.781324][5645:5645] CHIP:DMG: Endpoint = 0x1, + [1651223667.781359][5645:5645] CHIP:DMG: Cluster = 0x300, + [1651223667.781394][5645:5645] CHIP:DMG: Attribute = 0x0000_0004, + [1651223667.781427][5645:5645] CHIP:DMG: } + [1651223667.781456][5645:5645] CHIP:DMG: + [1651223667.781483][5645:5645] CHIP:DMG: ], + [1651223667.781514][5645:5645] CHIP:DMG: + [1651223667.781540][5645:5645] CHIP:DMG: isFabricFiltered = true, + [1651223667.781566][5645:5645] CHIP:DMG: InteractionModelRevision = 1 + [1651223667.781589][5645:5645] CHIP:DMG: }, + [1651223667.781658][5645:5645] CHIP:DMG: IM RH moving to [GeneratingReports] + [1651223667.781737][5645:5645] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 + [1651223667.781766][5645:5645] CHIP:DMG: Cluster 300, Attribute 4 is dirty + [1651223667.781787][5645:5645] CHIP:DMG: Reading attribute: Cluster=0x0000_0300 Endpoint=1 AttributeId=0x0000_0004 (expanded=0) + [1651223667.781816][5645:5645] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0300 e=1 p=v + [1651223667.781849][5645:5645] CHIP:DMG: AccessControl: allowed + [1651223667.781905][5645:5645] CHIP:DMG: Sending report (payload has 38 bytes)... + [1651223667.781935][5645:5645] CHIP:EM: Piggybacking Ack for MessageCounter:10039912 on exchange: 38072r disabled: true - label: "DUT sends StepColor command to TH" + PICS: CC.C.C09.Rsp verification: | ./chip-tool colorcontrol step-color 100 100 200 0 0 1 1 + + [1651223672.825951][5645:5645] CHIP:EM: Handling via exchange: 39007r, Delegate: 0xaaaab48970a0 + [1651223672.826031][5645:5645] CHIP:DMG: InvokeRequestMessage = + [1651223672.826061][5645:5645] CHIP:DMG: { + [1651223672.826088][5645:5645] CHIP:DMG: suppressResponse = false, + [1651223672.826118][5645:5645] CHIP:DMG: timedRequest = false, + [1651223672.826146][5645:5645] CHIP:DMG: InvokeRequests = + [1651223672.826183][5645:5645] CHIP:DMG: [ + [1651223672.826211][5645:5645] CHIP:DMG: CommandDataIB = + [1651223672.826252][5645:5645] CHIP:DMG: { + [1651223672.826282][5645:5645] CHIP:DMG: CommandPathIB = + [1651223672.826323][5645:5645] CHIP:DMG: { + [1651223672.826362][5645:5645] CHIP:DMG: EndpointId = 0x1, + [1651223672.826400][5645:5645] CHIP:DMG: ClusterId = 0x300, + [1651223672.826439][5645:5645] CHIP:DMG: CommandId = 0x9, + [1651223672.826475][5645:5645] CHIP:DMG: }, + [1651223672.826514][5645:5645] CHIP:DMG: + [1651223672.826547][5645:5645] CHIP:DMG: CommandData = + [1651223672.826583][5645:5645] CHIP:DMG: { + [1651223672.826622][5645:5645] CHIP:DMG: 0x0 = 100, + [1651223672.826661][5645:5645] CHIP:DMG: 0x1 = 100, + [1651223672.826703][5645:5645] CHIP:DMG: 0x2 = 200, + [1651223672.826741][5645:5645] CHIP:DMG: 0x3 = 0, + [1651223672.826780][5645:5645] CHIP:DMG: 0x4 = 0, + [1651223672.826817][5645:5645] CHIP:DMG: }, + [1651223672.826852][5645:5645] CHIP:DMG: }, + [1651223672.826890][5645:5645] CHIP:DMG: + [1651223672.827012][5645:5645] CHIP:DMG: ], + [1651223672.827052][5645:5645] CHIP:DMG: + [1651223672.827079][5645:5645] CHIP:DMG: InteractionModelRevision = 1 + [1651223672.827106][5645:5645] CHIP:DMG: }, + [1651223672.827182][5645:5645] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0300 e=1 p=o + [1651223672.827222][5645:5645] CHIP:DMG: AccessControl: allowed + [1651223672.827252][5645:5645] CHIP:DMG: Received command for Endpoint=1 Cluster=0x0000_0300 Command=0x0000_0009 + [1651223672.827319][5645:5645] CHIP:DMG: ICR moving to [ Preparing] + [1651223672.827356][5645:5645] CHIP:DMG: ICR moving to [AddingComm] + [1651223672.827388][5645:5645] CHIP:DMG: ICR moving to [AddedComma] + [1651223672.827434][5645:5645] CHIP:DMG: Decreasing reference count for CommandHandler, remaining 0 + [1651223672.827468][5645:5645] CHIP:EM: Piggybacking Ack for MessageCounter:11349030 on exchange: 39007r disabled: true - label: "Over TransitionTime, DUT reads CurrentX attribute from TH." + PICS: CC.C.A0003 verification: | ./chip-tool colorcontrol read current-x 1 1 + + [1651223677.913917][5645:5645] CHIP:IM: Received Read request + [1651223677.914033][5645:5645] CHIP:DMG: ReadRequestMessage = + [1651223677.914096][5645:5645] CHIP:DMG: { + [1651223677.914150][5645:5645] CHIP:DMG: AttributePathIBs = + [1651223677.914214][5645:5645] CHIP:DMG: [ + [1651223677.914274][5645:5645] CHIP:DMG: AttributePathIB = + [1651223677.914349][5645:5645] CHIP:DMG: { + [1651223677.914424][5645:5645] CHIP:DMG: Endpoint = 0x1, + [1651223677.914506][5645:5645] CHIP:DMG: Cluster = 0x300, + [1651223677.914593][5645:5645] CHIP:DMG: Attribute = 0x0000_0003, + [1651223677.914667][5645:5645] CHIP:DMG: } + [1651223677.914743][5645:5645] CHIP:DMG: + [1651223677.914812][5645:5645] CHIP:DMG: ], + [1651223677.914882][5645:5645] CHIP:DMG: + [1651223677.914946][5645:5645] CHIP:DMG: isFabricFiltered = true, + [1651223677.914978][5645:5645] CHIP:DMG: InteractionModelRevision = 1 + [1651223677.915002][5645:5645] CHIP:DMG: }, + [1651223677.915071][5645:5645] CHIP:DMG: IM RH moving to [GeneratingReports] + [1651223677.915221][5645:5645] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 + [1651223677.915249][5645:5645] CHIP:DMG: Cluster 300, Attribute 3 is dirty + [1651223677.915271][5645:5645] CHIP:DMG: Reading attribute: Cluster=0x0000_0300 Endpoint=1 AttributeId=0x0000_0003 (expanded=0) + [1651223677.915300][5645:5645] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0300 e=1 p=v + [1651223677.915333][5645:5645] CHIP:DMG: AccessControl: allowed + [1651223677.915388][5645:5645] CHIP:DMG: Sending report (payload has 38 bytes)... + [1651223677.915420][5645:5645] CHIP:EM: Piggybacking Ack for MessageCounter:3585622 on exchange: 57463r disabled: true - label: "Over TransitionTime, DUT reads CurrentY attribute from TH." + PICS: CC.C.A0004 verification: | ./chip-tool colorcontrol read current-y 1 1 + + [1651223681.726017][5645:5645] CHIP:IM: Received Read request + [1651223681.726078][5645:5645] CHIP:DMG: ReadRequestMessage = + [1651223681.726108][5645:5645] CHIP:DMG: { + [1651223681.726133][5645:5645] CHIP:DMG: AttributePathIBs = + [1651223681.726173][5645:5645] CHIP:DMG: [ + [1651223681.726206][5645:5645] CHIP:DMG: AttributePathIB = + [1651223681.726348][5645:5645] CHIP:DMG: { + [1651223681.726382][5645:5645] CHIP:DMG: Endpoint = 0x1, + [1651223681.726412][5645:5645] CHIP:DMG: Cluster = 0x300, + [1651223681.726455][5645:5645] CHIP:DMG: Attribute = 0x0000_0004, + [1651223681.726487][5645:5645] CHIP:DMG: } + [1651223681.726525][5645:5645] CHIP:DMG: + [1651223681.726559][5645:5645] CHIP:DMG: ], + [1651223681.726592][5645:5645] CHIP:DMG: + [1651223681.726626][5645:5645] CHIP:DMG: isFabricFiltered = true, + [1651223681.726659][5645:5645] CHIP:DMG: InteractionModelRevision = 1 + [1651223681.726690][5645:5645] CHIP:DMG: }, + [1651223681.726769][5645:5645] CHIP:DMG: IM RH moving to [GeneratingReports] + [1651223681.726880][5645:5645] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 + [1651223681.726914][5645:5645] CHIP:DMG: Cluster 300, Attribute 4 is dirty + [1651223681.726938][5645:5645] CHIP:DMG: Reading attribute: Cluster=0x0000_0300 Endpoint=1 AttributeId=0x0000_0004 (expanded=0) + [1651223681.726972][5645:5645] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0300 e=1 p=v + [1651223681.727009][5645:5645] CHIP:DMG: AccessControl: allowed + [1651223681.727071][5645:5645] CHIP:DMG: Sending report (payload has 38 bytes)... + [1651223681.727110][5645:5645] CHIP:EM: Piggybacking Ack for MessageCounter:10790339 on exchange: 611r disabled: true - label: "DUT sends StopMoveStep command to TH." + PICS: CC.C.C47.Rsp verification: | ./chip-tool colorcontrol stop-move-step 0 0 1 1 + + [1651223686.025308][5645:5645] CHIP:EM: Handling via exchange: 55816r, Delegate: 0xaaaab48970a0 + [1651223686.025670][5645:5645] CHIP:DMG: InvokeRequestMessage = + [1651223686.025744][5645:5645] CHIP:DMG: { + [1651223686.025801][5645:5645] CHIP:DMG: suppressResponse = false, + [1651223686.025874][5645:5645] CHIP:DMG: timedRequest = false, + [1651223686.025937][5645:5645] CHIP:DMG: InvokeRequests = + [1651223686.026018][5645:5645] CHIP:DMG: [ + [1651223686.026079][5645:5645] CHIP:DMG: CommandDataIB = + [1651223686.026156][5645:5645] CHIP:DMG: { + [1651223686.026229][5645:5645] CHIP:DMG: CommandPathIB = + [1651223686.026311][5645:5645] CHIP:DMG: { + [1651223686.026394][5645:5645] CHIP:DMG: EndpointId = 0x1, + [1651223686.026480][5645:5645] CHIP:DMG: ClusterId = 0x300, + [1651223686.026564][5645:5645] CHIP:DMG: CommandId = 0x47, + [1651223686.026643][5645:5645] CHIP:DMG: }, + [1651223686.026727][5645:5645] CHIP:DMG: + [1651223686.026801][5645:5645] CHIP:DMG: CommandData = + [1651223686.026881][5645:5645] CHIP:DMG: { + [1651223686.026964][5645:5645] CHIP:DMG: 0x0 = 0, + [1651223686.027051][5645:5645] CHIP:DMG: 0x1 = 0, + [1651223686.027134][5645:5645] CHIP:DMG: }, + [1651223686.027210][5645:5645] CHIP:DMG: }, + [1651223686.027296][5645:5645] CHIP:DMG: + [1651223686.027358][5645:5645] CHIP:DMG: ], + [1651223686.027434][5645:5645] CHIP:DMG: + [1651223686.027496][5645:5645] CHIP:DMG: InteractionModelRevision = 1 + [1651223686.027556][5645:5645] CHIP:DMG: }, + [1651223686.027702][5645:5645] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0300 e=1 p=o + [1651223686.027784][5645:5645] CHIP:DMG: AccessControl: allowed + [1651223686.027851][5645:5645] CHIP:DMG: Received command for Endpoint=1 Cluster=0x0000_0300 Command=0x0000_0047 + [1651223686.027965][5645:5645] CHIP:DMG: ICR moving to [ Preparing] + [1651223686.028041][5645:5645] CHIP:DMG: ICR moving to [AddingComm] + [1651223686.028143][5645:5645] CHIP:DMG: ICR moving to [AddedComma] + [1651223686.028240][5645:5645] CHIP:DMG: Decreasing reference count for CommandHandler, remaining 0 + [1651223686.028313][5645:5645] CHIP:EM: Piggybacking Ack for MessageCounter:6811491 on exchange: 55816r disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_CC_6_4.yaml b/src/app/tests/suites/certification/Test_TC_CC_6_4.yaml index 2b142d1e3938cf..bc6ad3f222a352 100644 --- a/src/app/tests/suites/certification/Test_TC_CC_6_4.yaml +++ b/src/app/tests/suites/certification/Test_TC_CC_6_4.yaml @@ -23,43 +23,279 @@ config: tests: - label: "DUT sends MoveToColorTemperature command to TH an - ColorTemperatureMireds with _TransitionTime 300." + ColorTemperatureMireds with TransitionTime 300." + PICS: CC.C.C0A.Rsp verification: | ./chip-tool colorcontrol move-to-color-temperature 150 300 0 0 1 1 + + [1651223708.115763][5645:5645] CHIP:EM: Handling via exchange: 34599r, Delegate: 0xaaaab48970a0 + [1651223708.116129][5645:5645] CHIP:DMG: InvokeRequestMessage = + [1651223708.116205][5645:5645] CHIP:DMG: { + [1651223708.116262][5645:5645] CHIP:DMG: suppressResponse = false, + [1651223708.116328][5645:5645] CHIP:DMG: timedRequest = false, + [1651223708.116388][5645:5645] CHIP:DMG: InvokeRequests = + [1651223708.116467][5645:5645] CHIP:DMG: [ + [1651223708.116527][5645:5645] CHIP:DMG: CommandDataIB = + [1651223708.116600][5645:5645] CHIP:DMG: { + [1651223708.116670][5645:5645] CHIP:DMG: CommandPathIB = + [1651223708.116750][5645:5645] CHIP:DMG: { + [1651223708.116833][5645:5645] CHIP:DMG: EndpointId = 0x1, + [1651223708.116917][5645:5645] CHIP:DMG: ClusterId = 0x300, + [1651223708.116999][5645:5645] CHIP:DMG: CommandId = 0xa, + [1651223708.117082][5645:5645] CHIP:DMG: }, + [1651223708.117165][5645:5645] CHIP:DMG: + [1651223708.117235][5645:5645] CHIP:DMG: CommandData = + [1651223708.117312][5645:5645] CHIP:DMG: { + [1651223708.117400][5645:5645] CHIP:DMG: 0x0 = 150, + [1651223708.117485][5645:5645] CHIP:DMG: 0x1 = 300, + [1651223708.117568][5645:5645] CHIP:DMG: 0x2 = 0, + [1651223708.117650][5645:5645] CHIP:DMG: 0x3 = 0, + [1651223708.117731][5645:5645] CHIP:DMG: }, + [1651223708.117811][5645:5645] CHIP:DMG: }, + [1651223708.117893][5645:5645] CHIP:DMG: + [1651223708.117953][5645:5645] CHIP:DMG: ], + [1651223708.118029][5645:5645] CHIP:DMG: + [1651223708.118088][5645:5645] CHIP:DMG: InteractionModelRevision = 1 + [1651223708.118148][5645:5645] CHIP:DMG: }, + [1651223708.118295][5645:5645] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0300 e=1 p=o + [1651223708.118376][5645:5645] CHIP:DMG: AccessControl: allowed + [1651223708.118441][5645:5645] CHIP:DMG: Received command for Endpoint=1 Cluster=0x0000_0300 Command=0x0000_000A + [1651223708.118558][5645:5645] CHIP:DMG: ICR moving to [ Preparing] + [1651223708.118631][5645:5645] CHIP:DMG: ICR moving to [AddingComm] + [1651223708.118696][5645:5645] CHIP:DMG: ICR moving to [AddedComma] + [1651223708.118790][5645:5645] CHIP:DMG: Decreasing reference count for CommandHandler, remaining 0 + [1651223708.118859][5645:5645] CHIP:EM: Piggybacking Ack for MessageCounter:10436772 on exchange: 34599r disabled: true - label: "Over TransitionTime, DUT reads CurrentColorTemperatureMireds attribute from TH periodically." + PICS: CC.C.A0007 verification: | ./chip-tool colorcontrol read color-temperature 1 1 + + [1651223712.395754][5645:5645] CHIP:IM: Received Read request + [1651223712.395808][5645:5645] CHIP:DMG: ReadRequestMessage = + [1651223712.395834][5645:5645] CHIP:DMG: { + [1651223712.395856][5645:5645] CHIP:DMG: AttributePathIBs = + [1651223712.395882][5645:5645] CHIP:DMG: [ + [1651223712.395907][5645:5645] CHIP:DMG: AttributePathIB = + [1651223712.395944][5645:5645] CHIP:DMG: { + [1651223712.395976][5645:5645] CHIP:DMG: Endpoint = 0x1, + [1651223712.396014][5645:5645] CHIP:DMG: Cluster = 0x300, + [1651223712.396159][5645:5645] CHIP:DMG: Attribute = 0x0000_0007, + [1651223712.396185][5645:5645] CHIP:DMG: } + [1651223712.396220][5645:5645] CHIP:DMG: + [1651223712.396247][5645:5645] CHIP:DMG: ], + [1651223712.396276][5645:5645] CHIP:DMG: + [1651223712.396302][5645:5645] CHIP:DMG: isFabricFiltered = true, + [1651223712.396327][5645:5645] CHIP:DMG: InteractionModelRevision = 1 + [1651223712.396351][5645:5645] CHIP:DMG: }, + [1651223712.396424][5645:5645] CHIP:DMG: IM RH moving to [GeneratingReports] + [1651223712.396522][5645:5645] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 + [1651223712.396549][5645:5645] CHIP:DMG: Cluster 300, Attribute 7 is dirty + [1651223712.396571][5645:5645] CHIP:DMG: Reading attribute: Cluster=0x0000_0300 Endpoint=1 AttributeId=0x0000_0007 (expanded=0) + [1651223712.396601][5645:5645] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0300 e=1 p=v + [1651223712.396634][5645:5645] CHIP:DMG: AccessControl: allowed + [1651223712.396690][5645:5645] CHIP:DMG: Sending report (payload has 37 bytes)... + [1651223712.396724][5645:5645] CHIP:EM: Piggybacking Ack for MessageCounter:16572761 on exchange: 17104r disabled: true - label: "DUT sends MoveColorTemperatureMireds command to TH" + PICS: CC.C.C4B.Rsp verification: | ./chip-tool colorcontrol move-color-temperature 1 10 5 250 0 0 1 1 + + [1651223721.131160][5645:5645] CHIP:EM: Handling via exchange: 38648r, Delegate: 0xaaaab48970a0 + [1651223721.131232][5645:5645] CHIP:DMG: InvokeRequestMessage = + [1651223721.131258][5645:5645] CHIP:DMG: { + [1651223721.131281][5645:5645] CHIP:DMG: suppressResponse = false, + [1651223721.131316][5645:5645] CHIP:DMG: timedRequest = false, + [1651223721.131341][5645:5645] CHIP:DMG: InvokeRequests = + [1651223721.131375][5645:5645] CHIP:DMG: [ + [1651223721.131399][5645:5645] CHIP:DMG: CommandDataIB = + [1651223721.131429][5645:5645] CHIP:DMG: { + [1651223721.131459][5645:5645] CHIP:DMG: CommandPathIB = + [1651223721.131491][5645:5645] CHIP:DMG: { + [1651223721.131524][5645:5645] CHIP:DMG: EndpointId = 0x1, + [1651223721.131560][5645:5645] CHIP:DMG: ClusterId = 0x300, + [1651223721.131592][5645:5645] CHIP:DMG: CommandId = 0x4b, + [1651223721.131623][5645:5645] CHIP:DMG: }, + [1651223721.131659][5645:5645] CHIP:DMG: + [1651223721.131688][5645:5645] CHIP:DMG: CommandData = + [1651223721.131719][5645:5645] CHIP:DMG: { + [1651223721.131751][5645:5645] CHIP:DMG: 0x0 = 1, + [1651223721.131786][5645:5645] CHIP:DMG: 0x1 = 10, + [1651223721.131820][5645:5645] CHIP:DMG: 0x2 = 5, + [1651223721.131853][5645:5645] CHIP:DMG: 0x3 = 250, + [1651223721.131886][5645:5645] CHIP:DMG: 0x4 = 0, + [1651223721.131919][5645:5645] CHIP:DMG: 0x5 = 0, + [1651223721.131952][5645:5645] CHIP:DMG: }, + [1651223721.131981][5645:5645] CHIP:DMG: }, + [1651223721.132015][5645:5645] CHIP:DMG: + [1651223721.132042][5645:5645] CHIP:DMG: ], + [1651223721.132091][5645:5645] CHIP:DMG: + [1651223721.132116][5645:5645] CHIP:DMG: InteractionModelRevision = 1 + [1651223721.132140][5645:5645] CHIP:DMG: }, + [1651223721.132292][5645:5645] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0300 e=1 p=o + [1651223721.132331][5645:5645] CHIP:DMG: AccessControl: allowed + [1651223721.132360][5645:5645] CHIP:DMG: Received command for Endpoint=1 Cluster=0x0000_0300 Command=0x0000_004B disabled: true - label: "DUT reads CurrentColorTemperatureMireds attribute from TH several - times." + Times." + PICS: CC.C.A0007 verification: | ./chip-tool colorcontrol read color-temperature 1 1 + + [1651223726.096303][5645:5645] CHIP:EM: Handling via exchange: 48060r, Delegate: 0xaaaab48970a0 + [1651223726.096347][5645:5645] CHIP:IM: Received Read request + [1651223726.096401][5645:5645] CHIP:DMG: ReadRequestMessage = + [1651223726.096426][5645:5645] CHIP:DMG: { + [1651223726.096448][5645:5645] CHIP:DMG: AttributePathIBs = + [1651223726.096475][5645:5645] CHIP:DMG: [ + [1651223726.096499][5645:5645] CHIP:DMG: AttributePathIB = + [1651223726.096530][5645:5645] CHIP:DMG: { + [1651223726.096560][5645:5645] CHIP:DMG: Endpoint = 0x1, + [1651223726.096593][5645:5645] CHIP:DMG: Cluster = 0x300, + [1651223726.096624][5645:5645] CHIP:DMG: Attribute = 0x0000_0007, + [1651223726.096651][5645:5645] CHIP:DMG: } + [1651223726.096682][5645:5645] CHIP:DMG: + [1651223726.096709][5645:5645] CHIP:DMG: ], + [1651223726.096738][5645:5645] CHIP:DMG: + [1651223726.096767][5645:5645] CHIP:DMG: isFabricFiltered = true, + [1651223726.096792][5645:5645] CHIP:DMG: InteractionModelRevision = 1 + [1651223726.096816][5645:5645] CHIP:DMG: }, + [1651223726.096885][5645:5645] CHIP:DMG: IM RH moving to [GeneratingReports] + [1651223726.096998][5645:5645] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 + [1651223726.097027][5645:5645] CHIP:DMG: Cluster 300, Attribute 7 is dirty + [1651223726.097049][5645:5645] CHIP:DMG: Reading attribute: Cluster=0x0000_0300 Endpoint=1 AttributeId=0x0000_0007 (expanded=0) + [1651223726.097079][5645:5645] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0300 e=1 p=v + [1651223726.097112][5645:5645] CHIP:DMG: AccessControl: allowed + [1651223726.097167][5645:5645] CHIP:DMG: Sending report (payload has 37 bytes)... + [1651223726.097284][5645:5645] CHIP:EM: Piggybacking Ack for MessageCounter:2650709 on exchange: 48060r disabled: true - label: "DUT sends StepColorTemperature command to TH" + PICS: CC.C.C4C.Rsp verification: | ./chip-tool colorcontrol step-color-temperature 1 10 200 5 250 0 0 1 1 + + [1651223730.196357][5645:5645] CHIP:EM: Handling via exchange: 24822r, Delegate: 0xaaaab48970a0 + [1651223730.196430][5645:5645] CHIP:DMG: InvokeRequestMessage = + [1651223730.196456][5645:5645] CHIP:DMG: { + [1651223730.196479][5645:5645] CHIP:DMG: suppressResponse = false, + [1651223730.196505][5645:5645] CHIP:DMG: timedRequest = false, + [1651223730.196530][5645:5645] CHIP:DMG: InvokeRequests = + [1651223730.196563][5645:5645] CHIP:DMG: [ + [1651223730.196588][5645:5645] CHIP:DMG: CommandDataIB = + [1651223730.196620][5645:5645] CHIP:DMG: { + [1651223730.196647][5645:5645] CHIP:DMG: CommandPathIB = + [1651223730.196680][5645:5645] CHIP:DMG: { + [1651223730.196707][5645:5645] CHIP:DMG: EndpointId = 0x1, + [1651223730.196741][5645:5645] CHIP:DMG: ClusterId = 0x300, + [1651223730.196776][5645:5645] CHIP:DMG: CommandId = 0x4c, + [1651223730.196808][5645:5645] CHIP:DMG: }, + [1651223730.196841][5645:5645] CHIP:DMG: + [1651223730.196870][5645:5645] CHIP:DMG: CommandData = + [1651223730.196901][5645:5645] CHIP:DMG: { + [1651223730.196934][5645:5645] CHIP:DMG: 0x0 = 1, + [1651223730.196968][5645:5645] CHIP:DMG: 0x1 = 10, + [1651223730.197001][5645:5645] CHIP:DMG: 0x2 = 200, + [1651223730.197034][5645:5645] CHIP:DMG: 0x3 = 5, + [1651223730.197067][5645:5645] CHIP:DMG: 0x4 = 250, + [1651223730.197100][5645:5645] CHIP:DMG: 0x5 = 0, + [1651223730.197133][5645:5645] CHIP:DMG: 0x6 = 0, + [1651223730.197166][5645:5645] CHIP:DMG: }, + [1651223730.197195][5645:5645] CHIP:DMG: }, + [1651223730.197229][5645:5645] CHIP:DMG: + [1651223730.197255][5645:5645] CHIP:DMG: ], + [1651223730.197287][5645:5645] CHIP:DMG: + [1651223730.197310][5645:5645] CHIP:DMG: InteractionModelRevision = 1 + [1651223730.197433][5645:5645] CHIP:DMG: }, + [1651223730.197502][5645:5645] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0300 e=1 p=o + [1651223730.197539][5645:5645] CHIP:DMG: AccessControl: allowed + [1651223730.197567][5645:5645] CHIP:DMG: Received command for Endpoint=1 Cluster=0x0000_0300 Command=0x0000_004C + [1651223730.197628][5645:5645] CHIP:DMG: ICR moving to [ Preparing] + [1651223730.197661][5645:5645] CHIP:DMG: ICR moving to [AddingComm] + [1651223730.197689][5645:5645] CHIP:DMG: ICR moving to [AddedComma] + [1651223730.197730][5645:5645] CHIP:DMG: Decreasing reference count for CommandHandler, remaining 0 + [1651223730.197760][5645:5645] CHIP:EM: Piggybacking Ack for MessageCounter:3859250 on exchange: 24822r disabled: true - label: "Over TransitionTime, DUT reads ColorTemperatureMireds attribute from TH." + PICS: CC.C.A0007 verification: | ./chip-tool colorcontrol read color-temperature 1 1 + + [1651223734.092208][5645:5645] CHIP:IM: Received Read request + [1651223734.092263][5645:5645] CHIP:DMG: ReadRequestMessage = + [1651223734.092291][5645:5645] CHIP:DMG: { + [1651223734.092314][5645:5645] CHIP:DMG: AttributePathIBs = + [1651223734.092342][5645:5645] CHIP:DMG: [ + [1651223734.092368][5645:5645] CHIP:DMG: AttributePathIB = + [1651223734.092403][5645:5645] CHIP:DMG: { + [1651223734.092521][5645:5645] CHIP:DMG: Endpoint = 0x1, + [1651223734.092567][5645:5645] CHIP:DMG: Cluster = 0x300, + [1651223734.092606][5645:5645] CHIP:DMG: Attribute = 0x0000_0007, + [1651223734.092637][5645:5645] CHIP:DMG: } + [1651223734.092668][5645:5645] CHIP:DMG: + [1651223734.092698][5645:5645] CHIP:DMG: ], + [1651223734.092782][5645:5645] CHIP:DMG: + [1651223734.092813][5645:5645] CHIP:DMG: isFabricFiltered = true, + [1651223734.092839][5645:5645] CHIP:DMG: InteractionModelRevision = 1 + [1651223734.092863][5645:5645] CHIP:DMG: }, + [1651223734.092934][5645:5645] CHIP:DMG: IM RH moving to [GeneratingReports] + [1651223734.093024][5645:5645] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 + [1651223734.093052][5645:5645] CHIP:DMG: Cluster 300, Attribute 7 is dirty + [1651223734.093073][5645:5645] CHIP:DMG: Reading attribute: Cluster=0x0000_0300 Endpoint=1 AttributeId=0x0000_0007 (expanded=0) + [1651223734.093103][5645:5645] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0300 e=1 p=v + [1651223734.093135][5645:5645] CHIP:DMG: AccessControl: allowed + [1651223734.093190][5645:5645] CHIP:DMG: Sending report (payload has 37 bytes)... + [1651223734.093222][5645:5645] CHIP:EM: Piggybacking Ack for MessageCounter:6542538 on exchange: 36620r disabled: true - label: "DUT sends StopMoveStep command to TH." + PICS: CC.C.C47.Rsp verification: | ./chip-tool colorcontrol stop-move-step 0 0 1 1 + + [1651223738.873716][5645:5645] CHIP:EM: Handling via exchange: 39490r, Delegate: 0xaaaab48970a0 + [1651223738.873798][5645:5645] CHIP:DMG: InvokeRequestMessage = + [1651223738.873827][5645:5645] CHIP:DMG: { + [1651223738.873850][5645:5645] CHIP:DMG: suppressResponse = false, + [1651223738.873876][5645:5645] CHIP:DMG: timedRequest = false, + [1651223738.873901][5645:5645] CHIP:DMG: InvokeRequests = + [1651223738.873932][5645:5645] CHIP:DMG: [ + [1651223738.873956][5645:5645] CHIP:DMG: CommandDataIB = + [1651223738.873984][5645:5645] CHIP:DMG: { + [1651223738.874013][5645:5645] CHIP:DMG: CommandPathIB = + [1651223738.874055][5645:5645] CHIP:DMG: { + [1651223738.874091][5645:5645] CHIP:DMG: EndpointId = 0x1, + [1651223738.874130][5645:5645] CHIP:DMG: ClusterId = 0x300, + [1651223738.874167][5645:5645] CHIP:DMG: CommandId = 0x47, + [1651223738.874202][5645:5645] CHIP:DMG: }, + [1651223738.874240][5645:5645] CHIP:DMG: + [1651223738.874270][5645:5645] CHIP:DMG: CommandData = + [1651223738.874307][5645:5645] CHIP:DMG: { + [1651223738.874340][5645:5645] CHIP:DMG: 0x0 = 0, + [1651223738.874374][5645:5645] CHIP:DMG: 0x1 = 0, + [1651223738.874408][5645:5645] CHIP:DMG: }, + [1651223738.874437][5645:5645] CHIP:DMG: }, + [1651223738.874474][5645:5645] CHIP:DMG: + [1651223738.874500][5645:5645] CHIP:DMG: ], + [1651223738.874530][5645:5645] CHIP:DMG: + [1651223738.874554][5645:5645] CHIP:DMG: InteractionModelRevision = 1 + [1651223738.874578][5645:5645] CHIP:DMG: }, + [1651223738.874644][5645:5645] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0300 e=1 p=o + [1651223738.874682][5645:5645] CHIP:DMG: AccessControl: allowed + [1651223738.874814][5645:5645] CHIP:DMG: Received command for Endpoint=1 Cluster=0x0000_0300 Command=0x0000_0047 + [1651223738.874871][5645:5645] CHIP:DMG: ICR moving to [ Preparing] + [1651223738.874905][5645:5645] CHIP:DMG: ICR moving to [AddingComm] + [1651223738.874933][5645:5645] CHIP:DMG: ICR moving to [AddedComma] + [1651223738.874972][5645:5645] CHIP:DMG: Decreasing reference count for CommandHandler, remaining 0 + [1651223738.875004][5645:5645] CHIP:EM: Piggybacking Ack for MessageCounter:5275700 on exchange: 39490r disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_CC_7_5.yaml b/src/app/tests/suites/certification/Test_TC_CC_7_5.yaml index b1dd2715f20bbb..3324b3250236fa 100644 --- a/src/app/tests/suites/certification/Test_TC_CC_7_5.yaml +++ b/src/app/tests/suites/certification/Test_TC_CC_7_5.yaml @@ -23,40 +23,321 @@ config: tests: - label: "DUT sends MoveToEnhancedHue command to TH an EnhancedHue with - _TransitionTime 300." + TransitionTime 300." + PICS: CC.C.C40.Rsp verification: | ./chip-tool colorcontrol enhanced-move-to-hue 1000 3 200 0 0 1 1 + + [1651223769.315486][5645:5645] CHIP:EM: Handling via exchange: 24902r, Delegate: 0xaaaab48970a0 + [1651223769.315558][5645:5645] CHIP:DMG: InvokeRequestMessage = + [1651223769.315586][5645:5645] CHIP:DMG: { + [1651223769.315609][5645:5645] CHIP:DMG: suppressResponse = false, + [1651223769.315640][5645:5645] CHIP:DMG: timedRequest = false, + [1651223769.315665][5645:5645] CHIP:DMG: InvokeRequests = + [1651223769.315698][5645:5645] CHIP:DMG: [ + [1651223769.315722][5645:5645] CHIP:DMG: CommandDataIB = + [1651223769.315752][5645:5645] CHIP:DMG: { + [1651223769.315782][5645:5645] CHIP:DMG: CommandPathIB = + [1651223769.315817][5645:5645] CHIP:DMG: { + [1651223769.315852][5645:5645] CHIP:DMG: EndpointId = 0x1, + [1651223769.315885][5645:5645] CHIP:DMG: ClusterId = 0x300, + [1651223769.316008][5645:5645] CHIP:DMG: CommandId = 0x40, + [1651223769.316047][5645:5645] CHIP:DMG: }, + [1651223769.316098][5645:5645] CHIP:DMG: + [1651223769.316131][5645:5645] CHIP:DMG: CommandData = + [1651223769.316165][5645:5645] CHIP:DMG: { + [1651223769.316198][5645:5645] CHIP:DMG: 0x0 = 1000, + [1651223769.316233][5645:5645] CHIP:DMG: 0x1 = 3, + [1651223769.316266][5645:5645] CHIP:DMG: 0x2 = 200, + [1651223769.316299][5645:5645] CHIP:DMG: 0x3 = 0, + [1651223769.316332][5645:5645] CHIP:DMG: 0x4 = 0, + [1651223769.316364][5645:5645] CHIP:DMG: }, + [1651223769.316396][5645:5645] CHIP:DMG: }, + [1651223769.316430][5645:5645] CHIP:DMG: + [1651223769.316456][5645:5645] CHIP:DMG: ], + [1651223769.316488][5645:5645] CHIP:DMG: + [1651223769.316512][5645:5645] CHIP:DMG: InteractionModelRevision = 1 + [1651223769.316535][5645:5645] CHIP:DMG: }, + [1651223769.316604][5645:5645] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0300 e=1 p=o + [1651223769.316639][5645:5645] CHIP:DMG: AccessControl: allowed + [1651223769.316667][5645:5645] CHIP:DMG: Received command for Endpoint=1 Cluster=0x0000_0300 Command=0x0000_0040 + [1651223769.316728][5645:5645] CHIP:DMG: ICR moving to [ Preparing] + [1651223769.316761][5645:5645] CHIP:DMG: ICR moving to [AddingComm] + [1651223769.316789][5645:5645] CHIP:DMG: ICR moving to [AddedComma] + [1651223769.316829][5645:5645] CHIP:DMG: Decreasing reference count for CommandHandler, remaining 0 + [1651223769.316859][5645:5645] CHIP:EM: Piggybacking Ack for MessageCounter:1294683 on exchange: 24902r disabled: true - label: "Over TransitionTime, DUT reads CurrentEnhanced Hue attribute from TH periodically." + PICS: CC.C.A4000 verification: | ./chip-tool colorcontrol read enhanced-current-hue 1 1 + + [1651223774.513164][5645:5645] CHIP:IM: Received Read request + [1651223774.513217][5645:5645] CHIP:DMG: ReadRequestMessage = + [1651223774.513244][5645:5645] CHIP:DMG: { + [1651223774.513266][5645:5645] CHIP:DMG: AttributePathIBs = + [1651223774.513292][5645:5645] CHIP:DMG: [ + [1651223774.513317][5645:5645] CHIP:DMG: AttributePathIB = + [1651223774.513353][5645:5645] CHIP:DMG: { + [1651223774.513383][5645:5645] CHIP:DMG: Endpoint = 0x1, + [1651223774.513419][5645:5645] CHIP:DMG: Cluster = 0x300, + [1651223774.513451][5645:5645] CHIP:DMG: Attribute = 0x0000_4000, + [1651223774.513482][5645:5645] CHIP:DMG: } + [1651223774.513513][5645:5645] CHIP:DMG: + [1651223774.513542][5645:5645] CHIP:DMG: ], + [1651223774.513572][5645:5645] CHIP:DMG: + [1651223774.513598][5645:5645] CHIP:DMG: isFabricFiltered = true, + [1651223774.513624][5645:5645] CHIP:DMG: InteractionModelRevision = 1 + [1651223774.513647][5645:5645] CHIP:DMG: }, + [1651223774.513718][5645:5645] CHIP:DMG: IM RH moving to [GeneratingReports] + [1651223774.513800][5645:5645] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 + [1651223774.513828][5645:5645] CHIP:DMG: Cluster 300, Attribute 4000 is dirty + [1651223774.513849][5645:5645] CHIP:DMG: Reading attribute: Cluster=0x0000_0300 Endpoint=1 AttributeId=0x0000_4000 (expanded=0) + [1651223774.513881][5645:5645] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0300 e=1 p=v + [1651223774.513914][5645:5645] CHIP:DMG: AccessControl: allowed + [1651223774.513970][5645:5645] CHIP:DMG: Sending report (payload has 38 bytes)... + [1651223774.514000][5645:5645] CHIP:EM: Piggybacking Ack for MessageCounter:1033093 on exchange: 18357r disabled: true - label: "DUT sends MoveEnhanced Hue command to TH" + PICS: CC.C.C41.Rsp verification: | ./chip-tool colorcontrol enhanced-move-hue 0 100 0 0 1 1 + + [1651223780.653772][5645:5645] CHIP:EM: Handling via exchange: 65305r, Delegate: 0xaaaab48970a0 + [1651223780.653922][5645:5645] CHIP:DMG: InvokeRequestMessage = + [1651223780.653988][5645:5645] CHIP:DMG: { + [1651223780.654044][5645:5645] CHIP:DMG: suppressResponse = false, + [1651223780.654109][5645:5645] CHIP:DMG: timedRequest = false, + [1651223780.654195][5645:5645] CHIP:DMG: InvokeRequests = + [1651223780.654275][5645:5645] CHIP:DMG: [ + [1651223780.654357][5645:5645] CHIP:DMG: CommandDataIB = + [1651223780.654433][5645:5645] CHIP:DMG: { + [1651223780.654522][5645:5645] CHIP:DMG: CommandPathIB = + [1651223780.654604][5645:5645] CHIP:DMG: { + [1651223780.654708][5645:5645] CHIP:DMG: EndpointId = 0x1, + [1651223780.654815][5645:5645] CHIP:DMG: ClusterId = 0x300, + [1651223780.654897][5645:5645] CHIP:DMG: CommandId = 0x41, + [1651223780.654996][5645:5645] CHIP:DMG: }, + [1651223780.655081][5645:5645] CHIP:DMG: + [1651223780.655151][5645:5645] CHIP:DMG: CommandData = + [1651223780.655227][5645:5645] CHIP:DMG: { + [1651223780.655315][5645:5645] CHIP:DMG: 0x0 = 0, + [1651223780.655399][5645:5645] CHIP:DMG: 0x1 = 100, + [1651223780.655482][5645:5645] CHIP:DMG: 0x2 = 0, + [1651223780.655564][5645:5645] CHIP:DMG: 0x3 = 0, + [1651223780.655644][5645:5645] CHIP:DMG: }, + [1651223780.655724][5645:5645] CHIP:DMG: }, + [1651223780.655806][5645:5645] CHIP:DMG: + [1651223780.655866][5645:5645] CHIP:DMG: ], + [1651223780.655942][5645:5645] CHIP:DMG: + [1651223780.656000][5645:5645] CHIP:DMG: InteractionModelRevision = 1 + [1651223780.656059][5645:5645] CHIP:DMG: }, + [1651223780.656250][5645:5645] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0300 e=1 p=o + [1651223780.656331][5645:5645] CHIP:DMG: AccessControl: allowed + [1651223780.656399][5645:5645] CHIP:DMG: Received command for Endpoint=1 Cluster=0x0000_0300 Command=0x0000_0041 + [1651223780.656524][5645:5645] CHIP:DMG: ICR moving to [ Preparing] + [1651223780.656598][5645:5645] CHIP:DMG: ICR moving to [AddingComm] + [1651223780.656663][5645:5645] CHIP:DMG: ICR moving to [AddedComma] + [1651223780.656760][5645:5645] CHIP:DMG: Decreasing reference count for CommandHandler, remaining 0 + [1651223780.656829][5645:5645] CHIP:EM: Piggybacking Ack for MessageCounter:8816212 on exchange: 65305r disabled: true - - label: "DUT reads CurrentEnhanced Hue attribute from TH several times." + - label: "DUT reads CurrentEnhanced Hue attribute from TH several Times." + PICS: CC.C.A4000 verification: | ./chip-tool colorcontrol read enhanced-current-hue 1 1 + + [1651223787.303881][5645:5645] CHIP:EM: Handling via exchange: 20930r, Delegate: 0xaaaab48970a0 + [1651223787.303928][5645:5645] CHIP:IM: Received Read request + [1651223787.303995][5645:5645] CHIP:DMG: ReadRequestMessage = + [1651223787.304023][5645:5645] CHIP:DMG: { + [1651223787.304046][5645:5645] CHIP:DMG: AttributePathIBs = + [1651223787.304139][5645:5645] CHIP:DMG: [ + [1651223787.304169][5645:5645] CHIP:DMG: AttributePathIB = + [1651223787.304202][5645:5645] CHIP:DMG: { + [1651223787.304246][5645:5645] CHIP:DMG: Endpoint = 0x1, + [1651223787.304293][5645:5645] CHIP:DMG: Cluster = 0x300, + [1651223787.304329][5645:5645] CHIP:DMG: Attribute = 0x0000_4000, + [1651223787.304367][5645:5645] CHIP:DMG: } + [1651223787.304395][5645:5645] CHIP:DMG: + [1651223787.304418][5645:5645] CHIP:DMG: ], + [1651223787.304449][5645:5645] CHIP:DMG: + [1651223787.304477][5645:5645] CHIP:DMG: isFabricFiltered = true, + [1651223787.304504][5645:5645] CHIP:DMG: InteractionModelRevision = 1 + [1651223787.304529][5645:5645] CHIP:DMG: }, + [1651223787.304604][5645:5645] CHIP:DMG: IM RH moving to [GeneratingReports] + [1651223787.304700][5645:5645] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 + [1651223787.304729][5645:5645] CHIP:DMG: Cluster 300, Attribute 4000 is dirty + [1651223787.304752][5645:5645] CHIP:DMG: Reading attribute: Cluster=0x0000_0300 Endpoint=1 AttributeId=0x0000_4000 (expanded=0) + [1651223787.304785][5645:5645] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0300 e=1 p=v + [1651223787.304820][5645:5645] CHIP:DMG: AccessControl: allowed + [1651223787.304879][5645:5645] CHIP:DMG: Sending report (payload has 38 bytes)... + [1651223787.304913][5645:5645] CHIP:EM: Piggybacking Ack for MessageCounter:341891 on exchange: 20930r disabled: true - label: "DUT sends StepEnhanced Hue command to TH" + PICS: CC.C.C42.Rsp verification: | ./chip-tool colorcontrol enhanced-step-hue 1 1000 200 0 0 1 1 + + [1651223792.487135][5645:5645] CHIP:EM: Handling via exchange: 2959r, Delegate: 0xaaaab48970a0 + [1651223792.487207][5645:5645] CHIP:DMG: InvokeRequestMessage = + [1651223792.487244][5645:5645] CHIP:DMG: { + [1651223792.487268][5645:5645] CHIP:DMG: suppressResponse = false, + [1651223792.487295][5645:5645] CHIP:DMG: timedRequest = false, + [1651223792.487319][5645:5645] CHIP:DMG: InvokeRequests = + [1651223792.487360][5645:5645] CHIP:DMG: [ + [1651223792.487386][5645:5645] CHIP:DMG: CommandDataIB = + [1651223792.487425][5645:5645] CHIP:DMG: { + [1651223792.487453][5645:5645] CHIP:DMG: CommandPathIB = + [1651223792.487494][5645:5645] CHIP:DMG: { + [1651223792.487527][5645:5645] CHIP:DMG: EndpointId = 0x1, + [1651223792.487570][5645:5645] CHIP:DMG: ClusterId = 0x300, + [1651223792.487613][5645:5645] CHIP:DMG: CommandId = 0x42, + [1651223792.487645][5645:5645] CHIP:DMG: }, + [1651223792.487688][5645:5645] CHIP:DMG: + [1651223792.487726][5645:5645] CHIP:DMG: CommandData = + [1651223792.487758][5645:5645] CHIP:DMG: { + [1651223792.487799][5645:5645] CHIP:DMG: 0x0 = 1, + [1651223792.487833][5645:5645] CHIP:DMG: 0x1 = 1000, + [1651223792.487866][5645:5645] CHIP:DMG: 0x2 = 200, + [1651223792.487899][5645:5645] CHIP:DMG: 0x3 = 0, + [1651223792.487932][5645:5645] CHIP:DMG: 0x4 = 0, + [1651223792.487965][5645:5645] CHIP:DMG: }, + [1651223792.487994][5645:5645] CHIP:DMG: }, + [1651223792.488028][5645:5645] CHIP:DMG: + [1651223792.488054][5645:5645] CHIP:DMG: ], + [1651223792.488109][5645:5645] CHIP:DMG: + [1651223792.488138][5645:5645] CHIP:DMG: InteractionModelRevision = 1 + [1651223792.488162][5645:5645] CHIP:DMG: }, + [1651223792.488231][5645:5645] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0300 e=1 p=o + [1651223792.488269][5645:5645] CHIP:DMG: AccessControl: allowed + [1651223792.488296][5645:5645] CHIP:DMG: Received command for Endpoint=1 Cluster=0x0000_0300 Command=0x0000_0042 + [1651223792.488359][5645:5645] CHIP:DMG: ICR moving to [ Preparing] + [1651223792.488391][5645:5645] CHIP:DMG: ICR moving to [AddingComm] + [1651223792.488419][5645:5645] CHIP:DMG: ICR moving to [AddedComma] + [1651223792.488459][5645:5645] CHIP:DMG: Decreasing reference count for CommandHandler, remaining 0 + [1651223792.488489][5645:5645] CHIP:EM: Piggybacking Ack for MessageCounter:11683915 on exchange: 2959r disabled: true - label: "Over TransitionTime, DUT reads CurrentEnhanced Hue attribute from TH." + PICS: CC.C.A4000 + verification: | + ./chip-tool colorcontrol read enhanced-current-hue 1 1 + + [1651223798.266720][5645:5645] CHIP:IM: Received Read request + [1651223798.266795][5645:5645] CHIP:DMG: ReadRequestMessage = + [1651223798.266828][5645:5645] CHIP:DMG: { + [1651223798.266855][5645:5645] CHIP:DMG: AttributePathIBs = + [1651223798.266886][5645:5645] CHIP:DMG: [ + [1651223798.266914][5645:5645] CHIP:DMG: AttributePathIB = + [1651223798.266944][5645:5645] CHIP:DMG: { + [1651223798.266984][5645:5645] CHIP:DMG: Endpoint = 0x1, + [1651223798.267022][5645:5645] CHIP:DMG: Cluster = 0x300, + [1651223798.267063][5645:5645] CHIP:DMG: Attribute = 0x0000_4000, + [1651223798.267111][5645:5645] CHIP:DMG: } + [1651223798.267150][5645:5645] CHIP:DMG: + [1651223798.267195][5645:5645] CHIP:DMG: ], + [1651223798.267232][5645:5645] CHIP:DMG: + [1651223798.267275][5645:5645] CHIP:DMG: isFabricFiltered = true, + [1651223798.267307][5645:5645] CHIP:DMG: InteractionModelRevision = 1 + [1651223798.267350][5645:5645] CHIP:DMG: }, + [1651223798.267446][5645:5645] CHIP:DMG: IM RH moving to [GeneratingReports] + [1651223798.267559][5645:5645] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 + [1651223798.267597][5645:5645] CHIP:DMG: Cluster 300, Attribute 4000 is dirty + [1651223798.267623][5645:5645] CHIP:DMG: Reading attribute: Cluster=0x0000_0300 Endpoint=1 AttributeId=0x0000_4000 (expanded=0) + [1651223798.267662][5645:5645] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0300 e=1 p=v + [1651223798.267701][5645:5645] CHIP:DMG: AccessControl: allowed + [1651223798.267766][5645:5645] CHIP:DMG: Sending report (payload has 38 bytes)... + [1651223798.267807][5645:5645] CHIP:EM: Piggybacking Ack for MessageCounter:989534 on exchange: 41605r + disabled: true + + - label: "DUT sends EnhancedMoveToHueAndSaturation command to TH." + PICS: CC.C.C43.Rsp + verification: | + ./chip-tool colorcontrol enhanced-move-to-hue-and-saturation 2500 100 200 0 0 1 1 + [1649667723.974929][9413:9418] CHIP:DMG: StatusIB = + [1649667723.974986][9413:9418] CHIP:DMG: { + [1649667723.975047][9413:9418] CHIP:DMG: status = 0x00 (SUCCESS), + [1649667723.975096][9413:9418] CHIP:DMG: }, + disabled: true + + - label: + "Over TransitionTime, DUT reads EnhancedCurrentHue attribute from TH." + PICS: CC.C.A4000 verification: | ./chip-tool colorcontrol read enhanced-current-hue 1 1 + + [1651223798.266720][5645:5645] CHIP:IM: Received Read request + [1651223798.266795][5645:5645] CHIP:DMG: ReadRequestMessage = + [1651223798.266828][5645:5645] CHIP:DMG: { + [1651223798.266855][5645:5645] CHIP:DMG: AttributePathIBs = + [1651223798.266886][5645:5645] CHIP:DMG: [ + [1651223798.266914][5645:5645] CHIP:DMG: AttributePathIB = + [1651223798.266944][5645:5645] CHIP:DMG: { + [1651223798.266984][5645:5645] CHIP:DMG: Endpoint = 0x1, + [1651223798.267022][5645:5645] CHIP:DMG: Cluster = 0x300, + [1651223798.267063][5645:5645] CHIP:DMG: Attribute = 0x0000_4000, + [1651223798.267111][5645:5645] CHIP:DMG: } + [1651223798.267150][5645:5645] CHIP:DMG: + [1651223798.267195][5645:5645] CHIP:DMG: ], + [1651223798.267232][5645:5645] CHIP:DMG: + [1651223798.267275][5645:5645] CHIP:DMG: isFabricFiltered = true, + [1651223798.267307][5645:5645] CHIP:DMG: InteractionModelRevision = 1 + [1651223798.267350][5645:5645] CHIP:DMG: }, + [1651223798.267446][5645:5645] CHIP:DMG: IM RH moving to [GeneratingReports] + [1651223798.267559][5645:5645] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 + [1651223798.267597][5645:5645] CHIP:DMG: Cluster 300, Attribute 4000 is dirty + [1651223798.267623][5645:5645] CHIP:DMG: Reading attribute: Cluster=0x0000_0300 Endpoint=1 AttributeId=0x0000_4000 (expanded=0) + [1651223798.267662][5645:5645] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0300 e=1 p=v + [1651223798.267701][5645:5645] CHIP:DMG: AccessControl: allowed + [1651223798.267766][5645:5645] CHIP:DMG: Sending report (payload has 38 bytes)... + [1651223798.267807][5645:5645] CHIP:EM: Piggybacking Ack for MessageCounter:989534 on exchange: 41605r disabled: true - label: "DUT sends StopMoveStep command to TH." + PICS: CC.C.C47.Rsp verification: | ./chip-tool colorcontrol stop-move-step 0 0 1 1 + + [1651223804.009356][5645:5645] CHIP:EM: Handling via exchange: 39287r, Delegate: 0xaaaab48970a0 + [1651223804.009436][5645:5645] CHIP:DMG: InvokeRequestMessage = + [1651223804.009475][5645:5645] CHIP:DMG: { + [1651223804.009555][5645:5645] CHIP:DMG: suppressResponse = false, + [1651223804.009594][5645:5645] CHIP:DMG: timedRequest = false, + [1651223804.009619][5645:5645] CHIP:DMG: InvokeRequests = + [1651223804.009651][5645:5645] CHIP:DMG: [ + [1651223804.009675][5645:5645] CHIP:DMG: CommandDataIB = + [1651223804.009716][5645:5645] CHIP:DMG: { + [1651223804.009742][5645:5645] CHIP:DMG: CommandPathIB = + [1651223804.009784][5645:5645] CHIP:DMG: { + [1651223804.009827][5645:5645] CHIP:DMG: EndpointId = 0x1, + [1651223804.009861][5645:5645] CHIP:DMG: ClusterId = 0x300, + [1651223804.009895][5645:5645] CHIP:DMG: CommandId = 0x47, + [1651223804.009929][5645:5645] CHIP:DMG: }, + [1651223804.009971][5645:5645] CHIP:DMG: + [1651223804.009999][5645:5645] CHIP:DMG: CommandData = + [1651223804.010041][5645:5645] CHIP:DMG: { + [1651223804.010075][5645:5645] CHIP:DMG: 0x0 = 0, + [1651223804.010112][5645:5645] CHIP:DMG: 0x1 = 0, + [1651223804.010145][5645:5645] CHIP:DMG: }, + [1651223804.010175][5645:5645] CHIP:DMG: }, + [1651223804.010208][5645:5645] CHIP:DMG: + [1651223804.010232][5645:5645] CHIP:DMG: ], + [1651223804.010263][5645:5645] CHIP:DMG: + [1651223804.010287][5645:5645] CHIP:DMG: InteractionModelRevision = 1 + [1651223804.010310][5645:5645] CHIP:DMG: }, + [1651223804.010376][5645:5645] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0300 e=1 p=o + [1651223804.010411][5645:5645] CHIP:DMG: AccessControl: allowed + [1651223804.010438][5645:5645] CHIP:DMG: Received command for Endpoint=1 Cluster=0x0000_0300 Command=0x0000_0047 + [1651223804.010490][5645:5645] CHIP:DMG: ICR moving to [ Preparing] + [1651223804.010523][5645:5645] CHIP:DMG: ICR moving to [AddingComm] + [1651223804.010551][5645:5645] CHIP:DMG: ICR moving to [AddedComma] + [1651223804.010588][5645:5645] CHIP:DMG: Decreasing reference count for CommandHandler, remaining 0 + [1651223804.010618][5645:5645] CHIP:EM: Piggybacking Ack for MessageCounter:6096593 on exchange: 39287r disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_CC_9_4.yaml b/src/app/tests/suites/certification/Test_TC_CC_9_4.yaml index 907f96815c0c95..1264fb77dbafbf 100644 --- a/src/app/tests/suites/certification/Test_TC_CC_9_4.yaml +++ b/src/app/tests/suites/certification/Test_TC_CC_9_4.yaml @@ -21,77 +21,554 @@ config: endpoint: 0 tests: + - label: "Set OnOff to On Pre-set EnhancedCurrentHue to 0x4000" + verification: | + ./chip-tool onoff on 1 1 + + [1651223828.339137][5645:5645] CHIP:DMG: InvokeRequestMessage = + [1651223828.339164][5645:5645] CHIP:DMG: { + [1651223828.339187][5645:5645] CHIP:DMG: suppressResponse = false, + [1651223828.339213][5645:5645] CHIP:DMG: timedRequest = false, + [1651223828.339248][5645:5645] CHIP:DMG: InvokeRequests = + [1651223828.339279][5645:5645] CHIP:DMG: [ + [1651223828.339312][5645:5645] CHIP:DMG: CommandDataIB = + [1651223828.339346][5645:5645] CHIP:DMG: { + [1651223828.339383][5645:5645] CHIP:DMG: CommandPathIB = + [1651223828.339421][5645:5645] CHIP:DMG: { + [1651223828.339447][5645:5645] CHIP:DMG: EndpointId = 0x1, + [1651223828.339474][5645:5645] CHIP:DMG: ClusterId = 0x6, + [1651223828.339510][5645:5645] CHIP:DMG: CommandId = 0x1, + [1651223828.339551][5645:5645] CHIP:DMG: }, + [1651223828.339590][5645:5645] CHIP:DMG: + [1651223828.339620][5645:5645] CHIP:DMG: CommandData = + [1651223828.339651][5645:5645] CHIP:DMG: { + [1651223828.339685][5645:5645] CHIP:DMG: }, + [1651223828.339714][5645:5645] CHIP:DMG: }, + [1651223828.339746][5645:5645] CHIP:DMG: + [1651223828.339772][5645:5645] CHIP:DMG: ], + [1651223828.339801][5645:5645] CHIP:DMG: + [1651223828.339825][5645:5645] CHIP:DMG: InteractionModelRevision = 1 + [1651223828.339848][5645:5645] CHIP:DMG: }, + [1651223828.339910][5645:5645] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0006 e=1 p=o + [1651223828.339945][5645:5645] CHIP:DMG: AccessControl: allowed + [1651223828.339973][5645:5645] CHIP:DMG: Received command for Endpoint=1 Cluster=0x0000_0006 Command=0x0000_0001 + + ./chip-tool colorcontrol enhanced-move-to-hue 16384 0 0 0 0 1 1 + + [1651223833.059196][5645:5645] CHIP:DMG: InvokeRequestMessage = + [1651223833.059262][5645:5645] CHIP:DMG: { + [1651223833.059319][5645:5645] CHIP:DMG: suppressResponse = false, + [1651223833.059389][5645:5645] CHIP:DMG: timedRequest = false, + [1651223833.059450][5645:5645] CHIP:DMG: InvokeRequests = + [1651223833.059532][5645:5645] CHIP:DMG: [ + [1651223833.059593][5645:5645] CHIP:DMG: CommandDataIB = + [1651223833.059665][5645:5645] CHIP:DMG: {` + [1651223833.059734][5645:5645] CHIP:DMG: CommandPathIB = + [1651223833.060034][5645:5645] CHIP:DMG: { + [1651223833.060256][5645:5645] CHIP:DMG: EndpointId = 0x1, + [1651223833.060381][5645:5645] CHIP:DMG: ClusterId = 0x300, + [1651223833.060470][5645:5645] CHIP:DMG: CommandId = 0x40, + [1651223833.060548][5645:5645] CHIP:DMG: }, + [1651223833.060633][5645:5645] CHIP:DMG: + [1651223833.060703][5645:5645] CHIP:DMG: CommandData = + [1651223833.060780][5645:5645] CHIP:DMG: { + [1651223833.060868][5645:5645] CHIP:DMG: 0x0 = 16384, + [1651223833.060951][5645:5645] CHIP:DMG: 0x1 = 0, + [1651223833.061040][5645:5645] CHIP:DMG: 0x2 = 0, + [1651223833.061123][5645:5645] CHIP:DMG: 0x3 = 0, + [1651223833.061213][5645:5645] CHIP:DMG: 0x4 = 0, + [1651223833.061301][5645:5645] CHIP:DMG: }, + [1651223833.061376][5645:5645] CHIP:DMG: }, + [1651223833.061458][5645:5645] CHIP:DMG: + [1651223833.061523][5645:5645] CHIP:DMG: ], + [1651223833.061600][5645:5645] CHIP:DMG: + [1651223833.061660][5645:5645] CHIP:DMG: InteractionModelRevision = 1 + [1651223833.061719][5645:5645] CHIP:DMG: }, + [1651223833.061869][5645:5645] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0300 e=1 p=o + [1651223833.061951][5645:5645] CHIP:DMG: AccessControl: allowed + [1651223833.062017][5645:5645] CHIP:DMG: Received command for Endpoint=1 Cluster=0x0000_0300 Command=0x0000_0040 + [1651223833.062153][5645:5645] CHIP:DMG: Endpoint 1, Cluster 0x0000_0300 update version to a8032319 + [1651223833.062244][5645:5645] CHIP:DMG: Endpoint 1, Cluster 0x0000_0300 update version to a803231a + [1651223833.062331][5645:5645] CHIP:DMG: Endpoint 1, Cluster 0x0000_0300 update version to a803231b + [1651223833.062423][5645:5645] CHIP:DMG: ICR moving to [ Preparing] + [1651223833.062496][5645:5645] CHIP:DMG: ICR moving to [AddingComm] + [1651223833.062561][5645:5645] CHIP:DMG: ICR moving to [AddedComma] + [1651223833.062659][5645:5645] CHIP:DMG: Decreasing reference count for CommandHandler, remaining 0 + [1651223833.062728][5645:5645] CHIP:EM: Piggybacking Ack for MessageCounter:8326165 on exchange: 44338r + disabled: true + - label: "DUT sends ColorLoopSet command to with UpdateFlag attribute to 0xF, - action attribute to 0x0, direction attribute to 0x0, time attribute to - 30, and startHue attribute to 0xA0 to TH." + action attribute to 0x0, Direction attribute to 0x0, Time attribute to + 30, and StartHue attribute to 0xA0 to TH." + PICS: CC.C.C44.Rsp verification: | ./chip-tool colorcontrol color-loop-set 15 0 0 30 160 0 0 1 1 + + [1651223840.701170][5645:5645] CHIP:DMG: InvokeRequestMessage = + [1651223840.701237][5645:5645] CHIP:DMG: { + [1651223840.701294][5645:5645] CHIP:DMG: suppressResponse = false, + [1651223840.701359][5645:5645] CHIP:DMG: timedRequest = false, + [1651223840.701420][5645:5645] CHIP:DMG: InvokeRequests = + [1651223840.701499][5645:5645] CHIP:DMG: [ + [1651223840.701561][5645:5645] CHIP:DMG: CommandDataIB = + [1651223840.701635][5645:5645] CHIP:DMG: { + [1651223840.701705][5645:5645] CHIP:DMG: CommandPathIB = + [1651223840.701791][5645:5645] CHIP:DMG: { + [1651223840.701873][5645:5645] CHIP:DMG: EndpointId = 0x1, + [1651223840.701956][5645:5645] CHIP:DMG: ClusterId = 0x300, + [1651223840.702039][5645:5645] CHIP:DMG: CommandId = 0x44, + [1651223840.702117][5645:5645] CHIP:DMG: }, + [1651223840.702206][5645:5645] CHIP:DMG: + [1651223840.702334][5645:5645] CHIP:DMG: CommandData = + [1651223840.702416][5645:5645] CHIP:DMG: { + [1651223840.702497][5645:5645] CHIP:DMG: 0x0 = 15, + [1651223840.702580][5645:5645] CHIP:DMG: 0x1 = 0, + [1651223840.702664][5645:5645] CHIP:DMG: 0x2 = 0, + [1651223840.702747][5645:5645] CHIP:DMG: 0x3 = 30, + [1651223840.702830][5645:5645] CHIP:DMG: 0x4 = 160, + [1651223840.702912][5645:5645] CHIP:DMG: 0x5 = 0, + [1651223840.703003][5645:5645] CHIP:DMG: 0x6 = 0, + [1651223840.703085][5645:5645] CHIP:DMG: }, + [1651223840.703159][5645:5645] CHIP:DMG: }, + [1651223840.703244][5645:5645] CHIP:DMG: + [1651223840.703310][5645:5645] CHIP:DMG: ], + [1651223840.703389][5645:5645] CHIP:DMG: + [1651223840.703449][5645:5645] CHIP:DMG: InteractionModelRevision = 1 + [1651223840.703508][5645:5645] CHIP:DMG: }, + [1651223840.703661][5645:5645] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0300 e=1 p=o + [1651223840.703741][5645:5645] CHIP:DMG: AccessControl: allowed + [1651223840.703806][5645:5645] CHIP:DMG: Received command for Endpoint=1 Cluster=0x0000_0300 Command=0x0000_0044 + [1651223840.703941][5645:5645] CHIP:DMG: Endpoint 1, Cluster 0x0000_0300 update version to a8032320 + [1651223840.704033][5645:5645] CHIP:DMG: Endpoint 1, Cluster 0x0000_0300 update version to a8032321 + [1651223840.704190][5645:5645] CHIP:DMG: Endpoint 1, Cluster 0x0000_0300 update version to a8032322 + [1651223840.704278][5645:5645] CHIP:DMG: ICR moving to [ Preparing] + [1651223840.704344][5645:5645] CHIP:DMG: ICR moving to [AddingComm] + [1651223840.704398][5645:5645] CHIP:DMG: ICR moving to [AddedComma] + [1651223840.704489][5645:5645] CHIP:DMG: Decreasing reference count for CommandHandler, remaining 0 + [1651223840.704559][5645:5645] CHIP:EM: Piggybacking Ack for MessageCounter:15661473 on exchange: 61106r disabled: true - label: "DUT read ColorLoopActive attribute from TH." + PICS: CC.C.A4002 verification: | ./chip-tool colorcontrol read color-loop-active 1 1 + + [1651223847.574287][5645:5645] CHIP:IM: Received Read request + [1651223847.574341][5645:5645] CHIP:DMG: ReadRequestMessage = + [1651223847.574369][5645:5645] CHIP:DMG: { + [1651223847.574392][5645:5645] CHIP:DMG: AttributePathIBs = + [1651223847.574429][5645:5645] CHIP:DMG: [ + [1651223847.574456][5645:5645] CHIP:DMG: AttributePathIB = + [1651223847.574488][5645:5645] CHIP:DMG: { + [1651223847.574523][5645:5645] CHIP:DMG: Endpoint = 0x1, + [1651223847.574557][5645:5645] CHIP:DMG: Cluster = 0x300, + [1651223847.574591][5645:5645] CHIP:DMG: Attribute = 0x0000_4002, + [1651223847.574624][5645:5645] CHIP:DMG: } + [1651223847.574656][5645:5645] CHIP:DMG: + [1651223847.574687][5645:5645] CHIP:DMG: ], + [1651223847.574717][5645:5645] CHIP:DMG: + [1651223847.574745][5645:5645] CHIP:DMG: isFabricFiltered = true, + [1651223847.574772][5645:5645] CHIP:DMG: InteractionModelRevision = 1 + [1651223847.574797][5645:5645] CHIP:DMG: }, + [1651223847.574963][5645:5645] CHIP:DMG: IM RH moving to [GeneratingReports] + [1651223847.575055][5645:5645] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 + [1651223847.575084][5645:5645] CHIP:DMG: Cluster 300, Attribute 4002 is dirty + [1651223847.575107][5645:5645] CHIP:DMG: Reading attribute: Cluster=0x0000_0300 Endpoint=1 AttributeId=0x0000_4002 (expanded=0) + [1651223847.575142][5645:5645] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0300 e=1 p=v + [1651223847.575176][5645:5645] CHIP:DMG: AccessControl: allowed + [1651223847.575235][5645:5645] CHIP:DMG: Sending report (payload has 38 bytes)... + [1651223847.575269][5645:5645] CHIP:EM: Piggybacking Ack for MessageCounter:10107691 on exchange: 58741r disabled: true - label: "DUT read ColorLoopDirection attribute from TH." + PICS: CC.C.A4003 verification: | ./chip-tool colorcontrol read color-loop-direction 1 1 + + [1651223853.180338][5645:5645] CHIP:EM: Handling via exchange: 42980r, Delegate: 0xaaaab48970a0 + [1651223853.180382][5645:5645] CHIP:IM: Received Read request + [1651223853.180435][5645:5645] CHIP:DMG: ReadRequestMessage = + [1651223853.180461][5645:5645] CHIP:DMG: { + [1651223853.180483][5645:5645] CHIP:DMG: AttributePathIBs = + [1651223853.180509][5645:5645] CHIP:DMG: [ + [1651223853.180534][5645:5645] CHIP:DMG: AttributePathIB = + [1651223853.180566][5645:5645] CHIP:DMG: { + [1651223853.180595][5645:5645] CHIP:DMG: Endpoint = 0x1, + [1651223853.180626][5645:5645] CHIP:DMG: Cluster = 0x300, + [1651223853.180658][5645:5645] CHIP:DMG: Attribute = 0x0000_4003, + [1651223853.180689][5645:5645] CHIP:DMG: } + [1651223853.180719][5645:5645] CHIP:DMG: + [1651223853.180747][5645:5645] CHIP:DMG: ], + [1651223853.180775][5645:5645] CHIP:DMG: + [1651223853.180802][5645:5645] CHIP:DMG: isFabricFiltered = true, + [1651223853.180827][5645:5645] CHIP:DMG: InteractionModelRevision = 1 + [1651223853.180850][5645:5645] CHIP:DMG: }, + [1651223853.180919][5645:5645] CHIP:DMG: IM RH moving to [GeneratingReports] + [1651223853.181000][5645:5645] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 + [1651223853.181027][5645:5645] CHIP:DMG: Cluster 300, Attribute 4003 is dirty + [1651223853.181048][5645:5645] CHIP:DMG: Reading attribute: Cluster=0x0000_0300 Endpoint=1 AttributeId=0x0000_4003 (expanded=0) + [1651223853.181081][5645:5645] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0300 e=1 p=v + [1651223853.181114][5645:5645] CHIP:DMG: AccessControl: allowed + [1651223853.181259][5645:5645] CHIP:DMG: Sending report (payload has 38 bytes)... + [1651223853.181295][5645:5645] CHIP:EM: Piggybacking Ack for MessageCounter:9756687 on exchange: 42980r disabled: true - label: "DUT read ColorLoopTime attribute from TH." + PICS: CC.C.A4004 verification: | ./chip-tool colorcontrol read color-loop-time 1 1 + + [1651223862.949745][5645:5645] CHIP:IM: Received Read request + [1651223862.949796][5645:5645] CHIP:DMG: ReadRequestMessage = + [1651223862.949822][5645:5645] CHIP:DMG: { + [1651223862.949844][5645:5645] CHIP:DMG: AttributePathIBs = + [1651223862.949870][5645:5645] CHIP:DMG: [ + [1651223862.949895][5645:5645] CHIP:DMG: AttributePathIB = + [1651223862.949927][5645:5645] CHIP:DMG: { + [1651223862.949958][5645:5645] CHIP:DMG: Endpoint = 0x1, + [1651223862.949992][5645:5645] CHIP:DMG: Cluster = 0x300, + [1651223862.950026][5645:5645] CHIP:DMG: Attribute = 0x0000_4004, + [1651223862.950055][5645:5645] CHIP:DMG: } + [1651223862.950085][5645:5645] CHIP:DMG: + [1651223862.950112][5645:5645] CHIP:DMG: ], + [1651223862.950141][5645:5645] CHIP:DMG: + [1651223862.950167][5645:5645] CHIP:DMG: isFabricFiltered = true, + [1651223862.950192][5645:5645] CHIP:DMG: InteractionModelRevision = 1 + [1651223862.950216][5645:5645] CHIP:DMG: }, + [1651223862.950285][5645:5645] CHIP:DMG: IM RH moving to [GeneratingReports] + [1651223862.950366][5645:5645] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 + [1651223862.950394][5645:5645] CHIP:DMG: Cluster 300, Attribute 4004 is dirty + [1651223862.950415][5645:5645] CHIP:DMG: Reading attribute: Cluster=0x0000_0300 Endpoint=1 AttributeId=0x0000_4004 (expanded=0) + [1651223862.950447][5645:5645] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0300 e=1 p=v + [1651223862.950480][5645:5645] CHIP:DMG: AccessControl: allowed + [1651223862.950535][5645:5645] CHIP:DMG: Sending report (payload has 38 bytes)... + [1651223862.950565][5645:5645] CHIP:EM: Piggybacking Ack for MessageCounter:12629449 on exchange: 48773r disabled: true - label: "DUT read ColorLoopStartEnhancedHue attribute from TH." + PICS: CC.C.A4005 verification: | ./chip-tool colorcontrol read color-loop-start-enhanced-hue 1 1 + + [1651223868.776472][5645:5645] CHIP:IM: Received Read request + [1651223868.776529][5645:5645] CHIP:DMG: ReadRequestMessage = + [1651223868.776559][5645:5645] CHIP:DMG: { + [1651223868.776584][5645:5645] CHIP:DMG: AttributePathIBs = + [1651223868.776613][5645:5645] CHIP:DMG: [ + [1651223868.776638][5645:5645] CHIP:DMG: AttributePathIB = + [1651223868.776670][5645:5645] CHIP:DMG: { + [1651223868.776706][5645:5645] CHIP:DMG: Endpoint = 0x1, + [1651223868.776743][5645:5645] CHIP:DMG: Cluster = 0x300, + [1651223868.776782][5645:5645] CHIP:DMG: Attribute = 0x0000_4005, + [1651223868.776818][5645:5645] CHIP:DMG: } + [1651223868.776853][5645:5645] CHIP:DMG: + [1651223868.776886][5645:5645] CHIP:DMG: ], + [1651223868.776919][5645:5645] CHIP:DMG: + [1651223868.776945][5645:5645] CHIP:DMG: isFabricFiltered = true, + [1651223868.776969][5645:5645] CHIP:DMG: InteractionModelRevision = 1 + [1651223868.776996][5645:5645] CHIP:DMG: }, + [1651223868.777076][5645:5645] CHIP:DMG: IM RH moving to [GeneratingReports] + [1651223868.777170][5645:5645] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 + [1651223868.777203][5645:5645] CHIP:DMG: Cluster 300, Attribute 4005 is dirty + [1651223868.777227][5645:5645] CHIP:DMG: Reading attribute: Cluster=0x0000_0300 Endpoint=1 AttributeId=0x0000_4005 (expanded=0) + [1651223868.777263][5645:5645] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0300 e=1 p=v + [1651223868.777301][5645:5645] CHIP:DMG: AccessControl: allowed + [1651223868.777363][5645:5645] CHIP:DMG: Sending report (payload has 38 bytes)... + [1651223868.777399][5645:5645] CHIP:EM: Piggybacking Ack for MessageCounter:15811917 on exchange: 16339r disabled: true - label: "DUT sends ColorLoopSet command to with UpdateFlag attribute to 0x1 and Action attribute to 0x1 to TH." + PICS: CC.C.C44.Rsp verification: | ./chip-tool colorcontrol color-loop-set 1 1 0 0 0 0 0 1 1 + + [1651223875.036588][5645:5645] CHIP:DMG: InvokeRequestMessage = + [1651223875.036617][5645:5645] CHIP:DMG: { + [1651223875.036703][5645:5645] CHIP:DMG: suppressResponse = false, + [1651223875.036740][5645:5645] CHIP:DMG: timedRequest = false, + [1651223875.036770][5645:5645] CHIP:DMG: InvokeRequests = + [1651223875.036813][5645:5645] CHIP:DMG: [ + [1651223875.036841][5645:5645] CHIP:DMG: CommandDataIB = + [1651223875.036876][5645:5645] CHIP:DMG: { + [1651223875.036910][5645:5645] CHIP:DMG: CommandPathIB = + [1651223875.036945][5645:5645] CHIP:DMG: { + [1651223875.036981][5645:5645] CHIP:DMG: EndpointId = 0x1, + [1651223875.037017][5645:5645] CHIP:DMG: ClusterId = 0x300, + [1651223875.037056][5645:5645] CHIP:DMG: CommandId = 0x44, + [1651223875.037090][5645:5645] CHIP:DMG: }, + [1651223875.037125][5645:5645] CHIP:DMG: + [1651223875.037156][5645:5645] CHIP:DMG: CommandData = + [1651223875.037189][5645:5645] CHIP:DMG: { + [1651223875.037224][5645:5645] CHIP:DMG: 0x0 = 1, + [1651223875.037260][5645:5645] CHIP:DMG: 0x1 = 1, + [1651223875.037296][5645:5645] CHIP:DMG: 0x2 = 0, + [1651223875.037331][5645:5645] CHIP:DMG: 0x3 = 0, + [1651223875.037370][5645:5645] CHIP:DMG: 0x4 = 0, + [1651223875.037405][5645:5645] CHIP:DMG: 0x5 = 0, + [1651223875.037441][5645:5645] CHIP:DMG: 0x6 = 0, + [1651223875.037475][5645:5645] CHIP:DMG: }, + [1651223875.037507][5645:5645] CHIP:DMG: }, + [1651223875.037544][5645:5645] CHIP:DMG: + [1651223875.037572][5645:5645] CHIP:DMG: ], + [1651223875.037606][5645:5645] CHIP:DMG: + [1651223875.037631][5645:5645] CHIP:DMG: InteractionModelRevision = 1 + [1651223875.037656][5645:5645] CHIP:DMG: }, + [1651223875.037729][5645:5645] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0300 e=1 p=o + [1651223875.037766][5645:5645] CHIP:DMG: AccessControl: allowed + [1651223875.037795][5645:5645] CHIP:DMG: Received command for Endpoint=1 Cluster=0x0000_0300 Command=0x0000_0044 + [1651223875.037872][5645:5645] CHIP:DMG: Endpoint 1, Cluster 0x0000_0300 update version to a8032323 + [1651223875.037915][5645:5645] CHIP:DMG: Endpoint 1, Cluster 0x0000_0300 update version to a8032324 + [1651223875.037949][5645:5645] CHIP:DMG: Endpoint 1, Cluster 0x0000_0300 update version to a8032325 + [1651223875.037994][5645:5645] CHIP:DMG: ICR moving to [ Preparing] + [1651223875.038028][5645:5645] CHIP:DMG: ICR moving to [AddingComm] + [1651223875.038057][5645:5645] CHIP:DMG: ICR moving to [AddedComma] + [1651223875.038101][5645:5645] CHIP:DMG: Decreasing reference count for CommandHandler, remaining 0 + [1651223875.038134][5645:5645] CHIP:EM: Piggybacking Ack for MessageCounter:7193122 on exchange: 20927r disabled: true - label: "DUT read ColorLoopActive attribute from TH." + PICS: CC.C.A4002 verification: | ./chip-tool colorcontrol read color-loop-active 1 1 + + [1651223882.995293][5645:5645] CHIP:DMG: ReadRequestMessage = + [1651223882.995319][5645:5645] CHIP:DMG: { + [1651223882.995341][5645:5645] CHIP:DMG: AttributePathIBs = + [1651223882.995367][5645:5645] CHIP:DMG: [ + [1651223882.995391][5645:5645] CHIP:DMG: AttributePathIB = + [1651223882.995415][5645:5645] CHIP:DMG: { + [1651223882.995449][5645:5645] CHIP:DMG: Endpoint = 0x1, + [1651223882.995481][5645:5645] CHIP:DMG: Cluster = 0x300, + [1651223882.995514][5645:5645] CHIP:DMG: Attribute = 0x0000_4002, + [1651223882.995547][5645:5645] CHIP:DMG: } + [1651223882.995579][5645:5645] CHIP:DMG: + [1651223882.995607][5645:5645] CHIP:DMG: ], + [1651223882.995635][5645:5645] CHIP:DMG: + [1651223882.995661][5645:5645] CHIP:DMG: isFabricFiltered = true, + [1651223882.995686][5645:5645] CHIP:DMG: InteractionModelRevision = 1 + [1651223882.995709][5645:5645] CHIP:DMG: }, + [1651223882.995779][5645:5645] CHIP:DMG: IM RH moving to [GeneratingReports] + [1651223882.995863][5645:5645] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 + [1651223882.995891][5645:5645] CHIP:DMG: Cluster 300, Attribute 4002 is dirty + [1651223882.995912][5645:5645] CHIP:DMG: Reading attribute: Cluster=0x0000_0300 Endpoint=1 AttributeId=0x0000_4002 (expanded=0) + [1651223882.995944][5645:5645] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0300 e=1 p=v + [1651223882.995977][5645:5645] CHIP:DMG: AccessControl: allowed + [1651223882.996033][5645:5645] CHIP:DMG: Sending report (payload has 38 bytes)... + [1651223882.996083][5645:5645] CHIP:EM: Piggybacking Ack for MessageCounter:14852447 on exchange: 1299r disabled: true - label: "DUT read ColorLoopStoredEnhancedHue attribute from TH." + PICS: CC.C.A4006 verification: | ./chip-tool colorcontrol read color-loop-stored-enhanced-hue 1 1 - disabled: true + [1651223891.095940][5645:5645] CHIP:IM: Received Read request + [1651223891.095992][5645:5645] CHIP:DMG: ReadRequestMessage = + [1651223891.096019][5645:5645] CHIP:DMG: { + [1651223891.096041][5645:5645] CHIP:DMG: AttributePathIBs = + [1651223891.096084][5645:5645] CHIP:DMG: [ + [1651223891.096110][5645:5645] CHIP:DMG: AttributePathIB = + [1651223891.096140][5645:5645] CHIP:DMG: { + [1651223891.096168][5645:5645] CHIP:DMG: Endpoint = 0x1, + [1651223891.096201][5645:5645] CHIP:DMG: Cluster = 0x300, + [1651223891.096236][5645:5645] CHIP:DMG: Attribute = 0x0000_4006, + [1651223891.096266][5645:5645] CHIP:DMG: } + [1651223891.096297][5645:5645] CHIP:DMG: + [1651223891.096325][5645:5645] CHIP:DMG: ], + [1651223891.096354][5645:5645] CHIP:DMG: + [1651223891.096381][5645:5645] CHIP:DMG: isFabricFiltered = true, + [1651223891.096406][5645:5645] CHIP:DMG: InteractionModelRevision = 1 + [1651223891.096430][5645:5645] CHIP:DMG: }, + [1651223891.096499][5645:5645] CHIP:DMG: IM RH moving to [GeneratingReports] + [1651223891.096582][5645:5645] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 + [1651223891.096610][5645:5645] CHIP:DMG: Cluster 300, Attribute 4006 is dirty + [1651223891.096631][5645:5645] CHIP:DMG: Reading attribute: Cluster=0x0000_0300 Endpoint=1 AttributeId=0x0000_4006 (expanded=0) + [1651223891.096659][5645:5645] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0300 e=1 p=v + [1651223891.096692][5645:5645] CHIP:DMG: AccessControl: allowed + [1651223891.096746][5645:5645] CHIP:DMG: Sending report (payload has 39 bytes)... + [1651223891.096776][5645:5645] CHIP:EM: Piggybacking Ack for MessageCounter:9478148 on exchange: 9984r + disabled: true - label: "Over next 30 seconds, DUT read EnhancedCurrentHue attribute from TH." + PICS: CC.C.A4000 verification: | ./chip-tool colorcontrol read enhanced-current-hue 1 1 + + [1651223897.751537][5645:5645] CHIP:IM: Received Read request + [1651223897.751588][5645:5645] CHIP:DMG: ReadRequestMessage = + [1651223897.751614][5645:5645] CHIP:DMG: { + [1651223897.751636][5645:5645] CHIP:DMG: AttributePathIBs = + [1651223897.751662][5645:5645] CHIP:DMG: [ + [1651223897.751686][5645:5645] CHIP:DMG: AttributePathIB = + [1651223897.751718][5645:5645] CHIP:DMG: { + [1651223897.751749][5645:5645] CHIP:DMG: Endpoint = 0x1, + [1651223897.751782][5645:5645] CHIP:DMG: Cluster = 0x300, + [1651223897.751817][5645:5645] CHIP:DMG: Attribute = 0x0000_4000, + [1651223897.751848][5645:5645] CHIP:DMG: } + [1651223897.751876][5645:5645] CHIP:DMG: + [1651223897.751904][5645:5645] CHIP:DMG: ], + [1651223897.751932][5645:5645] CHIP:DMG: + [1651223897.751958][5645:5645] CHIP:DMG: isFabricFiltered = true, + [1651223897.751983][5645:5645] CHIP:DMG: InteractionModelRevision = 1 + [1651223897.752007][5645:5645] CHIP:DMG: }, + [1651223897.752122][5645:5645] CHIP:DMG: IM RH moving to [GeneratingReports] + [1651223897.752209][5645:5645] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 + [1651223897.752237][5645:5645] CHIP:DMG: Cluster 300, Attribute 4000 is dirty + [1651223897.752258][5645:5645] CHIP:DMG: Reading attribute: Cluster=0x0000_0300 Endpoint=1 AttributeId=0x0000_4000 (expanded=0) + [1651223897.752290][5645:5645] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0300 e=1 p=v + [1651223897.752324][5645:5645] CHIP:DMG: AccessControl: allowed + [1651223897.752379][5645:5645] CHIP:DMG: Sending report (payload has 39 bytes)... + [1651223897.752411][5645:5645] CHIP:EM: Piggybacking Ack for MessageCounter:8258677 on exchange: 35008r disabled: true - label: "Continue another 30 seconds, DUT read EnhancedCurrentHue attribute from TH." + PICS: CC.C.A4000 verification: | ./chip-tool colorcontrol read enhanced-current-hue 1 1 + + [1651223904.283967][5645:5645] CHIP:IM: Received Read request + [1651223904.284019][5645:5645] CHIP:DMG: ReadRequestMessage = + [1651223904.284045][5645:5645] CHIP:DMG: { + [1651223904.284113][5645:5645] CHIP:DMG: AttributePathIBs = + [1651223904.284142][5645:5645] CHIP:DMG: [ + [1651223904.284166][5645:5645] CHIP:DMG: AttributePathIB = + [1651223904.284202][5645:5645] CHIP:DMG: { + [1651223904.284233][5645:5645] CHIP:DMG: Endpoint = 0x1, + [1651223904.284266][5645:5645] CHIP:DMG: Cluster = 0x300, + [1651223904.284297][5645:5645] CHIP:DMG: Attribute = 0x0000_4000, + [1651223904.284328][5645:5645] CHIP:DMG: } + [1651223904.284358][5645:5645] CHIP:DMG: + [1651223904.284385][5645:5645] CHIP:DMG: ], + [1651223904.284416][5645:5645] CHIP:DMG: + [1651223904.284442][5645:5645] CHIP:DMG: isFabricFiltered = true, + [1651223904.284467][5645:5645] CHIP:DMG: InteractionModelRevision = 1 + [1651223904.284491][5645:5645] CHIP:DMG: }, + [1651223904.284560][5645:5645] CHIP:DMG: IM RH moving to [GeneratingReports] + [1651223904.284645][5645:5645] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 + [1651223904.284673][5645:5645] CHIP:DMG: Cluster 300, Attribute 4000 is dirty + [1651223904.284695][5645:5645] CHIP:DMG: Reading attribute: Cluster=0x0000_0300 Endpoint=1 AttributeId=0x0000_4000 (expanded=0) + [1651223904.284726][5645:5645] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0300 e=1 p=v + [1651223904.284759][5645:5645] CHIP:DMG: AccessControl: allowed + [1651223904.284816][5645:5645] CHIP:DMG: Sending report (payload has 39 bytes)... + [1651223904.284849][5645:5645] CHIP:EM: Piggybacking Ack for MessageCounter:13297067 on exchange: 26107r disabled: true - label: "DUT sends ColorLoopSet command to with UpdateFlag attribute to 0x1 and Action attribute to 0x0 to TH." + PICS: CC.C.C44.Rsp verification: | ./chip-tool colorcontrol color-loop-set 1 0 0 0 0 0 0 1 1 + + [1651223921.990518][5645:5645] CHIP:EM: Handling via exchange: 14480r, Delegate: 0xaaaab48970a0 + [1651223921.990590][5645:5645] CHIP:DMG: InvokeRequestMessage = + [1651223921.990629][5645:5645] CHIP:DMG: { + [1651223921.990652][5645:5645] CHIP:DMG: suppressResponse = false, + [1651223921.990679][5645:5645] CHIP:DMG: timedRequest = false, + [1651223921.990703][5645:5645] CHIP:DMG: InvokeRequests = + [1651223921.990745][5645:5645] CHIP:DMG: [ + [1651223921.990778][5645:5645] CHIP:DMG: CommandDataIB = + [1651223921.990814][5645:5645] CHIP:DMG: { + [1651223921.990854][5645:5645] CHIP:DMG: CommandPathIB = + [1651223921.990889][5645:5645] CHIP:DMG: { + [1651223921.990935][5645:5645] CHIP:DMG: EndpointId = 0x1, + [1651223921.990976][5645:5645] CHIP:DMG: ClusterId = 0x300, + [1651223921.991010][5645:5645] CHIP:DMG: CommandId = 0x44, + [1651223921.991050][5645:5645] CHIP:DMG: }, + [1651223921.991092][5645:5645] CHIP:DMG: + [1651223921.991121][5645:5645] CHIP:DMG: CommandData = + [1651223921.991160][5645:5645] CHIP:DMG: { + [1651223921.991193][5645:5645] CHIP:DMG: 0x0 = 1, + [1651223921.991227][5645:5645] CHIP:DMG: 0x1 = 0, + [1651223921.991258][5645:5645] CHIP:DMG: 0x2 = 0, + [1651223921.991310][5645:5645] CHIP:DMG: 0x3 = 0, + [1651223921.991344][5645:5645] CHIP:DMG: 0x4 = 0, + [1651223921.991387][5645:5645] CHIP:DMG: 0x5 = 0, + [1651223921.991431][5645:5645] CHIP:DMG: 0x6 = 0, + [1651223921.991464][5645:5645] CHIP:DMG: }, + [1651223921.991502][5645:5645] CHIP:DMG: }, + [1651223921.991546][5645:5645] CHIP:DMG: + [1651223921.991570][5645:5645] CHIP:DMG: ], + [1651223921.991610][5645:5645] CHIP:DMG: + [1651223921.991635][5645:5645] CHIP:DMG: InteractionModelRevision = 1 + [1651223921.991669][5645:5645] CHIP:DMG: }, + [1651223921.991746][5645:5645] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0300 e=1 p=o + [1651223921.991790][5645:5645] CHIP:DMG: AccessControl: allowed + [1651223921.991818][5645:5645] CHIP:DMG: Received command for Endpoint=1 Cluster=0x0000_0300 Command=0x0000_0044 + [1651223921.991887][5645:5645] CHIP:DMG: Endpoint 1, Cluster 0x0000_0300 update version to a80328a2 + [1651223921.991922][5645:5645] CHIP:DMG: Endpoint 1, Cluster 0x0000_0300 update version to a80328a3 + [1651223921.991967][5645:5645] CHIP:DMG: ICR moving to [ Preparing] + [1651223921.991998][5645:5645] CHIP:DMG: ICR moving to [AddingComm] + [1651223921.992026][5645:5645] CHIP:DMG: ICR moving to [AddedComma] + [1651223921.992100][5645:5645] CHIP:DMG: Decreasing reference count for CommandHandler, remaining 0 + [1651223921.992134][5645:5645] CHIP:EM: Piggybacking Ack for MessageCounter:11378558 on exchange: 14480r disabled: true - label: "DUT read ColorLoopActive attribute from TH." + PICS: CC.C.A4002 verification: | ./chip-tool colorcontrol read color-loop-active 1 1 + + [1651223929.762746][5645:5645] CHIP:IM: Received Read request + [1651223929.762817][5645:5645] CHIP:DMG: ReadRequestMessage = + [1651223929.762843][5645:5645] CHIP:DMG: { + [1651223929.762876][5645:5645] CHIP:DMG: AttributePathIBs = + [1651223929.762904][5645:5645] CHIP:DMG: [ + [1651223929.762937][5645:5645] CHIP:DMG: AttributePathIB = + [1651223929.762968][5645:5645] CHIP:DMG: { + [1651223929.763007][5645:5645] CHIP:DMG: Endpoint = 0x1, + [1651223929.763040][5645:5645] CHIP:DMG: Cluster = 0x300, + [1651223929.763083][5645:5645] CHIP:DMG: Attribute = 0x0000_4002, + [1651223929.763114][5645:5645] CHIP:DMG: } + [1651223929.763154][5645:5645] CHIP:DMG: + [1651223929.763190][5645:5645] CHIP:DMG: ], + [1651223929.763219][5645:5645] CHIP:DMG: + [1651223929.763254][5645:5645] CHIP:DMG: isFabricFiltered = true, + [1651223929.763280][5645:5645] CHIP:DMG: InteractionModelRevision = 1 + [1651223929.763311][5645:5645] CHIP:DMG: }, + [1651223929.763390][5645:5645] CHIP:DMG: IM RH moving to [GeneratingReports] + [1651223929.763484][5645:5645] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 + [1651223929.763523][5645:5645] CHIP:DMG: Cluster 300, Attribute 4002 is dirty + [1651223929.763545][5645:5645] CHIP:DMG: Reading attribute: Cluster=0x0000_0300 Endpoint=1 AttributeId=0x0000_4002 (expanded=0) + [1651223929.763576][5645:5645] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0300 e=1 p=v + [1651223929.763609][5645:5645] CHIP:DMG: AccessControl: allowed + [1651223929.763667][5645:5645] CHIP:DMG: Sending report (payload has 38 bytes)... + [1651223929.763697][5645:5645] CHIP:EM: Piggybacking Ack for MessageCounter:16742286 on exchange: 16048r disabled: true - label: "DUT read EnhancedCurrentHue attribute from TH." + PICS: CC.C.A4000 verification: | ./chip-tool colorcontrol read enhanced-current-hue 1 1 + + [1651223936.534488][5645:5645] CHIP:IM: Received Read request + [1651223936.534540][5645:5645] CHIP:DMG: ReadRequestMessage = + [1651223936.534565][5645:5645] CHIP:DMG: { + [1651223936.534587][5645:5645] CHIP:DMG: AttributePathIBs = + [1651223936.534614][5645:5645] CHIP:DMG: [ + [1651223936.534639][5645:5645] CHIP:DMG: AttributePathIB = + [1651223936.534669][5645:5645] CHIP:DMG: { + [1651223936.534703][5645:5645] CHIP:DMG: Endpoint = 0x1, + [1651223936.534737][5645:5645] CHIP:DMG: Cluster = 0x300, + [1651223936.534769][5645:5645] CHIP:DMG: Attribute = 0x0000_4000, + [1651223936.534799][5645:5645] CHIP:DMG: } + [1651223936.534833][5645:5645] CHIP:DMG: + [1651223936.534861][5645:5645] CHIP:DMG: ], + [1651223936.534892][5645:5645] CHIP:DMG: + [1651223936.534920][5645:5645] CHIP:DMG: isFabricFiltered = true, + [1651223936.534947][5645:5645] CHIP:DMG: InteractionModelRevision = 1 + [1651223936.534973][5645:5645] CHIP:DMG: }, + [1651223936.535042][5645:5645] CHIP:DMG: IM RH moving to [GeneratingReports] + [1651223936.535122][5645:5645] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 + [1651223936.535150][5645:5645] CHIP:DMG: Cluster 300, Attribute 4000 is dirty + [1651223936.535171][5645:5645] CHIP:DMG: Reading attribute: Cluster=0x0000_0300 Endpoint=1 AttributeId=0x0000_4000 (expanded=0) + [1651223936.535203][5645:5645] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0300 e=1 p=v + [1651223936.535236][5645:5645] CHIP:DMG: AccessControl: allowed + [1651223936.535293][5645:5645] CHIP:DMG: Sending report (payload has 39 bytes)... + [1651223936.535323][5645:5645] CHIP:EM: Piggybacking Ack for MessageCounter:14518490 on exchange: 60955r disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_CGEN_2_1.yaml b/src/app/tests/suites/certification/Test_TC_CGEN_2_1.yaml index 8961bb4717b4b0..8e79a18eac9781 100644 --- a/src/app/tests/suites/certification/Test_TC_CGEN_2_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_CGEN_2_1.yaml @@ -32,6 +32,7 @@ tests: value: nodeId - label: "TH1 reads the BreadCrumb Attribute from the DUT" + PICS: CGEN.S.A0000 command: "readAttribute" attribute: "Breadcrumb" response: @@ -39,18 +40,21 @@ tests: type: uint64 - label: "TH1 writes the BreadCrumb attribute as 1 to the DUT" + PICS: CGEN.S.A0000 command: "writeAttribute" attribute: "Breadcrumb" arguments: value: 1 - label: "TH1 reads the BreadCrumb attribute from the DUT" + PICS: CGEN.S.A0000 command: "readAttribute" attribute: "Breadcrumb" response: value: 1 - label: "TH1 reads the RegulatoryConfig attribute from the DUT" + PICS: CGEN.S.A0002 command: "readAttribute" attribute: "RegulatoryConfig" response: @@ -59,6 +63,7 @@ tests: maxValue: 2 - label: "TH1 reads the LocationCapability attribute from the DUT" + PICS: CGEN.S.A0003 command: "readAttribute" attribute: "LocationCapability" response: @@ -72,6 +77,7 @@ tests: the BasicCommissioningInfo attribute has the following field: FailSafeExpiryLengthSeconds field value is within a duration range of 0 to 65535" + PICS: CGEN.S.A0001 command: "readAttribute" attribute: "BasicCommissioningInfo" @@ -87,6 +93,7 @@ tests: the payload is being parsed successfully" - label: "TH1 reads SupportsConcurrentConnection attribute from the DUT" + PICS: CGEN.S.A0004 command: "readAttribute" attribute: "SupportsConcurrentConnection" response: diff --git a/src/app/tests/suites/certification/Test_TC_CGEN_2_2.yaml b/src/app/tests/suites/certification/Test_TC_CGEN_2_2.yaml index 2a454bb6290ad3..5c0caccee8783e 100644 --- a/src/app/tests/suites/certification/Test_TC_CGEN_2_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_CGEN_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: 90.3. [TC-CGEN-2.2] ArmFailSafe command verification [DUT - Server] +name: 90.2.2. [TC-CGEN-2.2] ArmFailSafe command verification [DUT - Server] config: nodeId: 0x12344321 @@ -21,78 +21,62 @@ config: endpoint: 0 tests: - - label: "Start the commissioning process of TH1 on DUT" - verification: | - - disabled: true - - label: "TH1 sends ArmFailSafe command to the DUT with ExpiryLengthSeconds - value as ''commission_timeout'' and the Breadcrumb value as 0" + value as 'commission_timeout' and the Breadcrumb value as 0" + PICS: CGEN.S.C00.Rsp && CGEN.S.C01.Tx verification: | - ubuntu@ubuntu:~/apps$ sudo ./chip-tool generalcommissioning arm-fail-safe 60 0 60 1 0 - - - [1646202957.619162][2956:2961] CHIP:DMG: InteractionModelRevision = 1 - [1646202957.619205][2956:2961] CHIP:DMG: }, - [1646202957.619299][2956:2961] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0030 Command=0x0000_0001 - [1646202957.619369][2956:2961] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0030 Command 0x0000_0001 - [1646202957.619461][2956:2961] CHIP:TOO: ArmFailSafeResponse: { - [1646202957.619522][2956:2961] CHIP:TOO: errorCode: 0 - [1646202957.619556][2956:2961] CHIP:TOO: debugText: - [1646202957.619591][2956:2961] CHIP:TOO: } - [1646202957.619634][2956:2961] CHIP:DMG: ICR moving to [AwaitingDe] - [1646202957.619712][2956:2961] CHIP:EM: Sending Standalone Ack for MessageCounter:5531048 on exchange 43022i + ubuntu@ubuntu:~/apps$ ./chip-tool generalcommissioning arm-fail-safe 60 0 1 0 + + [1651132026.841009][4775:4780] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0030 Command=0x0000_0001 + [1651132026.841099][4775:4780] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0030 Command 0x0000_0001 + [1651132026.841231][4775:4780] CHIP:TOO: ArmFailSafeResponse: { + [1651132026.841298][4775:4780] CHIP:TOO: errorCode: 0 + [1651132026.841347][4775:4780] CHIP:TOO: debugText: + [1651132026.841395][4775:4780] CHIP:TOO: } + [1651132026.841469][4775:4780] CHIP:DMG: ICR moving to [AwaitingDe] + [1651132026.841561][4775:4780] CHIP:EM: Sending Standalone Ack for MessageCounter:15104814 on exchange 44980i disabled: true - label: "TH saves the current timestamp as TS1" verification: | - + TH records timestamp disabled: true - label: - "TH1 sends SetRegulatoryConfig command to the DUT with Location - attribute" + "TH1 sends SetRegulatoryConfig command to the DUT with + NewRegulatoryConfig as 'set_regulatory', CountryCode as 'xxxx' and the + Breadcrumb value as 0" + PICS: CGEN.S.C02.Rsp && CGEN.S.C03.Tx verification: | - ubuntu@ubuntu:~/apps$ sudo ./chip-tool generalcommissioning set-regulatory-config 0 0 0 60 1 0 - - [1646203091.878703][2973:2978] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0030 Command=0x0000_0003 - [1646203091.878782][2973:2978] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0030 Command 0x0000_0003 - [1646203091.878888][2973:2978] CHIP:TOO: SetRegulatoryConfigResponse: { - [1646203091.878950][2973:2978] CHIP:TOO: errorCode: 0 - [1646203091.878994][2973:2978] CHIP:TOO: debugText: - [1646203091.879063][2973:2978] CHIP:TOO: } - [1646203091.879114][2973:2978] CHIP:DMG: ICR moving to [AwaitingDe] - [1646203091.879197][2973:2978] CHIP:EM: Sending Standalone Ack for MessageCounter:7339336 on exchange 13158i + ubuntu@ubuntu:~/apps$ ./chip-tool generalcommissioning set-regulatory-config 0 12 0 1 0 + + [1651132032.042755][4782:4788] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0030 Command=0x0000_0003 + [1651132032.042803][4782:4788] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0030 Command 0x0000_0003 + [1651132032.042871][4782:4788] CHIP:TOO: SetRegulatoryConfigResponse: { + [1651132032.042907][4782:4788] CHIP:TOO: errorCode: 0 + [1651132032.042930][4782:4788] CHIP:TOO: debugText: + [1651132032.042954][4782:4788] CHIP:TOO: } + [1651132032.042989][4782:4788] CHIP:DMG: ICR moving to [AwaitingDe] + [1651132032.043040][4782:4788] CHIP:EM: Sending Standalone Ack for MessageCounter:11153448 on exchange 27233i disabled: true - - label: "TH1 sends AttestationRequest command to the DUT" - verification: | - For the 5.5 commissioning flow the steps are added. Not required to verify on GC test plan verification, because it's verified in another test plan. - disabled: true - - - label: "TH1 sends CSRRequest command to the DUT" - verification: | - For the 5.5 commissioning flow the steps are added. Not required to verify on GC test plan verification, because it's verified in another test plan. - disabled: true - - - label: "TH1 sends AddNOC command to the DUT" + - label: "TH1 Sends CommissionComplete command to the DUT" + PICS: CGEN.S.C04.Rsp && CGEN.S.C05.Tx verification: | - For the 5.5 commissioning flow the steps are added. Not required to verify on GC test plan verification, because it's verified in another test plan. + ubuntu@ubuntu:~/apps$ ./chip-tool generalcommissioning commissioning-complete 1 0 + + [1651132037.205822][4789:4794] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0030 Command=0x0000_0005 + [1651132037.205914][4789:4794] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0030 Command 0x0000_0005 + [1651132037.206042][4789:4794] CHIP:TOO: CommissioningCompleteResponse: { + [1651132037.206142][4789:4794] CHIP:TOO: errorCode: 0 + [1651132037.206196][4789:4794] CHIP:TOO: debugText: + [1651132037.206244][4789:4794] CHIP:TOO: } + [1651132037.206319][4789:4794] CHIP:DMG: ICR moving to [AwaitingDe] + [1651132037.206416][4789:4794] CHIP:EM: Sending Standalone Ack for MessageCounter:1991425 on exchange 49997i disabled: true - - label: "TH1 Sends CommissionComplete command to the DUT" + - label: "TH1 saves the Current time stamp as TS2" verification: | - ubuntu@ubuntu:~/apps$ sudo ./chip-tool generalcommissioning commissioning-complete 1 0 - - [1646203451.094771][3006:3011] CHIP:DMG: InteractionModelRevision = 1 - [1646203451.094813][3006:3011] CHIP:DMG: }, - [1646203451.094921][3006:3011] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0030 Command=0x0000_0005 - [1646203451.094997][3006:3011] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0030 Command 0x0000_0005 - [1646203451.095097][3006:3011] CHIP:TOO: CommissioningCompleteResponse: { - [1646203451.095157][3006:3011] CHIP:TOO: errorCode: 0 - [1646203451.095200][3006:3011] CHIP:TOO: debugText: - [1646203451.095242][3006:3011] CHIP:TOO: } - [1646203451.095293][3006:3011] CHIP:DMG: ICR moving to [AwaitingDe] - [1646203451.095375][3006:3011] CHIP:EM: Sending Standalone Ack for MessageCounter:14415629 on exchange 59296i + TH records timestamp and verified manually disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_CGEN_2_3.yaml b/src/app/tests/suites/certification/Test_TC_CGEN_2_3.yaml index a07c9715508cd9..3d1f43b96370c2 100644 --- a/src/app/tests/suites/certification/Test_TC_CGEN_2_3.yaml +++ b/src/app/tests/suites/certification/Test_TC_CGEN_2_3.yaml @@ -14,7 +14,7 @@ # Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default name: - 90.4. [TC-CGEN-2.3] BusyWithOtherAdmin Status code verification [DUT - + 90.2.3. [TC-CGEN-2.3] BusyWithOtherAdmin Status code verification [DUT - Server] config: @@ -23,74 +23,162 @@ config: endpoint: 0 tests: - - label: "Start the commissioning process of TH1 on DUT" + - label: + "Condition 1: Factory reset the DUT Start the commissioning process of + TH1 on DUT" verification: | - + On reference platform we clear the storage (rm -rf /tmp/chip*) that will erase all NOCs ..etc and power cycle the device. disabled: true - label: "TH1 sends ArmFailSafe command to the DUT with ExpiryLengthSeconds as - 900 seconds and Breadcrumb value as 0" + 'commission_timeout' seconds and Breadcrumb value as 1" + PICS: CGEN.S.C00.Rsp && CGEN.S.C01.Tx verification: | - ubuntu@ubuntu:~/apps$ sudo ./chip-tool generalcommissioning arm-fail-safe 60 0 60 1 0 - - - [1646202957.619162][2956:2961] CHIP:DMG: InteractionModelRevision = 1 - [1646202957.619205][2956:2961] CHIP:DMG: }, - [1646202957.619299][2956:2961] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0030 Command=0x0000_0001 - [1646202957.619369][2956:2961] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0030 Command 0x0000_0001 - [1646202957.619461][2956:2961] CHIP:TOO: ArmFailSafeResponse: { - [1646202957.619522][2956:2961] CHIP:TOO: errorCode: 0 - [1646202957.619556][2956:2961] CHIP:TOO: debugText: - [1646202957.619591][2956:2961] CHIP:TOO: } - [1646202957.619634][2956:2961] CHIP:DMG: ICR moving to [AwaitingDe] - [1646202957.619712][2956:2961] CHIP:EM: Sending Standalone Ack for MessageCounter:5531048 on exchange 43022i + Start the commissioning process of TH1 on DUT + While provisioning will get all the below mentioned logs, using that log need to verify these steps + + [1651140888.275461][5289:5294] CHIP:CTL: Commissioning stage next step: 'ReadCommissioningInfo' -> 'ArmFailSafe' + [1651140888.275490][5289:5294] CHIP:CTL: Performing next commissioning step 'ArmFailSafe' + [1651140888.275514][5289:5294] CHIP:CTL: Arming failsafe (60 seconds) + + [1651140888.367336][5289:5294] CHIP:CTL: Received ArmFailSafe response + [1651140888.367398][5289:5294] CHIP:CTL: Successfully finished commissioning step 'ArmFailSafe' disabled: true - label: "TH1 Sends SetRegulatoryConfig command to the DUT with Location attribute" + PICS: CGEN.S.C02.Rsp && CGEN.S.C03.Tx verification: | - ubuntu@ubuntu:~/apps$ sudo ./chip-tool generalcommissioning set-regulatory-config 0 0 0 60 1 0 - - [1646203091.878703][2973:2978] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0030 Command=0x0000_0003 - [1646203091.878782][2973:2978] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0030 Command 0x0000_0003 - [1646203091.878888][2973:2978] CHIP:TOO: SetRegulatoryConfigResponse: { - [1646203091.878950][2973:2978] CHIP:TOO: errorCode: 0 - [1646203091.878994][2973:2978] CHIP:TOO: debugText: - [1646203091.879063][2973:2978] CHIP:TOO: } - [1646203091.879114][2973:2978] CHIP:DMG: ICR moving to [AwaitingDe] - [1646203091.879197][2973:2978] CHIP:EM: Sending Standalone Ack for MessageCounter:7339336 on exchange 13158i + [1651140888.367450][5289:5294] CHIP:CTL: Commissioning stage next step: 'ArmFailSafe' -> 'ConfigRegulatory' + [1651140888.367506][5289:5294] CHIP:CTL: Performing next commissioning step 'ConfigRegulatory' + [1651140888.367556][5289:5294] CHIP:CTL: Setting Regulatory Config + [1651140888.367605][5289:5294] CHIP:CTL: Device does not support configurable regulatory location + + [1651140888.464020][5289:5294] CHIP:CTL: Received SetRegulatoryConfig response + [1651140888.464080][5289:5294] CHIP:CTL: Successfully finished commissioning step 'ConfigRegulatory' disabled: true - label: "TH1 sends AttestationRequest command to the DUT" verification: | - For the 5.5 commissioning flow the steps are added. Not required to verify on GC test plan verification, because it's verified in another test plan. + [1651140889.243208][5289:5294] CHIP:CTL: Commissioning stage next step: 'SendDACCertificateRequest' -> 'SendAttestationRequest' + [1651140889.243265][5289:5294] CHIP:CTL: Performing next commissioning step 'SendAttestationRequest' + [1651140889.243316][5289:5294] CHIP:CTL: Sending Attestation Request to the device. + [1651140889.243367][5289:5294] CHIP:CTL: Sending Attestation request to 0xffff90000b60 device + + [1651140889.583895][5289:5294] CHIP:CTL: Received Attestation Information from the device + [1651140889.583923][5289:5294] CHIP:CTL: Successfully finished commissioning step 'SendAttestationRequest' + [1651140889.583988][5289:5294] CHIP:CTL: Commissioning stage next step: 'SendAttestationRequest' -> 'AttestationVerification' + [1651140889.584015][5289:5294] CHIP:CTL: Performing next commissioning step 'AttestationVerification' + [1651140889.584036][5289:5294] CHIP:CTL: Verifying attestation + [1651140889.589167][5289:5294] CHIP:CTL: Successfully validated 'Attestation Information' command received from the device. + [1651140889.589244][5289:5294] CHIP:CTL: Successfully finished commissioning step 'AttestationVerification disabled: true - label: "When TH1s commissioning process with DUT is in progress, TH2 sends ArmFailSafe command to the same DUT with ExpiryLengthSeconds value as 950 seconds and Breadcrumb value as 1" + PICS: CGEN.S.C00.Rsp && CGEN.S.C01.Tx verification: | - ./chip-tool generalcommissioning arm-fail-safe 950 1 100 1 0 - - - [1646317402.469879][13150:13155] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0030 Command=0x0000_0001 - [1646317402.469969][13150:13155] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0030 Command 0x0000_0001 - [1646317402.470096][13150:13155] CHIP:TOO: ArmFailSafeResponse: { - [1646317402.470169][13150:13155] CHIP:TOO: errorCode: 4 - [1646317402.470218][13150:13155] CHIP:TOO: debugText: - [1646317402.470266][13150:13155] CHIP:TOO: } - [1646317402.470338][13150:13155] CHIP:DMG: ICR moving to [AwaitingDe] + 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. disabled: true - label: "TH1 sends CSRRequest command to the DUT" verification: | - For the 5.5 commissioning flow the steps are added. Not required to verify on GC test plan verification, because it's verified in another test plan. + [1651140889.829096][5289:5294] CHIP:CTL: Commissioning stage next step: 'SendOpCertSigningRequest' -> 'ValidateCSR' + [1651140889.829144][5289:5294] CHIP:CTL: Performing next commissioning step 'ValidateCSR' + [1651140889.831317][5289:5294] CHIP:CTL: Successfully finished commissioning step 'ValidateCSR' disabled: true - label: "TH1 sends AddNOC command to the DUT" verification: | - For the 5.5 commissioning flow the steps are added. Not required to verify on GC test plan verification, because it's verified in another test plan. + [1651140889.831388][5289:5294] CHIP:CTL: Commissioning stage next step: 'ValidateCSR' -> 'GenerateNOCChain' + [1651140889.831436][5289:5294] CHIP:CTL: Performing next commissioning step 'GenerateNOCChain' + [1651140889.831482][5289:5294] CHIP:CTL: Getting certificate chain for the device from the issuer + [1651140889.831880][5289:5294] CHIP:CTL: Verifying Certificate Signing Request + [1651140889.833332][5289:5294] CHIP:CTL: Generating NOC + + [1651140890.024038][5289:5294] CHIP:CTL: Commissioning stage next step: 'SendTrustedRootCert' -> 'SendNOC' + [1651140890.024093][5289:5294] CHIP:CTL: Performing next commissioning step 'SendNOC' + disabled: true + + - label: "TH1 Sends CommissionComplete command to the DUT" + PICS: CGEN.S.C04.Rsp && CGEN.S.C05.Tx + verification: | + [1651140891.081162][5289:5294] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0030 Command=0x0000_0005 + [1651140891.081231][5289:5294] CHIP:CTL: Received CommissioningComplete response + [1651140891.081281][5289:5294] CHIP:CTL: Successfully finished commissioning step 'SendComplete' + disabled: true + + - label: "Condition 2: Factory reset the DUT" + verification: | + + disabled: true + + - label: "Commission TH1 and DUT" + verification: | + ubuntu@ubuntu:~/apps$ ./chip-tool pairing ble-wifi 1 GRLPrivate_EXT matter123 20202021 3840 + + [1651138461.545846][5161:5166] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0030 Command=0x0000_0005 + [1651138461.545906][5161:5166] CHIP:CTL: Received CommissioningComplete response + [1651138461.545950][5161:5166] CHIP:CTL: Successfully finished commissioning step 'SendComplete' + disabled: true + + - label: "TH1 opens the open-commissioning-window" + verification: | + ubuntu@ubuntu:~/apps$ ./chip-tool pairing open-commissioning-window 1 1 600 1000 3840 + + + [1651138474.832127][5172:5177] CHIP:CTL: Manual pairing code: [35788419489] + [1651138474.832180][5172:5177] CHIP:CTL: SetupQRCode: [MT:-24J0AFN00WGI52OP00] + [1651138474.970651][5172:5177] CHIP:DMG: Received Command Response Status for Endpoint=0 Cluster=0x0000_003C Command=0x0000_0000 Status=0x0 + [1651138474.970678][5172:5177] CHIP:CTL: Successfully opened pairing window on the device + [1651138474.970754][5172:5177] CHIP:DMG: ICR moving to [AwaitingDe] + [1651138474.970792][5172:5177] CHIP:EM: Sending Standalone Ack for MessageCounter:7501147 on exchange 56004i + disabled: true + + - label: "Commission TH2 with DUT using manualcode from TH1" + verification: | + ubuntu@ubuntu:~/apps$ ./chip-tool pairing manualcode 2 35788419489 + + [1651138495.571105][3838:3843] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0030 Command=0x0000_0005 + [1651138495.571174][3838:3843] CHIP:CTL: Received CommissioningComplete response + [1651138495.571223][3838:3843] CHIP:CTL: Successfully finished commissioning step 'SendComplete' + disabled: true + + - label: + 'TH1 sends ArmFailSafe command to the DUT with ExpiryLengthSeconds as + "commission_timeout" seconds and Breadcrumb value as 1' + PICS: CGEN.S.C00.Rsp && CGEN.S.C01.Tx + verification: | + ubuntu@ubuntu:~/apps$ ./chip-tool generalcommissioning arm-fail-safe 60 0 1 0 + + [1651138554.165168][5180:5185] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0030 Command=0x0000_0001 + [1651138554.165272][5180:5185] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0030 Command 0x0000_0001 + [1651138554.165424][5180:5185] CHIP:TOO: ArmFailSafeResponse: { + [1651138554.165499][5180:5185] CHIP:TOO: errorCode: 0 + [1651138554.165556][5180:5185] CHIP:TOO: debugText: + [1651138554.165613][5180:5185] CHIP:TOO: } + [1651138554.165701][5180:5185] CHIP:DMG: ICR moving to [AwaitingDe] + [1651138554.165810][5180:5185] CHIP:EM: Sending Standalone Ack for MessageCounter:4547852 on exchange 39801i + disabled: true + + - label: + 'before the fail-safe timer expires, TH2 sends ArmFailSafe command to + the DUT with ExpiryLengthSeconds as "xx" seconds and Breadcrumb value + as 0' + PICS: CGEN.S.C00.Rsp && CGEN.S.C01.Tx + verification: | + ubuntu@ubuntu:~/apps$ ./chip-tool generalcommissioning arm-fail-safe 60 0 2 0 + + [1651138555.612926][3849:3854] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0030 Command=0x0000_0001 + [1651138555.615710][3849:3854] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0030 Command 0x0000_0001 + [1651138555.615973][3849:3854] CHIP:TOO: ArmFailSafeResponse: { + [1651138555.616042][3849:3854] CHIP:TOO: errorCode: 4 + [1651138555.616089][3849:3854] CHIP:TOO: debugText: + [1651138555.616180][3849:3854] CHIP:TOO: } + [1651138555.616291][3849:3854] CHIP:DMG: ICR moving to [AwaitingDe] + [1651138555.616394][3849:3854] CHIP:EM: Sending Standalone Ack for MessageCounter:6224633 on exchange 56443i disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_CGEN_2_4.yaml b/src/app/tests/suites/certification/Test_TC_CGEN_2_4.yaml index 8e61b66ccf1aee..55d8b2d302cdfb 100644 --- a/src/app/tests/suites/certification/Test_TC_CGEN_2_4.yaml +++ b/src/app/tests/suites/certification/Test_TC_CGEN_2_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: - 90.5. [TC-CGEN-2.4] Verification For CommissioningError on response message - [DUT - Server] + 90.2.4. [TC-CGEN-2.4] Verification For CommissioningError on response + message [DUT - Server] config: nodeId: 0x12344321 @@ -29,119 +29,46 @@ tests: disabled: true - label: - "During PASE Session TH1 sends CommissionComplete command to the DUT" + "During PASE Session, TH1 sends CommissionComplete command to the DUT" + PICS: CGEN.S.C04.Rsp && CGEN.S.C05.Tx verification: | - + Not testable as the execution is in PASE session disabled: true - - label: - "TH1 sends ArmFailSafe command to the DUT with ExpiryLengthSeconds - value as 'commission_timeout' and the Breadcrumb value as 0" + - label: "Complete the Commission for TH1 and DUT" verification: | - ubuntu@ubuntu:~/apps$ sudo ./chip-tool generalcommissioning arm-fail-safe 60 0 60 1 0 - - [1646202957.619162][2956:2961] CHIP:DMG: InteractionModelRevision = 1 - [1646202957.619205][2956:2961] CHIP:DMG: }, - [1646202957.619299][2956:2961] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0030 Command=0x0000_0001 - [1646202957.619369][2956:2961] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0030 Command 0x0000_0001 - [1646202957.619461][2956:2961] CHIP:TOO: ArmFailSafeResponse: { - [1646202957.619522][2956:2961] CHIP:TOO: errorCode: 0 - [1646202957.619556][2956:2961] CHIP:TOO: debugText: - [1646202957.619591][2956:2961] CHIP:TOO: } - [1646202957.619634][2956:2961] CHIP:DMG: ICR moving to [AwaitingDe] - [1646202957.619712][2956:2961] CHIP:EM: Sending Standalone Ack for MessageCounter:5531048 on exchange 43022i disabled: true - label: - "TH1 sends SetRegulatoryConfig command to the DUT with Location - attribute value as '3'" + "TH1 sends SetRegulatoryConfig command to the DUT with + NewRegulatoryConfig data value as greater than '3', Breadcrumb as 0 + and CountryCode value as 'User_countryCode'" + PICS: CGEN.S.C02.Rsp && CGEN.S.C03.Tx verification: | - ubuntu@ubuntu:~/apps$ sudo ./chip-tool generalcommissioning set-regulatory-config 3 0 0 60 1 0 + ./chip-tool generalcommissioning set-regulatory-config 4 new 0 1 0 - [1646204704.308373][6252:6257] CHIP:DMG: InteractionModelRevision = 1 - [1646204704.308415][6252:6257] CHIP:DMG: }, - [1646204704.308526][6252:6257] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0030 Command=0x0000_0003 - [1646204704.308602][6252:6257] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0030 Command 0x0000_0003 - [1646204704.308703][6252:6257] CHIP:TOO: SetRegulatoryConfigResponse: { - [1646204704.308763][6252:6257] CHIP:TOO: errorCode: 0 - [1646204704.308806][6252:6257] CHIP:TOO: debugText: - [1646204704.308847][6252:6257] CHIP:TOO: } - [1646204704.308899][6252:6257] CHIP:DMG: ICR moving to [AwaitingDe] - [1646204704.308974][6252:6257] CHIP:EM: Sending Standalone Ack for MessageCounter:2793138 on exchange 35617i - disabled: true - - - label: - "TH1 sends SetRegulatoryConfig command to the DUT with Location - attribute" - verification: | - ubuntu@ubuntu:~/apps$ sudo ./chip-tool generalcommissioning set-regulatory-config 0 0 0 60 1 0 - [1646203091.878703][2973:2978] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0030 Command=0x0000_0003 - [1646203091.878782][2973:2978] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0030 Command 0x0000_0003 - [1646203091.878888][2973:2978] CHIP:TOO: SetRegulatoryConfigResponse: { - [1646203091.878950][2973:2978] CHIP:TOO: errorCode: 0 - [1646203091.878994][2973:2978] CHIP:TOO: debugText: - [1646203091.879063][2973:2978] CHIP:TOO: } - [1646203091.879114][2973:2978] CHIP:DMG: ICR moving to [AwaitingDe] - [1646203091.879197][2973:2978] CHIP:EM: Sending Standalone Ack for MessageCounter:7339336 on exchange 13158i - disabled: true - - - label: "TH1 sends AttestationRequest command to the DUT" - verification: | - For the 5.5 commissioning flow the steps are added. Not required to verify on GC test plan verification, because it's verified in another test plan. - disabled: true - - - label: "TH1 sends CSRRequest command to the DUT" - verification: | - For the 5.5 commissioning flow the steps are added. Not required to verify on GC test plan verification, because it's verified in another test plan. - disabled: true - - - label: "TH1 sends AddNOC command to the DUT" - verification: | - For the 5.5 commissioning flow the steps are added. Not required to verify on GC test plan verification, because it's verified in another test plan. - disabled: true - - - label: "TH1 Sends CommissionComplete command to the DUT" - verification: | - ubuntu@ubuntu:~/apps$ sudo ./chip-tool generalcommissioning commissioning-complete 1 0 - - [1646203451.094771][3006:3011] CHIP:DMG: InteractionModelRevision = 1 - [1646203451.094813][3006:3011] CHIP:DMG: }, - [1646203451.094921][3006:3011] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0030 Command=0x0000_0005 - [1646203451.094997][3006:3011] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0030 Command 0x0000_0005 - [1646203451.095097][3006:3011] CHIP:TOO: CommissioningCompleteResponse: { - [1646203451.095157][3006:3011] CHIP:TOO: errorCode: 0 - [1646203451.095200][3006:3011] CHIP:TOO: debugText: - [1646203451.095242][3006:3011] CHIP:TOO: } - [1646203451.095293][3006:3011] CHIP:DMG: ICR moving to [AwaitingDe] - [1646203451.095375][3006:3011] CHIP:EM: Sending Standalone Ack for MessageCounter:14415629 on exchange 59296i + [1653996382.940789][7220:7225] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0030 Command=0x0000_0003 + [1653996382.940900][7220:7225] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0030 Command 0x0000_0003 + [1653996382.941033][7220:7225] CHIP:TOO: SetRegulatoryConfigResponse: { + [1653996382.941119][7220:7225] CHIP:TOO: errorCode: 1 + [1653996382.941171][7220:7225] CHIP:TOO: debugText: new + [1653996382.941220][7220:7225] CHIP:TOO: } + [1653996382.941317][7220:7225] CHIP:DMG: ICR moving to [AwaitingDe] disabled: true - label: - "TH1 reads Breadcrumb value from the DUT NOTE: Reading an attribute is - to confirm that commissioning successfully completed" - verification: | - ubuntu@ubuntu:~/apps$ sudo ./chip-tool generalcommissioning read breadcrumb 1 0 - - [1646205172.305272][6395:6400] CHIP:DMG: SuppressResponse = true, - [1646205172.305305][6395:6400] CHIP:DMG: InteractionModelRevision = 1 - [1646205172.305336][6395:6400] CHIP:DMG: } - [1646205172.305511][6395:6400] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0030 Attribute 0x0000_0000DataVersion: 1894223167 - [1646205172.305586][6395:6400] CHIP:TOO: Breadcrumb: 0 - [1646205172.305747][6395:6400] CHIP:EM: Sending Standalone Ack for MessageCounter:10552439 on exchange 39551i - disabled: true - - - label: "TH1 Sends CommissionComplete command to the DUT" + "After Fail-Safe timer expires, TH1 Sends the CommissionComplete + command to the DUT" + PICS: CGEN.S.C00.Rsp && CGEN.S.C01.Tx verification: | - ubuntu@ubuntu:~/apps$ sudo ./chip-tool generalcommissioning commissioning-complete 1 0 - - [1646205216.257281][6409:6414] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0030 Command=0x0000_0005 - [1646205216.257341][6409:6414] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0030 Command 0x0000_0005 - [1646205216.257418][6409:6414] CHIP:TOO: CommissioningCompleteResponse: { - [1646205216.257463][6409:6414] CHIP:TOO: errorCode: 0 - [1646205216.257495][6409:6414] CHIP:TOO: debugText: - [1646205216.257531][6409:6414] CHIP:TOO: } - [1646205216.257578][6409:6414] CHIP:DMG: ICR moving to [AwaitingDe] - [1646205216.257725][6409:6414] CHIP:EM: Sending Standalone Ack for MessageCounter:13393976 on exchange 5554i + ubuntu@ubuntu:~/apps$ ./chip-tool generalcommissioning commissioning-complete 1 0 + [1653996461.207051][7229:7234] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0030 Command=0x0000_0005 + [1653996461.207140][7229:7234] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0030 Command 0x0000_0005 + [1653996461.207228][7229:7234] CHIP:TOO: CommissioningCompleteResponse: { + [1653996461.207281][7229:7234] CHIP:TOO: errorCode: 3 + [1653996461.207319][7229:7234] CHIP:TOO: debugText: + [1653996461.207357][7229:7234] CHIP:TOO: } + [1653996461.207416][7229:7234] CHIP:DMG: ICR moving to [AwaitingDe] disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_MF_1_1.yaml b/src/app/tests/suites/certification/Test_TC_MF_1_1.yaml index 0776af6ddfa918..fc7a59f6ffa88d 100644 --- a/src/app/tests/suites/certification/Test_TC_MF_1_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_MF_1_1.yaml @@ -13,7 +13,7 @@ # limitations under the License. # Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default -name: 22.1.1. [TC-MF-1.1] Administrator Behavior using ECM [DUT - Commissioner] +name: 24.1.1. [TC-MF-1.1] Administrator Behavior using ECM [DUT - Commissioner] config: nodeId: 0x12344321 @@ -23,8 +23,7 @@ config: tests: - label: "TH_CR1 starts a commissioning process with TH_CE" verification: | - "1. Provision the device using 1st controller chip-tool on the raspi (use above instructions) - " + "1. Provision the device using 1st controller chip-tool on the raspi (use above instructions)" disabled: true - label: @@ -34,7 +33,7 @@ tests: verification: | On 1st controller using chip tool, open commissioning window using ECM - ./chip-tool pairing open-commissioning-window 1 1 400 2000 3840 + ./chip-tool pairing open-commissioning-window 1 1 400 2000 3841 Controller: @@ -82,7 +81,7 @@ tests: verification: | On 2nd controller, using chip-tool connect using manual code. Below is the example when using chip tool as controller (considering 35998938564 as the manual code generated by 1st controller) - ./chip-tool pairing manualcode 2 35998938564 + ./chip-tool pairing code 2 35998938564 Verify whether you got below message in the log of TH @@ -130,7 +129,7 @@ tests: Verify read attribute returns the updated value written - ./chip-tool basic read node-label 1 0 + ./chip-tool basic read node-label 2 0 CHIP:DMG: ReportDataMessage = [1649671466.310233][20969:20974] CHIP:DMG: { @@ -169,7 +168,7 @@ tests: Below is the example using chip tool as controller - sudo ./chip-tool operationalcredentials read fabrics 2 0 --fabric-filtered 0 + ./chip-tool operationalcredentials read fabrics 2 0 --fabric-filtered 0 CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0001 DataVersion: 3621507063 @@ -301,7 +300,7 @@ tests: 1. Using your DUT controller open commissioning window using ECM Below is an example when using chip tool as controller - ./chip-tool pairing open-commissionig-window 2 1 300 1000 3840 + ./chip-tool pairing open-commissionig-window 2 1 300 1000 3841 CHIP: [IN] Prepared encrypted message 0x124012e80 to 0x0000000000000001 of type 0x8 and protocolId (0, 1) on exchange 50829i with MessageCounter:0. [1635693418549] [30519:4583024] CHIP: [IN] Sending encrypted msg 0x124012e80 with MessageCounter:0 to 0x0000000000000001 at monotonic time: 5995099243 msec @@ -321,7 +320,7 @@ tests: Below is an example when using chip tool as controller - /chip-tool administratorcommissioning revoke-commissioning 2 0 --timedInteractionTimeoutMs 1000 + ./chip-tool administratorcommissioning revoke-commissioning 2 0 --timedInteractionTimeoutMs 1000 CHIP: [DMG] InvokeResponseMessage = @@ -361,7 +360,7 @@ tests: with TH_CE" verification: | On 3rd controller using chip-tool connect using manual code generated from 1st controller. This attempt should fail, i.e - ./chip-tool pairing manualcode 1 34995354639 + ./chip-tool pairing code 1 34995354639 verify you got the following message in the TH log CHIP:SC: PASESession timed out while waiting for a response from the peer. Expected message type was 33 @@ -419,7 +418,7 @@ tests: 1. Using your DUT controller open commissioning window using ECM Below is an example when using chip tool as controller - ./chip-tool pairing open-commissionig-window 2 1 300 1000 3840 + ./chip-tool pairing open-commissioning-window 2 1 180 1000 3840 CHIP: [IN] Prepared encrypted message 0x124012e80 to 0x0000000000000001 of type 0x8 and protocolId (0, 1) on exchange 50829i with MessageCounter:0. [1635693418549] [30519:4583024] CHIP: [IN] Sending encrypted msg 0x124012e80 with MessageCounter:0 to 0x0000000000000001 at monotonic time: 5995099243 msec @@ -460,7 +459,7 @@ tests: verification: | On 1st controller, using chip-tool connect using manual code. Below is the example when using chip tool as controller (considering 34995354639 as the manual code generated by DUT) - ./chip-tool pairing manualcode 2 34995354639 + ./chip-tool pairing code 2 34995354639 [1651786200275] [36301:315544] CHIP: [DMG] Received Command Response Data, Endpoint=0 Cluster=0x0000_003E Command=0x0000_0008 [1651786200275] [36301:315544] CHIP: [CTL] Device returned status 9 on receiving the NOC diff --git a/src/app/tests/suites/certification/Test_TC_MF_1_11.yaml b/src/app/tests/suites/certification/Test_TC_MF_1_11.yaml index 2859225e130e9b..743ca30b45a7ba 100644 --- a/src/app/tests/suites/certification/Test_TC_MF_1_11.yaml +++ b/src/app/tests/suites/certification/Test_TC_MF_1_11.yaml @@ -24,6 +24,7 @@ config: tests: - label: "TH_CR2 starts a commissioning process with TH_CE" + PICS: PICS_MF verification: | "1. Provision the device using 2nd controller chip tool on the raspi (use above instructions) , " disabled: true @@ -31,6 +32,7 @@ tests: - label: "TH_CR2 opens a commissioning window on TH_CE using a commissioning timeout of PIXIT_COMM_WIN seconds using ECM" + PICS: PICS_MF verification: | On the 2nd controller using chip tool, open commissioning window using ECM @@ -65,10 +67,11 @@ tests: - label: "Set up a DUT_CR1 to start attempting to do PASE to TH_CE and failing 20 times. This can be done using an invalid passcode" + PICS: PICS_MF verification: | 1. On 2nd controller using chip-tool connect using wrong manual code. Repeat the step for 20 times. - ./chip-tool pairing manualcode 1 36177160938 (With wrong manual code) + ./chip-tool pairing code 1 36177160938 --timeout 3 (With wrong manual code) verify you got the following message in the TH log CHIP:SC: PASESession timed out while waiting for a response from the peer. Expected message type was 33 @@ -79,10 +82,11 @@ tests: - label: "DUT_CR1 starts a 21st commissioning process using a commissioning timeout of PIXIT_COMM_WIN seconds using ECM" + PICS: PICS_MF verification: | 1. On 2nd controller using chip tool connect using correct passcode. - ./chip-tool pairing manualcode 1 36177160937 (correct passcode) + ./chip-tool pairing code 1 36177160937 (correct passcode) verify you got the following message in the TH log CHIP:SC: PASESession timed out while waiting for a response from the peer. Expected message type was 33 @@ -93,10 +97,11 @@ tests: - label: "TH_CR3 starts a commissioning process with TH_CE using the correct PAKEVerifier" + PICS: PICS_MF verification: | 1. On 3rdd controller using chip-tool connect using correct passcode - ./chip-tool pairing manualcode 1 36177160938 (With wrong manual code) + ./chip-tool pairing code 1 36177160938 (With wrong manual code) verify you got the following message in the TH log CHIP:SC: PASESession timed out while waiting for a response from the peer. Expected message type was 33 diff --git a/src/app/tests/suites/certification/Test_TC_MF_1_12.yaml b/src/app/tests/suites/certification/Test_TC_MF_1_12.yaml index 4b7f00242f2dc3..6114491ee41cfd 100644 --- a/src/app/tests/suites/certification/Test_TC_MF_1_12.yaml +++ b/src/app/tests/suites/certification/Test_TC_MF_1_12.yaml @@ -24,6 +24,7 @@ config: tests: - label: "TH_CR2 starts a commissioning process with TH_CE" + PICS: PICS_MF verification: | "1. Provision the device using 2nd controller chip tool on the raspi (use above instructions) disabled: true @@ -31,6 +32,7 @@ tests: - label: "TH_CR2 opens a commissioning window on TH_CE using a commissioning timeout of PIXIT_COMM_WIN seconds using BCM" + PICS: PICS_MF verification: | On the 2nd controller using chip tool, open commissioning window using BCM @@ -73,10 +75,11 @@ tests: - label: "Set up a DUT_CR1 to start attempting to do PASE to TH_CE and failing 20 times. This can be done using an invalid passcode" + PICS: PICS_MF verification: | On 2nd controller, using chip-tool connect using wrong passcode. Repeat the step for 20 times. - ./chip-tool pairing onnetwork 1 20202019 (With wrong passcode) + ./chip-tool pairing onnetwork 1 20202019 --timeout 3 (With wrong passcode) verify you got the following message in the TH log CHIP:SC: PASESession timed out while waiting for a response from the peer. Expected message type was 33 @@ -87,6 +90,7 @@ tests: - label: "DUT_CR1 starts a 21st commissioning process using a commissioning timeout of PIXIT_COMM_WIN seconds using BCM" + PICS: PICS_MF verification: | On 2nd controller, using chip tool connect using correct passcode. @@ -101,6 +105,7 @@ tests: - label: "TH_CR3 starts a commissioning process with TH_CE using the correct PAKEVerifier" + PICS: PICS_MF verification: | 1. On 3rd controller using chip-tool connect using correct passcode diff --git a/src/app/tests/suites/certification/Test_TC_MF_1_13.yaml b/src/app/tests/suites/certification/Test_TC_MF_1_13.yaml index 0e5831bc92f664..5713a05ddafa89 100644 --- a/src/app/tests/suites/certification/Test_TC_MF_1_13.yaml +++ b/src/app/tests/suites/certification/Test_TC_MF_1_13.yaml @@ -24,20 +24,20 @@ config: tests: - label: "TH_CR1 starts a commissioning process with DUT_CE" + PICS: PICS_MF verification: | - "1. Provision the device using 1st controller chip tool on the raspi (use above instructions) , - " + "1. Provision the device using 1st controller chip tool on the raspi (use above instructions) ," disabled: true - label: "TH_CR1 opens a commissioning window on DUT_CE using a commissioning - timeout of PIXIT_COMM_WIN seconds using ECM and TH_CR3 Commissions - with DUT_CE" + timeout of PIXIT_COMM_WIN seconds using ECM" + PICS: PICS_MF verification: | On the 1st controller using chip tool, open commissioning window using ECM - ./chip-tool pairing open-commissioning-window 1 1 100 1000 3840 + ./chip-tool pairing open-commissioning-window 1 1 180 1000 3840 [1635874557.409509][4549:4554] CHIP:SC: Success status report received. Session was established [1635874557.409553][4549:4554] CHIP:IN: New secure session created for device 0x0000000000000001, key 76!! @@ -49,14 +49,6 @@ tests: [1635874557.417449][4549:4554] CHIP:DMG: ICR moving to [CommandSen] [1635874557.417505][4549:4554] CHIP:CTL: Manual pairing code: [35484132896] [1635874557.417577][4549:4554] CHIP:CTL: SetupQRCode: [MT:00000CQM00AT-F5A510] - - - 1. On 3rd controller using chip tool connect using manual code - - ./chip-tool pairing manualcode 1 35484132896 - - Verify you got below message - Device commissioning completed with success disabled: true - label: "DNS-SD records shows DUT_CE advertising" @@ -77,15 +69,27 @@ tests: grl@grl-ThinkPad-L480:~/2nd_cntrl/connectedhomeip/examples/chip-tool/out/debug$ disabled: true + - label: "TH_CR3 Commissions with DUT_CE" + PICS: PICS_MF + verification: | + 1. On 3rd controller using chip tool connect using manual code + + ./chip-tool pairing code 3 35484132896 + + Verify you got below message + Device commissioning completed with success + disabled: true + - label: "TH_CR1 opens a commissioning window on DUT_CE using a commissioning timeout of PIXIT_COMM_WIN seconds using ECM and TH_CR2 Commissions with DUT_CE" + PICS: PICS_MF verification: | On the 1st controller using chip tool, open commissioning window using ECM - ./chip-tool pairing open-commissioning-window 1 1 100 1000 3840 + ./chip-tool pairing open-commissioning-window 1 1 180 1000 3840 [1635874557.409509][4549:4554] CHIP:SC: Success status report received. Session was established [1635874557.409553][4549:4554] CHIP:IN: New secure session created for device 0x0000000000000001, key 76!! @@ -101,7 +105,7 @@ tests: 1. On 2nd controller using chip tool connect using manual code - ./chip-tool pairing manualcode 1 35484132896 + ./chip-tool pairing code 1 35484132896 Verify you got below message Device commissioning completed with success @@ -110,11 +114,12 @@ tests: - label: "TH_CR1 opens a commissioning window on DUT_CE using a commissioning timeout of PIXIT_COMM_WIN seconds using ECM" + PICS: PICS_MF verification: | On the 1st controller using chip tool, open commissioning window using ECM - ./chip-tool pairing open-commissioning-window 1 1 100 1000 3840 + ./chip-tool pairing open-commissioning-window 1 1 180 1000 3840 [1635874557.409509][4549:4554] CHIP:SC: Success status report received. Session was established [1635874557.409553][4549:4554] CHIP:IN: New secure session created for device 0x0000000000000001, key 76!! @@ -132,47 +137,49 @@ tests: "Before the expiration of PIXIT_COMM_WIN seconds which was set in step 5, TH_CR1 opens a 2nd commissioning window on DUT_CE using a commissioning timeout of PIXIT_COMM_WIN seconds using ECM" + PICS: PICS_MF verification: | Before the timer expiry, on the 1st controller using chip tool, open commissioning window using ECM. Verify the General code return error 1 - ./chip-tool pairing open-commissioning-window 1 1 100 1000 3840 + ./chip-tool pairing open-commissioning-window 1 1 180 1000 3840 CHIP:DMG: InvokeResponseMessage = [1650527291.952055][8566:8571] CHIP:DMG: { - [1650527291.952074][8566:8571] CHIP:DMG: suppressResponse = false, - [1650527291.952091][8566:8571] CHIP:DMG: InvokeResponseIBs = - [1650527291.952116][8566:8571] CHIP:DMG: [ - [1650527291.952134][8566:8571] CHIP:DMG: InvokeResponseIB = - [1650527291.952172][8566:8571] CHIP:DMG: { - [1650527291.952195][8566:8571] CHIP:DMG: CommandStatusIB = - [1650527291.952220][8566:8571] CHIP:DMG: { - [1650527291.952245][8566:8571] CHIP:DMG: CommandPathIB = - [1650527291.952276][8566:8571] CHIP:DMG: { - [1650527291.952303][8566:8571] CHIP:DMG: EndpointId = 0x0, - [1650527291.952334][8566:8571] CHIP:DMG: ClusterId = 0x3c, - [1650527291.952369][8566:8571] CHIP:DMG: CommandId = 0x0, - [1650527291.952394][8566:8571] CHIP:DMG: }, + [1650527291.952074][8566:8571] CHIP:DMG: suppressResponse = false, + [1650527291.952091][8566:8571] CHIP:DMG: InvokeResponseIBs = + [1650527291.952116][8566:8571] CHIP:DMG: [ + [1650527291.952134][8566:8571] CHIP:DMG: InvokeResponseIB = + [1650527291.952172][8566:8571] CHIP:DMG: { + [1650527291.952195][8566:8571] CHIP:DMG: CommandStatusIB = + [1650527291.952220][8566:8571] CHIP:DMG: { + [1650527291.952245][8566:8571] CHIP:DMG: CommandPathIB = + [1650527291.952276][8566:8571] CHIP:DMG: { + [1650527291.952303][8566:8571] CHIP:DMG: EndpointId = 0x0, + [1650527291.952334][8566:8571] CHIP:DMG: ClusterId = 0x3c, + [1650527291.952369][8566:8571] CHIP:DMG: CommandId = 0x0, + [1650527291.952394][8566:8571] CHIP:DMG: }, [1650527291.952431][8566:8571] CHIP:DMG: - [1650527291.952458][8566:8571] CHIP:DMG: StatusIB = - [1650527291.952488][8566:8571] CHIP:DMG: { - [1650527291.952519][8566:8571] CHIP:DMG: status = 0x01 (FAILURE), - [1650527291.952555][8566:8571] CHIP:DMG: cluster-status = 0x1, - [1650527291.952578][8566:8571] CHIP:DMG: }, + [1650527291.952458][8566:8571] CHIP:DMG: StatusIB = + [1650527291.952488][8566:8571] CHIP:DMG: { + [1650527291.952519][8566:8571] CHIP:DMG: status = 0x01 (FAILURE), + [1650527291.952555][8566:8571] CHIP:DMG: cluster-status = 0x1, + [1650527291.952578][8566:8571] CHIP:DMG: }, [1650527291.952612][8566:8571] CHIP:DMG: - [1650527291.952634][8566:8571] CHIP:DMG: }, + [1650527291.952634][8566:8571] CHIP:DMG: }, [1650527291.952671][8566:8571] CHIP:DMG: - [1650527291.952694][8566:8571] CHIP:DMG: }, + [1650527291.952694][8566:8571] CHIP:DMG: }, [1650527291.952731][8566:8571] CHIP:DMG: - [1650527291.952751][8566:8571] CHIP:DMG: ], + [1650527291.952751][8566:8571] CHIP:DMG: ], [1650527291.952781][8566:8571] CHIP:DMG: - [1650527291.952795][8566:8571] CHIP:DMG: InteractionModelRevision = 1 + [1650527291.952795][8566:8571] CHIP:DMG: InteractionModelRevision = 1 [1650527291.952807][8566:8571] CHIP:DMG: }, [1650527291.952886][8566:8571] CHIP:DMG: Received Command Response Status for Endpoint=0 Cluster=0x0000_003C Command=0x0000_0000 Status=0x1 [1650527291.952931][8566:8571] CHIP:CTL: Failed to open pairing window on the device. Status IM Error 0x00000601: Cluster-specific error: 0x01 disabled: true - label: "TH_CR1 reads the list of Fabrics on DUT_CE" + PICS: PICS_MF && PICS_MF_BCM verification: | On 1st controller using chip tool, read fabrics list @@ -209,6 +216,7 @@ tests: - label: "Wait for the expiration of PIXIT_COMM_WIN seconds that was set in step 6" + PICS: PICS_MF verification: | Wait for the expiration of PIXIT_COMM_WIN seconds disabled: true @@ -216,6 +224,7 @@ tests: - label: "TH_CR1 re-opens a commissioning window on DUT_CE using a commissioning timeout of PIXIT_COMM_WIN seconds using BCM" + PICS: PICS_MF verification: | On the 1st controller using chip tool, open commissioning window using BCM @@ -268,8 +277,9 @@ tests: - label: "Before the expiration of PIXIT_COMM_WIN seconds that was set in step - 9, TH_CR3 opens a 2nd commissioning window on DUT_CE using a + 10, TH_CR3 opens a 2nd commissioning window on DUT_CE using a commissioning timeout of PIXIT_COMM_WIN seconds using BCM" + PICS: PICS_MF verification: | On the 3rd controller using chip tool, open commissioning window using BCM before the timer expiry of the above step @@ -312,11 +322,13 @@ tests: - label: "Wait for the expiration of PIXIT_COMM_WIN seconds that was set in step 11" + PICS: PICS_MF verification: | Wait for the expiration of PIXIT_COMM_WIN seconds disabled: true - label: "TH_CR1 reads the list of Fabrics on DUT_CE" + PICS: PICS_MF verification: | On 1st controller using chip tool, read fabrics list @@ -353,6 +365,7 @@ tests: - label: "TH_CR1 opens a commissioning window on DUT_CE using a commissioning timeout of PIXIT_COMM_WIN seconds using BCM" + PICS: PICS_MF verification: | On the 1st controller using chip tool, open commissioning window using BCM @@ -397,6 +410,7 @@ tests: "Before the expiration of PIXIT_COMM_WIN seconds that was set in step 14, TH_CR2 opens a second commissioning window on DUT_CE using a commissioning timeout of PIXIT_COMM_WIN seconds using BCM" + PICS: PICS_MF verification: | On the 2nd controller using chip tool, open commissioning window using BCM before timer expiry from above step diff --git a/src/app/tests/suites/certification/Test_TC_MF_1_14.yaml b/src/app/tests/suites/certification/Test_TC_MF_1_14.yaml index e26699ccfabde3..d86d5d90efa9c4 100644 --- a/src/app/tests/suites/certification/Test_TC_MF_1_14.yaml +++ b/src/app/tests/suites/certification/Test_TC_MF_1_14.yaml @@ -14,7 +14,7 @@ # Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default name: - 22.1.14. [TC-MF-1.14] Open commissioning window on DUT twice using ECM then + 3.1.14. [TC-MF-1.14] Open commissioning window on DUT twice using ECM then BCM [DUT - Commissioner] config: @@ -24,13 +24,17 @@ config: tests: - label: "DUT_CR1 starts a commissioning process with TH_CE" + PICS: PICS_MF verification: | - 1. Provision the device using your DUT controller (use above instructions) , + "1. Provision the device using your DUT controller (use above instructions) , + " disabled: true - label: - "DUT_CR1 opens a commissioning window on TH_CE using ECM and TH_CR3 - Commissions with TH_CE" + "DUT_CR1 opens a commissioning window on TH_CE using a commissioning + timeout of PIXIT_COMM_WIN seconds using ECM and TH_CR3 Commissions + with TH_CE" + PICS: PICS_MF verification: | On your DUT controller, open commissioning window using ECM @@ -50,14 +54,19 @@ tests: - On 2nd controller using chip tool connect using manual code + On 3rd controller using chip tool connect using manual code ./chip-tool pairing code 1 35484132896 + + Verify you got below message + Device commissioning completed with success disabled: true - label: - "DUT_CR1 opens a commissioning window on TH_CE using ECM and TH_CR2 - Commissions with TH_CE" + "DUT_CR1 opens a commissioning window on TH_CE using a commissioning + timeout of PIXIT_COMM_WIN seconds using ECM and TH_CR2 Commissions + with TH_CE" + PICS: PICS_MF verification: | On your DUT controller, open commissioning window using ECM @@ -77,14 +86,18 @@ tests: - On 3rd controller using chip tool connect using manual code + On 2nd controller using chip tool connect using manual code ./chip-tool pairing code 1 35484132896 + + Verify you got below message + Device commissioning completed with success disabled: true - label: "DUT_CR1 opens a commissioning window on TH_CE using a commissioning timeout of PIXIT_COMM_WIN seconds using ECM" + PICS: PICS_MF verification: | On your DUT controller, open commissioning window using ECM @@ -104,98 +117,89 @@ tests: disabled: true - label: - "Before the expiration of PIXIT_COMM_WIN seconds, DUT_CR1 opens a 2nd - commissioning window on TH_CE using a commissioning timeout of - PIXIT_COMM_WIN seconds using ECM" + "Before the expiration of PIXIT_COMM_WIN seconds that was set in step + 4, DUT_CR1 opens a 2nd commissioning window on TH_CE using a + commissioning timeout of PIXIT_COMM_WIN seconds using ECM" + PICS: PICS_MF verification: | On your DUT controller, open commissioning window using ECM before the timer expiry from the above step Below is the example is using chip tool as controller ./chip-tool pairing open-commissioning-window 1 1 100 1000 3840 - [1635874557.409509][4549:4554] CHIP:SC: Success status report received. Session was established - [1635874557.409553][4549:4554] CHIP:IN: New secure session created for device 0x0000000000000001, key 76!! - [1635874557.409649][4549:4554] CHIP:CTL: OpenCommissioningWindow for device ID 1 - [1635874557.416929][4549:4554] CHIP:DMG: ICR moving to [AddingComm] - [1635874557.417092][4549:4554] CHIP:DMG: ICR moving to [AddedComma] - [1635874557.417215][4549:4554] CHIP:IN: Prepared encrypted message 0xaaaac5947d10 to 0x0000000000000001 of type 0x8 and protocolId (0, 1) on exchange 5541i with MessageCounter:0. - [1635874557.417271][4549:4554] CHIP:IN: Sending encrypted msg 0xaaaac5947d10 with MessageCounter:0 to 0x0000000000000001 at monotonic time: 16129075 msec - [1635874557.417449][4549:4554] CHIP:DMG: ICR moving to [CommandSen] - [1635874557.417505][4549:4554] CHIP:CTL: Manual pairing code: [35484132896] - [1635874557.417577][4549:4554] CHIP:CTL: SetupQRCode: [MT:00000CQM00AT-F5A510] + CHIP:DMG: InvokeResponseMessage = + [1650527622.373450][15824:15829] CHIP:DMG: { + [1650527622.373531][15824:15829] CHIP:DMG: suppressResponse = false, + [1650527622.373628][15824:15829] CHIP:DMG: InvokeResponseIBs = + [1650527622.373734][15824:15829] CHIP:DMG: [ + [1650527622.373817][15824:15829] CHIP:DMG: InvokeResponseIB = + [1650527622.373913][15824:15829] CHIP:DMG: { + [1650527622.374001][15824:15829] CHIP:DMG: CommandStatusIB = + [1650527622.374087][15824:15829] CHIP:DMG: { + [1650527622.374182][15824:15829] CHIP:DMG: CommandPathIB = + [1650527622.374296][15824:15829] CHIP:DMG: { + [1650527622.374382][15824:15829] CHIP:DMG: EndpointId = 0x0, + [1650527622.374490][15824:15829] CHIP:DMG: ClusterId = 0x3c, + [1650527622.374593][15824:15829] CHIP:DMG: CommandId = 0x1, + [1650527622.374682][15824:15829] CHIP:DMG: }, + [1650527622.374799][15824:15829] CHIP:DMG: + [1650527622.374896][15824:15829] CHIP:DMG: StatusIB = + [1650527622.374979][15824:15829] CHIP:DMG: { + [1650527622.375086][15824:15829] CHIP:DMG: status = 0x01 (FAILURE), + [1650527622.375236][15824:15829] CHIP:DMG: cluster-status = 0x1, + [1650527622.375320][15824:15829] CHIP:DMG: }, + [1650527622.375426][15824:15829] CHIP:DMG: + [1650527622.375527][15824:15829] CHIP:DMG: }, + [1650527622.375616][15824:15829] CHIP:DMG: + [1650527622.375704][15824:15829] CHIP:DMG: }, + [1650527622.375786][15824:15829] CHIP:DMG: + [1650527622.375864][15824:15829] CHIP:DMG: ], + [1650527622.375940][15824:15829] CHIP:DMG: + [1650527622.376000][15824:15829] CHIP:DMG: InteractionModelRevision = 1 + [1650527622.376058][15824:15829] CHIP:DMG: }, + [1650527622.376202][15824:15829] CHIP:DMG: Received Command Response Status for Endpoint=0 Cluster=0x0000_003C Command=0x0000_0001 Status=0x1 + [1650527622.376278][15824:15829] CHIP:TOO: Error: IM Error 0x00000601: Cluster-specific error: 0x01 disabled: true - label: "DUT_CR1 reads the list of Fabrics on TH_CE" + PICS: PICS_MF && PICS_MF_BCM verification: | - On your DUT controller using chip tool read fabrics list - - ./chip-tool operationalcredentials read fabrics-list 1 0 - - [1635924252.914294][9545:9550] CHIP:DMG: ReportData = - [1635924252.914337][9545:9550] CHIP:DMG: { - [1635924252.914370][9545:9550] CHIP:DMG: AttributeDataList = - [1635924252.914409][9545:9550] CHIP:DMG: [ - [1635924252.914446][9545:9550] CHIP:DMG: AttributeDataElement = - [1635924252.914490][9545:9550] CHIP:DMG: { - [1635924252.914524][9545:9550] CHIP:DMG: AttributePath = - [1635924252.914570][9545:9550] CHIP:DMG: { - [1635924252.914610][9545:9550] CHIP:DMG: NodeId = 0x1, - [1635924252.914667][9545:9550] CHIP:DMG: EndpointId = 0x0, - [1635924252.914724][9545:9550] CHIP:DMG: ClusterId = 0x3e, - [1635924252.914780][9545:9550] CHIP:DMG: FieldTag = 0x0000_0001, - [1635924252.914828][9545:9550] CHIP:DMG: } - [1635924252.914878][9545:9550] CHIP:DMG: - [1635924252.914919][9545:9550] CHIP:DMG: Data = [ - [1635924252.914966][9545:9550] CHIP:DMG: - [1635924252.915012][9545:9550] CHIP:DMG: { - [1635924252.915063][9545:9550] CHIP:DMG: 0x0 = 1, - [1635924252.915112][9545:9550] CHIP:DMG: 0x1 = [ - [1635924252.915180][9545:9550] CHIP:DMG: 0x4, 0xd6, 0x7d, 0xf1, 0x70, 0x4, 0x8, 0xb0, 0x4b, 0x2b, 0x86, 0xc, 0xe4, 0x28, 0xfa, 0xaa, 0xd5, 0x61, 0x92, 0xf4, 0x53, 0x2, 0xe9, 0xa2, 0x91, 0x17, 0x67, 0x89, 0xe7, 0xdc, 0x81, 0x18, 0x11, 0xe4, 0x41, 0x88, 0xbd, 0xdc, 0x6, 0xee, 0x1, 0x53, 0x63 - [1635924252.915248][9545:9550] CHIP:DMG: ] - [1635924252.915296][9545:9550] CHIP:DMG: 0x2 = 50504, - [1635924252.915345][9545:9550] CHIP:DMG: 0x3 = 0, - [1635924252.915392][9545:9550] CHIP:DMG: 0x4 = 1, - [1635924252.915445][9545:9550] CHIP:DMG: 0x5 = "", - [1635924252.915518][9545:9550] CHIP:DMG: }, - [1635924252.915573][9545:9550] CHIP:DMG: { - [1635924252.915622][9545:9550] CHIP:DMG: 0x0 = 2, - [1635924252.915693][9545:9550] CHIP:DMG: 0x1 = [ - [1635924252.915790][9545:9550] CHIP:DMG: 0x4, 0x79, 0x31, 0x7e, 0x45, 0x90, 0x63, 0xd2, 0x1e, 0x54, 0x63, 0x38, 0x11, 0x6b, 0xb4, 0xd0, 0xcc, 0x5e, 0xad, 0x1d, 0xfe, 0xbb, 0xa6, 0xb3, 0xbf, 0x41, 0x25, 0x47, 0x1f, 0x26, 0x0, 0x5a, 0x80, 0xed, 0xdf, 0x98, 0xcc, 0xe7, 0xf3, 0xac, 0x81, 0x92, - [1635924252.915870][9545:9550] CHIP:DMG: ] - [1635924252.915943][9545:9550] CHIP:DMG: 0x2 = 33608, - [1635924252.915996][9545:9550] CHIP:DMG: 0x3 = 0, - [1635924252.916047][9545:9550] CHIP:DMG: 0x4 = 2, - [1635924252.916098][9545:9550] CHIP:DMG: 0x5 = "", - [1635924252.916150][9545:9550] CHIP:DMG: }, - [1635924252.916205][9545:9550] CHIP:DMG: ], - [1635924252.916257][9545:9550] CHIP:DMG: DataElementVersion = 0x0, - [1635924252.916315][9545:9550] CHIP:DMG: }, - [1635924252.916383][9545:9550] CHIP:DMG: - [1635924252.916427][9545:9550] CHIP:DMG: ], - [1635924252.916492][9545:9550] CHIP:DMG: - [1635924252.916534][9545:9550] CHIP:DMG: } - [1635924252.916707][9545:9550] CHIP:ZCL: ReadAttributesResponse: - [1635924252.916750][9545:9550] CHIP:ZCL: ClusterId: 0x0000_003E - [1635924252.916795][9545:9550] CHIP:ZCL: attributeId: 0x0000_0001 - [1635924252.916836][9545:9550] CHIP:ZCL: status: Success (0x0000) - [1635924252.916882][9545:9550] CHIP:ZCL: attribute TLV Type: 0x16 - [1635924252.916947][9545:9550] CHIP:TOO: OnOperationalCredentialsFabricsListListAttributeResponse: 2 entries - [1635924252.917171][9545:9550] CHIP:TOO: FabricDescriptor[1]: - [1635924252.917214][9545:9550] CHIP:TOO: fabricIndex: 1 - [1635924252.917252][9545:9550] CHIP:ZCL: RootPublicKey: 65 - [1635924252.917289][9545:9550] CHIP:TOO: vendorId: 50504 - [1635924252.917322][9545:9550] CHIP:TOO: fabricId: 0 - [1635924252.917357][9545:9550] CHIP:TOO: nodeId: 1 - [1635924252.917389][9545:9550] CHIP:ZCL: Label: - [1635924252.917485][9545:9550] CHIP:TOO: FabricDescriptor[2]: - [1635924252.917518][9545:9550] CHIP:TOO: fabricIndex: 2 - [1635924252.917548][9545:9550] CHIP:ZCL: RootPublicKey: 65 - [1635924252.917577][9545:9550] CHIP:TOO: vendorId: 33608 - [1635924252.917606][9545:9550] CHIP:TOO: fabricId: 0 - [1635924252.917636][9545:9550] CHIP:TOO: nodeId: 2 + On 1st controller using chip tool, read fabrics list + + ./chip-tool operationalcredentials read fabrics 1234 0 --fabric-filtered 0 + + CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0001 DataVersion: 268962768 + [1650527361.425870][15792:15797] CHIP:TOO: Fabrics: 3 entries + [1650527361.426777][15792:15797] CHIP:TOO: [1]: { + [1650527361.426859][15792:15797] CHIP:TOO: RootPublicKey: 0429A71383F336D80918C9EC655112513E428C073AF7FB44820EC793535302C6E3825C56EE6DD1A683EAA7B59E3F261B46FFA24A6D911E8D88839F4C1B3C84BA01 + [1650527361.426923][15792:15797] CHIP:TOO: VendorId: 65521 + [1650527361.426979][15792:15797] CHIP:TOO: FabricId: 1 + [1650527361.427033][15792:15797] CHIP:TOO: NodeId: 1 + [1650527361.427088][15792:15797] CHIP:TOO: Label: + [1650527361.427166][15792:15797] CHIP:TOO: FabricIndex: 1 + [1650527361.427376][15792:15797] CHIP:TOO: } + [1650527361.427464][15792:15797] CHIP:TOO: [2]: { + [1650527361.427532][15792:15797] CHIP:TOO: RootPublicKey: 04781BCEE70118049ED61DD5B4E401CF1A09D2F78AE7F5770BE5506AD24238E5E0777277DABAFD062659651C95CC2CA7DEAACE40DB579A946CC07CADB141BE05D7 + [1650527361.427595][15792:15797] CHIP:TOO: VendorId: 65521 + [1650527361.427649][15792:15797] CHIP:TOO: FabricId: 1 + [1650527361.427703][15792:15797] CHIP:TOO: NodeId: 3 + [1650527361.427756][15792:15797] CHIP:TOO: Label: + [1650527361.427811][15792:15797] CHIP:TOO: FabricIndex: 2 + [1650527361.427868][15792:15797] CHIP:TOO: } + [1650527361.427943][15792:15797] CHIP:TOO: [3]: { + [1650527361.428008][15792:15797] CHIP:TOO: RootPublicKey: 0403EDB5B461030A34EF7EA2F9DB0D46A36185E4755C365AF9344C4959F049EF21D55EAB903A2C7FBFC305EEFA42989250D7517A73E6156062390A60C0D4C41EBD + [1650527361.428067][15792:15797] CHIP:TOO: VendorId: 65521 + [1650527361.428122][15792:15797] CHIP:TOO: FabricId: 1 + [1650527361.428176][15792:15797] CHIP:TOO: NodeId: 2 + [1650527361.428229][15792:15797] CHIP:TOO: Label: + [1650527361.428282][15792:15797] CHIP:TOO: FabricIndex: 3 + [1650527361.428335][15792:15797] CHIP:TOO: } disabled: true - - label: "Wait for the expiration of PIXIT_COMM_WIN seconds" + - label: + "Wait for the expiration of PIXIT_COMM_WIN seconds that was set in + step 5" + PICS: PICS_MF verification: | Wait for the expiration of PIXIT_COMM_WIN seconds disabled: true @@ -203,226 +207,221 @@ tests: - label: "DUT_CR1 re-opens a commissioning window on TH_CE using a commissioning timeout of PIXIT_COMM_WIN seconds using BCM" + PICS: PICS_MF verification: | On your DUT controller, open commissioning window using BCM Below is the example when using chip tool as controller - ./chip-tool administratorcommissioning open-basic-commissioning-window 500 1 0 - - - - 1635924383.110602][9561:9566] CHIP:DMG: InvokeCommand = - [1635924383.110672][9561:9566] CHIP:DMG: { - [1635924383.110732][9561:9566] CHIP:DMG: CommandList = - [1635924383.110796][9561:9566] CHIP:DMG: [ - [1635924383.110877][9561:9566] CHIP:DMG: CommandDataIB = - [1635924383.110940][9561:9566] CHIP:DMG: { - [1635924383.110998][9561:9566] CHIP:DMG: CommandPathIB = - [1635924383.111070][9561:9566] CHIP:DMG: { - [1635924383.111143][9561:9566] CHIP:DMG: EndpointId = 0x0, - [1635924383.111219][9561:9566] CHIP:DMG: ClusterId = 0x3c, - [1635924383.111294][9561:9566] CHIP:DMG: CommandId = 0x1, - [1635924383.111365][9561:9566] CHIP:DMG: }, - [1635924383.111442][9561:9566] CHIP:DMG: - [1635924383.111506][9561:9566] CHIP:DMG: StatusIB = - [1635924383.111573][9561:9566] CHIP:DMG: { - [1635924383.111651][9561:9566] CHIP:DMG: status = 0x0, - [1635924383.111729][9561:9566] CHIP:DMG: }, - [1635924383.111807][9561:9566] CHIP:DMG: - [1635924383.111877][9561:9566] CHIP:DMG: }, - [1635924383.111952][9561:9566] CHIP:DMG: - [1635924383.112011][9561:9566] CHIP:DMG: ], - [1635924383.112073][9561:9566] CHIP:DMG: - [1635924383.112126][9561:9566] CHIP:DMG: } - [1635924383.112226][9561:9566] CHIP:DMG: Received Command Response Status for Endpoint=0 Cluster=0x0000_003C Command=0x0000_0001 Status=0x0 - [1635924383.112285][9561:9566] CHIP:TOO: Default Success Response + ./chip-tool administratorcommissioning open-basic-commissioning-window 500 1 0 --timedInteractionTimeoutMs 1000 + + + + CHIP:DMG: InvokeResponseMessage = + [1650278416.248379][11064:11069] CHIP:DMG: { + [1650278416.248436][11064:11069] CHIP:DMG: suppressResponse = false, + [1650278416.248495][11064:11069] CHIP:DMG: InvokeResponseIBs = + [1650278416.248570][11064:11069] CHIP:DMG: [ + [1650278416.248630][11064:11069] CHIP:DMG: InvokeResponseIB = + [1650278416.248718][11064:11069] CHIP:DMG: { + [1650278416.248783][11064:11069] CHIP:DMG: CommandStatusIB = + [1650278416.248860][11064:11069] CHIP:DMG: { + [1650278416.248931][11064:11069] CHIP:DMG: CommandPathIB = + [1650278416.249011][11064:11069] CHIP:DMG: { + [1650278416.249100][11064:11069] CHIP:DMG: EndpointId = 0x0, + [1650278416.249186][11064:11069] CHIP:DMG: ClusterId = 0x3c, + [1650278416.249268][11064:11069] CHIP:DMG: CommandId = 0x1, + [1650278416.249347][11064:11069] CHIP:DMG: }, + [1650278416.249430][11064:11069] CHIP:DMG: + [1650278416.249501][11064:11069] CHIP:DMG: StatusIB = + [1650278416.249581][11064:11069] CHIP:DMG: { + [1650278416.249664][11064:11069] CHIP:DMG: status = 0x00 (SUCCESS), + [1650278416.249738][11064:11069] CHIP:DMG: }, + [1650278416.249823][11064:11069] CHIP:DMG: + [1650278416.249889][11064:11069] CHIP:DMG: }, + [1650278416.249969][11064:11069] CHIP:DMG: + [1650278416.250035][11064:11069] CHIP:DMG: }, + [1650278416.250113][11064:11069] CHIP:DMG: + [1650278416.250169][11064:11069] CHIP:DMG: ], + [1650278416.250241][11064:11069] CHIP:DMG: + [1650278416.250298][11064:11069] CHIP:DMG: InteractionModelRevision = 1 + [1650278416.250355][11064:11069] CHIP:DMG: }, + [1650278416.250535][11064:11069] CHIP:DMG: Received Command Response Status for Endpoint=0 Cluster=0x0000_003C Command=0x0000_0001 Status=0x0 + [1650278416.250634][11064:11069] CHIP:DMG: ICR moving to [AwaitingDe] disabled: true - label: - "Before the expiration of PIXIT_COMM_WIN seconds, TH_CR3 opens a 2nd - commissioning window on TH_CE using a commissioning timeout of - PIXIT_COMM_WIN seconds using BCM" + "Before the expiration of PIXIT_COMM_WIN seconds that was set in step + 8, TH_CR3 opens a 2nd commissioning window on TH_CE using a + commissioning timeout of PIXIT_COMM_WIN seconds using BCM" + PICS: PICS_MF verification: | On the 3rd controller using chip tool, open commissioning window using BCM before the timer expiry from above step - ./chip-tool administratorcommissioning open-basic-commissioning-window 500 1 0 - - - - 1635924383.110602][9561:9566] CHIP:DMG: InvokeCommand = - [1635924383.110672][9561:9566] CHIP:DMG: { - [1635924383.110732][9561:9566] CHIP:DMG: CommandList = - [1635924383.110796][9561:9566] CHIP:DMG: [ - [1635924383.110877][9561:9566] CHIP:DMG: CommandDataIB = - [1635924383.110940][9561:9566] CHIP:DMG: { - [1635924383.110998][9561:9566] CHIP:DMG: CommandPathIB = - [1635924383.111070][9561:9566] CHIP:DMG: { - [1635924383.111143][9561:9566] CHIP:DMG: EndpointId = 0x0, - [1635924383.111219][9561:9566] CHIP:DMG: ClusterId = 0x3c, - [1635924383.111294][9561:9566] CHIP:DMG: CommandId = 0x1, - [1635924383.111365][9561:9566] CHIP:DMG: }, - [1635924383.111442][9561:9566] CHIP:DMG: - [1635924383.111506][9561:9566] CHIP:DMG: StatusIB = - [1635924383.111573][9561:9566] CHIP:DMG: { - [1635924383.111651][9561:9566] CHIP:DMG: status = 0x0, - [1635924383.111729][9561:9566] CHIP:DMG: }, - [1635924383.111807][9561:9566] CHIP:DMG: - [1635924383.111877][9561:9566] CHIP:DMG: }, - [1635924383.111952][9561:9566] CHIP:DMG: - [1635924383.112011][9561:9566] CHIP:DMG: ], - [1635924383.112073][9561:9566] CHIP:DMG: - [1635924383.112126][9561:9566] CHIP:DMG: } - [1635924383.112226][9561:9566] CHIP:DMG: Received Command Response Status for Endpoint=0 Cluster=0x0000_003C Command=0x0000_0001 Status=0x0 - [1635924383.112285][9561:9566] CHIP:TOO: Default Success Response + ./chip-tool administratorcommissioning open-basic-commissioning-window 500 2 0 --timedInteractionTimeoutMs 1000 + + + + + CHIP:DMG: InvokeResponseMessage = + [1650527622.373450][15824:15829] CHIP:DMG: { + [1650527622.373531][15824:15829] CHIP:DMG: suppressResponse = false, + [1650527622.373628][15824:15829] CHIP:DMG: InvokeResponseIBs = + [1650527622.373734][15824:15829] CHIP:DMG: [ + [1650527622.373817][15824:15829] CHIP:DMG: InvokeResponseIB = + [1650527622.373913][15824:15829] CHIP:DMG: { + [1650527622.374001][15824:15829] CHIP:DMG: CommandStatusIB = + [1650527622.374087][15824:15829] CHIP:DMG: { + [1650527622.374182][15824:15829] CHIP:DMG: CommandPathIB = + [1650527622.374296][15824:15829] CHIP:DMG: { + [1650527622.374382][15824:15829] CHIP:DMG: EndpointId = 0x0, + [1650527622.374490][15824:15829] CHIP:DMG: ClusterId = 0x3c, + [1650527622.374593][15824:15829] CHIP:DMG: CommandId = 0x1, + [1650527622.374682][15824:15829] CHIP:DMG: }, + [1650527622.374799][15824:15829] CHIP:DMG: + [1650527622.374896][15824:15829] CHIP:DMG: StatusIB = + [1650527622.374979][15824:15829] CHIP:DMG: { + [1650527622.375086][15824:15829] CHIP:DMG: status = 0x01 (FAILURE), + [1650527622.375236][15824:15829] CHIP:DMG: cluster-status = 0x1, + [1650527622.375320][15824:15829] CHIP:DMG: }, + [1650527622.375426][15824:15829] CHIP:DMG: + [1650527622.375527][15824:15829] CHIP:DMG: }, + [1650527622.375616][15824:15829] CHIP:DMG: + [1650527622.375704][15824:15829] CHIP:DMG: }, + [1650527622.375786][15824:15829] CHIP:DMG: + [1650527622.375864][15824:15829] CHIP:DMG: ], + [1650527622.375940][15824:15829] CHIP:DMG: + [1650527622.376000][15824:15829] CHIP:DMG: InteractionModelRevision = 1 + [1650527622.376058][15824:15829] CHIP:DMG: }, + [1650527622.376202][15824:15829] CHIP:DMG: Received Command Response Status for Endpoint=0 Cluster=0x0000_003C Command=0x0000_0001 Status=0x1 + [1650527622.376278][15824:15829] CHIP:TOO: Error: IM Error 0x00000601: Cluster-specific error: 0x01 disabled: true - - label: "Wait for the expiration of PIXIT_COMM_WIN seconds" + - label: + "Wait for the expiration of PIXIT_COMM_WIN seconds that was set in + step 9" + PICS: PICS_MF verification: | Wait for the expiration of PIXIT_COMM_WIN seconds disabled: true - label: "DUT_CR1 reads the list of Fabrics on TH_CE" + PICS: PICS_MF verification: | - on your DUT controller using chip tool read fabrics list - - ./chip-tool operationalcredentials read fabrics-list 1 0 - - [1635924252.914294][9545:9550] CHIP:DMG: ReportData = - [1635924252.914337][9545:9550] CHIP:DMG: { - [1635924252.914370][9545:9550] CHIP:DMG: AttributeDataList = - [1635924252.914409][9545:9550] CHIP:DMG: [ - [1635924252.914446][9545:9550] CHIP:DMG: AttributeDataElement = - [1635924252.914490][9545:9550] CHIP:DMG: { - [1635924252.914524][9545:9550] CHIP:DMG: AttributePath = - [1635924252.914570][9545:9550] CHIP:DMG: { - [1635924252.914610][9545:9550] CHIP:DMG: NodeId = 0x1, - [1635924252.914667][9545:9550] CHIP:DMG: EndpointId = 0x0, - [1635924252.914724][9545:9550] CHIP:DMG: ClusterId = 0x3e, - [1635924252.914780][9545:9550] CHIP:DMG: FieldTag = 0x0000_0001, - [1635924252.914828][9545:9550] CHIP:DMG: } - [1635924252.914878][9545:9550] CHIP:DMG: - [1635924252.914919][9545:9550] CHIP:DMG: Data = [ - [1635924252.914966][9545:9550] CHIP:DMG: - [1635924252.915012][9545:9550] CHIP:DMG: { - [1635924252.915063][9545:9550] CHIP:DMG: 0x0 = 1, - [1635924252.915112][9545:9550] CHIP:DMG: 0x1 = [ - [1635924252.915180][9545:9550] CHIP:DMG: 0x4, 0xd6, 0x7d, 0xf1, 0x70, 0x4, 0x8, 0xb0, 0x4b, 0x2b, 0x86, 0xc, 0xe4, 0x28, 0xfa, 0xaa, 0xd5, 0x61, 0x92, 0xf4, 0x53, 0x2, 0xe9, 0xa2, 0x91, 0x17, 0x67, 0x89, 0xe7, 0xdc, 0x81, 0x18, 0x11, 0xe4, 0x41, 0x88, 0xbd, 0xdc, 0x6, 0xee, 0x1, 0x53, 0x63 - [1635924252.915248][9545:9550] CHIP:DMG: ] - [1635924252.915296][9545:9550] CHIP:DMG: 0x2 = 50504, - [1635924252.915345][9545:9550] CHIP:DMG: 0x3 = 0, - [1635924252.915392][9545:9550] CHIP:DMG: 0x4 = 1, - [1635924252.915445][9545:9550] CHIP:DMG: 0x5 = "", - [1635924252.915518][9545:9550] CHIP:DMG: }, - [1635924252.915573][9545:9550] CHIP:DMG: { - [1635924252.915622][9545:9550] CHIP:DMG: 0x0 = 2, - [1635924252.915693][9545:9550] CHIP:DMG: 0x1 = [ - [1635924252.915790][9545:9550] CHIP:DMG: 0x4, 0x79, 0x31, 0x7e, 0x45, 0x90, 0x63, 0xd2, 0x1e, 0x54, 0x63, 0x38, 0x11, 0x6b, 0xb4, 0xd0, 0xcc, 0x5e, 0xad, 0x1d, 0xfe, 0xbb, 0xa6, 0xb3, 0xbf, 0x41, 0x25, 0x47, 0x1f, 0x26, 0x0, 0x5a, 0x80, 0xed, 0xdf, 0x98, 0xcc, 0xe7, 0xf3, 0xac, 0x81, 0x92, - [1635924252.915870][9545:9550] CHIP:DMG: ] - [1635924252.915943][9545:9550] CHIP:DMG: 0x2 = 33608, - [1635924252.915996][9545:9550] CHIP:DMG: 0x3 = 0, - [1635924252.916047][9545:9550] CHIP:DMG: 0x4 = 2, - [1635924252.916098][9545:9550] CHIP:DMG: 0x5 = "", - [1635924252.916150][9545:9550] CHIP:DMG: }, - [1635924252.916205][9545:9550] CHIP:DMG: ], - [1635924252.916257][9545:9550] CHIP:DMG: DataElementVersion = 0x0, - [1635924252.916315][9545:9550] CHIP:DMG: }, - [1635924252.916383][9545:9550] CHIP:DMG: - [1635924252.916427][9545:9550] CHIP:DMG: ], - [1635924252.916492][9545:9550] CHIP:DMG: - [1635924252.916534][9545:9550] CHIP:DMG: } - [1635924252.916707][9545:9550] CHIP:ZCL: ReadAttributesResponse: - [1635924252.916750][9545:9550] CHIP:ZCL: ClusterId: 0x0000_003E - [1635924252.916795][9545:9550] CHIP:ZCL: attributeId: 0x0000_0001 - [1635924252.916836][9545:9550] CHIP:ZCL: status: Success (0x0000) - [1635924252.916882][9545:9550] CHIP:ZCL: attribute TLV Type: 0x16 - 1635924252.916947][9545:9550] CHIP:TOO: OnOperationalCredentialsFabricsListListAttributeResponse: 2 entries - [1635924252.917171][9545:9550] CHIP:TOO: FabricDescriptor[1]: - [1635924252.917214][9545:9550] CHIP:TOO: fabricIndex: 1 - [1635924252.917252][9545:9550] CHIP:ZCL: RootPublicKey: 65 - [1635924252.917289][9545:9550] CHIP:TOO: vendorId: 50504 - [1635924252.917322][9545:9550] CHIP:TOO: fabricId: 0 - [1635924252.917357][9545:9550] CHIP:TOO: nodeId: 1 - [1635924252.917389][9545:9550] CHIP:ZCL: Label: - [1635924252.917485][9545:9550] CHIP:TOO: FabricDescriptor[2]: - [1635924252.917518][9545:9550] CHIP:TOO: fabricIndex: 2 - [1635924252.917548][9545:9550] CHIP:ZCL: RootPublicKey: 65 - [1635924252.917577][9545:9550] CHIP:TOO: vendorId: 33608 - [1635924252.917606][9545:9550] CHIP:TOO: fabricId: 0 - [1635924252.917636][9545:9550] CHIP:TOO: nodeId: 2 + On 1st controller using chip tool, read fabrics list + + ./chip-tool operationalcredentials read fabrics 1234 0 --fabric-filtered 0 + + CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0001 DataVersion: 268962768 + [1650527361.425870][15792:15797] CHIP:TOO: Fabrics: 3 entries + [1650527361.426777][15792:15797] CHIP:TOO: [1]: { + [1650527361.426859][15792:15797] CHIP:TOO: RootPublicKey: 0429A71383F336D80918C9EC655112513E428C073AF7FB44820EC793535302C6E3825C56EE6DD1A683EAA7B59E3F261B46FFA24A6D911E8D88839F4C1B3C84BA01 + [1650527361.426923][15792:15797] CHIP:TOO: VendorId: 65521 + [1650527361.426979][15792:15797] CHIP:TOO: FabricId: 1 + [1650527361.427033][15792:15797] CHIP:TOO: NodeId: 1 + [1650527361.427088][15792:15797] CHIP:TOO: Label: + [1650527361.427166][15792:15797] CHIP:TOO: FabricIndex: 1 + [1650527361.427376][15792:15797] CHIP:TOO: } + [1650527361.427464][15792:15797] CHIP:TOO: [2]: { + [1650527361.427532][15792:15797] CHIP:TOO: RootPublicKey: 04781BCEE70118049ED61DD5B4E401CF1A09D2F78AE7F5770BE5506AD24238E5E0777277DABAFD062659651C95CC2CA7DEAACE40DB579A946CC07CADB141BE05D7 + [1650527361.427595][15792:15797] CHIP:TOO: VendorId: 65521 + [1650527361.427649][15792:15797] CHIP:TOO: FabricId: 1 + [1650527361.427703][15792:15797] CHIP:TOO: NodeId: 3 + [1650527361.427756][15792:15797] CHIP:TOO: Label: + [1650527361.427811][15792:15797] CHIP:TOO: FabricIndex: 2 + [1650527361.427868][15792:15797] CHIP:TOO: } + [1650527361.427943][15792:15797] CHIP:TOO: [3]: { + [1650527361.428008][15792:15797] CHIP:TOO: RootPublicKey: 0403EDB5B461030A34EF7EA2F9DB0D46A36185E4755C365AF9344C4959F049EF21D55EAB903A2C7FBFC305EEFA42989250D7517A73E6156062390A60C0D4C41EBD + [1650527361.428067][15792:15797] CHIP:TOO: VendorId: 65521 + [1650527361.428122][15792:15797] CHIP:TOO: FabricId: 1 + [1650527361.428176][15792:15797] CHIP:TOO: NodeId: 2 + [1650527361.428229][15792:15797] CHIP:TOO: Label: + [1650527361.428282][15792:15797] CHIP:TOO: FabricIndex: 3 + [1650527361.428335][15792:15797] CHIP:TOO: } disabled: true - label: "DUT_CR1 opens a commissioning window on TH_CE using a commissioning timeout of PIXIT_COMM_WIN seconds using BCM" + PICS: PICS_MF verification: | On your DUT controller, open commissioning window using BCM Below is the example when using chip tool as controller - ./chip-tool administratorcommissioning open-basic-commissioning-window 500 1 0 - - - - 1635924383.110602][9561:9566] CHIP:DMG: InvokeCommand = - [1635924383.110672][9561:9566] CHIP:DMG: { - [1635924383.110732][9561:9566] CHIP:DMG: CommandList = - [1635924383.110796][9561:9566] CHIP:DMG: [ - [1635924383.110877][9561:9566] CHIP:DMG: CommandDataIB = - [1635924383.110940][9561:9566] CHIP:DMG: { - [1635924383.110998][9561:9566] CHIP:DMG: CommandPathIB = - [1635924383.111070][9561:9566] CHIP:DMG: { - [1635924383.111143][9561:9566] CHIP:DMG: EndpointId = 0x0, - [1635924383.111219][9561:9566] CHIP:DMG: ClusterId = 0x3c, - [1635924383.111294][9561:9566] CHIP:DMG: CommandId = 0x1, - [1635924383.111365][9561:9566] CHIP:DMG: }, - [1635924383.111442][9561:9566] CHIP:DMG: - [1635924383.111506][9561:9566] CHIP:DMG: StatusIB = - [1635924383.111573][9561:9566] CHIP:DMG: { - [1635924383.111651][9561:9566] CHIP:DMG: status = 0x0, - [1635924383.111729][9561:9566] CHIP:DMG: }, - [1635924383.111807][9561:9566] CHIP:DMG: - [1635924383.111877][9561:9566] CHIP:DMG: }, - [1635924383.111952][9561:9566] CHIP:DMG: - [1635924383.112011][9561:9566] CHIP:DMG: ], - [1635924383.112073][9561:9566] CHIP:DMG: - [1635924383.112126][9561:9566] CHIP:DMG: } - [1635924383.112226][9561:9566] CHIP:DMG: Received Command Response Status for Endpoint=0 Cluster=0x0000_003C Command=0x0000_0001 Status=0x0 - [1635924383.112285][9561:9566] CHIP:TOO: Default Success Response + ./chip-tool administratorcommissioning open-basic-commissioning-window 500 2 0 --timedInteractionTimeoutMs 1000 + + CHIP:DMG: InvokeResponseMessage = + [1650278416.248379][11064:11069] CHIP:DMG: { + [1650278416.248436][11064:11069] CHIP:DMG: suppressResponse = false, + [1650278416.248495][11064:11069] CHIP:DMG: InvokeResponseIBs = + [1650278416.248570][11064:11069] CHIP:DMG: [ + [1650278416.248630][11064:11069] CHIP:DMG: InvokeResponseIB = + [1650278416.248718][11064:11069] CHIP:DMG: { + [1650278416.248783][11064:11069] CHIP:DMG: CommandStatusIB = + [1650278416.248860][11064:11069] CHIP:DMG: { + [1650278416.248931][11064:11069] CHIP:DMG: CommandPathIB = + [1650278416.249011][11064:11069] CHIP:DMG: { + [1650278416.249100][11064:11069] CHIP:DMG: EndpointId = 0x0, + [1650278416.249186][11064:11069] CHIP:DMG: ClusterId = 0x3c, + [1650278416.249268][11064:11069] CHIP:DMG: CommandId = 0x1, + [1650278416.249347][11064:11069] CHIP:DMG: }, + [1650278416.249430][11064:11069] CHIP:DMG: + [1650278416.249501][11064:11069] CHIP:DMG: StatusIB = + [1650278416.249581][11064:11069] CHIP:DMG: { + [1650278416.249664][11064:11069] CHIP:DMG: status = 0x00 (SUCCESS), + [1650278416.249738][11064:11069] CHIP:DMG: }, + [1650278416.249823][11064:11069] CHIP:DMG: + [1650278416.249889][11064:11069] CHIP:DMG: }, + [1650278416.249969][11064:11069] CHIP:DMG: + [1650278416.250035][11064:11069] CHIP:DMG: }, + [1650278416.250113][11064:11069] CHIP:DMG: + [1650278416.250169][11064:11069] CHIP:DMG: ], + [1650278416.250241][11064:11069] CHIP:DMG: + [1650278416.250298][11064:11069] CHIP:DMG: InteractionModelRevision = 1 + [1650278416.250355][11064:11069] CHIP:DMG: }, + [1650278416.250535][11064:11069] CHIP:DMG: Received Command Response Status for Endpoint=0 Cluster=0x0000_003C Command=0x0000_0001 Status=0x0 + [1650278416.250634][11064:11069] CHIP:DMG: ICR moving to [AwaitingDe] disabled: true - label: - "Before the expiration of PIXIT_COMM_WIN seconds, TH_CR2 opens a - second commissioning window on TH_CE using a commissioning timeout of - PIXIT_COMM_WIN seconds using BCM" + "Before the expiration of PIXIT_COMM_WIN seconds that was set in step + 12, TH_CR2 opens a second commissioning window on TH_CE using a + commissioning timeout of PIXIT_COMM_WIN seconds using BCM" + PICS: PICS_MF verification: | On the 2nd controller using chip tool, open commissioning window using BCM before the timer expiry from above step - ./chip-tool administratorcommissioning open-basic-commissioning-window 500 1 0 - - - - 1635924383.110602][9561:9566] CHIP:DMG: InvokeCommand = - [1635924383.110672][9561:9566] CHIP:DMG: { - [1635924383.110732][9561:9566] CHIP:DMG: CommandList = - [1635924383.110796][9561:9566] CHIP:DMG: [ - [1635924383.110877][9561:9566] CHIP:DMG: CommandDataIB = - [1635924383.110940][9561:9566] CHIP:DMG: { - [1635924383.110998][9561:9566] CHIP:DMG: CommandPathIB = - [1635924383.111070][9561:9566] CHIP:DMG: { - [1635924383.111143][9561:9566] CHIP:DMG: EndpointId = 0x0, - [1635924383.111219][9561:9566] CHIP:DMG: ClusterId = 0x3c, - [1635924383.111294][9561:9566] CHIP:DMG: CommandId = 0x1, - [1635924383.111365][9561:9566] CHIP:DMG: }, - [1635924383.111442][9561:9566] CHIP:DMG: - [1635924383.111506][9561:9566] CHIP:DMG: StatusIB = - [1635924383.111573][9561:9566] CHIP:DMG: { - [1635924383.111651][9561:9566] CHIP:DMG: status = 0x0, - [1635924383.111729][9561:9566] CHIP:DMG: }, - [1635924383.111807][9561:9566] CHIP:DMG: - [1635924383.111877][9561:9566] CHIP:DMG: }, - [1635924383.111952][9561:9566] CHIP:DMG: - [1635924383.112011][9561:9566] CHIP:DMG: ], - [1635924383.112073][9561:9566] CHIP:DMG: - [1635924383.112126][9561:9566] CHIP:DMG: } - [1635924383.112226][9561:9566] CHIP:DMG: Received Command Response Status for Endpoint=0 Cluster=0x0000_003C Command=0x0000_0001 Status=0x0 - [1635924383.112285][9561:9566] CHIP:TOO: Default Success Response + ./chip-tool administratorcommissioning open-basic-commissioning-window 500 2 0 --timedInteractionTimeoutMs 1000 + + CHIP:DMG: InvokeResponseMessage = + [1650527622.373450][15824:15829] CHIP:DMG: { + [1650527622.373531][15824:15829] CHIP:DMG: suppressResponse = false, + [1650527622.373628][15824:15829] CHIP:DMG: InvokeResponseIBs = + [1650527622.373734][15824:15829] CHIP:DMG: [ + [1650527622.373817][15824:15829] CHIP:DMG: InvokeResponseIB = + [1650527622.373913][15824:15829] CHIP:DMG: { + [1650527622.374001][15824:15829] CHIP:DMG: CommandStatusIB = + [1650527622.374087][15824:15829] CHIP:DMG: { + [1650527622.374182][15824:15829] CHIP:DMG: CommandPathIB = + [1650527622.374296][15824:15829] CHIP:DMG: { + [1650527622.374382][15824:15829] CHIP:DMG: EndpointId = 0x0, + [1650527622.374490][15824:15829] CHIP:DMG: ClusterId = 0x3c, + [1650527622.374593][15824:15829] CHIP:DMG: CommandId = 0x1, + [1650527622.374682][15824:15829] CHIP:DMG: }, + [1650527622.374799][15824:15829] CHIP:DMG: + [1650527622.374896][15824:15829] CHIP:DMG: StatusIB = + [1650527622.374979][15824:15829] CHIP:DMG: { + [1650527622.375086][15824:15829] CHIP:DMG: status = 0x01 (FAILURE), + [1650527622.375236][15824:15829] CHIP:DMG: cluster-status = 0x1, + [1650527622.375320][15824:15829] CHIP:DMG: }, + [1650527622.375426][15824:15829] CHIP:DMG: + [1650527622.375527][15824:15829] CHIP:DMG: }, + [1650527622.375616][15824:15829] CHIP:DMG: + [1650527622.375704][15824:15829] CHIP:DMG: }, + [1650527622.375786][15824:15829] CHIP:DMG: + [1650527622.375864][15824:15829] CHIP:DMG: ], + [1650527622.375940][15824:15829] CHIP:DMG: + [1650527622.376000][15824:15829] CHIP:DMG: InteractionModelRevision = 1 + [1650527622.376058][15824:15829] CHIP:DMG: }, + [1650527622.376202][15824:15829] CHIP:DMG: Received Command Response Status for Endpoint=0 Cluster=0x0000_003C Command=0x0000_0001 Status=0x1 + [1650527622.376278][15824:15829] CHIP:TOO: Error: IM Error 0x00000601: Cluster-specific error: 0x01 disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_MF_1_16.yaml b/src/app/tests/suites/certification/Test_TC_MF_1_16.yaml index 81a7ad65c36f3e..dcf5fa0aea6fed 100644 --- a/src/app/tests/suites/certification/Test_TC_MF_1_16.yaml +++ b/src/app/tests/suites/certification/Test_TC_MF_1_16.yaml @@ -24,15 +24,16 @@ config: tests: - label: "DUT_CR1 starts a commissioning process with TH_CE" + PICS: PICS_MF verification: | - "1. Provision the device using your DUT controller (use above instructions) , - " + "1. Provision the device using your DUT controller (use above instructions) ," disabled: true - label: "DUT_CR1 opens a commissioning window on TH_CE using a commissioning timeout of PIXIT_COMM_WIN seconds using BCM and TH_CR3 Commissions with TH_CE" + PICS: PICS_MF && PICS_MF_BCM verification: | On your DUT controller, open commissioning window using ECM @@ -53,7 +54,7 @@ tests: On 3rd controller using chip tool connect using manual code - ./chip-tool pairing manualcode 1 35484132896 + ./chip-tool pairing code 1 35484132896 Verify you got below message Device commissioning completed with success @@ -63,6 +64,7 @@ tests: "DUT_CR1 opens a commissioning window on TH_CE using a commissioning timeout of PIXIT_COMM_WIN seconds using BCM and TH_CR2 Commissions with TH_CE" + PICS: PICS_MF && PICS_MF_BCM verification: | On your DUT controller, open commissioning window using ECM @@ -81,7 +83,7 @@ tests: [1635874557.417577][4549:4554] CHIP:CTL: SetupQRCode: [MT:00000CQM00AT-F5A510] On 2nd controller using chip tool connect using manual code - ./chip-tool pairing manualcode 1 35484132896 + ./chip-tool pairing code 1 35484132896 Verify you got below message Device commissioning completed with success @@ -90,6 +92,7 @@ tests: - label: "DUT_CR1 opens a commissioning window on TH_CE using a commissioning timeout of PIXIT_COMM_WIN seconds using BCM" + PICS: PICS_MF && PICS_MF_BCM verification: | On your DUT controller, open commissioning window using BCM @@ -133,6 +136,7 @@ tests: "Before the expiration of PIXIT_COMM_WIN seconds that is set in step 4, DUT_CR1 opens a 2nd commissioning window on TH_CE using a commissioning timeout of PIXIT_COMM_WIN seconds using ECM" + PICS: PICS_MF verification: | On your DUT controller, open commissioning window using ECM before the timer expiry of the above step @@ -175,6 +179,7 @@ tests: disabled: true - label: "DUT_CR1 reads the list of Fabrics on TH_CE" + PICS: PICS_MF verification: | On 1st controller using chip tool, read fabrics list @@ -211,6 +216,7 @@ tests: - label: "Wait for the expiration of PIXIT_COMM_WIN seconds that is set in step 5" + PICS: PICS_MF verification: | Wait for the expiration of PIXIT_COMM_WIN seconds disabled: true @@ -218,6 +224,7 @@ tests: - label: "DUT_CR1 re-opens a commissioning window on TH_CE using a commissioning timeout of PIXIT_COMM_WIN seconds using ECM" + PICS: PICS_MF verification: | On your DUT controller, open commissioning window using ECM @@ -241,6 +248,7 @@ tests: "Before the expiration of PIXIT_COMM_WIN seconds that is set in step 8, TH_CR3 opens a 2nd commissioning window on TH_CE using a commissioning timeout of PIXIT_COMM_WIN seconds using ECM" + PICS: PICS_MF verification: | On the 3rd controller using chip tool, open commissioning window using ECM @@ -282,6 +290,7 @@ tests: disabled: true - label: "DUT_CR1 reads the list of Fabrics on TH_CE" + PICS: PICS_MF verification: | On 1st controller using chip tool, read fabrics list @@ -318,8 +327,9 @@ tests: - label: "Wait for the expiration of PIXIT_COMM_WIN seconds that is set in step 9" + PICS: PICS_MF verification: | - + Wait for the expiration of PIXIT_COMM_WIN seconds disabled: true - label: @@ -348,6 +358,7 @@ tests: "Before the expiration of PIXIT_COMM_WIN seconds that is set in step 12, TH_CR2 opens a second commissioning window on TH_CE using a commissioning timeout of PIXIT_COMM_WIN seconds using ECM" + PICS: PICS_MF verification: | On the 2nd controller using chip tool, open commissioning window using ECM diff --git a/src/app/tests/suites/certification/Test_TC_MF_1_17.yaml b/src/app/tests/suites/certification/Test_TC_MF_1_17.yaml index aab62cbc6e9b51..ff80ac7da24264 100644 --- a/src/app/tests/suites/certification/Test_TC_MF_1_17.yaml +++ b/src/app/tests/suites/certification/Test_TC_MF_1_17.yaml @@ -14,7 +14,7 @@ # Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default name: - 22.1.17. [TC-MF-1.17] Removing Fabrics from DUT and Fabric index enumeration + 3.1.17. [TC-MF-1.17] Removing Fabrics from DUT and Fabric index enumeration using ECM [DUT - Commissionee] config: @@ -24,22 +24,26 @@ config: tests: - label: "Reset DUT_CE to factory defaults" + PICS: PICS_MF verification: | disabled: true - label: "TH_CR1 starts a commissioning process with DUT_CE" + PICS: PICS_MF verification: | - 1. Provision the device using 1st controller chip tool(use above instructions) , + "1. Provision the device using 1st controller chip tool(use above instructions) , + " disabled: true - label: "TH_CR1 opens a commissioning window on DUT_CE using a commissioning timeout of PIXIT_COMM_WIN seconds using ECM" + PICS: PICS_MF verification: | On 1st controller chip tool, open commissioning window - ./chip-tool pairing open-commissioning-window 1 1 100 1000 3840 + ./chip-tool pairing open-commissioning-window 1 1 180 1000 3840 [1635925713.966786][9695:9700] CHIP:SC: Success status report received. Session was established [1635925713.966839][9695:9700] CHIP:IN: New secure session created for device 0x0000000000000001, key 33!! @@ -55,121 +59,163 @@ tests: disabled: true - label: "TH_CR2 starts a commissioning process with DUT_CE" + PICS: PICS_MF verification: | On 2nd controller using chip tool connect to the accessory ./chip-tool pairing code 1 36217551633 + + Verify you got below message + Device commissioning completed with success disabled: true - - label: "Repeat step3 to commission TH_CR3" + - label: + "TH_CR1 opens a commissioning window on DUT_CE using a commissioning + timeout of PIXIT_COMM_WIN seconds using ECM" + PICS: PICS_MF verification: | + On 1st controller chip tool, open commissioning window + + ./chip-tool pairing open-commissioning-window 1 1 100 1000 3840 + [1635925713.966786][9695:9700] CHIP:SC: Success status report received. Session was established + [1635925713.966839][9695:9700] CHIP:IN: New secure session created for device 0x0000000000000001, key 33!! + [1635925713.966938][9695:9700] CHIP:CTL: OpenCommissioningWindow for device ID 1 + [1635925713.972601][9695:9700] CHIP:DMG: ICR moving to [AddingComm] + [1635925713.972705][9695:9700] CHIP:DMG: ICR moving to [AddedComma] + [1635925713.972815][9695:9700] CHIP:IN: Prepared encrypted message 0xaaaad9b57d10 to 0x0000000000000001 of type 0x8 and protocolId (0, 1) on exchange 31056i with MessageCounter:0. + [1635925713.972876][9695:9700] CHIP:IN: Sending encrypted msg 0xaaaad9b57d10 with MessageCounter:0 to 0x0000000000000001 at monotonic time: 13449459 msec + [1635925713.973006][9695:9700] CHIP:DMG: ICR moving to [CommandSen] + [1635925713.973061][9695:9700] CHIP:CTL: Manual pairing code: [36217551633] + [1635925713.973120][9695:9700] CHIP:CTL: SetupQRCode: [MT:00000CQM00A7F87ZT10] + [1635925713.973178][9695:9700] CHIP:EM: Sending Standalone Ack for MessageCounter:1964916542 on exchange 31055i disabled: true - label: "TH_CR3 starts a commissioning process with DUT_CE" + PICS: PICS_MF verification: | On 3rd controller using chip tool connect to the accessory ./chip-tool pairing code 1 36217551633 + + Verify you got below message + Device commissioning completed with success disabled: true - label: "TH_CR2 reads the list of Fabrics on DUT_CE" + PICS: PICS_MF verification: | On 2nd controller using chip tool, read fabrics list - ./chip-tool operationalcredentials read fabrics-list 1 0 + ./chip-tool operationalcredentials read fabrics 2 0 --fabric-filtered 0 + + CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0001 DataVersion: 2455995193 + CHIP:TOO: Fabrics: 3 entries + CHIP:TOO: [1]: { + CHIP:TOO: RootPublicKey: 04656F56DBDB677DC957028DFC0ED76709C72753C9194B117A483BDC07386BFD9529B68EB4448FBBA3964EFF37A56A8F461D348B0DAF3B56A75F3B94BF8209D36F + CHIP:TOO: VendorId: 65521 + CHIP:TOO: FabricId: 1 + CHIP:TOO: NodeId: 1 + CHIP:TOO: Label: + CHIP:TOO: FabricIndex: 1 + CHIP:TOO: } + CHIP:TOO: [2]: { + CHIP:TOO: RootPublicKey: 04F8F28D5D70A4510E0F72FBBA31369796C4206FF95D97B77C1BDFD0438A3BE43510631A1B915BE189323F4CC0E015480192654D8170F8F230C7713898962958B7 + CHIP:TOO: VendorId: 65521 + CHIP:TOO: FabricId: 1 + CHIP:TOO: NodeId: 2 + CHIP:TOO: Label: + CHIP:TOO: FabricIndex: 2 + CHIP:TOO: } + CHIP:TOO: [3]: { + CHIP:TOO: RootPublicKey: 04F8F28D5D70A4510E0F72FBBA31369796C4206FF95D97B77C1BDFD0438A3BE43510631A1B915BE189323F4CC0E015480192654D8170F8F230C7713898962958B7 + CHIP:TOO: VendorId: 65521 + CHIP:TOO: FabricId: 1 + CHIP:TOO: NodeId: 3 + CHIP:TOO: Label: + CHIP:TOO: FabricIndex: 3 + CHIP:TOO: } + CHIP:EM: Sending Standalone Ack for MessageCounter:9143157 on exchange 1147i disabled: true - label: "TH_CR2 sends RemoveFabric with FabricIndex = 2 command to DUT_CE" + PICS: PICS_MF verification: | on 2nd controller using chip tool, remove fabric with FabricIndex=2 - ./chip-tool operationalcredentials remove-fabric 2 1 0 + ./chip-tool operationalcredentials remove-fabric 2 2 0 + + CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_003E Command=0x0000_0008 + CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Command 0x0000_0008 + CHIP:TOO: NOCResponse: { + CHIP:TOO: statusCode: 0 + CHIP:TOO: fabricIndex: 2 + CHIP:TOO: } + CHIP:DMG: ICR moving to [AwaitingDe] disabled: true - label: "TH_CR2 writes and reads the Basic Information Clusters NodeLabel mandatory attribute of DUT_CE" + PICS: PICS_MF verification: | - On 2nd controller, using chip-tool write attribute, Verify read attribute returns the updated value written. - - ./chip-tool basic write user-label te5new 1 0 - - [1635862117.716433][3691:3696] CHIP:DMG: WriteResponse = - [1635862117.716467][3691:3696] CHIP:DMG: { - [1635862117.716497][3691:3696] CHIP:DMG: AttributeStatusList = - [1635862117.716535][3691:3696] CHIP:DMG: [ - [1635862117.716567][3691:3696] CHIP:DMG: AttributeStatusIB = - [1635862117.716608][3691:3696] CHIP:DMG: { - [1635862117.716647][3691:3696] CHIP:DMG: AttributePath = - [1635862117.716689][3691:3696] CHIP:DMG: { - [1635862117.716734][3691:3696] CHIP:DMG: FieldTag = 0x0000_0005, - [1635862117.716781][3691:3696] CHIP:DMG: NodeId = 0x0, - [1635862117.716827][3691:3696] CHIP:DMG: ClusterId = 0x28, - [1635862117.716871][3691:3696] CHIP:DMG: EndpointId = 0x0, - [1635862117.716914][3691:3696] CHIP:DMG: } - [1635862117.716962][3691:3696] CHIP:DMG: - [1635862117.717002][3691:3696] CHIP:DMG: StatusIB = - [1635862117.717044][3691:3696] CHIP:DMG: { - [1635862117.717087][3691:3696] CHIP:DMG: status = 0x0, - [1635862117.717130][3691:3696] CHIP:DMG: }, - [1635862117.717173][3691:3696] CHIP:DMG: - [1635862117.717212][3691:3696] CHIP:DMG: }, - [1635862117.717256][3691:3696] CHIP:DMG: - [1635862117.717288][3691:3696] CHIP:DMG: ], - [1635862117.717330][3691:3696] CHIP:DMG: - [1635862117.717362][3691:3696] CHIP:DMG: } - [1635862117.717462][3691:3696] CHIP:ZCL: WriteResponse: - [1635862117.717493][3691:3696] CHIP:ZCL: status: Success (0x0000) - [1635862117.717525][3691:3696] CHIP:TOO: Default Success Response - - ./chip-tool basic read user-label 1 0 - [1635862186.734626][3701:3706] CHIP:DMG: ReportData = - [1635862186.734664][3701:3706] CHIP:DMG: { - [1635862186.734694][3701:3706] CHIP:DMG: AttributeDataList = - [1635862186.734735][3701:3706] CHIP:DMG: [ - [1635862186.734771][3701:3706] CHIP:DMG: AttributeDataElement = - [1635862186.734809][3701:3706] CHIP:DMG: { - [1635862186.734847][3701:3706] CHIP:DMG: AttributePath = - [1635862186.734895][3701:3706] CHIP:DMG: { - [1635862186.735070][3701:3706] CHIP:DMG: NodeId = 0x1, - [1635862186.735150][3701:3706] CHIP:DMG: EndpointId = 0x0, - [1635862186.735220][3701:3706] CHIP:DMG: ClusterId = 0x28, - [1635862186.735291][3701:3706] CHIP:DMG: FieldTag = 0x0000_0005, - [1635862186.735335][3701:3706] CHIP:DMG: } - [1635862186.735383][3701:3706] CHIP:DMG: - [1635862186.735431][3701:3706] CHIP:DMG: Data = "te5new", - [1635862186.735473][3701:3706] CHIP:DMG: DataElementVersion = 0x0, - [1635862186.735533][3701:3706] CHIP:DMG: }, - [1635862186.735581][3701:3706] CHIP:DMG: - [1635862186.735617][3701:3706] CHIP:DMG: ], - [1635862186.735657][3701:3706] CHIP:DMG: - [1635862186.735691][3701:3706] CHIP:DMG: } - [1635862186.735799][3701:3706] CHIP:ZCL: ReadAttributesResponse: - [1635862186.735832][3701:3706] CHIP:ZCL: ClusterId: 0x0000_0028 - [1635862186.735868][3701:3706] CHIP:ZCL: attributeId: 0x0000_0005 - [1635862186.735901][3701:3706] CHIP:ZCL: status: Success (0x0000) - [1635862186.735932][3701:3706] CHIP:ZCL: attribute TLV Type: 0x0c - [1635862186.735967][3701:3706] CHIP:TOO: CharString attribute Response: te5new + Using your 2nd controller, write attribute and read attribute to and from TH_CE + + Below is the example while using chip tool on second controller, + ./chip-tool basic write node-label te5new 2 0 + + Received error (protocol code 2) during pairing process. ../../third_party/connectedhomeip/src/protocols/secure_channel/CASESession.cpp:1551: CHIP Error 0x00000054: Invalid CASE parameter + [1651819620.929567][4359:4364] CHIP:CTL: OperationalDeviceProxy[B8070CD13C99D367:0000000000000002]: State change 3 --> 2 + [1651819620.929700][4359:4364] CHIP:-: ../../third_party/connectedhomeip/src/protocols/secure_channel/CASESession.cpp:1551: CHIP Error 0x00000054: Invalid CASE parameter at ../../commands/clusters/ModelCommand.cpp:53 + + ./chip-tool basic read node-label 2 0 + + Received error (protocol code 2) during pairing process. ../../third_party/connectedhomeip/src/protocols/secure_channel/CASESession.cpp:1551: CHIP Error 0x00000054: Invalid CASE parameter + [1651819620.929567][4359:4364] CHIP:CTL: OperationalDeviceProxy[B8070CD13C99D367:0000000000000002]: State change 3 --> 2 + [1651819620.929700][4359:4364] CHIP:-: ../../third_party/connectedhomeip/src/protocols/secure_channel/CASESession.cpp:1551: CHIP Error 0x00000054: Invalid CASE parameter at ../../commands/clusters/ModelCommand.cpp:53 disabled: true - label: "TH_CR1 reads the list of Fabrics on DUT_CE" + PICS: PICS_MF verification: | On 1st controller using chip tool, read fabrics list - ./chip-tool operationalcredentials read fabrics-list 1 0 + Below is the command using chip tool controller + + ./chip-tool operationalcredentials read fabrics 1 0 --fabric-filtered 0 + + CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0001 DataVersion: 2455995219 + [1647863260.286772][9294:9299] CHIP:TOO: Fabrics: 2 entries + [1647863260.286908][9294:9299] CHIP:TOO: [1]: { + [1647863260.286947][9294:9299] CHIP:TOO: RootPublicKey: 04656F56DBDB677DC957028DFC0ED76709C72753C9194B117A483BDC07386BFD9529B68EB4448FBBA3964EFF37A56A8F461D348B0DAF3B56A75F3B94BF8209D36F + [1647863260.286995][9294:9299] CHIP:TOO: VendorId: 65521 + [1647863260.287026][9294:9299] CHIP:TOO: FabricId: 1 + [1647863260.287055][9294:9299] CHIP:TOO: NodeId: 1 + [1647863260.287084][9294:9299] CHIP:TOO: Label: + [1647863260.287113][9294:9299] CHIP:TOO: FabricIndex: 1 + [1647863260.287144][9294:9299] CHIP:TOO: } + [1647863260.287185][9294:9299] CHIP:TOO: [2]: { + [1647863260.287221][9294:9299] CHIP:TOO: RootPublicKey: 04F8F28D5D70A4510E0F72FBBA31369796C4206FF95D97B77C1BDFD0438A3BE43510631A1B915BE189323F4CC0E015480192654D8170F8F230C7713898962958B7 + [1647863260.287253][9294:9299] CHIP:TOO: VendorId: 65521 + [1647863260.287282][9294:9299] CHIP:TOO: FabricId: 1 + [1647863260.287310][9294:9299] CHIP:TOO: NodeId: 3 + [1647863260.287339][9294:9299] CHIP:TOO: Label: + [1647863260.287368][9294:9299] CHIP:TOO: FabricIndex: 3 + [1647863260.287396][9294:9299] CHIP:TOO: } + [1647863260.287515][9294:9299] CHIP:EM: Sending Standalone Ack for MessageCounter:11301761 on exchange 13180i" disabled: true - label: "TH_CR1 opens a commissioning window on DUT_CE using a commissioning timeout of PIXIT_COMM_WIN seconds using ECM" + PICS: PICS_MF verification: | On 1st controller chip tool, open commissioning window - ./chip-tool pairing open-commissioning-window 1 1 100 1000 3840 + ./chip-tool pairing open-commissioning-window 1 1 180 1000 3840 [1635925713.966786][9695:9700] CHIP:SC: Success status report received. Session was established [1635925713.966839][9695:9700] CHIP:IN: New secure session created for device 0x0000000000000001, key 33!! @@ -185,16 +231,51 @@ tests: disabled: true - label: "TH_CR2 starts a commissioning process with DUT_CE" + PICS: PICS_MF verification: | On 2nd controller using chip tool connect to the accessory ./chip-tool pairing code 1 36217551633 + + Verify you got below message + Device commissioning completed with success disabled: true - label: "TH_CR1 reads the list of Fabrics on DUT_CE" + PICS: PICS_MF verification: | - On 1st controller using chip tool, read fabrics list - - ./chip-tool operationalcredentials read fabrics-list 1 0 + On 1st controller, read fabrics list + + Below is the command using chip tool controller + + ./chip-tool operationalcredentials read fabrics 1 0 --fabric-filtered 0 + + CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0001 DataVersion: 2455995246 + [1647863342.980899][9309:9314] CHIP:TOO: Fabrics: 3 entries + [1647863342.981158][9309:9314] CHIP:TOO: [1]: { + [1647863342.981231][9309:9314] CHIP:TOO: RootPublicKey: 04656F56DBDB677DC957028DFC0ED76709C72753C9194B117A483BDC07386BFD9529B68EB4448FBBA3964EFF37A56A8F461D348B0DAF3B56A75F3B94BF8209D36F + [1647863342.981322][9309:9314] CHIP:TOO: VendorId: 65521 + [1647863342.981380][9309:9314] CHIP:TOO: FabricId: 1 + [1647863342.981434][9309:9314] CHIP:TOO: NodeId: 1 + [1647863342.981486][9309:9314] CHIP:TOO: Label: + [1647863342.981539][9309:9314] CHIP:TOO: FabricIndex: 1 + [1647863342.981594][9309:9314] CHIP:TOO: } + [1647863342.981671][9309:9314] CHIP:TOO: [2]: { + [1647863342.981737][9309:9314] CHIP:TOO: RootPublicKey: 04F8F28D5D70A4510E0F72FBBA31369796C4206FF95D97B77C1BDFD0438A3BE43510631A1B915BE189323F4CC0E015480192654D8170F8F230C7713898962958B7 + [1647863342.981796][9309:9314] CHIP:TOO: VendorId: 65521 + [1647863342.981849][9309:9314] CHIP:TOO: FabricId: 1 + [1647863342.981901][9309:9314] CHIP:TOO: NodeId: 3 + [1647863342.981952][9309:9314] CHIP:TOO: Label: + [1647863342.982005][9309:9314] CHIP:TOO: FabricIndex: 3 + [1647863342.982057][9309:9314] CHIP:TOO: } + [1647863342.982131][9309:9314] CHIP:TOO: [3]: { + [1647863342.982195][9309:9314] CHIP:TOO: RootPublicKey: 04F8F28D5D70A4510E0F72FBBA31369796C4206FF95D97B77C1BDFD0438A3BE43510631A1B915BE189323F4CC0E015480192654D8170F8F230C7713898962958B7 + [1647863342.982252][9309:9314] CHIP:TOO: VendorId: 65521 + [1647863342.982305][9309:9314] CHIP:TOO: FabricId: 1 + [1647863342.982357][9309:9314] CHIP:TOO: NodeId: 2 + [1647863342.982409][9309:9314] CHIP:TOO: Label: + [1647863342.982460][9309:9314] CHIP:TOO: FabricIndex: 4 + [1647863342.982512][9309:9314] CHIP:TOO: } + [1647863342.982738][9309:9314] CHIP:EM: Sending Standalone Ack for MessageCounter:5772016 on exchange 3310i disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_MF_1_18.yaml b/src/app/tests/suites/certification/Test_TC_MF_1_18.yaml index a7c8120baa2faf..b59d4d46f21c93 100644 --- a/src/app/tests/suites/certification/Test_TC_MF_1_18.yaml +++ b/src/app/tests/suites/certification/Test_TC_MF_1_18.yaml @@ -14,7 +14,7 @@ # Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default name: - 22.1.18. [TC-MF-1.18] Removing Fabrics from DUT and Fabric index enumeration + 3.1.18. [TC-MF-1.18] Removing Fabrics from DUT and Fabric index enumeration using BCM [DUT - Commissionee] config: @@ -24,206 +24,318 @@ config: tests: - label: "Reset DUT_CE to factory defaults" + PICS: PICS_MF verification: | disabled: true - label: "TH_CR1 starts a commissioning process with DUT_CE" + PICS: PICS_MF verification: | - 1. Provision the device using 1st controller chip tool(use above instructions) , + "1. Provision the device using 1st controller chip tool(use above instructions) , + " disabled: true - label: "TH_CR1 opens a commissioning window on DUT_CE using a commissioning timeout of PIXIT_COMM_WIN seconds using BCM" + PICS: PICS_MF verification: | On 1st controller chip tool, open commissioning window - - ./chip-tool administratorcommissioning open-basic-commissioning-window 500 1 0 - - [1635926620.928560][10177:10182] CHIP:DMG: InvokeCommand = - [1635926620.928631][10177:10182] CHIP:DMG: { - [1635926620.928680][10177:10182] CHIP:DMG: CommandList = - [1635926620.928745][10177:10182] CHIP:DMG: [ - [1635926620.928799][10177:10182] CHIP:DMG: CommandDataIB = - [1635926620.928866][10177:10182] CHIP:DMG: { - [1635926620.928963][10177:10182] CHIP:DMG: CommandPathIB = - [1635926620.929041][10177:10182] CHIP:DMG: { - [1635926620.929107][10177:10182] CHIP:DMG: EndpointId = 0x0, - [1635926620.929223][10177:10182] CHIP:DMG: ClusterId = 0x3c, - [1635926620.929308][10177:10182] CHIP:DMG: CommandId = 0x1, - [1635926620.929434][10177:10182] CHIP:DMG: }, - [1635926620.929516][10177:10182] CHIP:DMG: - [1635926620.929580][10177:10182] CHIP:DMG: StatusIB = - [1635926620.929656][10177:10182] CHIP:DMG: { - [1635926620.929755][10177:10182] CHIP:DMG: status = 0x0, - [1635926620.929829][10177:10182] CHIP:DMG: }, - [1635926620.929919][10177:10182] CHIP:DMG: - [1635926620.929976][10177:10182] CHIP:DMG: }, - [1635926620.930070][10177:10182] CHIP:DMG: - [1635926620.930123][10177:10182] CHIP:DMG: ], - [1635926620.930182][10177:10182] CHIP:DMG: - [1635926620.930226][10177:10182] CHIP:DMG: } - [1635926620.930325][10177:10182] CHIP:DMG: Received Command Response Status for Endpoint=0 Cluster=0x0000_003C Command=0x0000_0001 Status=0x0 - [1635926620.930412][10177:10182] CHIP:TOO: Default Success Response + ./chip-tool administratorcommissioning open-basic-commissioning-window 500 1 0 --timedInteractionTimeoutMs 1000 + + CHIP:DMG: InvokeResponseMessage = + [1650278416.248379][11064:11069] CHIP:DMG: { + [1650278416.248436][11064:11069] CHIP:DMG: suppressResponse = false, + [1650278416.248495][11064:11069] CHIP:DMG: InvokeResponseIBs = + [1650278416.248570][11064:11069] CHIP:DMG: [ + [1650278416.248630][11064:11069] CHIP:DMG: InvokeResponseIB = + [1650278416.248718][11064:11069] CHIP:DMG: { + [1650278416.248783][11064:11069] CHIP:DMG: CommandStatusIB = + [1650278416.248860][11064:11069] CHIP:DMG: { + [1650278416.248931][11064:11069] CHIP:DMG: CommandPathIB = + [1650278416.249011][11064:11069] CHIP:DMG: { + [1650278416.249100][11064:11069] CHIP:DMG: EndpointId = 0x0, + [1650278416.249186][11064:11069] CHIP:DMG: ClusterId = 0x3c, + [1650278416.249268][11064:11069] CHIP:DMG: CommandId = 0x1, + [1650278416.249347][11064:11069] CHIP:DMG: }, + [1650278416.249430][11064:11069] CHIP:DMG: + [1650278416.249501][11064:11069] CHIP:DMG: StatusIB = + [1650278416.249581][11064:11069] CHIP:DMG: { + [1650278416.249664][11064:11069] CHIP:DMG: status = 0x00 (SUCCESS), + [1650278416.249738][11064:11069] CHIP:DMG: }, + [1650278416.249823][11064:11069] CHIP:DMG: + [1650278416.249889][11064:11069] CHIP:DMG: }, + [1650278416.249969][11064:11069] CHIP:DMG: + [1650278416.250035][11064:11069] CHIP:DMG: }, + [1650278416.250113][11064:11069] CHIP:DMG: + [1650278416.250169][11064:11069] CHIP:DMG: ], + [1650278416.250241][11064:11069] CHIP:DMG: + [1650278416.250298][11064:11069] CHIP:DMG: InteractionModelRevision = 1 + [1650278416.250355][11064:11069] CHIP:DMG: }, + [1650278416.250535][11064:11069] CHIP:DMG: Received Command Response Status for Endpoint=0 Cluster=0x0000_003C Command=0x0000_0001 Status=0x0 + [1650278416.250634][11064:11069] CHIP:DMG: ICR moving to [AwaitingDe] disabled: true - label: "TH_CR2 starts a commissioning process with DUT_CE" + PICS: PICS_MF verification: | On 2nd controller using chip tool connect to the accessory ./chip-tool pairing onnetwork 1 20202021 + + Verify you got below message + Device commissioning completed with success disabled: true - - label: "Repeat step3 to commission TH_CR3" + - label: + "TH_CR1 opens a commissioning window on DUT_CE using a commissioning + timeout of PIXIT_COMM_WIN seconds using BCM" + PICS: PICS_MF verification: | - + On 1st controller chip tool, open commissioning window + ./chip-tool administratorcommissioning open-basic-commissioning-window 500 2 0 --timedInteractionTimeoutMs 1000 + + CHIP:DMG: InvokeResponseMessage = + [1650278416.248379][11064:11069] CHIP:DMG: { + [1650278416.248436][11064:11069] CHIP:DMG: suppressResponse = false, + [1650278416.248495][11064:11069] CHIP:DMG: InvokeResponseIBs = + [1650278416.248570][11064:11069] CHIP:DMG: [ + [1650278416.248630][11064:11069] CHIP:DMG: InvokeResponseIB = + [1650278416.248718][11064:11069] CHIP:DMG: { + [1650278416.248783][11064:11069] CHIP:DMG: CommandStatusIB = + [1650278416.248860][11064:11069] CHIP:DMG: { + [1650278416.248931][11064:11069] CHIP:DMG: CommandPathIB = + [1650278416.249011][11064:11069] CHIP:DMG: { + [1650278416.249100][11064:11069] CHIP:DMG: EndpointId = 0x0, + [1650278416.249186][11064:11069] CHIP:DMG: ClusterId = 0x3c, + [1650278416.249268][11064:11069] CHIP:DMG: CommandId = 0x1, + [1650278416.249347][11064:11069] CHIP:DMG: }, + [1650278416.249430][11064:11069] CHIP:DMG: + [1650278416.249501][11064:11069] CHIP:DMG: StatusIB = + [1650278416.249581][11064:11069] CHIP:DMG: { + [1650278416.249664][11064:11069] CHIP:DMG: status = 0x00 (SUCCESS), + [1650278416.249738][11064:11069] CHIP:DMG: }, + [1650278416.249823][11064:11069] CHIP:DMG: + [1650278416.249889][11064:11069] CHIP:DMG: }, + [1650278416.249969][11064:11069] CHIP:DMG: + [1650278416.250035][11064:11069] CHIP:DMG: }, + [1650278416.250113][11064:11069] CHIP:DMG: + [1650278416.250169][11064:11069] CHIP:DMG: ], + [1650278416.250241][11064:11069] CHIP:DMG: + [1650278416.250298][11064:11069] CHIP:DMG: InteractionModelRevision = 1 + [1650278416.250355][11064:11069] CHIP:DMG: }, + [1650278416.250535][11064:11069] CHIP:DMG: Received Command Response Status for Endpoint=0 Cluster=0x0000_003C Command=0x0000_0001 Status=0x0 + [1650278416.250634][11064:11069] CHIP:DMG: ICR moving to [AwaitingDe] disabled: true - label: "TH_CR3 starts a commissioning process with DUT_CE" + PICS: PICS_MF verification: | On 3rd controller using chip tool connect to the accessory ./chip-tool pairing onnetwork 1 20202021 + + Verify you got below message + Device commissioning completed with success disabled: true - label: "TH_CR2 reads the list of Fabrics on DUT_CE" + PICS: PICS_MF verification: | On 2nd controller using chip tool, read fabrics list - ./chip-tool operationalcredentials read fabrics-list 1 0 + ./chip-tool operationalcredentials read fabrics 2 0 --fabric-filtered 0 + + CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0001 DataVersion: 2455995193 + CHIP:TOO: Fabrics: 3 entries + CHIP:TOO: [1]: { + CHIP:TOO: RootPublicKey: 04656F56DBDB677DC957028DFC0ED76709C72753C9194B117A483BDC07386BFD9529B68EB4448FBBA3964EFF37A56A8F461D348B0DAF3B56A75F3B94BF8209D36F + CHIP:TOO: VendorId: 65521 + CHIP:TOO: FabricId: 1 + CHIP:TOO: NodeId: 1 + CHIP:TOO: Label: + CHIP:TOO: FabricIndex: 1 + CHIP:TOO: } + CHIP:TOO: [2]: { + CHIP:TOO: RootPublicKey: 04F8F28D5D70A4510E0F72FBBA31369796C4206FF95D97B77C1BDFD0438A3BE43510631A1B915BE189323F4CC0E015480192654D8170F8F230C7713898962958B7 + CHIP:TOO: VendorId: 65521 + CHIP:TOO: FabricId: 1 + CHIP:TOO: NodeId: 2 + CHIP:TOO: Label: + CHIP:TOO: FabricIndex: 2 + CHIP:TOO: } + CHIP:TOO: [3]: { + CHIP:TOO: RootPublicKey: 04F8F28D5D70A4510E0F72FBBA31369796C4206FF95D97B77C1BDFD0438A3BE43510631A1B915BE189323F4CC0E015480192654D8170F8F230C7713898962958B7 + CHIP:TOO: VendorId: 65521 + CHIP:TOO: FabricId: 1 + CHIP:TOO: NodeId: 3 + CHIP:TOO: Label: + CHIP:TOO: FabricIndex: 3 + CHIP:TOO: } + CHIP:EM: Sending Standalone Ack for MessageCounter:9143157 on exchange 1147i disabled: true - label: "TH_CR2 sends RemoveFabric with FabricIndex = 2 command to DUT_CE" + PICS: PICS_MF verification: | on 2nd controller using chip tool, remove fabric with FabricIndex=2 - ./chip-tool operationalcredentials remove-fabric 2 1 0 + ./chip-tool operationalcredentials remove-fabric 2 2 0 + + CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_003E Command=0x0000_0008 + CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Command 0x0000_0008 + CHIP:TOO: NOCResponse: { + CHIP:TOO: statusCode: 0 + CHIP:TOO: fabricIndex: 2 + CHIP:TOO: } + CHIP:DMG: ICR moving to [AwaitingDe] disabled: true - label: "TH_CR2 writes and reads the Basic Information Clusters NodeLabel mandatory attribute of DUT_CE" + PICS: PICS_MF verification: | - On 2nd controller, using chip-tool write attribute, Verify read attribute returns the updated value written. - - ./chip-tool basic write user-label te5new 1 0 - - [1635862117.716433][3691:3696] CHIP:DMG: WriteResponse = - [1635862117.716467][3691:3696] CHIP:DMG: { - [1635862117.716497][3691:3696] CHIP:DMG: AttributeStatusList = - [1635862117.716535][3691:3696] CHIP:DMG: [ - [1635862117.716567][3691:3696] CHIP:DMG: AttributeStatusIB = - [1635862117.716608][3691:3696] CHIP:DMG: { - [1635862117.716647][3691:3696] CHIP:DMG: AttributePath = - [1635862117.716689][3691:3696] CHIP:DMG: { - [1635862117.716734][3691:3696] CHIP:DMG: FieldTag = 0x0000_0005, - [1635862117.716781][3691:3696] CHIP:DMG: NodeId = 0x0, - [1635862117.716827][3691:3696] CHIP:DMG: ClusterId = 0x28, - [1635862117.716871][3691:3696] CHIP:DMG: EndpointId = 0x0, - [1635862117.716914][3691:3696] CHIP:DMG: } - [1635862117.716962][3691:3696] CHIP:DMG: - [1635862117.717002][3691:3696] CHIP:DMG: StatusIB = - [1635862117.717044][3691:3696] CHIP:DMG: { - [1635862117.717087][3691:3696] CHIP:DMG: status = 0x0, - [1635862117.717130][3691:3696] CHIP:DMG: }, - [1635862117.717173][3691:3696] CHIP:DMG: - [1635862117.717212][3691:3696] CHIP:DMG: }, - [1635862117.717256][3691:3696] CHIP:DMG: - [1635862117.717288][3691:3696] CHIP:DMG: ], - [1635862117.717330][3691:3696] CHIP:DMG: - [1635862117.717362][3691:3696] CHIP:DMG: } - [1635862117.717462][3691:3696] CHIP:ZCL: WriteResponse: - [1635862117.717493][3691:3696] CHIP:ZCL: status: Success (0x0000) - [1635862117.717525][3691:3696] CHIP:TOO: Default Success Response - - ./chip-tool basic read user-label 1 0 - [1635862186.734626][3701:3706] CHIP:DMG: ReportData = - [1635862186.734664][3701:3706] CHIP:DMG: { - [1635862186.734694][3701:3706] CHIP:DMG: AttributeDataList = - [1635862186.734735][3701:3706] CHIP:DMG: [ - [1635862186.734771][3701:3706] CHIP:DMG: AttributeDataElement = - [1635862186.734809][3701:3706] CHIP:DMG: { - [1635862186.734847][3701:3706] CHIP:DMG: AttributePath = - [1635862186.734895][3701:3706] CHIP:DMG: { - [1635862186.735070][3701:3706] CHIP:DMG: NodeId = 0x1, - [1635862186.735150][3701:3706] CHIP:DMG: EndpointId = 0x0, - [1635862186.735220][3701:3706] CHIP:DMG: ClusterId = 0x28, - [1635862186.735291][3701:3706] CHIP:DMG: FieldTag = 0x0000_0005, - [1635862186.735335][3701:3706] CHIP:DMG: } - [1635862186.735383][3701:3706] CHIP:DMG: - [1635862186.735431][3701:3706] CHIP:DMG: Data = "te5new", - [1635862186.735473][3701:3706] CHIP:DMG: DataElementVersion = 0x0, - [1635862186.735533][3701:3706] CHIP:DMG: }, - [1635862186.735581][3701:3706] CHIP:DMG: - [1635862186.735617][3701:3706] CHIP:DMG: ], - [1635862186.735657][3701:3706] CHIP:DMG: - [1635862186.735691][3701:3706] CHIP:DMG: } - [1635862186.735799][3701:3706] CHIP:ZCL: ReadAttributesResponse: - [1635862186.735832][3701:3706] CHIP:ZCL: ClusterId: 0x0000_0028 - [1635862186.735868][3701:3706] CHIP:ZCL: attributeId: 0x0000_0005 - [1635862186.735901][3701:3706] CHIP:ZCL: status: Success (0x0000) - [1635862186.735932][3701:3706] CHIP:ZCL: attribute TLV Type: 0x0c - [1635862186.735967][3701:3706] CHIP:TOO: CharString attribute Response: te5new + Using your 2nd controller, write attribute and read attribute to and from TH_CE + + Below is the example while using chip tool on second controller, + ./chip-tool basic write node-label te5new 2 0 + + Received error (protocol code 2) during pairing process. ../../third_party/connectedhomeip/src/protocols/secure_channel/CASESession.cpp:1551: CHIP Error 0x00000054: Invalid CASE parameter + [1651819620.929567][4359:4364] CHIP:CTL: OperationalDeviceProxy[B8070CD13C99D367:0000000000000002]: State change 3 --> 2 + [1651819620.929700][4359:4364] CHIP:-: ../../third_party/connectedhomeip/src/protocols/secure_channel/CASESession.cpp:1551: CHIP Error 0x00000054: Invalid CASE parameter at ../../commands/clusters/ModelCommand.cpp:53 + + ./chip-tool basic read node-label 2 0 + + Received error (protocol code 2) during pairing process. ../../third_party/connectedhomeip/src/protocols/secure_channel/CASESession.cpp:1551: CHIP Error 0x00000054: Invalid CASE parameter + [1651819620.929567][4359:4364] CHIP:CTL: OperationalDeviceProxy[B8070CD13C99D367:0000000000000002]: State change 3 --> 2 + [1651819620.929700][4359:4364] CHIP:-: ../../third_party/connectedhomeip/src/protocols/secure_channel/CASESession.cpp:1551: CHIP Error 0x00000054: Invalid CASE parameter at ../../commands/clusters/ModelCommand.cpp:53 disabled: true - label: "TH_CR1 reads the list of Fabrics on DUT_CE" + PICS: PICS_MF verification: | On 1st controller using chip tool, read fabrics list - ./chip-tool operationalcredentials read fabrics-list 1 0 + + Below is the command using chip tool controller + + ./chip-tool operationalcredentials read fabrics 1 0 --fabric-filtered 0 + + CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0001 DataVersion: 2455995219 + [1647863260.286772][9294:9299] CHIP:TOO: Fabrics: 2 entries + [1647863260.286908][9294:9299] CHIP:TOO: [1]: { + [1647863260.286947][9294:9299] CHIP:TOO: RootPublicKey: 04656F56DBDB677DC957028DFC0ED76709C72753C9194B117A483BDC07386BFD9529B68EB4448FBBA3964EFF37A56A8F461D348B0DAF3B56A75F3B94BF8209D36F + [1647863260.286995][9294:9299] CHIP:TOO: VendorId: 65521 + [1647863260.287026][9294:9299] CHIP:TOO: FabricId: 1 + [1647863260.287055][9294:9299] CHIP:TOO: NodeId: 1 + [1647863260.287084][9294:9299] CHIP:TOO: Label: + [1647863260.287113][9294:9299] CHIP:TOO: FabricIndex: 1 + [1647863260.287144][9294:9299] CHIP:TOO: } + [1647863260.287185][9294:9299] CHIP:TOO: [2]: { + [1647863260.287221][9294:9299] CHIP:TOO: RootPublicKey: 04F8F28D5D70A4510E0F72FBBA31369796C4206FF95D97B77C1BDFD0438A3BE43510631A1B915BE189323F4CC0E015480192654D8170F8F230C7713898962958B7 + [1647863260.287253][9294:9299] CHIP:TOO: VendorId: 65521 + [1647863260.287282][9294:9299] CHIP:TOO: FabricId: 1 + [1647863260.287310][9294:9299] CHIP:TOO: NodeId: 3 + [1647863260.287339][9294:9299] CHIP:TOO: Label: + [1647863260.287368][9294:9299] CHIP:TOO: FabricIndex: 3 + [1647863260.287396][9294:9299] CHIP:TOO: } + [1647863260.287515][9294:9299] CHIP:EM: Sending Standalone Ack for MessageCounter:11301761 on exchange 13180i" disabled: true - label: "TH_CR1 opens a commissioning window on DUT_CE using a commissioning timeout of PIXIT_COMM_WIN seconds using BCM" + PICS: PICS_MF verification: | On 1st controller chip tool, open commissioning window - - ./chip-tool administratorcommissioning open-basic-commissioning-window 500 1 0 - - [1635926620.928560][10177:10182] CHIP:DMG: InvokeCommand = - [1635926620.928631][10177:10182] CHIP:DMG: { - [1635926620.928680][10177:10182] CHIP:DMG: CommandList = - [1635926620.928745][10177:10182] CHIP:DMG: [ - [1635926620.928799][10177:10182] CHIP:DMG: CommandDataIB = - [1635926620.928866][10177:10182] CHIP:DMG: { - [1635926620.928963][10177:10182] CHIP:DMG: CommandPathIB = - [1635926620.929041][10177:10182] CHIP:DMG: { - [1635926620.929107][10177:10182] CHIP:DMG: EndpointId = 0x0, - [1635926620.929223][10177:10182] CHIP:DMG: ClusterId = 0x3c, - [1635926620.929308][10177:10182] CHIP:DMG: CommandId = 0x1, - [1635926620.929434][10177:10182] CHIP:DMG: }, - [1635926620.929516][10177:10182] CHIP:DMG: - [1635926620.929580][10177:10182] CHIP:DMG: StatusIB = - [1635926620.929656][10177:10182] CHIP:DMG: { - [1635926620.929755][10177:10182] CHIP:DMG: status = 0x0, - [1635926620.929829][10177:10182] CHIP:DMG: }, - [1635926620.929919][10177:10182] CHIP:DMG: - [1635926620.929976][10177:10182] CHIP:DMG: }, - [1635926620.930070][10177:10182] CHIP:DMG: - [1635926620.930123][10177:10182] CHIP:DMG: ], - [1635926620.930182][10177:10182] CHIP:DMG: - [1635926620.930226][10177:10182] CHIP:DMG: } - [1635926620.930325][10177:10182] CHIP:DMG: Received Command Response Status for Endpoint=0 Cluster=0x0000_003C Command=0x0000_0001 Status=0x0 - [1635926620.930412][10177:10182] CHIP:TOO: Default Success Response + ./chip-tool administratorcommissioning open-basic-commissioning-window 500 2 0 --timedInteractionTimeoutMs 1000 + + + CHIP:DMG: InvokeResponseMessage = + [1650278416.248379][11064:11069] CHIP:DMG: { + [1650278416.248436][11064:11069] CHIP:DMG: suppressResponse = false, + [1650278416.248495][11064:11069] CHIP:DMG: InvokeResponseIBs = + [1650278416.248570][11064:11069] CHIP:DMG: [ + [1650278416.248630][11064:11069] CHIP:DMG: InvokeResponseIB = + [1650278416.248718][11064:11069] CHIP:DMG: { + [1650278416.248783][11064:11069] CHIP:DMG: CommandStatusIB = + [1650278416.248860][11064:11069] CHIP:DMG: { + [1650278416.248931][11064:11069] CHIP:DMG: CommandPathIB = + [1650278416.249011][11064:11069] CHIP:DMG: { + [1650278416.249100][11064:11069] CHIP:DMG: EndpointId = 0x0, + [1650278416.249186][11064:11069] CHIP:DMG: ClusterId = 0x3c, + [1650278416.249268][11064:11069] CHIP:DMG: CommandId = 0x1, + [1650278416.249347][11064:11069] CHIP:DMG: }, + [1650278416.249430][11064:11069] CHIP:DMG: + [1650278416.249501][11064:11069] CHIP:DMG: StatusIB = + [1650278416.249581][11064:11069] CHIP:DMG: { + [1650278416.249664][11064:11069] CHIP:DMG: status = 0x00 (SUCCESS), + [1650278416.249738][11064:11069] CHIP:DMG: }, + [1650278416.249823][11064:11069] CHIP:DMG: + [1650278416.249889][11064:11069] CHIP:DMG: }, + [1650278416.249969][11064:11069] CHIP:DMG: + [1650278416.250035][11064:11069] CHIP:DMG: }, + [1650278416.250113][11064:11069] CHIP:DMG: + [1650278416.250169][11064:11069] CHIP:DMG: ], + [1650278416.250241][11064:11069] CHIP:DMG: + [1650278416.250298][11064:11069] CHIP:DMG: InteractionModelRevision = 1 + [1650278416.250355][11064:11069] CHIP:DMG: }, + [1650278416.250535][11064:11069] CHIP:DMG: Received Command Response Status for Endpoint=0 Cluster=0x0000_003C Command=0x0000_0001 Status=0x0 + [1650278416.250634][11064:11069] CHIP:DMG: ICR moving to [AwaitingDe] disabled: true - label: "TH_CR2 starts a commissioning process with DUT_CE" + PICS: PICS_MF verification: | On 2nd controller using chip tool connect to the accessory ./chip-tool pairing onnetwork 1 20202021 + + Verify you got below message + Device commissioning completed with success disabled: true - label: "TH_CR1 reads the list of Fabrics on DUT_CE" + PICS: PICS_MF verification: | - On 1st controller using chip tool, read fabrics list - - ./chip-tool operationalcredentials read fabrics-list 1 0 + On 1st controller, read fabrics list + + Below is the command using chip tool controller + + ./chip-tool operationalcredentials read fabrics 1234 0 --fabric-filtered 0 + + CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0001 DataVersion: 2455995246 + [1647863342.980899][9309:9314] CHIP:TOO: Fabrics: 3 entries + [1647863342.981158][9309:9314] CHIP:TOO: [1]: { + [1647863342.981231][9309:9314] CHIP:TOO: RootPublicKey: 04656F56DBDB677DC957028DFC0ED76709C72753C9194B117A483BDC07386BFD9529B68EB4448FBBA3964EFF37A56A8F461D348B0DAF3B56A75F3B94BF8209D36F + [1647863342.981322][9309:9314] CHIP:TOO: VendorId: 65521 + [1647863342.981380][9309:9314] CHIP:TOO: FabricId: 1 + [1647863342.981434][9309:9314] CHIP:TOO: NodeId: 1 + [1647863342.981486][9309:9314] CHIP:TOO: Label: + [1647863342.981539][9309:9314] CHIP:TOO: FabricIndex: 1 + [1647863342.981594][9309:9314] CHIP:TOO: } + [1647863342.981671][9309:9314] CHIP:TOO: [2]: { + [1647863342.981737][9309:9314] CHIP:TOO: RootPublicKey: 04F8F28D5D70A4510E0F72FBBA31369796C4206FF95D97B77C1BDFD0438A3BE43510631A1B915BE189323F4CC0E015480192654D8170F8F230C7713898962958B7 + [1647863342.981796][9309:9314] CHIP:TOO: VendorId: 65521 + [1647863342.981849][9309:9314] CHIP:TOO: FabricId: 1 + [1647863342.981901][9309:9314] CHIP:TOO: NodeId: 3 + [1647863342.981952][9309:9314] CHIP:TOO: Label: + [1647863342.982005][9309:9314] CHIP:TOO: FabricIndex: 3 + [1647863342.982057][9309:9314] CHIP:TOO: } + [1647863342.982131][9309:9314] CHIP:TOO: [3]: { + [1647863342.982195][9309:9314] CHIP:TOO: RootPublicKey: 04F8F28D5D70A4510E0F72FBBA31369796C4206FF95D97B77C1BDFD0438A3BE43510631A1B915BE189323F4CC0E015480192654D8170F8F230C7713898962958B7 + [1647863342.982252][9309:9314] CHIP:TOO: VendorId: 65521 + [1647863342.982305][9309:9314] CHIP:TOO: FabricId: 1 + [1647863342.982357][9309:9314] CHIP:TOO: NodeId: 2 + [1647863342.982409][9309:9314] CHIP:TOO: Label: + [1647863342.982460][9309:9314] CHIP:TOO: FabricIndex: 4 + [1647863342.982512][9309:9314] CHIP:TOO: } + [1647863342.982738][9309:9314] CHIP:EM: Sending Standalone Ack for MessageCounter:5772016 on exchange 3310i disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_MF_1_19.yaml b/src/app/tests/suites/certification/Test_TC_MF_1_19.yaml index c7a53e4c5e0eb6..096510bc8b4b5f 100644 --- a/src/app/tests/suites/certification/Test_TC_MF_1_19.yaml +++ b/src/app/tests/suites/certification/Test_TC_MF_1_19.yaml @@ -18,23 +18,28 @@ name: using ECM [DUT - Commissioner] config: + nodeId: 0x12344321 cluster: "Basic" endpoint: 0 - nodeId: 305414945 + tests: - label: "Reset DUT_CR1 to factory defaults" + PICS: PICS_MF verification: | disabled: true - label: "DUT_CR1 starts a commissioning process with TH_CE" + PICS: PICS_MF verification: | - 1. Provision the device using DUT controller chip tool(use above instructions) , + "1. Provision the device using DUT controller chip tool(use above instructions) , + " disabled: true - label: "DUT_CR1 opens a commissioning window on TH_CE using a commissioning timeout of PIXIT_COMM_WIN seconds using ECM" + PICS: PICS_MF verification: | On your DUT controller chip tool, open commissioning window @@ -71,246 +76,177 @@ tests: disabled: true - label: "TH_CR2 starts a commissioning process with TH_CE" + PICS: PICS_MF verification: | On 2nd controller using chip tool connect to the accessory ./chip-tool pairing code 1 35484132896 + + Verify you got below message + Device commissioning completed with success disabled: true - - label: "Repeat step3 to commission TH_CR3" + - label: + "DUT_CR1 opens a commissioning window on TH_CE using a commissioning + timeout of PIXIT_COMM_WIN seconds using ECM" + PICS: PICS_MF verification: | + On your DUT controller chip tool, open commissioning window + + Below is the example when using chip tool as controller + + + ./chip-tool pairing open-commissioning-window 1 1 100 1000 3840 + [1635925713.966786][9695:9700] CHIP:SC: Success status report received. Session was established + [1635925713.966839][9695:9700] CHIP:IN: New secure session created for device 0x0000000000000001, key 33!! + [1635925713.966938][9695:9700] CHIP:CTL: OpenCommissioningWindow for device ID 1 + [1635925713.972601][9695:9700] CHIP:DMG: ICR moving to [AddingComm] + [1635925713.972705][9695:9700] CHIP:DMG: ICR moving to [AddedComma] + [1635925713.972815][9695:9700] CHIP:IN: Prepared encrypted message 0xaaaad9b57d10 to 0x0000000000000001 of type 0x8 and protocolId (0, 1) on exchange 31056i with MessageCounter:0. + [1635925713.972876][9695:9700] CHIP:IN: Sending encrypted msg 0xaaaad9b57d10 with MessageCounter:0 to 0x0000000000000001 at monotonic time: 13449459 msec + [1635925713.973006][9695:9700] CHIP:DMG: ICR moving to [CommandSen] + [1635925713.973061][9695:9700] CHIP:CTL: Manual pairing code: [35484132896] + [1635925713.973120][9695:9700] CHIP:CTL: SetupQRCode: [MT:00000CQM00A7F87ZT10] + [1635925713.973178][9695:9700] CHIP:EM: Sending Standalone Ack for MessageCounter:1964916542 on exchange 31055i + + + + + ./chip-tool payload parse-setup-payload 35484132896 + + CHIP:SPL: Parsing decimalRepresentation: 35484132896 + [1635692029.655951][3830:3830] CHIP:SPL: CommissioningFlow: 0 + [1635692029.655974][3830:3830] CHIP:SPL: VendorID: 0 + [1635692029.655994][3830:3830] CHIP:SPL: Version: 0 + [1635692029.656013][3830:3830] CHIP:SPL: ProductID: 0 + [1635692029.656032][3830:3830] CHIP:SPL: Discriminator: 3840 + [1635692029.656051][3830:3830] CHIP:SPL: SetUpPINCode: 68539195 + [1635692029.656070][3830:3830] CHIP:SPL: RendezvousInformation: 0 disabled: true - label: "TH_CR3 starts a commissioning process with TH_CE" + PICS: PICS_MF verification: | On 3rd controller using chip tool connect to the accessory ./chip-tool pairing code 1 35484132896 + + Verify you got below message + Device commissioning completed with success disabled: true - label: "TH_CR2 reads the list of Fabrics on TH_CE" + PICS: PICS_MF verification: | - On 2nd controller, read fabrics list - - ./chip-tool operationalcredentials read fabrics-list 1 0 - - [1635926361.458197][10154:10159] CHIP:DMG: ReportData = - [1635926361.458231][10154:10159] CHIP:DMG: { - [1635926361.458285][10154:10159] CHIP:DMG: AttributeDataList = - [1635926361.458319][10154:10159] CHIP:DMG: [ - [1635926361.458352][10154:10159] CHIP:DMG: AttributeDataElement = - [1635926361.458386][10154:10159] CHIP:DMG: { - [1635926361.458421][10154:10159] CHIP:DMG: AttributePath = - [1635926361.458464][10154:10159] CHIP:DMG: { - [1635926361.458523][10154:10159] CHIP:DMG: NodeId = 0x1, - [1635926361.458600][10154:10159] CHIP:DMG: EndpointId = 0x0, - [1635926361.458662][10154:10159] CHIP:DMG: ClusterId = 0x3e, - [1635926361.458734][10154:10159] CHIP:DMG: FieldTag = 0x0000_0001, - [1635926361.458779][10154:10159] CHIP:DMG: } - [1635926361.458839][10154:10159] CHIP:DMG: - [1635926361.458896][10154:10159] CHIP:DMG: Data = [ - [1635926361.458951][10154:10159] CHIP:DMG: - [1635926361.458992][10154:10159] CHIP:DMG: { - [1635926361.459054][10154:10159] CHIP:DMG: 0x0 = 1, - [1635926361.459100][10154:10159] CHIP:DMG: 0x1 = [ - [1635926361.459161][10154:10159] CHIP:DMG: 0x4, 0xd6, 0x7d, 0xf1, 0x70, 0x4, 0x8, 0xb0, 0x4b, 0x2b, 0x86, 0xc, 0xe4, 0x28, 0xfa, 0xaa, 0xd5, 0x61, 0x92, 0xf4, 0x53, 0x2, 0xe9, 0xa2, 0x91, 0x17, 0x67, 0x89, 0xe7, 0xdc, 0x81, 0x18, 0x11, 0xe4, 0x41, 0x88, 0xbd, 0xdc, 0x6, 0xee, 0x1, 0x53, 0x63 - [1635926361.459229][10154:10159] CHIP:DMG: ] - [1635926361.459302][10154:10159] CHIP:DMG: 0x2 = 50504, - [1635926361.459341][10154:10159] CHIP:DMG: 0x3 = 0, - [1635926361.459405][10154:10159] CHIP:DMG: 0x4 = 1, - [1635926361.459451][10154:10159] CHIP:DMG: 0x5 = "", - [1635926361.459492][10154:10159] CHIP:DMG: }, - [1635926361.459552][10154:10159] CHIP:DMG: { - [1635926361.459626][10154:10159] CHIP:DMG: 0x0 = 2, - [1635926361.459690][10154:10159] CHIP:DMG: 0x1 = [ - [1635926361.459751][10154:10159] CHIP:DMG: 0x4, 0x79, 0x31, 0x7e, 0x45, 0x90, 0x63, 0xd2, 0x1e, 0x54, 0x63, 0x38, 0x11, 0x6b, 0xb4, 0xd0, 0xcc, 0x5e, 0xad, 0x1d, 0xfe, 0xbb, 0xa6, 0xb3, 0xbf, 0x41, 0x25, 0x47, 0x1f, 0x26, 0x0, 0x5a, 0x80, 0xed, 0xdf, 0x98, 0xcc, 0xe7, 0xf3, 0xac, 0x81, 0x92, - [1635926361.459797][10154:10159] CHIP:DMG: ] - [1635926361.459860][10154:10159] CHIP:DMG: 0x2 = 33608, - [1635926361.459924][10154:10159] CHIP:DMG: 0x3 = 0, - [1635926361.459968][10154:10159] CHIP:DMG: 0x4 = 2, - [1635926361.460011][10154:10159] CHIP:DMG: 0x5 = "", - [1635926361.460054][10154:10159] CHIP:DMG: }, - [1635926361.460114][10154:10159] CHIP:DMG: ], - [1635926361.460169][10154:10159] CHIP:DMG: DataElementVersion = 0x0, - [1635926361.460207][10154:10159] CHIP:DMG: }, - [1635926361.460257][10154:10159] CHIP:DMG: - [1635926361.460289][10154:10159] CHIP:DMG: ], - [1635926361.460357][10154:10159] CHIP:DMG: - [1635926361.460388][10154:10159] CHIP:DMG: } - [1635926361.460535][10154:10159] CHIP:ZCL: ReadAttributesResponse: - [1635926361.460566][10154:10159] CHIP:ZCL: ClusterId: 0x0000_003E - [1635926361.460599][10154:10159] CHIP:ZCL: attributeId: 0x0000_0001 - [1635926361.460625][10154:10159] CHIP:ZCL: status: Success (0x0000) - [1635926361.460648][10154:10159] CHIP:ZCL: attribute TLV Type: 0x16 - [1635926361.460694][10154:10159] CHIP:TOO: OnOperationalCredentialsFabricsListListAttributeResponse: 2 entries - [1635926361.460788][10154:10159] CHIP:TOO: FabricDescriptor[1]: - [1635926361.460821][10154:10159] CHIP:TOO: fabricIndex: 1 - [1635926361.460844][10154:10159] CHIP:ZCL: RootPublicKey: 65 - [1635926361.460866][10154:10159] CHIP:TOO: vendorId: 50504 - [1635926361.460888][10154:10159] CHIP:TOO: fabricId: 0 - [1635926361.460910][10154:10159] CHIP:TOO: nodeId: 1 - [1635926361.460961][10154:10159] CHIP:ZCL: Label: - [1635926361.461002][10154:10159] CHIP:TOO: FabricDescriptor[2]: - [1635926361.461031][10154:10159] CHIP:TOO: fabricIndex: 2 - [1635926361.461059][10154:10159] CHIP:ZCL: RootPublicKey: 65 - [1635926361.461092][10154:10159] CHIP:TOO: vendorId: 33608 - [1635926361.461119][10154:10159] CHIP:TOO: fabricId: 0 - [1635926361.461143][10154:10159] CHIP:TOO: nodeId: 2 + On 2nd controller using chip tool, read fabrics list + + ./chip-tool operationalcredentials read fabrics 1234 0 --fabric-filtered 0 + + CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0001 DataVersion: 2455995193 + CHIP:TOO: Fabrics: 3 entries + CHIP:TOO: [1]: { + CHIP:TOO: RootPublicKey: 04656F56DBDB677DC957028DFC0ED76709C72753C9194B117A483BDC07386BFD9529B68EB4448FBBA3964EFF37A56A8F461D348B0DAF3B56A75F3B94BF8209D36F + CHIP:TOO: VendorId: 65521 + CHIP:TOO: FabricId: 1 + CHIP:TOO: NodeId: 1 + CHIP:TOO: Label: + CHIP:TOO: FabricIndex: 1 + CHIP:TOO: } + CHIP:TOO: [2]: { + CHIP:TOO: RootPublicKey: 04F8F28D5D70A4510E0F72FBBA31369796C4206FF95D97B77C1BDFD0438A3BE43510631A1B915BE189323F4CC0E015480192654D8170F8F230C7713898962958B7 + CHIP:TOO: VendorId: 65521 + CHIP:TOO: FabricId: 1 + CHIP:TOO: NodeId: 2 + CHIP:TOO: Label: + CHIP:TOO: FabricIndex: 2 + CHIP:TOO: } + CHIP:TOO: [3]: { + CHIP:TOO: RootPublicKey: 04F8F28D5D70A4510E0F72FBBA31369796C4206FF95D97B77C1BDFD0438A3BE43510631A1B915BE189323F4CC0E015480192654D8170F8F230C7713898962958B7 + CHIP:TOO: VendorId: 65521 + CHIP:TOO: FabricId: 1 + CHIP:TOO: NodeId: 3 + CHIP:TOO: Label: + CHIP:TOO: FabricIndex: 3 + CHIP:TOO: } + CHIP:EM: Sending Standalone Ack for MessageCounter:9143157 on exchange 1147i disabled: true - label: "TH_CR2 sends RemoveFabric with FabricIndex = 2 command to TH_CE" + PICS: PICS_MF verification: | on 2nd controller using chip tool, remove fabric with FabricIndex=2 ./chip-tool operationalcredentials remove-fabric 2 1 0 + + CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_003E Command=0x0000_0008 + CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Command 0x0000_0008 + CHIP:TOO: NOCResponse: { + CHIP:TOO: statusCode: 0 + CHIP:TOO: fabricIndex: 2 + CHIP:TOO: } + CHIP:DMG: ICR moving to [AwaitingDe] disabled: true - label: "TH_CR2 writes and reads the Basic Information Clusters NodeLabel mandatory attribute of TH_CE" + PICS: PICS_MF verification: | - On 2nd controller, using chip-tool write attribute, Verify read attribute returns the updated value written. - - ./chip-tool basic write node-label te5new 1 0 - - [1635862117.716433][3691:3696] CHIP:DMG: WriteResponse = - [1635862117.716467][3691:3696] CHIP:DMG: { - [1635862117.716497][3691:3696] CHIP:DMG: AttributeStatusList = - [1635862117.716535][3691:3696] CHIP:DMG: [ - [1635862117.716567][3691:3696] CHIP:DMG: AttributeStatusIB = - [1635862117.716608][3691:3696] CHIP:DMG: { - [1635862117.716647][3691:3696] CHIP:DMG: AttributePath = - [1635862117.716689][3691:3696] CHIP:DMG: { - [1635862117.716734][3691:3696] CHIP:DMG: FieldTag = 0x0000_0005, - [1635862117.716781][3691:3696] CHIP:DMG: NodeId = 0x0, - [1635862117.716827][3691:3696] CHIP:DMG: ClusterId = 0x28, - [1635862117.716871][3691:3696] CHIP:DMG: EndpointId = 0x0, - [1635862117.716914][3691:3696] CHIP:DMG: } - [1635862117.716962][3691:3696] CHIP:DMG: - [1635862117.717002][3691:3696] CHIP:DMG: StatusIB = - [1635862117.717044][3691:3696] CHIP:DMG: { - [1635862117.717087][3691:3696] CHIP:DMG: status = 0x0, - [1635862117.717130][3691:3696] CHIP:DMG: }, - [1635862117.717173][3691:3696] CHIP:DMG: - [1635862117.717212][3691:3696] CHIP:DMG: }, - [1635862117.717256][3691:3696] CHIP:DMG: - [1635862117.717288][3691:3696] CHIP:DMG: ], - [1635862117.717330][3691:3696] CHIP:DMG: - [1635862117.717362][3691:3696] CHIP:DMG: } - [1635862117.717462][3691:3696] CHIP:ZCL: WriteResponse: - [1635862117.717493][3691:3696] CHIP:ZCL: status: Success (0x0000) - [1635862117.717525][3691:3696] CHIP:TOO: Default Success Response - - ./chip-tool basic read user-label 1 0 - [1635862186.734626][3701:3706] CHIP:DMG: ReportData = - [1635862186.734664][3701:3706] CHIP:DMG: { - [1635862186.734694][3701:3706] CHIP:DMG: AttributeDataList = - [1635862186.734735][3701:3706] CHIP:DMG: [ - [1635862186.734771][3701:3706] CHIP:DMG: AttributeDataElement = - [1635862186.734809][3701:3706] CHIP:DMG: { - [1635862186.734847][3701:3706] CHIP:DMG: AttributePath = - [1635862186.734895][3701:3706] CHIP:DMG: { - [1635862186.735070][3701:3706] CHIP:DMG: NodeId = 0x1, - [1635862186.735150][3701:3706] CHIP:DMG: EndpointId = 0x0, - [1635862186.735220][3701:3706] CHIP:DMG: ClusterId = 0x28, - [1635862186.735291][3701:3706] CHIP:DMG: FieldTag = 0x0000_0005, - [1635862186.735335][3701:3706] CHIP:DMG: } - [1635862186.735383][3701:3706] CHIP:DMG: - [1635862186.735431][3701:3706] CHIP:DMG: Data = "te5new", - [1635862186.735473][3701:3706] CHIP:DMG: DataElementVersion = 0x0, - [1635862186.735533][3701:3706] CHIP:DMG: }, - [1635862186.735581][3701:3706] CHIP:DMG: - [1635862186.735617][3701:3706] CHIP:DMG: ], - [1635862186.735657][3701:3706] CHIP:DMG: - [1635862186.735691][3701:3706] CHIP:DMG: } - [1635862186.735799][3701:3706] CHIP:ZCL: ReadAttributesResponse: - [1635862186.735832][3701:3706] CHIP:ZCL: ClusterId: 0x0000_0028 - [1635862186.735868][3701:3706] CHIP:ZCL: attributeId: 0x0000_0005 - [1635862186.735901][3701:3706] CHIP:ZCL: status: Success (0x0000) - [1635862186.735932][3701:3706] CHIP:ZCL: attribute TLV Type: 0x0c - [1635862186.735967][3701:3706] CHIP:TOO: CharString attribute Response: te5new + Using your 2nd controller, write attribute and read attribute to and from TH_CE + + Below is the example while using chip tool on second controller, + ./chip-tool basic write node-label te5new 2 0 + + Received error (protocol code 2) during pairing process. ../../third_party/connectedhomeip/src/protocols/secure_channel/CASESession.cpp:1551: CHIP Error 0x00000054: Invalid CASE parameter + [1651819620.929567][4359:4364] CHIP:CTL: OperationalDeviceProxy[B8070CD13C99D367:0000000000000002]: State change 3 --> 2 + [1651819620.929700][4359:4364] CHIP:-: ../../third_party/connectedhomeip/src/protocols/secure_channel/CASESession.cpp:1551: CHIP Error 0x00000054: Invalid CASE parameter at ../../commands/clusters/ModelCommand.cpp:53 + + ./chip-tool basic read node-label 2 0 + + Received error (protocol code 2) during pairing process. ../../third_party/connectedhomeip/src/protocols/secure_channel/CASESession.cpp:1551: CHIP Error 0x00000054: Invalid CASE parameter + [1651819620.929567][4359:4364] CHIP:CTL: OperationalDeviceProxy[B8070CD13C99D367:0000000000000002]: State change 3 --> 2 + [1651819620.929700][4359:4364] CHIP:-: ../../third_party/connectedhomeip/src/protocols/secure_channel/CASESession.cpp:1551: CHIP Error 0x00000054: Invalid CASE parameter at ../../commands/clusters/ModelCommand.cpp:53 disabled: true - label: "DUT_CR1 reads the list of Fabrics on TH_CE" + PICS: PICS_MF verification: | - On 1st controller, read fabrics list + On DUT controller, read fabrics list Below is the command using chip tool controller - ./chip-tool operationalcredentials read fabrics-list 1 0 - - [1635926361.458197][10154:10159] CHIP:DMG: ReportData = - [1635926361.458231][10154:10159] CHIP:DMG: { - [1635926361.458285][10154:10159] CHIP:DMG: AttributeDataList = - [1635926361.458319][10154:10159] CHIP:DMG: [ - [1635926361.458352][10154:10159] CHIP:DMG: AttributeDataElement = - [1635926361.458386][10154:10159] CHIP:DMG: { - [1635926361.458421][10154:10159] CHIP:DMG: AttributePath = - [1635926361.458464][10154:10159] CHIP:DMG: { - [1635926361.458523][10154:10159] CHIP:DMG: NodeId = 0x1, - [1635926361.458600][10154:10159] CHIP:DMG: EndpointId = 0x0, - [1635926361.458662][10154:10159] CHIP:DMG: ClusterId = 0x3e, - [1635926361.458734][10154:10159] CHIP:DMG: FieldTag = 0x0000_0001, - [1635926361.458779][10154:10159] CHIP:DMG: } - [1635926361.458839][10154:10159] CHIP:DMG: - [1635926361.458896][10154:10159] CHIP:DMG: Data = [ - [1635926361.458951][10154:10159] CHIP:DMG: - [1635926361.458992][10154:10159] CHIP:DMG: { - [1635926361.459054][10154:10159] CHIP:DMG: 0x0 = 1, - [1635926361.459100][10154:10159] CHIP:DMG: 0x1 = [ - [1635926361.459161][10154:10159] CHIP:DMG: 0x4, 0xd6, 0x7d, 0xf1, 0x70, 0x4, 0x8, 0xb0, 0x4b, 0x2b, 0x86, 0xc, 0xe4, 0x28, 0xfa, 0xaa, 0xd5, 0x61, 0x92, 0xf4, 0x53, 0x2, 0xe9, 0xa2, 0x91, 0x17, 0x67, 0x89, 0xe7, 0xdc, 0x81, 0x18, 0x11, 0xe4, 0x41, 0x88, 0xbd, 0xdc, 0x6, 0xee, 0x1, 0x53, 0x63 - [1635926361.459229][10154:10159] CHIP:DMG: ] - [1635926361.459302][10154:10159] CHIP:DMG: 0x2 = 50504, - [1635926361.459341][10154:10159] CHIP:DMG: 0x3 = 0, - [1635926361.459405][10154:10159] CHIP:DMG: 0x4 = 1, - [1635926361.459451][10154:10159] CHIP:DMG: 0x5 = "", - [1635926361.459492][10154:10159] CHIP:DMG: }, - [1635926361.459552][10154:10159] CHIP:DMG: { - [1635926361.459626][10154:10159] CHIP:DMG: 0x0 = 2, - [1635926361.459690][10154:10159] CHIP:DMG: 0x1 = [ - [1635926361.459751][10154:10159] CHIP:DMG: 0x4, 0x79, 0x31, 0x7e, 0x45, 0x90, 0x63, 0xd2, 0x1e, 0x54, 0x63, 0x38, 0x11, 0x6b, 0xb4, 0xd0, 0xcc, 0x5e, 0xad, 0x1d, 0xfe, 0xbb, 0xa6, 0xb3, 0xbf, 0x41, 0x25, 0x47, 0x1f, 0x26, 0x0, 0x5a, 0x80, 0xed, 0xdf, 0x98, 0xcc, 0xe7, 0xf3, 0xac, 0x81, 0x92, - [1635926361.459797][10154:10159] CHIP:DMG: ] - [1635926361.459860][10154:10159] CHIP:DMG: 0x2 = 33608, - [1635926361.459924][10154:10159] CHIP:DMG: 0x3 = 0, - [1635926361.459968][10154:10159] CHIP:DMG: 0x4 = 2, - [1635926361.460011][10154:10159] CHIP:DMG: 0x5 = "", - [1635926361.460054][10154:10159] CHIP:DMG: }, - [1635926361.460114][10154:10159] CHIP:DMG: ], - [1635926361.460169][10154:10159] CHIP:DMG: DataElementVersion = 0x0, - [1635926361.460207][10154:10159] CHIP:DMG: }, - [1635926361.460257][10154:10159] CHIP:DMG: - [1635926361.460289][10154:10159] CHIP:DMG: ], - [1635926361.460357][10154:10159] CHIP:DMG: - [1635926361.460388][10154:10159] CHIP:DMG: } - [1635926361.460535][10154:10159] CHIP:ZCL: ReadAttributesResponse: - [1635926361.460566][10154:10159] CHIP:ZCL: ClusterId: 0x0000_003E - [1635926361.460599][10154:10159] CHIP:ZCL: attributeId: 0x0000_0001 - [1635926361.460625][10154:10159] CHIP:ZCL: status: Success (0x0000) - [1635926361.460648][10154:10159] CHIP:ZCL: attribute TLV Type: 0x16 - [1635926361.460694][10154:10159] CHIP:TOO: OnOperationalCredentialsFabricsListListAttributeResponse: 2 entries - [1635926361.460788][10154:10159] CHIP:TOO: FabricDescriptor[1]: - [1635926361.460821][10154:10159] CHIP:TOO: fabricIndex: 1 - [1635926361.460844][10154:10159] CHIP:ZCL: RootPublicKey: 65 - [1635926361.460866][10154:10159] CHIP:TOO: vendorId: 50504 - [1635926361.460888][10154:10159] CHIP:TOO: fabricId: 0 - [1635926361.460910][10154:10159] CHIP:TOO: nodeId: 1 - [1635926361.460961][10154:10159] CHIP:ZCL: Label: - [1635926361.461002][10154:10159] CHIP:TOO: FabricDescriptor[2]: - [1635926361.461031][10154:10159] CHIP:TOO: fabricIndex: 2 - [1635926361.461059][10154:10159] CHIP:ZCL: RootPublicKey: 65 - [1635926361.461092][10154:10159] CHIP:TOO: vendorId: 33608 - [1635926361.461119][10154:10159] CHIP:TOO: fabricId: 0 - [1635926361.461143][10154:10159] CHIP:TOO: nodeId: 2 + ./chip-tool operationalcredentials read fabrics 1234 0 --fabric-filtered 0 + + CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0001 DataVersion: 2455995219 + [1647863260.286772][9294:9299] CHIP:TOO: Fabrics: 2 entries + [1647863260.286908][9294:9299] CHIP:TOO: [1]: { + [1647863260.286947][9294:9299] CHIP:TOO: RootPublicKey: 04656F56DBDB677DC957028DFC0ED76709C72753C9194B117A483BDC07386BFD9529B68EB4448FBBA3964EFF37A56A8F461D348B0DAF3B56A75F3B94BF8209D36F + [1647863260.286995][9294:9299] CHIP:TOO: VendorId: 65521 + [1647863260.287026][9294:9299] CHIP:TOO: FabricId: 1 + [1647863260.287055][9294:9299] CHIP:TOO: NodeId: 1 + [1647863260.287084][9294:9299] CHIP:TOO: Label: + [1647863260.287113][9294:9299] CHIP:TOO: FabricIndex: 1 + [1647863260.287144][9294:9299] CHIP:TOO: } + [1647863260.287185][9294:9299] CHIP:TOO: [2]: { + [1647863260.287221][9294:9299] CHIP:TOO: RootPublicKey: 04F8F28D5D70A4510E0F72FBBA31369796C4206FF95D97B77C1BDFD0438A3BE43510631A1B915BE189323F4CC0E015480192654D8170F8F230C7713898962958B7 + [1647863260.287253][9294:9299] CHIP:TOO: VendorId: 65521 + [1647863260.287282][9294:9299] CHIP:TOO: FabricId: 1 + [1647863260.287310][9294:9299] CHIP:TOO: NodeId: 3 + [1647863260.287339][9294:9299] CHIP:TOO: Label: + [1647863260.287368][9294:9299] CHIP:TOO: FabricIndex: 3 + [1647863260.287396][9294:9299] CHIP:TOO: } + [1647863260.287515][9294:9299] CHIP:EM: Sending Standalone Ack for MessageCounter:11301761 on exchange 13180i disabled: true - label: "DUT_CR1 opens a commissioning window on TH_CE using a commissioning timeout of PIXIT_COMM_WIN seconds using ECM" + PICS: PICS_MF verification: | - On 1st controller chip tool, open commissioning window + On DUT controller chip tool, open commissioning window Below is the example when using chip tool as controller @@ -330,81 +266,51 @@ tests: disabled: true - label: "TH_CR2 starts a commissioning process with TH_CE" + PICS: PICS_MF verification: | On 2nd controller using chip tool connect to the accessory ./chip-tool pairing code 1 36217551633 + + Verify you got below message + Device commissioning completed with success disabled: true - label: "DUT_CR1 reads the list of Fabrics on TH_CE" + PICS: PICS_MF verification: | - On 1st controller, read fabrics list + On DUT controller, read fabrics list Below is the command using chip tool controller - ./chip-tool operationalcredentials read fabrics-list 1 0 - - [1635926361.458197][10154:10159] CHIP:DMG: ReportData = - [1635926361.458231][10154:10159] CHIP:DMG: { - [1635926361.458285][10154:10159] CHIP:DMG: AttributeDataList = - [1635926361.458319][10154:10159] CHIP:DMG: [ - [1635926361.458352][10154:10159] CHIP:DMG: AttributeDataElement = - [1635926361.458386][10154:10159] CHIP:DMG: { - [1635926361.458421][10154:10159] CHIP:DMG: AttributePath = - [1635926361.458464][10154:10159] CHIP:DMG: { - [1635926361.458523][10154:10159] CHIP:DMG: NodeId = 0x1, - [1635926361.458600][10154:10159] CHIP:DMG: EndpointId = 0x0, - [1635926361.458662][10154:10159] CHIP:DMG: ClusterId = 0x3e, - [1635926361.458734][10154:10159] CHIP:DMG: FieldTag = 0x0000_0001, - [1635926361.458779][10154:10159] CHIP:DMG: } - [1635926361.458839][10154:10159] CHIP:DMG: - [1635926361.458896][10154:10159] CHIP:DMG: Data = [ - [1635926361.458951][10154:10159] CHIP:DMG: - [1635926361.458992][10154:10159] CHIP:DMG: { - [1635926361.459054][10154:10159] CHIP:DMG: 0x0 = 1, - [1635926361.459100][10154:10159] CHIP:DMG: 0x1 = [ - [1635926361.459161][10154:10159] CHIP:DMG: 0x4, 0xd6, 0x7d, 0xf1, 0x70, 0x4, 0x8, 0xb0, 0x4b, 0x2b, 0x86, 0xc, 0xe4, 0x28, 0xfa, 0xaa, 0xd5, 0x61, 0x92, 0xf4, 0x53, 0x2, 0xe9, 0xa2, 0x91, 0x17, 0x67, 0x89, 0xe7, 0xdc, 0x81, 0x18, 0x11, 0xe4, 0x41, 0x88, 0xbd, 0xdc, 0x6, 0xee, 0x1, 0x53, 0x63 - [1635926361.459229][10154:10159] CHIP:DMG: ] - [1635926361.459302][10154:10159] CHIP:DMG: 0x2 = 50504, - [1635926361.459341][10154:10159] CHIP:DMG: 0x3 = 0, - [1635926361.459405][10154:10159] CHIP:DMG: 0x4 = 1, - [1635926361.459451][10154:10159] CHIP:DMG: 0x5 = "", - [1635926361.459492][10154:10159] CHIP:DMG: }, - [1635926361.459552][10154:10159] CHIP:DMG: { - [1635926361.459626][10154:10159] CHIP:DMG: 0x0 = 2, - [1635926361.459690][10154:10159] CHIP:DMG: 0x1 = [ - [1635926361.459751][10154:10159] CHIP:DMG: 0x4, 0x79, 0x31, 0x7e, 0x45, 0x90, 0x63, 0xd2, 0x1e, 0x54, 0x63, 0x38, 0x11, 0x6b, 0xb4, 0xd0, 0xcc, 0x5e, 0xad, 0x1d, 0xfe, 0xbb, 0xa6, 0xb3, 0xbf, 0x41, 0x25, 0x47, 0x1f, 0x26, 0x0, 0x5a, 0x80, 0xed, 0xdf, 0x98, 0xcc, 0xe7, 0xf3, 0xac, 0x81, 0x92, - [1635926361.459797][10154:10159] CHIP:DMG: ] - [1635926361.459860][10154:10159] CHIP:DMG: 0x2 = 33608, - [1635926361.459924][10154:10159] CHIP:DMG: 0x3 = 0, - [1635926361.459968][10154:10159] CHIP:DMG: 0x4 = 2, - [1635926361.460011][10154:10159] CHIP:DMG: 0x5 = "", - [1635926361.460054][10154:10159] CHIP:DMG: }, - [1635926361.460114][10154:10159] CHIP:DMG: ], - [1635926361.460169][10154:10159] CHIP:DMG: DataElementVersion = 0x0, - [1635926361.460207][10154:10159] CHIP:DMG: }, - [1635926361.460257][10154:10159] CHIP:DMG: - [1635926361.460289][10154:10159] CHIP:DMG: ], - [1635926361.460357][10154:10159] CHIP:DMG: - [1635926361.460388][10154:10159] CHIP:DMG: } - [1635926361.460535][10154:10159] CHIP:ZCL: ReadAttributesResponse: - [1635926361.460566][10154:10159] CHIP:ZCL: ClusterId: 0x0000_003E - [1635926361.460599][10154:10159] CHIP:ZCL: attributeId: 0x0000_0001 - [1635926361.460625][10154:10159] CHIP:ZCL: status: Success (0x0000) - [1635926361.460648][10154:10159] CHIP:ZCL: attribute TLV Type: 0x16 - [1635926361.460694][10154:10159] CHIP:TOO: OnOperationalCredentialsFabricsListListAttributeResponse: 2 entries - [1635926361.460788][10154:10159] CHIP:TOO: FabricDescriptor[1]: - [1635926361.460821][10154:10159] CHIP:TOO: fabricIndex: 1 - [1635926361.460844][10154:10159] CHIP:ZCL: RootPublicKey: 65 - [1635926361.460866][10154:10159] CHIP:TOO: vendorId: 50504 - [1635926361.460888][10154:10159] CHIP:TOO: fabricId: 0 - [1635926361.460910][10154:10159] CHIP:TOO: nodeId: 1 - [1635926361.460961][10154:10159] CHIP:ZCL: Label: - [1635926361.461002][10154:10159] CHIP:TOO: FabricDescriptor[2]: - [1635926361.461031][10154:10159] CHIP:TOO: fabricIndex: 2 - [1635926361.461059][10154:10159] CHIP:ZCL: RootPublicKey: 65 - [1635926361.461092][10154:10159] CHIP:TOO: vendorId: 33608 - [1635926361.461119][10154:10159] CHIP:TOO: fabricId: 0 - [1635926361.461143][10154:10159] CHIP:TOO: nodeId: 2 + ./chip-tool operationalcredentials read fabrics 1234 0 --fabric-filtered 0 + + CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0001 DataVersion: 2455995246 + [1647863342.980899][9309:9314] CHIP:TOO: Fabrics: 3 entries + [1647863342.981158][9309:9314] CHIP:TOO: [1]: { + [1647863342.981231][9309:9314] CHIP:TOO: RootPublicKey: 04656F56DBDB677DC957028DFC0ED76709C72753C9194B117A483BDC07386BFD9529B68EB4448FBBA3964EFF37A56A8F461D348B0DAF3B56A75F3B94BF8209D36F + [1647863342.981322][9309:9314] CHIP:TOO: VendorId: 65521 + [1647863342.981380][9309:9314] CHIP:TOO: FabricId: 1 + [1647863342.981434][9309:9314] CHIP:TOO: NodeId: 1 + [1647863342.981486][9309:9314] CHIP:TOO: Label: + [1647863342.981539][9309:9314] CHIP:TOO: FabricIndex: 1 + [1647863342.981594][9309:9314] CHIP:TOO: } + [1647863342.981671][9309:9314] CHIP:TOO: [2]: { + [1647863342.981737][9309:9314] CHIP:TOO: RootPublicKey: 04F8F28D5D70A4510E0F72FBBA31369796C4206FF95D97B77C1BDFD0438A3BE43510631A1B915BE189323F4CC0E015480192654D8170F8F230C7713898962958B7 + [1647863342.981796][9309:9314] CHIP:TOO: VendorId: 65521 + [1647863342.981849][9309:9314] CHIP:TOO: FabricId: 1 + [1647863342.981901][9309:9314] CHIP:TOO: NodeId: 3 + [1647863342.981952][9309:9314] CHIP:TOO: Label: + [1647863342.982005][9309:9314] CHIP:TOO: FabricIndex: 3 + [1647863342.982057][9309:9314] CHIP:TOO: } + [1647863342.982131][9309:9314] CHIP:TOO: [3]: { + [1647863342.982195][9309:9314] CHIP:TOO: RootPublicKey: 04F8F28D5D70A4510E0F72FBBA31369796C4206FF95D97B77C1BDFD0438A3BE43510631A1B915BE189323F4CC0E015480192654D8170F8F230C7713898962958B7 + [1647863342.982252][9309:9314] CHIP:TOO: VendorId: 65521 + [1647863342.982305][9309:9314] CHIP:TOO: FabricId: 1 + [1647863342.982357][9309:9314] CHIP:TOO: NodeId: 2 + [1647863342.982409][9309:9314] CHIP:TOO: Label: + [1647863342.982460][9309:9314] CHIP:TOO: FabricIndex: 4 + [1647863342.982512][9309:9314] CHIP:TOO: } + [1647863342.982738][9309:9314] CHIP:EM: Sending Standalone Ack for MessageCounter:5772016 on exchange 3310i disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_MF_1_2.yaml b/src/app/tests/suites/certification/Test_TC_MF_1_2.yaml index 2462fc88390483..d957b288d0b50c 100644 --- a/src/app/tests/suites/certification/Test_TC_MF_1_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_MF_1_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: 22.1.2. [TC-MF-1.2] Administrator Behavior using BCM [DUT - Commissioner] +name: 24.1.2. [TC-MF-1.2] Administrator Behavior using BCM [DUT - Commissioner] config: nodeId: 0x12344321 @@ -74,7 +74,7 @@ tests: verification: | On first controller, using chip tool read fabricList - ./chip-tool operationalcredentials read fabrics 1234 0 --fabric-filtered 0 + ./chip-tool operationalcredentials read fabrics 1 0 --fabric-filtered 0 CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0001 DataVersion: 3621507058 @@ -90,6 +90,17 @@ tests: [1649245801.244671][10091:10096] CHIP:EM: Sending Standalone Ack for MessageCounter:8407998 on exchange 12989i disabled: true + - label: "DUT_CR2 starts a commissioning process with TH_CE" + verification: | + Using your DUT Controller connect to the accessory. + + Below is the example when using chip tool as controller + ./chip-tool pairing onnetwork 1 20202021 + + Verify you got below message + Device commissioning completed with success + disabled: true + - label: "DUT_CR2 writes and reads the Basic Information Clusters NodeLabel mandatory attribute of TH_CE" @@ -238,7 +249,7 @@ tests: [1649245940.790167][10110:10115] CHIP:DMG: WriteClient moving to [AwaitingDe] - ./chip-tool basic read node-label 1 0 + ./chip-tool basic read node-label 2 0 CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0028 Attribute 0x0000_0005 DataVersion: 3061847068 [1649245950.006849][10116:10121] CHIP:TOO: NodeLabel: te5new [1649245950.007024][10116:10121] CHIP:EM: Sending Standalone Ack for MessageCounter:12495101 on exchange 24816i @@ -262,32 +273,32 @@ tests: CHIP:DMG: InvokeResponseMessage = [1650278416.248379][11064:11069] CHIP:DMG: { - [1650278416.248436][11064:11069] CHIP:DMG: suppressResponse = false, - [1650278416.248495][11064:11069] CHIP:DMG: InvokeResponseIBs = - [1650278416.248570][11064:11069] CHIP:DMG: [ - [1650278416.248630][11064:11069] CHIP:DMG: InvokeResponseIB = - [1650278416.248718][11064:11069] CHIP:DMG: { - [1650278416.248783][11064:11069] CHIP:DMG: CommandStatusIB = - [1650278416.248860][11064:11069] CHIP:DMG: { - [1650278416.248931][11064:11069] CHIP:DMG: CommandPathIB = - [1650278416.249011][11064:11069] CHIP:DMG: { - [1650278416.249100][11064:11069] CHIP:DMG: EndpointId = 0x0, - [1650278416.249186][11064:11069] CHIP:DMG: ClusterId = 0x3c, - [1650278416.249268][11064:11069] CHIP:DMG: CommandId = 0x1, - [1650278416.249347][11064:11069] CHIP:DMG: }, + [1650278416.248436][11064:11069] CHIP:DMG: suppressResponse = false, + [1650278416.248495][11064:11069] CHIP:DMG: InvokeResponseIBs = + [1650278416.248570][11064:11069] CHIP:DMG: [ + [1650278416.248630][11064:11069] CHIP:DMG: InvokeResponseIB = + [1650278416.248718][11064:11069] CHIP:DMG: { + [1650278416.248783][11064:11069] CHIP:DMG: CommandStatusIB = + [1650278416.248860][11064:11069] CHIP:DMG: { + [1650278416.248931][11064:11069] CHIP:DMG: CommandPathIB = + [1650278416.249011][11064:11069] CHIP:DMG: { + [1650278416.249100][11064:11069] CHIP:DMG: EndpointId = 0x0, + [1650278416.249186][11064:11069] CHIP:DMG: ClusterId = 0x3c, + [1650278416.249268][11064:11069] CHIP:DMG: CommandId = 0x1, + [1650278416.249347][11064:11069] CHIP:DMG: }, [1650278416.249430][11064:11069] CHIP:DMG: - [1650278416.249501][11064:11069] CHIP:DMG: StatusIB = - [1650278416.249581][11064:11069] CHIP:DMG: { - [1650278416.249664][11064:11069] CHIP:DMG: status = 0x00 (SUCCESS), - [1650278416.249738][11064:11069] CHIP:DMG: }, + [1650278416.249501][11064:11069] CHIP:DMG: StatusIB = + [1650278416.249581][11064:11069] CHIP:DMG: { + [1650278416.249664][11064:11069] CHIP:DMG: status = 0x00 (SUCCESS), + [1650278416.249738][11064:11069] CHIP:DMG: }, [1650278416.249823][11064:11069] CHIP:DMG: - [1650278416.249889][11064:11069] CHIP:DMG: }, + [1650278416.249889][11064:11069] CHIP:DMG: }, [1650278416.249969][11064:11069] CHIP:DMG: - [1650278416.250035][11064:11069] CHIP:DMG: }, + [1650278416.250035][11064:11069] CHIP:DMG: }, [1650278416.250113][11064:11069] CHIP:DMG: - [1650278416.250169][11064:11069] CHIP:DMG: ], + [1650278416.250169][11064:11069] CHIP:DMG: ], [1650278416.250241][11064:11069] CHIP:DMG: - [1650278416.250298][11064:11069] CHIP:DMG: InteractionModelRevision = 1 + [1650278416.250298][11064:11069] CHIP:DMG: InteractionModelRevision = 1 [1650278416.250355][11064:11069] CHIP:DMG: }, [1650278416.250535][11064:11069] CHIP:DMG: Received Command Response Status for Endpoint=0 Cluster=0x0000_003C Command=0x0000_0001 Status=0x0 [1650278416.250634][11064:11069] CHIP:DMG: ICR moving to [AwaitingDe] @@ -341,7 +352,7 @@ tests: with TH_CE" verification: | 1. On third controller, using chip-tool connect to the accessory. Connect attempt should fail, i.e - ./chip-tool pairing onnetwork 1 20202021 + ./chip-tool pairing onnetwork 3 20202021 verify you got the following message in the TH log CHIP:SC: PASESession timed out while waiting for a response from the peer. Expected message type was 33 @@ -395,7 +406,7 @@ tests: On your DUT controller using chip-tool open commissioning widow using BCM. Below is the example while using chip tool on second controller, - ./chip-tool administratorcommissioning open-basic-commissioning-window 500 2 0 --timedInteractionTimeoutMs 1000 + ./chip-tool administratorcommissioning open-basic-commissioning-window 180 2 0 --timedInteractionTimeoutMs 1000 CHIP:DMG: InvokeResponseMessage = diff --git a/src/app/tests/suites/certification/Test_TC_MF_1_20.yaml b/src/app/tests/suites/certification/Test_TC_MF_1_20.yaml index 55f77842ef6fc9..e37c3a269afa0f 100644 --- a/src/app/tests/suites/certification/Test_TC_MF_1_20.yaml +++ b/src/app/tests/suites/certification/Test_TC_MF_1_20.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: - 22.1.20. [TC-MF-1.20] max number of Commissioned Fabrics and - SupportedFabrics rollover using ECM or BCM [DUT - Commissioner] + 3.1.20. [TC-MF-1.20] Removing Fabrics from DUT and Fabric index enumeration + using BCM [DUT - Commissioner] config: nodeId: 0x12344321 @@ -24,402 +24,325 @@ config: tests: - label: "Reset DUT_CR1 to factory defaults" + PICS: PICS_MF verification: | disabled: true - label: "DUT_CR1 starts a commissioning process with TH_CE" + PICS: PICS_MF verification: | - 1. Provision the device using DUT controller chip tool(use above instructions) , + "1. Provision the device using DUT controller chip tool(use above instructions) , + " disabled: true - label: "DUT_CR1 opens a commissioning window on TH_CE using a commissioning timeout of PIXIT_COMM_WIN seconds using BCM" + PICS: PICS_MF verification: | On your DUT controller chip tool, open commissioning window Below is the example when using chip tool as controller - - ./chip-tool administratorcommissioning open-basic-commissioning-window 500 1 0 - - [1635926620.928560][10177:10182] CHIP:DMG: InvokeCommand = - [1635926620.928631][10177:10182] CHIP:DMG: { - [1635926620.928680][10177:10182] CHIP:DMG: CommandList = - [1635926620.928745][10177:10182] CHIP:DMG: [ - [1635926620.928799][10177:10182] CHIP:DMG: CommandDataIB = - [1635926620.928866][10177:10182] CHIP:DMG: { - [1635926620.928963][10177:10182] CHIP:DMG: CommandPathIB = - [1635926620.929041][10177:10182] CHIP:DMG: { - [1635926620.929107][10177:10182] CHIP:DMG: EndpointId = 0x0, - [1635926620.929223][10177:10182] CHIP:DMG: ClusterId = 0x3c, - [1635926620.929308][10177:10182] CHIP:DMG: CommandId = 0x1, - [1635926620.929434][10177:10182] CHIP:DMG: }, - [1635926620.929516][10177:10182] CHIP:DMG: - [1635926620.929580][10177:10182] CHIP:DMG: StatusIB = - [1635926620.929656][10177:10182] CHIP:DMG: { - [1635926620.929755][10177:10182] CHIP:DMG: status = 0x0, - [1635926620.929829][10177:10182] CHIP:DMG: }, - [1635926620.929919][10177:10182] CHIP:DMG: - [1635926620.929976][10177:10182] CHIP:DMG: }, - [1635926620.930070][10177:10182] CHIP:DMG: - [1635926620.930123][10177:10182] CHIP:DMG: ], - [1635926620.930182][10177:10182] CHIP:DMG: - [1635926620.930226][10177:10182] CHIP:DMG: } - [1635926620.930325][10177:10182] CHIP:DMG: Received Command Response Status for Endpoint=0 Cluster=0x0000_003C Command=0x0000_0001 Status=0x0 - [1635926620.930412][10177:10182] CHIP:TOO: Default Success Response + ./chip-tool administratorcommissioning open-basic-commissioning-window 500 2 0 --timedInteractionTimeoutMs 1000 + + + CHIP: [DMG] InvokeResponseMessage = + [1648116114630] [6871:3898916] CHIP: [DMG] { + [1648116114630] [6871:3898916] CHIP: [DMG] suppressResponse = false, + [1648116114630] [6871:3898916] CHIP: [DMG] InvokeResponseIBs = + [1648116114630] [6871:3898916] CHIP: [DMG] [ + [1648116114630] [6871:3898916] CHIP: [DMG] InvokeResponseIB = + [1648116114630] [6871:3898916] CHIP: [DMG] { + [1648116114630] [6871:3898916] CHIP: [DMG] CommandStatusIB = + [1648116114630] [6871:3898916] CHIP: [DMG] { + [1648116114630] [6871:3898916] CHIP: [DMG] CommandPathIB = + [1648116114630] [6871:3898916] CHIP: [DMG] { + [1648116114630] [6871:3898916] CHIP: [DMG] EndpointId = 0x0, + [1648116114630] [6871:3898916] CHIP: [DMG] ClusterId = 0x3c, + [1648116114630] [6871:3898916] CHIP: [DMG] CommandId = 0x1, + [1648116114630] [6871:3898916] CHIP: [DMG] }, + [1648116114630] [6871:3898916] CHIP: [DMG] + [1648116114630] [6871:3898916] CHIP: [DMG] StatusIB = + [1648116114631] [6871:3898916] CHIP: [DMG] { + [1648116114631] [6871:3898916] CHIP: [DMG] status = 0x0, + [1648116114631] [6871:3898916] CHIP: [DMG] }, + [1648116114631] [6871:3898916] CHIP: [DMG] + [1648116114631] [6871:3898916] CHIP: [DMG] }, + [1648116114631] [6871:3898916] CHIP: [DMG] + [1648116114631] [6871:3898916] CHIP: [DMG] }, + [1648116114631] [6871:3898916] CHIP: [DMG] + [1648116114631] [6871:3898916] CHIP: [DMG] ], + [1648116114631] [6871:3898916] CHIP: [DMG] + [1648116114631] [6871:3898916] CHIP: [DMG] InteractionModelRevision = 1 + [1648116114631] [6871:3898916] CHIP: [DMG] }, + [1648116114631] [6871:3898916] CHIP: [DMG] Received Command Response Status for Endpoint=0 Cluster=0x0000_003C Command=0x0000_0001 Status=0x0 disabled: true - label: "TH_CR2 starts a commissioning process with TH_CE" + PICS: PICS_MF verification: | On 2nd controller using chip tool connect to the accessory ./chip-tool pairing onnetwork 1 20202021 + + Verify you got below message + Device commissioning completed with success disabled: true - - label: "Repeat step3 to commission TH_CR3" + - label: + "DUT_CR1 opens a commissioning window on TH_CE using a commissioning + timeout of PIXIT_COMM_WIN seconds using BCM" + PICS: PICS_MF verification: | + On your DUT controller chip tool, open commissioning window + Below is the example when using chip tool as controller + ./chip-tool administratorcommissioning open-basic-commissioning-window 500 2 0 --timedInteractionTimeoutMs 1000 + + + CHIP: [DMG] InvokeResponseMessage = + [1648116114630] [6871:3898916] CHIP: [DMG] { + [1648116114630] [6871:3898916] CHIP: [DMG] suppressResponse = false, + [1648116114630] [6871:3898916] CHIP: [DMG] InvokeResponseIBs = + [1648116114630] [6871:3898916] CHIP: [DMG] [ + [1648116114630] [6871:3898916] CHIP: [DMG] InvokeResponseIB = + [1648116114630] [6871:3898916] CHIP: [DMG] { + [1648116114630] [6871:3898916] CHIP: [DMG] CommandStatusIB = + [1648116114630] [6871:3898916] CHIP: [DMG] { + [1648116114630] [6871:3898916] CHIP: [DMG] CommandPathIB = + [1648116114630] [6871:3898916] CHIP: [DMG] { + [1648116114630] [6871:3898916] CHIP: [DMG] EndpointId = 0x0, + [1648116114630] [6871:3898916] CHIP: [DMG] ClusterId = 0x3c, + [1648116114630] [6871:3898916] CHIP: [DMG] CommandId = 0x1, + [1648116114630] [6871:3898916] CHIP: [DMG] }, + [1648116114630] [6871:3898916] CHIP: [DMG] + [1648116114630] [6871:3898916] CHIP: [DMG] StatusIB = + [1648116114631] [6871:3898916] CHIP: [DMG] { + [1648116114631] [6871:3898916] CHIP: [DMG] status = 0x0, + [1648116114631] [6871:3898916] CHIP: [DMG] }, + [1648116114631] [6871:3898916] CHIP: [DMG] + [1648116114631] [6871:3898916] CHIP: [DMG] }, + [1648116114631] [6871:3898916] CHIP: [DMG] + [1648116114631] [6871:3898916] CHIP: [DMG] }, + [1648116114631] [6871:3898916] CHIP: [DMG] + [1648116114631] [6871:3898916] CHIP: [DMG] ], + [1648116114631] [6871:3898916] CHIP: [DMG] + [1648116114631] [6871:3898916] CHIP: [DMG] InteractionModelRevision = 1 + [1648116114631] [6871:3898916] CHIP: [DMG] }, + [1648116114631] [6871:3898916] CHIP: [DMG] Received Command Response Status for Endpoint=0 Cluster=0x0000_003C Command=0x0000_0001 Status=0x0 disabled: true - label: "TH_CR3 starts a commissioning process with TH_CE" + PICS: PICS_MF verification: | On 3rd controller using chip tool connect to the accessory ./chip-tool pairing onnetwork 1 20202021 + + Verify you got below message + Device commissioning completed with success disabled: true - label: "TH_CR2 reads the list of Fabrics on TH_CE" + PICS: PICS_MF verification: | On 2nd controller, read fabrics list - ./chip-tool operationalcredentials read fabrics-list 1 0 - - [1635926361.458197][10154:10159] CHIP:DMG: ReportData = - [1635926361.458231][10154:10159] CHIP:DMG: { - [1635926361.458285][10154:10159] CHIP:DMG: AttributeDataList = - [1635926361.458319][10154:10159] CHIP:DMG: [ - [1635926361.458352][10154:10159] CHIP:DMG: AttributeDataElement = - [1635926361.458386][10154:10159] CHIP:DMG: { - [1635926361.458421][10154:10159] CHIP:DMG: AttributePath = - [1635926361.458464][10154:10159] CHIP:DMG: { - [1635926361.458523][10154:10159] CHIP:DMG: NodeId = 0x1, - [1635926361.458600][10154:10159] CHIP:DMG: EndpointId = 0x0, - [1635926361.458662][10154:10159] CHIP:DMG: ClusterId = 0x3e, - [1635926361.458734][10154:10159] CHIP:DMG: FieldTag = 0x0000_0001, - [1635926361.458779][10154:10159] CHIP:DMG: } - [1635926361.458839][10154:10159] CHIP:DMG: - [1635926361.458896][10154:10159] CHIP:DMG: Data = [ - [1635926361.458951][10154:10159] CHIP:DMG: - [1635926361.458992][10154:10159] CHIP:DMG: { - [1635926361.459054][10154:10159] CHIP:DMG: 0x0 = 1, - [1635926361.459100][10154:10159] CHIP:DMG: 0x1 = [ - [1635926361.459161][10154:10159] CHIP:DMG: 0x4, 0xd6, 0x7d, 0xf1, 0x70, 0x4, 0x8, 0xb0, 0x4b, 0x2b, 0x86, 0xc, 0xe4, 0x28, 0xfa, 0xaa, 0xd5, 0x61, 0x92, 0xf4, 0x53, 0x2, 0xe9, 0xa2, 0x91, 0x17, 0x67, 0x89, 0xe7, 0xdc, 0x81, 0x18, 0x11, 0xe4, 0x41, 0x88, 0xbd, 0xdc, 0x6, 0xee, 0x1, 0x53, 0x63 - [1635926361.459229][10154:10159] CHIP:DMG: ] - [1635926361.459302][10154:10159] CHIP:DMG: 0x2 = 50504, - [1635926361.459341][10154:10159] CHIP:DMG: 0x3 = 0, - [1635926361.459405][10154:10159] CHIP:DMG: 0x4 = 1, - [1635926361.459451][10154:10159] CHIP:DMG: 0x5 = "", - [1635926361.459492][10154:10159] CHIP:DMG: }, - [1635926361.459552][10154:10159] CHIP:DMG: { - [1635926361.459626][10154:10159] CHIP:DMG: 0x0 = 2, - [1635926361.459690][10154:10159] CHIP:DMG: 0x1 = [ - [1635926361.459751][10154:10159] CHIP:DMG: 0x4, 0x79, 0x31, 0x7e, 0x45, 0x90, 0x63, 0xd2, 0x1e, 0x54, 0x63, 0x38, 0x11, 0x6b, 0xb4, 0xd0, 0xcc, 0x5e, 0xad, 0x1d, 0xfe, 0xbb, 0xa6, 0xb3, 0xbf, 0x41, 0x25, 0x47, 0x1f, 0x26, 0x0, 0x5a, 0x80, 0xed, 0xdf, 0x98, 0xcc, 0xe7, 0xf3, 0xac, 0x81, 0x92, - [1635926361.459797][10154:10159] CHIP:DMG: ] - [1635926361.459860][10154:10159] CHIP:DMG: 0x2 = 33608, - [1635926361.459924][10154:10159] CHIP:DMG: 0x3 = 0, - [1635926361.459968][10154:10159] CHIP:DMG: 0x4 = 2, - [1635926361.460011][10154:10159] CHIP:DMG: 0x5 = "", - [1635926361.460054][10154:10159] CHIP:DMG: }, - [1635926361.460114][10154:10159] CHIP:DMG: ], - [1635926361.460169][10154:10159] CHIP:DMG: DataElementVersion = 0x0, - [1635926361.460207][10154:10159] CHIP:DMG: }, - [1635926361.460257][10154:10159] CHIP:DMG: - [1635926361.460289][10154:10159] CHIP:DMG: ], - [1635926361.460357][10154:10159] CHIP:DMG: - [1635926361.460388][10154:10159] CHIP:DMG: } - [1635926361.460535][10154:10159] CHIP:ZCL: ReadAttributesResponse: - [1635926361.460566][10154:10159] CHIP:ZCL: ClusterId: 0x0000_003E - [1635926361.460599][10154:10159] CHIP:ZCL: attributeId: 0x0000_0001 - [1635926361.460625][10154:10159] CHIP:ZCL: status: Success (0x0000) - [1635926361.460648][10154:10159] CHIP:ZCL: attribute TLV Type: 0x16 - [1635926361.460694][10154:10159] CHIP:TOO: OnOperationalCredentialsFabricsListListAttributeResponse: 2 entries - [1635926361.460788][10154:10159] CHIP:TOO: FabricDescriptor[1]: - [1635926361.460821][10154:10159] CHIP:TOO: fabricIndex: 1 - [1635926361.460844][10154:10159] CHIP:ZCL: RootPublicKey: 65 - [1635926361.460866][10154:10159] CHIP:TOO: vendorId: 50504 - [1635926361.460888][10154:10159] CHIP:TOO: fabricId: 0 - [1635926361.460910][10154:10159] CHIP:TOO: nodeId: 1 - [1635926361.460961][10154:10159] CHIP:ZCL: Label: - [1635926361.461002][10154:10159] CHIP:TOO: FabricDescriptor[2]: - [1635926361.461031][10154:10159] CHIP:TOO: fabricIndex: 2 - [1635926361.461059][10154:10159] CHIP:ZCL: RootPublicKey: 65 - [1635926361.461092][10154:10159] CHIP:TOO: vendorId: 33608 - [1635926361.461119][10154:10159] CHIP:TOO: fabricId: 0 - [1635926361.461143][10154:10159] CHIP:TOO: nodeId: 2 + ./chip-tool operationalcredentials read fabrics 1234 0 --fabric-filtered 0 + + + + CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0001 DataVersion: 2455995193 + CHIP:TOO: Fabrics: 3 entries + CHIP:TOO: [1]: { + CHIP:TOO: RootPublicKey: 04656F56DBDB677DC957028DFC0ED76709C72753C9194B117A483BDC07386BFD9529B68EB4448FBBA3964EFF37A56A8F461D348B0DAF3B56A75F3B94BF8209D36F + CHIP:TOO: VendorId: 65521 + CHIP:TOO: FabricId: 1 + CHIP:TOO: NodeId: 1 + CHIP:TOO: Label: + CHIP:TOO: FabricIndex: 1 + CHIP:TOO: } + CHIP:TOO: [2]: { + CHIP:TOO: RootPublicKey: 04F8F28D5D70A4510E0F72FBBA31369796C4206FF95D97B77C1BDFD0438A3BE43510631A1B915BE189323F4CC0E015480192654D8170F8F230C7713898962958B7 + CHIP:TOO: VendorId: 65521 + CHIP:TOO: FabricId: 1 + CHIP:TOO: NodeId: 2 + CHIP:TOO: Label: + CHIP:TOO: FabricIndex: 2 + CHIP:TOO: } + CHIP:TOO: [3]: { + CHIP:TOO: RootPublicKey: 04F8F28D5D70A4510E0F72FBBA31369796C4206FF95D97B77C1BDFD0438A3BE43510631A1B915BE189323F4CC0E015480192654D8170F8F230C7713898962958B7 + CHIP:TOO: VendorId: 65521 + CHIP:TOO: FabricId: 1 + CHIP:TOO: NodeId: 3 + CHIP:TOO: Label: + CHIP:TOO: FabricIndex: 3 + CHIP:TOO: } + CHIP:EM: Sending Standalone Ack for MessageCounter:9143157 on exchange 1147i + " disabled: true - label: "TH_CR2 sends RemoveFabric with FabricIndex = 2 command to TH_CE" + PICS: PICS_MF verification: | on 2nd controller using chip tool, remove fabric with FabricIndex=2 ./chip-tool operationalcredentials remove-fabric 2 1 0 + + CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_003E Command=0x0000_0008 + CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Command 0x0000_0008 + CHIP:TOO: NOCResponse: { + CHIP:TOO: statusCode: 0 + CHIP:TOO: fabricIndex: 2 + CHIP:TOO: } + CHIP:DMG: ICR moving to [AwaitingDe] disabled: true - label: "TH_CR2 writes and reads the Basic Information Clusters NodeLabel mandatory attribute of TH_CE" + PICS: PICS_MF verification: | - On 2nd controller, using chip-tool write attribute, Verify read attribute returns the updated value written. - - ./chip-tool basic write node-label te5new 1 0 - - [1635862117.716433][3691:3696] CHIP:DMG: WriteResponse = - [1635862117.716467][3691:3696] CHIP:DMG: { - [1635862117.716497][3691:3696] CHIP:DMG: AttributeStatusList = - [1635862117.716535][3691:3696] CHIP:DMG: [ - [1635862117.716567][3691:3696] CHIP:DMG: AttributeStatusIB = - [1635862117.716608][3691:3696] CHIP:DMG: { - [1635862117.716647][3691:3696] CHIP:DMG: AttributePath = - [1635862117.716689][3691:3696] CHIP:DMG: { - [1635862117.716734][3691:3696] CHIP:DMG: FieldTag = 0x0000_0005, - [1635862117.716781][3691:3696] CHIP:DMG: NodeId = 0x0, - [1635862117.716827][3691:3696] CHIP:DMG: ClusterId = 0x28, - [1635862117.716871][3691:3696] CHIP:DMG: EndpointId = 0x0, - [1635862117.716914][3691:3696] CHIP:DMG: } - [1635862117.716962][3691:3696] CHIP:DMG: - [1635862117.717002][3691:3696] CHIP:DMG: StatusIB = - [1635862117.717044][3691:3696] CHIP:DMG: { - [1635862117.717087][3691:3696] CHIP:DMG: status = 0x0, - [1635862117.717130][3691:3696] CHIP:DMG: }, - [1635862117.717173][3691:3696] CHIP:DMG: - [1635862117.717212][3691:3696] CHIP:DMG: }, - [1635862117.717256][3691:3696] CHIP:DMG: - [1635862117.717288][3691:3696] CHIP:DMG: ], - [1635862117.717330][3691:3696] CHIP:DMG: - [1635862117.717362][3691:3696] CHIP:DMG: } - [1635862117.717462][3691:3696] CHIP:ZCL: WriteResponse: - [1635862117.717493][3691:3696] CHIP:ZCL: status: Success (0x0000) - [1635862117.717525][3691:3696] CHIP:TOO: Default Success Response - - ./chip-tool basic read user-label 1 0 - [1635862186.734626][3701:3706] CHIP:DMG: ReportData = - [1635862186.734664][3701:3706] CHIP:DMG: { - [1635862186.734694][3701:3706] CHIP:DMG: AttributeDataList = - [1635862186.734735][3701:3706] CHIP:DMG: [ - [1635862186.734771][3701:3706] CHIP:DMG: AttributeDataElement = - [1635862186.734809][3701:3706] CHIP:DMG: { - [1635862186.734847][3701:3706] CHIP:DMG: AttributePath = - [1635862186.734895][3701:3706] CHIP:DMG: { - [1635862186.735070][3701:3706] CHIP:DMG: NodeId = 0x1, - [1635862186.735150][3701:3706] CHIP:DMG: EndpointId = 0x0, - [1635862186.735220][3701:3706] CHIP:DMG: ClusterId = 0x28, - [1635862186.735291][3701:3706] CHIP:DMG: FieldTag = 0x0000_0005, - [1635862186.735335][3701:3706] CHIP:DMG: } - [1635862186.735383][3701:3706] CHIP:DMG: - [1635862186.735431][3701:3706] CHIP:DMG: Data = "te5new", - [1635862186.735473][3701:3706] CHIP:DMG: DataElementVersion = 0x0, - [1635862186.735533][3701:3706] CHIP:DMG: }, - [1635862186.735581][3701:3706] CHIP:DMG: - [1635862186.735617][3701:3706] CHIP:DMG: ], - [1635862186.735657][3701:3706] CHIP:DMG: - [1635862186.735691][3701:3706] CHIP:DMG: } - [1635862186.735799][3701:3706] CHIP:ZCL: ReadAttributesResponse: - [1635862186.735832][3701:3706] CHIP:ZCL: ClusterId: 0x0000_0028 - [1635862186.735868][3701:3706] CHIP:ZCL: attributeId: 0x0000_0005 - [1635862186.735901][3701:3706] CHIP:ZCL: status: Success (0x0000) - [1635862186.735932][3701:3706] CHIP:ZCL: attribute TLV Type: 0x0c - [1635862186.735967][3701:3706] CHIP:TOO: CharString attribute Response: te5new + Using your 2nd controller, write attribute and read attribute to and from TH_CE + + Below is the example while using chip tool on second controller, + ./chip-tool basic write node-label te5new 2 0 + + Received error (protocol code 2) during pairing process. ../../third_party/connectedhomeip/src/protocols/secure_channel/CASESession.cpp:1551: CHIP Error 0x00000054: Invalid CASE parameter + [1651819620.929567][4359:4364] CHIP:CTL: OperationalDeviceProxy[B8070CD13C99D367:0000000000000002]: State change 3 --> 2 + [1651819620.929700][4359:4364] CHIP:-: ../../third_party/connectedhomeip/src/protocols/secure_channel/CASESession.cpp:1551: CHIP Error 0x00000054: Invalid CASE parameter at ../../commands/clusters/ModelCommand.cpp:53 + + ./chip-tool basic read node-label 2 0 + + Received error (protocol code 2) during pairing process. ../../third_party/connectedhomeip/src/protocols/secure_channel/CASESession.cpp:1551: CHIP Error 0x00000054: Invalid CASE parameter + [1651819620.929567][4359:4364] CHIP:CTL: OperationalDeviceProxy[B8070CD13C99D367:0000000000000002]: State change 3 --> 2 + [1651819620.929700][4359:4364] CHIP:-: ../../third_party/connectedhomeip/src/protocols/secure_channel/CASESession.cpp:1551: CHIP Error 0x00000054: Invalid CASE parameter at ../../commands/clusters/ModelCommand.cpp:53 disabled: true - label: "DUT_CR1 reads the list of Fabrics on TH_CE" + PICS: PICS_MF verification: | - On 1st controller, read fabrics list + On DUT controller, read fabrics list Below is the command using chip tool controller - ./chip-tool operationalcredentials read fabrics-list 1 0 - - [1635926361.458197][10154:10159] CHIP:DMG: ReportData = - [1635926361.458231][10154:10159] CHIP:DMG: { - [1635926361.458285][10154:10159] CHIP:DMG: AttributeDataList = - [1635926361.458319][10154:10159] CHIP:DMG: [ - [1635926361.458352][10154:10159] CHIP:DMG: AttributeDataElement = - [1635926361.458386][10154:10159] CHIP:DMG: { - [1635926361.458421][10154:10159] CHIP:DMG: AttributePath = - [1635926361.458464][10154:10159] CHIP:DMG: { - [1635926361.458523][10154:10159] CHIP:DMG: NodeId = 0x1, - [1635926361.458600][10154:10159] CHIP:DMG: EndpointId = 0x0, - [1635926361.458662][10154:10159] CHIP:DMG: ClusterId = 0x3e, - [1635926361.458734][10154:10159] CHIP:DMG: FieldTag = 0x0000_0001, - [1635926361.458779][10154:10159] CHIP:DMG: } - [1635926361.458839][10154:10159] CHIP:DMG: - [1635926361.458896][10154:10159] CHIP:DMG: Data = [ - [1635926361.458951][10154:10159] CHIP:DMG: - [1635926361.458992][10154:10159] CHIP:DMG: { - [1635926361.459054][10154:10159] CHIP:DMG: 0x0 = 1, - [1635926361.459100][10154:10159] CHIP:DMG: 0x1 = [ - [1635926361.459161][10154:10159] CHIP:DMG: 0x4, 0xd6, 0x7d, 0xf1, 0x70, 0x4, 0x8, 0xb0, 0x4b, 0x2b, 0x86, 0xc, 0xe4, 0x28, 0xfa, 0xaa, 0xd5, 0x61, 0x92, 0xf4, 0x53, 0x2, 0xe9, 0xa2, 0x91, 0x17, 0x67, 0x89, 0xe7, 0xdc, 0x81, 0x18, 0x11, 0xe4, 0x41, 0x88, 0xbd, 0xdc, 0x6, 0xee, 0x1, 0x53, 0x63 - [1635926361.459229][10154:10159] CHIP:DMG: ] - [1635926361.459302][10154:10159] CHIP:DMG: 0x2 = 50504, - [1635926361.459341][10154:10159] CHIP:DMG: 0x3 = 0, - [1635926361.459405][10154:10159] CHIP:DMG: 0x4 = 1, - [1635926361.459451][10154:10159] CHIP:DMG: 0x5 = "", - [1635926361.459492][10154:10159] CHIP:DMG: }, - [1635926361.459552][10154:10159] CHIP:DMG: { - [1635926361.459626][10154:10159] CHIP:DMG: 0x0 = 2, - [1635926361.459690][10154:10159] CHIP:DMG: 0x1 = [ - [1635926361.459751][10154:10159] CHIP:DMG: 0x4, 0x79, 0x31, 0x7e, 0x45, 0x90, 0x63, 0xd2, 0x1e, 0x54, 0x63, 0x38, 0x11, 0x6b, 0xb4, 0xd0, 0xcc, 0x5e, 0xad, 0x1d, 0xfe, 0xbb, 0xa6, 0xb3, 0xbf, 0x41, 0x25, 0x47, 0x1f, 0x26, 0x0, 0x5a, 0x80, 0xed, 0xdf, 0x98, 0xcc, 0xe7, 0xf3, 0xac, 0x81, 0x92, - [1635926361.459797][10154:10159] CHIP:DMG: ] - [1635926361.459860][10154:10159] CHIP:DMG: 0x2 = 33608, - [1635926361.459924][10154:10159] CHIP:DMG: 0x3 = 0, - [1635926361.459968][10154:10159] CHIP:DMG: 0x4 = 2, - [1635926361.460011][10154:10159] CHIP:DMG: 0x5 = "", - [1635926361.460054][10154:10159] CHIP:DMG: }, - [1635926361.460114][10154:10159] CHIP:DMG: ], - [1635926361.460169][10154:10159] CHIP:DMG: DataElementVersion = 0x0, - [1635926361.460207][10154:10159] CHIP:DMG: }, - [1635926361.460257][10154:10159] CHIP:DMG: - [1635926361.460289][10154:10159] CHIP:DMG: ], - [1635926361.460357][10154:10159] CHIP:DMG: - [1635926361.460388][10154:10159] CHIP:DMG: } - [1635926361.460535][10154:10159] CHIP:ZCL: ReadAttributesResponse: - [1635926361.460566][10154:10159] CHIP:ZCL: ClusterId: 0x0000_003E - [1635926361.460599][10154:10159] CHIP:ZCL: attributeId: 0x0000_0001 - [1635926361.460625][10154:10159] CHIP:ZCL: status: Success (0x0000) - [1635926361.460648][10154:10159] CHIP:ZCL: attribute TLV Type: 0x16 - [1635926361.460694][10154:10159] CHIP:TOO: OnOperationalCredentialsFabricsListListAttributeResponse: 2 entries - [1635926361.460788][10154:10159] CHIP:TOO: FabricDescriptor[1]: - [1635926361.460821][10154:10159] CHIP:TOO: fabricIndex: 1 - [1635926361.460844][10154:10159] CHIP:ZCL: RootPublicKey: 65 - [1635926361.460866][10154:10159] CHIP:TOO: vendorId: 50504 - [1635926361.460888][10154:10159] CHIP:TOO: fabricId: 0 - [1635926361.460910][10154:10159] CHIP:TOO: nodeId: 1 - [1635926361.460961][10154:10159] CHIP:ZCL: Label: - [1635926361.461002][10154:10159] CHIP:TOO: FabricDescriptor[2]: - [1635926361.461031][10154:10159] CHIP:TOO: fabricIndex: 2 - [1635926361.461059][10154:10159] CHIP:ZCL: RootPublicKey: 65 - [1635926361.461092][10154:10159] CHIP:TOO: vendorId: 33608 - [1635926361.461119][10154:10159] CHIP:TOO: fabricId: 0 - [1635926361.461143][10154:10159] CHIP:TOO: nodeId: 2 + ./chip-tool operationalcredentials read fabrics 1234 0 --fabric-filtered 0 + + CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0001 DataVersion: 2455995219 + [1647863260.286772][9294:9299] CHIP:TOO: Fabrics: 2 entries + [1647863260.286908][9294:9299] CHIP:TOO: [1]: { + [1647863260.286947][9294:9299] CHIP:TOO: RootPublicKey: 04656F56DBDB677DC957028DFC0ED76709C72753C9194B117A483BDC07386BFD9529B68EB4448FBBA3964EFF37A56A8F461D348B0DAF3B56A75F3B94BF8209D36F + [1647863260.286995][9294:9299] CHIP:TOO: VendorId: 65521 + [1647863260.287026][9294:9299] CHIP:TOO: FabricId: 1 + [1647863260.287055][9294:9299] CHIP:TOO: NodeId: 1 + [1647863260.287084][9294:9299] CHIP:TOO: Label: + [1647863260.287113][9294:9299] CHIP:TOO: FabricIndex: 1 + [1647863260.287144][9294:9299] CHIP:TOO: } + [1647863260.287185][9294:9299] CHIP:TOO: [2]: { + [1647863260.287221][9294:9299] CHIP:TOO: RootPublicKey: 04F8F28D5D70A4510E0F72FBBA31369796C4206FF95D97B77C1BDFD0438A3BE43510631A1B915BE189323F4CC0E015480192654D8170F8F230C7713898962958B7 + [1647863260.287253][9294:9299] CHIP:TOO: VendorId: 65521 + [1647863260.287282][9294:9299] CHIP:TOO: FabricId: 1 + [1647863260.287310][9294:9299] CHIP:TOO: NodeId: 3 + [1647863260.287339][9294:9299] CHIP:TOO: Label: + [1647863260.287368][9294:9299] CHIP:TOO: FabricIndex: 3 + [1647863260.287396][9294:9299] CHIP:TOO: } + [1647863260.287515][9294:9299] CHIP:EM: Sending Standalone Ack for MessageCounter:11301761 on exchange 13180i disabled: true - label: "DUT_CR1 opens a commissioning window on TH_CE using a commissioning timeout of PIXIT_COMM_WIN seconds using BCM" + PICS: PICS_MF verification: | - On 1st controller chip tool, open commissioning window + On DUT controller chip tool, open commissioning window Below is the example when using chip tool as controller For BCM, - ./chip-tool administratorcommissioning open-basic-commissioning-window 500 1 0 - - [1635926620.928560][10177:10182] CHIP:DMG: InvokeCommand = - [1635926620.928631][10177:10182] CHIP:DMG: { - [1635926620.928680][10177:10182] CHIP:DMG: CommandList = - [1635926620.928745][10177:10182] CHIP:DMG: [ - [1635926620.928799][10177:10182] CHIP:DMG: CommandDataIB = - [1635926620.928866][10177:10182] CHIP:DMG: { - [1635926620.928963][10177:10182] CHIP:DMG: CommandPathIB = - [1635926620.929041][10177:10182] CHIP:DMG: { - [1635926620.929107][10177:10182] CHIP:DMG: EndpointId = 0x0, - [1635926620.929223][10177:10182] CHIP:DMG: ClusterId = 0x3c, - [1635926620.929308][10177:10182] CHIP:DMG: CommandId = 0x1, - [1635926620.929434][10177:10182] CHIP:DMG: }, - [1635926620.929516][10177:10182] CHIP:DMG: - [1635926620.929580][10177:10182] CHIP:DMG: StatusIB = - [1635926620.929656][10177:10182] CHIP:DMG: { - [1635926620.929755][10177:10182] CHIP:DMG: status = 0x0, - [1635926620.929829][10177:10182] CHIP:DMG: }, - [1635926620.929919][10177:10182] CHIP:DMG: - [1635926620.929976][10177:10182] CHIP:DMG: }, - [1635926620.930070][10177:10182] CHIP:DMG: - [1635926620.930123][10177:10182] CHIP:DMG: ], - [1635926620.930182][10177:10182] CHIP:DMG: - [1635926620.930226][10177:10182] CHIP:DMG: } - [1635926620.930325][10177:10182] CHIP:DMG: Received Command Response Status for Endpoint=0 Cluster=0x0000_003C Command=0x0000_0001 Status=0x0 - [1635926620.930412][10177:10182] CHIP:TOO: Default Success Response + ./chip-tool administratorcommissioning open-basic-commissioning-window 500 2 0 --timedInteractionTimeoutMs 1000 + + CHIP:DMG: InvokeResponseMessage = + [1650278416.248379][11064:11069] CHIP:DMG: { + [1650278416.248436][11064:11069] CHIP:DMG: suppressResponse = false, + [1650278416.248495][11064:11069] CHIP:DMG: InvokeResponseIBs = + [1650278416.248570][11064:11069] CHIP:DMG: [ + [1650278416.248630][11064:11069] CHIP:DMG: InvokeResponseIB = + [1650278416.248718][11064:11069] CHIP:DMG: { + [1650278416.248783][11064:11069] CHIP:DMG: CommandStatusIB = + [1650278416.248860][11064:11069] CHIP:DMG: { + [1650278416.248931][11064:11069] CHIP:DMG: CommandPathIB = + [1650278416.249011][11064:11069] CHIP:DMG: { + [1650278416.249100][11064:11069] CHIP:DMG: EndpointId = 0x0, + [1650278416.249186][11064:11069] CHIP:DMG: ClusterId = 0x3c, + [1650278416.249268][11064:11069] CHIP:DMG: CommandId = 0x1, + [1650278416.249347][11064:11069] CHIP:DMG: }, + [1650278416.249430][11064:11069] CHIP:DMG: + [1650278416.249501][11064:11069] CHIP:DMG: StatusIB = + [1650278416.249581][11064:11069] CHIP:DMG: { + [1650278416.249664][11064:11069] CHIP:DMG: status = 0x00 (SUCCESS), + [1650278416.249738][11064:11069] CHIP:DMG: }, + [1650278416.249823][11064:11069] CHIP:DMG: + [1650278416.249889][11064:11069] CHIP:DMG: }, + [1650278416.249969][11064:11069] CHIP:DMG: + [1650278416.250035][11064:11069] CHIP:DMG: }, + [1650278416.250113][11064:11069] CHIP:DMG: + [1650278416.250169][11064:11069] CHIP:DMG: ], + [1650278416.250241][11064:11069] CHIP:DMG: + [1650278416.250298][11064:11069] CHIP:DMG: InteractionModelRevision = 1 + [1650278416.250355][11064:11069] CHIP:DMG: }, + [1650278416.250535][11064:11069] CHIP:DMG: Received Command Response Status for Endpoint=0 Cluster=0x0000_003C Command=0x0000_0001 Status=0x0 + [1650278416.250634][11064:11069] CHIP:DMG: ICR moving to [AwaitingDe] disabled: true - label: "TH_CR2 starts a commissioning process with TH_CE" + PICS: PICS_MF verification: | On 2nd controller using chip tool connect to the accessory ./chip-tool pairing onnetwork 1 20202021 + + Verify you got below message + Device commissioning completed with success disabled: true - label: "DUT_CR1 reads the list of Fabrics on TH_CE" + PICS: PICS_MF verification: | - On 1st controller, read fabrics list + On DUT controller, read fabrics list Below is the command using chip tool controller - ./chip-tool operationalcredentials read fabrics-list 1 0 - - [1635926361.458197][10154:10159] CHIP:DMG: ReportData = - [1635926361.458231][10154:10159] CHIP:DMG: { - [1635926361.458285][10154:10159] CHIP:DMG: AttributeDataList = - [1635926361.458319][10154:10159] CHIP:DMG: [ - [1635926361.458352][10154:10159] CHIP:DMG: AttributeDataElement = - [1635926361.458386][10154:10159] CHIP:DMG: { - [1635926361.458421][10154:10159] CHIP:DMG: AttributePath = - [1635926361.458464][10154:10159] CHIP:DMG: { - [1635926361.458523][10154:10159] CHIP:DMG: NodeId = 0x1, - [1635926361.458600][10154:10159] CHIP:DMG: EndpointId = 0x0, - [1635926361.458662][10154:10159] CHIP:DMG: ClusterId = 0x3e, - [1635926361.458734][10154:10159] CHIP:DMG: FieldTag = 0x0000_0001, - [1635926361.458779][10154:10159] CHIP:DMG: } - [1635926361.458839][10154:10159] CHIP:DMG: - [1635926361.458896][10154:10159] CHIP:DMG: Data = [ - [1635926361.458951][10154:10159] CHIP:DMG: - [1635926361.458992][10154:10159] CHIP:DMG: { - [1635926361.459054][10154:10159] CHIP:DMG: 0x0 = 1, - [1635926361.459100][10154:10159] CHIP:DMG: 0x1 = [ - [1635926361.459161][10154:10159] CHIP:DMG: 0x4, 0xd6, 0x7d, 0xf1, 0x70, 0x4, 0x8, 0xb0, 0x4b, 0x2b, 0x86, 0xc, 0xe4, 0x28, 0xfa, 0xaa, 0xd5, 0x61, 0x92, 0xf4, 0x53, 0x2, 0xe9, 0xa2, 0x91, 0x17, 0x67, 0x89, 0xe7, 0xdc, 0x81, 0x18, 0x11, 0xe4, 0x41, 0x88, 0xbd, 0xdc, 0x6, 0xee, 0x1, 0x53, 0x63 - [1635926361.459229][10154:10159] CHIP:DMG: ] - [1635926361.459302][10154:10159] CHIP:DMG: 0x2 = 50504, - [1635926361.459341][10154:10159] CHIP:DMG: 0x3 = 0, - [1635926361.459405][10154:10159] CHIP:DMG: 0x4 = 1, - [1635926361.459451][10154:10159] CHIP:DMG: 0x5 = "", - [1635926361.459492][10154:10159] CHIP:DMG: }, - [1635926361.459552][10154:10159] CHIP:DMG: { - [1635926361.459626][10154:10159] CHIP:DMG: 0x0 = 2, - [1635926361.459690][10154:10159] CHIP:DMG: 0x1 = [ - [1635926361.459751][10154:10159] CHIP:DMG: 0x4, 0x79, 0x31, 0x7e, 0x45, 0x90, 0x63, 0xd2, 0x1e, 0x54, 0x63, 0x38, 0x11, 0x6b, 0xb4, 0xd0, 0xcc, 0x5e, 0xad, 0x1d, 0xfe, 0xbb, 0xa6, 0xb3, 0xbf, 0x41, 0x25, 0x47, 0x1f, 0x26, 0x0, 0x5a, 0x80, 0xed, 0xdf, 0x98, 0xcc, 0xe7, 0xf3, 0xac, 0x81, 0x92, - [1635926361.459797][10154:10159] CHIP:DMG: ] - [1635926361.459860][10154:10159] CHIP:DMG: 0x2 = 33608, - [1635926361.459924][10154:10159] CHIP:DMG: 0x3 = 0, - [1635926361.459968][10154:10159] CHIP:DMG: 0x4 = 2, - [1635926361.460011][10154:10159] CHIP:DMG: 0x5 = "", - [1635926361.460054][10154:10159] CHIP:DMG: }, - [1635926361.460114][10154:10159] CHIP:DMG: ], - [1635926361.460169][10154:10159] CHIP:DMG: DataElementVersion = 0x0, - [1635926361.460207][10154:10159] CHIP:DMG: }, - [1635926361.460257][10154:10159] CHIP:DMG: - [1635926361.460289][10154:10159] CHIP:DMG: ], - [1635926361.460357][10154:10159] CHIP:DMG: - [1635926361.460388][10154:10159] CHIP:DMG: } - [1635926361.460535][10154:10159] CHIP:ZCL: ReadAttributesResponse: - [1635926361.460566][10154:10159] CHIP:ZCL: ClusterId: 0x0000_003E - [1635926361.460599][10154:10159] CHIP:ZCL: attributeId: 0x0000_0001 - [1635926361.460625][10154:10159] CHIP:ZCL: status: Success (0x0000) - [1635926361.460648][10154:10159] CHIP:ZCL: attribute TLV Type: 0x16 - [1635926361.460694][10154:10159] CHIP:TOO: OnOperationalCredentialsFabricsListListAttributeResponse: 2 entries - [1635926361.460788][10154:10159] CHIP:TOO: FabricDescriptor[1]: - [1635926361.460821][10154:10159] CHIP:TOO: fabricIndex: 1 - [1635926361.460844][10154:10159] CHIP:ZCL: RootPublicKey: 65 - [1635926361.460866][10154:10159] CHIP:TOO: vendorId: 50504 - [1635926361.460888][10154:10159] CHIP:TOO: fabricId: 0 - [1635926361.460910][10154:10159] CHIP:TOO: nodeId: 1 - [1635926361.460961][10154:10159] CHIP:ZCL: Label: - [1635926361.461002][10154:10159] CHIP:TOO: FabricDescriptor[2]: - [1635926361.461031][10154:10159] CHIP:TOO: fabricIndex: 2 - [1635926361.461059][10154:10159] CHIP:ZCL: RootPublicKey: 65 - [1635926361.461092][10154:10159] CHIP:TOO: vendorId: 33608 - [1635926361.461119][10154:10159] CHIP:TOO: fabricId: 0 - [1635926361.461143][10154:10159] CHIP:TOO: nodeId: 2 + ./chip-tool operationalcredentials read fabrics 1234 0 --fabric-filtered 0 + + CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0001 DataVersion: 2455995246 + [1647863342.980899][9309:9314] CHIP:TOO: Fabrics: 3 entries + [1647863342.981158][9309:9314] CHIP:TOO: [1]: { + [1647863342.981231][9309:9314] CHIP:TOO: RootPublicKey: 04656F56DBDB677DC957028DFC0ED76709C72753C9194B117A483BDC07386BFD9529B68EB4448FBBA3964EFF37A56A8F461D348B0DAF3B56A75F3B94BF8209D36F + [1647863342.981322][9309:9314] CHIP:TOO: VendorId: 65521 + [1647863342.981380][9309:9314] CHIP:TOO: FabricId: 1 + [1647863342.981434][9309:9314] CHIP:TOO: NodeId: 1 + [1647863342.981486][9309:9314] CHIP:TOO: Label: + [1647863342.981539][9309:9314] CHIP:TOO: FabricIndex: 1 + [1647863342.981594][9309:9314] CHIP:TOO: } + [1647863342.981671][9309:9314] CHIP:TOO: [2]: { + [1647863342.981737][9309:9314] CHIP:TOO: RootPublicKey: 04F8F28D5D70A4510E0F72FBBA31369796C4206FF95D97B77C1BDFD0438A3BE43510631A1B915BE189323F4CC0E015480192654D8170F8F230C7713898962958B7 + [1647863342.981796][9309:9314] CHIP:TOO: VendorId: 65521 + [1647863342.981849][9309:9314] CHIP:TOO: FabricId: 1 + [1647863342.981901][9309:9314] CHIP:TOO: NodeId: 3 + [1647863342.981952][9309:9314] CHIP:TOO: Label: + [1647863342.982005][9309:9314] CHIP:TOO: FabricIndex: 3 + [1647863342.982057][9309:9314] CHIP:TOO: } + [1647863342.982131][9309:9314] CHIP:TOO: [3]: { + [1647863342.982195][9309:9314] CHIP:TOO: RootPublicKey: 04F8F28D5D70A4510E0F72FBBA31369796C4206FF95D97B77C1BDFD0438A3BE43510631A1B915BE189323F4CC0E015480192654D8170F8F230C7713898962958B7 + [1647863342.982252][9309:9314] CHIP:TOO: VendorId: 65521 + [1647863342.982305][9309:9314] CHIP:TOO: FabricId: 1 + [1647863342.982357][9309:9314] CHIP:TOO: NodeId: 2 + [1647863342.982409][9309:9314] CHIP:TOO: Label: + [1647863342.982460][9309:9314] CHIP:TOO: FabricIndex: 4 + [1647863342.982512][9309:9314] CHIP:TOO: } + [1647863342.982738][9309:9314] CHIP:EM: Sending Standalone Ack for MessageCounter:5772016 on exchange 3310i disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_MF_1_21.yaml b/src/app/tests/suites/certification/Test_TC_MF_1_21.yaml index 0f565648257847..331afe4cf6b12d 100644 --- a/src/app/tests/suites/certification/Test_TC_MF_1_21.yaml +++ b/src/app/tests/suites/certification/Test_TC_MF_1_21.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: - 22.1.21. [TC-MF-1.21] Open commissioning window - durations max and max+1 - [BCM] [DUT - Commissionee] + 3.1.21. [TC-MF-1.21] max number of Commissioned Fabrics and SupportedFabrics + rollover using ECM [DUT - Commissionee] config: nodeId: 0x12344321 @@ -24,18 +24,22 @@ config: tests: - label: "Reset DUT_CE to factory defaults" + PICS: PICS_MF verification: | disabled: true - label: "TH_CR1 starts a commissioning process with DUT_CE" + PICS: PICS_MF verification: | - 1. Provision the device using 1st controller chip tool(use above instructions) , + "1. Provision the device using 1st controller chip tool(use above instructions) , + " disabled: true - label: "TH_CR1 opens a commissioning window on DUT_CE using a commissioning timeout of PIXIT_COMM_WIN seconds using ECM" + PICS: PICS_MF verification: | On 1st controller chip tool, open commissioning window @@ -57,29 +61,43 @@ tests: disabled: true - label: "THn starts a commissioning process with DUT_CE" + PICS: PICS_MF verification: | On nth controller using chip tool connect to the accessory ./chip-tool pairing code 1 36217551633 + + Verify you got below message + Device commissioning completed with success disabled: true - label: - "Repeat Step 3 an additional (SupportedFabrics - 2) times to reach an - index value of SupportedFabrics on DUT_CE" + "Repeat Step 3 and Step 4 an additional (SupportedFabrics - 2) times + to reach an index value of SupportedFabrics on DUT_CE" + PICS: PICS_MF verification: | Repeat step 3 until CommissionedFabrics=SupportedFabrics disabled: true - - label: "THn starts a commissioning process with DUT_CE" + - label: + "THn starts a commissioning process and opens a commissioning window + with DUT_CE" + PICS: PICS_MF verification: | On nth controller using chip tool connect to the accessory ./chip-tool pairing code 1 36217551633 + + CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_003E Command=0x0000_0008 + [1649756670.402192][10794:10799] CHIP:CTL: Device returned status 5 on receiving the NOC + [1649756670.402221][10794:10799] CHIP:CTL: Add NOC failed with error ../../third_party/connectedhomeip/src/controller/CHIPDeviceController.cpp:1110: CHIP Error 0x0000000B: No memory + [1649756670.402241][10794:10799] CHIP:CTL: Failed to perform commissioning step 12 disabled: true - label: "TH_CR1 removes FabricIndex1" + PICS: PICS_MF verification: | on 1st controller using chip tool, remove fabric with FabricIndex=1 diff --git a/src/app/tests/suites/certification/Test_TC_MF_1_22.yaml b/src/app/tests/suites/certification/Test_TC_MF_1_22.yaml index 50fae5d479ee75..dbd1be90f9308c 100644 --- a/src/app/tests/suites/certification/Test_TC_MF_1_22.yaml +++ b/src/app/tests/suites/certification/Test_TC_MF_1_22.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: - 22.1.22. [TC-MF-1.22] Open commissioning window - durations max and max+1 - [ECM] [DUT - Commissionee] + 3.1.22. [TC-MF-1.22] max number of Commissioned Fabrics and SupportedFabrics + rollover using BCM [DUT - Commissionee] config: nodeId: 0x12344321 @@ -24,76 +24,100 @@ config: tests: - label: "Reset DUT_CE to factory defaults" + PICS: PICS_MF verification: | disabled: true - label: "TH_CR1 starts a commissioning process with DUT_CE" + PICS: PICS_MF verification: | - 1. Provision the device using 1st controller chip tool(use above instructions) , + "1. Provision the device using 1st controller chip tool(use above instructions) , + " disabled: true - label: "TH_CR1 opens a commissioning window on DUT_CE using a commissioning timeout of PIXIT_COMM_WIN seconds using BCM" + PICS: PICS_MF verification: | On 1st controller chip tool, open commissioning window Below is the example when using chip tool as controller - ./chip-tool administratorcommissioning open-basic-commissioning-window 500 1 0 - - [1635926620.928560][10177:10182] CHIP:DMG: InvokeCommand = - [1635926620.928631][10177:10182] CHIP:DMG: { - [1635926620.928680][10177:10182] CHIP:DMG: CommandList = - [1635926620.928745][10177:10182] CHIP:DMG: [ - [1635926620.928799][10177:10182] CHIP:DMG: CommandDataIB = - [1635926620.928866][10177:10182] CHIP:DMG: { - [1635926620.928963][10177:10182] CHIP:DMG: CommandPathIB = - [1635926620.929041][10177:10182] CHIP:DMG: { - [1635926620.929107][10177:10182] CHIP:DMG: EndpointId = 0x0, - [1635926620.929223][10177:10182] CHIP:DMG: ClusterId = 0x3c, - [1635926620.929308][10177:10182] CHIP:DMG: CommandId = 0x1, - [1635926620.929434][10177:10182] CHIP:DMG: }, - [1635926620.929516][10177:10182] CHIP:DMG: - [1635926620.929580][10177:10182] CHIP:DMG: StatusIB = - [1635926620.929656][10177:10182] CHIP:DMG: { - [1635926620.929755][10177:10182] CHIP:DMG: status = 0x0, - [1635926620.929829][10177:10182] CHIP:DMG: }, - [1635926620.929919][10177:10182] CHIP:DMG: - [1635926620.929976][10177:10182] CHIP:DMG: }, - [1635926620.930070][10177:10182] CHIP:DMG: - [1635926620.930123][10177:10182] CHIP:DMG: ], - [1635926620.930182][10177:10182] CHIP:DMG: - [1635926620.930226][10177:10182] CHIP:DMG: } - [1635926620.930325][10177:10182] CHIP:DMG: Received Command Response Status for Endpoint=0 Cluster=0x0000_003C Command=0x0000_0001 Status=0x0 - [1635926620.930412][10177:10182] CHIP:TOO: Default Success Response + ./chip-tool administratorcommissioning open-basic-commissioning-window 500 1 0 --timedInteractionTimeoutMs 1000 + + CHIP:DMG: InvokeResponseMessage = + [1649756654.928453][3385:3390] CHIP:DMG: { + [1649756654.928511][3385:3390] CHIP:DMG: suppressResponse = false, + [1649756654.928571][3385:3390] CHIP:DMG: InvokeResponseIBs = + [1649756654.928647][3385:3390] CHIP:DMG: [ + [1649756654.928708][3385:3390] CHIP:DMG: InvokeResponseIB = + [1649756654.928794][3385:3390] CHIP:DMG: { + [1649756654.928864][3385:3390] CHIP:DMG: CommandStatusIB = + [1649756654.928948][3385:3390] CHIP:DMG: { + [1649756654.929021][3385:3390] CHIP:DMG: CommandPathIB = + [1649756654.929109][3385:3390] CHIP:DMG: { + [1649756654.929191][3385:3390] CHIP:DMG: EndpointId = 0x0, + [1649756654.929284][3385:3390] CHIP:DMG: ClusterId = 0x3c, + [1649756654.929376][3385:3390] CHIP:DMG: CommandId = 0x1, + [1649756654.929459][3385:3390] CHIP:DMG: }, + [1649756654.929551][3385:3390] CHIP:DMG: + [1649756654.929632][3385:3390] CHIP:DMG: StatusIB = + [1649756654.929720][3385:3390] CHIP:DMG: { + [1649756654.929804][3385:3390] CHIP:DMG: status = 0x00 (SUCCESS), + [1649756654.929878][3385:3390] CHIP:DMG: }, + [1649756654.929946][3385:3390] CHIP:DMG: + [1649756654.930017][3385:3390] CHIP:DMG: }, + [1649756654.930109][3385:3390] CHIP:DMG: + [1649756654.930176][3385:3390] CHIP:DMG: }, + [1649756654.930256][3385:3390] CHIP:DMG: + [1649756654.930314][3385:3390] CHIP:DMG: ], + [1649756654.930389][3385:3390] CHIP:DMG: + [1649756654.930448][3385:3390] CHIP:DMG: InteractionModelRevision = 1 + [1649756654.930555][3385:3390] CHIP:DMG: }, + [1649756654.930703][3385:3390] CHIP:DMG: Received Command Response Status for Endpoint=0 Cluster=0x0000_003C Command=0x0000_0001 Status=0x0 + [1649756654.930801][3385:3390] CHIP:DMG: ICR moving to [AwaitingDe] disabled: true - label: "THn starts a commissioning process with DUT_CE" + PICS: PICS_MF verification: | On nth controller using chip tool connect to the accessory ./chip-tool pairing onnetwork 1 20202021 + + Verify you got below message + Device commissioning completed with success disabled: true - label: - "Repeat Step 3 an additional (SupportedFabrics - 2) times to reach an - index value of SupportedFabrics on DUT_CE" + "Repeat Step 3 and Step 4 an additional (SupportedFabrics - 2) times + to reach an index value of SupportedFabrics on DUT_CE" + PICS: PICS_MF verification: | Repeat step 3 until CommissionedFabrics=SupportedFabrics disabled: true - - label: "THn starts a commissioning process with DUT_CE" + - label: + "THn starts a commissioning process and opens a commissioning window + with DUT_CE" + PICS: PICS_MF verification: | On nth controller using chip tool connect to the accessory ./chip-tool pairing onnetwork 1 20202021 + + CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_003E Command=0x0000_0008 + [1649756670.402192][10794:10799] CHIP:CTL: Device returned status 5 on receiving the NOC + [1649756670.402221][10794:10799] CHIP:CTL: Add NOC failed with error ../../third_party/connectedhomeip/src/controller/CHIPDeviceController.cpp:1110: CHIP Error 0x0000000B: No memory + [1649756670.402241][10794:10799] CHIP:CTL: Failed to perform commissioning step 12 disabled: true - label: "TH_CR1 removes FabricIndex1" + PICS: PICS_MF verification: | on 1st controller using chip tool, remove fabric with FabricIndex=1 diff --git a/src/app/tests/suites/certification/Test_TC_MF_1_23.yaml b/src/app/tests/suites/certification/Test_TC_MF_1_23.yaml index 96bd62dd775eff..7cb151fb14fbee 100644 --- a/src/app/tests/suites/certification/Test_TC_MF_1_23.yaml +++ b/src/app/tests/suites/certification/Test_TC_MF_1_23.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: - 22.1.23. [TC-MF-1.23] Open commissioning window - durations max and max+1 - [BCM] [DUT - Commissioner] + 3.1.23. [TC-MF-1.23] max number of Commissioned Fabrics and SupportedFabrics + rollover using ECM [DUT - Commissioner] config: nodeId: 0x12344321 @@ -24,18 +24,22 @@ config: tests: - label: "Reset DUT_CR1 to factory defaults" + PICS: PICS_MF verification: | disabled: true - label: "DUT_CR1 starts a commissioning process with TH_CE" + PICS: PICS_MF verification: | - 1. Provision the device using your DUT controller(use above instructions) , + "1. Provision the device using your DUT controller(use above instructions) , + " disabled: true - label: "DUT_CR1 opens a commissioning window on TH_CE using a commissioning timeout of PIXIT_COMM_WIN seconds using ECM" + PICS: PICS_MF verification: | On your DUT controller chip tool, open commissioning window @@ -57,33 +61,45 @@ tests: disabled: true - label: "THn starts a commissioning process with TH_CE" + PICS: PICS_MF verification: | On nth controller using chip tool connect to the accessory ./chip-tool pairing code 1 36217551633 + + Verify you got below message + Device commissioning completed with success disabled: true - label: "Repeat Step 3 an additional (SupportedFabrics - 2) times to reach an index value of SupportedFabrics on TH_CE" + PICS: PICS_MF verification: | Repeat Step 3 an additional (SupportedFabrics - 2) times to reach an index value of SupportedFabrics on TH_CE disabled: true - label: "THn starts a commissioning process with TH_CE" + PICS: PICS_MF verification: | On nth controller using chip tool connect to the accessory ./chip-tool pairing code 1 36217551633 + + CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_003E Command=0x0000_0008 + [1649756670.402192][10794:10799] CHIP:CTL: Device returned status 5 on receiving the NOC + [1649756670.402221][10794:10799] CHIP:CTL: Add NOC failed with error ../../third_party/connectedhomeip/src/controller/CHIPDeviceController.cpp:1110: CHIP Error 0x0000000B: No memory + [1649756670.402241][10794:10799] CHIP:CTL: Failed to perform commissioning step 12 disabled: true - - label: "DUT_CR1 removes FabricIndex2" + - label: "DUT_CR1 removes FabricIndex1" + PICS: PICS_MF verification: | - on your DUT controller, remove fabric with FabricIndex=2 + on your DUT controller, remove fabric with FabricIndex=1 Below is the example when using chip tool as controller - ./chip-tool operationalcredentials remove-fabric 2 1 0 + ./chip-tool operationalcredentials remove-fabric 1 1 0 disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_MF_1_24.yaml b/src/app/tests/suites/certification/Test_TC_MF_1_24.yaml index 6f8c284f422e95..9da1d93ff831ea 100644 --- a/src/app/tests/suites/certification/Test_TC_MF_1_24.yaml +++ b/src/app/tests/suites/certification/Test_TC_MF_1_24.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: - 22.1.24. [TC-MF-1.24] Open commissioning window - durations max and max+1 - [ECM] [DUT - Commissioner] + 3.1.24. [TC-MF-1.24] max number of Commissioned Fabrics and SupportedFabrics + rollover using BCM [DUT - Commissioner] config: nodeId: 0x12344321 @@ -24,80 +24,103 @@ config: tests: - label: "Reset DUT_CR1 to factory defaults" + PICS: PICS_MF verification: | disabled: true - label: "DUT_CR1 starts a commissioning process with TH_CE" + PICS: PICS_MF verification: | - 1. Provision the device using your DUT controller(use above instructions) , + "1. Provision the device using your DUT controller(use above instructions) , + " disabled: true - label: "DUT_CR1 opens a commissioning window on TH_CE using a commissioning timeout of PIXIT_COMM_WIN seconds using BCM" + PICS: PICS_MF verification: | On your DUT controller chip tool, open commissioning window Below is the example when using chip tool as controller - ./chip-tool administratorcommissioning open-basic-commissioning-window 500 1 0 - - [1635926620.928560][10177:10182] CHIP:DMG: InvokeCommand = - [1635926620.928631][10177:10182] CHIP:DMG: { - [1635926620.928680][10177:10182] CHIP:DMG: CommandList = - [1635926620.928745][10177:10182] CHIP:DMG: [ - [1635926620.928799][10177:10182] CHIP:DMG: CommandDataIB = - [1635926620.928866][10177:10182] CHIP:DMG: { - [1635926620.928963][10177:10182] CHIP:DMG: CommandPathIB = - [1635926620.929041][10177:10182] CHIP:DMG: { - [1635926620.929107][10177:10182] CHIP:DMG: EndpointId = 0x0, - [1635926620.929223][10177:10182] CHIP:DMG: ClusterId = 0x3c, - [1635926620.929308][10177:10182] CHIP:DMG: CommandId = 0x1, - [1635926620.929434][10177:10182] CHIP:DMG: }, - [1635926620.929516][10177:10182] CHIP:DMG: - [1635926620.929580][10177:10182] CHIP:DMG: StatusIB = - [1635926620.929656][10177:10182] CHIP:DMG: { - [1635926620.929755][10177:10182] CHIP:DMG: status = 0x0, - [1635926620.929829][10177:10182] CHIP:DMG: }, - [1635926620.929919][10177:10182] CHIP:DMG: - [1635926620.929976][10177:10182] CHIP:DMG: }, - [1635926620.930070][10177:10182] CHIP:DMG: - [1635926620.930123][10177:10182] CHIP:DMG: ], - [1635926620.930182][10177:10182] CHIP:DMG: - [1635926620.930226][10177:10182] CHIP:DMG: } - [1635926620.930325][10177:10182] CHIP:DMG: Received Command Response Status for Endpoint=0 Cluster=0x0000_003C Command=0x0000_0001 Status=0x0 - [1635926620.930412][10177:10182] CHIP:TOO: Default Success Response + ./chip-tool administratorcommissioning open-basic-commissioning-window 500 2 0 --timedInteractionTimeoutMs 1000 + + + [CHIP:DMG: InvokeResponseMessage = + [1649756654.928453][3385:3390] CHIP:DMG: { + [1649756654.928511][3385:3390] CHIP:DMG: suppressResponse = false, + [1649756654.928571][3385:3390] CHIP:DMG: InvokeResponseIBs = + [1649756654.928647][3385:3390] CHIP:DMG: [ + [1649756654.928708][3385:3390] CHIP:DMG: InvokeResponseIB = + [1649756654.928794][3385:3390] CHIP:DMG: { + [1649756654.928864][3385:3390] CHIP:DMG: CommandStatusIB = + [1649756654.928948][3385:3390] CHIP:DMG: { + [1649756654.929021][3385:3390] CHIP:DMG: CommandPathIB = + [1649756654.929109][3385:3390] CHIP:DMG: { + [1649756654.929191][3385:3390] CHIP:DMG: EndpointId = 0x0, + [1649756654.929284][3385:3390] CHIP:DMG: ClusterId = 0x3c, + [1649756654.929376][3385:3390] CHIP:DMG: CommandId = 0x1, + [1649756654.929459][3385:3390] CHIP:DMG: }, + [1649756654.929551][3385:3390] CHIP:DMG: + [1649756654.929632][3385:3390] CHIP:DMG: StatusIB = + [1649756654.929720][3385:3390] CHIP:DMG: { + [1649756654.929804][3385:3390] CHIP:DMG: status = 0x00 (SUCCESS), + [1649756654.929878][3385:3390] CHIP:DMG: }, + [1649756654.929946][3385:3390] CHIP:DMG: + [1649756654.930017][3385:3390] CHIP:DMG: }, + [1649756654.930109][3385:3390] CHIP:DMG: + [1649756654.930176][3385:3390] CHIP:DMG: }, + [1649756654.930256][3385:3390] CHIP:DMG: + [1649756654.930314][3385:3390] CHIP:DMG: ], + [1649756654.930389][3385:3390] CHIP:DMG: + [1649756654.930448][3385:3390] CHIP:DMG: InteractionModelRevision = 1 + [1649756654.930555][3385:3390] CHIP:DMG: }, + [1649756654.930703][3385:3390] CHIP:DMG: Received Command Response Status for Endpoint=0 Cluster=0x0000_003C Command=0x0000_0001 Status=0x0 + [1649756654.930801][3385:3390] CHIP:DMG: ICR moving to [AwaitingDe] disabled: true - label: "THn starts a commissioning process with TH_CE" + PICS: PICS_MF verification: | On nth controller using chip tool connect to the accessory ./chip-tool pairing onnetwork 1 20202021 + + Verify you got below message + Device commissioning completed with success disabled: true - label: "Repeat Step 3 an additional (SupportedFabrics - 2) times to reach an index value of SupportedFabrics on TH_CE" + PICS: PICS_MF verification: | Repeat Step 3 an additional (SupportedFabrics - 2) times to reach an index value of SupportedFabrics on TH_CE disabled: true - label: "THn starts a commissioning process with TH_CE" + PICS: PICS_MF verification: | On nth controller using chip tool connect to the accessory ./chip-tool pairing onnetwork 1 20202021 + + CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_003E Command=0x0000_0008 + [1649756670.402192][10794:10799] CHIP:CTL: Device returned status 5 on receiving the NOC + [1649756670.402221][10794:10799] CHIP:CTL: Add NOC failed with error ../../third_party/connectedhomeip/src/controller/CHIPDeviceController.cpp:1110: CHIP Error 0x0000000B: No memory + [1649756670.402241][10794:10799] CHIP:CTL: Failed to perform commissioning step 12 disabled: true - - label: "DUT_CR1 removes FabricIndex2" + - label: "DUT_CR1 removes FabricIndex1" + PICS: PICS_MF verification: | - on your DUT controller, remove fabric with FabricIndex=2 + on your DUT controller, remove fabric with FabricIndex=1 Below is the example when using chip tool as controller - ./chip-tool operationalcredentials remove-fabric 2 1 0 + ./chip-tool operationalcredentials remove-fabric 1 1 0 disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_MF_1_25.yaml b/src/app/tests/suites/certification/Test_TC_MF_1_25.yaml index df6700eff33abf..4a93fe89d2ba4b 100644 --- a/src/app/tests/suites/certification/Test_TC_MF_1_25.yaml +++ b/src/app/tests/suites/certification/Test_TC_MF_1_25.yaml @@ -14,7 +14,7 @@ # Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default name: - 22.1.25. [TC-MF-1.25] Open commissioning window - durations max and max+1 + 24.1.25. [TC-MF-1.25] Open commissioning window - durations max and max+1 [BCM] [DUT - Commissionee] config: @@ -24,11 +24,13 @@ config: tests: - label: "Reset DUT_CE to factory defaults" + PICS: PICS_MF verification: | disabled: true - label: "TH_CR1 starts a commissioning process with DUT_CE using BCM" + PICS: PICS_MF verification: | "1. Provision the device using 1st controller chip tool(use above instructions) , " @@ -37,6 +39,7 @@ tests: - label: "TH_CR1 opens a commissioning window on DUT_CE with a value of 900 seconds" + PICS: PICS_MF verification: | On 1st controller chip tool, open commissioning window @@ -80,12 +83,14 @@ tests: disabled: true - label: "Wait for commissioning Window to 901 seconds" + PICS: PICS_MF verification: | Wait for commissioning Window to Timeout disabled: true - label: "TH_CR1 reads the window status to verify the DUT_CE window is closed" + PICS: PICS_MF verification: | ./chip-tool administratorcommissioning read window-status 1 0 @@ -97,6 +102,7 @@ tests: - label: "TH_CR1 opens a commissioning window on DUT_CE with a value of 901 seconds" + PICS: PICS_MF verification: | On 1st controller chip tool, open commissioning window @@ -111,6 +117,7 @@ tests: - label: "TH_CR1 reads the window status to verify the DUT_CE window is closed" + PICS: PICS_MF verification: | ./chip-tool administratorcommissioning read window-status 1 0 diff --git a/src/app/tests/suites/certification/Test_TC_MF_1_26.yaml b/src/app/tests/suites/certification/Test_TC_MF_1_26.yaml index 39fbc3f1c26f2f..7b7c7b10c1efd2 100644 --- a/src/app/tests/suites/certification/Test_TC_MF_1_26.yaml +++ b/src/app/tests/suites/certification/Test_TC_MF_1_26.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: - 22.1.26. [TC-MF-1.26] Open commissioning window - durations max and max+1 - [ECM] [DUT - Commissionee] + "3.1.26. [TC-MF-1.26] Open commissioning window: durations max and max+1 + [ECM] [DUT - Commissionee]" config: nodeId: 0x12344321 @@ -24,11 +24,13 @@ config: tests: - label: "Reset DUT_CE to factory defaults" + PICS: PICS_MF verification: | disabled: true - label: "TH_CR1 starts a commissioning process with DUT_CE using ECM" + PICS: PICS_MF verification: | "1. Provision the device using 1st controller chip tool(use above instructions) , " @@ -37,6 +39,7 @@ tests: - label: "TH_CR1 opens a commissioning window on DUT_CE with a value of 900 seconds" + PICS: PICS_MF verification: | On 1st controller chip tool, open commissioning window @@ -60,12 +63,14 @@ tests: disabled: true - label: "Wait for commissioning Window to 901 seconds" + PICS: PICS_MF verification: | Wait for commissioning Window to Timeout disabled: true - label: "TH_CR1 reads the window status to verify the DUT_CE window is closed" + PICS: PICS_MF verification: | ./chip-tool administratorcommissioning read window-status 1 0 @@ -77,6 +82,7 @@ tests: - label: "TH_CR1 opens a commissioning window on DUT_CE with a value of 901 seconds" + PICS: PICS_MF verification: | On 1st controller chip tool, open commissioning window @@ -94,6 +100,7 @@ tests: - label: "TH_CR1 reads the window status to verify the DUT_CE window is closed" + PICS: PICS_MF verification: | ./chip-tool administratorcommissioning read window-status 1 0 diff --git a/src/app/tests/suites/certification/Test_TC_MF_1_8.yaml b/src/app/tests/suites/certification/Test_TC_MF_1_8.yaml index 5bb34497f74826..2f5e1ed3fc5949 100644 --- a/src/app/tests/suites/certification/Test_TC_MF_1_8.yaml +++ b/src/app/tests/suites/certification/Test_TC_MF_1_8.yaml @@ -14,7 +14,7 @@ # Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default name: - 22.1.8. [TC-MF-1.8] Commissioning window handling timeout and revocation + 3.1.8. [TC-MF-1.8] Commissioning window handling timeout and revocation using BCM [DUT - Commissioner] config: @@ -36,42 +36,74 @@ tests: Below is the example while using chip tool as controller, - ./chip-tool administratorcommissioning open-basic-commissioning-window 500 1 0 - - [1635871562.958905][4336:4341] CHIP:DMG: InvokeCommand = - [1635871562.958976][4336:4341] CHIP:DMG: { - [1635871562.959031][4336:4341] CHIP:DMG: CommandList = - [1635871562.959095][4336:4341] CHIP:DMG: [ - [1635871562.959161][4336:4341] CHIP:DMG: CommandDataIB = - [1635871562.959225][4336:4341] CHIP:DMG: { - [1635871562.959290][4336:4341] CHIP:DMG: CommandPathIB = - [1635871562.959368][4336:4341] CHIP:DMG: { - [1635871562.959434][4336:4341] CHIP:DMG: EndpointId = 0x0, - [1635871562.959530][4336:4341] CHIP:DMG: ClusterId = 0x3c, - [1635871562.959625][4336:4341] CHIP:DMG: CommandId = 0x1, - [1635871562.959698][4336:4341] CHIP:DMG: }, - [1635871562.959776][4336:4341] CHIP:DMG: - [1635871562.959841][4336:4341] CHIP:DMG: StatusIB = - [1635871562.959911][4336:4341] CHIP:DMG: { - [1635871562.959980][4336:4341] CHIP:DMG: status = 0x0, - [1635871562.960064][4336:4341] CHIP:DMG: }, - [1635871562.960313][4336:4341] CHIP:DMG: - [1635871562.960459][4336:4341] CHIP:DMG: }, - [1635871562.960544][4336:4341] CHIP:DMG: - [1635871562.960604][4336:4341] CHIP:DMG: ], - [1635871562.960668][4336:4341] CHIP:DMG: - [1635871562.960723][4336:4341] CHIP:DMG: } - [1635871562.960824][4336:4341] CHIP:DMG: Received Command Response Status for Endpoint=0 Cluster=0x0000_003C Command=0x0000_0001 Status=0x0 - [1635871562.960894][4336:4341] CHIP:TOO: Default Success Response + ./chip-tool administratorcommissioning open-basic-commissioning-window 500 2 0 --timedInteractionTimeoutMs 1000 + + CHIP:DMG: InvokeResponseMessage = + [1650278416.248379][11064:11069] CHIP:DMG: { + [1650278416.248436][11064:11069] CHIP:DMG: suppressResponse = false, + [1650278416.248495][11064:11069] CHIP:DMG: InvokeResponseIBs = + [1650278416.248570][11064:11069] CHIP:DMG: [ + [1650278416.248630][11064:11069] CHIP:DMG: InvokeResponseIB = + [1650278416.248718][11064:11069] CHIP:DMG: { + [1650278416.248783][11064:11069] CHIP:DMG: CommandStatusIB = + [1650278416.248860][11064:11069] CHIP:DMG: { + [1650278416.248931][11064:11069] CHIP:DMG: CommandPathIB = + [1650278416.249011][11064:11069] CHIP:DMG: { + [1650278416.249100][11064:11069] CHIP:DMG: EndpointId = 0x0, + [1650278416.249186][11064:11069] CHIP:DMG: ClusterId = 0x3c, + [1650278416.249268][11064:11069] CHIP:DMG: CommandId = 0x1, + [1650278416.249347][11064:11069] CHIP:DMG: }, + [1650278416.249430][11064:11069] CHIP:DMG: + [1650278416.249501][11064:11069] CHIP:DMG: StatusIB = + [1650278416.249581][11064:11069] CHIP:DMG: { + [1650278416.249664][11064:11069] CHIP:DMG: status = 0x00 (SUCCESS), + [1650278416.249738][11064:11069] CHIP:DMG: }, + [1650278416.249823][11064:11069] CHIP:DMG: + [1650278416.249889][11064:11069] CHIP:DMG: }, + [1650278416.249969][11064:11069] CHIP:DMG: + [1650278416.250035][11064:11069] CHIP:DMG: }, + [1650278416.250113][11064:11069] CHIP:DMG: + [1650278416.250169][11064:11069] CHIP:DMG: ], + [1650278416.250241][11064:11069] CHIP:DMG: + [1650278416.250298][11064:11069] CHIP:DMG: InteractionModelRevision = 1 + [1650278416.250355][11064:11069] CHIP:DMG: }, + [1650278416.250535][11064:11069] CHIP:DMG: Received Command Response Status for Endpoint=0 Cluster=0x0000_003C Command=0x0000_0001 Status=0x0 + [1650278416.250634][11064:11069] CHIP:DMG: ICR moving to [AwaitingDe] + disabled: true + + - label: + "If (PICS_User Interface Display) A User Consent screen pops up asking + for Users permission to allow second commissioner to control TH_CE" + verification: | + Verify the User Consent pop up screen. Verify that the pop up closes after user gives permission + disabled: true + + - label: + "If (PICS_User Interface Display) 11 digit Manual Code is displayed on + the screen in textual format for User to see" + verification: | + Verify that the displayed Manual Code is 11 digits long and doesn’t contain Vendor_ID or Product_ID. + disabled: true + + - label: + "If (PICS_Audio Interface) A voice prompt of the Manual Code format + should be heard" + verification: | + Verify voice prompt saying the manual code. Verify the voice prompt repeats if user asks. disabled: true - label: "TH_CR2 starts a commissioning process with TH_CE after PIXIT_COMM_WIN - + 10 seconds" + (that was given in step 2) + 10 seconds" verification: | On the 2nd controller using chip-tool , connect to the accessory ./chip-tool pairing onnetwork 1 20202021 + + verify you got the following message in the TH log + CHIP:SC: PASESession timed out while waiting for a response from the peer. Expected message type was 33 + CHIP:TOO: Secure Pairing Failed + CHIP:TOO: Pairing Failure: ../../third_party/connectedhomeip/src/protocols/secure_channel/PASESession.cpp:324: CHIP Error 0x00000032: Timeout disabled: true - label: @@ -82,7 +114,40 @@ tests: Below is the example while using chip tool as controller, - ./chip-tool administratorcommissioning open-basic-commissioning-window 500 1 0 + ./chip-tool administratorcommissioning open-basic-commissioning-window 500 1 0 --timedInteractionTimeoutMs 1000 + + + CHIP:DMG: InvokeResponseMessage = + [1650278416.248379][11064:11069] CHIP:DMG: { + [1650278416.248436][11064:11069] CHIP:DMG: suppressResponse = false, + [1650278416.248495][11064:11069] CHIP:DMG: InvokeResponseIBs = + [1650278416.248570][11064:11069] CHIP:DMG: [ + [1650278416.248630][11064:11069] CHIP:DMG: InvokeResponseIB = + [1650278416.248718][11064:11069] CHIP:DMG: { + [1650278416.248783][11064:11069] CHIP:DMG: CommandStatusIB = + [1650278416.248860][11064:11069] CHIP:DMG: { + [1650278416.248931][11064:11069] CHIP:DMG: CommandPathIB = + [1650278416.249011][11064:11069] CHIP:DMG: { + [1650278416.249100][11064:11069] CHIP:DMG: EndpointId = 0x0, + [1650278416.249186][11064:11069] CHIP:DMG: ClusterId = 0x3c, + [1650278416.249268][11064:11069] CHIP:DMG: CommandId = 0x1, + [1650278416.249347][11064:11069] CHIP:DMG: }, + [1650278416.249430][11064:11069] CHIP:DMG: + [1650278416.249501][11064:11069] CHIP:DMG: StatusIB = + [1650278416.249581][11064:11069] CHIP:DMG: { + [1650278416.249664][11064:11069] CHIP:DMG: status = 0x00 (SUCCESS), + [1650278416.249738][11064:11069] CHIP:DMG: }, + [1650278416.249823][11064:11069] CHIP:DMG: + [1650278416.249889][11064:11069] CHIP:DMG: }, + [1650278416.249969][11064:11069] CHIP:DMG: + [1650278416.250035][11064:11069] CHIP:DMG: }, + [1650278416.250113][11064:11069] CHIP:DMG: + [1650278416.250169][11064:11069] CHIP:DMG: ], + [1650278416.250241][11064:11069] CHIP:DMG: + [1650278416.250298][11064:11069] CHIP:DMG: InteractionModelRevision = 1 + [1650278416.250355][11064:11069] CHIP:DMG: }, + [1650278416.250535][11064:11069] CHIP:DMG: Received Command Response Status for Endpoint=0 Cluster=0x0000_003C Command=0x0000_0001 Status=0x0 + [1650278416.250634][11064:11069] CHIP:DMG: ICR moving to [AwaitingDe] disabled: true - label: @@ -92,33 +157,39 @@ tests: On your DUT controller revoke commissioning Below is the example while using chip tool as controller, - - ./chip-tool administratorcommissioning revoke-commissioning 1 0 - [1635871889.934826][4370:4375] CHIP:DMG: InvokeCommand = - [1635871889.934895][4370:4375] CHIP:DMG: { - [1635871889.934950][4370:4375] CHIP:DMG: CommandList = - [1635871889.935012][4370:4375] CHIP:DMG: [ - [1635871889.935072][4370:4375] CHIP:DMG: CommandDataIB = - [1635871889.935136][4370:4375] CHIP:DMG: { - [1635871889.935199][4370:4375] CHIP:DMG: CommandPathIB = - [1635871889.935352][4370:4375] CHIP:DMG: { - [1635871889.935493][4370:4375] CHIP:DMG: EndpointId = 0x0, - [1635871889.935566][4370:4375] CHIP:DMG: ClusterId = 0x3c, - [1635871889.935680][4370:4375] CHIP:DMG: CommandId = 0x2, - [1635871889.935788][4370:4375] CHIP:DMG: }, - [1635871889.935867][4370:4375] CHIP:DMG: - [1635871889.935930][4370:4375] CHIP:DMG: StatusIB = - [1635871889.935992][4370:4375] CHIP:DMG: { - [1635871889.936059][4370:4375] CHIP:DMG: status = 0x0, - [1635871889.936165][4370:4375] CHIP:DMG: }, - [1635871889.936283][4370:4375] CHIP:DMG: - [1635871889.936378][4370:4375] CHIP:DMG: }, - [1635871889.936455][4370:4375] CHIP:DMG: - [1635871889.936514][4370:4375] CHIP:DMG: ], - [1635871889.936604][4370:4375] CHIP:DMG: - [1635871889.936655][4370:4375] CHIP:DMG: } - [1635871889.936753][4370:4375] CHIP:DMG: Received Command Response Status for Endpoint=0 Cluster=0x0000_003C Command=0x0000_0002 Status=0x0 - [1635871889.936820][4370:4375] CHIP:TOO: Default Success Response + /chip-tool administratorcommissioning revoke-commissioning 1 0 --timedInteractionTimeoutMs 1000 + + CHIP:DMG: InvokeResponseMessage = + [1650278416.248379][11064:11069] CHIP:DMG: { + [1650278416.248436][11064:11069] CHIP:DMG: suppressResponse = false, + [1650278416.248495][11064:11069] CHIP:DMG: InvokeResponseIBs = + [1650278416.248570][11064:11069] CHIP:DMG: [ + [1650278416.248630][11064:11069] CHIP:DMG: InvokeResponseIB = + [1650278416.248718][11064:11069] CHIP:DMG: { + [1650278416.248783][11064:11069] CHIP:DMG: CommandStatusIB = + [1650278416.248860][11064:11069] CHIP:DMG: { + [1650278416.248931][11064:11069] CHIP:DMG: CommandPathIB = + [1650278416.249011][11064:11069] CHIP:DMG: { + [1650278416.249100][11064:11069] CHIP:DMG: EndpointId = 0x0, + [1650278416.249186][11064:11069] CHIP:DMG: ClusterId = 0x3c, + [1650278416.249268][11064:11069] CHIP:DMG: CommandId = 0x1, + [1650278416.249347][11064:11069] CHIP:DMG: }, + [1650278416.249430][11064:11069] CHIP:DMG: + [1650278416.249501][11064:11069] CHIP:DMG: StatusIB = + [1650278416.249581][11064:11069] CHIP:DMG: { + [1650278416.249664][11064:11069] CHIP:DMG: status = 0x00 (SUCCESS), + [1650278416.249738][11064:11069] CHIP:DMG: }, + [1650278416.249823][11064:11069] CHIP:DMG: + [1650278416.249889][11064:11069] CHIP:DMG: }, + [1650278416.249969][11064:11069] CHIP:DMG: + [1650278416.250035][11064:11069] CHIP:DMG: }, + [1650278416.250113][11064:11069] CHIP:DMG: + [1650278416.250169][11064:11069] CHIP:DMG: ], + [1650278416.250241][11064:11069] CHIP:DMG: + [1650278416.250298][11064:11069] CHIP:DMG: InteractionModelRevision = 1 + [1650278416.250355][11064:11069] CHIP:DMG: }, + [1650278416.250535][11064:11069] CHIP:DMG: Received Command Response Status for Endpoint=0 Cluster=0x0000_003C Command=0x0000_0001 Status=0x0 + [1650278416.250634][11064:11069] CHIP:DMG: ICR moving to [AwaitingDe] disabled: true - label: "TH_CR2 starts a commissioning process with TH_CE" @@ -126,6 +197,11 @@ tests: On the 2nd controller using chip-tool , connect to the accessory ./chip-tool pairing onnetwork 1 20202021 + + verify you got the following message in the TH log + CHIP:SC: PASESession timed out while waiting for a response from the peer. Expected message type was 33 + CHIP:TOO: Secure Pairing Failed + CHIP:TOO: Pairing Failure: ../../third_party/connectedhomeip/src/protocols/secure_channel/PASESession.cpp:324: CHIP Error 0x00000032: Timeout disabled: true - label: @@ -136,101 +212,81 @@ tests: Below is the example while using chip tool as controller, - ./chip-tool administratorcommissioning revoke-commissioning 1 0 - [1635871889.934826][4370:4375] CHIP:DMG: InvokeCommand = - [1635871889.934895][4370:4375] CHIP:DMG: { - [1635871889.934950][4370:4375] CHIP:DMG: CommandList = - [1635871889.935012][4370:4375] CHIP:DMG: [ - [1635871889.935072][4370:4375] CHIP:DMG: CommandDataIB = - [1635871889.935136][4370:4375] CHIP:DMG: { - [1635871889.935199][4370:4375] CHIP:DMG: CommandPathIB = - [1635871889.935352][4370:4375] CHIP:DMG: { - [1635871889.935493][4370:4375] CHIP:DMG: EndpointId = 0x0, - [1635871889.935566][4370:4375] CHIP:DMG: ClusterId = 0x3c, - [1635871889.935680][4370:4375] CHIP:DMG: CommandId = 0x2, - [1635871889.935788][4370:4375] CHIP:DMG: }, - [1635871889.935867][4370:4375] CHIP:DMG: - [1635871889.935930][4370:4375] CHIP:DMG: StatusIB = - [1635871889.935992][4370:4375] CHIP:DMG: { - [1635871889.936059][4370:4375] CHIP:DMG: status = 0x0, - [1635871889.936165][4370:4375] CHIP:DMG: }, - [1635871889.936283][4370:4375] CHIP:DMG: - [1635871889.936378][4370:4375] CHIP:DMG: }, - [1635871889.936455][4370:4375] CHIP:DMG: - [1635871889.936514][4370:4375] CHIP:DMG: ], - [1635871889.936604][4370:4375] CHIP:DMG: - [1635871889.936655][4370:4375] CHIP:DMG: } - [1635871889.936753][4370:4375] CHIP:DMG: Received Command Response Status for Endpoint=0 Cluster=0x0000_003C Command=0x0000_0002 Status=0x0 - [1635871889.936820][4370:4375] CHIP:TOO: Default Success Response + /chip-tool administratorcommissioning revoke-commissioning 2 0 --timedInteractionTimeoutMs 1000 + + CHIP:DMG: InvokeResponseMessage = + [1650524034.111241][15422:15427] CHIP:DMG: { + [1650524034.111316][15422:15427] CHIP:DMG: suppressResponse = false, + [1650524034.111383][15422:15427] CHIP:DMG: InvokeResponseIBs = + [1650524034.111464][15422:15427] CHIP:DMG: [ + [1650524034.111531][15422:15427] CHIP:DMG: InvokeResponseIB = + [1650524034.111643][15422:15427] CHIP:DMG: { + [1650524034.111714][15422:15427] CHIP:DMG: CommandStatusIB = + [1650524034.111803][15422:15427] CHIP:DMG: { + [1650524034.111886][15422:15427] CHIP:DMG: CommandPathIB = + [1650524034.111979][15422:15427] CHIP:DMG: { + [1650524034.112072][15422:15427] CHIP:DMG: EndpointId = 0x0, + [1650524034.112167][15422:15427] CHIP:DMG: ClusterId = 0x3c, + [1650524034.112257][15422:15427] CHIP:DMG: CommandId = 0x2, + [1650524034.112345][15422:15427] CHIP:DMG: }, + [1650524034.112456][15422:15427] CHIP:DMG: + [1650524034.112543][15422:15427] CHIP:DMG: StatusIB = + [1650524034.112632][15422:15427] CHIP:DMG: { + [1650524034.112727][15422:15427] CHIP:DMG: status = 0x01 (FAILURE), + [1650524034.112825][15422:15427] CHIP:DMG: cluster-status = 0x3, + [1650524034.112914][15422:15427] CHIP:DMG: }, + [1650524034.113005][15422:15427] CHIP:DMG: + [1650524034.113084][15422:15427] CHIP:DMG: }, + [1650524034.113176][15422:15427] CHIP:DMG: + [1650524034.113245][15422:15427] CHIP:DMG: }, + [1650524034.113328][15422:15427] CHIP:DMG: + [1650524034.113392][15422:15427] CHIP:DMG: ], + [1650524034.113477][15422:15427] CHIP:DMG: + [1650524034.113545][15422:15427] CHIP:DMG: InteractionModelRevision = 1 + [1650524034.113610][15422:15427] CHIP:DMG: }, + [1650524034.113780][15422:15427] CHIP:DMG: Received Command Response Status for Endpoint=0 Cluster=0x0000_003C Command=0x0000_0002 Status=0x1 + [1650524034.113892][15422:15427] CHIP:TOO: Error: IM Error 0x00000603: Cluster-specific error: 0x03 disabled: true - label: "DUT_CR1 writes and reads the Basic Information Clusters NodeLabel mandatory attribute of TH_CE" verification: | - Using your DUT controller write attribute and read attribute to and from TH_CE - - Below is the example while using chip tool on first controller, - - ./chip-tool basic write user-label te5new 1 0 - [1635872071.971166][4380:4385] CHIP:DMG: WriteResponse = - [1635872071.971206][4380:4385] CHIP:DMG: { - [1635872071.971243][4380:4385] CHIP:DMG: AttributeStatusList = - [1635872071.971305][4380:4385] CHIP:DMG: [ - [1635872071.971363][4380:4385] CHIP:DMG: AttributeStatusIB = - [1635872071.971410][4380:4385] CHIP:DMG: { - [1635872071.971451][4380:4385] CHIP:DMG: AttributePath = - [1635872071.971490][4380:4385] CHIP:DMG: { - [1635872071.971544][4380:4385] CHIP:DMG: FieldTag = 0x0000_0005, - [1635872071.971595][4380:4385] CHIP:DMG: NodeId = 0x0, - [1635872071.971636][4380:4385] CHIP:DMG: ClusterId = 0x28, - [1635872071.971692][4380:4385] CHIP:DMG: EndpointId = 0x0, - [1635872071.971740][4380:4385] CHIP:DMG: } - [1635872071.971792][4380:4385] CHIP:DMG: - [1635872071.971833][4380:4385] CHIP:DMG: StatusIB = - [1635872071.971881][4380:4385] CHIP:DMG: { - [1635872071.971935][4380:4385] CHIP:DMG: status = 0x0, - [1635872071.971986][4380:4385] CHIP:DMG: }, - [1635872071.972041][4380:4385] CHIP:DMG: - [1635872071.972083][4380:4385] CHIP:DMG: }, - [1635872071.972130][4380:4385] CHIP:DMG: - [1635872071.972165][4380:4385] CHIP:DMG: ], - [1635872071.972209][4380:4385] CHIP:DMG: - [1635872071.972241][4380:4385] CHIP:DMG: } - [1635872071.972315][4380:4385] CHIP:ZCL: WriteResponse: - [1635872071.972350][4380:4385] CHIP:ZCL: status: Success (0x0000) - [1635872071.972385][4380:4385] CHIP:TOO: Default Success Response - - - ./chip-tool basic read user-label 1 0 - - [1635872323.755223][4396:4401] CHIP:DMG: ReportData = - [1635872323.755265][4396:4401] CHIP:DMG: { - [1635872323.755297][4396:4401] CHIP:DMG: AttributeDataList = - [1635872323.755343][4396:4401] CHIP:DMG: [ - [1635872323.755379][4396:4401] CHIP:DMG: AttributeDataElement = - [1635872323.755424][4396:4401] CHIP:DMG: { - [1635872323.755470][4396:4401] CHIP:DMG: AttributePath = - [1635872323.755523][4396:4401] CHIP:DMG: { - [1635872323.755578][4396:4401] CHIP:DMG: NodeId = 0x1, - [1635872323.755631][4396:4401] CHIP:DMG: EndpointId = 0x0, - [1635872323.755683][4396:4401] CHIP:DMG: ClusterId = 0x28, - [1635872323.755730][4396:4401] CHIP:DMG: FieldTag = 0x0000_0005, - [1635872323.755774][4396:4401] CHIP:DMG: } - [1635872323.755821][4396:4401] CHIP:DMG: - [1635872323.755869][4396:4401] CHIP:DMG: Data = "te5new", - [1635872323.755911][4396:4401] CHIP:DMG: DataElementVersion = 0x0, - [1635872323.755951][4396:4401] CHIP:DMG: }, - [1635872323.756000][4396:4401] CHIP:DMG: - [1635872323.756036][4396:4401] CHIP:DMG: ], - [1635872323.756078][4396:4401] CHIP:DMG: - [1635872323.756111][4396:4401] CHIP:DMG: } - [1635872323.756212][4396:4401] CHIP:ZCL: ReadAttributesResponse: - [1635872323.756245][4396:4401] CHIP:ZCL: ClusterId: 0x0000_0028 - [1635872323.756279][4396:4401] CHIP:ZCL: attributeId: 0x0000_0005 - [1635872323.756311][4396:4401] CHIP:ZCL: status: Success (0x0000) - [1635872323.756342][4396:4401] CHIP:ZCL: attribute TLV Type: 0x0c - [1635872323.756373][4396:4401] CHIP:TOO: CharString attribute Response: te5new + Using your DUT controller, write attribute and read attribute to and from TH_CE + + Below is the example while using chip tool on second controller, + ./chip-tool basic write node-label te5new 2 0 + + CHIP:DMG: WriteResponseMessage = + [1649245940.788522][10110:10115] CHIP:DMG: { + [1649245940.788577][10110:10115] CHIP:DMG: AttributeStatusIBs = + [1649245940.788653][10110:10115] CHIP:DMG: [ + [1649245940.788713][10110:10115] CHIP:DMG: AttributeStatusIB = + [1649245940.788787][10110:10115] CHIP:DMG: { + [1649245940.788852][10110:10115] CHIP:DMG: AttributePathIB = + [1649245940.788931][10110:10115] CHIP:DMG: { + [1649245940.789009][10110:10115] CHIP:DMG: Endpoint = 0x0, + [1649245940.789143][10110:10115] CHIP:DMG: Cluster = 0x28, + [1649245940.789228][10110:10115] CHIP:DMG: Attribute = 0x0000_0005, + [1649245940.789313][10110:10115] CHIP:DMG: } + [1649245940.789388][10110:10115] CHIP:DMG: + [1649245940.789454][10110:10115] CHIP:DMG: StatusIB = + [1649245940.789519][10110:10115] CHIP:DMG: { + [1649245940.789588][10110:10115] CHIP:DMG: status = 0x00 (SUCCESS), + [1649245940.789654][10110:10115] CHIP:DMG: }, + [1649245940.789719][10110:10115] CHIP:DMG: + [1649245940.789778][10110:10115] CHIP:DMG: }, + [1649245940.789841][10110:10115] CHIP:DMG: + [1649245940.789885][10110:10115] CHIP:DMG: ], + [1649245940.789941][10110:10115] CHIP:DMG: + [1649245940.789984][10110:10115] CHIP:DMG: InteractionModelRevision = 1 + [1649245940.790033][10110:10115] CHIP:DMG: } + [1649245940.790167][10110:10115] CHIP:DMG: WriteClient moving to [AwaitingDe] + + ./chip-tool basic read node-label 2 0 + CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0028 Attribute 0x0000_0005 DataVersion: 3061847068 + [1649245950.006849][10116:10121] CHIP:TOO: NodeLabel: te8 + [1649245950.007024][10116:10121] CHIP:EM: Sending Standalone Ack for MessageCounter:12495101 on exchange 24816i disabled: true - label: @@ -241,34 +297,41 @@ tests: Below is the example while using chip tool as controller, - ./chip-tool administratorcommissioning open-basic-commissioning-window 500 1 0 - - - [1635871562.958905][4336:4341] CHIP:DMG: InvokeCommand = - [1635871562.958976][4336:4341] CHIP:DMG: { - [1635871562.959031][4336:4341] CHIP:DMG: CommandList = - [1635871562.959095][4336:4341] CHIP:DMG: [ - [1635871562.959161][4336:4341] CHIP:DMG: CommandDataIB = - [1635871562.959225][4336:4341] CHIP:DMG: { - [1635871562.959290][4336:4341] CHIP:DMG: CommandPathIB = - [1635871562.959368][4336:4341] CHIP:DMG: { - [1635871562.959434][4336:4341] CHIP:DMG: EndpointId = 0x0, - [1635871562.959530][4336:4341] CHIP:DMG: ClusterId = 0x3c, - [1635871562.959625][4336:4341] CHIP:DMG: CommandId = 0x1, - [1635871562.959698][4336:4341] CHIP:DMG: }, - [1635871562.959776][4336:4341] CHIP:DMG: - [1635871562.959841][4336:4341] CHIP:DMG: StatusIB = - [1635871562.959911][4336:4341] CHIP:DMG: { - [1635871562.959980][4336:4341] CHIP:DMG: status = 0x0, - [1635871562.960064][4336:4341] CHIP:DMG: }, - [1635871562.960313][4336:4341] CHIP:DMG: - [1635871562.960459][4336:4341] CHIP:DMG: }, - [1635871562.960544][4336:4341] CHIP:DMG: - [1635871562.960604][4336:4341] CHIP:DMG: ], - [1635871562.960668][4336:4341] CHIP:DMG: - [1635871562.960723][4336:4341] CHIP:DMG: } - [1635871562.960824][4336:4341] CHIP:DMG: Received Command Response Status for Endpoint=0 Cluster=0x0000_003C Command=0x0000_0001 Status=0x0 - [1635871562.960894][4336:4341] CHIP:TOO: Default Success Response + ./chip-tool administratorcommissioning open-basic-commissioning-window 500 2 0 --timedInteractionTimeoutMs 1000 + + + + CHIP:DMG: InvokeResponseMessage = + [1650278416.248379][11064:11069] CHIP:DMG: { + [1650278416.248436][11064:11069] CHIP:DMG: suppressResponse = false, + [1650278416.248495][11064:11069] CHIP:DMG: InvokeResponseIBs = + [1650278416.248570][11064:11069] CHIP:DMG: [ + [1650278416.248630][11064:11069] CHIP:DMG: InvokeResponseIB = + [1650278416.248718][11064:11069] CHIP:DMG: { + [1650278416.248783][11064:11069] CHIP:DMG: CommandStatusIB = + [1650278416.248860][11064:11069] CHIP:DMG: { + [1650278416.248931][11064:11069] CHIP:DMG: CommandPathIB = + [1650278416.249011][11064:11069] CHIP:DMG: { + [1650278416.249100][11064:11069] CHIP:DMG: EndpointId = 0x0, + [1650278416.249186][11064:11069] CHIP:DMG: ClusterId = 0x3c, + [1650278416.249268][11064:11069] CHIP:DMG: CommandId = 0x1, + [1650278416.249347][11064:11069] CHIP:DMG: }, + [1650278416.249430][11064:11069] CHIP:DMG: + [1650278416.249501][11064:11069] CHIP:DMG: StatusIB = + [1650278416.249581][11064:11069] CHIP:DMG: { + [1650278416.249664][11064:11069] CHIP:DMG: status = 0x00 (SUCCESS), + [1650278416.249738][11064:11069] CHIP:DMG: }, + [1650278416.249823][11064:11069] CHIP:DMG: + [1650278416.249889][11064:11069] CHIP:DMG: }, + [1650278416.249969][11064:11069] CHIP:DMG: + [1650278416.250035][11064:11069] CHIP:DMG: }, + [1650278416.250113][11064:11069] CHIP:DMG: + [1650278416.250169][11064:11069] CHIP:DMG: ], + [1650278416.250241][11064:11069] CHIP:DMG: + [1650278416.250298][11064:11069] CHIP:DMG: InteractionModelRevision = 1 + [1650278416.250355][11064:11069] CHIP:DMG: }, + [1650278416.250535][11064:11069] CHIP:DMG: Received Command Response Status for Endpoint=0 Cluster=0x0000_003C Command=0x0000_0001 Status=0x0 + [1650278416.250634][11064:11069] CHIP:DMG: ICR moving to [AwaitingDe] disabled: true - label: "TH_CR2 starts a commissioning process with TH_CE" @@ -276,6 +339,9 @@ tests: On the 2nd controller using chip-tool , connect to the accessory ./chip-tool pairing onnetwork 1 20202021 + + Verify you got below message + Device commissioning completed with success disabled: true - label: "TH_CR3 starts a commissioning process with TH_CE" @@ -283,4 +349,9 @@ tests: On the 3rd controller using chip-tool , connect to the accessory ./chip-tool pairing onnetwork 1 20202021 + + verify you got the following message in the TH log + CHIP:SC: PASESession timed out while waiting for a response from the peer. Expected message type was 33 + CHIP:TOO: Secure Pairing Failed + CHIP:TOO: Pairing Failure: ../../third_party/connectedhomeip/src/protocols/secure_channel/PASESession.cpp:324: CHIP Error 0x00000032: Timeout disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_SC_4_1.yaml b/src/app/tests/suites/certification/Test_TC_SC_4_1.yaml index 80cb4c9b27139c..04cabadecf5cb4 100644 --- a/src/app/tests/suites/certification/Test_TC_SC_4_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_SC_4_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: 13.4.1. [TC-SC-4.1] Commissionable Node Discovery - Commissionee Case +name: 14.4.1. [TC-SC-4.1] Commissionable Node Discovery - Commissionee Case config: nodeId: 0x12344321 @@ -22,36 +22,114 @@ config: tests: - label: - "DUT is put in Commissioning Mode using Open Basic Commissioning - Window command and starts advertising Commissionable Node Discovery - service using DNS-SD" + "DUT is Commissioned and put in Commissioning Mode using Open Basic + Commissioning Window command and starts advertising Commissionable + Node Discovery service using DNS-SD" verification: | - ./chip-tool administratorcommissioning open-basic-commissioning-window 10 1 0 --timedInteractionTimeoutMs 1000 + ./chip-tool administratorcommissioning open-basic-commissioning-window 200 1 0 --timedInteractionTimeoutMs 1000 + [1652340903.034346][2874:2879] CHIP:DMG: InvokeResponseMessage = + [1652340903.034398][2874:2879] CHIP:DMG: { + [1652340903.034447][2874:2879] CHIP:DMG: suppressResponse = false, + [1652340903.034499][2874:2879] CHIP:DMG: InvokeResponseIBs = + [1652340903.034565][2874:2879] CHIP:DMG: [ + [1652340903.034615][2874:2879] CHIP:DMG: InvokeResponseIB = + [1652340903.034748][2874:2879] CHIP:DMG: { + [1652340903.034806][2874:2879] CHIP:DMG: CommandStatusIB = + [1652340903.034873][2874:2879] CHIP:DMG: { + [1652340903.034936][2874:2879] CHIP:DMG: CommandPathIB = + [1652340903.035006][2874:2879] CHIP:DMG: { + [1652340903.035078][2874:2879] CHIP:DMG: EndpointId = 0x0, + [1652340903.035159][2874:2879] CHIP:DMG: ClusterId = 0x3c, + [1652340903.035223][2874:2879] CHIP:DMG: CommandId = 0x1, + [1652340903.035291][2874:2879] CHIP:DMG: }, + [1652340903.035362][2874:2879] CHIP:DMG: + [1652340903.035423][2874:2879] CHIP:DMG: StatusIB = + [1652340903.035495][2874:2879] CHIP:DMG: { + [1652340903.035566][2874:2879] CHIP:DMG: status = 0x00 (SUCCESS), + [1652340903.035634][2874:2879] CHIP:DMG: }, + [1652340903.035704][2874:2879] CHIP:DMG: + [1652340903.035763][2874:2879] CHIP:DMG: }, + [1652340903.035841][2874:2879] CHIP:DMG: + [1652340903.035898][2874:2879] CHIP:DMG: }, + [1652340903.035965][2874:2879] CHIP:DMG: + [1652340903.036014][2874:2879] CHIP:DMG: ], + [1652340903.036077][2874:2879] CHIP:DMG: + [1652340903.036126][2874:2879] CHIP:DMG: InteractionModelRevision = 1 + [1652340903.036175][2874:2879] CHIP:DMG: }, + [1652340903.036294][2874:2879] CHIP:DMG: Received Command Response Status for Endpoint=0 Cluster=0x0000_003C Command=0x0000_0001 Status=0x0 + [1652340903.036375][2874:2879] CHIP:DMG: ICR moving to [AwaitingDe] - - The delay timer is given 10 as an example , use whatever works for your product + The delay timer is given 200 as an example , use whatever works for your product disabled: true - label: "Check DNS-SD subtypes used by DUT" verification: | - ~$ avahi-browse -rt _matterc._udp + avahi-browse -rt _matterc._udp + + + ubuntu@ubuntu:~$ avahi-browse -rt _matterc._udp - = eth0 IPv6 F95E077ABDCC2B36 _matterc._udp local - hostname = [422F10CDC290A406.local] - address = [fd11:28::8a29:a7d0:3d31:eab9] + + vethd8d0eac IPv6 279142392CEB80C3 _matterc._udp local + + vethbbadff8 IPv6 279142392CEB80C3 _matterc._udp local + + veth15cb450 IPv6 279142392CEB80C3 _matterc._udp local + + veth811acb4 IPv6 279142392CEB80C3 _matterc._udp local + + veth588856b IPv6 279142392CEB80C3 _matterc._udp local + + br-f08e8f665bd1 IPv6 279142392CEB80C3 _matterc._udp local + + br-6fe235aff062 IPv6 279142392CEB80C3 _matterc._udp local + + eth0 IPv6 279142392CEB80C3 _matterc._udp local + = vethd8d0eac IPv6 279142392CEB80C3 _matterc._udp local + hostname = [E45F0149AE290000.local] + address = [fe80::4070:50ff:fe90:759d] + port = [5540] + txt = ["PI=" "PH=36" "CM=1" "D=3840" "T=1" "SAI=300" "SII=5000" "VP=65521+32769"] + = vethbbadff8 IPv6 279142392CEB80C3 _matterc._udp local + hostname = [E45F0149AE290000.local] + address = [fe80::a849:d3ff:fefa:72a3] + port = [5540] + txt = ["PI=" "PH=36" "CM=1" "D=3840" "T=1" "SAI=300" "SII=5000" "VP=65521+32769"] + = veth15cb450 IPv6 279142392CEB80C3 _matterc._udp local + hostname = [E45F0149AE290000.local] + address = [fe80::5c30:4fff:fe7f:51d] + port = [5540] + txt = ["PI=" "PH=36" "CM=1" "D=3840" "T=1" "SAI=300" "SII=5000" "VP=65521+32769"] + = veth811acb4 IPv6 279142392CEB80C3 _matterc._udp local + hostname = [E45F0149AE290000.local] + address = [fe80::4c41:b1ff:feb2:abfa] port = [5540] - txt = ["PI=" "PH=36" "RI=00007C5F6E176CD40F68685D100A1CF8A98B" "CM=1" "D=3840" "T=0" "CRA=300" "CRI=5000" "VP=9050+20044"] + txt = ["PI=" "PH=36" "CM=1" "D=3840" "T=1" "SAI=300" "SII=5000" "VP=65521+32769"] + = veth588856b IPv6 279142392CEB80C3 _matterc._udp local + hostname = [E45F0149AE290000.local] + address = [fe80::4003:6ff:fe78:9663] + port = [5540] + txt = ["PI=" "PH=36" "CM=1" "D=3840" "T=1" "SAI=300" "SII=5000" "VP=65521+32769"] + = br-f08e8f665bd1 IPv6 279142392CEB80C3 _matterc._udp local + hostname = [E45F0149AE290000.local] + address = [fe80::42:4ff:fe41:2db2] + port = [5540] + txt = ["PI=" "PH=36" "CM=1" "D=3840" "T=1" "SAI=300" "SII=5000" "VP=65521+32769"] + = br-6fe235aff062 IPv6 279142392CEB80C3 _matterc._udp local + hostname = [E45F0149AE290000.local] + address = [fe80::1] + port = [5540] + txt = ["PI=" "PH=36" "CM=1" "D=3840" "T=1" "SAI=300" "SII=5000" "VP=65521+32769"] + = eth0 IPv6 279142392CEB80C3 _matterc._udp local + hostname = [E45F0149AE290000.local] + address = [fe80::e65f:1ff:fe49:ae29] + port = [5540] + txt = ["PI=" "PH=36" "CM=1" "D=3840" "T=1" "SAI=300" "SII=5000" "VP=65521+32769"] + Service Domain 422F10CDC290A406.local verify CM flag is 1 to look for subtypes, on the raspi run $ avahi-browse -p _services._dns-sd._udp | grep _matterc - +;eth0;IPv6;_CM;_sub._matterc._udp;local + +;eth0;IPv6;_matterc;_udp;local + +;eth0;IPv6;_V65521;_sub._matterc._udp;local + +;eth0;IPv6;_S15;_sub._matterc._udp;local +;eth0;IPv6;_L3840;_sub._matterc._udp;local - +;eth0;IPv6;_S0;_sub._matterc._udp;local - +;eth0;IPv6;_V9050;_sub._matterc._udp;local + +;eth0;IPv6;_CM;_sub._matterc._udp;local disabled: true - label: @@ -61,24 +139,150 @@ tests: verification: | Reboot the device if the device proivisioning state persists, run the chip-tool cmd in Step2 + + ./chip-tool administratorcommissioning open-basic-commissioning-window 200 1 0 --timedInteractionTimeoutMs 1000 + + [1652341174.803430][2893:2898] CHIP:DMG: InvokeResponseMessage = + [1652341174.803488][2893:2898] CHIP:DMG: { + [1652341174.803560][2893:2898] CHIP:DMG: suppressResponse = false, + [1652341174.803622][2893:2898] CHIP:DMG: InvokeResponseIBs = + [1652341174.803698][2893:2898] CHIP:DMG: [ + [1652341174.803757][2893:2898] CHIP:DMG: InvokeResponseIB = + [1652341174.803835][2893:2898] CHIP:DMG: { + [1652341174.803897][2893:2898] CHIP:DMG: CommandStatusIB = + [1652341174.803975][2893:2898] CHIP:DMG: { + [1652341174.804047][2893:2898] CHIP:DMG: CommandPathIB = + [1652341174.804128][2893:2898] CHIP:DMG: { + [1652341174.804213][2893:2898] CHIP:DMG: EndpointId = 0x0, + [1652341174.804292][2893:2898] CHIP:DMG: ClusterId = 0x3c, + [1652341174.804377][2893:2898] CHIP:DMG: CommandId = 0x1, + [1652341174.804450][2893:2898] CHIP:DMG: }, + [1652341174.804539][2893:2898] CHIP:DMG: + [1652341174.804654][2893:2898] CHIP:DMG: StatusIB = + [1652341174.804738][2893:2898] CHIP:DMG: { + [1652341174.804821][2893:2898] CHIP:DMG: status = 0x00 (SUCCESS), + [1652341174.804911][2893:2898] CHIP:DMG: }, + [1652341174.804993][2893:2898] CHIP:DMG: + [1652341174.805067][2893:2898] CHIP:DMG: }, + [1652341174.805152][2893:2898] CHIP:DMG: + [1652341174.805220][2893:2898] CHIP:DMG: }, + [1652341174.805307][2893:2898] CHIP:DMG: + [1652341174.805365][2893:2898] CHIP:DMG: ], + [1652341174.805439][2893:2898] CHIP:DMG: + [1652341174.805497][2893:2898] CHIP:DMG: InteractionModelRevision = 1 + [1652341174.805555][2893:2898] CHIP:DMG: }, + [1652341174.805690][2893:2898] CHIP:DMG: Received Command Response Status for Endpoint=0 Cluster=0x0000_003C Command=0x0000_0001 Status=0x0 + [1652341174.805786][2893:2898] CHIP:DMG: ICR moving to [AwaitingDe] + The delay timer is given 200 as an example , use whatever works for your product" disabled: true - label: "Check DNS-SD subtypes used by DUT" verification: | - Verify same step as Step3, - disabled: true + avahi-browse -rt _matterc._udp + + + veth721e1d9 IPv6 19DDF06C3B5DD0C8 _matterc._udp local + + veth961779b IPv6 19DDF06C3B5DD0C8 _matterc._udp local + + veth6995c44 IPv6 19DDF06C3B5DD0C8 _matterc._udp local + + veth6c964b1 IPv6 19DDF06C3B5DD0C8 _matterc._udp local + + veth3222831 IPv6 19DDF06C3B5DD0C8 _matterc._udp local + + br-6fe235aff062 IPv6 19DDF06C3B5DD0C8 _matterc._udp local + + br-f08e8f665bd1 IPv6 19DDF06C3B5DD0C8 _matterc._udp local + + eth0 IPv6 19DDF06C3B5DD0C8 _matterc._udp local + = veth721e1d9 IPv6 19DDF06C3B5DD0C8 _matterc._udp local + hostname = [E45F0149AE290000.local] + address = [fe80::28e0:95ff:fed9:3085] + port = [5540] + txt = ["PI=" "PH=36" "CM=1" "D=3840" "T=1" "SAI=300" "SII=5000" "VP=65521+32769"] + = veth961779b IPv6 19DDF06C3B5DD0C8 _matterc._udp local + hostname = [E45F0149AE290000.local] + address = [fe80::d417:1eff:fe03:eb81] + port = [5540] + txt = ["PI=" "PH=36" "CM=1" "D=3840" "T=1" "SAI=300" "SII=5000" "VP=65521+32769"] + = veth6995c44 IPv6 19DDF06C3B5DD0C8 _matterc._udp local + hostname = [E45F0149AE290000.local] + address = [fe80::24ae:58ff:fe2f:5609] + port = [5540] + txt = ["PI=" "PH=36" "CM=1" "D=3840" "T=1" "SAI=300" "SII=5000" "VP=65521+32769"] + = veth6c964b1 IPv6 19DDF06C3B5DD0C8 _matterc._udp local + hostname = [E45F0149AE290000.local] + address = [fe80::cca1:6aff:fe6e:f76d] + port = [5540] + txt = ["PI=" "PH=36" "CM=1" "D=3840" "T=1" "SAI=300" "SII=5000" "VP=65521+32769"] + = veth3222831 IPv6 19DDF06C3B5DD0C8 _matterc._udp local + hostname = [E45F0149AE290000.local] + address = [fe80::410:b8ff:fe10:8cfe] + port = [5540] + txt = ["PI=" "PH=36" "CM=1" "D=3840" "T=1" "SAI=300" "SII=5000" "VP=65521+32769"] + = br-6fe235aff062 IPv6 19DDF06C3B5DD0C8 _matterc._udp local + hostname = [E45F0149AE290000.local] + address = [fe80::1] + port = [5540] + txt = ["PI=" "PH=36" "CM=1" "D=3840" "T=1" "SAI=300" "SII=5000" "VP=65521+32769"] + = br-f08e8f665bd1 IPv6 19DDF06C3B5DD0C8 _matterc._udp local + hostname = [E45F0149AE290000.local] + address = [fe80::42:43ff:fe99:75b3] + port = [5540] + txt = ["PI=" "PH=36" "CM=1" "D=3840" "T=1" "SAI=300" "SII=5000" "VP=65521+32769"] + = eth0 IPv6 19DDF06C3B5DD0C8 _matterc._udp local + hostname = [E45F0149AE290000.local] + address = [fe80::e65f:1ff:fe49:ae29] + port = [5540] + txt = ["PI=" "PH=36" "CM=1" "D=3840" "T=1" "SAI=300" "SII=5000" "VP=65521+32769"] - - label: "Commission DUT with TH" - verification: | + + Service Domain 422F10CDC290A406.local + verify CM flag is 1 + + to look for subtypes, on the raspi run $ avahi-browse -p _services._dns-sd._udp | grep _matterc + + +;eth0;IPv6;_matterc;_udp;local + +;eth0;IPv6;_V65521;_sub._matterc._udp;local + +;eth0;IPv6;_S15;_sub._matterc._udp;local + +;eth0;IPv6;_L3840;_sub._matterc._udp;local + +;eth0;IPv6;_CM;_sub._matterc._udp;local disabled: true - label: - "DUT is instructed to enter in commissioning mode using Open - Commissioning Window command" + "DUT is Commissioned and instructed to enter in commissioning mode + using Open Commissioning Window command" verification: | run chip tool command to open - ./chip-tool pairing open-commissioning-window 1 1 20 2000 3840 + + ./chip-tool pairing open-commissioning-window 1 1 200 2000 3840 + + + [1652341411.383669][2929:2934] CHIP:DMG: InvokeResponseMessage = + [1652341411.383720][2929:2934] CHIP:DMG: { + [1652341411.383769][2929:2934] CHIP:DMG: suppressResponse = false, + [1652341411.383821][2929:2934] CHIP:DMG: InvokeResponseIBs = + [1652341411.383886][2929:2934] CHIP:DMG: [ + [1652341411.383936][2929:2934] CHIP:DMG: InvokeResponseIB = + [1652341411.384009][2929:2934] CHIP:DMG: { + [1652341411.384068][2929:2934] CHIP:DMG: CommandStatusIB = + [1652341411.384139][2929:2934] CHIP:DMG: { + [1652341411.384203][2929:2934] CHIP:DMG: CommandPathIB = + [1652341411.384278][2929:2934] CHIP:DMG: { + [1652341411.384349][2929:2934] CHIP:DMG: EndpointId = 0x0, + [1652341411.384427][2929:2934] CHIP:DMG: ClusterId = 0x3c, + [1652341411.384501][2929:2934] CHIP:DMG: CommandId = 0x0, + [1652341411.384624][2929:2934] CHIP:DMG: }, + [1652341411.384722][2929:2934] CHIP:DMG: + [1652341411.384795][2929:2934] CHIP:DMG: StatusIB = + [1652341411.384877][2929:2934] CHIP:DMG: { + [1652341411.384958][2929:2934] CHIP:DMG: status = 0x00 (SUCCESS), + [1652341411.385035][2929:2934] CHIP:DMG: }, + [1652341411.385116][2929:2934] CHIP:DMG: + [1652341411.385188][2929:2934] CHIP:DMG: }, + [1652341411.385271][2929:2934] CHIP:DMG: + [1652341411.385337][2929:2934] CHIP:DMG: }, + [1652341411.385416][2929:2934] CHIP:DMG: + [1652341411.385474][2929:2934] CHIP:DMG: ], + [1652341411.385547][2929:2934] CHIP:DMG: + [1652341411.385605][2929:2934] CHIP:DMG: InteractionModelRevision = 1 + [1652341411.385662][2929:2934] CHIP:DMG: }, + [1652341411.385794][2929:2934] CHIP:DMG: Received Command Response Status for Endpoint=0 Cluster=0x0000_003C Command=0x0000_0000 Status=0x0 + [1652341411.385860][2929:2934] CHIP:CTL: Successfully opened pairing window on the device disabled: true - label: "Check DNS-SD subtypes used by DUT" @@ -86,19 +290,84 @@ tests: Same verification steps as Step 3, Except Verify CM flag to be 2 - $avahi-browse -rt _matterc._udp - + eth0 IPv6 923F5363843F26A0 _matterc._udp local - + eth0 IPv6 8CDE894B98DF7DEF _matterc._udp local - = eth0 IPv6 8CDE894B98DF7DEF _matterc._udp local + ubuntu@ubuntu:~$ avahi-browse -rt _matterc._udp + + + veth721e1d9 IPv6 9BFF1DCA106E337B _matterc._udp local + + veth721e1d9 IPv6 19DDF06C3B5DD0C8 _matterc._udp local + + veth961779b IPv6 9BFF1DCA106E337B _matterc._udp local + + veth961779b IPv6 19DDF06C3B5DD0C8 _matterc._udp local + + veth6995c44 IPv6 9BFF1DCA106E337B _matterc._udp local + + veth6995c44 IPv6 19DDF06C3B5DD0C8 _matterc._udp local + + veth6c964b1 IPv6 9BFF1DCA106E337B _matterc._udp local + + veth6c964b1 IPv6 19DDF06C3B5DD0C8 _matterc._udp local + + veth3222831 IPv6 9BFF1DCA106E337B _matterc._udp local + + veth3222831 IPv6 19DDF06C3B5DD0C8 _matterc._udp local + + br-6fe235aff062 IPv6 9BFF1DCA106E337B _matterc._udp local + + br-6fe235aff062 IPv6 19DDF06C3B5DD0C8 _matterc._udp local + + br-f08e8f665bd1 IPv6 9BFF1DCA106E337B _matterc._udp local + + br-f08e8f665bd1 IPv6 19DDF06C3B5DD0C8 _matterc._udp local + + eth0 IPv6 9BFF1DCA106E337B _matterc._udp local + + eth0 IPv6 19DDF06C3B5DD0C8 _matterc._udp local + = veth721e1d9 IPv6 19DDF06C3B5DD0C8 _matterc._udp local hostname = [E45F0149AE290000.local] - address = [fe80::e65f:1ff:fe49:ae29] + address = [fe80::28e0:95ff:fed9:3085] + port = [5540] + txt = ["PI=" "PH=36" "CM=1" "D=3840" "T=1" "SAI=300" "SII=5000" "VP=65521+32769"] + = veth961779b IPv6 19DDF06C3B5DD0C8 _matterc._udp local + hostname = [E45F0149AE290000.local] + address = [fe80::d417:1eff:fe03:eb81] + port = [5540] + txt = ["PI=" "PH=36" "CM=1" "D=3840" "T=1" "SAI=300" "SII=5000" "VP=65521+32769"] + = veth6995c44 IPv6 19DDF06C3B5DD0C8 _matterc._udp local + hostname = [E45F0149AE290000.local] + address = [fe80::24ae:58ff:fe2f:5609] + port = [5540] + txt = ["PI=" "PH=36" "CM=1" "D=3840" "T=1" "SAI=300" "SII=5000" "VP=65521+32769"] + = veth6c964b1 IPv6 19DDF06C3B5DD0C8 _matterc._udp local + hostname = [E45F0149AE290000.local] + address = [fe80::cca1:6aff:fe6e:f76d] port = [5540] - txt = ["PI=" "PH=33" "CM=1" "D=3840" "T=1" "CRA=300" "CRI=5000" "VP=65521+32769"] - = eth0 IPv6 923F5363843F26A0 _matterc._udp local + txt = ["PI=" "PH=36" "CM=1" "D=3840" "T=1" "SAI=300" "SII=5000" "VP=65521+32769"] + = veth3222831 IPv6 19DDF06C3B5DD0C8 _matterc._udp local + hostname = [E45F0149AE290000.local] + address = [fe80::410:b8ff:fe10:8cfe] + port = [5540] + txt = ["PI=" "PH=36" "CM=1" "D=3840" "T=1" "SAI=300" "SII=5000" "VP=65521+32769"] + = br-6fe235aff062 IPv6 19DDF06C3B5DD0C8 _matterc._udp local + hostname = [E45F0149AE290000.local] + address = [fe80::1] + port = [5540] + txt = ["PI=" "PH=36" "CM=1" "D=3840" "T=1" "SAI=300" "SII=5000" "VP=65521+32769"] + = br-f08e8f665bd1 IPv6 19DDF06C3B5DD0C8 _matterc._udp local + hostname = [E45F0149AE290000.local] + address = [fe80::42:43ff:fe99:75b3] + port = [5540] + txt = ["PI=" "PH=36" "CM=1" "D=3840" "T=1" "SAI=300" "SII=5000" "VP=65521+32769"] + = eth0 IPv6 19DDF06C3B5DD0C8 _matterc._udp local hostname = [E45F0149AE290000.local] address = [fe80::e65f:1ff:fe49:ae29] port = [5540] - txt = ["PI=" "PH=36" "CM=2" "D=3840" "T=1" "CRA=300" "CRI=5000" "VP=65521+32769"] + txt = ["PI=" "PH=36" "CM=1" "D=3840" "T=1" "SAI=300" "SII=5000" "VP=65521+32769"] + = veth721e1d9 IPv6 9BFF1DCA106E337B _matterc._udp local + hostname = [E45F0149AE290000.local] + address = [fe80::28e0:95ff:fed9:3085] + port = [5540] + txt = ["PI=" "PH=36" "CM=2" "D=3840" "T=1" "SAI=300" "SII=5000" "VP=65521+32769"] + = veth961779b IPv6 9BFF1DCA106E337B _matterc._udp local + hostname = [E45F0149AE290000.local] + address = [fe80::d417:1eff:fe03:eb81] + port = [5540] + txt = ["PI=" "PH=36" "CM=2" "D=3840" "T=1" "SAI=300" "SII=5000" "VP=65521+32769"] + = veth6c964b1 IPv6 9BFF1DCA106E337B _matterc._udp local + hostname = [E45F0149AE290000.local] + address = [fe80::cca1:6aff:fe6e:f76d] + port = [5540] + txt = ["PI=" "PH=36" "CM=2" "D=3840" "T=1" "SAI=300" "SII=5000" "VP=65521+32769"] + = veth6995c44 IPv6 9BFF1DCA106E337B _matterc._udp local + hostname = [E45F0149AE290000.local] + address = [fe80::24ae:58ff:fe2f:5609] + port = [5540] + txt = ["PI=" "PH=36" "CM=2" "D=3840" "T=1" "SAI=300" "SII=5000" "VP=65521+32769"] disabled: true - label: "Wait for OCW timeout to expire" @@ -106,12 +375,24 @@ tests: Wait until timeout to expire disabled: true - - label: "If (PICS_EXTENDED_DISCOVERY) enable Extended Discovery" + - label: "If (MCORE.SC.EXTENDED_DISCOVERY ) enable Extended Discovery" verification: | If the device supports Discovery for extended period of time, Device should continue to advertise that duration disabled: true - label: "If (PICS_EXTENDED_DISCOVERY) check DNS-SD subtypes used by DUT" verification: | - same as step 8 + avahi-browse -rt _matterc._udp + + eth0 IPv6 DD200C20D25AE5F7 _matterc._udp local + + eth0 IPv4 DD200C20D25AE5F7 _matterc._udp local + = eth0 IPv6 DD200C20D25AE5F7 _matterc._udp local + hostname = [matter-te-7.local] + address = [fd00::e7] + port = [11111] + txt = ["CM=0" "D=840"] + = eth0 IPv4 DD200C20D25AE5F7 _matterc._udp local + hostname = [matter-te-7.local] + address = [192.168.3.53] + port = [11111] + txt = ["CM=0" "D=840"] disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_SC_4_3.yaml b/src/app/tests/suites/certification/Test_TC_SC_4_3.yaml index 3049b334336fae..371b74d7e97a85 100644 --- a/src/app/tests/suites/certification/Test_TC_SC_4_3.yaml +++ b/src/app/tests/suites/certification/Test_TC_SC_4_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: 13.4.3. [TC-SC-4.3] Operational Discovery - Node +name: 3.4.3. [TC-SC-4.3] Operational Discovery - Node config: nodeId: 0x12344321 @@ -28,32 +28,44 @@ tests: - label: "Scan for DNS-SD advertising" verification: | - avahi-browse -rt _matter._tcp - + eth0 IPv6 C6C15E13BDC03C7B-0000000000000001 _matter._tcp local - = eth0 IPv6 C6C15E13BDC03C7B-0000000000000001 _matter._tcp local - hostname = [E45F010EBE440000.local] - address = [fe80::e65f:1ff:fe0e:be44] + ubuntu@ubuntu:~$ avahi-browse -rt _matter._tcp + + + veth721e1d9 IPv6 433B62F8F07F4327-0000000000000001 _matter._tcp local + = veth721e1d9 IPv6 433B62F8F07F4327-0000000000000001 _matter._tcp local + hostname = [E45F0149AE290000.local] + address = [fe80::28e0:95ff:fed9:3085] port = [5540] - txt = ["T=1" "CRA=300" "CRI=5000"] + txt = ["T=1" "SAI=300" "SII=5000"] disabled: true - label: "TH is instructed to start advertising a service using DNS-SD and using only the TXT records defined in section of the matter spec" verification: | - avahi-browse _matter._tcp -r - + eth0 IPv6 6E1DCC08ABCCD0E5 _matterc._udp local - = eth0 IPv6 6E1DCC08ABCCD0E5 _matterc._udp local - hostname = [E45F010EBE440000.local] - address = [fe80::e65f:1ff:fe0e:be44] + ubuntu@ubuntu:~$ avahi-browse -rt _matter._tcp + + ++ veth34b1077 IPv6 4B475AAEB62F42A1-0000000000000001 _matter._tcp local + = veth34b1077 IPv6 4B475AAEB62F42A1-0000000000000001 _matter._tcp local + hostname = [E45F0149AE290000.local] + address = [fe80::14ad:64ff:fe95:d164] port = [5540] - txt = ["PI=" "PH=33" "CM=1" "D=0" "T=1" "CRA=300" "CRI=5000" "VP=65521+32769"] + txt = ["T=1" "SAI=300" "SII=5000"] disabled: true - label: "TH is instructed to start advertising a service using DNS-SD with non-standard TXT record keys" verification: | - avahi-publish-service --subtype=_S3._sub._matterc._udp --subtype=_L840._sub._matterc._udp DD200C20D25AE5F7 --subtype=_CM._sub._matterc._udp - _matterc._udp 11111 D=840 CM=2 INVALID_TEST=40 + avahi-publish-service --subtype=_S3._sub._matterc._tcp --subtype=_L840._sub._matterc._tcp DD200C20D25AE5F7 --subtype=_CM._sub._matterc._tcp _matterc._tcp 11111 D=840 CM=2 INVALID_TEST=40 + + + ubuntu@ubuntu:~$ avahi-browse -rt _matter._tcp + + + + veth721e1d9 IPv6 433B62F8F07F4327-0000000000000001 _matter._tcp local + = veth721e1d9 IPv6 433B62F8F07F4327-0000000000000001 _matter._tcp local + hostname = [E45F0149AE290000.local] + address = [fe80::28e0:95ff:fed9:3085] + port = [5540] + txt = ["T=1" "SAI=300" "SII=5000"] disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_SC_4_4.yaml b/src/app/tests/suites/certification/Test_TC_SC_4_4.yaml index 719e2068721408..4761315050e4a2 100644 --- a/src/app/tests/suites/certification/Test_TC_SC_4_4.yaml +++ b/src/app/tests/suites/certification/Test_TC_SC_4_4.yaml @@ -28,13 +28,20 @@ tests: - label: "Scan for DNS-SD advertising" verification: | - avahi-browse -rt _matter._tcp - + eth0 IPv6 C6C15E13BDC03C7B-0000000000000001 _matter._tcp local - = eth0 IPv6 C6C15E13BDC03C7B-0000000000000001 _matter._tcp local - hostname = [E45F010EBE440000.local] - address = [fe80::e65f:1ff:fe0e:be44] + ubuntu@ubuntu:~$ avahi-browse _matter._tcp -r + + + veth721e1d9 IPv6 433B62F8F07F4327-0000000000000001 _matter._tcp local + + eth0 IPv6 433B62F8F07F4327-0000000000000001 _matter._tcp local + = veth721e1d9 IPv6 433B62F8F07F4327-0000000000000001 _matter._tcp local + hostname = [E45F0149AE290000.local] + address = [fe80::28e0:95ff:fed9:3085] + port = [5540] + txt = ["T=1" "SAI=300" "SII=5000"] + = eth0 IPv6 433B62F8F07F4327-0000000000000001 _matter._tcp local + hostname = [E45F0149AE290000.local] + address = [fe80::e65f:1ff:fe49:ae29] port = [5540] - txt = ["T=1" "CRA=300" "CRI=5000"] + txt = ["T=1" "SAI=300" "SII=5000"] disabled: true - label: "DUT is instructed to advertise its service" @@ -44,31 +51,42 @@ tests: - label: "Scan for DNS-SD advertising" verification: | - avahi-browse -rt _matter._tcp - + eth0 IPv6 C6C15E13BDC03C7B-0000000000000001 _matter._tcp local - = eth0 IPv6 C6C15E13BDC03C7B-0000000000000001 _matter._tcp local - hostname = [E45F010EBE440000.local] - address = [fe80::e65f:1ff:fe0e:be44] + avahi-browse _matter._tcp -r + + veth721e1d9 IPv6 433B62F8F07F4327-0000000000000001 _matter._tcp local + + eth0 IPv6 433B62F8F07F4327-0000000000000001 _matter._tcp local + = veth721e1d9 IPv6 433B62F8F07F4327-0000000000000001 _matter._tcp local + hostname = [E45F0149AE290000.local] + address = [fe80::28e0:95ff:fed9:3085] port = [5540] - txt = ["T=1" "CRA=300" "CRI=5000"] - disabled: true - - - label: "DUT is instructed to query the TH for its servicesm" - verification: | - + txt = ["T=1" "SAI=300" "SII=5000"] + = eth0 IPv6 433B62F8F07F4327-0000000000000001 _matter._tcp local + hostname = [E45F0149AE290000.local] + address = [fe80::e65f:1ff:fe49:ae29] + port = [5540] + txt = ["T=1" "SAI=300" "SII=5000"] disabled: true - - label: "DUT is instructed to query the TH for its services again" + - label: "DUT is instructed to query the TH for its services" verification: | disabled: true - label: "Change its IP address by any means" verification: | - + change the IP address + 1.we have to take two routers + 2.execute the above steps using the 1st router + 3.switch the connection to 2nd router and execute the below steps and check the ipaddress of the routers. disabled: true - label: "DUT is instructed to query the TH for its services" verification: | + ubuntu@ubuntu:~$ avahi-browse _matter._tcp -r + + veth721e1d9 IPv6 433B62F8F07F4327-0000000000000001 _matter._tcp local + = veth721e1d9 IPv6 433B62F8F07F4327-0000000000000001 _matter._tcp local + hostname = [E45F0149AE290000.local] + address = [fe80::28e0:95ff:fed9:3085] + port = [5540] + txt = ["T=1" "SAI=300" "SII=5000"] disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_SC_4_6.yaml b/src/app/tests/suites/certification/Test_TC_SC_4_6.yaml index 5918be9261ad5b..d638099f0ca101 100644 --- a/src/app/tests/suites/certification/Test_TC_SC_4_6.yaml +++ b/src/app/tests/suites/certification/Test_TC_SC_4_6.yaml @@ -14,7 +14,7 @@ # Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default name: - 13.4.6. [TC-SC-4.6] Commissioner Discovery - Commissioner [DUT - + 3.4.6. [TC-SC-4.6] Commissioner Discovery - Commissioner [DUT - Commissioner] config: @@ -32,36 +32,24 @@ tests: - label: "Check DNS-SD subtypes used by DUT" verification: | - ~$ avahi-browse -rt _matterc._udp + avahi-publish-service --subtype=_V123._sub._matterd._udp DD200C20D25AE5F7 _matterd._udp 33333 VP=123+456 DT=35 DN="Living Room TV" - =+ eth0 IPv6 6F14191BBD6759A2 _matterc._udp local - + eth0 IPv6 24BE6DC784D2B8F0 _matterc._udp local - + eth0 IPv6 E3E885474ABBD03C _matterc._udp local - + eth0 IPv6 C3184821E44C8228 _matterc._udp local - = eth0 IPv6 6F14191BBD6759A2 _matterc._udp local - hostname = [E45F010EBE440000.local] - address = [fe80::e65f:1ff:fe0e:be44] - port = [5540] - txt = ["PI=" "PH=33" "CM=1" "D=0" "T=1" "CRA=300" "CRI=5000" "VP=65521+32769"] - = eth0 IPv6 24BE6DC784D2B8F0 _matterc._udp local - hostname = [E45F010EBE440000.local] - address = [fe80::e65f:1ff:fe0e:be44] - port = [5540] - txt = ["PI=" "PH=33" "CM=1" "D=0" "T=1" "CRA=300" "CRI=5000" "VP=65521+32769"] - = eth0 IPv6 E3E885474ABBD03C _matterc._udp local - hostname = [E45F010EBE440000.local] - address = [fe80::e65f:1ff:fe0e:be44] - port = [5540] - txt = ["PI=" "PH=33" "CM=1" "D=0" "T=1" "CRA=300" "CRI=5000" "VP=65521+32769"] - = eth0 IPv6 C3184821E44C8228 _matterc._udp local - hostname = [E45F010EBE440000.local] - address = [fe80::e65f:1ff:fe0e:be44] - port = [5540] - txt = ["PI=" "PH=33" "CM=1" "D=0" "T=1" "CRA=300" "CRI=5000" "VP=65521+32769"] + ubuntu@ubuntu:~$ avahi-browse _matterd._udp -r + + + eth0 IPv6 DD200C20D25AE5F7 _matterd._udp local + + eth0 IPv4 DD200C20D25AE5F7 _matterd._udp local + = eth0 IPv6 DD200C20D25AE5F7 _matterd._udp local + hostname = [ubuntu-4.local] + address = [fd00::9e] + port = [33333] + txt = ["DN=Living Room TV" "DT=35" "VP=123+456"] + = eth0 IPv4 DD200C20D25AE5F7 _matterd._udp local + hostname = [ubuntu-4.local] + address = [192.168.1.47] + port = [33333] + txt = ["DN=Living Room TV" "DT=35" "VP=123+456"] - Service Domain 422F10CDC290A406.local - verify CM flag is 1 to look for subtypes, on the raspi run $ avahi-browse -p _services._dns-sd._udp | grep _matterc diff --git a/src/app/tests/suites/certification/Test_TC_SC_4_7.yaml b/src/app/tests/suites/certification/Test_TC_SC_4_7.yaml index b2ee1c2c7c4f36..69c4cbff230648 100644 --- a/src/app/tests/suites/certification/Test_TC_SC_4_7.yaml +++ b/src/app/tests/suites/certification/Test_TC_SC_4_7.yaml @@ -63,10 +63,22 @@ tests: "By any means, TH adds an unknown key/value pair in the advertised data(e.g. AB=12345)" verification: | - Not in Scope of TE8 + avahi-publish-service --subtype=_S3._sub._matterc._udp --subtype=_L840._sub._matterc._udp DD200C20D25AE5F7 --subtype=_CM._sub._matterc._udp _matterc._udp 11111 D=840 CM=2 INVALID_TEST=40 disabled: true - label: "Scan for DNS-SD commissioner advertisements from TH" verification: | - Not in Scope of TE8 + ubuntu@ubuntu:~$ avahi-browse -rt _matterc._udp + + eth0 IPv6 DD200C20D25AE5F7 _matterc._udp local + + eth0 IPv4 DD200C20D25AE5F7 _matterc._udp local + = eth0 IPv6 DD200C20D25AE5F7 _matterc._udp local + hostname = [ubuntu-4.local] + address = [fd00::9e] + port = [11111] + txt = ["INVALID_TEST=40" "CM=2" "D=840"] + = eth0 IPv4 DD200C20D25AE5F7 _matterc._udp local + hostname = [ubuntu-4.local] + address = [192.168.1.47] + port = [11111] + txt = ["INVALID_TEST=40" "CM=2" "D=840"] disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_SU_1_1.yaml b/src/app/tests/suites/certification/Test_TC_SU_1_1.yaml index b6a94882682396..cd9cffcf17f031 100644 --- a/src/app/tests/suites/certification/Test_TC_SU_1_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_SU_1_1.yaml @@ -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: 31.1.1. [TC-SU-1.1] Invoke AnnounceOTAProvider from an admin(DUT) to OTA-R +name: 3.1.1. [TC-SU-1.1] Invoke AnnounceOTAProvider from an admin(DUT) to OTA-R config: nodeId: 0x12344321 @@ -22,8 +22,9 @@ config: tests: - label: "Commission OTA-P/TH2 to DUT/same fabric as in test setup." + PICS: OTAC.C.M.AnnounceOTAProvider verification: | - chip-tool otasoftwareupdaterequestor announce-ota-provider 0xDEADBEEF 0 0 0 0x1234567890 0 + ./chip-tool otasoftwareupdaterequestor announce-ota-provider 0xDEADBEEF 0 0 0 0x1234567890 0 where 0x1234567890 is OTA Requestor node ID and 0xDEADBEEF is OTA Provider node ID diff --git a/src/app/tests/suites/certification/Test_TC_SU_2_1.yaml b/src/app/tests/suites/certification/Test_TC_SU_2_1.yaml index 4b6999ad73c09a..d910333d27e2ea 100644 --- a/src/app/tests/suites/certification/Test_TC_SU_2_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_SU_2_1.yaml @@ -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.2.1. [TC-SU-2.1] DUT will send a QueryImage Command to OTA-P to check for - software update +name: 3.2.1. [TC-SU-2.1] QueryImage Command from DUT to OTA-P config: nodeId: 0x12344321 @@ -25,7 +23,7 @@ config: tests: - label: "DUT sends a QueryImage command to the TH/OTA-P" verification: | - chip-tool otasoftwareupdaterequestor announce-ota-provider 0xDEADBEEF 0 0 0 0x1234567890 0 + ./chip-tool otasoftwareupdaterequestor announce-ota-provider 0xDEADBEEF 0 0 0 0x1234567890 0 where 0x1234567890 is OTA Requestor node ID and 0xDEADBEEF is OTA Provider node ID @@ -44,12 +42,13 @@ tests: disabled: true - label: - "DUT sends a QueryImage command to the TH/OTA-P. Wait for 1 minute." + "DUT sends a QueryImage command to the TH/OTA-P. Wait for 2 minute." verification: | Run the OTA Provider App using the command: - chip-ota-provider-app --discriminator ${PROVIDER_LONG_DISCRIMINATOR} --secured-device-port ${PROVIDER_UDP_PORT} --KVS ${KVS_STORE_LOCATION} --filepath ${SW_IMAGE_FILE} -q busy - chip-tool otasoftwareupdaterequestor announce-ota-provider 0xDEADBEEF 0 1 0 0x1234567890 0 + ./chip-ota-provider-app --discriminator ${PROVIDER_LONG_DISCRIMINATOR} --secured-device-port ${PROVIDER_UDP_PORT} --KVS ${KVS_STORE_LOCATION} --filepath ${SW_IMAGE_FILE} -q busy + + ./chip-tool otasoftwareupdaterequestor announce-ota-provider 0xDEADBEEF 0 1 0 0x1234567890 0 where 0x1234567890 is OTA Requestor node ID and 0xDEADBEEF is OTA Provider node ID @@ -59,7 +58,7 @@ tests: - label: "TH2/Administrator sends an AnnounceOTAProvider command to the DUT." verification: | - chip-tool otasoftwareupdaterequestor announce-ota-provider 0xDEADBEEF 0 1 0 0x1234567890 0 + ./chip-tool otasoftwareupdaterequestor announce-ota-provider 0xDEADBEEF 0 1 0 0x1234567890 0 where 0x1234567890 is OTA Requestor node ID and 0xDEADBEEF is OTA Provider node ID diff --git a/src/app/tests/suites/certification/Test_TC_SU_2_2.yaml b/src/app/tests/suites/certification/Test_TC_SU_2_2.yaml index ea1274bb4733f0..b992ebc9a323dd 100644 --- a/src/app/tests/suites/certification/Test_TC_SU_2_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_SU_2_2.yaml @@ -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: - 3.3.1. [TC-SU-2.2] Tests the DUT behavior on different scenarios of the - QueryImageResponse sent by the TH/OTA-P + 3.2.2. [TC-SU-2.2] Handling different QueryImageResponse scenarios on + Requestor config: nodeId: 0x12344321 @@ -24,16 +24,16 @@ config: tests: - label: - "IF (PICS_DT_BDX_Supported) DUT sends a QueryImage command to the - TH/OTA-P. TH/OTA-P sends a QueryImageResponse back to DUT. QueryStatus - is set to 'UpdateAvailable'. Set ImageURI to the location where the - image is located." + 'IF DUT sends a QueryImage command to the TH/OTA-P. TH/OTA-P sends a + QueryImageResponse back to DUT. QueryStatus is set to + "UpdateAvailable". Set ImageURI to the location where the image is + located.' verification: | Run the OTA Provider App using the command: - chip-ota-provider-app --discriminator ${PROVIDER_LONG_DISCRIMINATOR} --secured-device-port ${PROVIDER_UDP_PORT} --KVS ${KVS_STORE_LOCATION} --filepath ${SW_IMAGE_FILE} -q updateAvailable + ./chip-ota-provider-app --discriminator ${PROVIDER_LONG_DISCRIMINATOR} --secured-device-port ${PROVIDER_UDP_PORT} --KVS ${KVS_STORE_LOCATION} --filepath ${SW_IMAGE_FILE} -q updateAvailable - chip-tool otasoftwareupdaterequestor announce-ota-provider 0xDEADBEEF 0 0 0 0x1234567890 0 + ./chip-tool otasoftwareupdaterequestor announce-ota-provider 0xDEADBEEF 0 0 0 0x1234567890 0 where 0x1234567890 is OTA Requestor node ID and 0xDEADBEEF is OTA Provider node ID @@ -44,15 +44,15 @@ tests: disabled: true - label: - "DUT sends a QueryImage command to the TH/OTA-P. TH/OTA-P sends a - QueryImageResponse back to DUT. QueryStatus is set to 'Busy', - DelayedActionTime is set to 60 seconds." + 'DUT sends a QueryImage command to the TH/OTA-P. TH/OTA-P sends a + QueryImageResponse back to DUT. QueryStatus is set to "Busy", + DelayedActionTime is set to 60 seconds.' verification: | Run the OTA Provider App using the command: - chip-ota-provider-app --discriminator ${PROVIDER_LONG_DISCRIMINATOR} --secured-device-port ${PROVIDER_UDP_PORT} --KVS ${KVS_STORE_LOCATION} --filepath ${SW_IMAGE_FILE} -q busy -t 60 + ./chip-ota-provider-app --discriminator ${PROVIDER_LONG_DISCRIMINATOR} --secured-device-port ${PROVIDER_UDP_PORT} --KVS ${KVS_STORE_LOCATION} --filepath ${SW_IMAGE_FILE} -q busy -t 60 - chip-tool otasoftwareupdaterequestor announce-ota-provider 0xDEADBEEF 0 0 0 0x1234567890 0 + ./chip-tool otasoftwareupdaterequestor announce-ota-provider 0xDEADBEEF 0 0 0 0x1234567890 0 where 0x1234567890 is OTA Requestor node ID and 0xDEADBEEF is OTA Provider node ID @@ -60,16 +60,16 @@ tests: disabled: true - label: - "DUT sends a QueryImage command to the TH/OTA-P. TH/OTA-P sends a - QueryImageResponse back to DUT. QueryStatus is set to 'NotAvailable', - DelayedActionTime is set to 60 seconds." + 'DUT sends a QueryImage command to the TH/OTA-P. TH/OTA-P sends a + QueryImageResponse back to DUT. QueryStatus is set to "NotAvailable", + DelayedActionTime is set to 60 seconds.' verification: | Run the OTA Provider App using the command: - chip-ota-provider-app --discriminator ${PROVIDER_LONG_DISCRIMINATOR} --secured-device-port ${PROVIDER_UDP_PORT} --KVS ${KVS_STORE_LOCATION} --filepath ${SW_IMAGE_FILE} -q updateNotAvailable -t 60 + ./chip-ota-provider-app --discriminator ${PROVIDER_LONG_DISCRIMINATOR} --secured-device-port ${PROVIDER_UDP_PORT} --KVS ${KVS_STORE_LOCATION} --filepath ${SW_IMAGE_FILE} -q updateNotAvailable -t 60 - chip-tool otasoftwareupdaterequestor announce-ota-provider 0xDEADBEEF 0 0 0 0x1234567890 0 + ./chip-tool otasoftwareupdaterequestor announce-ota-provider 0xDEADBEEF 0 0 0 0x1234567890 0 where 0x1234567890 is OTA Requestor node ID and 0xDEADBEEF is OTA Provider node ID @@ -77,9 +77,9 @@ tests: disabled: true - label: - "DUT sends a QueryImage command to the TH/OTA-P. TH/OTA-P sends a - QueryImageResponse back to DUT. QueryStatus is set to Available, Set - DelayedActionTime to 3 minutes" + 'DUT sends a QueryImage command to the TH/OTA-P. TH/OTA-P sends a + QueryImageResponse back to DUT. QueryStatus is set to + "UpdateAvailable", Set DelayedActionTime to 3 minutes.' verification: | Run the OTA Provider App using the command: @@ -93,17 +93,17 @@ tests: disabled: true - label: - "DUT sends a QueryImage command to the TH/OTA-P.+ TH/OTA-P sends a + 'DUT sends a QueryImage command to the TH/OTA-P.+ TH/OTA-P sends a QueryImageResponse back to DUT. QueryStatus is set to Busy/Not Available, Set DelayedActionTime to 3 minutes. . On the subsequent QueryImage command, TH/OTA-P sends a QueryImageResponse back to DUT. - QueryStatus is set to 'UpdateAvailable'." + QueryStatus is set to "UpdateAvailable".' verification: | Run the OTA Provider App using the command: ./chip-ota-provider-app --discriminator ${PROVIDER_LONG_DISCRIMINATOR} --secured-device-port ${PROVIDER_UDP_PORT} --KVS ${KVS_STORE_LOCATION} --filepath ${SW_IMAGE_FILE} -q busy -t 180 - chip-tool otasoftwareupdaterequestor announce-ota-provider 0xDEADBEEF 0 0 0 0x1234567890 0 + ./chip-tool otasoftwareupdaterequestor announce-ota-provider 0xDEADBEEF 0 0 0 0x1234567890 0 where 0x1234567890 is OTA Requestor node ID and 0xDEADBEEF is OTA Provider node ID @@ -112,19 +112,20 @@ tests: disabled: true - label: - "IF (PICS_DT_HTTPS_Supported), DUT sends a QueryImage command to the + 'IF (PICS_DT_HTTPS_Supported), DUT sends a QueryImage command to the TH/OTA-P. TH/OTA-P sends a QueryImageResponse back to DUT. QueryStatus - is set to 'UpdateAvailable', ImageURI should have the https url from - where the image can be downloaded." + is set to "UpdateAvailable", ImageURI should have the https url from + where the image can be downloaded.' + PICS: MCORE.OTA.HTTPS verification: | Out of scope for V1.0 disabled: true - label: - "DUT sends a QueryImage command to the TH/OTA-P. TH/OTA-P sends a - QueryImageResponse back to DUT. QueryStatus is set to Available, - Software Version should be set to the same or an older (numerically - lower) version." + 'DUT sends a QueryImage command to the TH/OTA-P. TH/OTA-P sends a + QueryImageResponse back to DUT. QueryStatus is set to + "UpdateAvailable", Software Version should be set to the same or an + older (numerically lower) version.' verification: | Run the OTA Provider App using the command: @@ -132,7 +133,7 @@ tests: Software Version of the SW_IMAGE_FILE used in above command should be the same or an older (numerically lower) version than the DUT. - chip-tool otasoftwareupdaterequestor announce-ota-provider 0xDEADBEEF 0 0 0 0x1234567890 0 + ./chip-tool otasoftwareupdaterequestor announce-ota-provider 0xDEADBEEF 0 0 0 0x1234567890 0 where 0x1234567890 is OTA Requestor node ID and 0xDEADBEEF is OTA Provider node ID @@ -140,15 +141,15 @@ tests: disabled: true - label: - "DUT sends a QueryImage command to the TH/OTA-P. TH/OTA-P sends a + 'DUT sends a QueryImage command to the TH/OTA-P. TH/OTA-P sends a QueryImageResponse back to DUT. QueryStatus is set to - 'UpdateAvailable', ImageURI field contains an invalid BDX ImageURI." + "UpdateAvailable", ImageURI field contains an invalid BDX ImageURI.' verification: | Run the OTA Provider App using the command: ./chip-ota-provider-app --discriminator ${PROVIDER_LONG_DISCRIMINATOR} --secured-device-port ${PROVIDER_UDP_PORT} --KVS ${KVS_STORE_LOCATION} --filepath ${SW_IMAGE_FILE} -i bdx://0000000000000001 - chip-tool otasoftwareupdaterequestor announce-ota-provider 0xDEADBEEF 0 0 0 0x1234567890 0 + ./chip-tool otasoftwareupdaterequestor announce-ota-provider 0xDEADBEEF 0 0 0 0x1234567890 0 where 0x1234567890 is OTA Requestor node ID and 0xDEADBEEF is OTA Provider node ID diff --git a/src/app/tests/suites/certification/Test_TC_SU_2_3.yaml b/src/app/tests/suites/certification/Test_TC_SU_2_3.yaml index 2056995f30eb72..075789dfd930e1 100644 --- a/src/app/tests/suites/certification/Test_TC_SU_2_3.yaml +++ b/src/app/tests/suites/certification/Test_TC_SU_2_3.yaml @@ -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.4.1. [TC-SU-2.3] Tests the transfer of images between DUT and TH/OTA-P +name: + 3.3.1.[TC-SU-2.3]Transfer of Software Update images between DUT and TH/OTA-P config: nodeId: 0x12344321 @@ -22,14 +23,16 @@ config: tests: - label: - "IF (PICS_DT_RequestorCanConsent_True) DUT sends a QueryImage command - to the TH/OTA-P. TH/OTA-P sends a QueryImageResponse back to DUT. - QueryStatus is set to Available, UserConsentNeeded is set to True" + "DUT sends a QueryImage command to the TH/OTA-P. RequestorCanConsent + is set to True by DUT. OTA-P/TH responds with a QueryImageResponse + with UserConsentNeeded field set to True." + PICS: MCORE.OTA.RequestorConsent verification: | Run the OTA Provider App using the command: + ./chip-ota-provider-app --discriminator ${PROVIDER_LONG_DISCRIMINATOR} --secured-device-port ${PROVIDER_UDP_PORT} --KVS ${KVS_STORE_LOCATION} --filepath ${SW_IMAGE_FILE} -c - chip-tool otasoftwareupdaterequestor announce-ota-provider 0xDEADBEEF 0 0 0 0x1234567890 0 + ./chip-tool otasoftwareupdaterequestor announce-ota-provider 0xDEADBEEF 0 0 0 0x1234567890 0 where 0x1234567890 is OTA Requestor node ID and 0xDEADBEEF is OTA Provider node ID @@ -37,19 +40,31 @@ tests: disabled: true - label: - "IF (PICS_DT_BDX_Supported) DUT sends a QueryImage command to the - TH/OTA-P. TH/OTA-P sends a QueryImageResponse back to DUT. QueryStatus - is set to Available. Set ImageURI to the location where the image is - located." + 'IF DUT sends a QueryImage command to the TH/OTA-P. TH/OTA-P sends a + QueryImageResponse back to DUT. QueryStatus is set to + "UpdateAvailable". Set ImageURI to the location where the image is + located.' verification: | - Same as 3.3.1. [TC-SU-2.2] #1 + "Run the OTA Provider App using the command: + + ./chip-ota-provider-app --discriminator ${PROVIDER_LONG_DISCRIMINATOR} --secured-device-port ${PROVIDER_UDP_PORT} --KVS ${KVS_STORE_LOCATION} --filepath ${SW_IMAGE_FILE} -q updateAvailable + + ./chip-tool otasoftwareupdaterequestor announce-ota-provider 0xDEADBEEF 0 0 0 0x1234567890 0 + + where 0x1234567890 is OTA Requestor node ID and 0xDEADBEEF is OTA Provider node ID + + Verify that the transfer of the software image happens all the way until the last Block is acknowledged on the OTA Provider logs: + + [1645748688025] [99779:20370762] CHIP: [BDX] OutputEvent type: AckEOFReceived + [1645748688025] [99779:20370762] CHIP: [BDX] Transfer completed, got AckEOF" disabled: true - label: - 'IF (PICS_DT_HTTPS_Supported) DUT sends a QueryImage command to the - TH/OTA-P. TH/OTA-P sends a QueryImageResponse back to DUT. QueryStatus - is set to "UpdateAvailable". Set ImageURI with the https url of the - software image.' + 'DUT sends a QueryImage command to the TH/OTA-P. TH/OTA-P sends a + QueryImageResponse back to DUT. QueryStatus is set to + "UpdateAvailable". Set ImageURI with the https url of the software + image.' + PICS: MCORE.OTA.HTTPS verification: | Out of scope for V1.0 disabled: true @@ -113,19 +128,18 @@ tests: disabled: true - label: - "IF (PICS_DT_RC_STARTOFS_BIT_SET) During the transfer of the image to - the DUT, force fail the transfer before it completely transfers the - image. Initiate another QueryImage Command from DUT to the TH/OTA-P. - Set the RC[STARTOFS] bit and associated STARTOFS field in the - ReceiveInit Message to indicate the resumption of a transfer - previously aborted." + "During the transfer of the image to the DUT, force fail the transfer + before it completely transfers the image. Initiate another QueryImage + Command from DUT to the TH/OTA-P. Set the RC[STARTOFS] bit and + associated STARTOFS field in the ReceiveInit Message to indicate the + resumption of a transfer previously aborted." + PICS: MCORE.OTA.Resume verification: | Out of scope for V1.0 disabled: true - - label: - "IF (PICS_DT_Vendor_Specific) Perform the OTA Update on DUT using - vendor specific mechanism." + - label: "Perform the OTA Update on DUT using vendor specific mechanism." + PICS: MCORE.OTA.VendorSpecific verification: | Use vendor specific steps to initiate OTA Update and verify that the software image is transferred to the DUT disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_SU_2_5.yaml b/src/app/tests/suites/certification/Test_TC_SU_2_5.yaml index 7d567b921b9f69..83a1195c8cdcf2 100644 --- a/src/app/tests/suites/certification/Test_TC_SU_2_5.yaml +++ b/src/app/tests/suites/certification/Test_TC_SU_2_5.yaml @@ -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: - 3.6.1. [TC-SU-2.5] Tests the different scenarios on the DUT based on the - ApplyUpdateResponse response sent by the OTA-P + 3.4.2. [TC-SU-2.5] Handling different ApplyUpdateResponse scenarios on + Requestor config: nodeId: 0x12344321 @@ -24,77 +24,102 @@ config: tests: - label: - "OTA-P/TH sends the ApplyUpdateResponse Command to the DUT. Action - field is set to 'Proceed' DelayedActionTime is set to 0." + 'OTA-P/TH sends the ApplyUpdateResponse Command to the DUT. Action + field is set to "Proceed" DelayedActionTime is set to 0.' verification: | Verify that the DUT starts updating its software. Once the update is finished verify the software version on the DUT to match the version downloaded for the software update. + ./chip-ota-provider-app --discriminator 3840 --secured-device-port 5540 --KVS ~/provider/chip_kvs_provider --filepath ota-requestor-app.ota -a proceed -p 0 + + ./chip-tool basic read software-version-string 0x1234567890 0 + [1653566686.505112][31729:31734] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0028 Attribute 0x0000_000A DataVersion: 259813380 + [1653566686.505186][31729:31734] CHIP:TOO: SoftwareVersionString: 2.0 + + Verify on the OTA-P/TH that there is no other ApplyUpdateRequest from the DUT. disabled: true - label: - "OTA-P/TH sends the ApplyUpdateResponse Command to the DUT. Action - field is set to 'Proceed' DelayedActionTime is set to 3 minutes" + 'OTA-P/TH sends the ApplyUpdateResponse Command to the DUT. Action + field is set to "Proceed" DelayedActionTime is set to 3 minutes' verification: | Run the OTA Provider App using the command: - chip-ota-provider-app --discriminator 22 --secured-device-port 5565 --KVS /tmp/chip_kvs_provider --filepath /tmp/test.bin -p 180 + + ./chip-ota-provider-app --discriminator 22 --secured-device-port 5565 --KVS /tmp/chip_kvs_provider --filepath /tmp/test.bin -p 180 + + [1653635778.270994][7933:7933] CHIP:SWU: ApplyUpdateResponse: + [1653635778.271015][7933:7933] CHIP:SWU: action: 0 + [1653635778.271031][7933:7933] CHIP:SWU: delayedActionTime: 180 seconds Verify that the DUT starts updating its software after 3 minutes. Once the update is finished verify the software version on the DUT to match the version downloaded for the software update. ./chip-tool basic read software-version-string 0x1234567890 0 + + [1653636406.637617][11116:11121] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0028 Attribute 0x0000_000A DataVersion: 1527020963 + [1653636406.637708][11116:11121] CHIP:TOO: SoftwareVersionString: 2.0 disabled: true - label: - "OTA-P/TH sends the ApplyUpdateResponse Command to the DUT. Action - field is set to 'AwaitNextAction', DelayedActionTime is set to 1 - minute." + 'OTA-P/TH sends the ApplyUpdateResponse Command to the DUT. Action + field is set to "AwaitNextAction", DelayedActionTime is set to 1 + minute.' verification: | Run the OTA Provider App using the command: - chip-ota-provider-app --discriminator 22 --secured-device-port 5565 --KVS /tmp/chip_kvs_provider --filepath /tmp/test.bin -a awaitNextAction -p 60 + + ./chip-ota-provider-app --discriminator 22 --secured-device-port 5565 --KVS /tmp/chip_kvs_provider --filepath /tmp/test.bin -a awaitNextAction -p 60 + + [1653640038.385848][8303:8303] CHIP:SWU: ApplyUpdateResponse: + [1653640038.385873][8303:8303] CHIP:SWU: action: 1 + [1653640038.385895][8303:8303] CHIP:SWU: delayedActionTime: 60 seconds + Verify that the DUT waits for the minimum interval defined by spec which is 2 minutes before re-sending the ApplyUpdateRequest to the OTA-P. Verify that the DUT does not apply the software update within this time. disabled: true - label: - "OTA-P/TH sends the ApplyUpdateResponse Command to the DUT. Action - field is set to 'AwaitNextAction', DelayedActionTime is set to 3 + 'OTA-P/TH sends the ApplyUpdateResponse Command to the DUT. Action + field is set to "AwaitNextAction", DelayedActionTime is set to 3 minutes. On the subsequent ApplyUpdateRequest command, TH/OTA-P sends - the ApplyUpdateResponse back to DUT. Action field is set to 'Proceed'" + the ApplyUpdateResponse back to DUT. Action field is set to "Proceed".' verification: | Run the OTA Provider App using the command: - chip-ota-provider-app --discriminator 22 --secured-device-port 5565 --KVS /tmp/chip_kvs_provider --filepath /tmp/test.bin -a awaitNextAction -p 180 + + ./chip-ota-provider-app --discriminator 22 --secured-device-port 5565 --KVS /tmp/chip_kvs_provider --filepath /tmp/test.bin -a awaitNextAction -p 180 Verify that the DUT waits for 3 minutes before sending the ApplyUpdateRequest to the OTA-P. Verify that the DUT starts updating its software after the second ApplyUpdateResponse with Proceed action. Once the update is finished, verify the software version from the Basic Information cluster on the DUT to match the version downloaded for the software update. - chip-tool basic read software-version-string 0x1234567890 0 + ./chip-tool basic read software-version-string 0x1234567890 0 disabled: true - label: - "OTA-P/TH sends the ApplyUpdateResponse Command to the DUT. Action - field is set to 'Discontinue'." + 'OTA-P/TH sends the ApplyUpdateResponse Command to the DUT. Action + field is set to "Discontinue".' verification: | Run the OTA Provider App using the command: - chip-ota-provider-app --discriminator 22 --secured-device-port 5565 --KVS /tmp/chip_kvs_provider --filepath /tmp/test.bin -a discontinue + ./chip-ota-provider-app --discriminator 22 --secured-device-port 5565 --KVS /tmp/chip_kvs_provider --filepath /tmp/test.bin -a discontinue Verify that the DUT clears its previously downloaded software image and resets the UpdateState Attribute to Idle (Value 1) - chip-tool otasoftwareupdaterequestor read update-state 0x1234567890 0 + ./chip-tool otasoftwareupdaterequestor read update-state 0x1234567890 0 + + [1655392988.539869][3147:3153] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_002A Attribute 0x0000_0002 DataVersion: 1861243848 + [1655392988.541680][3147:3153] CHIP:TOO: UpdateState: 1 + Verify that the DUT does not send the NotifyUpdateApplied within a reasonable time. Verify the software version from the Basic Information cluster of the DUT to be the same as it was previously. - chip-tool basic read software-version-string 0x1234567890 0 + ./chip-tool basic read software-version-string 0x1234567890 0 disabled: true - - label: - "IF (PICS_DT_Vendor_Specific) Apply the OTA Update on DUT using vendor - specific mechanism." + - label: "Apply the OTA Update on DUT using vendor specific mechanism." + PICS: MCORE.OTA.VendorSpecific verification: | Use vendor specific steps to apply OTA Update and verify that the DUT starts updating its software. Once the update is finished verify the software version on the DUT to match the version downloaded for the software update. diff --git a/src/app/tests/suites/certification/Test_TC_SU_2_6.yaml b/src/app/tests/suites/certification/Test_TC_SU_2_6.yaml index e02596a0a25d2f..90380a53859b67 100644 --- a/src/app/tests/suites/certification/Test_TC_SU_2_6.yaml +++ b/src/app/tests/suites/certification/Test_TC_SU_2_6.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: - 31.7.1. [TC-SU-2.6] Tests NotifyUpdateApplied Command sent to OTA-P from the - DUT after it has successfully updated to the new software version. +name: 3.4.3. [TC-SU-2.6] NotifyUpdateApplied Command from DUT to OTA-P config: nodeId: 0x12344321 @@ -26,8 +24,11 @@ tests: - label: "DUT sends the NotifyUpdateApplied Command to the OTA-P after installing the software update." + PICS: OTAC.C.M.NotifyUpdateApplied verification: | Verify that the OTA Provider show NotifyUpdateApplied message received from DUT in the logs + UpdateToken - verify that it is the same as the one provided by the OTA provider in the QueryImageResponse. + SoftwareVersion - verify the software version on the DUT to match the version downloaded for the software update [1645743059329] [97806:20280748] CHIP: [ZCL] OTA Provider received NotifyUpdateApplied [1645743059329] [97806:20280748] CHIP: [ZCL] Update Token: 32 diff --git a/src/app/tests/suites/certification/Test_TC_SU_2_7.yaml b/src/app/tests/suites/certification/Test_TC_SU_2_7.yaml index e0ca7ba8633967..49dc1b5633a5f6 100644 --- a/src/app/tests/suites/certification/Test_TC_SU_2_7.yaml +++ b/src/app/tests/suites/certification/Test_TC_SU_2_7.yaml @@ -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.8.1. [TC-SU-2.7] Tests Events generated by OTA-R(DUT) +name: 3.5.1. [TC-SU-2.7] Events generated by OTA-R(DUT) config: nodeId: 0x12344321 @@ -23,12 +23,17 @@ config: tests: - label: "Perform a software update on the DUT." verification: | - ./chip-tool otasoftwareupdaterequestor announce-ota-provider 0xDEADBEEF 0 0 0 0x1234567890 0 + ./chip-tool interactive start - where 0x1234567890 is OTA Requestor node ID and 0xDEADBEEF is OTA Provider node ID + Subscribe to StateTransition event using command + + otasoftwareupdaterequestor subscribe-event state-transition 5 10 0x1234567890 0 - Subscribe to StateTransition event right away after this using command - ./chip-tool otasoftwareupdaterequestor subscribe-event state-transition 5 10 0x1234567890 0 --timeout 65535 + Trigger OTA query using command + + otasoftwareupdaterequestor announce-ota-provider 0xDEADBEEF 0 0 0 0x1234567890 0 + + where 0x1234567890 is OTA Requestor node ID and 0xDEADBEEF is OTA Provider node ID Verify that the chip-tool receives below StateTransition event notifications @@ -62,15 +67,20 @@ tests: disabled: true - label: - "DUT sends a QueryImage command to the TH/OTA-P. TH/OTA-P sends a - QueryImageResponse back to DUT. QueryStatus is set to 'Busy'." + 'DUT sends a QueryImage command to the TH/OTA-P. TH/OTA-P sends a + QueryImageResponse back to DUT. QueryStatus is set to "Busy".' verification: | - chip-tool otasoftwareupdaterequestor announce-ota-provider 0xDEADBEEF 0 0 0 0x1234567890 0 + ./chip-tool interactive start - where 0x1234567890 is OTA Requestor node ID and 0xDEADBEEF is OTA Provider node ID + Subscribe to StateTransition event using command + + otasoftwareupdaterequestor subscribe-event state-transition 5 10 0x1234567890 0 + + Trigger OTA query using command - Subscribe to StateTransition event right away after this using command - ./chip-tool otasoftwareupdaterequestor subscribe-event state-transition 5 10 0x1234567890 0 --timeout 65535 + otasoftwareupdaterequestor announce-ota-provider 0xDEADBEEF 0 0 0 0x1234567890 0 + + where 0x1234567890 is OTA Requestor node ID and 0xDEADBEEF is OTA Provider node ID Verify that the chip-tool receives below StateTransition event notification @@ -93,13 +103,17 @@ tests: "DUT sends a QueryImage command to the TH/OTA-P. TH/OTA-P does not respond back to DUT." verification: | + ./chip-tool interactive start + + Subscribe to StateTransition event using command + + otasoftwareupdaterequestor subscribe-event state-transition 5 10 0x1234567890 0 + Kill OTA Provider App before issuing query using - chip-tool otasoftwareupdaterequestor announce-ota-provider 0xDEADBEEF 0 0 0 0x1234567890 0 - where 0x1234567890 is OTA Requestor node ID and 0xDEADBEEF is OTA Provider node ID + otasoftwareupdaterequestor announce-ota-provider 0xDEADBEEF 0 0 0 0x1234567890 0 - Subscribe to StateTransition event right away after this using command - ./chip-tool otasoftwareupdaterequestor subscribe-event state-transition 5 10 0x1234567890 0 --timeout 65535 + where 0x1234567890 is OTA Requestor node ID and 0xDEADBEEF is OTA Provider node ID Verify that the chip-tool receives below StateTransition event notification @@ -119,20 +133,25 @@ tests: disabled: true - label: - "IF (PICS_DT_RequestorCanConsent_True) DUT sends a QueryImage command - to the TH/OTA-P. RequestorCanConsent is set to True by DUT. OTA-P/TH - responds with a QueryImageResponse with UserConsentNeeded field set to - True." + "DUT sends a QueryImage command to the TH/OTA-P. RequestorCanConsent + is set to True by DUT. OTA-P/TH responds with a QueryImageResponse + with UserConsentNeeded field set to True." + PICS: MCORE.OTA.RequestorConsent verification: | Run the Provider App using - chip-ota-provider-app --discriminator 22 --secured-device-port 5565 --KVS /tmp/chip_kvs_provider --filepath /tmp/test.bin -c + ./chip-ota-provider-app --discriminator 22 --secured-device-port 5565 --KVS /tmp/chip_kvs_provider --filepath /tmp/test.bin -c - ./chip-tool otasoftwareupdaterequestor announce-ota-provider 0xDEADBEEF 0 0 0 0x1234567890 0 + ./chip-tool interactive start - where 0x1234567890 is OTA Requestor node ID and 0xDEADBEEF is OTA Provider node ID + Subscribe to StateTransition event using command + + otasoftwareupdaterequestor subscribe-event state-transition 5 10 0x1234567890 0 + + Trigger OTA query using command - Subscribe to StateTransition event right away after this using command - ./chip-tool otasoftwareupdaterequestor subscribe-event state-transition 5 10 0x1234567890 0 --timeout 65535 + otasoftwareupdaterequestor announce-ota-provider 0xDEADBEEF 0 0 0 0x1234567890 0 + + where 0x1234567890 is OTA Requestor node ID and 0xDEADBEEF is OTA Provider node ID Verify that the OTA-Subscriber receives a StateTransition event notification for the state change to DelayedOnUserConsent. disabled: true @@ -141,14 +160,20 @@ tests: "Force an error during the download of the OTA image to the DUT. Wait for the Idle timeout which should be no less than 5 minutes." verification: | - chip-tool otasoftwareupdaterequestor announce-ota-provider 0xDEADBEEF 0 0 0 0x1234567890 0 + ./chip-tool interactive start - where 0x1234567890 is OTA Requestor node ID and 0xDEADBEEF is OTA Provider node ID + Subscribe to StateTransition and DownloadError events using command + + otasoftwareupdaterequestor subscribe-event-by-id 0,2 30 60 0x1234567890 0 - Subscribe to StateTransition event right away after this using command - ./chip-tool otasoftwareupdaterequestor subscribe-event download-error 5 10 0x1234567890 0 --timeout 65535 + Trigger OTA query using command + + otasoftwareupdaterequestor announce-ota-provider 0xDEADBEEF 0 0 0 0x1234567890 0 + + where 0x1234567890 is OTA Requestor node ID and 0xDEADBEEF is OTA Provider node ID Verify that the chip-tool receives a DownloadError event notification on BDX Idle timeout which should be no less than 5 minutes. + Verify that the chip-tool receives a StateTransition event notification for the state change to Idle. [1651520178426] [98732:38086919] CHIP: [TOO] DownloadError: { [1651520178426] [98732:38086919] CHIP: [TOO] SoftwareVersion: 2 @@ -156,19 +181,31 @@ tests: [1651520178426] [98732:38086919] CHIP: [TOO] ProgressPercent: 65 [1651520178426] [98732:38086919] CHIP: [TOO] PlatformCode: null [1651520178426] [98732:38086919] CHIP: [TOO] } + + [1654558704063] [57765:69159905] CHIP: [TOO] StateTransition: { + [1654558704064] [57765:69159905] CHIP: [TOO] PreviousState: 4 + [1654558704064] [57765:69159905] CHIP: [TOO] NewState: 1 + [1654558704064] [57765:69159905] CHIP: [TOO] Reason: 3 + [1654558704064] [57765:69159905] CHIP: [TOO] TargetSoftwareVersion: null + [1654558704064] [57765:69159905] CHIP: [TOO] } disabled: true - label: - "After the OTA image is transferred, DUT sends ApplyUpdateRequest to + 'After the OTA image is transferred, DUT sends ApplyUpdateRequest to the OTA-P. OTA-P/TH sends the ApplyUpdateResponse Command to the DUT. - Action field is set to 'AwaitNextAction'." + Action field is set to "AwaitNextAction".' verification: | - chip-tool otasoftwareupdaterequestor announce-ota-provider 0xDEADBEEF 0 0 0 0x1234567890 0 + ./chip-tool interactive start - where 0x1234567890 is OTA Requestor node ID and 0xDEADBEEF is OTA Provider node ID + Subscribe to StateTransition event using command + + otasoftwareupdaterequestor subscribe-event state-transition 5 10 0x1234567890 0 - Subscribe to StateTransition event right away after this using command - ./chip-tool otasoftwareupdaterequestor subscribe-event state-transition 5 10 0x1234567890 0 --timeout 65535 + Trigger OTA query using command + + otasoftwareupdaterequestor announce-ota-provider 0xDEADBEEF 0 0 0 0x1234567890 0 + + where 0x1234567890 is OTA Requestor node ID and 0xDEADBEEF is OTA Provider node ID [1651283503471] [29332:35530821] CHIP: [TOO] StateTransition: { [1651283503471] [29332:35530821] CHIP: [TOO] PreviousState: 1 @@ -201,19 +238,20 @@ tests: - label: "DUT successfully finishes applying a software update and the new - software image version is being executed on the DUT." + software image version is being executed on the DUT. OTA-Subscriber + sends a read request to read the VersionApplied event from the DUT." verification: | - chip-tool otasoftwareupdaterequestor announce-ota-provider 0xDEADBEEF 0 0 0 0x1234567890 0 + ./chip-tool otasoftwareupdaterequestor announce-ota-provider 0xDEADBEEF 0 0 0 0x1234567890 0 where 0x1234567890 is OTA Requestor node ID and 0xDEADBEEF is OTA Provider node ID - Subscribe to VersionApplied event right away after this using command - ./chip-tool otasoftwareupdaterequestor subscribe-event version-applied 5 10 1 2 0 + Read VersionApplied event when a new version starts executing after being applied due to a software update. + ./chip-tool otasoftwareupdaterequestor read-event version-applied 0x1234567890 0 Verify that the chip-tool receives below VersionApplied event notification [1645818271254] [21222:21170014] CHIP: [TOO] VersionApplied: { - [1645818271254] [21222:21170014] CHIP: [TOO] SoftwareVersion: 1 + [1645818271254] [21222:21170014] CHIP: [TOO] SoftwareVersion: 2 [1645818271254] [21222:21170014] CHIP: [TOO] ProductID: 32769 [1645818271254] [21222:21170014] CHIP: [TOO] } disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_SU_3_2.yaml b/src/app/tests/suites/certification/Test_TC_SU_3_2.yaml index d1b733439e9fd2..e83677c68b8fad 100644 --- a/src/app/tests/suites/certification/Test_TC_SU_3_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_SU_3_2.yaml @@ -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: - 3.11.1. [TC-SU-3.2] Tests if the DUT is sending the correct - QueryImageResponse to the OTA-R + 3.7.2. [TC-SU-3.2] Handling different QueryImageResponse scenarios on + Provider config: nodeId: 0x12344321 @@ -24,11 +24,11 @@ config: tests: - label: - "OTA-R/TH sends a QueryImage Command to the DUT. UserConsentNeeded - field is set to False. DUT responds with the QueryImageResponse to the - OTA-R/TH." + "OTA-R/TH sends a QueryImage Command to the DUT. RequestorCanConsent + field can be set to either True or False in the QueryImage Command. + DUT responds with the QueryImageResponse to the OTA-R/TH." verification: | - chip-tool otasoftwareupdaterequestor announce-ota-provider 0xDEADBEEF 0 0 0 0x1234567890 0 + ./chip-tool otasoftwareupdaterequestor announce-ota-provider 0xDEADBEEF 0 0 0 0x1234567890 0 where 0x1234567890 is OTA Requestor node ID and 0xDEADBEEF is OTA Provider node ID @@ -51,9 +51,9 @@ tests: OTA-R/TH. OTA-R/TH sends a QueryImage Command to the DUT. DUT responds with the QueryImageResponse to the OTA-R/TH." verification: | - out/chip-ota-provider-app --discriminator 22 --secured-device-port 5565 --KVS /tmp/chip_kvs_provider --filepath /tmp/test.bin -q updateNotAvailable + ./chip-ota-provider-app --discriminator 22 --secured-device-port 5565 --KVS /tmp/chip_kvs_provider --filepath /tmp/test.bin -q updateNotAvailable - chip-tool otasoftwareupdaterequestor announce-ota-provider 0xDEADBEEF 0 0 0 0x1234567890 0 + ./chip-tool otasoftwareupdaterequestor announce-ota-provider 0xDEADBEEF 0 0 0 0x1234567890 0 where 0x1234567890 is OTA Requestor node ID and 0xDEADBEEF is OTA Provider node ID @@ -71,7 +71,7 @@ tests: field should list BDX. DUT responds with the QueryImageResponse to the OTA-R/TH." verification: | - chip-tool otasoftwareupdaterequestor announce-ota-provider 0xDEADBEEF 0 0 0 0x1234567890 0 + ./chip-tool otasoftwareupdaterequestor announce-ota-provider 0xDEADBEEF 0 0 0 0x1234567890 0 where 0x1234567890 is OTA Requestor node ID and 0xDEADBEEF is OTA Provider node ID @@ -92,23 +92,24 @@ tests: disabled: true - label: - "OTA-R/TH sends a QueryImage Command to the DUT. ProtocolSupported - field should list 'https'. DUT responds with a QueryImageResponse to - the OTA-R/TH." + 'OTA-R/TH sends a QueryImage Command to the DUT. ProtocolSupported + field should list "https". DUT responds with a QueryImageResponse to + the OTA-R/TH.' verification: | Out of scope for V1.0 disabled: true - label: - "OTA-R/TH sends a QueryImage Command to the DUT. DUT responds with the - QueryImageResponse with QueryStatus set to 'Busy', DelayedActionTime + 'OTA-R/TH sends a QueryImage Command to the DUT. DUT responds with the + QueryImageResponse with QueryStatus set to "Busy", DelayedActionTime set to 3 minutes. On the subsequent QueryImage command, DUT sends a QueryImageResponse back to OTA-R/TH. QueryStatus is set to - 'UpdateAvailable'." + "UpdateAvailable".' + PICS: OTAS.S.M.DelayedActionTime verification: | - out/chip-ota-provider-app --discriminator 22 --secured-device-port 5565 --KVS /tmp/chip_kvs_provider --filepath /tmp/test.bin -q busy + ./chip-ota-provider-app --discriminator 22 --secured-device-port 5565 --KVS /tmp/chip_kvs_provider --filepath /tmp/test.bin -q busy - chip-tool otasoftwareupdaterequestor announce-ota-provider 0xDEADBEEF 0 0 0 0x1234567890 0 + ./chip-tool otasoftwareupdaterequestor announce-ota-provider 0xDEADBEEF 0 0 0 0x1234567890 0 where 0x1234567890 is OTA Requestor node ID and 0xDEADBEEF is OTA Provider node ID diff --git a/src/app/tests/suites/certification/Test_TC_SU_3_3.yaml b/src/app/tests/suites/certification/Test_TC_SU_3_3.yaml index d1eac0de5ef329..caeb4971fa0888 100644 --- a/src/app/tests/suites/certification/Test_TC_SU_3_3.yaml +++ b/src/app/tests/suites/certification/Test_TC_SU_3_3.yaml @@ -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.12.1. [TC-SU-3.3] Tests the transfer of Images between the DUT and OTA-R +name: + 3.8.1. [TC-SU-3.3] Transfer of Software Update Images between DUT and OTA-R config: nodeId: 0x12344321 @@ -22,11 +23,11 @@ config: tests: - label: - "OTA-R/TH sends a QueryImage Command to the DUT. Protocol supported - should only list 'BDX' DUT responds with the QueryImageResponse to the - OTA-R/TH." + 'OTA-R/TH sends a QueryImage Command to the DUT. Protocol supported + should only list "BDX" DUT responds with the QueryImageResponse to the + OTA-R/TH.' verification: | - chip-tool otasoftwareupdaterequestor announce-ota-provider 0xDEADBEEF 0 0 0 0x1234567890 0 + ./chip-tool otasoftwareupdaterequestor announce-ota-provider 0xDEADBEEF 0 0 0 0x1234567890 0 where 0x1234567890 is OTA Requestor node ID and 0xDEADBEEF is OTA Provider node ID @@ -48,18 +49,11 @@ tests: [1645743059327] [97809:20280957] CHIP: [SWU] OTA image downloaded to test.txt disabled: true - - label: - "DUT has a cached copy of the software image requested. OTA-R/TH sends - a QueryImage Command to the DUT. Protocol supported should only list - 'BDX' DUT responds with the QueryImageResponse to the OTA-R/TH" - verification: | - Same as #1 - disabled: true - - label: "TH sends a QueryImage command to the DUT. RequestorCanConsent is set to True by TH. DUT responds with a QueryImageResponse with UserConsentNeeded field set to True." + PICS: OTAS.S.M.UserConsentNeeded verification: | Run the OTA Requestor App using command chip-ota-requestor-app --discriminator ${REQUESTOR_LONG_DISCRIMINATOR} --secured-device-port ${REQUESTOR_UDP_PORT} --KVS ${KVS_STORE_LOCATION} --periodicQueryTimeout ${TIME_IN_SECONDS} -c @@ -73,6 +67,7 @@ tests: "TH sends a QueryImage command to the DUT. RequestorCanConsent is set to True by TH. DUT responds with a QueryImageResponse with UserConsentNeeded field set to False." + PICS: OTAS.S.M.UserConsentNeeded verification: | Run the OTA Requestor App using command @@ -88,7 +83,7 @@ tests: transfer before it completely transfers the image. Wait for the Idle timeout. Initiate another QueryImage Command from OTA-R/TH to the DUT." verification: | - chip-tool otasoftwareupdaterequestor announce-ota-provider 0xDEADBEEF 0 0 0 0x1234567890 0 + ./chip-tool otasoftwareupdaterequestor announce-ota-provider 0xDEADBEEF 0 0 0 0x1234567890 0 where 0x1234567890 is OTA Requestor node ID and 0xDEADBEEF is OTA Provider node ID @@ -116,6 +111,7 @@ tests: - label: "IF (PICS_DT_Vendor_Specific) Perform the OTA Update from DUT using vendor specific mechanism." + PICS: MCORE.OTA.VendorSpecific verification: | Use vendor specific steps to initiate OTA Update and verify that the software image is transferred from the DUT disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_SU_3_4.yaml b/src/app/tests/suites/certification/Test_TC_SU_3_4.yaml index 65ce64be9558b4..5863a217efc1b7 100644 --- a/src/app/tests/suites/certification/Test_TC_SU_3_4.yaml +++ b/src/app/tests/suites/certification/Test_TC_SU_3_4.yaml @@ -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: - 3.13.1. [TC-SU-3.4] Tests the scenarios on when a software update should be - applied by the OTA-R + 3.9.1. [TC-SU-3.4] Handling different ApplyUpdateResponse scenarios on + Provider config: nodeId: 0x12344321 @@ -35,11 +35,11 @@ tests: disabled: true - label: - "OTA-R/TH on completion of image download sends an ApplyUpdateRequest + 'OTA-R/TH on completion of image download sends an ApplyUpdateRequest command to the DUT. DUT responds with the ApplyUpdateResponse with - Action set to 'AwaitNextAction', DelayedActionTime set to 3 minutes. + Action set to "AwaitNextAction", DelayedActionTime set to 3 minutes. On the subsequent ApplyUpdateRequest command, DUT sends a - ApplyUpdateResponse back to DUT. Action is set to Proceed." + ApplyUpdateResponse back to DUT. Action is set to Proceed.' verification: | Run the OTA Requestor App using command @@ -61,10 +61,10 @@ tests: disabled: true - label: - "OTA-R/TH on completion of image download sends an ApplyUpdateRequest + 'OTA-R/TH on completion of image download sends an ApplyUpdateRequest command to the DUT. DUT responds with the ApplyUpdateResponse with - Action set to 'Discontinue'. Initiate another QueryImage Command from - OTA-R/TH to the DUT." + Action set to "Discontinue". Initiate another QueryImage Command from + OTA-R/TH to the DUT.' verification: | Run the OTA Requestor App using command diff --git a/src/app/tests/suites/certification/Test_TC_SU_4_1.yaml b/src/app/tests/suites/certification/Test_TC_SU_4_1.yaml index 2b6a37fe8b7fb8..6832ee26b9335e 100644 --- a/src/app/tests/suites/certification/Test_TC_SU_4_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_SU_4_1.yaml @@ -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.14.1. [TC-SU-4.1] Tests for verifying cluster attributes on OTA-R(DUT) +name: 3.10.1. [TC-SU-4.1] Verifying Cluster Attributes on OTA-R(DUT) config: nodeId: 0x12344321 @@ -83,11 +83,11 @@ tests: fabric. TH sends a read request to read the DefaultOTAProviders Attribute on the first and second fabric to the DUT." verification: | - chip-tool otasoftwareupdaterequestor write default-ota-providers '[{"fabricIndex": 1, "providerNodeID": 10, "endpoint": 0}, {"fabricIndex": 1, "providerNodeID": 20, "endpoint": 0}]' 0x0000001234567890 0 + ./chip-tool otasoftwareupdaterequestor write default-ota-providers '[{"fabricIndex": 1, "providerNodeID": 10, "endpoint": 0}, {"fabricIndex": 1, "providerNodeID": 20, "endpoint": 0}]' 0x0000001234567890 0 [1651278243153] [27005:35448520] CHIP: [TOO] Response Failure: IM Error 0x00000587: General error: 0x87 (CONSTRAINT_ERROR) - chip-tool otasoftwareupdaterequestor read default-ota-providers 0x1234567890 0 + ./chip-tool otasoftwareupdaterequestor read default-ota-providers 0x1234567890 0 [1651277342848] [26860:35431852] CHIP: [TOO] DefaultOtaProviders: 1 entries [1651277342848] [26860:35431852] CHIP: [TOO] [1]: { @@ -117,7 +117,7 @@ tests: status = 0x00 (SUCCESS), - chip-tool otasoftwareupdaterequestor read default-ota-providers 0x1234567890 0 + ./chip-tool otasoftwareupdaterequestor read default-ota-providers 0x1234567890 0 [1651277342848] [26860:35431852] CHIP: [TOO] DefaultOtaProviders: 1 entries [1651277342848] [26860:35431852] CHIP: [TOO] [1]: { @@ -126,7 +126,7 @@ tests: [1651277342848] [26860:35431852] CHIP: [TOO] FabricIndex: 1 [1651277342848] [26860:35431852] CHIP: [TOO] } - chip-tool otasoftwareupdaterequestor read default-ota-providers 0x858 0 --commissioner-name beta + ./chip-tool otasoftwareupdaterequestor read default-ota-providers 0x858 0 --commissioner-name beta [1651280268033] [27804:35481732] CHIP: [TOO] DefaultOtaProviders: 0 entries disabled: true @@ -178,33 +178,34 @@ tests: where 0x1234567890 is OTA Requestor node ID Verify that the value is set to one of the valid attribute values based on the current update state on the chip-tool logs - - [1645822907230] [22642:21232581] CHIP: [DMG] ReportDataMessage = - [1645822907230] [22642:21232581] CHIP: [DMG] { - [1645822907230] [22642:21232581] CHIP: [DMG] AttributeReportIBs = - [1645822907230] [22642:21232581] CHIP: [DMG] [ - [1645822907230] [22642:21232581] CHIP: [DMG] AttributeReportIB = - [1645822907230] [22642:21232581] CHIP: [DMG] { - [1645822907230] [22642:21232581] CHIP: [DMG] AttributeDataIB = - [1645822907230] [22642:21232581] CHIP: [DMG] { - [1645822907230] [22642:21232581] CHIP: [DMG] DataVersion = 0x3873a963, - [1645822907230] [22642:21232581] CHIP: [DMG] AttributePathIB = - [1645822907230] [22642:21232581] CHIP: [DMG] { - [1645822907230] [22642:21232581] CHIP: [DMG] Endpoint = 0x0, - [1645822907230] [22642:21232581] CHIP: [DMG] Cluster = 0x2a, - [1645822907230] [22642:21232581] CHIP: [DMG] Attribute = 0x0000_0002, - [1645822907230] [22642:21232581] CHIP: [DMG] } - [1645822907230] [22642:21232581] CHIP: [DMG] - [1645822907230] [22642:21232581] CHIP: [DMG] Data = 1, - [1645822907230] [22642:21232581] CHIP: [DMG] }, - [1645822907230] [22642:21232581] CHIP: [DMG] - [1645822907230] [22642:21232581] CHIP: [DMG] }, - [1645822907230] [22642:21232581] CHIP: [DMG] - [1645822907230] [22642:21232581] CHIP: [DMG] ], - [1645822907230] [22642:21232581] CHIP: [DMG] - [1645822907230] [22642:21232581] CHIP: [DMG] SuppressResponse = true, - [1645822907230] [22642:21232581] CHIP: [DMG] InteractionModelRevision = 1 - [1645822907230] [22642:21232581] CHIP: [DMG] } + [1655444388.600153][6051:6056] CHIP:DMG: ReportDataMessage = + [1655444388.600204][6051:6056] CHIP:DMG: { + [1655444388.600233][6051:6056] CHIP:DMG: AttributeReportIBs = + [1655444388.600274][6051:6056] CHIP:DMG: [ + [1655444388.600318][6051:6056] CHIP:DMG: AttributeReportIB = + [1655444388.600375][6051:6056] CHIP:DMG: { + [1655444388.600410][6051:6056] CHIP:DMG: AttributeDataIB = + [1655444388.600461][6051:6056] CHIP:DMG: { + [1655444388.600505][6051:6056] CHIP:DMG: DataVersion = 0xbaa8e8e3, + [1655444388.600560][6051:6056] CHIP:DMG: AttributePathIB = + [1655444388.600605][6051:6056] CHIP:DMG: { + [1655444388.600662][6051:6056] CHIP:DMG: Endpoint = 0x0, + [1655444388.600718][6051:6056] CHIP:DMG: Cluster = 0x2a, + [1655444388.600764][6051:6056] CHIP:DMG: Attribute = 0x0000_0002, + [1655444388.600819][6051:6056] CHIP:DMG: } + [1655444388.600876][6051:6056] CHIP:DMG: + [1655444388.600922][6051:6056] CHIP:DMG: Data = 1, + [1655444388.600975][6051:6056] CHIP:DMG: }, + [1655444388.601031][6051:6056] CHIP:DMG: + [1655444388.601069][6051:6056] CHIP:DMG: }, + [1655444388.601120][6051:6056] CHIP:DMG: + [1655444388.601153][6051:6056] CHIP:DMG: ], + [1655444388.601207][6051:6056] CHIP:DMG: + [1655444388.601242][6051:6056] CHIP:DMG: SuppressResponse = true, + [1655444388.601286][6051:6056] CHIP:DMG: InteractionModelRevision = 1 + [1655444388.601318][6051:6056] CHIP:DMG: } + [1655444388.601501][6051:6056] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_002A Attribute 0x0000_0002 DataVersion: 3131631843 + [1655444388.601611][6051:6056] CHIP:TOO: UpdateState: 1 disabled: true - label: diff --git a/src/app/tests/suites/certification/Test_TC_TFL_1_1.yaml b/src/app/tests/suites/certification/Test_TC_TFL_1_1.yaml index 139b00484ea735..640b173f220067 100644 --- a/src/app/tests/suites/certification/Test_TC_TFL_1_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_TFL_1_1.yaml @@ -21,12 +21,7 @@ config: endpoint: 0 tests: - - label: "Commission DUT to TH" - verification: | - - disabled: true - - - label: "DUT reads the ClusterRevision from TH" + - label: "DUT reads from the TH the (0xFFFD) ClusterRevision attribute" verification: | ./chip-tool timeformatlocalization read cluster-revision 1 0 @@ -34,68 +29,42 @@ tests: [1651185991606] [10988:109915] CHIP: [TOO] ClusterRevision: 1 disabled: true - - label: "DUT reads the FeatureMap from TH" + - label: "DUT reads from the TH the (0xFFFC) FeatureMap attribute" verification: | ./chip-tool timeformatlocalization read feature-map 1 0 - [1651558695.673395][7718:7723] CHIP:DMG: ReportDataMessage = - [1651558695.673439][7718:7723] CHIP:DMG: { - [1651558695.673474][7718:7723] CHIP:DMG: AttributeReportIBs = - [1651558695.673524][7718:7723] CHIP:DMG: [ - [1651558695.673564][7718:7723] CHIP:DMG: AttributeReportIB = - [1651558695.673619][7718:7723] CHIP:DMG: { - [1651558695.673662][7718:7723] CHIP:DMG: AttributeStatusIB = - [1651558695.673714][7718:7723] CHIP:DMG: { - [1651558695.673762][7718:7723] CHIP:DMG: AttributePathIB = - [1651558695.673816][7718:7723] CHIP:DMG: { - [1651558695.673873][7718:7723] CHIP:DMG: Endpoint = 0x0, - [1651558695.673930][7718:7723] CHIP:DMG: Cluster = 0x2c, - [1651558695.674049][7718:7723] CHIP:DMG: Attribute = 0x0000_FFFC, - [1651558695.674104][7718:7723] CHIP:DMG: } - [1651558695.674166][7718:7723] CHIP:DMG: - [1651558695.674220][7718:7723] CHIP:DMG: StatusIB = - [1651558695.674279][7718:7723] CHIP:DMG: { - [1651558695.674333][7718:7723] CHIP:DMG: status = 0x86 (UNSUPPORTED_ATTRIBUTE), - [1651558695.674391][7718:7723] CHIP:DMG: }, - [1651558695.674446][7718:7723] CHIP:DMG: - [1651558695.674499][7718:7723] CHIP:DMG: }, - [1651558695.674555][7718:7723] CHIP:DMG: - [1651558695.674599][7718:7723] CHIP:DMG: }, - [1651558695.674651][7718:7723] CHIP:DMG: - [1651558695.674691][7718:7723] CHIP:DMG: ], - [1651558695.674740][7718:7723] CHIP:DMG: - [1651558695.674779][7718:7723] CHIP:DMG: SuppressResponse = true, - [1651558695.674820][7718:7723] CHIP:DMG: InteractionModelRevision = 1 - [1651558695.674857][7718:7723] CHIP:DMG: } - [1651558695.675021][7718:7723] CHIP:TOO: Response Failure: IM Error 0x00000586: General error: 0x86 (UNSUPPORTED_ATTRIBUTE) + [1653379129.497852][7509:7514] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_002C Attribute 0x0000_FFFC DataVersion: 724978222 + [1653379129.497936][7509:7514] CHIP:TOO: FeatureMap: 0 disabled: true - - label: "DUT reads AttributeList from TH" + - label: "DUT reads from the TH the (0xFFFB) AttributeList attribute" verification: | ./chip-tool timeformatlocalization read attribute-list 1 0 - [1651186148313] [11054:111653] CHIP: [TOO] Endpoint: 0 Cluster: 0x0000_002C Attribute 0x0000_FFFB DataVersion: 3316530441 - [1651186148314] [11054:111653] CHIP: [TOO] AttributeList: 7 entries - [1651186148314] [11054:111653] CHIP: [TOO] [1]: 0 - [1651186148314] [11054:111653] CHIP: [TOO] [2]: 1 - [1651186148314] [11054:111653] CHIP: [TOO] [3]: 2 - [1651186148314] [11054:111653] CHIP: [TOO] [4]: 65528 - [1651186148314] [11054:111653] CHIP: [TOO] [5]: 65529 - [1651186148314] [11054:111653] CHIP: [TOO] [6]: 65531 - [1651186148314] [11054:111653] CHIP: [TOO] [7]: 65533 + [1653999139.214139][7477:7482] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_002C Attribute 0x0000_FFFB DataVersion: 3201720795 + [1653999139.214208][7477:7482] CHIP:TOO: AttributeList: 8 entries + [1653999139.214241][7477:7482] CHIP:TOO: [1]: 0 + [1653999139.214267][7477:7482] CHIP:TOO: [2]: 1 + [1653999139.214293][7477:7482] CHIP:TOO: [3]: 2 + [1653999139.214320][7477:7482] CHIP:TOO: [4]: 65528 + [1653999139.214345][7477:7482] CHIP:TOO: [5]: 65529 + [1653999139.214371][7477:7482] CHIP:TOO: [6]: 65531 + [1653999139.214397][7477:7482] CHIP:TOO: [7]: 65532 + [1653999139.214422][7477:7482] CHIP:TOO: [8]: 65533 + [1653999139.214522][7477:7482] CHIP:EM: Sending Standalone Ack for MessageCounter:5643805 on exchange 4737i disabled: true - - label: "DUT reads EventList from TH" + - label: "DUT reads from the TH the (0xFFFA) EventList attribute" verification: | Out of scope for V1.0 disabled: true - - label: "DUT reads the AcceptedCommandList from the TH" + - label: "DUT reads from the TH the (0xFFF9) AcceptedCommandList attribute" verification: | ./chip-tool timeformatlocalization read accepted-command-list 1 0 [1651186189564] [11076:112595] CHIP: [TOO] Endpoint: 0 Cluster: 0x0000_002C Attribute 0x0000_FFF9 DataVersion: 3316530441 [1651186189564] [11076:112595] CHIP: [TOO] AcceptedCommandList: 0 entries disabled: true - - label: "DUT reads the GeneratedCommandList from the TH" + - label: "DUT reads from the TH the (0xFFF8) GeneratedCommandList attribute" verification: | ./chip-tool timeformatlocalization read generated-command-list 1 0 [1651191789962] [13591:180646] CHIP: [TOO] Endpoint: 0 Cluster: 0x0000_002C Attribute 0x0000_FFF8 DataVersion: 3316530441 diff --git a/src/app/tests/suites/certification/Test_TC_TFL_1_2.yaml b/src/app/tests/suites/certification/Test_TC_TFL_1_2.yaml index 32676f0611a983..37a10523895112 100644 --- a/src/app/tests/suites/certification/Test_TC_TFL_1_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_TFL_1_2.yaml @@ -21,12 +21,7 @@ config: endpoint: 0 tests: - - label: "Commission TH to DUT" - verification: | - - disabled: true - - - label: "TH reads the ClusterRevision from DUT" + - label: "TH reads from the DUT the (0xFFFD) ClusterRevision attribute" verification: | ./chip-tool timeformatlocalization read cluster-revision 1 0 @@ -34,43 +29,16 @@ tests: [1651185991606] [10988:109915] CHIP: [TOO] ClusterRevision: 1 disabled: true - - label: "TH reads the FeatureMap from DUT" + - label: "TH reads from the DUT the (0xFFFC) FeatureMap attribute" verification: | ./chip-tool timeformatlocalization read feature-map 1 0 - [1651558695.673395][7718:7723] CHIP:DMG: ReportDataMessage = - [1651558695.673439][7718:7723] CHIP:DMG: { - [1651558695.673474][7718:7723] CHIP:DMG: AttributeReportIBs = - [1651558695.673524][7718:7723] CHIP:DMG: [ - [1651558695.673564][7718:7723] CHIP:DMG: AttributeReportIB = - [1651558695.673619][7718:7723] CHIP:DMG: { - [1651558695.673662][7718:7723] CHIP:DMG: AttributeStatusIB = - [1651558695.673714][7718:7723] CHIP:DMG: { - [1651558695.673762][7718:7723] CHIP:DMG: AttributePathIB = - [1651558695.673816][7718:7723] CHIP:DMG: { - [1651558695.673873][7718:7723] CHIP:DMG: Endpoint = 0x0, - [1651558695.673930][7718:7723] CHIP:DMG: Cluster = 0x2c, - [1651558695.674049][7718:7723] CHIP:DMG: Attribute = 0x0000_FFFC, - [1651558695.674104][7718:7723] CHIP:DMG: } - [1651558695.674166][7718:7723] CHIP:DMG: - [1651558695.674220][7718:7723] CHIP:DMG: StatusIB = - [1651558695.674279][7718:7723] CHIP:DMG: { - [1651558695.674333][7718:7723] CHIP:DMG: status = 0x86 (UNSUPPORTED_ATTRIBUTE), - [1651558695.674391][7718:7723] CHIP:DMG: }, - [1651558695.674446][7718:7723] CHIP:DMG: - [1651558695.674499][7718:7723] CHIP:DMG: }, - [1651558695.674555][7718:7723] CHIP:DMG: - [1651558695.674599][7718:7723] CHIP:DMG: }, - [1651558695.674651][7718:7723] CHIP:DMG: - [1651558695.674691][7718:7723] CHIP:DMG: ], - [1651558695.674740][7718:7723] CHIP:DMG: - [1651558695.674779][7718:7723] CHIP:DMG: SuppressResponse = true, - [1651558695.674820][7718:7723] CHIP:DMG: InteractionModelRevision = 1 - [1651558695.674857][7718:7723] CHIP:DMG: } - [1651558695.675021][7718:7723] CHIP:TOO: Response Failure: IM Error 0x00000586: General error: 0x86 (UNSUPPORTED_ATTRIBUTE)" + [1653400472.682259][11385:11390] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_002C Attribute 0x0000_FFFC DataVersion: 4156010624 + [1653400472.682314][11385:11390] CHIP:TOO: FeatureMap: 0 + [1653400472.682416][11385:11390] CHIP:EM: Sending Standalone Ack for MessageCounter:10442089 on exchange 10027i disabled: true - - label: "TH reads AttributeList from DUT" + - label: "TH reads from the DUT the (0xFFFB) AttributeList attribute" verification: | ./chip-tool timeformatlocalization read attribute-list 1 0 [1651186148313] [11054:111653] CHIP: [TOO] Endpoint: 0 Cluster: 0x0000_002C Attribute 0x0000_FFFB DataVersion: 3316530441 @@ -84,19 +52,19 @@ tests: [1651186148314] [11054:111653] CHIP: [TOO] [7]: 65533 disabled: true - - label: "TH reads EventList from DUT" + - label: "TH reads from the DUT the (0xFFFA) EventList attribute" verification: | Out of scope for V1.0 disabled: true - - label: "TH reads the AcceptedCommandList from the DUT" + - label: "TH reads from the DUT the (0xFFF9) AcceptedCommandList attribute" verification: | ./chip-tool timeformatlocalization read accepted-command-list 1 0 [1651186189564] [11076:112595] CHIP: [TOO] Endpoint: 0 Cluster: 0x0000_002C Attribute 0x0000_FFF9 DataVersion: 3316530441 [1651186189564] [11076:112595] CHIP: [TOO] AcceptedCommandList: 0 entries disabled: true - - label: "TH reads the GeneratedCommandList from the DUT" + - label: "TH reads from the DUT the (0xFFF8) GeneratedCommandList attribute" verification: | ./chip-tool timeformatlocalization read generated-command-list 1 0 [1651191789962] [13591:180646] CHIP: [TOO] Endpoint: 0 Cluster: 0x0000_002C Attribute 0x0000_FFF8 DataVersion: 3316530441 diff --git a/src/app/tests/suites/certification/Test_TC_TFL_2_1.yaml b/src/app/tests/suites/certification/Test_TC_TFL_2_1.yaml index f5a3c9dd33f242..afb7623220d025 100644 --- a/src/app/tests/suites/certification/Test_TC_TFL_2_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_TFL_2_1.yaml @@ -14,7 +14,7 @@ # Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default name: - 3.3. [TC-TFL-2.1]Read and Write Time Format Localization Cluster Attributes + 3.3. [TC-TFL-2.1] Read and Write Time Format Localization Cluster Attributes [DUT as Client] config: @@ -24,6 +24,7 @@ config: tests: - label: "DUT reads HourFormat attribute from TH" + PICS: LTIME.C.A0000 verification: | ./chip-tool timeformatlocalization read hour-format 1 0 [1651194182.833570][4306:4306] CHIP:DMG: ReadRequestMessage = @@ -44,7 +45,8 @@ tests: [1651194182.834010][4306:4306] CHIP:DMG: }, disabled: true - - label: "If (PICS_A_12HR) DUT writes 0 to HourFormat attribute" + - label: "If (LTIME.C.A0000.12HR) DUT writes 0 to HourFormat attribute" + PICS: LTIME.C.A0000.12HR verification: | ./chip-tool timeformatlocalization write hour-format 0 1 0 [1651192743.617047][4306:4306] CHIP:DMG: WriteRequestMessage = @@ -73,6 +75,7 @@ tests: disabled: true - label: "DUT reads HourFormat attribute" + PICS: LTIME.C.A0000 verification: | ./chip-tool timeformatlocalization read hour-format 1 0 [1651194182.833570][4306:4306] CHIP:DMG: ReadRequestMessage = @@ -93,7 +96,8 @@ tests: [1651194182.834010][4306:4306] CHIP:DMG: }, disabled: true - - label: "If (PICS_A_24HR) DUT writes 1 to HourFormat attribute" + - label: "If (LTIME.C.A0000.24HR) DUT writes 1 to HourFormat attribute" + PICS: LTIME.C.A0000.24HR verification: | ./chip-tool timeformatlocalization write hour-format 1 1 0 [1651193043.068804][4306:4306] CHIP:DMG: WriteRequestMessage = @@ -122,27 +126,16 @@ tests: disabled: true - label: "DUT reads HourFormat attribute" + PICS: LTIME.C.A0000 verification: | ./chip-tool timeformatlocalization read hour-format 1 0 - [1651194182.833570][4306:4306] CHIP:DMG: ReadRequestMessage = - [1651194182.833598][4306:4306] CHIP:DMG: { - [1651194182.833620][4306:4306] CHIP:DMG: AttributePathIBs = - [1651194182.833654][4306:4306] CHIP:DMG: [ - [1651194182.833679][4306:4306] CHIP:DMG: AttributePathIB = - [1651194182.833704][4306:4306] CHIP:DMG: { - [1651194182.833736][4306:4306] CHIP:DMG: Endpoint = 0x0, - [1651194182.833774][4306:4306] CHIP:DMG: Cluster = 0x2c, - [1651194182.833806][4306:4306] CHIP:DMG: Attribute = 0x0000_0000, - [1651194182.833837][4306:4306] CHIP:DMG: } - [1651194182.833869][4306:4306] CHIP:DMG: - [1651194182.833901][4306:4306] CHIP:DMG: ], - [1651194182.833929][4306:4306] CHIP:DMG: - [1651194182.833959][4306:4306] CHIP:DMG: isFabricFiltered = true, - [1651194182.833985][4306:4306] CHIP:DMG: InteractionModelRevision = 1 - [1651194182.834010][4306:4306] CHIP:DMG: }, + [1654605170.332304][7266:7271] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_002C Attribute 0x0000_0000 DataVersion: 3185003975 + [1654605170.332388][7266:7271] CHIP:TOO: HourFormat: 1 + [1654605170.332493][7266:7271] CHIP:EM: Sending Standalone Ack for MessageCounter:6045450 on exchange 44106i disabled: true - label: "DUT reads ActiveCalendarType attribute from DUT" + PICS: LTIME.C.A0001 verification: | ./chip-tool timeformatlocalization read active-calendar-type 1 0 [1651194266.987675][4306:4306] CHIP:DMG: ReadRequestMessage = @@ -164,6 +157,7 @@ tests: disabled: true - label: "DUT reads SupportedCalendarTypes attribute from DUT" + PICS: LTIME.C.A0002 verification: | ./chip-tool timeformatlocalization read supported-calendar-types 1 0 [1651194334.847912][4306:4306] CHIP:DMG: ReadRequestMessage = @@ -184,7 +178,10 @@ tests: [1651194334.848952][4306:4306] CHIP:DMG: }, disabled: true - - label: "If (PICS_A_Buddhist) DUT writes 0 to ActiveCalendarType attribute" + - label: + "If (0 in LTIME.C.A0002.SCT) DUT writes 0 to ActiveCalendarType + attribute" + PICS: LTIME.C.A0002.SCT verification: | ./chip-tool timeformatlocalization write active-calendar-type 0 1 0 @@ -214,6 +211,7 @@ tests: disabled: true - label: "DUT reads ActiveCalendarType attribute" + PICS: LTIME.C.A0001 verification: | ./chip-tool timeformatlocalization read active-calendar-type 1 0 [1651194544.718348][4306:4306] CHIP:DMG: ReadRequestMessage = @@ -234,7 +232,10 @@ tests: [1651194544.718911][4306:4306] CHIP:DMG: }, disabled: true - - label: "If (PICS_A_Chinese) DUT writes 1 to ActiveCalendarType attribute" + - label: + "If (1 in LTIME.C.A0002.SCT) DUT writes 1 to ActiveCalendarType + attribute" + PICS: LTIME.C.A0002.SCT verification: | ./chip-tool timeformatlocalization write active-calendar-type 1 1 0 @@ -264,6 +265,7 @@ tests: disabled: true - label: "DUT reads ActiveCalendarType attribute" + PICS: LTIME.C.A0001 verification: | ./chip-tool timeformatlocalization read active-calendar-type 1 0 [1651194544.718348][4306:4306] CHIP:DMG: ReadRequestMessage = @@ -284,7 +286,10 @@ tests: [1651194544.718911][4306:4306] CHIP:DMG: }, disabled: true - - label: "If (PICS_A_Coptic) DUT writes 2 to ActiveCalendarType attribute" + - label: + "If (2 in LTIME.C.A0002.SCT) DUT writes 2 to ActiveCalendarType + attribute" + PICS: LTIME.C.A0002.SCT verification: | ./chip-tool timeformatlocalization write active-calendar-type 2 1 0 @@ -314,6 +319,7 @@ tests: disabled: true - label: "DUT reads ActiveCalendarType attribute" + PICS: LTIME.C.A0001 verification: | ./chip-tool timeformatlocalization read active-calendar-type 1 0 [1651194544.718348][4306:4306] CHIP:DMG: ReadRequestMessage = @@ -335,7 +341,9 @@ tests: disabled: true - label: - "If (PICS_A_Ethiopian) DUT writes 3 to ActiveCalendarType attribute" + "If (3 in LTIME.C.A0002.SCT) DUT writes 3 to ActiveCalendarType + attribute" + PICS: LTIME.C.A0002.SCT verification: | ./chip-tool timeformatlocalization write active-calendar-type 3 1 0 @@ -365,6 +373,7 @@ tests: disabled: true - label: "DUT reads ActiveCalendarType attribute" + PICS: LTIME.C.A0001 verification: | ./chip-tool timeformatlocalization read active-calendar-type 1 0 [1651194544.718348][4306:4306] CHIP:DMG: ReadRequestMessage = @@ -386,7 +395,9 @@ tests: disabled: true - label: - "If (PICS_A_Gregorian) DUT writes 4 to ActiveCalendarType attribute" + "If (4 in LTIME.C.A0002.SCT) DUT writes 4 to ActiveCalendarType + attribute" + PICS: LTIME.C.A0002.SCT verification: | ./chip-tool timeformatlocalization write active-calendar-type 4 1 0 @@ -416,6 +427,7 @@ tests: disabled: true - label: "DUT reads ActiveCalendarType attribute" + PICS: LTIME.C.A0001 verification: | ./chip-tool timeformatlocalization read active-calendar-type 1 0 [1651194544.718348][4306:4306] CHIP:DMG: ReadRequestMessage = @@ -436,7 +448,10 @@ tests: [1651194544.718911][4306:4306] CHIP:DMG: }, disabled: true - - label: "If (PICS_A_Hebrew) DUT writes 5 to ActiveCalendarType attribute" + - label: + "If (5 in LTIME.C.A0002.SCT) DUT writes 5 to ActiveCalendarType + attribute" + PICS: LTIME.C.A0002.SCT verification: | ./chip-tool timeformatlocalization write active-calendar-type 5 1 0 @@ -466,6 +481,7 @@ tests: disabled: true - label: "DUT reads ActiveCalendarType attribute" + PICS: LTIME.C.A0001 verification: | ./chip-tool timeformatlocalization read active-calendar-type 1 0 [1651194544.718348][4306:4306] CHIP:DMG: ReadRequestMessage = @@ -486,7 +502,10 @@ tests: [1651194544.718911][4306:4306] CHIP:DMG: }, disabled: true - - label: "If (PICS_A_Indian) DUT writes 6 to ActiveCalendarType attribute" + - label: + "If (6 in LTIME.C.A0002.SCT) DUT writes 6 to ActiveCalendarType + attribute" + PICS: LTIME.C.A0002.SCT verification: | ./chip-tool timeformatlocalization write active-calendar-type 6 1 0 @@ -516,6 +535,7 @@ tests: disabled: true - label: "DUT reads ActiveCalendarType attribute" + PICS: LTIME.C.A0001 verification: | ./chip-tool timeformatlocalization read active-calendar-type 1 0 [1651194544.718348][4306:4306] CHIP:DMG: ReadRequestMessage = @@ -536,7 +556,10 @@ tests: [1651194544.718911][4306:4306] CHIP:DMG: }, disabled: true - - label: "If (PICS_A_Islamic) DUT writes 7 to ActiveCalendarType attribute" + - label: + "If (7 in LTIME.C.A0002.SCT) DUT writes 7 to ActiveCalendarType + attribute" + PICS: LTIME.C.A0002.SCT verification: | ./chip-tool timeformatlocalization write active-calendar-type 7 1 0 @@ -566,6 +589,7 @@ tests: disabled: true - label: "DUT reads ActiveCalendarType attribute" + PICS: LTIME.C.A0001 verification: | ./chip-tool timeformatlocalization read active-calendar-type 1 0 [1651194544.718348][4306:4306] CHIP:DMG: ReadRequestMessage = @@ -586,7 +610,10 @@ tests: [1651194544.718911][4306:4306] CHIP:DMG: }, disabled: true - - label: "If (PICS_A_Japanese) DUT writes 8 to ActiveCalendarType attribute" + - label: + "If (8 in LTIME.C.A0002.SCT) DUT writes 8 to ActiveCalendarType + attribute" + PICS: LTIME.C.A0002.SCT verification: | ./chip-tool timeformatlocalization write active-calendar-type 8 1 0 @@ -616,6 +643,7 @@ tests: disabled: true - label: "DUT reads ActiveCalendarType attribute" + PICS: LTIME.C.A0001 verification: | ./chip-tool timeformatlocalization read active-calendar-type 1 0 [1651194544.718348][4306:4306] CHIP:DMG: ReadRequestMessage = @@ -636,7 +664,10 @@ tests: [1651194544.718911][4306:4306] CHIP:DMG: }, disabled: true - - label: "If (PICS_A_Korean) DUT writes 9 to ActiveCalendarType attribute" + - label: + "If (9 in LTIME.C.A0002.SCT) DUT writes 9 to ActiveCalendarType + attribute" + PICS: LTIME.C.A0002.SCT verification: | ./chip-tool timeformatlocalization write active-calendar-type 9 1 0 @@ -666,6 +697,7 @@ tests: disabled: true - label: "DUT reads ActiveCalendarType attribute" + PICS: LTIME.C.A0001 verification: | ./chip-tool timeformatlocalization read active-calendar-type 1 0 [1651194544.718348][4306:4306] CHIP:DMG: ReadRequestMessage = @@ -686,7 +718,10 @@ tests: [1651194544.718911][4306:4306] CHIP:DMG: }, disabled: true - - label: "If (PICS_A_Persian) DUT writes 10 to ActiveCalendarType attribute" + - label: + "If (10 in LTIME.C.A0002.SCT) DUT writes 10 to ActiveCalendarType + attribute" + PICS: LTIME.C.A0002.SCT verification: | ./chip-tool timeformatlocalization write active-calendar-type 10 1 0 @@ -716,6 +751,7 @@ tests: disabled: true - label: "DUT reads ActiveCalendarType attribute" + PICS: LTIME.C.A0001 verification: | ./chip-tool timeformatlocalization read active-calendar-type 1 0 [1651194544.718348][4306:4306] CHIP:DMG: ReadRequestMessage = @@ -737,7 +773,9 @@ tests: disabled: true - label: - "If (PICS_A_Taiwanese) DUT writes 11 to ActiveCalendarType attribute" + "If (11 in LTIME.C.A0002.SCT) DUT writes 11 to ActiveCalendarType + attribute" + PICS: LTIME.C.A0002.SCT verification: | ./chip-tool timeformatlocalization write active-calendar-type 11 1 0 @@ -767,6 +805,7 @@ tests: disabled: true - label: "DUT reads ActiveCalendarType attribute" + PICS: LTIME.C.A0001 verification: | ./chip-tool timeformatlocalization read active-calendar-type 1 0 [1651194544.718348][4306:4306] CHIP:DMG: ReadRequestMessage = diff --git a/src/app/tests/suites/certification/Test_TC_TFL_2_2.yaml b/src/app/tests/suites/certification/Test_TC_TFL_3_1.yaml similarity index 66% rename from src/app/tests/suites/certification/Test_TC_TFL_2_2.yaml rename to src/app/tests/suites/certification/Test_TC_TFL_3_1.yaml index 7a09739f1b80b4..0fa91e06332f59 100644 --- a/src/app/tests/suites/certification/Test_TC_TFL_2_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_TFL_3_1.yaml @@ -14,7 +14,7 @@ # Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default name: - 3.4. [TC-TFL-2.2]Read and Write Time Format Localization Cluster Attributes + 3.4. [TC-TFL-3.1]Read and Write Time Format Localization Cluster Attributes [DUT as Server] config: @@ -24,6 +24,7 @@ config: tests: - label: "TH reads HourFormat attribute from DUT" + PICS: LTIME.S.A0000 verification: | ./chip-tool timeformatlocalization read hour-format 1 0 [1651191944157] [13649:182326] CHIP: [TOO] Endpoint: 0 Cluster: 0x0000_002C Attribute 0x0000_0000 DataVersion: 3316530441 @@ -31,6 +32,7 @@ tests: disabled: true - label: "If (PICS_A_12HR) TH writes 0 to HourFormat attribute" + PICS: LTIME.S.A0000.12HR verification: | ./chip-tool timeformatlocalization write hour-format 0 1 0 [1651192743588] [14026:192208] CHIP: [DMG] WriteResponseMessage = @@ -60,6 +62,7 @@ tests: disabled: true - label: "TH reads HourFormat attribute" + PICS: LTIME.S.A0000 verification: | ./chip-tool timeformatlocalization read hour-format 1 0 [1651193120969] [14169:196901] CHIP: [TOO] Endpoint: 0 Cluster: 0x0000_002C Attribute 0x0000_0000 DataVersion: 3316530443 @@ -67,6 +70,7 @@ tests: disabled: true - label: "If (PICS_A_24HR) TH writes 1 to HourFormat attribute" + PICS: LTIME.S.A0000.24HR verification: | ./chip-tool timeformatlocalization write hour-format 1 1 0 [1651193043035] [14140:195730] CHIP: [DMG] WriteResponseMessage = @@ -97,6 +101,7 @@ tests: disabled: true - label: "TH reads HourFormat attribute" + PICS: LTIME.S.A0000 verification: | ./chip-tool timeformatlocalization read hour-format 1 0 [1651193120969] [14169:196901] CHIP: [TOO] Endpoint: 0 Cluster: 0x0000_002C Attribute 0x0000_0000 DataVersion: 3316530443 @@ -104,6 +109,7 @@ tests: disabled: true - label: "TH reads ActiveCalendarType attribute from DUT" + PICS: LTIME.S.A0001 verification: | ./chip-tool timeformatlocalization read active-calendar-type 1 0 [1651193250602] [14215:198406] CHIP: [TOO] Endpoint: 0 Cluster: 0x0000_002C Attribute 0x0000_0001 DataVersion: 3316530443 @@ -111,6 +117,7 @@ tests: disabled: true - label: "TH reads SupportedCalendarTypes attribute from DUT" + PICS: LTIME.S.A0002 verification: | ./chip-tool timeformatlocalization read supported-calendar-types 1 0 [1651194334793] [14653:210647] CHIP: [TOO] Endpoint: 0 Cluster: 0x0000_002C Attribute 0x0000_0002 DataVersion: 3316530443 @@ -129,7 +136,10 @@ tests: [1651194334794] [14653:210647] CHIP: [TOO] [12]: 11 disabled: true - - label: "If (PICS_A_Buddhist) TH writes 0 to ActiveCalendarType attribute" + - label: + "If (0 in LTIME.S.A0002.SCT) TH writes 0 to ActiveCalendarType + attribute" + PICS: LTIME.S.A0002.SCT verification: | ./chip-tool timeformatlocalization write active-calendar-type 0 1 0 [1651194449245] [14699:212201] CHIP: [DMG] WriteResponseMessage = @@ -159,6 +169,7 @@ tests: disabled: true - label: "TH reads ActiveCalendarType attribute" + PICS: LTIME.S.A0001 verification: | ./chip-tool timeformatlocalization read active-calendar-type 1 0 [1651194544627] [14736:213553] CHIP: [DMG] ReportDataMessage = @@ -189,7 +200,10 @@ tests: [1651194544627] [14736:213553] CHIP: [DMG] } disabled: true - - label: "If (PICS_A_Chinese) TH writes 1 to ActiveCalendarType attribute" + - label: + "If (1 in LTIME.S.A0002.SCT) TH writes 1 to ActiveCalendarType + attribute" + PICS: LTIME.S.A0002.SCT verification: | ./chip-tool timeformatlocalization write active-calendar-type 1 1 0 [1651194780019] [14823:216414] CHIP: [DMG] WriteResponseMessage = @@ -219,6 +233,7 @@ tests: disabled: true - label: "TH reads ActiveCalendarType attribute" + PICS: LTIME.S.A0001 verification: | ./chip-tool timeformatlocalization read active-calendar-type 1 0 [1651194544627] [14736:213553] CHIP: [DMG] ReportDataMessage = @@ -249,7 +264,10 @@ tests: [1651194544627] [14736:213553] CHIP: [DMG] } disabled: true - - label: "If (PICS_A_Coptic) TH writes 2 to ActiveCalendarType attribute" + - label: + "If (2 in LTIME.S.A0002.SCT) TH writes 2 to ActiveCalendarType + attribute" + PICS: LTIME.S.A0002.SCT verification: | ./chip-tool timeformatlocalization write active-calendar-type 2 1 0 [1651194780019] [14823:216414] CHIP: [DMG] WriteResponseMessage = @@ -279,37 +297,20 @@ tests: disabled: true - label: "TH reads ActiveCalendarType attribute" + PICS: LTIME.S.A0001 verification: | ./chip-tool timeformatlocalization read active-calendar-type 1 0 - [1651194544627] [14736:213553] CHIP: [DMG] ReportDataMessage = - [1651194544627] [14736:213553] CHIP: [DMG] { - [1651194544627] [14736:213553] CHIP: [DMG] AttributeReportIBs = - [1651194544627] [14736:213553] CHIP: [DMG] [ - [1651194544627] [14736:213553] CHIP: [DMG] AttributeReportIB = - [1651194544627] [14736:213553] CHIP: [DMG] { - [1651194544627] [14736:213553] CHIP: [DMG] AttributeDataIB = - [1651194544627] [14736:213553] CHIP: [DMG] { - [1651194544627] [14736:213553] CHIP: [DMG] DataVersion = 0xc5ae3d0c, - [1651194544627] [14736:213553] CHIP: [DMG] AttributePathIB = - [1651194544627] [14736:213553] CHIP: [DMG] { - [1651194544627] [14736:213553] CHIP: [DMG] Endpoint = 0x0, - [1651194544627] [14736:213553] CHIP: [DMG] Cluster = 0x2c, - [1651194544627] [14736:213553] CHIP: [DMG] Attribute = 0x0000_0001, - [1651194544627] [14736:213553] CHIP: [DMG] } - [1651194544627] [14736:213553] CHIP: [DMG] - [1651194544627] [14736:213553] CHIP: [DMG] Data = 2, - [1651194544627] [14736:213553] CHIP: [DMG] }, - [1651194544627] [14736:213553] CHIP: [DMG] - [1651194544627] [14736:213553] CHIP: [DMG] }, - [1651194544627] [14736:213553] CHIP: [DMG] - [1651194544627] [14736:213553] CHIP: [DMG] ], - [1651194544627] [14736:213553] CHIP: [DMG] - [1651194544627] [14736:213553] CHIP: [DMG] SuppressResponse = true, - [1651194544627] [14736:213553] CHIP: [DMG] InteractionModelRevision = 1 + [1655184715.197446][2276:2281] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_002C Attribute 0x0000_0001 DataVersion: 3044477121 + [1655184715.197524][2276:2281] CHIP:TOO: ActiveCalendarType: 2 + [1655184715.197650][2276:2281] CHIP:EM: Sending Standalone Ack for MessageCounter:27645137 on exchange 37300i + InteractionModelRevision = 1 [1651194544627] [14736:213553] CHIP: [DMG] } disabled: true - - label: "If (PICS_A_Ethiopian) TH writes 3 to ActiveCalendarType attribute" + - label: + "If (3 in LTIME.S.A0002.SCT) TH writes 3 to ActiveCalendarType + attribute" + PICS: LTIME.S.A0002.SCT verification: | ./chip-tool timeformatlocalization write active-calendar-type 3 1 0 [1651194780019] [14823:216414] CHIP: [DMG] WriteResponseMessage = @@ -339,37 +340,18 @@ tests: disabled: true - label: "TH reads ActiveCalendarType attribute" + PICS: LTIME.S.A0001 verification: | ./chip-tool timeformatlocalization read active-calendar-type 1 0 - [1651194544627] [14736:213553] CHIP: [DMG] ReportDataMessage = - [1651194544627] [14736:213553] CHIP: [DMG] { - [1651194544627] [14736:213553] CHIP: [DMG] AttributeReportIBs = - [1651194544627] [14736:213553] CHIP: [DMG] [ - [1651194544627] [14736:213553] CHIP: [DMG] AttributeReportIB = - [1651194544627] [14736:213553] CHIP: [DMG] { - [1651194544627] [14736:213553] CHIP: [DMG] AttributeDataIB = - [1651194544627] [14736:213553] CHIP: [DMG] { - [1651194544627] [14736:213553] CHIP: [DMG] DataVersion = 0xc5ae3d0c, - [1651194544627] [14736:213553] CHIP: [DMG] AttributePathIB = - [1651194544627] [14736:213553] CHIP: [DMG] { - [1651194544627] [14736:213553] CHIP: [DMG] Endpoint = 0x0, - [1651194544627] [14736:213553] CHIP: [DMG] Cluster = 0x2c, - [1651194544627] [14736:213553] CHIP: [DMG] Attribute = 0x0000_0001, - [1651194544627] [14736:213553] CHIP: [DMG] } - [1651194544627] [14736:213553] CHIP: [DMG] - [1651194544627] [14736:213553] CHIP: [DMG] Data = 3, - [1651194544627] [14736:213553] CHIP: [DMG] }, - [1651194544627] [14736:213553] CHIP: [DMG] - [1651194544627] [14736:213553] CHIP: [DMG] }, - [1651194544627] [14736:213553] CHIP: [DMG] - [1651194544627] [14736:213553] CHIP: [DMG] ], - [1651194544627] [14736:213553] CHIP: [DMG] - [1651194544627] [14736:213553] CHIP: [DMG] SuppressResponse = true, - [1651194544627] [14736:213553] CHIP: [DMG] InteractionModelRevision = 1 - [1651194544627] [14736:213553] CHIP: [DMG] } + [1655184753.237947][2289:2294] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_002C Attribute 0x0000_0001 DataVersion: 3044477122 + [1655184753.238025][2289:2294] CHIP:TOO: ActiveCalendarType: 3 + [1655184753.238126][2289:2294] CHIP:EM: Sending Standalone Ack for MessageCounter:167097094 on exchange 10188i disabled: true - - label: "If (PICS_A_Gregorian) TH writes 4 to ActiveCalendarType attribute" + - label: + "If (4 in LTIME.S.A0002.SCT) TH writes 4 to ActiveCalendarType + attribute" + PICS: LTIME.S.A0002.SCT verification: | ./chip-tool timeformatlocalization write active-calendar-type 4 1 0 @@ -400,37 +382,18 @@ tests: disabled: true - label: "TH reads ActiveCalendarType attribute" + PICS: LTIME.S.A0001 verification: | ./chip-tool timeformatlocalization read active-calendar-type 1 0 - [1651194544627] [14736:213553] CHIP: [DMG] ReportDataMessage = - [1651194544627] [14736:213553] CHIP: [DMG] { - [1651194544627] [14736:213553] CHIP: [DMG] AttributeReportIBs = - [1651194544627] [14736:213553] CHIP: [DMG] [ - [1651194544627] [14736:213553] CHIP: [DMG] AttributeReportIB = - [1651194544627] [14736:213553] CHIP: [DMG] { - [1651194544627] [14736:213553] CHIP: [DMG] AttributeDataIB = - [1651194544627] [14736:213553] CHIP: [DMG] { - [1651194544627] [14736:213553] CHIP: [DMG] DataVersion = 0xc5ae3d0c, - [1651194544627] [14736:213553] CHIP: [DMG] AttributePathIB = - [1651194544627] [14736:213553] CHIP: [DMG] { - [1651194544627] [14736:213553] CHIP: [DMG] Endpoint = 0x0, - [1651194544627] [14736:213553] CHIP: [DMG] Cluster = 0x2c, - [1651194544627] [14736:213553] CHIP: [DMG] Attribute = 0x0000_0001, - [1651194544627] [14736:213553] CHIP: [DMG] } - [1651194544627] [14736:213553] CHIP: [DMG] - [1651194544627] [14736:213553] CHIP: [DMG] Data = 4, - [1651194544627] [14736:213553] CHIP: [DMG] }, - [1651194544627] [14736:213553] CHIP: [DMG] - [1651194544627] [14736:213553] CHIP: [DMG] }, - [1651194544627] [14736:213553] CHIP: [DMG] - [1651194544627] [14736:213553] CHIP: [DMG] ], - [1651194544627] [14736:213553] CHIP: [DMG] - [1651194544627] [14736:213553] CHIP: [DMG] SuppressResponse = true, - [1651194544627] [14736:213553] CHIP: [DMG] InteractionModelRevision = 1 - [1651194544627] [14736:213553] CHIP: [DMG] } + [1655184774.541839][2301:2306] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_002C Attribute 0x0000_0001 DataVersion: 3044477123 + [1655184774.541949][2301:2306] CHIP:TOO: ActiveCalendarType: 4 + [1655184774.542080][2301:2306] CHIP:EM: Sending Standalone Ack for MessageCounter:20884820 on exchange 35148i disabled: true - - label: "If (PICS_A_Hebrew) TH writes 5 to ActiveCalendarType attribute" + - label: + "If (5 in LTIME.S.A0002.SCT) TH writes 5 to ActiveCalendarType + attribute" + PICS: LTIME.S.A0002.SCT verification: | ./chip-tool timeformatlocalization write active-calendar-type 5 1 0 [1651194780019] [14823:216414] CHIP: [DMG] WriteResponseMessage = @@ -460,37 +423,18 @@ tests: disabled: true - label: "TH reads ActiveCalendarType attribute" + PICS: LTIME.S.A0001 verification: | ./chip-tool timeformatlocalization read active-calendar-type 1 0 - [1651194544627] [14736:213553] CHIP: [DMG] ReportDataMessage = - [1651194544627] [14736:213553] CHIP: [DMG] { - [1651194544627] [14736:213553] CHIP: [DMG] AttributeReportIBs = - [1651194544627] [14736:213553] CHIP: [DMG] [ - [1651194544627] [14736:213553] CHIP: [DMG] AttributeReportIB = - [1651194544627] [14736:213553] CHIP: [DMG] { - [1651194544627] [14736:213553] CHIP: [DMG] AttributeDataIB = - [1651194544627] [14736:213553] CHIP: [DMG] { - [1651194544627] [14736:213553] CHIP: [DMG] DataVersion = 0xc5ae3d0c, - [1651194544627] [14736:213553] CHIP: [DMG] AttributePathIB = - [1651194544627] [14736:213553] CHIP: [DMG] { - [1651194544627] [14736:213553] CHIP: [DMG] Endpoint = 0x0, - [1651194544627] [14736:213553] CHIP: [DMG] Cluster = 0x2c, - [1651194544627] [14736:213553] CHIP: [DMG] Attribute = 0x0000_0001, - [1651194544627] [14736:213553] CHIP: [DMG] } - [1651194544627] [14736:213553] CHIP: [DMG] - [1651194544627] [14736:213553] CHIP: [DMG] Data = 5, - [1651194544627] [14736:213553] CHIP: [DMG] }, - [1651194544627] [14736:213553] CHIP: [DMG] - [1651194544627] [14736:213553] CHIP: [DMG] }, - [1651194544627] [14736:213553] CHIP: [DMG] - [1651194544627] [14736:213553] CHIP: [DMG] ], - [1651194544627] [14736:213553] CHIP: [DMG] - [1651194544627] [14736:213553] CHIP: [DMG] SuppressResponse = true, - [1651194544627] [14736:213553] CHIP: [DMG] InteractionModelRevision = 1 - [1651194544627] [14736:213553] CHIP: [DMG] } + [1655184794.906220][2314:2319] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_002C Attribute 0x0000_0001 DataVersion: 3044477124 + [1655184794.906340][2314:2319] CHIP:TOO: ActiveCalendarType: 5 + [1655184794.906501][2314:2319] CHIP:EM: Sending Standalone Ack for MessageCounter:238991245 on exchange 63616i disabled: true - - label: "If (PICS_A_Indian) TH writes 6 to ActiveCalendarType attribute" + - label: + "If (6 in LTIME.S.A0002.SCT) TH writes 6 to ActiveCalendarType + attribute" + PICS: LTIME.S.A0002.SCT verification: | ./chip-tool timeformatlocalization write active-calendar-type 6 1 0 [1651194780019] [14823:216414] CHIP: [DMG] WriteResponseMessage = @@ -520,37 +464,18 @@ tests: disabled: true - label: "TH reads ActiveCalendarType attribute" + PICS: LTIME.S.A0001 verification: | ./chip-tool timeformatlocalization read active-calendar-type 1 0 - [1651194544627] [14736:213553] CHIP: [DMG] ReportDataMessage = - [1651194544627] [14736:213553] CHIP: [DMG] { - [1651194544627] [14736:213553] CHIP: [DMG] AttributeReportIBs = - [1651194544627] [14736:213553] CHIP: [DMG] [ - [1651194544627] [14736:213553] CHIP: [DMG] AttributeReportIB = - [1651194544627] [14736:213553] CHIP: [DMG] { - [1651194544627] [14736:213553] CHIP: [DMG] AttributeDataIB = - [1651194544627] [14736:213553] CHIP: [DMG] { - [1651194544627] [14736:213553] CHIP: [DMG] DataVersion = 0xc5ae3d0c, - [1651194544627] [14736:213553] CHIP: [DMG] AttributePathIB = - [1651194544627] [14736:213553] CHIP: [DMG] { - [1651194544627] [14736:213553] CHIP: [DMG] Endpoint = 0x0, - [1651194544627] [14736:213553] CHIP: [DMG] Cluster = 0x2c, - [1651194544627] [14736:213553] CHIP: [DMG] Attribute = 0x0000_0001, - [1651194544627] [14736:213553] CHIP: [DMG] } - [1651194544627] [14736:213553] CHIP: [DMG] - [1651194544627] [14736:213553] CHIP: [DMG] Data = 6, - [1651194544627] [14736:213553] CHIP: [DMG] }, - [1651194544627] [14736:213553] CHIP: [DMG] - [1651194544627] [14736:213553] CHIP: [DMG] }, - [1651194544627] [14736:213553] CHIP: [DMG] - [1651194544627] [14736:213553] CHIP: [DMG] ], - [1651194544627] [14736:213553] CHIP: [DMG] - [1651194544627] [14736:213553] CHIP: [DMG] SuppressResponse = true, - [1651194544627] [14736:213553] CHIP: [DMG] InteractionModelRevision = 1 - [1651194544627] [14736:213553] CHIP: [DMG] } + [1655184813.727744][2327:2332] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_002C Attribute 0x0000_0001 DataVersion: 3044477125 + [1655184813.727848][2327:2332] CHIP:TOO: ActiveCalendarType: 6 + [1655184813.727986][2327:2332] CHIP:EM: Sending Standalone Ack for MessageCounter:89082324 on exchange 59020i disabled: true - - label: "If (PICS_A_Islamic) TH writes 7 to ActiveCalendarType attribute" + - label: + "If (7 in LTIME.S.A0002.SCT) TH writes 7 to ActiveCalendarType + attribute" + PICS: LTIME.S.A0002.SCT verification: | ./chip-tool timeformatlocalization write active-calendar-type 7 1 0 [1651194780019] [14823:216414] CHIP: [DMG] WriteResponseMessage = @@ -580,37 +505,18 @@ tests: disabled: true - label: "TH reads ActiveCalendarType attribute" + PICS: LTIME.S.A0001 verification: | ./chip-tool timeformatlocalization read active-calendar-type 1 0 - [1651194544627] [14736:213553] CHIP: [DMG] ReportDataMessage = - [1651194544627] [14736:213553] CHIP: [DMG] { - [1651194544627] [14736:213553] CHIP: [DMG] AttributeReportIBs = - [1651194544627] [14736:213553] CHIP: [DMG] [ - [1651194544627] [14736:213553] CHIP: [DMG] AttributeReportIB = - [1651194544627] [14736:213553] CHIP: [DMG] { - [1651194544627] [14736:213553] CHIP: [DMG] AttributeDataIB = - [1651194544627] [14736:213553] CHIP: [DMG] { - [1651194544627] [14736:213553] CHIP: [DMG] DataVersion = 0xc5ae3d0c, - [1651194544627] [14736:213553] CHIP: [DMG] AttributePathIB = - [1651194544627] [14736:213553] CHIP: [DMG] { - [1651194544627] [14736:213553] CHIP: [DMG] Endpoint = 0x0, - [1651194544627] [14736:213553] CHIP: [DMG] Cluster = 0x2c, - [1651194544627] [14736:213553] CHIP: [DMG] Attribute = 0x0000_0001, - [1651194544627] [14736:213553] CHIP: [DMG] } - [1651194544627] [14736:213553] CHIP: [DMG] - [1651194544627] [14736:213553] CHIP: [DMG] Data = 7, - [1651194544627] [14736:213553] CHIP: [DMG] }, - [1651194544627] [14736:213553] CHIP: [DMG] - [1651194544627] [14736:213553] CHIP: [DMG] }, - [1651194544627] [14736:213553] CHIP: [DMG] - [1651194544627] [14736:213553] CHIP: [DMG] ], - [1651194544627] [14736:213553] CHIP: [DMG] - [1651194544627] [14736:213553] CHIP: [DMG] SuppressResponse = true, - [1651194544627] [14736:213553] CHIP: [DMG] InteractionModelRevision = 1 - [1651194544627] [14736:213553] CHIP: [DMG] } + [1655184842.351575][2339:2344] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_002C Attribute 0x0000_0001 DataVersion: 3044477126 + [1655184842.351697][2339:2344] CHIP:TOO: ActiveCalendarType: 7 + [1655184842.351855][2339:2344] CHIP:EM: Sending Standalone Ack for MessageCounter:117380134 on exchange 31303i disabled: true - - label: "If (PICS_A_Japanese) TH writes 8 to ActiveCalendarType attribute" + - label: + "If (8 in LTIME.S.A0002.SCT) TH writes 8 to ActiveCalendarType + attribute" + PICS: LTIME.S.A0002.SCT verification: | ./chip-tool timeformatlocalization write active-calendar-type 8 1 0 [1651194780019] [14823:216414] CHIP: [DMG] WriteResponseMessage = @@ -640,37 +546,18 @@ tests: disabled: true - label: "TH reads ActiveCalendarType attribute" + PICS: LTIME.S.A0001 verification: | ./chip-tool timeformatlocalization read active-calendar-type 1 0 - [1651194544627] [14736:213553] CHIP: [DMG] ReportDataMessage = - [1651194544627] [14736:213553] CHIP: [DMG] { - [1651194544627] [14736:213553] CHIP: [DMG] AttributeReportIBs = - [1651194544627] [14736:213553] CHIP: [DMG] [ - [1651194544627] [14736:213553] CHIP: [DMG] AttributeReportIB = - [1651194544627] [14736:213553] CHIP: [DMG] { - [1651194544627] [14736:213553] CHIP: [DMG] AttributeDataIB = - [1651194544627] [14736:213553] CHIP: [DMG] { - [1651194544627] [14736:213553] CHIP: [DMG] DataVersion = 0xc5ae3d0c, - [1651194544627] [14736:213553] CHIP: [DMG] AttributePathIB = - [1651194544627] [14736:213553] CHIP: [DMG] { - [1651194544627] [14736:213553] CHIP: [DMG] Endpoint = 0x0, - [1651194544627] [14736:213553] CHIP: [DMG] Cluster = 0x2c, - [1651194544627] [14736:213553] CHIP: [DMG] Attribute = 0x0000_0001, - [1651194544627] [14736:213553] CHIP: [DMG] } - [1651194544627] [14736:213553] CHIP: [DMG] - [1651194544627] [14736:213553] CHIP: [DMG] Data = 8, - [1651194544627] [14736:213553] CHIP: [DMG] }, - [1651194544627] [14736:213553] CHIP: [DMG] - [1651194544627] [14736:213553] CHIP: [DMG] }, - [1651194544627] [14736:213553] CHIP: [DMG] - [1651194544627] [14736:213553] CHIP: [DMG] ], - [1651194544627] [14736:213553] CHIP: [DMG] - [1651194544627] [14736:213553] CHIP: [DMG] SuppressResponse = true, - [1651194544627] [14736:213553] CHIP: [DMG] InteractionModelRevision = 1 - [1651194544627] [14736:213553] CHIP: [DMG] } + [1655184868.057665][2351:2356] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_002C Attribute 0x0000_0001 DataVersion: 3044477127 + [1655184868.057774][2351:2356] CHIP:TOO: ActiveCalendarType: 8 + [1655184868.057907][2351:2356] CHIP:EM: Sending Standalone Ack for MessageCounter:183591506 on exchange 10843i disabled: true - - label: "If (PICS_A_Korean) TH writes 9 to ActiveCalendarType attribute" + - label: + "If (9 in LTIME.S.A0002.SCT) TH writes 9 to ActiveCalendarType + attribute" + PICS: LTIME.S.A0002.SCT verification: | ./chip-tool timeformatlocalization write active-calendar-type 9 1 0 [1651194780019] [14823:216414] CHIP: [DMG] WriteResponseMessage = @@ -700,37 +587,18 @@ tests: disabled: true - label: "TH reads ActiveCalendarType attribute" + PICS: LTIME.S.A0001 verification: | ./chip-tool timeformatlocalization read active-calendar-type 1 0 - [1651194544627] [14736:213553] CHIP: [DMG] ReportDataMessage = - [1651194544627] [14736:213553] CHIP: [DMG] { - [1651194544627] [14736:213553] CHIP: [DMG] AttributeReportIBs = - [1651194544627] [14736:213553] CHIP: [DMG] [ - [1651194544627] [14736:213553] CHIP: [DMG] AttributeReportIB = - [1651194544627] [14736:213553] CHIP: [DMG] { - [1651194544627] [14736:213553] CHIP: [DMG] AttributeDataIB = - [1651194544627] [14736:213553] CHIP: [DMG] { - [1651194544627] [14736:213553] CHIP: [DMG] DataVersion = 0xc5ae3d0c, - [1651194544627] [14736:213553] CHIP: [DMG] AttributePathIB = - [1651194544627] [14736:213553] CHIP: [DMG] { - [1651194544627] [14736:213553] CHIP: [DMG] Endpoint = 0x0, - [1651194544627] [14736:213553] CHIP: [DMG] Cluster = 0x2c, - [1651194544627] [14736:213553] CHIP: [DMG] Attribute = 0x0000_0001, - [1651194544627] [14736:213553] CHIP: [DMG] } - [1651194544627] [14736:213553] CHIP: [DMG] - [1651194544627] [14736:213553] CHIP: [DMG] Data = 9, - [1651194544627] [14736:213553] CHIP: [DMG] }, - [1651194544627] [14736:213553] CHIP: [DMG] - [1651194544627] [14736:213553] CHIP: [DMG] }, - [1651194544627] [14736:213553] CHIP: [DMG] - [1651194544627] [14736:213553] CHIP: [DMG] ], - [1651194544627] [14736:213553] CHIP: [DMG] - [1651194544627] [14736:213553] CHIP: [DMG] SuppressResponse = true, - [1651194544627] [14736:213553] CHIP: [DMG] InteractionModelRevision = 1 - [1651194544627] [14736:213553] CHIP: [DMG] } + [1655184888.113826][2364:2369] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_002C Attribute 0x0000_0001 DataVersion: 3044477128 + [1655184888.113934][2364:2369] CHIP:TOO: ActiveCalendarType: 9 + [1655184888.114068][2364:2369] CHIP:EM: Sending Standalone Ack for MessageCounter:236846127 on exchange 9207i disabled: true - - label: "If (PICS_A_Persian) TH writes 10 to ActiveCalendarType attribute" + - label: + "If (10 in LTIME.S.A0002.SCT) TH writes 10 to ActiveCalendarType + attribute" + PICS: LTIME.S.A0002.SCT verification: | ./chip-tool timeformatlocalization write active-calendar-type 10 1 0 [1651194780019] [14823:216414] CHIP: [DMG] WriteResponseMessage = @@ -760,38 +628,18 @@ tests: disabled: true - label: "TH reads ActiveCalendarType attribute" + PICS: LTIME.S.A0001 verification: | ./chip-tool timeformatlocalization read active-calendar-type 1 0 - [1651194544627] [14736:213553] CHIP: [DMG] ReportDataMessage = - [1651194544627] [14736:213553] CHIP: [DMG] { - [1651194544627] [14736:213553] CHIP: [DMG] AttributeReportIBs = - [1651194544627] [14736:213553] CHIP: [DMG] [ - [1651194544627] [14736:213553] CHIP: [DMG] AttributeReportIB = - [1651194544627] [14736:213553] CHIP: [DMG] { - [1651194544627] [14736:213553] CHIP: [DMG] AttributeDataIB = - [1651194544627] [14736:213553] CHIP: [DMG] { - [1651194544627] [14736:213553] CHIP: [DMG] DataVersion = 0xc5ae3d0c, - [1651194544627] [14736:213553] CHIP: [DMG] AttributePathIB = - [1651194544627] [14736:213553] CHIP: [DMG] { - [1651194544627] [14736:213553] CHIP: [DMG] Endpoint = 0x0, - [1651194544627] [14736:213553] CHIP: [DMG] Cluster = 0x2c, - [1651194544627] [14736:213553] CHIP: [DMG] Attribute = 0x0000_0001, - [1651194544627] [14736:213553] CHIP: [DMG] } - [1651194544627] [14736:213553] CHIP: [DMG] - [1651194544627] [14736:213553] CHIP: [DMG] Data = 10, - [1651194544627] [14736:213553] CHIP: [DMG] }, - [1651194544627] [14736:213553] CHIP: [DMG] - [1651194544627] [14736:213553] CHIP: [DMG] }, - [1651194544627] [14736:213553] CHIP: [DMG] - [1651194544627] [14736:213553] CHIP: [DMG] ], - [1651194544627] [14736:213553] CHIP: [DMG] - [1651194544627] [14736:213553] CHIP: [DMG] SuppressResponse = true, - [1651194544627] [14736:213553] CHIP: [DMG] InteractionModelRevision = 1 - [1651194544627] [14736:213553] CHIP: [DMG] } + [1655184911.317297][2377:2383] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_002C Attribute 0x0000_0001 DataVersion: 3044477129 + [1655184911.317407][2377:2383] CHIP:TOO: ActiveCalendarType: 10 + [1655184911.317542][2377:2383] CHIP:EM: Sending Standalone Ack for MessageCounter:69288389 on exchange 58126i disabled: true - label: - "If (PICS_A_Taiwanese) TH writes 11 to ActiveCalendarType attribute" + "If (11 in LTIME.S.A0002.SCT) TH writes 11 to ActiveCalendarType + attribute" + PICS: LTIME.S.A0002.SCT verification: | ./chip-tool timeformatlocalization write active-calendar-type 11 1 0 [1651194780019] [14823:216414] CHIP: [DMG] WriteResponseMessage = @@ -821,6 +669,7 @@ tests: disabled: true - label: "TH reads ActiveCalendarType attribute" + PICS: LTIME.S.A0001 verification: | ./chip-tool timeformatlocalization read active-calendar-type 1 0 [1651194544627] [14736:213553] CHIP: [DMG] ReportDataMessage = @@ -850,3 +699,15 @@ tests: [1651194544627] [14736:213553] CHIP: [DMG] InteractionModelRevision = 1 [1651194544627] [14736:213553] CHIP: [DMG] } disabled: true + + - label: "TH writes 50 to ActiveCalendarType attribute" + PICS: LTIME.S.A0001 + verification: | + Verify the write request shows 0x87 (Constraint Error) + disabled: true + + - label: "TH writes 5 to HourFormat attribute" + PICS: LTIME.S.A0001 + verification: | + Verify the write request shows 0x87 (Constraint Error) + disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_UL_1_1.yaml b/src/app/tests/suites/certification/Test_TC_UL_1_1.yaml index eb6ed66c1030f3..1a3ff869d701f1 100644 --- a/src/app/tests/suites/certification/Test_TC_UL_1_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_UL_1_1.yaml @@ -13,7 +13,7 @@ # limitations under the License. # Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default -name: 3.1. [TC-UL-1.1|]Global Attributes [DUT as Client] +name: 103.1.1. [TC-UL-1.1] Global Attributes [DUT as Client] config: nodeId: 0x12344321 @@ -26,21 +26,21 @@ tests: disabled: true - - label: "{DUTread} (0xFFFD) ClusterRevision attribute" + - label: "DUT reads from the TH the(0xFFFD) ClusterRevision attribute" verification: | ./chip-tool unitlocalization read cluster-revision 1 0 [1651186310867] [11123:114108] CHIP: [TOO] Endpoint: 0 Cluster: 0x0000_002D Attribute 0x0000_FFFD DataVersion: 486381485 [1651186310867] [11123:114108] CHIP: [TOO] ClusterRevision: 1 disabled: true - - label: "{DUTread} (0xFFFC) FeatureMap attribute" + - label: "DUT reads from the TH the(0xFFFC) FeatureMap attribute" verification: | ./chip-tool unitlocalization read feature-map 1 0 [1651186357789] [11140:114768] CHIP: [TOO] Endpoint: 0 Cluster: 0x0000_002D Attribute 0x0000_FFFC DataVersion: 486381485 [1651186357789] [11140:114768] CHIP: [TOO] FeatureMap: 1 disabled: true - - label: "{DUTread} (0xFFFB) AttributeList attribute" + - label: "DUT reads from the TH the(0xFFFB) AttributeList attribute" verification: | ./chip-tool unitlocalization read attribute-list 1 0 [1652335691.917681][3124:3129] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_002D Attribute 0x0000_FFFB DataVersion: 3157629909 @@ -53,12 +53,12 @@ tests: [1652335691.917957][3124:3129] CHIP:TOO: [6]: 65533 disabled: true - - label: "{DUTread} (0xFFFA) EventList attribute" + - label: "DUT reads from the TH the(0xFFFA) EventList attribute" verification: | out of scope for V1.0 disabled: true - - label: "{DUTread} (0xFFF9) AcceptedCommandList attribute" + - label: "DUT reads from the TH the(0xFFF9) AcceptedCommandList attribute" verification: | ./chip-tool unitlocalization read accepted-command-list 1 0 @@ -66,7 +66,7 @@ tests: [1651186469211] [11184:116328] CHIP: [TOO] AcceptedCommandList: 0 entries disabled: true - - label: "{DUTread} (0xFFF8) GeneratedCommandList attribute" + - label: "DUT reads from the TH the(0xFFF8) GeneratedCommandList attribute" verification: | ./chip-tool unitlocalization read generated-command-list 1 0 [1651191485645] [13481:177154] CHIP: [TOO] Endpoint: 0 Cluster: 0x0000_002D Attribute 0x0000_FFF8 DataVersion: 486381492 diff --git a/src/app/tests/suites/certification/Test_TC_UL_1_2.yaml b/src/app/tests/suites/certification/Test_TC_UL_1_2.yaml index 3d7292c227f465..98514e6c79fb6f 100644 --- a/src/app/tests/suites/certification/Test_TC_UL_1_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_UL_1_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: 3.2. [TC-UL-1.2|]Global Attributes [DUT as Server] +name: 103.1.2. [TC-UL-1.2] Global Attributes [DUT as Server] config: nodeId: 0x12344321 @@ -21,26 +21,21 @@ config: endpoint: 0 tests: - - label: "Commission TH to DUT" - verification: | - - disabled: true - - - label: "{THread} (0xFFFD) ClusterRevision attribute" + - label: "TH reads from the DUT the (0xFFFD) ClusterRevision attribute" verification: | ./chip-tool unitlocalization read cluster-revision 1 0 [1651186310867] [11123:114108] CHIP: [TOO] Endpoint: 0 Cluster: 0x0000_002D Attribute 0x0000_FFFD DataVersion: 486381485 [1651186310867] [11123:114108] CHIP: [TOO] ClusterRevision: 1 disabled: true - - label: "{THread} (0xFFFC) FeatureMap attribute" + - label: "TH reads from the DUT the (0xFFFC) FeatureMap attribute" verification: | ./chip-tool unitlocalization read feature-map 1 0 [1651186357789] [11140:114768] CHIP: [TOO] Endpoint: 0 Cluster: 0x0000_002D Attribute 0x0000_FFFC DataVersion: 486381485 [1651186357789] [11140:114768] CHIP: [TOO] FeatureMap: 1 disabled: true - - label: "{THread} (0xFFFB) AttributeList attribute" + - label: "TH reads from the DUT the (0xFFFB) AttributeList attribute" verification: | ./chip-tool unitlocalization read attribute-list 1 0 [1652335691.917681][3124:3129] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_002D Attribute 0x0000_FFFB DataVersion: 3157629909 @@ -53,12 +48,12 @@ tests: [1652335691.917957][3124:3129] CHIP:TOO: [6]: 65533 disabled: true - - label: "{THread} (0xFFFA) EventList attribute" + - label: "TH reads from the DUT the (0xFFFA) EventList attribute" verification: | out of scope for V1.0 disabled: true - - label: "{THread} (0xFFF9) AcceptedCommandList attribute" + - label: "TH reads from the DUT the (0xFFF9) AcceptedCommandList attribute" verification: | ./chip-tool unitlocalization read accepted-command-list 1 0 @@ -66,7 +61,7 @@ tests: [1651186469211] [11184:116328] CHIP: [TOO] AcceptedCommandList: 0 entries disabled: true - - label: "{THread} (0xFFF8) GeneratedCommandList attribute" + - label: "TH reads from the DUT the (0xFFF8) GeneratedCommandList attribute" verification: | ./chip-tool unitlocalization read generated-command-list 1 0 [1651191485645] [13481:177154] CHIP: [TOO] Endpoint: 0 Cluster: 0x0000_002D Attribute 0x0000_FFF8 DataVersion: 486381492 diff --git a/src/app/tests/suites/certification/Test_TC_UL_2_1.yaml b/src/app/tests/suites/certification/Test_TC_UL_2_1.yaml index cdeec9a6caa2a6..7b7488b79d4287 100644 --- a/src/app/tests/suites/certification/Test_TC_UL_2_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_UL_2_1.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: - 3.3. [TC-UL-2.1]Read and Write Unit Localization Cluster Attributes [DUT as - Client] + 103.2.1. [TC-UL-2.1] Read and Write Unit Localization Cluster Attributes + [DUT as Client] config: nodeId: 0x12344321 @@ -24,6 +24,7 @@ config: tests: - label: "DUT reads TemperatureUnit attribute from TH" + PICS: LUNIT.C.A0000 verification: | ./chip-tool unitlocalization read temperature-unit 1 0 [1651195354.966370][4306:4306] CHIP:DMG: ReadRequestMessage = @@ -45,6 +46,7 @@ tests: disabled: true - label: "DUT writes 0 to TemperatureUnit attribute" + PICS: LUNIT.C.A0000.Fahrenheit verification: | ./chip-tool unitlocalization write temperature-unit 0 1 0 @@ -74,6 +76,7 @@ tests: disabled: true - label: "DUT reads TemperatureUnit attribute from TH" + PICS: LUNIT.C.A0000 verification: | ./chip-tool unitlocalization read temperature-unit 1 0 [1651195354.966370][4306:4306] CHIP:DMG: ReadRequestMessage = @@ -95,6 +98,7 @@ tests: disabled: true - label: "DUT writes 1 to TemperatureUnit attribute" + PICS: LUNIT.C.A0000.Celsius verification: | ./chip-tool unitlocalization write temperature-unit 1 1 0 [1651190221.098512][4306:4306] CHIP:DMG: WriteRequestMessage = @@ -125,6 +129,7 @@ tests: disabled: true - label: "DUT reads TemperatureUnit attribute from TH" + PICS: LUNIT.C.A0000 verification: | ./chip-tool unitlocalization read temperature-unit 1 0 [1651195354.966370][4306:4306] CHIP:DMG: ReadRequestMessage = @@ -146,6 +151,7 @@ tests: disabled: true - label: "DUT writes 2 to TemperatureUnit attribute" + PICS: LUNIT.C.A0000.Kelvin verification: | ./chip-tool unitlocalization write temperature-unit 2 1 0 [1651190829.683764][4306:4306] CHIP:DMG: WriteRequestMessage = @@ -174,6 +180,7 @@ tests: disabled: true - label: "DUT reads TemperatureUnit attribute from TH" + PICS: LUNIT.C.A0000 verification: | ./chip-tool unitlocalization read temperature-unit 1 0 [1651195354.966370][4306:4306] CHIP:DMG: ReadRequestMessage = diff --git a/src/app/tests/suites/certification/Test_TC_UL_2_2.yaml b/src/app/tests/suites/certification/Test_TC_UL_3_1.yaml similarity index 94% rename from src/app/tests/suites/certification/Test_TC_UL_2_2.yaml rename to src/app/tests/suites/certification/Test_TC_UL_3_1.yaml index 0d5caec3f7b247..1f0c4d354f4cf5 100644 --- a/src/app/tests/suites/certification/Test_TC_UL_2_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_UL_3_1.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: - 3.4. [TC-UL-2.2]Read and Write Unit Localization Cluster Attributes [DUT as - Server] + 103.3.1. [TC-UL-3.1] Read and Write Unit Localization Cluster Attributes + [DUT as Server] config: nodeId: 0x12344321 @@ -24,6 +24,7 @@ config: tests: - label: "TH reads TemperatureUnit attribute from DUT" + PICS: LUNIT.S.A0000 verification: | ./chip-tool unitlocalization read temperature-unit 1 0 [1651186538224] [11210:117238] CHIP: [TOO] Endpoint: 0 Cluster: 0x0000_002D Attribute 0x0000_0000 DataVersion: 486381485 @@ -31,6 +32,7 @@ tests: disabled: true - label: "TH writes 0 to TemperatureUnit attribute" + PICS: LUNIT.C.A0000.Fahrenheit verification: | ./chip-tool unitlocalization write temperature-unit 0 1 0 [1651191017267] [13215:170815] CHIP: [DMG] WriteResponseMessage = @@ -59,6 +61,7 @@ tests: disabled: true - label: "TH reads TemperatureUnit attribute" + PICS: LUNIT.C.A0000 verification: | ./chip-tool unitlocalization read temperature-unit 1 0 [1651190135534] [12868:159849] CHIP: [TOO] Endpoint: 0 Cluster: 0x0000_002D Attribute 0x0000_0000 DataVersion: 486381486 @@ -66,6 +69,7 @@ tests: disabled: true - label: "TH writes 1 to TemperatureUnit attribute" + PICS: LUNIT.C.A0000.Celsius verification: | ./chip-tool unitlocalization write temperature-unit 1 1 0 @@ -96,6 +100,7 @@ tests: disabled: true - label: "TH reads TemperatureUnit attribute" + PICS: LUNIT.C.A0000 verification: | ./chip-tool unitlocalization read temperature-unit 1 0 [1651190800434] [13122:167909] CHIP: [TOO] Endpoint: 0 Cluster: 0x0000_002D Attribute 0x0000_0000 DataVersion: 486381489 @@ -103,6 +108,7 @@ tests: disabled: true - label: "TH writes 2 to TemperatureUnit attribute" + PICS: LUNIT.C.A0000.Kelvin verification: | ./chip-tool unitlocalization write temperature-unit 2 1 0 [1651190829573] [13133:168303] CHIP: [DMG] WriteResponseMessage = @@ -132,8 +138,15 @@ tests: disabled: true - label: "TH reads TemperatureUnit attribute" + PICS: LUNIT.C.A0000 verification: | ./chip-tool unitlocalization read temperature-unit 1 0 [1651190908005] [13164:169492] CHIP: [TOO] Endpoint: 0 Cluster: 0x0000_002D Attribute 0x0000_0000 DataVersion: 486381490 [1651190908005] [13164:169492] CHIP: [TOO] TemperatureUnit: 2 disabled: true + + - label: "TH writes 5 to TemperatureUnit attribute" + PICS: LUNIT.C.A0000 + verification: | + Verify that the write request fails with 0x87 (Constraint Error) + disabled: true diff --git a/src/app/tests/suites/certification/ci-pics-values b/src/app/tests/suites/certification/ci-pics-values index 5e9f043742bcc3..e8466423205b87 100644 --- a/src/app/tests/suites/certification/ci-pics-values +++ b/src/app/tests/suites/certification/ci-pics-values @@ -187,6 +187,78 @@ CC.S.F01=1 CC.S.F02=1 CC.S.F03=1 CC.S.F04=1 +CC.C.A0000=1 +CC.C.A0001=1 +CC.C.A0002=1 +CC.C.A0003=1 +CC.C.A0004=1 +CC.C.A0005=1 +CC.C.A0006=1 +CC.C.A0007=1 +CC.C.A0008=1 +CC.C.A000f=1 +CC.C.A4000=1 +CC.C.A4001=1 +CC.C.A4002=1 +CC.C.A4003=1 +CC.C.A4004=1 +CC.C.A4005=1 +CC.C.A4006=1 +CC.C.A400a=1 +CC.C.A400b=1 +CC.C.A400c=1 +CC.C.A400d=1 +CC.C.A4010=1 +CC.C.A0010=1 +CC.C.A0011=1 +CC.C.A0012=1 +CC.C.A0013=1 +CC.C.A0015=1 +CC.C.A0016=1 +CC.C.A0017=1 +CC.C.A0019=1 +CC.C.A001a=1 +CC.C.A001b=1 +CC.C.A0020=1 +CC.C.A0021=1 +CC.C.A0022=1 +CC.C.A0024=1 +CC.C.A0025=1 +CC.C.A0026=1 +CC.C.A0028=1 +CC.C.A0029=1 +CC.C.A002a=1 +CC.C.A0030=1 +CC.C.A0031=1 +CC.C.A0032=1 +CC.C.A0033=1 +CC.C.A0034=1 +CC.C.A0036=1 +CC.C.A0037=1 +CC.C.A0038=1 +CC.C.A003a=1 +CC.C.A003b=1 +CC.C.A003c=1 +CC.C.C00.Rsp=1 +CC.C.C01.Rsp=1 +CC.C.C02.Rsp=1 +CC.C.C03.Rsp=1 +CC.C.C04.Rsp=1 +CC.C.C05.Rsp=1 +CC.C.C06.Rsp=1 +CC.C.C07.Rsp=1 +CC.C.C08.Rsp=1 +CC.C.C47.Rsp=1 +CC.C.C09.Rsp=1 +CC.C.C0A.Rsp=1 +CC.C.C4B.Rsp=1 +CC.C.C4C.Rsp=1 +CC.C.C40.Rsp=1 +CC.C.C41.Rsp=1 +CC.C.C42.Rsp=1 +CC.C.C43.Rsp=1 +CC.C.C44.Rsp=1 + MC_APPLAUNCHER.S.A0000=1 MC_APPLAUNCHER.S.A0001=1 MC_MEDIAINPUT.S.A0000=1 @@ -314,4 +386,58 @@ SWTCH.S.F00=1 SWTCH.S.F01=1 SWTCH.S.F02=1 SWTCH.S.F03=1 -SWTCH.S.F04=1 \ No newline at end of file +SWTCH.S.F04=1 + +#General Commissioning Cluster +CGEN.S.A0000=1 +CGEN.S.A0001=1 +CGEN.S.A0002=1 +CGEN.S.A0003=1 +CGEN.S.A0004=1 +CGEN.S.C00.Rsp=1 +CGEN.S.C01.Tx=1 +CGEN.S.C02.Rsp=1 +CGEN.S.C03.Tx=1 +CGEN.S.C04.Rsp=1 +CGEN.S.C05.Tx=1 + +#Time Format Localization Cluster +LTIME.S.A0000=1 +LTIME.S.A0001=1 +LTIME.S.A0002=1 +LTIME.S.A0002.SCT=1 +LTIME.S.A0000.12HR=1 +LTIME.S.A0000.24HR=1 +LTIME.C.A0000=1 +LTIME.C.A0001=1 +LTIME.C.A0002=1 +LTIME.C.A0002.SCT=1 +LTIME.C.A0000.12HR=1 +LTIME.C.A0000.24HR=1 + +#Unit Localization Cluster +LUNIT.S.A0000=1 +LUNIT.S.A0000.Fahrenheit=1 +LUNIT.S.A0000.Celsius=1 +LUNIT.S.A0000.Kelvin=1 +LUNIT.C.A0000=1 +LUNIT.C.A0000.Fahrenheit=1 +LUNIT.C.A0000.Celsius=1 +LUNIT.C.A0000.Kelvin=1 + +#Multiple Fabrics +PICS_MF=1 +PICS_MF_BCM=1 + +#OTA Software Update +MCORE.OTA.Requestor=1 +MCORE.OTA.Provider=1 +MCORE.OTA.HTTPS=1 +MCORE.OTA.RequestorConsent=1 +MCORE.OTA.Resume=1 +MCORE.OTA.VendorSpecific=1 +MCORE.ACL.Administrator=1 +OTAS.S.M.DelayedActionTime=1 +OTAS.S.M.UserConsentNeeded=1 +OTAC.C.M.AnnounceOTAProvider=1 +OTAC.C.M.NotifyUpdateApplied=1 \ No newline at end of file diff --git a/src/app/tests/suites/tests.js b/src/app/tests/suites/tests.js index 0da6722bd14ea6..1c0753aa354ab0 100644 --- a/src/app/tests/suites/tests.js +++ b/src/app/tests/suites/tests.js @@ -446,14 +446,14 @@ function getManualTests() { 'Test_TC_TFL_1_1', 'Test_TC_TFL_1_2', 'Test_TC_TFL_2_1', - 'Test_TC_TFL_2_2', + 'Test_TC_TFL_3_1', ]; const UnitLocalization = [ 'Test_TC_UL_1_1', 'Test_TC_UL_1_2', 'Test_TC_UL_2_1', - 'Test_TC_UL_2_2', + 'Test_TC_UL_3_1', ]; const FixedLabel = [ diff --git a/zzz_generated/chip-tool/zap-generated/test/Commands.h b/zzz_generated/chip-tool/zap-generated/test/Commands.h index 03276d30a4eebc..8552bab3e3bb58 100644 --- a/zzz_generated/chip-tool/zap-generated/test/Commands.h +++ b/zzz_generated/chip-tool/zap-generated/test/Commands.h @@ -531,11 +531,11 @@ class ManualTestList : public Command printf("Test_TC_TFL_1_1\n"); printf("Test_TC_TFL_1_2\n"); printf("Test_TC_TFL_2_1\n"); - printf("Test_TC_TFL_2_2\n"); + printf("Test_TC_TFL_3_1\n"); printf("Test_TC_UL_1_1\n"); printf("Test_TC_UL_1_2\n"); printf("Test_TC_UL_2_1\n"); - printf("Test_TC_UL_2_2\n"); + printf("Test_TC_UL_3_1\n"); printf("Test_TC_FLABEL_1_1\n"); printf("Test_TC_FLABEL_2_1\n"); printf("Test_TC_FLABEL_2_2\n"); @@ -2694,10 +2694,6 @@ class Test_TC_CC_2_1Suite : public TestCommand } break; case 26: - if (IsUnsupported(status.mStatus)) - { - return; - } VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { uint16_t value; @@ -2708,10 +2704,6 @@ class Test_TC_CC_2_1Suite : public TestCommand } break; case 27: - if (IsUnsupported(status.mStatus)) - { - return; - } VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { uint16_t value; @@ -2722,10 +2714,6 @@ class Test_TC_CC_2_1Suite : public TestCommand } break; case 28: - if (IsUnsupported(status.mStatus)) - { - return; - } VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { uint16_t value; @@ -2735,10 +2723,6 @@ class Test_TC_CC_2_1Suite : public TestCommand } break; case 29: - if (IsUnsupported(status.mStatus)) - { - return; - } VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { uint8_t value; @@ -2749,10 +2733,6 @@ class Test_TC_CC_2_1Suite : public TestCommand } break; case 30: - if (IsUnsupported(status.mStatus)) - { - return; - } VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::CharSpan value; @@ -2940,10 +2920,6 @@ class Test_TC_CC_2_1Suite : public TestCommand } break; case 50: - if (IsUnsupported(status.mStatus)) - { - return; - } VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { uint16_t value; @@ -2954,10 +2930,6 @@ class Test_TC_CC_2_1Suite : public TestCommand } break; case 51: - if (IsUnsupported(status.mStatus)) - { - return; - } VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { uint16_t value; @@ -2968,10 +2940,6 @@ class Test_TC_CC_2_1Suite : public TestCommand } break; case 52: - if (IsUnsupported(status.mStatus)) - { - return; - } VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { uint16_t value; @@ -2982,10 +2950,6 @@ class Test_TC_CC_2_1Suite : public TestCommand } break; case 53: - if (IsUnsupported(status.mStatus)) - { - return; - } VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { uint16_t value; @@ -2996,10 +2960,6 @@ class Test_TC_CC_2_1Suite : public TestCommand } break; case 54: - if (IsUnsupported(status.mStatus)) - { - return; - } VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::Nullable value; @@ -3008,10 +2968,6 @@ class Test_TC_CC_2_1Suite : public TestCommand } break; case 55: - if (IsUnsupported(status.mStatus)) - { - return; - } VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { uint16_t value; @@ -3022,10 +2978,6 @@ class Test_TC_CC_2_1Suite : public TestCommand } break; case 56: - if (IsUnsupported(status.mStatus)) - { - return; - } VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { uint16_t value; @@ -3036,10 +2988,6 @@ class Test_TC_CC_2_1Suite : public TestCommand } break; case 57: - if (IsUnsupported(status.mStatus)) - { - return; - } VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::Nullable value; @@ -3048,10 +2996,6 @@ class Test_TC_CC_2_1Suite : public TestCommand } break; case 58: - if (IsUnsupported(status.mStatus)) - { - return; - } VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { uint16_t value; @@ -3062,10 +3006,6 @@ class Test_TC_CC_2_1Suite : public TestCommand } break; case 59: - if (IsUnsupported(status.mStatus)) - { - return; - } VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { uint16_t value; @@ -3076,10 +3016,6 @@ class Test_TC_CC_2_1Suite : public TestCommand } break; case 60: - if (IsUnsupported(status.mStatus)) - { - return; - } VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::Nullable value; @@ -11373,11 +11309,13 @@ class Test_TC_CGEN_2_1Suite : public TestCommand } case 1: { LogStep(1, "TH1 reads the BreadCrumb Attribute from the DUT"); + VerifyOrDo(!ShouldSkip("CGEN.S.A0000"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(0), GeneralCommissioning::Id, GeneralCommissioning::Attributes::Breadcrumb::Id, true, chip::NullOptional); } case 2: { LogStep(2, "TH1 writes the BreadCrumb attribute as 1 to the DUT"); + VerifyOrDo(!ShouldSkip("CGEN.S.A0000"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; uint64_t value; value = 1ULL; @@ -11386,16 +11324,19 @@ class Test_TC_CGEN_2_1Suite : public TestCommand } case 3: { LogStep(3, "TH1 reads the BreadCrumb attribute from the DUT"); + VerifyOrDo(!ShouldSkip("CGEN.S.A0000"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(0), GeneralCommissioning::Id, GeneralCommissioning::Attributes::Breadcrumb::Id, true, chip::NullOptional); } case 4: { LogStep(4, "TH1 reads the RegulatoryConfig attribute from the DUT"); + VerifyOrDo(!ShouldSkip("CGEN.S.A0002"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(0), GeneralCommissioning::Id, GeneralCommissioning::Attributes::RegulatoryConfig::Id, true, chip::NullOptional); } case 5: { LogStep(5, "TH1 reads the LocationCapability attribute from the DUT"); + VerifyOrDo(!ShouldSkip("CGEN.S.A0003"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(0), GeneralCommissioning::Id, GeneralCommissioning::Attributes::LocationCapability::Id, true, chip::NullOptional); } @@ -11403,6 +11344,7 @@ class Test_TC_CGEN_2_1Suite : public TestCommand LogStep(6, "TH1 reads BasicCommissioningInfo attribute from DUT and Verify that the BasicCommissioningInfo attribute has " "the following field: FailSafeExpiryLengthSeconds field value is within a duration range of 0 to 65535"); + VerifyOrDo(!ShouldSkip("CGEN.S.A0001"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(0), GeneralCommissioning::Id, GeneralCommissioning::Attributes::BasicCommissioningInfo::Id, true, chip::NullOptional); } @@ -11418,6 +11360,7 @@ class Test_TC_CGEN_2_1Suite : public TestCommand } case 8: { LogStep(8, "TH1 reads SupportsConcurrentConnection attribute from the DUT"); + VerifyOrDo(!ShouldSkip("CGEN.S.A0004"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(0), GeneralCommissioning::Id, GeneralCommissioning::Attributes::SupportsConcurrentConnection::Id, true, chip::NullOptional); } @@ -72770,9 +72713,9 @@ class Test_TC_MF_1_19Suite : public TestCommand public: Test_TC_MF_1_19Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_MF_1_19", 0, credsIssuerConfig) { + AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); AddArgument("endpoint", 0, UINT16_MAX, &mEndpoint); - AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("timeout", 0, UINT16_MAX, &mTimeout); } @@ -72784,9 +72727,9 @@ class Test_TC_MF_1_19Suite : public TestCommand } private: + chip::Optional mNodeId; chip::Optional mCluster; chip::Optional mEndpoint; - chip::Optional mNodeId; chip::Optional mTimeout; chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } @@ -85743,10 +85686,10 @@ class Test_TC_TFL_2_1Suite : public TestCommand } }; -class Test_TC_TFL_2_2Suite : public TestCommand +class Test_TC_TFL_3_1Suite : public TestCommand { public: - Test_TC_TFL_2_2Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_TFL_2_2", 0, credsIssuerConfig) + Test_TC_TFL_3_1Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_TFL_3_1", 0, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -85754,7 +85697,7 @@ class Test_TC_TFL_2_2Suite : public TestCommand AddArgument("timeout", 0, UINT16_MAX, &mTimeout); } - ~Test_TC_TFL_2_2Suite() {} + ~Test_TC_TFL_3_1Suite() {} chip::System::Clock::Timeout GetWaitDuration() const override { @@ -85967,10 +85910,10 @@ class Test_TC_UL_2_1Suite : public TestCommand } }; -class Test_TC_UL_2_2Suite : public TestCommand +class Test_TC_UL_3_1Suite : public TestCommand { public: - Test_TC_UL_2_2Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_UL_2_2", 0, credsIssuerConfig) + Test_TC_UL_3_1Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_UL_3_1", 0, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -85978,7 +85921,7 @@ class Test_TC_UL_2_2Suite : public TestCommand AddArgument("timeout", 0, UINT16_MAX, &mTimeout); } - ~Test_TC_UL_2_2Suite() {} + ~Test_TC_UL_3_1Suite() {} chip::System::Clock::Timeout GetWaitDuration() const override { @@ -87135,11 +87078,11 @@ 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), - 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 4e7298ba1d80e2..89d7d708a2f923 100644 --- a/zzz_generated/darwin-framework-tool/zap-generated/test/Commands.h +++ b/zzz_generated/darwin-framework-tool/zap-generated/test/Commands.h @@ -4191,11 +4191,6 @@ class Test_TC_CC_2_1 : public TestCommandBridge { NSNumber * _Nullable value, NSError * _Nullable err) { NSLog(@"Read the optional attribute: CoupleColorTempToLevelMinMireds Error: %@", err); - if (err.code == MatterInteractionErrorCodeUnsupportedAttribute) { - NextTest(); - return; - } - VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); VerifyOrReturn(CheckConstraintType("coupleColorTempToLevelMinMireds", "", "uint16")); @@ -4219,11 +4214,6 @@ class Test_TC_CC_2_1 : public TestCommandBridge { NSNumber * _Nullable value, NSError * _Nullable err) { NSLog(@"Read the optional attribute: StartUpColorTemperatureMireds Error: %@", err); - if (err.code == MatterInteractionErrorCodeUnsupportedAttribute) { - NextTest(); - return; - } - VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); VerifyOrReturn(CheckConstraintType("startUpColorTemperatureMireds", "", "uint16")); @@ -4245,11 +4235,6 @@ class Test_TC_CC_2_1 : public TestCommandBridge { [cluster readAttributeRemainingTimeWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { NSLog(@"Validate constraints of attribute: RemainingTime Error: %@", err); - if (err.code == MatterInteractionErrorCodeUnsupportedAttribute) { - NextTest(); - return; - } - VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); { @@ -4273,11 +4258,6 @@ class Test_TC_CC_2_1 : public TestCommandBridge { [cluster readAttributeDriftCompensationWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { NSLog(@"Read the optional attribute: DriftCompensation Error: %@", err); - if (err.code == MatterInteractionErrorCodeUnsupportedAttribute) { - NextTest(); - return; - } - VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); VerifyOrReturn(CheckConstraintType("driftCompensation", "", "enum8")); @@ -4299,11 +4279,6 @@ class Test_TC_CC_2_1 : public TestCommandBridge { [cluster readAttributeCompensationTextWithCompletionHandler:^(NSString * _Nullable value, NSError * _Nullable err) { NSLog(@"Read the optional attribute: CompensationText Error: %@", err); - if (err.code == MatterInteractionErrorCodeUnsupportedAttribute) { - NextTest(); - return; - } - VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); VerifyOrReturn(CheckConstraintType("compensationText", "", "string")); @@ -4731,11 +4706,6 @@ class Test_TC_CC_2_1 : public TestCommandBridge { [cluster readAttributeWhitePointXWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { NSLog(@"Read the optional attribute: WhitePointX Error: %@", err); - if (err.code == MatterInteractionErrorCodeUnsupportedAttribute) { - NextTest(); - return; - } - VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); VerifyOrReturn(CheckConstraintType("whitePointX", "", "uint16")); @@ -4757,11 +4727,6 @@ class Test_TC_CC_2_1 : public TestCommandBridge { [cluster readAttributeWhitePointYWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { NSLog(@"Read the optional attribute: WhitePointY Error: %@", err); - if (err.code == MatterInteractionErrorCodeUnsupportedAttribute) { - NextTest(); - return; - } - VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); VerifyOrReturn(CheckConstraintType("whitePointY", "", "uint16")); @@ -4783,11 +4748,6 @@ class Test_TC_CC_2_1 : public TestCommandBridge { [cluster readAttributeColorPointRXWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { NSLog(@"Read the optional attribute: ColorPointRX Error: %@", err); - if (err.code == MatterInteractionErrorCodeUnsupportedAttribute) { - NextTest(); - return; - } - VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); VerifyOrReturn(CheckConstraintType("colorPointRX", "", "uint16")); @@ -4809,11 +4769,6 @@ class Test_TC_CC_2_1 : public TestCommandBridge { [cluster readAttributeColorPointRYWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { NSLog(@"Read the optional attribute: ColorPointRY Error: %@", err); - if (err.code == MatterInteractionErrorCodeUnsupportedAttribute) { - NextTest(); - return; - } - VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); VerifyOrReturn(CheckConstraintType("colorPointRY", "", "uint16")); @@ -4835,11 +4790,6 @@ class Test_TC_CC_2_1 : public TestCommandBridge { [cluster readAttributeColorPointRIntensityWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { NSLog(@"Read the optional attribute: ColorPointRIntensity Error: %@", err); - if (err.code == MatterInteractionErrorCodeUnsupportedAttribute) { - NextTest(); - return; - } - VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); if (value != nil) { @@ -4862,11 +4812,6 @@ class Test_TC_CC_2_1 : public TestCommandBridge { [cluster readAttributeColorPointGXWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { NSLog(@"Read the optional attribute: ColorPointGX Error: %@", err); - if (err.code == MatterInteractionErrorCodeUnsupportedAttribute) { - NextTest(); - return; - } - VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); VerifyOrReturn(CheckConstraintType("colorPointGX", "", "uint16")); @@ -4888,11 +4833,6 @@ class Test_TC_CC_2_1 : public TestCommandBridge { [cluster readAttributeColorPointGYWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { NSLog(@"Read the optional attribute: ColorPointGY Error: %@", err); - if (err.code == MatterInteractionErrorCodeUnsupportedAttribute) { - NextTest(); - return; - } - VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); VerifyOrReturn(CheckConstraintType("colorPointGY", "", "uint16")); @@ -4914,11 +4854,6 @@ class Test_TC_CC_2_1 : public TestCommandBridge { [cluster readAttributeColorPointGIntensityWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { NSLog(@"Read the optional attribute: ColorPointGIntensity Error: %@", err); - if (err.code == MatterInteractionErrorCodeUnsupportedAttribute) { - NextTest(); - return; - } - VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); if (value != nil) { @@ -4941,11 +4876,6 @@ class Test_TC_CC_2_1 : public TestCommandBridge { [cluster readAttributeColorPointBXWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { NSLog(@"Read the optional attribute: ColorPointBX Error: %@", err); - if (err.code == MatterInteractionErrorCodeUnsupportedAttribute) { - NextTest(); - return; - } - VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); VerifyOrReturn(CheckConstraintType("colorPointBX", "", "uint16")); @@ -4967,11 +4897,6 @@ class Test_TC_CC_2_1 : public TestCommandBridge { [cluster readAttributeColorPointBYWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { NSLog(@"Read the optional attribute: ColorPointBY Error: %@", err); - if (err.code == MatterInteractionErrorCodeUnsupportedAttribute) { - NextTest(); - return; - } - VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); VerifyOrReturn(CheckConstraintType("colorPointBY", "", "uint16")); @@ -4993,11 +4918,6 @@ class Test_TC_CC_2_1 : public TestCommandBridge { [cluster readAttributeColorPointBIntensityWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { NSLog(@"Read the optional attribute: ColorPointBIntensity Error: %@", err); - if (err.code == MatterInteractionErrorCodeUnsupportedAttribute) { - NextTest(); - return; - } - VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); if (value != nil) { @@ -18720,22 +18640,42 @@ class Test_TC_CGEN_2_1 : public TestCommandBridge { break; case 1: ChipLogProgress(chipTool, " ***** Test Step 1 : TH1 reads the BreadCrumb Attribute from the DUT\n"); + if (ShouldSkip("CGEN.S.A0000")) { + NextTest(); + return; + } err = TestTh1ReadsTheBreadCrumbAttributeFromTheDut_1(); break; case 2: ChipLogProgress(chipTool, " ***** Test Step 2 : TH1 writes the BreadCrumb attribute as 1 to the DUT\n"); + if (ShouldSkip("CGEN.S.A0000")) { + NextTest(); + return; + } err = TestTh1WritesTheBreadCrumbAttributeAs1ToTheDut_2(); break; case 3: ChipLogProgress(chipTool, " ***** Test Step 3 : TH1 reads the BreadCrumb attribute from the DUT\n"); + if (ShouldSkip("CGEN.S.A0000")) { + NextTest(); + return; + } err = TestTh1ReadsTheBreadCrumbAttributeFromTheDut_3(); break; case 4: ChipLogProgress(chipTool, " ***** Test Step 4 : TH1 reads the RegulatoryConfig attribute from the DUT\n"); + if (ShouldSkip("CGEN.S.A0002")) { + NextTest(); + return; + } err = TestTh1ReadsTheRegulatoryConfigAttributeFromTheDut_4(); break; case 5: ChipLogProgress(chipTool, " ***** Test Step 5 : TH1 reads the LocationCapability attribute from the DUT\n"); + if (ShouldSkip("CGEN.S.A0003")) { + NextTest(); + return; + } err = TestTh1ReadsTheLocationCapabilityAttributeFromTheDut_5(); break; case 6: @@ -18743,6 +18683,10 @@ class Test_TC_CGEN_2_1 : public TestCommandBridge { " ***** Test Step 6 : TH1 reads BasicCommissioningInfo attribute from DUT and Verify that the " "BasicCommissioningInfo attribute has the following field: FailSafeExpiryLengthSeconds field value is within a " "duration range of 0 to 65535\n"); + if (ShouldSkip("CGEN.S.A0001")) { + NextTest(); + return; + } err = TestTh1ReadsBasicCommissioningInfoAttributeFromDutAndVerifyThatTheBasicCommissioningInfoAttributeHasTheFollowingFieldFailSafeExpiryLengthSecondsFieldValueIsWithinADurationRangeOf0To65535_6(); break; case 7: @@ -18751,6 +18695,10 @@ class Test_TC_CGEN_2_1 : public TestCommandBridge { break; case 8: ChipLogProgress(chipTool, " ***** Test Step 8 : TH1 reads SupportsConcurrentConnection attribute from the DUT\n"); + if (ShouldSkip("CGEN.S.A0004")) { + NextTest(); + return; + } err = TestTh1ReadsSupportsConcurrentConnectionAttributeFromTheDut_8(); break; }