diff --git a/src/app/tests/suites/certification/PICS.yaml b/src/app/tests/suites/certification/PICS.yaml index 407851320ca31c..96444b631934a2 100644 --- a/src/app/tests/suites/certification/PICS.yaml +++ b/src/app/tests/suites/certification/PICS.yaml @@ -9162,6 +9162,9 @@ PICS: - label: "Does the DUT support testing the failed ChangeToMode command?" id: OTCCM.S.M.CAN_TEST_MODE_FAILURE + - label: "Can the mode change be manually controlled?" + id: OTCCM.S.M.CAN_MANUALLY_CONTROLLED + - label: "Id of mode the device will fail to transition to, given its current state" diff --git a/src/app/tests/suites/certification/Test_TC_CNET_4_1.yaml b/src/app/tests/suites/certification/Test_TC_CNET_4_1.yaml index fda0797ddbd6e0..54f3f8560b0c5c 100644 --- a/src/app/tests/suites/certification/Test_TC_CNET_4_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_CNET_4_1.yaml @@ -193,5 +193,6 @@ tests: attribute: "SupportedWiFiBands" response: constraints: - type: enum8 + type: list minLength: 1 + maxLength: 6 diff --git a/src/app/tests/suites/certification/Test_TC_CONTENTLAUNCHER_10_4.yaml b/src/app/tests/suites/certification/Test_TC_CONTENTLAUNCHER_10_4.yaml index f192bc0d11dd7f..1fbbdab81d8a26 100644 --- a/src/app/tests/suites/certification/Test_TC_CONTENTLAUNCHER_10_4.yaml +++ b/src/app/tests/suites/certification/Test_TC_CONTENTLAUNCHER_10_4.yaml @@ -36,40 +36,66 @@ tests: verification: | Product maker needs to provide instructions for how to trigger the command on the DUT. For comparison, the DUT behavior for this test step can be simulated using chip-tool (when DUT is a commissioner) or tv-casting-app (when DUT is a commissionee): - ./chip-tool contentlauncher launch-content '{"parameterList": []}' 1 1 1 - ./chip-tv-casting-app contentlauncher launch-content '{"parameterList": []}' 1 1 1 + ./chip-tool contentlauncher launch-content '{"parameterList": [ { "type": 0, "value": "exampleString", "externalIDList": [ { "name": "exampleName", "value": "exampleValue"} ] } ] }' 0 '{"playbackPosition": 0, "textTrack": {"languageCode": "", "audioOutputIndex": 0}}' 1 1 - On TH (tv-app), Verify the launch content command is received successfully. - [1658531449325] [21924:325733] CHIP: [DMG] InvokeRequestMessage = - [1658531449325] [21924:325733] CHIP: [DMG] { - [1658531449325] [21924:325733] CHIP: [DMG] suppressResponse = false, - [1658531449325] [21924:325733] CHIP: [DMG] timedRequest = false, - [1658531449325] [21924:325733] CHIP: [DMG] InvokeRequests = - [1658531449325] [21924:325733] CHIP: [DMG] [ - [1658531449325] [21924:325733] CHIP: [DMG] CommandDataIB = - [1658531449325] [21924:325733] CHIP: [DMG] { - [1658531449325] [21924:325733] CHIP: [DMG] CommandPathIB = - [1658531449325] [21924:325733] CHIP: [DMG] { - [1658531449325] [21924:325733] CHIP: [DMG] EndpointId = 0x1, - [1658531449325] [21924:325733] CHIP: [DMG] ClusterId = 0x50a, - [1658531449325] [21924:325733] CHIP: [DMG] CommandId = 0x0, - [1658531449325] [21924:325733] CHIP: [DMG] }, - [1658531449325] [21924:325733] CHIP: [DMG] - [1658531449325] [21924:325733] CHIP: [DMG] CommandFields = - [1658531449325] [21924:325733] CHIP: [DMG] { - [1658531449325] [21924:325733] CHIP: [DMG] 0x0 = - [1658531449325] [21924:325733] CHIP: [DMG] { - [1658531449325] [21924:325733] CHIP: [DMG] 0x0 = [ - [1658531449325] [21924:325733] CHIP: [DMG] - [1658531449326] [21924:325733] CHIP: [DMG] ], - [1658531449326] [21924:325733] CHIP: [DMG] }, - [1658531449326] [21924:325733] CHIP: [DMG] 0x1 = true, - [1658531449326] [21924:325733] CHIP: [DMG] }, - [1658531449326] [21924:325733] CHIP: [DMG] }, - [1658531449326] [21924:325733] CHIP: [DMG] - [1658531449326] [21924:325733] CHIP: [DMG] ], - [1658531449326] [21924:325733] CHIP: [DMG] - [1658531449326] [21924:325733] CHIP: [DMG] InteractionModelRevision = 1 - [1658531449326] [21924:325733] CHIP: [DMG] }, + ./chip-tv-casting-app contentlauncher launch-content '{"parameterList": [ { "type": 0, "value": "exampleString", "externalIDList": [ { "name": "exampleName", "value": "exampleValue"} ] } ] }' 0 '{"playbackPosition": 0, "textTrack": {"languageCode": "", "audioOutputIndex": 0}}' 1 1 + + + On TH (tv-app), Verify the launch content command is received successfully. + [1706167504.647497][12245:12245] CHIP:EM: >>> [E:12537r S:1570 M:15519558] (S) Msg RX from 2:000000000001B669 [9F65] --- Type 0001:08 (IM:InvokeCommandRequest) + [1706167504.647555][12245:12245] CHIP:EM: Handling via exchange: 12537r, Delegate: 0xaaaac9aaa7c8 + [1706167504.647660][12245:12245] CHIP:DMG: InvokeRequestMessage = + [1706167504.647694][12245:12245] CHIP:DMG: { + [1706167504.647719][12245:12245] CHIP:DMG: suppressResponse = false, + [1706167504.647748][12245:12245] CHIP:DMG: timedRequest = false, + [1706167504.647774][12245:12245] CHIP:DMG: InvokeRequests = + [1706167504.647822][12245:12245] CHIP:DMG: [ + [1706167504.647853][12245:12245] CHIP:DMG: CommandDataIB = + [1706167504.647887][12245:12245] CHIP:DMG: { + [1706167504.647917][12245:12245] CHIP:DMG: CommandPathIB = + [1706167504.647953][12245:12245] CHIP:DMG: { + [1706167504.647987][12245:12245] CHIP:DMG: EndpointId = 0x1, + [1706167504.648023][12245:12245] CHIP:DMG: ClusterId = 0x50a, + [1706167504.648058][12245:12245] CHIP:DMG: CommandId = 0x0, + [1706167504.648090][12245:12245] CHIP:DMG: }, + [1706167504.648124][12245:12245] CHIP:DMG: + [1706167504.648154][12245:12245] CHIP:DMG: CommandFields = + [1706167504.648186][12245:12245] CHIP:DMG: { + [1706167504.648217][12245:12245] CHIP:DMG: 0x0 = + [1706167504.648251][12245:12245] CHIP:DMG: { + [1706167504.648285][12245:12245] CHIP:DMG: 0x0 = [ + [1706167504.648322][12245:12245] CHIP:DMG: + [1706167504.648362][12245:12245] CHIP:DMG: { + [1706167504.648404][12245:12245] CHIP:DMG: 0x0 = 0, + [1706167504.648449][12245:12245] CHIP:DMG: 0x1 = "exampleString" (13 chars), + [1706167504.648491][12245:12245] CHIP:DMG: 0x2 = [ + [1706167504.648533][12245:12245] CHIP:DMG: + [1706167504.648583][12245:12245] CHIP:DMG: { + [1706167504.648630][12245:12245] CHIP:DMG: 0x0 = "exampleName" (11 chars), + [1706167504.648684][12245:12245] CHIP:DMG: 0x1 = "exampleValue" (12 chars), + [1706167504.648733][12245:12245] CHIP:DMG: }, + [1706167504.648777][12245:12245] CHIP:DMG: ], + [1706167504.648819][12245:12245] CHIP:DMG: }, + [1706167504.648859][12245:12245] CHIP:DMG: ], + [1706167504.648895][12245:12245] CHIP:DMG: }, + [1706167504.648930][12245:12245] CHIP:DMG: 0x1 = false, + [1706167504.648963][12245:12245] CHIP:DMG: 0x3 = + [1706167504.648997][12245:12245] CHIP:DMG: { + [1706167504.649033][12245:12245] CHIP:DMG: 0x0 = 0, + [1706167504.649069][12245:12245] CHIP:DMG: 0x1 = + [1706167504.649107][12245:12245] CHIP:DMG: { + [1706167504.649147][12245:12245] CHIP:DMG: 0x0 = "" (0 chars), + [1706167504.649191][12245:12245] CHIP:DMG: 0x2 = 0, + [1706167504.649233][12245:12245] CHIP:DMG: }, + [1706167504.649271][12245:12245] CHIP:DMG: }, + [1706167504.649307][12245:12245] CHIP:DMG: }, + [1706167504.649339][12245:12245] CHIP:DMG: }, + [1706167504.649385][12245:12245] CHIP:DMG: + [1706167504.649412][12245:12245] CHIP:DMG: ], + [1706167504.649457][12245:12245] CHIP:DMG: + [1706167504.649484][12245:12245] CHIP:DMG: InteractionModelRevision = 11 + [1706167504.649511][12245:12245] CHIP:DMG: }, + [1706167504.649703][12245:12245] CHIP:DMG: AccessControl: checking f=2 a=c s=0x000000000001B669 t= c=0x0000_050A e=1 p=o + [1706167504.649746][12245:12245] CHIP:DMG: AccessControl: allowed disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_DISHM_1_2.yaml b/src/app/tests/suites/certification/Test_TC_DISHM_1_2.yaml index 17ee54b3df5fc7..0bb760685297ef 100644 --- a/src/app/tests/suites/certification/Test_TC_DISHM_1_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_DISHM_1_2.yaml @@ -91,25 +91,3 @@ tests: [1689997642.999367][360160:360162] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0059 Attribute 0x0000_0001 DataVersion: 1994417976 [1689997642.999395][360160:360162] CHIP:TOO: CurrentMode: 0 disabled: true - - - label: "Step 4: TH reads from the DUT the OnMode attribute." - PICS: DISHM.S.A0003 - verification: | - ./chip-tool dishwashermode read on-mode 1 1 - - Verify on TH(chip-tool) logs, OnMode attribute value is an integer from supported_modes_dut or null, below is the sample log provided for the raspi platform, Here OnMode attribute value is Null - - [1649676072.465968][10754:10759] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0059 Attribute 0x0000_0003 DataVersion: 4277065072 - [1649676072.466094][10754:10759] CHIP:TOO: OnMode: null - disabled: true - - - label: "Step 5: TH reads from the DUT the StartUpMode attribute." - PICS: DISHM.S.A0002 - verification: | - ./chip-tool dishwashermode read start-up-mode 1 1 - - Verify on TH(chip-tool) logs, StartUpMode attribute value is an integer from supported_modes_dut or null, below is the sample log provided for the raspi platform, Here StartUpMode attribute value is Null - - [1689997956.636092][360258:360260] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0059 Attribute 0x0000_0002 DataVersion: 1994417976 - [1689997956.636125][360258:360260] CHIP:TOO: StartUpMode: null - disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_DISHM_2_1.yaml b/src/app/tests/suites/certification/Test_TC_DISHM_2_1.yaml index 5741789c5dd3f9..2d7ad1388505e5 100644 --- a/src/app/tests/suites/certification/Test_TC_DISHM_2_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_DISHM_2_1.yaml @@ -13,7 +13,7 @@ # limitations under the License. # Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default -name: 263.3.1. [TC-DISHM-2.1] Change to Mode functionality with DUT as Server +name: 263.3.1. [TC-DISHM-2.1] Change to Mode functionality with DUT as Server PICS: - DISHM.S @@ -135,7 +135,8 @@ tests: ./chip-tool dishwashermode change-to-mode 2 1 1 - Verify on TH(chip-tool) log, DUT responds contains a ChangeToModeResponse command with a GenericFailure(0x02) status response and below is the sample log provided for the raspi platform: + Verify on TH(chip-tool) log, DUT responds contains a ChangeToModeResponse command with + Status field is set to GenericFailure(0x02), InvalidInMode(0x03) , or in the MfgCodes (0x80 to 0xBF) range and StatusText field has a length between 1 and 64, below is the sample log provided for the raspi platform: [1690264785.719168][29854:29856] CHIP:DMG: Received Command Response Data, Endpoint=1 Cluster=0x0000_0059 Command=0x0000_0001 [1690264785.719200][29854:29856] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0059 Command 0x0000_0001 diff --git a/src/app/tests/suites/certification/Test_TC_DISHM_3_1.yaml b/src/app/tests/suites/certification/Test_TC_DISHM_3_1.yaml index 7d00383866d22b..5b3cbf40b3b5d5 100644 --- a/src/app/tests/suites/certification/Test_TC_DISHM_3_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_DISHM_3_1.yaml @@ -17,7 +17,7 @@ name: 263.4.1. [TC-DISHM-3.1] On Mode functionality with DUT as Server PICS: - DISHM.S.A0003 - - DISHM.S.F00 + - MOD.S.F00 - OO.S.C00.Rsp - OO.S.C01.Rsp @@ -95,7 +95,7 @@ tests: disabled: true - label: "Step 2: TH reads from the DUT the OnMode attribute." - PICS: DISHM.S.A0003 && DISHM.S.F00 + PICS: DISHM.S.A0003 && MOD.S.F00 verification: | ./chip-tool dishwashermode read on-mode 1 1 @@ -107,7 +107,7 @@ tests: disabled: true - label: "Step 3: TH reads from the DUT the CurrentMode attribute." - PICS: DISHM.S.A0001 && DISHM.S.F00 + PICS: DISHM.S.A0001 && MOD.S.F00 verification: | ./chip-tool dishwashermode read current-mode 1 1 @@ -121,7 +121,7 @@ tests: disabled: true - label: "Step 4: TH reads from the DUT the SupportedModes attribute." - PICS: DISHM.S.A0000 && DISHM.S.F00 + PICS: DISHM.S.A0000 && MOD.S.F00 verification: | ./chip-tool dishwashermode read supported-modes 1 1 @@ -171,7 +171,7 @@ tests: - label: "Step 5: TH sends a ChangeToMode command to the DUT with NewMode set to new_mode_th" - PICS: DISHM.S.C00.Rsp && DISHM.S.F00 + PICS: DISHM.S.C00.Rsp && MOD.S.F00 verification: | ./chip-tool dishwashermode change-to-mode 2 1 1 @@ -184,7 +184,7 @@ tests: disabled: true - label: "Step 6: TH sends a Off command to the DUT" - PICS: OO.S.C00.Rsp && DISHM.S.F00 + PICS: OO.S.C00.Rsp && MOD.S.F00 verification: | ./chip-tool onoff off 1 1 @@ -196,7 +196,7 @@ tests: disabled: true - label: "Step 7: TH sends a On command to the DUT" - PICS: OO.S.C01.Rsp && DISHM.S.F00 + PICS: OO.S.C01.Rsp && MOD.S.F00 verification: | ./chip-tool onoff on 1 1 @@ -208,7 +208,7 @@ tests: disabled: true - label: "Step 8: TH reads from the DUT the CurrentMode attribute." - PICS: DISHM.S.A0001 && DISHM.S.F00 + PICS: DISHM.S.A0001 && MOD.S.F00 verification: | ./chip-tool dishwashermode read current-mode 1 1 diff --git a/src/app/tests/suites/certification/Test_TC_DISHM_3_3.yaml b/src/app/tests/suites/certification/Test_TC_DISHM_3_3.yaml index 6a34bb32cd7cb2..c9e788d45a6eef 100644 --- a/src/app/tests/suites/certification/Test_TC_DISHM_3_3.yaml +++ b/src/app/tests/suites/certification/Test_TC_DISHM_3_3.yaml @@ -20,7 +20,7 @@ name: PICS: - DISHM.S.A0002 - DISHM.S.A0003 - - DISHM.S.F00 + - MOD.S.F00 - OO.S.A4003 config: @@ -221,7 +221,7 @@ tests: disabled: true - label: "Step 8: TH reads from the DUT the OnMode attribute." - PICS: DISHM.S.A0003 && DISHM.S.F00 + PICS: DISHM.S.A0003 && MOD.S.F00 verification: | ./chip-tool dishwashermode read on-mode 1 1 diff --git a/src/app/tests/suites/certification/Test_TC_DRYERCTRL_2_1.yaml b/src/app/tests/suites/certification/Test_TC_DRYERCTRL_2_1.yaml index e0a490cd60ec1c..865f86283a2830 100644 --- a/src/app/tests/suites/certification/Test_TC_DRYERCTRL_2_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_DRYERCTRL_2_1.yaml @@ -48,7 +48,7 @@ tests: response: constraints: type: list - maxLength: 16 + maxLength: 4 - label: "Step 3: TH reads from the DUT the mandatory attribute: @@ -60,7 +60,7 @@ tests: constraints: type: enum8 minValue: 0 - maxValue: 15 + maxValue: 3 - label: "Step 4:TH writes a supported SelectedDrynessLevel attribute that is diff --git a/src/app/tests/suites/certification/Test_TC_LWM_1_1.yaml b/src/app/tests/suites/certification/Test_TC_LWM_1_1.yaml index 7c7caff3a7ce71..c10fb1c2f7602f 100644 --- a/src/app/tests/suites/certification/Test_TC_LWM_1_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_LWM_1_1.yaml @@ -41,6 +41,7 @@ tests: constraints: type: int16u + #Issue https://github.com/project-chip/connectedhomeip/issues/31551 - label: "Step 3:TH reads from the DUT the FeatureMap attribute., bit 0: SHALL be 1 if and only if LWM.S.F00(DEPONOFF)" @@ -90,6 +91,7 @@ tests: type: list contains: [2] + #Issue https://github.com/project-chip/connectedhomeip/issues/31551 - label: "Step 4c: TH reads the Feature dependent attribute(DEPONOFF) in AttributeList" diff --git a/src/app/tests/suites/certification/Test_TC_LWM_1_2.yaml b/src/app/tests/suites/certification/Test_TC_LWM_1_2.yaml index 39c4a04ceb7163..fc9a0211fb7caf 100644 --- a/src/app/tests/suites/certification/Test_TC_LWM_1_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_LWM_1_2.yaml @@ -99,25 +99,3 @@ tests: [1690184642.211028][15428:15430] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0051 Attribute 0x0000_0001 DataVersion: 3075628268 [1690184642.211042][15428:15430] CHIP:TOO: CurrentMode: 0 disabled: true - - - label: "Step 4: TH reads from the DUT the OnMode attribute." - PICS: LWM.S.A0003 - verification: | - ./chip-tool laundrywashermode read on-mode 1 1 - - Verify on TH(chip-tool) logs, OnMode attribute value is an integer value from supported_modes_dut or null, below is the sample log provided for the raspi platform, Here OnMode attribute value is Null - - [1690184668.519026][15432:15434] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0051 Attribute 0x0000_0003 DataVersion: 3075628268 - [1690184668.519041][15432:15434] CHIP:TOO: OnMode: null - disabled: true - - - label: "Step 5: TH reads from the DUT the StartUpMode attribute." - PICS: LWM.S.A0002 - verification: | - ./chip-tool laundrywashermode read start-up-mode 1 1 - - Verify on TH(chip-tool) logs, StartUpMode attribute value is an integer value from supported_modes_dut or null, below is the sample log provided for the raspi platform, Here StartUpMode attribute value is Null - - [1690184690.235037][15436:15438] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0051 Attribute 0x0000_0002 DataVersion: 3075628268 - [1690184690.235048][15436:15438] CHIP:TOO: StartUpMode: null - disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_MEDIAPLAYBACK_6_10.yaml b/src/app/tests/suites/certification/Test_TC_MEDIAPLAYBACK_6_10.yaml index fce8304cea1c83..6e2fbf37ac8cad 100644 --- a/src/app/tests/suites/certification/Test_TC_MEDIAPLAYBACK_6_10.yaml +++ b/src/app/tests/suites/certification/Test_TC_MEDIAPLAYBACK_6_10.yaml @@ -30,39 +30,40 @@ tests: verification: | Product maker needs to provide instructions for how to trigger the command on the DUT. For comparison, the DUT behavior for this test step can be simulated using chip-tool (when DUT is a commissioner) or tv-casting-app (when DUT is a commissionee): - ./chip-tool mediaplayback activate-audio-track 1 2 1 1 + ./chip-tool mediaplayback activate-audio-track activeAudioTrackId_1 0 1 3 On TH (tv-app), Verify the ActivateAudioTrack command is received successfully. - - [1705561368.453512][4597:4597] CHIP:EM: Handling via exchange: 56290r, Delegate: 0xaaaad1391778 - [1705561368.453660][4597:4597] CHIP:DMG: InvokeRequestMessage = - [1705561368.453721][4597:4597] CHIP:DMG: { - [1705561368.453772][4597:4597] CHIP:DMG: suppressResponse = false, - [1705561368.453833][4597:4597] CHIP:DMG: timedRequest = false, - [1705561368.453890][4597:4597] CHIP:DMG: InvokeRequests = - [1705561368.453995][4597:4597] CHIP:DMG: [ - [1705561368.454052][4597:4597] CHIP:DMG: CommandDataIB = - [1705561368.454139][4597:4597] CHIP:DMG: { - [1705561368.454200][4597:4597] CHIP:DMG: CommandPathIB = - [1705561368.454273][4597:4597] CHIP:DMG: { - [1705561368.454367][4597:4597] CHIP:DMG: EndpointId = 0x1, - [1705561368.454442][4597:4597] CHIP:DMG: ClusterId = 0x506, - [1705561368.454536][4597:4597] CHIP:DMG: CommandId = 0xc, - [1705561368.454610][4597:4597] CHIP:DMG: }, - [1705561368.454721][4597:4597] CHIP:DMG: - [1705561368.454807][4597:4597] CHIP:DMG: CommandFields = - [1705561368.454879][4597:4597] CHIP:DMG: { - [1705561368.454976][4597:4597] CHIP:DMG: 0x0 = "1" (1 chars), - [1705561368.455055][4597:4597] CHIP:DMG: 0x1 = 2, - [1705561368.455130][4597:4597] CHIP:DMG: }, - [1705561368.455195][4597:4597] CHIP:DMG: }, - [1705561368.455297][4597:4597] CHIP:DMG: - [1705561368.455354][4597:4597] CHIP:DMG: ], - [1705561368.455447][4597:4597] CHIP:DMG: - [1705561368.455504][4597:4597] CHIP:DMG: InteractionModelRevision = 11 - [1705561368.455559][4597:4597] CHIP:DMG: }, - [1705561368.455805][4597:4597] CHIP:DMG: AccessControl: checking f=2 a=c s=0x000000000001B669 t= c=0x0000_0506 e=1 p=o - [1705561368.455903][4597:4597] CHIP:DMG: AccessControl: allowed + [1706092346.813652][4555:4555] CHIP:EM: Handling via exchange: 39139r, Delegate: 0xaaaaabf7a7c8 + [1706092346.813745][4555:4555] CHIP:DMG: InvokeRequestMessage = + [1706092346.813775][4555:4555] CHIP:DMG: { + [1706092346.813800][4555:4555] CHIP:DMG: suppressResponse = false, + [1706092346.813829][4555:4555] CHIP:DMG: timedRequest = false, + [1706092346.813857][4555:4555] CHIP:DMG: InvokeRequests = + [1706092346.813892][4555:4555] CHIP:DMG: [ + [1706092346.813919][4555:4555] CHIP:DMG: CommandDataIB = + [1706092346.813949][4555:4555] CHIP:DMG: { + [1706092346.813975][4555:4555] CHIP:DMG: CommandPathIB = + [1706092346.814004][4555:4555] CHIP:DMG: { + [1706092346.814041][4555:4555] CHIP:DMG: EndpointId = 0x3, + [1706092346.814077][4555:4555] CHIP:DMG: ClusterId = 0x506, + [1706092346.814111][4555:4555] CHIP:DMG: CommandId = 0xc, + [1706092346.814145][4555:4555] CHIP:DMG: }, + [1706092346.814179][4555:4555] CHIP:DMG: + [1706092346.814209][4555:4555] CHIP:DMG: CommandFields = + [1706092346.814242][4555:4555] CHIP:DMG: { + [1706092346.814278][4555:4555] CHIP:DMG: 0x0 = "activeAudioTrackId_1" (20 chars), + [1706092346.814316][4555:4555] CHIP:DMG: 0x1 = 0, + [1706092346.814351][4555:4555] CHIP:DMG: }, + [1706092346.814382][4555:4555] CHIP:DMG: }, + [1706092346.814417][4555:4555] CHIP:DMG: + [1706092346.814443][4555:4555] CHIP:DMG: ], + [1706092346.814476][4555:4555] CHIP:DMG: + [1706092346.814502][4555:4555] CHIP:DMG: InteractionModelRevision = 11 + [1706092346.814527][4555:4555] CHIP:DMG: }, + [1706092346.814651][4555:4555] CHIP:DMG: AccessControl: checking f=2 a=c s=0x000000000001B669 t= c=0x0000_0506 e=3 p=o + [1706092346.814692][4555:4555] CHIP:DMG: AccessControl: allowed + [1706092346.814776][4555:4555] CHIP:DMG: Received command for Endpoint=3 Cluster=0x0000_0506 Command=0x0000_000C + [1706092346.814824][4555:4555] CHIP:DL: GetContentAppByEndpointId() - endpoint 3 not found disabled: true - label: "Step 2: DUT sends ActivateTextTrack command to TH" @@ -70,38 +71,42 @@ tests: verification: | Product maker needs to provide instructions for how to trigger the command on the DUT. For comparison, the DUT behavior for this test step can be simulated using chip-tool (when DUT is a commissioner) or tv-casting-app (when DUT is a commissionee): - ./chip-tool mediaplayback activate-text-track 1 1 1 + ./chip-tool mediaplayback activate-text-track activeTextTrackId_1 1 3 On TH (tv-app), Verify the ActivateTextTrack command is received successfully. - [1705561407.549846][4597:4597] CHIP:EM: Handling via exchange: 12272r, Delegate: 0xaaaad1391778 - [1705561407.549918][4597:4597] CHIP:DMG: InvokeRequestMessage = - [1705561407.549942][4597:4597] CHIP:DMG: { - [1705561407.549961][4597:4597] CHIP:DMG: suppressResponse = false, - [1705561407.549999][4597:4597] CHIP:DMG: timedRequest = false, - [1705561407.550020][4597:4597] CHIP:DMG: InvokeRequests = - [1705561407.550048][4597:4597] CHIP:DMG: [ - [1705561407.550069][4597:4597] CHIP:DMG: CommandDataIB = - [1705561407.550103][4597:4597] CHIP:DMG: { - [1705561407.550125][4597:4597] CHIP:DMG: CommandPathIB = - [1705561407.550162][4597:4597] CHIP:DMG: { - [1705561407.550190][4597:4597] CHIP:DMG: EndpointId = 0x1, - [1705561407.550227][4597:4597] CHIP:DMG: ClusterId = 0x506, - [1705561407.550255][4597:4597] CHIP:DMG: CommandId = 0xd, - [1705561407.550290][4597:4597] CHIP:DMG: }, - [1705561407.550319][4597:4597] CHIP:DMG: - [1705561407.550342][4597:4597] CHIP:DMG: CommandFields = - [1705561407.550379][4597:4597] CHIP:DMG: { - [1705561407.550409][4597:4597] CHIP:DMG: 0x0 = "1" (1 chars), - [1705561407.550446][4597:4597] CHIP:DMG: }, - [1705561407.550470][4597:4597] CHIP:DMG: }, - [1705561407.550504][4597:4597] CHIP:DMG: - [1705561407.550526][4597:4597] CHIP:DMG: ], - [1705561407.550553][4597:4597] CHIP:DMG: - [1705561407.550584][4597:4597] CHIP:DMG: InteractionModelRevision = 11 - [1705561407.550605][4597:4597] CHIP:DMG: }, - [1705561407.550765][4597:4597] CHIP:DMG: AccessControl: checking f=2 a=c s=0x000000000001B669 t= c=0x0000_0506 e=1 p=o - [1705561407.550811][4597:4597] CHIP:DMG: AccessControl: allowed + [1706092322.174823][4555:4555] CHIP:EM: Handling via exchange: 27897r, Delegate: 0xaaaaabf7a7c8 + [1706092322.174908][4555:4555] CHIP:DMG: InvokeRequestMessage = + [1706092322.174936][4555:4555] CHIP:DMG: { + [1706092322.174956][4555:4555] CHIP:DMG: suppressResponse = false, + [1706092322.174981][4555:4555] CHIP:DMG: timedRequest = false, + [1706092322.175002][4555:4555] CHIP:DMG: InvokeRequests = + [1706092322.175030][4555:4555] CHIP:DMG: [ + [1706092322.175051][4555:4555] CHIP:DMG: CommandDataIB = + [1706092322.175077][4555:4555] CHIP:DMG: { + [1706092322.175101][4555:4555] CHIP:DMG: CommandPathIB = + [1706092322.175128][4555:4555] CHIP:DMG: { + [1706092322.175156][4555:4555] CHIP:DMG: EndpointId = 0x3, + [1706092322.175184][4555:4555] CHIP:DMG: ClusterId = 0x506, + [1706092322.175212][4555:4555] CHIP:DMG: CommandId = 0xd, + [1706092322.175239][4555:4555] CHIP:DMG: }, + [1706092322.175267][4555:4555] CHIP:DMG: + [1706092322.175291][4555:4555] CHIP:DMG: CommandFields = + [1706092322.175317][4555:4555] CHIP:DMG: { + [1706092322.175347][4555:4555] CHIP:DMG: 0x0 = "activeTextTrackId_1" (19 chars), + [1706092322.175376][4555:4555] CHIP:DMG: }, + [1706092322.175401][4555:4555] CHIP:DMG: }, + [1706092322.175428][4555:4555] CHIP:DMG: + [1706092322.175448][4555:4555] CHIP:DMG: ], + [1706092322.175475][4555:4555] CHIP:DMG: + [1706092322.175496][4555:4555] CHIP:DMG: InteractionModelRevision = 11 + [1706092322.175517][4555:4555] CHIP:DMG: }, + [1706092322.175618][4555:4555] CHIP:DMG: AccessControl: checking f=2 a=c s=0x000000000001B669 t= c=0x0000_0506 e=3 p=o + [1706092322.175653][4555:4555] CHIP:DMG: AccessControl: allowed + [1706092322.175678][4555:4555] CHIP:DMG: Received command for Endpoint=3 Cluster=0x0000_0506 Command=0x0000_000D + [1706092322.175713][4555:4555] CHIP:DL: GetContentAppByEndpointId() - endpoint 3 not found + [1706092322.175733][4555:4555] CHIP:ZCL: MediaPlayback NOT returning ContentApp delegate for endpoint:3 + [1706092322.175784][4555:4555] CHIP:DMG: Command handler moving to [NewRespons] disabled: true - label: "Step 1: DUT sends DeactivateTextTrack command to TH" @@ -109,35 +114,34 @@ tests: verification: | Product maker needs to provide instructions for how to trigger the command on the DUT. For comparison, the DUT behavior for this test step can be simulated using chip-tool (when DUT is a commissioner) or tv-casting-app (when DUT is a commissionee): - ./chip-tool mediaplayback deactivate-text-track 1 1 + ./chip-tool mediaplayback deactivate-text-track 1 3 On TH (tv-app), Verify the DeactivateTextTrack command is received successfully. - - [1705561431.594454][4597:4597] CHIP:EM: Handling via exchange: 47051r, Delegate: 0xaaaad1391778 - [1705561431.594534][4597:4597] CHIP:DMG: InvokeRequestMessage = - [1705561431.594564][4597:4597] CHIP:DMG: { - [1705561431.594588][4597:4597] CHIP:DMG: suppressResponse = false, - [1705561431.594689][4597:4597] CHIP:DMG: timedRequest = false, - [1705561431.594718][4597:4597] CHIP:DMG: InvokeRequests = - [1705561431.594764][4597:4597] CHIP:DMG: [ - [1705561431.594791][4597:4597] CHIP:DMG: CommandDataIB = - [1705561431.594821][4597:4597] CHIP:DMG: { - [1705561431.594848][4597:4597] CHIP:DMG: CommandPathIB = - [1705561431.594891][4597:4597] CHIP:DMG: { - [1705561431.594931][4597:4597] CHIP:DMG: EndpointId = 0x1, - [1705561431.594978][4597:4597] CHIP:DMG: ClusterId = 0x506, - [1705561431.595013][4597:4597] CHIP:DMG: CommandId = 0xe, - [1705561431.595056][4597:4597] CHIP:DMG: }, - [1705561431.595092][4597:4597] CHIP:DMG: - [1705561431.595130][4597:4597] CHIP:DMG: CommandFields = - [1705561431.595164][4597:4597] CHIP:DMG: { - [1705561431.595196][4597:4597] CHIP:DMG: }, - [1705561431.595235][4597:4597] CHIP:DMG: }, - [1705561431.595271][4597:4597] CHIP:DMG: - [1705561431.595297][4597:4597] CHIP:DMG: ], - [1705561431.595341][4597:4597] CHIP:DMG: - [1705561431.595367][4597:4597] CHIP:DMG: InteractionModelRevision = 11 - [1705561431.595403][4597:4597] CHIP:DMG: }, - [1705561431.595522][4597:4597] CHIP:DMG: AccessControl: checking f=2 a=c s=0x000000000001B669 t= c=0x0000_0506 e=1 p=o - [1705561431.595573][4597:4597] CHIP:DMG: AccessControl: allowed + [1706092292.772177][4555:4555] CHIP:DMG: InvokeRequestMessage = + [1706092292.772202][4555:4555] CHIP:DMG: { + [1706092292.772221][4555:4555] CHIP:DMG: suppressResponse = false, + [1706092292.772242][4555:4555] CHIP:DMG: timedRequest = false, + [1706092292.772262][4555:4555] CHIP:DMG: InvokeRequests = + [1706092292.772287][4555:4555] CHIP:DMG: [ + [1706092292.772306][4555:4555] CHIP:DMG: CommandDataIB = + [1706092292.772330][4555:4555] CHIP:DMG: { + [1706092292.772351][4555:4555] CHIP:DMG: CommandPathIB = + [1706092292.772376][4555:4555] CHIP:DMG: { + [1706092292.772401][4555:4555] CHIP:DMG: EndpointId = 0x3, + [1706092292.772428][4555:4555] CHIP:DMG: ClusterId = 0x506, + [1706092292.772453][4555:4555] CHIP:DMG: CommandId = 0xe, + [1706092292.772477][4555:4555] CHIP:DMG: }, + [1706092292.772503][4555:4555] CHIP:DMG: + [1706092292.772524][4555:4555] CHIP:DMG: CommandFields = + [1706092292.772547][4555:4555] CHIP:DMG: { + [1706092292.772571][4555:4555] CHIP:DMG: }, + [1706092292.772592][4555:4555] CHIP:DMG: }, + [1706092292.772615][4555:4555] CHIP:DMG: + [1706092292.772634][4555:4555] CHIP:DMG: ], + [1706092292.772657][4555:4555] CHIP:DMG: + [1706092292.772675][4555:4555] CHIP:DMG: InteractionModelRevision = 11 + [1706092292.772694][4555:4555] CHIP:DMG: }, + [1706092292.772782][4555:4555] CHIP:DMG: AccessControl: checking f=2 a=c s=0x000000000001B669 t= c=0x0000_0506 e=3 p=o + [1706092292.772814][4555:4555] CHIP:DMG: AccessControl: allowed + [1706092292.772837][4555:4555] CHIP:DMG: Received command for Endpoint=3 Cluster=0x0000_0506 Command=0x0000_000E disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_MEDIAPLAYBACK_6_8.yaml b/src/app/tests/suites/certification/Test_TC_MEDIAPLAYBACK_6_8.yaml index 7514964cabce09..ab484049df6b10 100644 --- a/src/app/tests/suites/certification/Test_TC_MEDIAPLAYBACK_6_8.yaml +++ b/src/app/tests/suites/certification/Test_TC_MEDIAPLAYBACK_6_8.yaml @@ -35,18 +35,17 @@ tests: verification: | ./chip-tool mediaplayback read active-text-track 1 3 - [1705510042.296465][16330:16332] CHIP:DMG: InteractionModelRevision = 11 - [1705510042.296473][16330:16332] CHIP:DMG: } - [1705510042.296562][16330:16332] CHIP:TOO: Endpoint: 3 Cluster: 0x0000_0506 Attribute 0x0000_0009 DataVersion: 900375739 - [1705510042.296659][16330:16332] CHIP:TOO: ActiveTextTrack: { - [1705510042.296668][16330:16332] CHIP:TOO: Id: activeTextTrackId_0 - [1705510042.296701][16330:16332] CHIP:TOO: TrackAttributes: { - [1705510042.296710][16330:16332] CHIP:TOO: LanguageCode: languageCode1 - [1705510042.296722][16330:16332] CHIP:TOO: DisplayName: displayName1 - [1705510042.296731][16330:16332] CHIP:TOO: } - [1705510042.296741][16330:16332] CHIP:TOO: } - [1705510042.296826][16330:16332] CHIP:EM: <<< [E:46686i S:46889 M:218476891 (Ack:232741748)] (S) Msg TX to 1:0000000000000001 [DC0D] [UDP:[fe80::a151:a1e6:e7:e224%wlp0s20f3]:5640] --- Type 0000:10 (SecureChannel:StandaloneAck) - [1705510042.296863][16330:16332] CHIP:EM: Flushed pending ack for MessageCounter:232741748 on exchange 46686i + On TH(chip-tool), Verify that the attribute returned has a null value. + [1705920200.970728][14332:14334] CHIP:DMG: InteractionModelRevision = 11 + [1705920200.970761][14332:14334] CHIP:DMG: } + [1705920200.970963][14332:14334] CHIP:TOO: Endpoint: 3 Cluster: 0x0000_0506 Attribute 0x0000_0009 DataVersion: 402582000 + [1705920200.976011][14332:14334] CHIP:TOO: ActiveTextTrack: { + [1705920200.976070][14332:14334] CHIP:TOO: Id: + [1705920200.976112][14332:14334] CHIP:TOO: TrackAttributes: null + [1705920200.976140][14332:14334] CHIP:TOO: } + [1705920200.976499][14332:14334] CHIP:EM: <<< [E:44856i S:18023 M:892655 (Ack:231931082)] (S) Msg TX to 1:0000000000000001 [D27C] [UDP:[fe80::e65f:1ff:fe0f:1a01%wlan0]:5640] --- Type 0000:10 (SecureChannel:StandaloneAck) + [1705920200.976661][14332:14334] CHIP:EM: Flushed pending ack for MessageCounter:231931082 on exchange 44856i + [1705920200.976952][14332:14332] CHIP:CTL: Shutting down the commissioner disabled: true - label: "Step 2: TH reads the AvailableTextTracks attribute from the DUT" @@ -54,26 +53,27 @@ tests: verification: | ./chip-tool mediaplayback read available-text-tracks 1 3 - [1705510341.175871][16392:16394] CHIP:DMG: InteractionModelRevision = 11 - [1705510341.175877][16392:16394] CHIP:DMG: } - [1705510341.176016][16392:16394] CHIP:TOO: Endpoint: 3 Cluster: 0x0000_0506 Attribute 0x0000_000A DataVersion: 900375739 - [1705510341.176056][16392:16394] CHIP:TOO: AvailableTextTracks: 2 entries - [1705510341.176114][16392:16394] CHIP:TOO: [1]: { - [1705510341.176121][16392:16394] CHIP:TOO: Id: activeTextTrackId_0 - [1705510341.176142][16392:16394] CHIP:TOO: TrackAttributes: { - [1705510341.176148][16392:16394] CHIP:TOO: LanguageCode: languageCode1 - [1705510341.176156][16392:16394] CHIP:TOO: DisplayName: displayName1 - [1705510341.176163][16392:16394] CHIP:TOO: } - [1705510341.176169][16392:16394] CHIP:TOO: } - [1705510341.176184][16392:16394] CHIP:TOO: [2]: { - [1705510341.176189][16392:16394] CHIP:TOO: Id: activeTextTrackId_1 - [1705510341.176195][16392:16394] CHIP:TOO: TrackAttributes: { - [1705510341.176200][16392:16394] CHIP:TOO: LanguageCode: languageCode2 - [1705510341.176206][16392:16394] CHIP:TOO: DisplayName: displayName2 - [1705510341.176212][16392:16394] CHIP:TOO: } - [1705510341.176218][16392:16394] CHIP:TOO: } - [1705510341.176307][16392:16394] CHIP:EM: <<< [E:6048i S:22581 M:56736636 (Ack:198505019)] (S) Msg TX to 1:0000000000000001 [DC0D] [UDP:[fe80::a151:a1e6:e7:e224%wlp0s20f3]:5640] --- Type 0000:10 (SecureChannel:StandaloneAck) - [1705510341.176351][16392:16394] CHIP:EM: Flushed pending ack for MessageCounter:198505019 o + on TH (chip-tool), Verify that the attribute returned is a list with at least one value. Note the ID value for the first entry in the list. + [1705920288.224989][14336:14338] CHIP:DMG: SuppressResponse = true, + [1705920288.225017][14336:14338] CHIP:DMG: InteractionModelRevision = 11 + [1705920288.225055][14336:14338] CHIP:DMG: } + [1705920288.225369][14336:14338] CHIP:TOO: Endpoint: 3 Cluster: 0x0000_0506 Attribute 0x0000_000A DataVersion: 402582000 + [1705920288.225483][14336:14338] CHIP:TOO: AvailableTextTracks: 2 entries + [1705920288.225605][14336:14338] CHIP:TOO: [1]: { + [1705920288.225633][14336:14338] CHIP:TOO: Id: activeTextTrackId_0 + [1705920288.225710][14336:14338] CHIP:TOO: TrackAttributes: { + [1705920288.225749][14336:14338] CHIP:TOO: LanguageCode: languageCode1 + [1705920288.225776][14336:14338] CHIP:TOO: DisplayName: displayName1 + [1705920288.225800][14336:14338] CHIP:TOO: } + [1705920288.225834][14336:14338] CHIP:TOO: } + [1705920288.225878][14336:14338] CHIP:TOO: [2]: { + [1705920288.225904][14336:14338] CHIP:TOO: Id: activeTextTrackId_1 + [1705920288.225941][14336:14338] CHIP:TOO: TrackAttributes: { + [1705920288.225966][14336:14338] CHIP:TOO: LanguageCode: languageCode2 + [1705920288.225990][14336:14338] CHIP:TOO: DisplayName: displayName2 + [1705920288.226025][14336:14338] CHIP:TOO: } + [1705920288.226049][14336:14338] CHIP:TOO: } + [1705920288.226348][14336:14338] CHIP:EM: <<< [E:12738i S:49490 M:156048597 (Ack:250226608)] (S) Msg TX to 1:0000000000000001 [D27C] [UDP:[fe80::e65f:1ff:fe0f:1a01%wlan0]:5640] --- Type 0000:10 (SecureChannel:StandaloneAck) disabled: true - label: @@ -81,16 +81,15 @@ tests: value from step 2" PICS: MEDIAPLAYBACK.S.C0d.Rsp verification: | - ./chip-tool mediaplayback activate-text-track activeAudioTrackId_0 1 3 - - [1705510090.516480][16340:16342] CHIP:DMG: ], - [1705510090.516490][16340:16342] CHIP:DMG: - [1705510090.516496][16340:16342] CHIP:DMG: InteractionModelRevision = 11 - [1705510090.516502][16340:16342] CHIP:DMG: }, - [1705510090.516532][16340:16342] CHIP:DMG: Received Command Response Status for Endpoint=3 Cluster=0x0000_0506 Command=0x0000_000D Status=0x0 - [1705510090.516551][16340:16342] CHIP:DMG: ICR moving to [AwaitingDe] - [1705510090.516603][16340:16342] CHIP:EM: <<< [E:38439i S:17770 M:29388041 (Ack:36384138)] (S) Msg TX to 1:0000000000000001 [DC0D] [UDP:[fe80::a151:a1e6:e7:e224%wlp0s20f3]:5640] --- Type 0000:10 (SecureChannel:StandaloneAck) - [1705510090.516635][16340:16342] CHIP:EM: Flushed pending ack for MessageCounter:36384138 on exchange 38439i + ./chip-tool mediaplayback activate-text-track activeTextTrackId_1 1 3 + + On TH(chip-tool), Verify response is a successful (value 0) status response + + [1705920343.780331][14340:14342] CHIP:DMG: InteractionModelRevision = 11 + [1705920343.780356][14340:14342] CHIP:DMG: }, + [1705920343.780439][14340:14342] CHIP:DMG: Received Command Response Status for Endpoint=3 Cluster=0x0000_0506 Command=0x0000_000D Status=0x0 + [1705920343.780508][14340:14342] CHIP:DMG: ICR moving to [AwaitingDe] + [1705920343.780756][14340:14342] CHIP:EM: <<< [E:28106i S:13054 M:170208295 (Ack:222967153)] (S) Msg TX to 1:0000000000000001 [D27C] [UDP:[fe80::e65f:1ff:fe0f:19ff%wlan0]:5640] --- Type 0000:10 (SecureChannel:StandaloneAck) disabled: true - label: "Step 4: TH reads the ActiveTextTrack attribute from the DUT" @@ -98,22 +97,19 @@ tests: verification: | ./chip-tool mediaplayback read active-text-track 1 3 - [1705510111.140989][16347:16349] CHIP:DMG: SuppressResponse = true, - [1705510111.140995][16347:16349] CHIP:DMG: InteractionModelRevision = 11 - [1705510111.141001][16347:16349] CHIP:DMG: } - [1705510111.141083][16347:16349] CHIP:TOO: Endpoint: 3 Cluster: 0x0000_0506 Attribute 0x0000_0009 DataVersion: 900375739 - [1705510111.141165][16347:16349] CHIP:TOO: ActiveTextTrack: { - [1705510111.141173][16347:16349] CHIP:TOO: Id: activeTextTrackId_0 - [1705510111.141193][16347:16349] CHIP:TOO: TrackAttributes: { - [1705510111.141200][16347:16349] CHIP:TOO: LanguageCode: languageCode1 - [1705510111.141207][16347:16349] CHIP:TOO: DisplayName: displayName1 - [1705510111.141214][16347:16349] CHIP:TOO: } - [1705510111.141220][16347:16349] CHIP:TOO: } - [1705510111.141301][16347:16349] CHIP:EM: <<< [E:17921i S:33385 M:33192485 (Ack:130923512)] (S) Msg TX to 1:0000000000000001 [DC0D] [UDP:[fe80::a151:a1e6:e7:e224%wlp0s20f3]:5640] --- Type 0000:10 (SecureChannel:StandaloneAck) - [1705510111.141335][16347:16349] CHIP:EM: Flushed pending ack for MessageCounter:130923512 on exchange 17921i - [1705510111.141507][16347:16347] CHIP:CTL: Shutting down the commissioner - [1705510111.141549][16347:16347] CHIP:CTL: Shutting down the controller - [1705510111.141558][16347:16347] CHIP:IN: Expiring all sessions for fabric 0x1!! + On TH(chip-tool), Verify that the attribute returned has a value equal to the ID value from step 2. + + [1705920389.490076][14344:14346] CHIP:DMG: InteractionModelRevision = 11 + [1705920389.490106][14344:14346] CHIP:DMG: } + [1705920389.490347][14344:14346] CHIP:TOO: Endpoint: 3 Cluster: 0x0000_0506 Attribute 0x0000_0009 DataVersion: 402582000 + [1705920389.490552][14344:14346] CHIP:TOO: ActiveTextTrack: { + [1705920389.490588][14344:14346] CHIP:TOO: Id: activeTextTrackId_1 + [1705920389.490634][14344:14346] CHIP:TOO: TrackAttributes: { + [1705920389.490697][14344:14346] CHIP:TOO: LanguageCode: languageCode2 + [1705920389.490731][14344:14346] CHIP:TOO: DisplayName: displayName2 + [1705920389.490761][14344:14346] CHIP:TOO: } + [1705920389.490790][14344:14346] CHIP:TOO: } + [1705920389.491114][14344:14346] CHIP:EM: <<< [E:21221i S:59617 M:230711552 (Ack:159745975)] (S) Msg TX to 1:0000000000000001 [D27C] [UDP:[fe80::e65f:1ff:fe0f:19ff%wlan0]:5640] --- Type 0000:10 (SecureChannel:StandaloneAck) disabled: true - label: "Step 5: TH sends a DeactivateTextTrack command to DUT" @@ -121,14 +117,12 @@ tests: verification: | ./chip-tool mediaplayback deactivate-text-track 1 3 - [1705510243.371080][16362:16364] CHIP:DMG: InteractionModelRevision = 11 - [1705510243.371088][16362:16364] CHIP:DMG: }, - [1705510243.371125][16362:16364] CHIP:DMG: Received Command Response Status for Endpoint=3 Cluster=0x0000_0506 Command=0x0000_000E Status=0x0 - [1705510243.371148][16362:16364] CHIP:DMG: ICR moving to [AwaitingDe] - [1705510243.371203][16362:16364] CHIP:EM: <<< [E:35676i S:44821 M:224478765 (Ack:259090512)] (S) Msg TX to 1:0000000000000001 [DC0D] [UDP:[fe80::a151:a1e6:e7:e224%wlp0s20f3]:5640] --- Type 0000:10 (SecureChannel:StandaloneAck) - [1705510243.371238][16362:16364] CHIP:EM: Flushed pending ack for MessageCounter:259090512 on exchange 35676i - [1705510243.371429][16362:16362] CHIP:CTL: Shutting down the commissioner - [1705510243.371483][16362:16362] CHIP:CTL: Shutting down the controller + On TH(chip-tool), Verify response is a successful (value 0) status response + [1705920432.359994][14349:14351] CHIP:DMG: }, + [1705920432.360088][14349:14351] CHIP:DMG: Received Command Response Status for Endpoint=3 Cluster=0x0000_0506 Command=0x0000_000E Status=0x0 + [1705920432.360161][14349:14351] CHIP:DMG: ICR moving to [AwaitingDe] + [1705920432.360460][14349:14351] CHIP:EM: <<< [E:34606i S:60686 M:245440743 (Ack:79584870)] (S) Msg TX to 1:0000000000000001 [D27C] [UDP:[fe80::e65f:1ff:fe0f:19ff%wlan0]:5640] --- Type 0000:10 (SecureChannel:StandaloneAck) + [1705920432.360651][14349:14351] CHIP:EM: Flushed pending ack for MessageCounter:79584870 on exchange 34606i disabled: true - label: "Step 6: TH reads the ActiveTextTrack attribute from the DUT" @@ -136,14 +130,13 @@ tests: verification: | ./chip-tool mediaplayback read active-text-track 1 3 - - [1705510269.182464][16374:16376] CHIP:DMG: InteractionModelRevision = 11 - [1705510269.182472][16374:16376] CHIP:DMG: } - [1705510269.182556][16374:16376] CHIP:TOO: Endpoint: 3 Cluster: 0x0000_0506 Attribute 0x0000_0009 DataVersion: 900375739 - [1705510269.182642][16374:16376] CHIP:TOO: ActiveTextTrack: { - [1705510269.182651][16374:16376] CHIP:TOO: Id: - [1705510269.182670][16374:16376] CHIP:TOO: TrackAttributes: null - [1705510269.182679][16374:16376] CHIP:TOO: } - [1705510269.182763][16374:16376] CHIP:EM: <<< [E:17583i S:2252 M:176774078 (Ack:187039870)] (S) Msg TX to 1:0000000000000001 [DC0D] [UDP:[fe80::a151:a1e6:e7:e224%wlp0s20f3]:5640] --- Type 0000:10 (SecureChannel:StandaloneAck) - [1705510269.182802][16374:16376] CHIP:EM: Flushed pending ack for MessageCounter:187039870 on exchange 17583i + On TH(chip-tool), Verify that the attribute returned has a null value. + [1705920471.994181][14352:14354] CHIP:DMG: } + [1705920471.994472][14352:14354] CHIP:TOO: Endpoint: 3 Cluster: 0x0000_0506 Attribute 0x0000_0009 DataVersion: 402582000 + [1705920471.994741][14352:14354] CHIP:TOO: ActiveTextTrack: { + [1705920471.994789][14352:14354] CHIP:TOO: Id: + [1705920471.994845][14352:14354] CHIP:TOO: TrackAttributes: null + [1705920471.994886][14352:14354] CHIP:TOO: } + [1705920471.995254][14352:14354] CHIP:EM: <<< [E:930i S:17726 M:66812520 (Ack:87654763)] (S) Msg TX to 1:0000000000000001 [D27C] [UDP:[fe80::e65f:1ff:fe0f:19ff%wlan0]:5640] --- Type 0000:10 (SecureChannel:StandaloneAck) + [1705920471.995502][14352:14354] CHIP:EM: Flushed pending ack for MessageCounter:87654763 on exchange 930i disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_MEDIAPLAYBACK_6_9.yaml b/src/app/tests/suites/certification/Test_TC_MEDIAPLAYBACK_6_9.yaml index 1e5333c65ad226..cab5bca2383abe 100644 --- a/src/app/tests/suites/certification/Test_TC_MEDIAPLAYBACK_6_9.yaml +++ b/src/app/tests/suites/certification/Test_TC_MEDIAPLAYBACK_6_9.yaml @@ -33,21 +33,20 @@ tests: - label: "Step 1: TH reads the ActiveAudioTrack attribute from the DUT" PICS: MEDIAPLAYBACK.S.A0007 verification: | - ./chip-tool mediaplayback read active-audio-track 1 3 - + ./chip-tool mediaplayback read active-audio-track 1 3 - [1705510425.048787][16407:16409] CHIP:DMG: SuppressResponse = true, - [1705510425.048793][16407:16409] CHIP:DMG: InteractionModelRevision = 11 - [1705510425.048799][16407:16409] CHIP:DMG: } - [1705510425.048880][16407:16409] CHIP:TOO: Endpoint: 3 Cluster: 0x0000_0506 Attribute 0x0000_0007 DataVersion: 900375739 - [1705510425.048963][16407:16409] CHIP:TOO: ActiveAudioTrack: { - [1705510425.048971][16407:16409] CHIP:TOO: Id: activeAudioTrackId_0 - [1705510425.048979][16407:16409] CHIP:TOO: TrackAttributes: { - [1705510425.048985][16407:16409] CHIP:TOO: LanguageCode: languageCode1 - [1705510425.048999][16407:16409] CHIP:TOO: DisplayName: displayName1 - [1705510425.049006][16407:16409] CHIP:TOO: } - [1705510425.049012][16407:16409] CHIP:TOO: } - [1705510425.049085][16407:16409] CHIP:EM: <<< [E:36805i S:17177 M:13072081 (Ack:131987814)] (S) Msg TX to 1:0000000000000001 [DC0D] [UDP:[fe80::a151:a1e6:e7:e224%wlp0s20f3]:5640] --- Type 0000:10 (SecureChannel:StandaloneAck) + On TH(chip-tool), Verify that the attribute returned has a TrackStruct returned and Note the ID value of the TrackStruct returned. + [1705920512.114518][14355:14357] CHIP:DMG: InteractionModelRevision = 11 + [1705920512.114545][14355:14357] CHIP:DMG: } + [1705920512.114734][14355:14357] CHIP:TOO: Endpoint: 3 Cluster: 0x0000_0506 Attribute 0x0000_0007 DataVersion: 402582000 + [1705920512.114903][14355:14357] CHIP:TOO: ActiveAudioTrack: { + [1705920512.114934][14355:14357] CHIP:TOO: Id: activeAudioTrackId_0 + [1705920512.114975][14355:14357] CHIP:TOO: TrackAttributes: { + [1705920512.115002][14355:14357] CHIP:TOO: LanguageCode: languageCode1 + [1705920512.115031][14355:14357] CHIP:TOO: DisplayName: displayName1 + [1705920512.115058][14355:14357] CHIP:TOO: } + [1705920512.115083][14355:14357] CHIP:TOO: } + [1705920512.115363][14355:14357] CHIP:EM: <<< [E:47221i S:45649 M:170443074 (Ack:59267096)] (S) Msg TX to 1:0000000000000001 [D27C] [UDP:[fe80::e65f:1ff:fe0f:19ff%wlan0]:5640] --- Type 0000:10 (SecureChannel:StandaloneAck) disabled: true - label: "Step 2: TH reads the AvailableAudioTracks attribute from the DUT" @@ -55,29 +54,29 @@ tests: verification: | ./chip-tool mediaplayback read available-audio-tracks 1 3 + On TH(chip-tool), Verify that the attribute returned is a list with at least two values. Note the ID value for the first entry in the list which does not match the ID value from step 1. - [1705510455.278768][16412:16414] CHIP:DMG: - [1705510455.278774][16412:16414] CHIP:DMG: SuppressResponse = true, - [1705510455.278781][16412:16414] CHIP:DMG: InteractionModelRevision = 11 - [1705510455.278786][16412:16414] CHIP:DMG: } - [1705510455.278928][16412:16414] CHIP:TOO: Endpoint: 3 Cluster: 0x0000_0506 Attribute 0x0000_0008 DataVersion: 900375739 - [1705510455.278981][16412:16414] CHIP:TOO: AvailableAudioTracks: 2 entries - [1705510455.279038][16412:16414] CHIP:TOO: [1]: { - [1705510455.279045][16412:16414] CHIP:TOO: Id: activeAudioTrackId_0 - [1705510455.279053][16412:16414] CHIP:TOO: TrackAttributes: { - [1705510455.279059][16412:16414] CHIP:TOO: LanguageCode: languageCode1 - [1705510455.279074][16412:16414] CHIP:TOO: DisplayName: displayName1 - [1705510455.279081][16412:16414] CHIP:TOO: } - [1705510455.279087][16412:16414] CHIP:TOO: } - [1705510455.279101][16412:16414] CHIP:TOO: [2]: { - [1705510455.279107][16412:16414] CHIP:TOO: Id: activeAudioTrackId_1 - [1705510455.279113][16412:16414] CHIP:TOO: TrackAttributes: { - [1705510455.279119][16412:16414] CHIP:TOO: LanguageCode: languageCode2 - [1705510455.279125][16412:16414] CHIP:TOO: DisplayName: displayName2 - [1705510455.279131][16412:16414] CHIP:TOO: } - [1705510455.279136][16412:16414] CHIP:TOO: } - [1705510455.279220][16412:16414] CHIP:EM: <<< [E:35757i S:13973 M:92594399 (Ack:246741638)] (S) Msg TX to 1:0000000000000001 [DC0D] [UDP:[fe80::a151:a1e6:e7:e224%wlp0s20f3]:5640] --- Type 0000:10 (SecureChannel:StandaloneAck) - [1705510455.279240][16412:16414] CHIP:EM: Flushed pending ack for MessageC + [1705920596.119476][14359:14361] CHIP:DMG: InteractionModelRevision = 11 + [1705920596.119509][14359:14361] CHIP:DMG: } + [1705920596.119948][14359:14361] CHIP:TOO: Endpoint: 3 Cluster: 0x0000_0506 Attribute 0x0000_0008 DataVersion: 402582000 + [1705920596.120087][14359:14361] CHIP:TOO: AvailableAudioTracks: 2 entries + [1705920596.120251][14359:14361] CHIP:TOO: [1]: { + [1705920596.120287][14359:14361] CHIP:TOO: Id: activeAudioTrackId_0 + [1705920596.120334][14359:14361] CHIP:TOO: TrackAttributes: { + [1705920596.120363][14359:14361] CHIP:TOO: LanguageCode: languageCode1 + [1705920596.120394][14359:14361] CHIP:TOO: DisplayName: displayName1 + [1705920596.120422][14359:14361] CHIP:TOO: } + [1705920596.120450][14359:14361] CHIP:TOO: } + [1705920596.120498][14359:14361] CHIP:TOO: [2]: { + [1705920596.120566][14359:14361] CHIP:TOO: Id: activeAudioTrackId_1 + [1705920596.120597][14359:14361] CHIP:TOO: TrackAttributes: { + [1705920596.120625][14359:14361] CHIP:TOO: LanguageCode: languageCode2 + [1705920596.120654][14359:14361] CHIP:TOO: DisplayName: displayName2 + [1705920596.120681][14359:14361] CHIP:TOO: } + [1705920596.120706][14359:14361] CHIP:TOO: } + [1705920596.121044][14359:14361] CHIP:EM: <<< [E:56588i S:8137 M:155398813 (Ack:33992260)] (S) Msg TX to 1:0000000000000001 [D27C] [UDP:[fe80::e65f:1ff:fe0f:19ff%wlan0]:5640] --- Type 0000:10 (SecureChannel:StandaloneAck) + [1705920596.121239][14359:14361] CHIP:EM: Flushed pending ack for MessageCounter:33992260 on exchange 56588i + [1705920596.121489][14359:14359] CHIP:CTL: Shutting down the commissioner disabled: true - label: @@ -85,14 +84,14 @@ tests: ID value from step 2" PICS: MEDIAPLAYBACK.S.C09.Rsp verification: | - ./chip-tool mediaplayback activate-text-track activeAudioTrackId_1 1 3 + ./chip-tool mediaplayback activate-audio-track activeAudioTrackId_1 0 1 3 - [1705510513.251669][16417:16419] CHIP:DMG: - [1705510513.251677][16417:16419] CHIP:DMG: InteractionModelRevision = 11 - [1705510513.251685][16417:16419] CHIP:DMG: }, - [1705510513.251722][16417:16419] CHIP:DMG: Received Command Response Status for Endpoint=3 Cluster=0x0000_0506 Command=0x0000_000D Status=0x0 - [1705510513.251744][16417:16419] CHIP:DMG: ICR moving to [AwaitingDe] - [1705510513.251824][16417:16419] CHIP:EM: <<< [E:31201i S:10659 M:469610 (Ack:79656282)] (S) Msg TX to 1:0000000000000001 [DC0D] [UDP:[fe80::a151:a1e6:e7:e224%wlp0s20f3]:5640] --- Type 0000:10 (SecureChannel:StandaloneAck) + On TH(chip-tool), Verify response is a successful (value 0) status response + [1705991620.394418][1530:1532] CHIP:DMG: InteractionModelRevision = 11 + [1705991620.394472][1530:1532] CHIP:DMG: }, + [1705991620.394620][1530:1532] CHIP:DMG: Received Command Response Status for Endpoint=3 Cluster=0x0000_0506 Command=0x0000_000C Status=0x0 + [1705991620.394737][1530:1532] CHIP:DMG: ICR moving to [AwaitingDe] + [1705991620.395118][1530:1532] CHIP:EM: <<< [E:61504i S:8799 M:34611243 (Ack:51358707)] (S) Msg TX to 1:0000000000000001 [A18B] [UDP:[fe80::e65f:1ff:fe0f:1a01%wlan0]:5640] --- Type 0000:10 (SecureChannel:StandaloneAck) disabled: true - label: "Step 4: TH reads the ActiveAudioTrack attribute from the DUT" @@ -100,15 +99,18 @@ tests: verification: | ./chip-tool mediaplayback read active-audio-track 1 3 - [1705510563.022455][16427:16429] CHIP:DMG: } - [1705510563.022535][16427:16429] CHIP:TOO: Endpoint: 3 Cluster: 0x0000_0506 Attribute 0x0000_0007 DataVersion: 900375739 - [1705510563.022607][16427:16429] CHIP:TOO: ActiveAudioTrack: { - [1705510563.022614][16427:16429] CHIP:TOO: Id: activeAudioTrackId_0 - [1705510563.022622][16427:16429] CHIP:TOO: TrackAttributes: { - [1705510563.022628][16427:16429] CHIP:TOO: LanguageCode: languageCode1 - [1705510563.022642][16427:16429] CHIP:TOO: DisplayName: displayName1 - [1705510563.022649][16427:16429] CHIP:TOO: } - [1705510563.022655][16427:16429] CHIP:TOO: } - [1705510563.022725][16427:16429] CHIP:EM: <<< [E:32787i S:18357 M:255165335 (Ack:47655138)] (S) Msg TX to 1:0000000000000001 [DC0D] [UDP:[fe80::a151:a1e6:e7:e224%wlp0s20f3]:5640] --- Type 0000:10 (SecureChannel:StandaloneAck) - [1705510563.022757][16427:16429] CHIP:EM: Flushed pending ack for MessageCounter:47655138 on exchange 32787i + On TH(Chip-tool), Verify that the attribute returned has a value equal to the ID value from step 2. + + [1705991701.741634][1535:1537] CHIP:DMG: InteractionModelRevision = 11 + [1705991701.741661][1535:1537] CHIP:DMG: } + [1705991701.741854][1535:1537] CHIP:TOO: Endpoint: 3 Cluster: 0x0000_0506 Attribute 0x0000_0007 DataVersion: 102103567 + [1705991701.742058][1535:1537] CHIP:TOO: ActiveAudioTrack: { + [1705991701.742090][1535:1537] CHIP:TOO: Id: activeAudioTrackId_1 + [1705991701.742130][1535:1537] CHIP:TOO: TrackAttributes: { + [1705991701.742157][1535:1537] CHIP:TOO: LanguageCode: languageCode2 + [1705991701.742184][1535:1537] CHIP:TOO: DisplayName: displayName2 + [1705991701.742210][1535:1537] CHIP:TOO: } + [1705991701.742234][1535:1537] CHIP:TOO: } + [1705991701.742511][1535:1537] CHIP:EM: <<< [E:60304i S:17574 M:242978007 (Ack:67342887)] (S) Msg TX to 1:0000000000000001 [A18B] [UDP:[fe80::e65f:1ff:fe0f:19ff%wlan0]:5640] --- Type 0000:10 (SecureChannel:StandaloneAck) + [1705991701.742652][1535:1537] CHIP:EM: Flushed pending ack for MessageCounter:67342887 on exchange 60304i disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_OTCCM_1_1.yaml b/src/app/tests/suites/certification/Test_TC_OTCCM_1_1.yaml index 180490a567c742..560eb4cac417ef 100644 --- a/src/app/tests/suites/certification/Test_TC_OTCCM_1_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_OTCCM_1_1.yaml @@ -11,7 +11,6 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -# Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default name: 260.1.1. [TC-OTCCM-1.1] Global attributes with DUT as Server diff --git a/src/app/tests/suites/certification/Test_TC_OTCCM_1_2.yaml b/src/app/tests/suites/certification/Test_TC_OTCCM_1_2.yaml index 7b793c9694fe10..ce90c982b8bcf9 100644 --- a/src/app/tests/suites/certification/Test_TC_OTCCM_1_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_OTCCM_1_2.yaml @@ -34,38 +34,105 @@ tests: - label: "Step 2: TH reads from the DUT the SupportedModes attribute." PICS: OTCCM.S.A0000 verification: | - ./chip-tool Ovenmode read supported-modes 1 1 + ./chip-tool ovenmode read supported-modes 1 1 - Verify that the DUT response contains list of ModeOptionsStruct entries. - - Verify that the list has at least 2 and at most 255 entries - - Verify that each ModeOptionsStruct entry has a unique Mode field value and Label field value - - If ModeOptionsStruct entry’s ModeTags field is not empty, then Verify the values of the Value fields that are not larger than 16 bits, for each Value field: Is the mode tag value a defined common tag value ( Auto(0x0000), Quick(0x0001), Quiet(0x0002), LowNoise(0x0003), LowEnergy(0x0004), Vacation(0x0005), Min(0x0006), Max(0x0007), Night(0x0008), Day(0x0009)) or a defined cluster derived tag value ( Normal, Delicate, Heavy, Whites) or in the MfgTags (0x8000 to 0xBFFF) range - - If the Value field is in the MfgTags (0x8000 to 0xBFFF) range, the TagName field is a string with a length between 1 and 64 - - Verify that at least one ModeOptionsStruct entry includes the Normal mode tag - - Save the Mode field values as supported_modes_dut on the TH (Chip-tool) - disabled: true - - - label: "Step 3: TH reads from the DUT the CurrentMode attribute." - PICS: OTCCM.S.A0001 - verification: | - ./chip-tool Ovenmode read current-mode 1 1 + - Verify that the DUT response contains a list of ModeOptionsStruct entries + -Verify that the list has at least 2 and at most 255 entries + - Verify that each ModeOptionsStruct entry has a unique Mode field value + - Verify that each ModeOptionsStruct entry has a unique Label field value + - Verify that each ModeOptionsStruct entry’s ModeTags field has: + at least one entry the values of the Value fields that are not larger than 16 bits + - for each Value field: Is the mode tag value a defined common tag value (Auto(0x0000), Quick(0x0001), Quiet(0x0002), LowNoise(0x0003), LowEnergy(0x0004), Vacation(0x0005), Min(0x0006), Max(0x0007), Night(0x0008), Day(0x0009)) or a defined derived cluster tag value (Bake(0x4000), Convection(0x4001), Grill(0x4002), Roast(0x4003), Clean(0x4004), Convection Bake(0x4005), Convection Roast(0x4006), Warming(0x4007), Proofing(0x4008)) or in the MfgTags (0x8000 to 0xBFFF) range + - for at least one Value field: Is the mode tag value a defined common tag value (Auto(0x0000), Quick(0x0001), Quiet(0x0002), LowNoise(0x0003), LowEnergy(0x0004), Vacation(0x0005), Min(0x0006), Max(0x0007), Night(0x0008), Day(0x0009)) or a derived cluster value (Normal, Defrost) + - if the Value field is in the MfgTags (0x8000 to 0xBFFF) range, the TagName field is a string with a length between 1 and 64 + - Verify that at least one ModeOptionsStruct entry includes the Bake(0x4000) mode tag in the ModeTags field + - Save the Mode field values as supported_modes_dut, On the TH (Chip-tool) and below is the sample log provided for the raspi platform: - Verify on TH(chip-tool) logs, CurrentMode attribute value is an integer value from supported_modes_dut + [1705647707.587205][79487:79492] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0049 Attribute 0x0000_0000 DataVersion: 3240184500 + [1705647707.587250][79487:79492] CHIP:TOO: SupportedModes: 9 entries + [1705647707.587265][79487:79492] CHIP:TOO: [1]: { + [1705647707.587268][79487:79492] CHIP:TOO: Label: Bake + [1705647707.587275][79487:79492] CHIP:TOO: Mode: 0 + [1705647707.587282][79487:79492] CHIP:TOO: ModeTags: 1 entries + [1705647707.587287][79487:79492] CHIP:TOO: [1]: { + [1705647707.587290][79487:79492] CHIP:TOO: Value: 16384 + [1705647707.587294][79487:79492] CHIP:TOO: } + [1705647707.587297][79487:79492] CHIP:TOO: } + [1705647707.587303][79487:79492] CHIP:TOO: [2]: { + [1705647707.587305][79487:79492] CHIP:TOO: Label: Convection + [1705647707.587308][79487:79492] CHIP:TOO: Mode: 1 + [1705647707.587311][79487:79492] CHIP:TOO: ModeTags: 1 entries + [1705647707.587316][79487:79492] CHIP:TOO: [1]: { + [1705647707.587318][79487:79492] CHIP:TOO: Value: 16385 + [1705647707.587321][79487:79492] CHIP:TOO: } + [1705647707.587324][79487:79492] CHIP:TOO: } + [1705647707.587330][79487:79492] CHIP:TOO: [3]: { + [1705647707.587333][79487:79492] CHIP:TOO: Label: Grill + [1705647707.587335][79487:79492] CHIP:TOO: Mode: 2 + [1705647707.587338][79487:79492] CHIP:TOO: ModeTags: 1 entries + [1705647707.587342][79487:79492] CHIP:TOO: [1]: { + [1705647707.587345][79487:79492] CHIP:TOO: Value: 16386 + [1705647707.587348][79487:79492] CHIP:TOO: } + [1705647707.587351][79487:79492] CHIP:TOO: } + [1705647707.587356][79487:79492] CHIP:TOO: [4]: { + [1705647707.587359][79487:79492] CHIP:TOO: Label: Roast + [1705647707.587361][79487:79492] CHIP:TOO: Mode: 3 + [1705647707.587364][79487:79492] CHIP:TOO: ModeTags: 1 entries + [1705647707.587369][79487:79492] CHIP:TOO: [1]: { + [1705647707.587371][79487:79492] CHIP:TOO: Value: 16387 + [1705647707.587374][79487:79492] CHIP:TOO: } + [1705647707.587376][79487:79492] CHIP:TOO: } + [1705647707.587382][79487:79492] CHIP:TOO: [5]: { + [1705647707.587384][79487:79492] CHIP:TOO: Label: Clean + [1705647707.587387][79487:79492] CHIP:TOO: Mode: 4 + [1705647707.587390][79487:79492] CHIP:TOO: ModeTags: 1 entries + [1705647707.587394][79487:79492] CHIP:TOO: [1]: { + [1705647707.587397][79487:79492] CHIP:TOO: Value: 16388 + [1705647707.587400][79487:79492] CHIP:TOO: } + [1705647707.587402][79487:79492] CHIP:TOO: } + [1705647707.587408][79487:79492] CHIP:TOO: [6]: { + [1705647707.587410][79487:79492] CHIP:TOO: Label: Convection Bake + [1705647707.587413][79487:79492] CHIP:TOO: Mode: 5 + [1705647707.587416][79487:79492] CHIP:TOO: ModeTags: 1 entries + [1705647707.587420][79487:79492] CHIP:TOO: [1]: { + [1705647707.587423][79487:79492] CHIP:TOO: Value: 16389 + [1705647707.587425][79487:79492] CHIP:TOO: } + [1705647707.587428][79487:79492] CHIP:TOO: } + [1705647707.587434][79487:79492] CHIP:TOO: [7]: { + [1705647707.587436][79487:79492] CHIP:TOO: Label: Convection Roast + [1705647707.587439][79487:79492] CHIP:TOO: Mode: 6 + [1705647707.587442][79487:79492] CHIP:TOO: ModeTags: 1 entries + [1705647707.587446][79487:79492] CHIP:TOO: [1]: { + [1705647707.587449][79487:79492] CHIP:TOO: Value: 16390 + [1705647707.587451][79487:79492] CHIP:TOO: } + [1705647707.587454][79487:79492] CHIP:TOO: } + [1705647707.587460][79487:79492] CHIP:TOO: [8]: { + [1705647707.587462][79487:79492] CHIP:TOO: Label: Warming + [1705647707.587465][79487:79492] CHIP:TOO: Mode: 7 + [1705647707.587468][79487:79492] CHIP:TOO: ModeTags: 1 entries + [1705647707.587472][79487:79492] CHIP:TOO: [1]: { + [1705647707.587475][79487:79492] CHIP:TOO: Value: 16391 + [1705647707.587477][79487:79492] CHIP:TOO: } + [1705647707.587480][79487:79492] CHIP:TOO: } + [1705647707.587485][79487:79492] CHIP:TOO: [9]: { + [1705647707.587488][79487:79492] CHIP:TOO: Label: Proofing + [1705647707.587490][79487:79492] CHIP:TOO: Mode: 8 + [1705647707.587493][79487:79492] CHIP:TOO: ModeTags: 1 entries + [1705647707.587497][79487:79492] CHIP:TOO: [1]: { + [1705647707.587500][79487:79492] CHIP:TOO: Value: 16392 + [1705647707.587502][79487:79492] CHIP:TOO: } + [1705647707.587505][79487:79492] CHIP:TOO: } disabled: true - - label: "Step 4: TH reads from the DUT the OnMode attribute." - PICS: OTCCM.S.A0003 + - label: "Step 3: TH reads from the DUT the CurrentMode attribute." + PICS: OTCCM.S.A0001 verification: | - ./chip-tool Ovenmode read on-mode 1 1 + ./chip-tool ovenmode read current-mode 1 1 - Verify on TH(chip-tool) logs, OnMode attribute value is an integer value from supported_modes_dut or null - disabled: true - - - label: "Step 5: TH reads from the DUT the StartUpMode attribute." - PICS: OTCCM.S.A0002 - verification: | - ./chip-tool Ovenmode read start-up-mode 1 1 + Verify on TH(chip-tool) logs, CurrentMode attribute value is an integer value from supported_modes_dut, below is the sample log provided for the raspi platform, Here CurrentMode attribute value is 0 - Verify on TH(chip-tool) logs, StartUpMode attribute value is an integer value from supported_modes_dut or null + [1705647748.316225][81944:81949] CHIP:DMG: } + [1705647748.316354][81944:81949] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0049 Attribute 0x0000_0001 DataVersion: 3240184500 + [1705647748.316395][81944:81949] CHIP:TOO: CurrentMode: 0 disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_OTCCM_2_1.yaml b/src/app/tests/suites/certification/Test_TC_OTCCM_2_1.yaml index 1e6d17ff71679f..00f08a50b89afa 100644 --- a/src/app/tests/suites/certification/Test_TC_OTCCM_2_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_OTCCM_2_1.yaml @@ -83,7 +83,9 @@ tests: - label: "Step 5: Manually put the device in a state from which it will FAIL to transition to PIXIT.OTCCM.MODE_CHANGE_FAIL" - PICS: OTCCM.S.M.CAN_TEST_MODE_FAILURE && PICS_SKIP_SAMPLE_APP + PICS: + OTCCM.S.M.CAN_TEST_MODE_FAILURE && PICS_SKIP_SAMPLE_APP && + OTCCM.S.M.CAN_MANUALLY_CONTROLLED verification: | Manual operation required cluster: "LogCommands" @@ -96,7 +98,7 @@ tests: value: "y" - label: "Step 6: TH reads from the DUT the CurrentMode attribute." - PICS: OTCCM.S.A0001 + PICS: OTCCM.S.A0001 && OTCCM.S.M.CAN_MANUALLY_CONTROLLED command: "readAttribute" attribute: "CurrentMode" response: @@ -146,7 +148,7 @@ tests: - label: "Step 9: Manually put the device in a state from which it will SUCCESSFULLY transition to PIXIT.OTCCM.MODE_CHANGE_OK" - PICS: PICS_SKIP_SAMPLE_APP + PICS: PICS_SKIP_SAMPLE_APP && OTCCM.S.M.CAN_MANUALLY_CONTROLLED verification: | Manual operation required cluster: "LogCommands" @@ -159,7 +161,7 @@ tests: value: "y" - label: "Step 10: TH reads from the DUT the CurrentMode attribute." - PICS: OTCCM.S.A0001 + PICS: OTCCM.S.A0001 && OTCCM.S.M.CAN_MANUALLY_CONTROLLED command: "readAttribute" attribute: "CurrentMode" response: diff --git a/src/app/tests/suites/certification/Test_TC_OTCCM_3_1.yaml b/src/app/tests/suites/certification/Test_TC_OTCCM_3_1.yaml index 9f805fb0dd8101..3d886d15ab6253 100644 --- a/src/app/tests/suites/certification/Test_TC_OTCCM_3_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_OTCCM_3_1.yaml @@ -16,7 +16,7 @@ name: 3.4 [TC-OTCCM-3.1] On Mode functionality with DUT as Server PICS: - OTCCM.S.A0003 - - OTCCM.S.F00 + - MOD.S.F00 - OO.S.C00.Rsp - OO.S.C01.Rsp @@ -47,14 +47,14 @@ tests: "Precondition: TH writes from the DUT the OnMode attribute.NOTE: To execute this test case set onmode to any integer value because as default it value has null." - PICS: OTCCM.S.A0003 && OTCCM.S.F00 + PICS: OTCCM.S.A0003 && MOD.S.F00 command: "writeAttribute" attribute: "OnMode" arguments: value: ConfigureOnMode - label: "Step 2: TH reads from the DUT the OnMode attribute." - PICS: OTCCM.S.A0003 && OTCCM.S.F00 + PICS: OTCCM.S.A0003 && MOD.S.F00 command: "readAttribute" attribute: "OnMode" response: @@ -63,7 +63,7 @@ tests: type: int8u - label: "Step 3: TH reads from the DUT the CurrentMode attribute." - PICS: OTCCM.S.A0001 && OTCCM.S.F00 + PICS: OTCCM.S.A0001 && MOD.S.F00 command: "readAttribute" attribute: "CurrentMode" response: @@ -74,6 +74,7 @@ tests: - label: "If on_mode_dut is equal to old_current_mode_dut proceed to step 4. Else proceed to step 6." + PICS: OTCCM.S.A0001 && MOD.S.F00 && OTCCM.S.A0003 cluster: "EqualityCommands" command: "UnsignedNumberEquals" arguments: @@ -89,7 +90,7 @@ tests: - label: "Step 4: TH reads from the DUT the SupportedModes attribute." runIf: IsExpectedValue - PICS: OTCCM.S.A0000 && OTCCM.S.F00 + PICS: OTCCM.S.A0000 && MOD.S.F00 command: "readAttribute" attribute: "SupportedModes" response: @@ -101,7 +102,7 @@ tests: "Step 5: TH sends a ChangeToMode command to the DUT with NewMode set to new_mode_th" runIf: IsExpectedValue - PICS: OTCCM.S.C00.Rsp && OTCCM.S.F00 + PICS: OTCCM.S.C00.Rsp && MOD.S.F00 command: "ChangeToMode" arguments: values: @@ -113,17 +114,17 @@ tests: value: 0x00 - label: "Step 6:TH sends a Off command to the DUT" - PICS: OO.S.C00.Rsp && OTCCM.S.F00 + PICS: OO.S.C00.Rsp && MOD.S.F00 cluster: "On/Off" command: "Off" - label: "Step 7:TH sends a On command to the DUT" - PICS: OO.S.C01.Rsp && OTCCM.S.F00 + PICS: OO.S.C01.Rsp && MOD.S.F00 cluster: "On/Off" command: "On" - label: "Step 8: TH reads from the DUT the CurrentMode attribute." - PICS: OTCCM.S.A0001 && OTCCM.S.F00 + PICS: OTCCM.S.A0001 && MOD.S.F00 command: "readAttribute" attribute: "CurrentMode" response: diff --git a/src/app/tests/suites/certification/Test_TC_OTCCM_3_3.yaml b/src/app/tests/suites/certification/Test_TC_OTCCM_3_3.yaml index bb1e8edf932f16..27184569f51b5a 100644 --- a/src/app/tests/suites/certification/Test_TC_OTCCM_3_3.yaml +++ b/src/app/tests/suites/certification/Test_TC_OTCCM_3_3.yaml @@ -18,7 +18,7 @@ name: PICS: - OTCCM.S.A0002 - OTCCM.S.A0003 - - OTCCM.S.F00 + - MOD.S.F00 - OO.S.A4003 config: @@ -135,7 +135,7 @@ tests: value: new_mode_th - label: "Step 8: TH reads from the DUT the OnMode attribute." - PICS: OTCCM.S.A0003 && OTCCM.S.F00 + PICS: OTCCM.S.A0003 && MOD.S.F00 command: "readAttribute" attribute: "OnMode" response: diff --git a/src/app/tests/suites/certification/Test_TC_TCCM_1_1.yaml b/src/app/tests/suites/certification/Test_TC_TCCM_1_1.yaml index c3cd45da41d4db..4a7a44a2bfc6e8 100644 --- a/src/app/tests/suites/certification/Test_TC_TCCM_1_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_TCCM_1_1.yaml @@ -41,6 +41,7 @@ tests: constraints: type: int16u + #Issue https://github.com/project-chip/connectedhomeip/issues/31551 - label: "Step 3: TH reads from the DUT the FeatureMap attribute." command: "readAttribute" attribute: "FeatureMap" @@ -90,6 +91,7 @@ tests: type: list contains: [2] + #Issue https://github.com/project-chip/connectedhomeip/issues/31551 - label: "Step 4c: TH reads from the DUT the AttributeList attribute. 0x0003 SHALL be included if and only if TCCM.S.F00(DEPONOFF)" diff --git a/src/app/tests/suites/certification/Test_TC_TCCM_1_2.yaml b/src/app/tests/suites/certification/Test_TC_TCCM_1_2.yaml index ebeb15ee878c7c..8e3d3190ba249c 100644 --- a/src/app/tests/suites/certification/Test_TC_TCCM_1_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_TCCM_1_2.yaml @@ -82,25 +82,3 @@ tests: [1690189682.782276][16162:16164] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0052 Attribute 0x0000_0001 DataVersion: 473867547 [1690189682.782314][16162:16164] CHIP:TOO: CurrentMode: 0 disabled: true - - - label: "Step 4: TH reads from the DUT the OnMode attribute." - PICS: TCCM.S.A0003 - verification: | - ./chip-tool refrigeratorandtemperaturecontrolledcabinetmode read on-mode 1 1 - - Verify on TH(chip-tool) logs, OnMode attribute value is an integer from supported_modes_dut or null, below is the sample log provided for the raspi platform, Here OnMode attribute value is Null - - [1690189699.711642][16169:16171] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0052 Attribute 0x0000_0003 DataVersion: 473867547 - [1690189699.711687][16169:16171] CHIP:TOO: OnMode: null - disabled: true - - - label: "Step 5: TH reads from the DUT the StartUpMode attribute." - PICS: TCCM.S.A0002 - verification: | - ./chip-tool refrigeratorandtemperaturecontrolledcabinetmode read start-up-mode 1 1 - - Verify on TH(chip-tool) logs, StartUpMode attribute value is an integer from supported_modes_dut or null, below is the sample log provided for the raspi platform, Here StartUpMode attribute value is Null - - [1690189713.973520][16173:16175] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0052 Attribute 0x0000_0002 DataVersion: 473867547 - [1690189713.973576][16173:16175] CHIP:TOO: StartUpMode: null - disabled: true diff --git a/src/app/tests/suites/certification/ci-pics-values b/src/app/tests/suites/certification/ci-pics-values index fd11f3ae2ac007..3650ec8e6aa3ab 100644 --- a/src/app/tests/suites/certification/ci-pics-values +++ b/src/app/tests/suites/certification/ci-pics-values @@ -2839,6 +2839,7 @@ OTCCM.S.C01.Tx=0 #Manual controllable OTCCM.S.M.CAN_TEST_MODE_FAILURE=0 OTCCM.S.M.CAN_MANUALLY_CONTROLLED=0 +OTCCM.S.M.CAN_MANUALLY_CONTROLLED=0 #Energy EVSE Cluster EEVSE.S=0