diff --git a/src/app/tests/suites/certification/Test_TC_ACL_2_10.yaml b/src/app/tests/suites/certification/Test_TC_ACL_2_10.yaml index 4a1891a97f549f..d3c0b880bc077c 100644 --- a/src/app/tests/suites/certification/Test_TC_ACL_2_10.yaml +++ b/src/app/tests/suites/certification/Test_TC_ACL_2_10.yaml @@ -180,7 +180,7 @@ tests: - label: "Step 9: Reboot DUT" verification: | - Not implemented in YAML + Did the DUT successfully reboot? cluster: "LogCommands" command: "UserPrompt" PICS: PICS_SKIP_SAMPLE_APP diff --git a/src/app/tests/suites/certification/Test_TC_ACT_3_1_Simulated.yaml b/src/app/tests/suites/certification/Test_TC_ACT_3_1_Simulated.yaml index e5337724c76470..603a75ea3c6d9b 100644 --- a/src/app/tests/suites/certification/Test_TC_ACT_3_1_Simulated.yaml +++ b/src/app/tests/suites/certification/Test_TC_ACT_3_1_Simulated.yaml @@ -42,3 +42,410 @@ tests: - label: "Read attribute: SetupURL" wait: "readAttribute" attribute: "SetupURL" + + - label: + "Configure TH such that it implements mandatory and none of the + optional attributes of the server-side of the cluster, and that it + also reflects this in global attributes such as FeatureMap and + AttributeList.Commission DUT to TH again" + verification: | + ./chip-tool actions read feature-map 1 1 + + Verify none of the optional feature of the server-side of the cluster is listed on TH(all-clusters-minnimal-app) Log + + [1666952667.233980][217377:217377] CHIP:IM: Received Read request + [1666952667.234042][217377:217377] CHIP:DMG: ReadRequestMessage = + [1666952667.234055][217377:217377] CHIP:DMG: { + [1666952667.234066][217377:217377] CHIP:DMG: AttributePathIBs = + [1666952667.234080][217377:217377] CHIP:DMG: [ + [1666952667.234092][217377:217377] CHIP:DMG: AttributePathIB = + [1666952667.234106][217377:217377] CHIP:DMG: { + [1666952667.234121][217377:217377] CHIP:DMG: Endpoint = 0x1, + [1666952667.234135][217377:217377] CHIP:DMG: Cluster = 0x25, + [1666952667.234150][217377:217377] CHIP:DMG: Attribute = 0x0000_FFFC, + [1666952667.234162][217377:217377] CHIP:DMG: } + [1666952667.234177][217377:217377] CHIP:DMG: + [1666952667.234189][217377:217377] CHIP:DMG: ], + [1666952667.234205][217377:217377] CHIP:DMG: + [1666952667.234218][217377:217377] CHIP:DMG: isFabricFiltered = true, + [1666952667.234230][217377:217377] CHIP:DMG: InteractionModelRevision = 1 + [1666952667.234242][217377:217377] CHIP:DMG: }, + [1666952667.234299][217377:217377] CHIP:DMG: IM RH moving to [GeneratingReports] + [1666952667.234351][217377:217377] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 + [1666952667.234366][217377:217377] CHIP:DMG: Cluster 25, Attribute fffc is dirty + [1666952667.234378][217377:217377] CHIP:DMG: Reading attribute: Cluster=0x0000_0025 Endpoint=1 AttributeId=0x0000_FFFC (expanded=0) + [1666952667.234396][217377:217377] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0025 e=1 p=v + [1666952667.234416][217377:217377] CHIP:DMG: AccessControl: allowed + [1666952667.234450][217377:217377] CHIP:DMG: Sending report (payload has 37 bytes)... + [1666952667.234672][217377:217377] CHIP:EM: <<< [E:30993r M:147872011 (Ack:47982410)] (S) Msg TX to 1:000000000001B669 [AE59] --- Type 0001:05 (IM:ReportData) + [1666952667.234702][217377:217377] CHIP:IN: (S) Sending msg 147872011 on secure session with LSID: 63117 + [1666952667.234980][217377:217377] CHIP:DMG: >> to UDP:[fe80::485c:bace:6107:3682%wlp3s0]:60986 | 147872011 | [Interaction Model (1) / Report Data (0x05) / Session = 46893 / Exchange = 30993] + [1666952667.235009][217377:217377] CHIP:DMG: Header Flags = + [1666952667.235021][217377:217377] CHIP:DMG: { + [1666952667.235046][217377:217377] CHIP:DMG: Exchange (0x06) = + [1666952667.235058][217377:217377] CHIP:DMG: { + [1666952667.235072][217377:217377] CHIP:DMG: AckMsg = 47982410 + [1666952667.235084][217377:217377] CHIP:DMG: NeedsAck = true + [1666952667.235127][217377:217377] CHIP:DMG: } + [1666952667.235147][217377:217377] CHIP:DMG: } + [1666952667.235158][217377:217377] CHIP:DMG: + [1666952667.235175][217377:217377] CHIP:DMG: Encrypted Payload (71 bytes) = + [1666952667.235186][217377:217377] CHIP:DMG: { + [1666952667.235197][217377:217377] CHIP:DMG: data = 002db7000b59d0088ab820a8595145a1757b47b8f77026a7a93316c7d5ad7381b9aa5cc8f40b5855924b4832512700a6d52a6435b0ba5340e5cb92b95b512bfae5b4d6393b0a9f + [1666952667.235211][217377:217377] CHIP:DMG: buffer_ptr = 94384713812592 + [1666952667.235222][217377:217377] CHIP:DMG: } + [1666952667.235233][217377:217377] CHIP:DMG: + [1666952667.235262][217377:217377] CHIP:DMG: Decrypted Payload (37 bytes) = + [1666952667.235274][217377:217377] CHIP:DMG: { + [1666952667.235285][217377:217377] CHIP:DMG: data = 1536011535012600e0b2edc537012402012403252504fcff18240200181818290424ff0118 + [1666952667.235297][217377:217377] CHIP:DMG: } + [1666952667.235308][217377:217377] CHIP:DMG: + [1666952667.235365][217377:217377] CHIP:DMG: ReportDataMessage = + [1666952667.235379][217377:217377] CHIP:DMG: { + [1666952667.235391][217377:217377] CHIP:DMG: AttributeReportIBs = + [1666952667.235411][217377:217377] CHIP:DMG: [ + [1666952667.235423][217377:217377] CHIP:DMG: AttributeReportIB = + [1666952667.235442][217377:217377] CHIP:DMG: { + [1666952667.235455][217377:217377] CHIP:DMG: AttributeDataIB = + [1666952667.235471][217377:217377] CHIP:DMG: { + [1666952667.235486][217377:217377] CHIP:DMG: DataVersion = 0xc5edb2e0, + [1666952667.235499][217377:217377] CHIP:DMG: AttributePathIB = + [1666952667.235514][217377:217377] CHIP:DMG: { + [1666952667.235529][217377:217377] CHIP:DMG: Endpoint = 0x1, + [1666952667.235545][217377:217377] CHIP:DMG: Cluster = 0x25, + [1666952667.235564][217377:217377] CHIP:DMG: Attribute = 0x0000_FFFC, + [1666952667.235580][217377:217377] CHIP:DMG: } + [1666952667.235598][217377:217377] CHIP:DMG: + [1666952667.235614][217377:217377] CHIP:DMG: Data = 0, + [1666952667.235630][217377:217377] CHIP:DMG: }, + [1666952667.235647][217377:217377] CHIP:DMG: + [1666952667.235659][217377:217377] CHIP:DMG: }, + [1666952667.235675][217377:217377] CHIP:DMG: + [1666952667.235687][217377:217377] CHIP:DMG: ], + [1666952667.235706][217377:217377] CHIP:DMG: + [1666952667.235719][217377:217377] CHIP:DMG: SuppressResponse = true, + [1666952667.235732][217377:217377] CHIP:DMG: InteractionModelRevision = 1 + [1666952667.235744][217377:217377] CHIP:DMG: } + + + + ./chip-tool actions read attribute-list 1 1 + + Verify attribute-list attribute contains 7 entries on TH(all-clusters-minimal-app) + + [1666952338.541227][217377:217377] CHIP:DMG: ReportDataMessage = + [1666952338.541262][217377:217377] CHIP:DMG: { + [1666952338.541289][217377:217377] CHIP:DMG: AttributeReportIBs = + [1666952338.541330][217377:217377] CHIP:DMG: [ + [1666952338.541352][217377:217377] CHIP:DMG: AttributeReportIB = + [1666952338.541390][217377:217377] CHIP:DMG: { + [1666952338.541412][217377:217377] CHIP:DMG: AttributeDataIB = + [1666952338.541442][217377:217377] CHIP:DMG: { + [1666952338.541470][217377:217377] CHIP:DMG: DataVersion = 0xc5edb2e0, + [1666952338.541502][217377:217377] CHIP:DMG: AttributePathIB = + [1666952338.541532][217377:217377] CHIP:DMG: { + [1666952338.541563][217377:217377] CHIP:DMG: Endpoint = 0x1, + [1666952338.541595][217377:217377] CHIP:DMG: Cluster = 0x25, + [1666952338.541629][217377:217377] CHIP:DMG: Attribute = 0x0000_FFFB, + [1666952338.541659][217377:217377] CHIP:DMG: } + [1666952338.541693][217377:217377] CHIP:DMG: + [1666952338.541720][217377:217377] CHIP:DMG: Data = [ + [1666952338.541748][217377:217377] CHIP:DMG: + [1666952338.541784][217377:217377] CHIP:DMG: ], + [1666952338.541812][217377:217377] CHIP:DMG: }, + [1666952338.541847][217377:217377] CHIP:DMG: + [1666952338.541871][217377:217377] CHIP:DMG: }, + [1666952338.541916][217377:217377] CHIP:DMG: + [1666952338.541948][217377:217377] CHIP:DMG: AttributeReportIB = + [1666952338.541990][217377:217377] CHIP:DMG: { + [1666952338.542013][217377:217377] CHIP:DMG: AttributeDataIB = + [1666952338.542043][217377:217377] CHIP:DMG: { + [1666952338.542068][217377:217377] CHIP:DMG: DataVersion = 0xc5edb2e0, + [1666952338.542096][217377:217377] CHIP:DMG: AttributePathIB = + [1666952338.542125][217377:217377] CHIP:DMG: { + [1666952338.542153][217377:217377] CHIP:DMG: Endpoint = 0x1, + [1666952338.542186][217377:217377] CHIP:DMG: Cluster = 0x25, + [1666952338.542225][217377:217377] CHIP:DMG: Attribute = 0x0000_FFFB, + [1666952338.542256][217377:217377] CHIP:DMG: ListIndex = Null, + [1666952338.542286][217377:217377] CHIP:DMG: } + [1666952338.542321][217377:217377] CHIP:DMG: + [1666952338.542353][217377:217377] CHIP:DMG: Data = 0, + [1666952338.542376][217377:217377] CHIP:DMG: }, + [1666952338.542413][217377:217377] CHIP:DMG: + [1666952338.542435][217377:217377] CHIP:DMG: }, + [1666952338.542482][217377:217377] CHIP:DMG: + [1666952338.542503][217377:217377] CHIP:DMG: AttributeReportIB = + [1666952338.542540][217377:217377] CHIP:DMG: { + [1666952338.542562][217377:217377] CHIP:DMG: AttributeDataIB = + [1666952338.542590][217377:217377] CHIP:DMG: { + [1666952338.542617][217377:217377] CHIP:DMG: DataVersion = 0xc5edb2e0, + [1666952338.542641][217377:217377] CHIP:DMG: AttributePathIB = + [1666952338.542673][217377:217377] CHIP:DMG: { + [1666952338.542700][217377:217377] CHIP:DMG: Endpoint = 0x1, + [1666952338.542733][217377:217377] CHIP:DMG: Cluster = 0x25, + [1666952338.542763][217377:217377] CHIP:DMG: Attribute = 0x0000_FFFB, + [1666952338.542793][217377:217377] CHIP:DMG: ListIndex = Null, + [1666952338.542826][217377:217377] CHIP:DMG: } + [1666952338.542862][217377:217377] CHIP:DMG: + [1666952338.542890][217377:217377] CHIP:DMG: Data = 1, + [1666952338.542912][217377:217377] CHIP:DMG: }, + [1666952338.542950][217377:217377] CHIP:DMG: + [1666952338.542971][217377:217377] CHIP:DMG: }, + [1666952338.543018][217377:217377] CHIP:DMG: + [1666952338.543039][217377:217377] CHIP:DMG: AttributeReportIB = + [1666952338.543076][217377:217377] CHIP:DMG: { + [1666952338.543128][217377:217377] CHIP:DMG: AttributeDataIB = + [1666952338.543161][217377:217377] CHIP:DMG: { + [1666952338.543187][217377:217377] CHIP:DMG: DataVersion = 0xc5edb2e0, + [1666952338.543218][217377:217377] CHIP:DMG: AttributePathIB = + [1666952338.543250][217377:217377] CHIP:DMG: { + [1666952338.543277][217377:217377] CHIP:DMG: Endpoint = 0x1, + [1666952338.543311][217377:217377] CHIP:DMG: Cluster = 0x25, + [1666952338.543346][217377:217377] CHIP:DMG: Attribute = 0x0000_FFFB, + [1666952338.543381][217377:217377] CHIP:DMG: ListIndex = Null, + [1666952338.543410][217377:217377] CHIP:DMG: } + [1666952338.543444][217377:217377] CHIP:DMG: + [1666952338.543473][217377:217377] CHIP:DMG: Data = 65528, + [1666952338.543499][217377:217377] CHIP:DMG: }, + [1666952338.543534][217377:217377] CHIP:DMG: + [1666952338.543556][217377:217377] CHIP:DMG: }, + [1666952338.543603][217377:217377] CHIP:DMG: + [1666952338.543624][217377:217377] CHIP:DMG: AttributeReportIB = + [1666952338.543666][217377:217377] CHIP:DMG: { + [1666952338.543688][217377:217377] CHIP:DMG: AttributeDataIB = + [1666952338.543716][217377:217377] CHIP:DMG: { + [1666952338.543743][217377:217377] CHIP:DMG: DataVersion = 0xc5edb2e0, + [1666952338.543767][217377:217377] CHIP:DMG: AttributePathIB = + [1666952338.543797][217377:217377] CHIP:DMG: { + [1666952338.543826][217377:217377] CHIP:DMG: Endpoint = 0x1, + [1666952338.543859][217377:217377] CHIP:DMG: Cluster = 0x25, + [1666952338.543893][217377:217377] CHIP:DMG: Attribute = 0x0000_FFFB, + [1666952338.543929][217377:217377] CHIP:DMG: ListIndex = Null, + [1666952338.543955][217377:217377] CHIP:DMG: } + [1666952338.543990][217377:217377] CHIP:DMG: + [1666952338.544019][217377:217377] CHIP:DMG: Data = 65529, + [1666952338.544042][217377:217377] CHIP:DMG: }, + [1666952338.544077][217377:217377] CHIP:DMG: + [1666952338.544098][217377:217377] CHIP:DMG: }, + [1666952338.544145][217377:217377] CHIP:DMG: + [1666952338.544166][217377:217377] CHIP:DMG: AttributeReportIB = + [1666952338.544204][217377:217377] CHIP:DMG: { + [1666952338.544225][217377:217377] CHIP:DMG: AttributeDataIB = + [1666952338.544255][217377:217377] CHIP:DMG: { + [1666952338.544283][217377:217377] CHIP:DMG: DataVersion = 0xc5edb2e0, + [1666952338.544311][217377:217377] CHIP:DMG: AttributePathIB = + [1666952338.544339][217377:217377] CHIP:DMG: { + [1666952338.544376][217377:217377] CHIP:DMG: Endpoint = 0x1, + [1666952338.544405][217377:217377] CHIP:DMG: Cluster = 0x25, + [1666952338.544439][217377:217377] CHIP:DMG: Attribute = 0x0000_FFFB, + [1666952338.544474][217377:217377] CHIP:DMG: ListIndex = Null, + [1666952338.544498][217377:217377] CHIP:DMG: } + [1666952338.544532][217377:217377] CHIP:DMG: + [1666952338.544566][217377:217377] CHIP:DMG: Data = 65531, + [1666952338.544592][217377:217377] CHIP:DMG: }, + [1666952338.544629][217377:217377] CHIP:DMG: + [1666952338.544651][217377:217377] CHIP:DMG: }, + [1666952338.544702][217377:217377] CHIP:DMG: + [1666952338.544717][217377:217377] CHIP:DMG: AttributeReportIB = + [1666952338.544743][217377:217377] CHIP:DMG: { + [1666952338.544758][217377:217377] CHIP:DMG: AttributeDataIB = + [1666952338.544777][217377:217377] CHIP:DMG: { + [1666952338.544796][217377:217377] CHIP:DMG: DataVersion = 0xc5edb2e0, + [1666952338.544814][217377:217377] CHIP:DMG: AttributePathIB = + [1666952338.544834][217377:217377] CHIP:DMG: { + [1666952338.544856][217377:217377] CHIP:DMG: Endpoint = 0x1, + [1666952338.544878][217377:217377] CHIP:DMG: Cluster = 0x25, + [1666952338.544901][217377:217377] CHIP:DMG: Attribute = 0x0000_FFFB, + [1666952338.544922][217377:217377] CHIP:DMG: ListIndex = Null, + [1666952338.544945][217377:217377] CHIP:DMG: } + [1666952338.544971][217377:217377] CHIP:DMG: + [1666952338.544991][217377:217377] CHIP:DMG: Data = 65532, + [1666952338.545007][217377:217377] CHIP:DMG: }, + [1666952338.545032][217377:217377] CHIP:DMG: + [1666952338.545047][217377:217377] CHIP:DMG: }, + [1666952338.545081][217377:217377] CHIP:DMG: + [1666952338.545095][217377:217377] CHIP:DMG: AttributeReportIB = + [1666952338.545122][217377:217377] CHIP:DMG: { + [1666952338.545136][217377:217377] CHIP:DMG: AttributeDataIB = + [1666952338.545158][217377:217377] CHIP:DMG: { + [1666952338.545176][217377:217377] CHIP:DMG: DataVersion = 0xc5edb2e0, + [1666952338.545193][217377:217377] CHIP:DMG: AttributePathIB = + [1666952338.545212][217377:217377] CHIP:DMG: { + [1666952338.545233][217377:217377] CHIP:DMG: Endpoint = 0x1, + [1666952338.545254][217377:217377] CHIP:DMG: Cluster = 0x25, + [1666952338.545278][217377:217377] CHIP:DMG: Attribute = 0x0000_FFFB, + [1666952338.545306][217377:217377] CHIP:DMG: ListIndex = Null, + [1666952338.545328][217377:217377] CHIP:DMG: } + [1666952338.545351][217377:217377] CHIP:DMG: + [1666952338.545374][217377:217377] CHIP:DMG: Data = 65533, + [1666952338.545391][217377:217377] CHIP:DMG: }, + [1666952338.545415][217377:217377] CHIP:DMG: + [1666952338.545429][217377:217377] CHIP:DMG: }, + [1666952338.545454][217377:217377] CHIP:DMG: + [1666952338.545468][217377:217377] CHIP:DMG: ], + [1666952338.545537][217377:217377] CHIP:DMG: + [1666952338.545557][217377:217377] CHIP:DMG: SuppressResponse = true, + [1666952338.545576][217377:217377] CHIP:DMG: InteractionModelRevision = 1 + [1666952338.545592][217377:217377] CHIP:DMG: } + + + ./chip-tool actions read action-list 1 1 + + Verify read command is received on TH(all-clusters-minimal-app) Log + + [1666937311.802976][2651:2651] CHIP:EM: Handling via exchange: 38920r, Delegate: 0xaaaacd7f80e0 + [1666937311.803077][2651:2651] CHIP:IM: Received Read request + [1666937311.803295][2651:2651] CHIP:DMG: ReadRequestMessage = + [1666937311.803549][2651:2651] CHIP:DMG: { + [1666937311.803611][2651:2651] CHIP:DMG: AttributePathIBs = + [1666937311.803678][2651:2651] CHIP:DMG: [ + [1666937311.803739][2651:2651] CHIP:DMG: AttributePathIB = + [1666937311.803841][2651:2651] CHIP:DMG: { + [1666937311.803920][2651:2651] CHIP:DMG: Endpoint = 0x1, + [1666937311.804008][2651:2651] CHIP:DMG: Cluster = 0x25, + [1666937311.804120][2651:2651] CHIP:DMG: Attribute = 0x0000_0000, + [1666937311.804204][2651:2651] CHIP:DMG: } + [1666937311.804282][2651:2651] CHIP:DMG: + [1666937311.804374][2651:2651] CHIP:DMG: ], + [1666937311.804446][2651:2651] CHIP:DMG: + [1666937311.804539][2651:2651] CHIP:DMG: isFabricFiltered = true, + [1666937311.804603][2651:2651] CHIP:DMG: InteractionModelRevision = 1 + [1666937311.804663][2651:2651] CHIP:DMG: }, + [1666937311.804852][2651:2651] CHIP:DMG: IM RH moving to [GeneratingReports] + [1666937311.805117][2651:2651] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 + [1666937311.805190][2651:2651] CHIP:DMG: Cluster 25, Attribute 0 is dirty + [1666937311.805274][2651:2651] CHIP:DMG: Reading attribute: Cluster=0x0000_0025 Endpoint=1 AttributeId=0x0000_0000 (expanded=0) + [1666937311.805343][2651:2651] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0025 e=1 p=v + [1666937311.805419][2651:2651] CHIP:DMG: AccessControl: allowed + [1666937311.805533][2651:2651] CHIP:DMG: Sending report (payload has 36 bytes)... + [1666937311.806139][2651:2651] CHIP:EM: <<< [E:38920r M:78085855 (Ack:55508733)] (S) Msg TX to 1:000000000001B669 [A6ED] --- Type 0001:05 (IM:ReportData) + [1666937311.806241][2651:2651] CHIP:IN: (S) Sending msg 78085855 on secure session with LSID: 49558 + [1666937311.806996][2651:2651] CHIP:DMG: >> to UDP:[fe80::e65f:1ff:fe0e:be37%eth0]:38538 | 78085855 | [Interaction Model (1) / Report Data (0x05) / Session = 20559 / Exchange = 38920] + [1666937311.807095][2651:2651] CHIP:DMG: Header Flags = + [1666937311.807154][2651:2651] CHIP:DMG: { + [1666937311.807242][2651:2651] CHIP:DMG: Exchange (0x06) = + [1666937311.807300][2651:2651] CHIP:DMG: { + [1666937311.807359][2651:2651] CHIP:DMG: AckMsg = 55508733 + [1666937311.807439][2651:2651] CHIP:DMG: NeedsAck = true + [1666937311.807493][2651:2651] CHIP:DMG: } + [1666937311.807566][2651:2651] CHIP:DMG: } + [1666937311.807645][2651:2651] CHIP:DMG: + [1666937311.807713][2651:2651] CHIP:DMG: Encrypted Payload (70 bytes) = + [1666937311.807768][2651:2651] CHIP:DMG: { + [1666937311.807847][2651:2651] CHIP:DMG: data = 004f5000df7ea7040f921e0e13849a6fa0d777922f58d03152781bd36b6cbf9f22d882cc1c7c6d8afbd1b63303ffb3fb09c08e7160a33fb680d7f74a7696a47c4fe7b213b3cc + [1666937311.807904][2651:2651] CHIP:DMG: buffer_ptr = 187651028908208 + [1666937311.807958][2651:2651] CHIP:DMG: } + [1666937311.808031][2651:2651] CHIP:DMG: + [1666937311.808216][2651:2651] CHIP:DMG: ReportDataMessage = + [1666937311.808282][2651:2651] CHIP:DMG: { + [1666937311.808337][2651:2651] CHIP:DMG: AttributeReportIBs = + [1666937311.808413][2651:2651] CHIP:DMG: [ + [1666937311.808503][2651:2651] CHIP:DMG: AttributeReportIB = + [1666937311.808593][2651:2651] CHIP:DMG: { + [1666937311.808664][2651:2651] CHIP:DMG: AttributeDataIB = + [1666937311.808752][2651:2651] CHIP:DMG: { + [1666937311.808842][2651:2651] CHIP:DMG: DataVersion = 0x8d1127c2, + [1666937311.808924][2651:2651] CHIP:DMG: AttributePathIB = + [1666937311.809007][2651:2651] CHIP:DMG: { + [1666937311.809101][2651:2651] CHIP:DMG: Endpoint = 0x1, + [1666937311.809201][2651:2651] CHIP:DMG: Cluster = 0x25, + [1666937311.809300][2651:2651] CHIP:DMG: Attribute = 0x0000_0000, + [1666937311.809384][2651:2651] CHIP:DMG: } + [1666937311.809481][2651:2651] CHIP:DMG: + [1666937311.809573][2651:2651] CHIP:DMG: Data = [ + [1666937311.809662][2651:2651] CHIP:DMG: + [1666937311.809759][2651:2651] CHIP:DMG: ], + [1666937311.809840][2651:2651] CHIP:DMG: }, + [1666937311.809927][2651:2651] CHIP:DMG: + [1666937311.809998][2651:2651] CHIP:DMG: }, + [1666937311.810080][2651:2651] CHIP:DMG: + [1666937311.810140][2651:2651] CHIP:DMG: ], + + ./chip-tool actions read endpoint-lists 1 1 + + Verify read command is received on TH(all-clusters-minimal-app) + + [1666952448.529080][217377:217377] CHIP:DMG: ReadRequestMessage = + [1666952448.529101][217377:217377] CHIP:DMG: { + [1666952448.529119][217377:217377] CHIP:DMG: AttributePathIBs = + [1666952448.529140][217377:217377] CHIP:DMG: [ + [1666952448.529159][217377:217377] CHIP:DMG: AttributePathIB = + [1666952448.529181][217377:217377] CHIP:DMG: { + [1666952448.529204][217377:217377] CHIP:DMG: Endpoint = 0x1, + [1666952448.529226][217377:217377] CHIP:DMG: Cluster = 0x25, + [1666952448.529249][217377:217377] CHIP:DMG: Attribute = 0x0000_0001, + [1666952448.529269][217377:217377] CHIP:DMG: } + [1666952448.529293][217377:217377] CHIP:DMG: + [1666952448.529312][217377:217377] CHIP:DMG: ], + [1666952448.529337][217377:217377] CHIP:DMG: + [1666952448.529358][217377:217377] CHIP:DMG: isFabricFiltered = true, + [1666952448.529378][217377:217377] CHIP:DMG: InteractionModelRevision = 1 + [1666952448.529396][217377:217377] CHIP:DMG: }, + [1666952448.529481][217377:217377] CHIP:DMG: IM RH moving to [GeneratingReports] + [1666952448.529543][217377:217377] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 + [1666952448.529567][217377:217377] CHIP:DMG: Cluster 25, Attribute 1 is dirty + [1666952448.529586][217377:217377] CHIP:DMG: Reading attribute: Cluster=0x0000_0025 Endpoint=1 AttributeId=0x0000_0001 (expanded=0) + [1666952448.529611][217377:217377] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0025 e=1 p=v + [1666952448.529639][217377:217377] CHIP:DMG: AccessControl: allowed + [1666952448.529683][217377:217377] CHIP:DMG: Sending report (payload has 36 bytes)... + [1666952448.530029][217377:217377] CHIP:EM: <<< [E:12078r M:26716965 (Ack:2683412)] (S) Msg TX to 1:000000000001B669 [AE59] --- Type 0001:05 (IM:ReportData) + [1666952448.530072][217377:217377] CHIP:IN: (S) Sending msg 26716965 on secure session with LSID: 63115 + [1666952448.530509][217377:217377] CHIP:DMG: >> to UDP:[fe80::485c:bace:6107:3682%wlp3s0]:42342 | 26716965 | [Interaction Model (1) / Report Data (0x05) / Session = 61304 / Exchange = 12078] + [1666952448.530552][217377:217377] CHIP:DMG: Header Flags = + [1666952448.530570][217377:217377] CHIP:DMG: { + [1666952448.530612][217377:217377] CHIP:DMG: Exchange (0x06) = + [1666952448.530629][217377:217377] CHIP:DMG: { + [1666952448.530650][217377:217377] CHIP:DMG: AckMsg = 2683412 + [1666952448.530668][217377:217377] CHIP:DMG: NeedsAck = true + [1666952448.530686][217377:217377] CHIP:DMG: } + [1666952448.530716][217377:217377] CHIP:DMG: } + [1666952448.530733][217377:217377] CHIP:DMG: + [1666952448.530759][217377:217377] CHIP:DMG: Encrypted Payload (70 bytes) = + [1666952448.530776][217377:217377] CHIP:DMG: { + [1666952448.530794][217377:217377] CHIP:DMG: data = 0078ef0025ab9701cea6e79a67f3a56ad0dea23004bc0e516962a4b2eb578d9045f381e0f31b8f574047477e5e60aa969bed78d1b51470f9bb8760c4ad7c937f6a9746493426 + [1666952448.530814][217377:217377] CHIP:DMG: buffer_ptr = 94384713812256 + [1666952448.530831][217377:217377] CHIP:DMG: } + [1666952448.530848][217377:217377] CHIP:DMG: + [1666952448.530880][217377:217377] CHIP:DMG: Decrypted Payload (36 bytes) = + [1666952448.530897][217377:217377] CHIP:DMG: { + [1666952448.530915][217377:217377] CHIP:DMG: data = 1536011535012600e0b2edc5370124020124032524040118360218181818290424ff0118 + [1666952448.530934][217377:217377] CHIP:DMG: } + [1666952448.530950][217377:217377] CHIP:DMG: + [1666952448.531025][217377:217377] CHIP:DMG: ReportDataMessage = + [1666952448.531046][217377:217377] CHIP:DMG: { + [1666952448.531064][217377:217377] CHIP:DMG: AttributeReportIBs = + [1666952448.531445][217377:217377] CHIP:DMG: [ + [1666952448.531532][217377:217377] CHIP:DMG: AttributeReportIB = + [1666952448.531565][217377:217377] CHIP:DMG: { + [1666952448.531585][217377:217377] CHIP:DMG: AttributeDataIB = + [1666952448.531607][217377:217377] CHIP:DMG: { + [1666952448.531630][217377:217377] CHIP:DMG: DataVersion = 0xc5edb2e0, + [1666952448.531652][217377:217377] CHIP:DMG: AttributePathIB = + [1666952448.531675][217377:217377] CHIP:DMG: { + [1666952448.531698][217377:217377] CHIP:DMG: Endpoint = 0x1, + [1666952448.531722][217377:217377] CHIP:DMG: Cluster = 0x25, + [1666952448.531746][217377:217377] CHIP:DMG: Attribute = 0x0000_0001, + [1666952448.531768][217377:217377] CHIP:DMG: } + [1666952448.531794][217377:217377] CHIP:DMG: + [1666952448.531816][217377:217377] CHIP:DMG: Data = [ + [1666952448.531839][217377:217377] CHIP:DMG: + [1666952448.531868][217377:217377] CHIP:DMG: ], + [1666952448.531895][217377:217377] CHIP:DMG: }, + [1666952448.531925][217377:217377] CHIP:DMG: + [1666952448.531951][217377:217377] CHIP:DMG: }, + [1666952448.531990][217377:217377] CHIP:DMG: + [1666952448.532014][217377:217377] CHIP:DMG: ], + [1666952448.532047][217377:217377] CHIP:DMG: + [1666952448.532069][217377:217377] CHIP:DMG: SuppressResponse = true, + [1666952448.532092][217377:217377] CHIP:DMG: InteractionModelRevision = 1 + [1666952448.532111][217377:217377] CHIP:DMG: } + [1666952448.532131][217377:217377] CHIP:DMG: + cluster: "LogCommands" + command: "UserPrompt" + PICS: PICS_SKIP_SAMPLE_APP + arguments: + values: + - name: "message" + value: "Enter 'y' after success" + - name: "expectedValue" + value: "y" diff --git a/src/app/tests/suites/certification/Test_TC_BINFO_2_3_Simulated.yaml b/src/app/tests/suites/certification/Test_TC_BINFO_2_3_Simulated.yaml index 47c37b29b8d6d4..f23b7ebee430f5 100644 --- a/src/app/tests/suites/certification/Test_TC_BINFO_2_3_Simulated.yaml +++ b/src/app/tests/suites/certification/Test_TC_BINFO_2_3_Simulated.yaml @@ -35,78 +35,102 @@ tests: - name: "message" value: "*** Basic Cluster Tests Ready" - - label: "Query Data Model Revision" + - label: "DUT reads DataModelRevision from the TH" + PICS: BINFO.C.A0000 wait: "readAttribute" attribute: "DataModelRevision" - - label: "Query Vendor Name" + - label: "DUT reads VendorName from the TH" + PICS: BINFO.C.A0001 wait: "readAttribute" attribute: "VendorName" - - label: "Query VendorID" + - label: "DUT reads VendorID from the TH" + PICS: BINFO.C.A0002 wait: "readAttribute" attribute: "VendorID" - - label: "Query Product Name" + - label: "DUT reads ProductName from the TH" + PICS: BINFO.C.A0003 wait: "readAttribute" attribute: "ProductName" - - label: "Query ProductID" + - label: "DUT reads ProductID from the TH" + PICS: BINFO.C.A0004 wait: "readAttribute" attribute: "ProductID" - - label: "Query Node Label" + - label: "DUT reads NodeLabel from the TH" + PICS: BINFO.C.A0005 wait: "readAttribute" attribute: "NodeLabel" - - label: "Query User Location" + - label: "DUT reads Location from the TH" + PICS: BINFO.C.A0006 wait: "readAttribute" attribute: "Location" - - label: "Query HardwareVersion" + - label: "DUT reads HardwareVersion from the TH" + PICS: BINFO.C.A0007 wait: "readAttribute" attribute: "HardwareVersion" - - label: "Query HardwareVersionString" + - label: "DUT reads HardwareVersionString from the TH" + PICS: BINFO.C.A0008 wait: "readAttribute" attribute: "HardwareVersionString" - - label: "Query SoftwareVersion" + - label: "DUT reads SoftwareVersion from the TH" + PICS: BINFO.C.A0009 wait: "readAttribute" attribute: "SoftwareVersion" - - label: "Query SoftwareVersionString" + - label: "DUT reads SoftwareVersionString from the TH" + PICS: BINFO.C.A000a wait: "readAttribute" attribute: "SoftwareVersionString" - - label: "Query ManufacturingDate" + - label: "DUT reads ManufacturingDate from the TH" + PICS: BINFO.C.A000b wait: "readAttribute" attribute: "ManufacturingDate" - - label: "Query PartNumber" + - label: "DUT reads PartNumber from the TH" + PICS: BINFO.C.A000c wait: "readAttribute" attribute: "PartNumber" - - label: "Query ProductURL" + - label: "DUT reads ProductURL from the TH" + PICS: BINFO.C.A000d wait: "readAttribute" attribute: "ProductURL" - - label: "Query ProductLabel" + - label: "DUT reads ProductLabel from the TH" + PICS: BINFO.C.A000e wait: "readAttribute" attribute: "ProductLabel" - - label: "Query SerialNumber" + - label: "DUT reads SerialNumber from the TH" + PICS: BINFO.C.A000f wait: "readAttribute" attribute: "SerialNumber" - - label: "Query LocalConfigDisabled" + - label: "DUT reads LocalConfigDisabled from the TH" + PICS: BINFO.C.A0010 wait: "readAttribute" attribute: "LocalConfigDisabled" - - label: "Query Reachable" + - label: "DUT reads Reachable from the TH" + PICS: BINFO.C.A0011 wait: "readAttribute" attribute: "Reachable" - - label: "Query UniqueID" + - label: "DUT reads UniqueID from the TH" + PICS: BINFO.C.A0012 wait: "readAttribute" attribute: "UniqueID" + + - label: "DUT reads CapabilityMinima from the TH" + PICS: BINFO.C.A0013 + wait: "readAttribute" + attribute: "CapabilityMinima" diff --git a/src/app/tests/suites/certification/Test_TC_BOOL_3_1_Simulated.yaml b/src/app/tests/suites/certification/Test_TC_BOOL_3_1_Simulated.yaml index 7b28067c87f362..c9b6f7ce1b5476 100644 --- a/src/app/tests/suites/certification/Test_TC_BOOL_3_1_Simulated.yaml +++ b/src/app/tests/suites/certification/Test_TC_BOOL_3_1_Simulated.yaml @@ -34,3 +34,292 @@ tests: - label: "Read attribute: StateValue" wait: "readAttribute" attribute: "StateValue" + + - label: + "Configure TH such that it implements mandatory and none of the + optional attributes of the server-side of the cluster, and that it + also reflects this in global attributes such as FeatureMap and + AttributeList.Commission DUT to TH again" + verification: | + ./chip-tool booleanstate read feature-map 1 1 + + Verify none of the optional feature of the server-side of the cluster is listed on TH(all-clusters-minnimal-app) Log + + [1666936223.132263][2546:2546] CHIP:EM: Handling via exchange: 56922r, Delegate: 0xaaaad02b0288 + [1666936223.132365][2546:2546] CHIP:IM: Received Read request + [1666936223.132562][2546:2546] CHIP:DMG: ReadRequestMessage = + [1666936223.132653][2546:2546] CHIP:DMG: { + [1666936223.132709][2546:2546] CHIP:DMG: AttributePathIBs = + [1666936223.132780][2546:2546] CHIP:DMG: [ + [1666936223.132844][2546:2546] CHIP:DMG: AttributePathIB = + [1666936223.132961][2546:2546] CHIP:DMG: { + [1666936223.133043][2546:2546] CHIP:DMG: Endpoint = 0x1, + [1666936223.133153][2546:2546] CHIP:DMG: Cluster = 0x45, + [1666936223.133238][2546:2546] CHIP:DMG: Attribute = 0x0000_FFFC, + [1666936223.133340][2546:2546] CHIP:DMG: } + [1666936223.133421][2546:2546] CHIP:DMG: + [1666936223.133518][2546:2546] CHIP:DMG: ], + [1666936223.133592][2546:2546] CHIP:DMG: + [1666936223.133690][2546:2546] CHIP:DMG: isFabricFiltered = true, + [1666936223.133757][2546:2546] CHIP:DMG: InteractionModelRevision = 1 + [1666936223.133843][2546:2546] CHIP:DMG: }, + [1666936223.134040][2546:2546] CHIP:DMG: IM RH moving to [GeneratingReports] + [1666936223.134302][2546:2546] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 + [1666936223.134381][2546:2546] CHIP:DMG: Cluster 45, Attribute fffc is dirty + [1666936223.134437][2546:2546] CHIP:DMG: Reading attribute: Cluster=0x0000_0045 Endpoint=1 AttributeId=0x0000_FFFC (expanded=0) + [1666936223.134506][2546:2546] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0045 e=1 p=v + [1666936223.134610][2546:2546] CHIP:DMG: AccessControl: allowed + [1666936223.134803][2546:2546] CHIP:DMG: Sending report (payload has 37 bytes)... + [1666936223.135460][2546:2546] CHIP:EM: <<< [E:56922r M:17358809 (Ack:120184015)] (S) Msg TX to 1:000000000001B669 [A6ED] --- Type 0001:05 (IM:ReportData) + [1666936223.135576][2546:2546] CHIP:IN: (S) Sending msg 17358809 on secure session with LSID: 15175 + [1666936223.136334][2546:2546] CHIP:DMG: >> to UDP:[fe80::e65f:1ff:fe0e:be37%eth0]:35992 | 17358809 | [Interaction Model (1) / Report Data (0x05) / Session = 13737 / Exchange = 56922] + [1666936223.136444][2546:2546] CHIP:DMG: Header Flags = + [1666936223.136503][2546:2546] CHIP:DMG: { + [1666936223.136592][2546:2546] CHIP:DMG: Exchange (0x06) = + [1666936223.136649][2546:2546] CHIP:DMG: { + [1666936223.136710][2546:2546] CHIP:DMG: AckMsg = 120184015 + [1666936223.136794][2546:2546] CHIP:DMG: NeedsAck = true + [1666936223.136852][2546:2546] CHIP:DMG: } + [1666936223.136926][2546:2546] CHIP:DMG: } + [1666936223.137005][2546:2546] CHIP:DMG: + [1666936223.137077][2546:2546] CHIP:DMG: Encrypted Payload (71 bytes) = + [1666936223.137257][2546:2546] CHIP:DMG: { + [1666936223.137320][2546:2546] CHIP:DMG: data = 00a93500d9df0801fc3a3b7ec6f761c31f328854cd71ec11f2d3486635575b63f02c796af2820a3ea5eda769ed4b44fecdc89d2f050c1d0a325141f9fe1e941a5821abfbc01a45 + [1666936223.137404][2546:2546] CHIP:DMG: buffer_ptr = 187650953656928 + [1666936223.137459][2546:2546] CHIP:DMG: } + [1666936223.137513][2546:2546] CHIP:DMG: + [1666936223.137716][2546:2546] CHIP:DMG: ReportDataMessage = + [1666936223.137810][2546:2546] CHIP:DMG: { + [1666936223.137866][2546:2546] CHIP:DMG: AttributeReportIBs = + [1666936223.137968][2546:2546] CHIP:DMG: [ + [1666936223.138034][2546:2546] CHIP:DMG: AttributeReportIB = + [1666936223.138151][2546:2546] CHIP:DMG: { + [1666936223.138231][2546:2546] CHIP:DMG: AttributeDataIB = + [1666936223.138337][2546:2546] CHIP:DMG: { + [1666936223.138427][2546:2546] CHIP:DMG: DataVersion = 0x1e70d063, + [1666936223.138536][2546:2546] CHIP:DMG: AttributePathIB = + [1666936223.138625][2546:2546] CHIP:DMG: { + [1666936223.138803][2546:2546] CHIP:DMG: Endpoint = 0x1, + [1666936223.138899][2546:2546] CHIP:DMG: Cluster = 0x45, + [1666936223.139021][2546:2546] CHIP:DMG: Attribute = 0x0000_FFFC, + [1666936223.139109][2546:2546] CHIP:DMG: } + [1666936223.139225][2546:2546] CHIP:DMG: + [1666936223.139318][2546:2546] CHIP:DMG: Data = 0, + [1666936223.139424][2546:2546] CHIP:DMG: }, + [1666936223.139514][2546:2546] CHIP:DMG: + [1666936223.139611][2546:2546] CHIP:DMG: }, + [1666936223.139698][2546:2546] CHIP:DMG: + [1666936223.139783][2546:2546] CHIP:DMG: ], + + ./chip-tool booleanstate read attribute-list 1 1 + + Verify none of the optional attributes of the server-side of the cluster is listed on TH(all-clusters-minnimal-app) Log + + [1665059548.735458][9263:9263] CHIP:DMG: ReportDataMessage = + [1665059548.735528][9263:9263] CHIP:DMG: { + [1665059548.735575][9263:9263] CHIP:DMG: AttributeReportIBs = + [1665059548.735699][9263:9263] CHIP:DMG: [ + [1665059548.735763][9263:9263] CHIP:DMG: AttributeReportIB = + [1665059548.735840][9263:9263] CHIP:DMG: { + [1665059548.735906][9263:9263] CHIP:DMG: AttributeDataIB = + [1665059548.735980][9263:9263] CHIP:DMG: { + [1665059548.736051][9263:9263] CHIP:DMG: DataVersion = 0xd0240b6a, + [1665059548.736125][9263:9263] CHIP:DMG: AttributePathIB = + [1665059548.736235][9263:9263] CHIP:DMG: { + [1665059548.736342][9263:9263] CHIP:DMG: Endpoint = 0x1, + [1665059548.736451][9263:9263] CHIP:DMG: Cluster = 0x45, + [1665059548.736536][9263:9263] CHIP:DMG: Attribute = 0x0000_FFFB, + [1665059548.736614][9263:9263] CHIP:DMG: } + [1665059548.736718][9263:9263] CHIP:DMG: + [1665059548.736797][9263:9263] CHIP:DMG: Data = [ + [1665059548.736896][9263:9263] CHIP:DMG: + [1665059548.736981][9263:9263] CHIP:DMG: ], + [1665059548.737053][9263:9263] CHIP:DMG: }, + [1665059548.737151][9263:9263] CHIP:DMG: + [1665059548.737217][9263:9263] CHIP:DMG: }, + [1665059548.737331][9263:9263] CHIP:DMG: + [1665059548.737394][9263:9263] CHIP:DMG: AttributeReportIB = + [1665059548.737499][9263:9263] CHIP:DMG: { + [1665059548.737718][9263:9263] CHIP:DMG: AttributeDataIB = + [1665059548.737821][9263:9263] CHIP:DMG: { + [1665059548.737898][9263:9263] CHIP:DMG: DataVersion = 0xd0240b6a, + [1665059548.737995][9263:9263] CHIP:DMG: AttributePathIB = + [1665059548.738074][9263:9263] CHIP:DMG: { + [1665059548.738185][9263:9263] CHIP:DMG: Endpoint = 0x1, + [1665059548.738269][9263:9263] CHIP:DMG: Cluster = 0x45, + [1665059548.738373][9263:9263] CHIP:DMG: Attribute = 0x0000_FFFB, + [1665059548.738464][9263:9263] CHIP:DMG: ListIndex = Null, + [1665059548.738587][9263:9263] CHIP:DMG: } + [1665059548.738693][9263:9263] CHIP:DMG: + [1665059548.738778][9263:9263] CHIP:DMG: Data = 0, + [1665059548.738874][9263:9263] CHIP:DMG: }, + [1665059548.738950][9263:9263] CHIP:DMG: + [1665059548.739038][9263:9263] CHIP:DMG: }, + [1665059548.739130][9263:9263] CHIP:DMG: + [1665059548.739192][9263:9263] CHIP:DMG: AttributeReportIB = + [1665059548.739295][9263:9263] CHIP:DMG: { + [1665059548.739365][9263:9263] CHIP:DMG: AttributeDataIB = + [1665059548.739438][9263:9263] CHIP:DMG: { + [1665059548.739535][9263:9263] CHIP:DMG: DataVersion = 0xd0240b6a, + [1665059548.739605][9263:9263] CHIP:DMG: AttributePathIB = + [1665059548.739704][9263:9263] CHIP:DMG: { + [1665059548.739785][9263:9263] CHIP:DMG: Endpoint = 0x1, + [1665059548.739891][9263:9263] CHIP:DMG: Cluster = 0x45, + [1665059548.739973][9263:9263] CHIP:DMG: Attribute = 0x0000_FFFB, + [1665059548.740052][9263:9263] CHIP:DMG: ListIndex = Null, + [1665059548.740151][9263:9263] CHIP:DMG: } + [1665059548.740235][9263:9263] CHIP:DMG: + [1665059548.740337][9263:9263] CHIP:DMG: Data = 65528, + [1665059548.740403][9263:9263] CHIP:DMG: }, + [1665059548.740510][9263:9263] CHIP:DMG: + [1665059548.740576][9263:9263] CHIP:DMG: }, + [1665059548.740667][9263:9263] CHIP:DMG: + [1665059548.740722][9263:9263] CHIP:DMG: AttributeReportIB = + [1665059548.740824][9263:9263] CHIP:DMG: { + [1665059548.740891][9263:9263] CHIP:DMG: AttributeDataIB = + [1665059548.740986][9263:9263] CHIP:DMG: { + [1665059548.741063][9263:9263] CHIP:DMG: DataVersion = 0xd0240b6a, + [1665059548.741159][9263:9263] CHIP:DMG: AttributePathIB = + [1665059548.741240][9263:9263] CHIP:DMG: { + [1665059548.741320][9263:9263] CHIP:DMG: Endpoint = 0x1, + [1665059548.741420][9263:9263] CHIP:DMG: Cluster = 0x45, + [1665059548.741493][9263:9263] CHIP:DMG: Attribute = 0x0000_FFFB, + [1665059548.741613][9263:9263] CHIP:DMG: ListIndex = Null, + [1665059548.741769][9263:9263] CHIP:DMG: } + [1665059548.741862][9263:9263] CHIP:DMG: + [1665059548.741954][9263:9263] CHIP:DMG: Data = 65529, + [1665059548.742028][9263:9263] CHIP:DMG: }, + [1665059548.742136][9263:9263] CHIP:DMG: + [1665059548.742198][9263:9263] CHIP:DMG: }, + [1665059548.742311][9263:9263] CHIP:DMG: + [1665059548.742375][9263:9263] CHIP:DMG: AttributeReportIB = + [1665059548.742455][9263:9263] CHIP:DMG: { + [1665059548.742545][9263:9263] CHIP:DMG: AttributeDataIB = + [1665059548.742621][9263:9263] CHIP:DMG: { + [1665059548.742719][9263:9263] CHIP:DMG: DataVersion = 0xd0240b6a, + [1665059548.742794][9263:9263] CHIP:DMG: AttributePathIB = + [1665059548.742865][9263:9263] CHIP:DMG: { + [1665059548.742966][9263:9263] CHIP:DMG: Endpoint = 0x1, + [1665059548.743049][9263:9263] CHIP:DMG: Cluster = 0x45, + [1665059548.743157][9263:9263] CHIP:DMG: Attribute = 0x0000_FFFB, + [1665059548.743236][9263:9263] CHIP:DMG: ListIndex = Null, + [1665059548.743332][9263:9263] CHIP:DMG: } + [1665059548.743426][9263:9263] CHIP:DMG: + [1665059548.743526][9263:9263] CHIP:DMG: Data = 65531, + [1665059548.743601][9263:9263] CHIP:DMG: }, + [1665059548.743710][9263:9263] CHIP:DMG: + [1665059548.743778][9263:9263] CHIP:DMG: }, + [1665059548.743886][9263:9263] CHIP:DMG: + [1665059548.743945][9263:9263] CHIP:DMG: AttributeReportIB = + [1665059548.744023][9263:9263] CHIP:DMG: { + [1665059548.744106][9263:9263] CHIP:DMG: AttributeDataIB = + [1665059548.744172][9263:9263] CHIP:DMG: { + [1665059548.744247][9263:9263] CHIP:DMG: DataVersion = 0xd0240b6a, + [1665059548.744321][9263:9263] CHIP:DMG: AttributePathIB = + [1665059548.744394][9263:9263] CHIP:DMG: { + [1665059548.744497][9263:9263] CHIP:DMG: Endpoint = 0x1, + [1665059548.744581][9263:9263] CHIP:DMG: Cluster = 0x45, + [1665059548.744689][9263:9263] CHIP:DMG: Attribute = 0x0000_FFFB, + [1665059548.744772][9263:9263] CHIP:DMG: ListIndex = Null, + [1665059548.744878][9263:9263] CHIP:DMG: } + [1665059548.744957][9263:9263] CHIP:DMG: + [1665059548.745062][9263:9263] CHIP:DMG: Data = 65532, + [1665059548.745135][9263:9263] CHIP:DMG: }, + [1665059548.745235][9263:9263] CHIP:DMG: + [1665059548.745302][9263:9263] CHIP:DMG: }, + [1665059548.745408][9263:9263] CHIP:DMG: + [1665059548.745468][9263:9263] CHIP:DMG: AttributeReportIB = + [1665059548.745585][9263:9263] CHIP:DMG: { + [1665059548.745678][9263:9263] CHIP:DMG: AttributeDataIB = + [1665059548.745753][9263:9263] CHIP:DMG: { + [1665059548.745851][9263:9263] CHIP:DMG: DataVersion = 0xd0240b6a, + [1665059548.745924][9263:9263] CHIP:DMG: AttributePathIB = + [1665059548.746024][9263:9263] CHIP:DMG: { + [1665059548.746103][9263:9263] CHIP:DMG: Endpoint = 0x1, + [1665059548.746208][9263:9263] CHIP:DMG: Cluster = 0x45, + [1665059548.746292][9263:9263] CHIP:DMG: Attribute = 0x0000_FFFB, + [1665059548.746373][9263:9263] CHIP:DMG: ListIndex = Null, + [1665059548.746473][9263:9263] CHIP:DMG: } + [1665059548.746551][9263:9263] CHIP:DMG: + [1665059548.746654][9263:9263] CHIP:DMG: Data = 65533, + [1665059548.746728][9263:9263] CHIP:DMG: }, + + + ./chip-tool booleanstate read state-value 1 1 + + Verify read command is received on TH (all-clusters-minimal-app) Log + + [1666174757.461171][21506:21506] CHIP:EM: Handling via exchange: 33623r, Delegate: 0xaaaac93380e0 + [1666174757.461271][21506:21506] CHIP:IM: Received Read request + [1666174757.461438][21506:21506] CHIP:DMG: ReadRequestMessage = + [1666174757.461510][21506:21506] CHIP:DMG: { + [1666174757.461565][21506:21506] CHIP:DMG: AttributePathIBs = + [1666174757.461629][21506:21506] CHIP:DMG: [ + [1666174757.461690][21506:21506] CHIP:DMG: AttributePathIB = + [1666174757.461769][21506:21506] CHIP:DMG: { + [1666174757.461855][21506:21506] CHIP:DMG: Endpoint = 0x1, + [1666174757.461999][21506:21506] CHIP:DMG: Cluster = 0x45, + [1666174757.462085][21506:21506] CHIP:DMG: Attribute = 0x0000_0000, + [1666174757.462161][21506:21506] CHIP:DMG: } + [1666174757.462235][21506:21506] CHIP:DMG: + [1666174757.462300][21506:21506] CHIP:DMG: ], + [1666174757.462371][21506:21506] CHIP:DMG: + [1666174757.462440][21506:21506] CHIP:DMG: isFabricFiltered = true, + [1666174757.462504][21506:21506] CHIP:DMG: InteractionModelRevision = 1 + [1666174757.462565][21506:21506] CHIP:DMG: }, + [1666174757.462734][21506:21506] CHIP:DMG: IM RH moving to [GeneratingReports] + [1666174757.462977][21506:21506] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 + [1666174757.463049][21506:21506] CHIP:DMG: Cluster 45, Attribute 0 is dirty + [1666174757.463104][21506:21506] CHIP:DMG: Reading attribute: Cluster=0x0000_0045 Endpoint=1 AttributeId=0x0000_0000 (expanded=0) + [1666174757.463172][21506:21506] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0045 e=1 p=v + [1666174757.463248][21506:21506] CHIP:DMG: AccessControl: allowed + [1666174757.463365][21506:21506] CHIP:DMG: Sending report (payload has 35 bytes)... + [1666174757.463975][21506:21506] CHIP:EM: <<< [E:33623r M:221389354 (Ack:15980397)] (S) Msg TX to 1:000000000001B669 [A7EF] --- Type 0001:05 (IM:ReportData) + [1666174757.464087][21506:21506] CHIP:IN: (S) Sending msg 221389354 on secure session with LSID: 55654 + [1666174757.464808][21506:21506] CHIP:DMG: >> to UDP:[fe80::e65f:1ff:fe0e:be37%wlan0]:35514 | 221389354 | [Interaction Model (1) / Report Data (0x05) / Session = 18738 / Exchange = 33623] + [1666174757.464917][21506:21506] CHIP:DMG: Header Flags = + [1666174757.464974][21506:21506] CHIP:DMG: { + [1666174757.465062][21506:21506] CHIP:DMG: Exchange (0x06) = + [1666174757.465119][21506:21506] CHIP:DMG: { + [1666174757.465178][21506:21506] CHIP:DMG: AckMsg = 15980397 + [1666174757.465228][21506:21506] CHIP:DMG: NeedsAck = true + [1666174757.465288][21506:21506] CHIP:DMG: } + [1666174757.465360][21506:21506] CHIP:DMG: } + [1666174757.465425][21506:21506] CHIP:DMG: + [1666174757.465495][21506:21506] CHIP:DMG: Encrypted Payload (69 bytes) = + [1666174757.465543][21506:21506] CHIP:DMG: { + [1666174757.465597][21506:21506] CHIP:DMG: data = 003249002a22320d70f90c31d24191bdcae9c8e10d0059f5a90bcc5c7c921dffd49596846c3d5131af0f1b0d5dac89dc70bec2a05fcefd34726640374895b32262fac29b72 + [1666174757.465653][21506:21506] CHIP:DMG: buffer_ptr = 187650839759600 + [1666174757.465703][21506:21506] CHIP:DMG: } + [1666174757.465750][21506:21506] CHIP:DMG: + [1666174757.465959][21506:21506] CHIP:DMG: ReportDataMessage = + [1666174757.466032][21506:21506] CHIP:DMG: { + [1666174757.466086][21506:21506] CHIP:DMG: AttributeReportIBs = + [1666174757.466173][21506:21506] CHIP:DMG: [ + [1666174757.466233][21506:21506] CHIP:DMG: AttributeReportIB = + [1666174757.466320][21506:21506] CHIP:DMG: { + [1666174757.466395][21506:21506] CHIP:DMG: AttributeDataIB = + [1666174757.466476][21506:21506] CHIP:DMG: { + [1666174757.466561][21506:21506] CHIP:DMG: DataVersion = 0x83aa29ff, + [1666174757.466644][21506:21506] CHIP:DMG: AttributePathIB = + [1666174757.466729][21506:21506] CHIP:DMG: { + [1666174757.466833][21506:21506] CHIP:DMG: Endpoint = 0x1, + [1666174757.466917][21506:21506] CHIP:DMG: Cluster = 0x45, + [1666174757.467008][21506:21506] CHIP:DMG: Attribute = 0x0000_0000, + [1666174757.467091][21506:21506] CHIP:DMG: } + [1666174757.467181][21506:21506] CHIP:DMG: + [1666174757.467270][21506:21506] CHIP:DMG: Data = false, + [1666174757.467344][21506:21506] CHIP:DMG: }, + [1666174757.467432][21506:21506] CHIP:DMG: + [1666174757.467505][21506:21506] CHIP:DMG: }, + [1666174757.467582][21506:21506] CHIP:DMG: + [1666174757.467643][21506:21506] CHIP:DMG: ], + cluster: "LogCommands" + command: "UserPrompt" + PICS: PICS_SKIP_SAMPLE_APP + arguments: + values: + - name: "message" + value: "Enter 'y' after success" + - name: "expectedValue" + value: "y" diff --git a/src/app/tests/suites/certification/Test_TC_CADMIN_1_10.yaml b/src/app/tests/suites/certification/Test_TC_CADMIN_1_10.yaml index a76bdfabd4278e..04010ae564a617 100644 --- a/src/app/tests/suites/certification/Test_TC_CADMIN_1_10.yaml +++ b/src/app/tests/suites/certification/Test_TC_CADMIN_1_10.yaml @@ -51,7 +51,7 @@ tests: - label: "Precondition: Reset Devices to factory defaults" verification: | - Not implemented in YAML + Reset Devices to factory defaults cluster: "LogCommands" command: "UserPrompt" PICS: PICS_SKIP_SAMPLE_APP diff --git a/src/app/tests/suites/certification/Test_TC_CADMIN_1_11.yaml b/src/app/tests/suites/certification/Test_TC_CADMIN_1_11.yaml index eb4342ee8f8b19..e5e364c257017e 100644 --- a/src/app/tests/suites/certification/Test_TC_CADMIN_1_11.yaml +++ b/src/app/tests/suites/certification/Test_TC_CADMIN_1_11.yaml @@ -48,7 +48,7 @@ tests: - label: "Precondition: Reset Devices to factory defaults" verification: | - Not implemented in YAML + Reset Devices to factory defaults cluster: "LogCommands" command: "UserPrompt" PICS: PICS_SKIP_SAMPLE_APP diff --git a/src/app/tests/suites/certification/Test_TC_CADMIN_1_13.yaml b/src/app/tests/suites/certification/Test_TC_CADMIN_1_13.yaml index 2e460bf02af872..b8c30e9a268b8f 100644 --- a/src/app/tests/suites/certification/Test_TC_CADMIN_1_13.yaml +++ b/src/app/tests/suites/certification/Test_TC_CADMIN_1_13.yaml @@ -52,7 +52,7 @@ tests: - label: "Precondition: Reset Devices to factory defaults" verification: | - Not implemented in YAML + Reset Devices to factory defaults cluster: "LogCommands" command: "UserPrompt" PICS: PICS_SKIP_SAMPLE_APP @@ -301,8 +301,8 @@ tests: value: [ { Label: "", NodeID: nodeId }, - { Label: "", NodeID: nodeId2 }, { Label: "", NodeID: nodeId3 }, + { Label: "", NodeID: nodeId2 }, ] constraints: type: list @@ -403,8 +403,8 @@ tests: value: [ { Label: "", NodeID: nodeId }, - { Label: "", NodeID: nodeId2 }, { Label: "", NodeID: nodeId3 }, + { Label: "", NodeID: nodeId2 }, ] constraints: type: list diff --git a/src/app/tests/suites/certification/Test_TC_CADMIN_1_15.yaml b/src/app/tests/suites/certification/Test_TC_CADMIN_1_15.yaml index 8988e74ce12330..19b44210505cf9 100644 --- a/src/app/tests/suites/certification/Test_TC_CADMIN_1_15.yaml +++ b/src/app/tests/suites/certification/Test_TC_CADMIN_1_15.yaml @@ -46,7 +46,7 @@ tests: - label: "Precondition: Reset Devices to factory defaults" verification: | - Not implemented in YAML + Reset Devices to factory defaults cluster: "LogCommands" command: "UserPrompt" PICS: PICS_SKIP_SAMPLE_APP diff --git a/src/app/tests/suites/certification/Test_TC_CADMIN_1_16.yaml b/src/app/tests/suites/certification/Test_TC_CADMIN_1_16.yaml index b394dac2b2b550..1b9eb948ae2b1c 100644 --- a/src/app/tests/suites/certification/Test_TC_CADMIN_1_16.yaml +++ b/src/app/tests/suites/certification/Test_TC_CADMIN_1_16.yaml @@ -44,7 +44,7 @@ tests: - label: "Precondition: Reset Devices to factory defaults" verification: | - Not implemented in YAML + Reset Devices to factory defaults cluster: "LogCommands" command: "UserPrompt" PICS: PICS_SKIP_SAMPLE_APP diff --git a/src/app/tests/suites/certification/Test_TC_CADMIN_1_21.yaml b/src/app/tests/suites/certification/Test_TC_CADMIN_1_21.yaml index daf266f2e8dc63..19a6c046773f06 100644 --- a/src/app/tests/suites/certification/Test_TC_CADMIN_1_21.yaml +++ b/src/app/tests/suites/certification/Test_TC_CADMIN_1_21.yaml @@ -37,7 +37,7 @@ tests: - label: "Precondition: Reset Devices to factory defaults" verification: | - Not implemented in YAML + Reset Devices to factory defaults cluster: "LogCommands" command: "UserPrompt" PICS: PICS_SKIP_SAMPLE_APP diff --git a/src/app/tests/suites/certification/Test_TC_CADMIN_1_22.yaml b/src/app/tests/suites/certification/Test_TC_CADMIN_1_22.yaml index 3ee200f35f5454..ccbbdeef521f19 100644 --- a/src/app/tests/suites/certification/Test_TC_CADMIN_1_22.yaml +++ b/src/app/tests/suites/certification/Test_TC_CADMIN_1_22.yaml @@ -39,7 +39,7 @@ tests: - label: "Precondition: Reset Devices to factory defaults" verification: | - Not implemented in YAML + Reset Devices to factory defaults cluster: "LogCommands" command: "UserPrompt" PICS: PICS_SKIP_SAMPLE_APP diff --git a/src/app/tests/suites/certification/Test_TC_CADMIN_1_23.yaml b/src/app/tests/suites/certification/Test_TC_CADMIN_1_23.yaml index 331e7f07921cd3..2184c50bf22d78 100644 --- a/src/app/tests/suites/certification/Test_TC_CADMIN_1_23.yaml +++ b/src/app/tests/suites/certification/Test_TC_CADMIN_1_23.yaml @@ -37,7 +37,7 @@ tests: - label: "Precondition: Reset Devices to factory defaults" verification: | - Not implemented in YAML + Reset Devices to factory defaults cluster: "LogCommands" command: "UserPrompt" PICS: PICS_SKIP_SAMPLE_APP diff --git a/src/app/tests/suites/certification/Test_TC_CADMIN_1_24.yaml b/src/app/tests/suites/certification/Test_TC_CADMIN_1_24.yaml index 4074198ae56331..23fc9d415157e2 100644 --- a/src/app/tests/suites/certification/Test_TC_CADMIN_1_24.yaml +++ b/src/app/tests/suites/certification/Test_TC_CADMIN_1_24.yaml @@ -39,7 +39,7 @@ tests: - label: "Precondition: Reset Devices to factory defaults" verification: | - Not implemented in YAML + Reset Devices to factory defaults cluster: "LogCommands" command: "UserPrompt" PICS: PICS_SKIP_SAMPLE_APP diff --git a/src/app/tests/suites/certification/Test_TC_CADMIN_1_3.yaml b/src/app/tests/suites/certification/Test_TC_CADMIN_1_3.yaml index cfc054736ef1b2..5859c20e8d4736 100644 --- a/src/app/tests/suites/certification/Test_TC_CADMIN_1_3.yaml +++ b/src/app/tests/suites/certification/Test_TC_CADMIN_1_3.yaml @@ -42,7 +42,7 @@ tests: - label: "Precondition: Reset Devices to factory defaults" verification: | - Not implemented in YAML + Reset Devices to factory defaults cluster: "LogCommands" command: "UserPrompt" PICS: PICS_SKIP_SAMPLE_APP @@ -208,7 +208,7 @@ tests: attribute of DUT_CE" command: "writeAttribute" cluster: "Basic Information" - PICS: OPCREDS.S.A0001 + PICS: BINFO.S.A0005 attribute: "NodeLabel" arguments: value: "chiptest1" @@ -218,7 +218,7 @@ tests: attribute of DUT_CE" command: "readAttribute" cluster: "Basic Information" - PICS: OPCREDS.S.A0001 + PICS: BINFO.S.A0005 attribute: "NodeLabel" response: value: "chiptest1" @@ -232,7 +232,7 @@ tests: identity: "beta" command: "writeAttribute" cluster: "Basic Information" - PICS: OPCREDS.S.A0001 + PICS: BINFO.S.A0005 attribute: "NodeLabel" arguments: value: "chiptest2" @@ -243,7 +243,7 @@ tests: identity: "beta" command: "readAttribute" cluster: "Basic Information" - PICS: OPCREDS.S.A0001 + PICS: BINFO.S.A0005 attribute: "NodeLabel" response: value: "chiptest2" diff --git a/src/app/tests/suites/certification/Test_TC_CADMIN_1_4.yaml b/src/app/tests/suites/certification/Test_TC_CADMIN_1_4.yaml index 411c0b85faccf6..c4bb68b4ccb617 100644 --- a/src/app/tests/suites/certification/Test_TC_CADMIN_1_4.yaml +++ b/src/app/tests/suites/certification/Test_TC_CADMIN_1_4.yaml @@ -40,7 +40,7 @@ tests: - label: "Precondition: Reset Devices to factory defaults" verification: | - Not implemented in YAML + Reset Devices to factory defaults cluster: "LogCommands" command: "UserPrompt" PICS: PICS_SKIP_SAMPLE_APP diff --git a/src/app/tests/suites/certification/Test_TC_CADMIN_1_5.yaml b/src/app/tests/suites/certification/Test_TC_CADMIN_1_5.yaml index ffca897082c8ea..87ed2ae7a1b38a 100644 --- a/src/app/tests/suites/certification/Test_TC_CADMIN_1_5.yaml +++ b/src/app/tests/suites/certification/Test_TC_CADMIN_1_5.yaml @@ -53,7 +53,7 @@ tests: - label: "Precondition: Reset Devices to factory defaults" verification: | - Not implemented in YAML + Reset Devices to factory defaults cluster: "LogCommands" command: "UserPrompt" PICS: PICS_SKIP_SAMPLE_APP diff --git a/src/app/tests/suites/certification/Test_TC_CADMIN_1_6.yaml b/src/app/tests/suites/certification/Test_TC_CADMIN_1_6.yaml index ac2783fb867155..c39732ed9a6e32 100644 --- a/src/app/tests/suites/certification/Test_TC_CADMIN_1_6.yaml +++ b/src/app/tests/suites/certification/Test_TC_CADMIN_1_6.yaml @@ -48,7 +48,7 @@ tests: - label: "Precondition: Reset Devices to factory defaults" verification: | - Not implemented in YAML + Reset Devices to factory defaults cluster: "LogCommands" command: "UserPrompt" PICS: PICS_SKIP_SAMPLE_APP diff --git a/src/app/tests/suites/certification/Test_TC_CADMIN_1_9.yaml b/src/app/tests/suites/certification/Test_TC_CADMIN_1_9.yaml index 61c352e1920877..ccd2143096e31e 100644 --- a/src/app/tests/suites/certification/Test_TC_CADMIN_1_9.yaml +++ b/src/app/tests/suites/certification/Test_TC_CADMIN_1_9.yaml @@ -53,7 +53,7 @@ tests: - label: "Precondition: Reset Devices to factory defaults" verification: | - Not implemented in YAML + Reset Devices to factory defaults cluster: "LogCommands" command: "UserPrompt" PICS: PICS_SKIP_SAMPLE_APP 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 e727cac51c23de..77bca133403983 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 @@ -276,10 +276,10 @@ tests: verification: | ./chip-tool colorcontrol read primary1x 1 1 - Verify response contains an uint16 in TH(chip-tool) Logs: + Verify that Primary1X value is an uint16 [Min:0 Max:0xfeff] if NumberOfPrimaries is 1 or more On TH(chip-tool) Logs: CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0300 Attribute 0x0000_0011 DataVersion: 540305990 - [1651483665.109697][3245:3250] CHIP:TOO: primary 1 x: 0 + [1651483665.109697][3245:3250] CHIP:TOO: Primary1X: 0 [1651483665.109797][3245:3250] CHIP:EM: Sending Standalone Ack for MessageCounter:12731123 on exchange 55053i cluster: "LogCommands" command: "UserPrompt" @@ -298,10 +298,10 @@ tests: verification: | ./chip-tool colorcontrol read primary1y 1 1 - Verify response contains an uint16 in TH(chip-tool) Logs: + Verify that Primary1Y value is an uint16 [Min:0 Max:0xfeff] if NumberOfPrimaries is 1 or more On TH(chip-tool) Logs: CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0300 Attribute 0x0000_0012 DataVersion: 540305990 - [1651483698.733322][3253:3259] CHIP:TOO: primary 1 y: 0 + [1651483698.733322][3253:3259] CHIP:TOO: Primary1Y: 0 [1651483698.733420][3253:3259] CHIP:EM: Sending Standalone Ack for MessageCounter:7863787 on exchange 13103i cluster: "LogCommands" command: "UserPrompt" @@ -319,10 +319,10 @@ tests: verification: | ./chip-tool colorcontrol read primary1intensity 1 1 - Verify response contains an uint8 in TH(chip-tool) Logs: + Verify that Primary1Intensity value is an uint8 if NumberOfPrimaries is 1 or more On TH(chip-tool) Logs: CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0300 Attribute 0x0000_0013 DataVersion: 540305990 - [1651483742.297459][3263:3268] CHIP:TOO: primary 1 intensity: 0 + [1651483742.297459][3263:3268] CHIP:TOO: Primary1Intensity: 0 [1651483742.297558][3263:3268] CHIP:EM: Sending Standalone Ack for MessageCounter:10210809 on exchange 7007i cluster: "LogCommands" command: "UserPrompt" @@ -341,10 +341,10 @@ tests: verification: | ./chip-tool colorcontrol read primary2x 1 1 - Verify response contains an uint16 in TH(chip-tool) Logs: + Verify that Primary2X value is an uint16 [Min:0 Max:0xfeff] if NumberOfPrimaries is 2 or more On TH(chip-tool) Logs: CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0300 Attribute 0x0000_0015 DataVersion: 540305990 - [1651483777.233498][3270:3275] CHIP:TOO: primary 2 x: 0 + [1651483777.233498][3270:3275] CHIP:TOO: Primary2X: 0 [1651483777.233614][3270:3275] CHIP:EM: Sending Standalone Ack for MessageCounter:1684573 on exchange 21377i cluster: "LogCommands" command: "UserPrompt" @@ -363,10 +363,10 @@ tests: verification: | ./chip-tool colorcontrol read primary2y 1 1 - Verify response contains an uint16 in TH(chip-tool) Logs: + Verify that Primary2Y value is an uint16 [Min:0 Max:0xfeff] if NumberOfPrimaries is 2 or more On TH(chip-tool) Logs: CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0300 Attribute 0x0000_0016 DataVersion: 540305990 - [1651483805.650796][3279:3284] CHIP:TOO: primary 2 y: 0 + [1651483805.650796][3279:3284] CHIP:TOO: Primary2Y: 0 [1651483805.650942][3279:3284] CHIP:EM: Sending Standalone Ack for MessageCounter:16277541 on exchange 10435i cluster: "LogCommands" command: "UserPrompt" @@ -384,10 +384,10 @@ tests: verification: | ./chip-tool colorcontrol read primary2intensity 1 1 - Verify response contains an uint8 in TH(chip-tool) Logs: + Verify that Primary2Intensity value is an uint8 if NumberOfPrimaries is 2 or more On TH(chip-tool) Logs: CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0300 Attribute 0x0000_0017 DataVersion: 540305990 - [1651483834.596380][3285:3290] CHIP:TOO: primary 2 intensity: 0 + [1651483834.596380][3285:3290] CHIP:TOO: Primary2Intensity: 0 [1651483834.596470][3285:3290] CHIP:EM: Sending Standalone Ack for MessageCounter:5986355 on exchange 855i cluster: "LogCommands" command: "UserPrompt" @@ -406,10 +406,10 @@ tests: verification: | ./chip-tool colorcontrol read primary3x 1 1 - Verify response contains an uint16 in TH(chip-tool) Logs: + Verify that Primary3X value is an uint16 [Min:0 Max:0xfeff] if NumberOfPrimaries is 3 or more On TH(chip-tool) Logs: CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0300 Attribute 0x0000_0019 DataVersion: 540305990 - [1651483937.072323][3298:3303] CHIP:TOO: primary 3 x: 0 + [1651483937.072323][3298:3303] CHIP:TOO: Primary3X: 0 [1651483937.072405][3298:3303] CHIP:EM: Sending Standalone Ack for MessageCounter:6092298 on exchange 12519i cluster: "LogCommands" command: "UserPrompt" @@ -428,10 +428,10 @@ tests: verification: | ./chip-tool colorcontrol read primary3y 1 1 - Verify response contains an uint16 in TH(chip-tool) Logs: + Verify that Primary3Y value is an uint16 [Min:0 Max:0xfeff] if NumberOfPrimaries is 3 or more On TH(chip-tool) Logs: CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0300 Attribute 0x0000_001A DataVersion: 540305990 - [1651483967.386334][3305:3310] CHIP:TOO: primary 3 y: 0 + [1651483967.386334][3305:3310] CHIP:TOO: Primary3Y: 0 [1651483967.386427][3305:3310] CHIP:EM: Sending Standalone Ack for MessageCounter:3329418 on exchange 11657i cluster: "LogCommands" command: "UserPrompt" @@ -449,11 +449,11 @@ tests: verification: | ./chip-tool colorcontrol read primary3intensity 1 1 - Verify response contains an uint8 in TH(chip-tool) Logs: + Verify that Primary3Intensity value is an uint8 if NumberOfPrimaries is 3 or more On TH(chip-tool) Logs: - 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 + CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0300 Attribute 0x0000_001B DataVersion: 540305990 + [1651484113.812178][3316:3321] CHIP:TOO: Primary3Intensity: 0 + [1651484113.812270][3316:3321] CHIP:EM: Sending Standalone Ack for MessageCounter:41658 on exchange 9618i cluster: "LogCommands" command: "UserPrompt" PICS: PICS_USER_PROMPT && CC.S.A001b @@ -472,10 +472,10 @@ tests: verification: | ./chip-tool colorcontrol read primary4x 1 1 - Verify response contains an uint16 in TH(chip-tool) Logs: + Verify that Primary4X value is an uint16 [Min:0 Max:0xfeff] if NumberOfPrimaries is 4 or more On TH(chip-tool) Logs: CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0300 Attribute 0x0000_0020 DataVersion: 540305990 - [1651484143.778301][3324:3329] CHIP:TOO: primary 4 x: 0 + [1651484143.778301][3324:3329] CHIP:TOO: Primary4X: 0 [1651484143.778392][3324:3329] CHIP:EM: Sending Standalone Ack for MessageCounter:2094184 on exchange 50270i cluster: "LogCommands" command: "UserPrompt" @@ -494,10 +494,10 @@ tests: verification: | ./chip-tool colorcontrol read primary4y 1 1 - Verify response contains an uint16 in TH(chip-tool) Logs: + Verify that Primary4Y value is an uint16 [Min:0 Max:0xfeff] On TH(chip-tool) Logs: CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0300 Attribute 0x0000_0021 DataVersion: 540305990 - [1651484171.921901][3334:3339] CHIP:TOO: primary 4 y: 0 + [1651484171.921901][3334:3339] CHIP:TOO: Primary4Y: 0 [1651484171.921984][3334:3339] CHIP:EM: Sending Standalone Ack for MessageCounter:3701827 on exchange 16726i cluster: "LogCommands" command: "UserPrompt" @@ -515,10 +515,10 @@ tests: verification: | ./chip-tool colorcontrol read primary4intensity 1 1 - Verify response contains an uint8 in TH(chip-tool) Logs: + Verify that Primary4Intensity value is an uint8 On TH(chip-tool) Logs: CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0300 Attribute 0x0000_0022 DataVersion: 540305990 - [1651484198.443415][3341:3346] CHIP:TOO: primary 4 intensity: 0 + [1651484198.443415][3341:3346] CHIP:TOO: Primary4Intensity: 0 [1651484198.443528][3341:3346] CHIP:EM: Sending Standalone Ack for MessageCounter:1740063 on exchange 36245i cluster: "LogCommands" command: "UserPrompt" @@ -537,10 +537,10 @@ tests: verification: | ./chip-tool colorcontrol read primary5x 1 1 - Verify response contains an uint16 in TH(chip-tool) Logs: + Verify that Primary5X value is an uint16 [Min:0 Max:0xfeff] if NumberOfPrimaries is 5 or more On TH(chip-tool) Logs: CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0300 Attribute 0x0000_0024 DataVersion: 540305990 - [1651484241.467661][3350:3355] CHIP:TOO: primary 5 x: 0 + [1651484241.467661][3350:3355] CHIP:TOO: Primary5X: 0 [1651484241.467788][3350:3355] CHIP:EM: Sending Standalone Ack for MessageCounter:5350139 on exchange 63040i cluster: "LogCommands" command: "UserPrompt" @@ -559,10 +559,10 @@ tests: verification: | ./chip-tool colorcontrol read primary5y 1 1 - Verify response contains an uint16 in TH(chip-tool) Logs: + Verify that Primary5Y value is an uint16 [Min:0 Max:0xfeff] if NumberOfPrimaries is 5 or more On TH(chip-tool) Logs: CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0300 Attribute 0x0000_0025 DataVersion: 540305990 - [1651484286.709863][3358:3363] CHIP:TOO: primary 5 y: 0 + [1651484286.709863][3358:3363] CHIP:TOO: Primary5Y: 0 [1651484286.709964][3358:3363] CHIP:EM: Sending Standalone Ack for MessageCounter:7199124 on exchange 47604i cluster: "LogCommands" command: "UserPrompt" @@ -580,10 +580,10 @@ tests: verification: | ./chip-tool colorcontrol read primary5intensity 1 1 - Verify response contains an uint8 in TH(chip-tool) Logs: + Verify that Primary5Intensity value is an uint8 if NumberOfPrimaries is 5 or more On TH(chip-tool) Logs: CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0300 Attribute 0x0000_0026 DataVersion: 540305990 - [1651484304.715731][3365:3370] CHIP:TOO: primary 5 intensity: 0 + [1651484304.715731][3365:3370] CHIP:TOO: Primary5Intensity: 0 [1651484304.715829][3365:3370] CHIP:EM: Sending Standalone Ack for MessageCounter:8654922 on exchange 29272i cluster: "LogCommands" command: "UserPrompt" @@ -602,10 +602,10 @@ tests: verification: | ./chip-tool colorcontrol read primary6x 1 1 - Verify response contains an uint16 in TH(chip-tool) Logs: + Verify that Primary6X value is an uint16 [Min:0 Max:0xfeff] if NumberOfPrimaries is 6 On TH(chip-tool) Logs: CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0300 Attribute 0x0000_0028 DataVersion: 540305990 - [1651484349.601181][3372:3377] CHIP:TOO: primary 6 x: 0 + [1651484349.601181][3372:3377] CHIP:TOO: Primary6X: 0 [1651484349.601269][3372:3377] CHIP:EM: Sending Standalone Ack for MessageCounter:13704291 on exchange 30507i cluster: "LogCommands" command: "UserPrompt" @@ -624,7 +624,7 @@ tests: verification: | ./chip-tool colorcontrol read primary6y 1 1 - Verify response contains an uint16 in TH(chip-tool) Logs: + Verify that Primary6Y value is an uint16 [Min:0 Max:0xfeff] if NumberOfPrimaries is 6 On TH(chip-tool) Logs: [1663318323.234522][132277:132282] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0300 Attribute 0x0000_0029 DataVersion: 3053940635 [1663318323.234951][132277:132282] CHIP:TOO: Primary6Y: 0 @@ -645,10 +645,10 @@ tests: verification: | ./chip-tool colorcontrol read primary6intensity 1 1 - Verify response contains an uint8 in TH(chip-tool) Logs: + Verify that Primary6Intensity value is an uint8 if NumberOfPrimaries is 6 On TH(chip-tool) Logs: CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0300 Attribute 0x0000_002A DataVersion: 540305990 - [1651484392.490974][3378:3383] CHIP:TOO: primary 6 intensity: 0 + [1651484392.490974][3378:3383] CHIP:TOO: Primary6Intensity: 0 [1651484392.491074][3378:3383] CHIP:EM: Sending Standalone Ack for MessageCounter:2427165 on exchange 17769i cluster: "LogCommands" command: "UserPrompt" diff --git a/src/app/tests/suites/certification/Test_TC_DGETH_2_1.yaml b/src/app/tests/suites/certification/Test_TC_DGETH_2_1.yaml index 57c44a17132a89..d42ee1fcf64a92 100644 --- a/src/app/tests/suites/certification/Test_TC_DGETH_2_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_DGETH_2_1.yaml @@ -64,7 +64,7 @@ tests: verification: | ./chip-tool ethernetnetworkdiagnostics read packet-rx-count 1 0 - Verify the value of PacketRxCount is in range uint64 in TH(chip-tool) log + Verify the value of PacketRxCount is in range uint64 on TH(chip-tool) log CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0037 Attribute 0x0000_0002 DataVersion: 3872576452 [1649663623.009973][8103:8108] CHIP:TOO: PacketRxCount: 3322 @@ -92,7 +92,7 @@ tests: verification: | ./chip-tool ethernetnetworkdiagnostics read packet-tx-count 1 0 - Verify the value of PacketTxCount is in range uint64 in TH(chip-tool) Log + Verify the value of PacketTxCount is in range uint64 on TH(chip-tool) Log CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0037 Attribute 0x0000_0003 DataVersion: 3872576452 [1649663793.192934][8117:8122] CHIP:TOO: PacketTxCount: 3220 @@ -120,7 +120,7 @@ tests: verification: | ./chip-tool ethernetnetworkdiagnostics read tx-err-count 1 0 - Verify the value of TxErrCount is in range uint64 in TH(chip-tool) Log + Verify the value of TxErrCount is in range uint64 on TH(chip-tool) Log CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0037 Attribute 0x0000_0004 DataVersion: 3872576452 [1649663843.295395][8123:8128] CHIP:TOO: TxErrCount: 0 @@ -149,7 +149,7 @@ tests: verification: | ./chip-tool ethernetnetworkdiagnostics read collision-count 1 0 - Verify the value of CollisionCount is in range uint64 in TH(chip-tool) Log + Verify the value of CollisionCount is in range uint64 on TH(chip-tool) Log CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0037 Attribute 0x0000_0005 DataVersion: 3872576452 [1649663870.221742][8133:8138] CHIP:TOO: CollisionCount: 0 @@ -178,7 +178,7 @@ tests: verification: | ./chip-tool ethernetnetworkdiagnostics read overrun-count 1 0 - Verify that the attribute data value is present. If the value is 0, no packet loss was recorded or it was just reset from a node reboot in TH(chip-tool) Log + Verify the value of OverrunCount is in range uint64 on TH(chip-tool) Log CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0037 Attribute 0x0000_0006 DataVersion: 3872576452 [1649663948.738274][8142:8147] CHIP:TOO: OverrunCount: 0 @@ -207,7 +207,7 @@ tests: verification: | ./chip-tool ethernetnetworkdiagnostics read carrier-detect 1 0 - Verify the value of CarrierDetect is either bool or null in TH(chip-tool) Log: + Verify the value of CarrierDetect is either bool or if the interface is not configured or operational, NULL should be read, this is optional attribute implemented in RPI, may vary based on DUT implementation on TH(chip-tool) Log: CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0037 Attribute 0x0000_0007 DataVersion: 3872576452 [1649663972.829304][8149:8154] CHIP:TOO: CarrierDetect: null @@ -235,8 +235,7 @@ tests: verification: | ./chip-tool ethernetnetworkdiagnostics read time-since-reset 1 0 - Verify the value of TimeSinceReset is in range uint64 in TH(chip-tool) log: - + Verify the value of TimeSinceReset is in range uint64, If the interface is not configured or operational, NULL should be read, this is optional attribute implemented in RPI, may vary based on DUT implementation on TH(chip-tool) Log: CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0037 Attribute 0x0000_0008 DataVersion: 3872576452 [1649664046.010810][8158:8163] CHIP:TOO: TimeSinceReset: 5219 diff --git a/src/app/tests/suites/certification/Test_TC_DGGEN_2_1.yaml b/src/app/tests/suites/certification/Test_TC_DGGEN_2_1.yaml index a28d0f087bbf47..76bf4f7fb6c605 100644 --- a/src/app/tests/suites/certification/Test_TC_DGGEN_2_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_DGGEN_2_1.yaml @@ -57,7 +57,7 @@ tests: - label: "Reboot target device(DUT)" verification: | - Not implemented in YAML + Did the DUT successfully reboot? cluster: "LogCommands" command: "UserPrompt" PICS: PICS_SKIP_SAMPLE_APP @@ -75,7 +75,7 @@ tests: - label: "Reboot target device(DUT)" verification: | - Not implemented in YAML + Did the DUT successfully reboot? cluster: "LogCommands" command: "UserPrompt" PICS: PICS_SKIP_SAMPLE_APP @@ -121,7 +121,7 @@ tests: - label: "Reboot target device(DUT)" verification: | - Not implemented in YAML + Did the DUT successfully reboot? cluster: "LogCommands" command: "UserPrompt" PICS: PICS_SKIP_SAMPLE_APP diff --git a/src/app/tests/suites/certification/Test_TC_FLABEL_2_1.yaml b/src/app/tests/suites/certification/Test_TC_FLABEL_2_1.yaml index aea89f1bc193b5..bbd786553ea1e2 100644 --- a/src/app/tests/suites/certification/Test_TC_FLABEL_2_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_FLABEL_2_1.yaml @@ -54,8 +54,7 @@ tests: - label: "TH reads LabelList from the DUT" verification: | ./chip-tool fixedlabel read label-list 1 0 - - On TH(all-clusters-app) Verify that the LabelList value is same as value from step 1 + Verify that the LabelList value is same as value from step 1 On TH(all-clusters-app) : [1651124649.820293][2819:2824] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0040 Attribute 0x0000_0000 DataVersion: 3688229931 [1651124649.820478][2819:2824] CHIP:TOO: LabelList: 4 entries diff --git a/src/app/tests/suites/certification/Test_TC_FLW_3_1_Simulated.yaml b/src/app/tests/suites/certification/Test_TC_FLW_3_1_Simulated.yaml index d3d237da8427d8..d32135b4ec592d 100644 --- a/src/app/tests/suites/certification/Test_TC_FLW_3_1_Simulated.yaml +++ b/src/app/tests/suites/certification/Test_TC_FLW_3_1_Simulated.yaml @@ -46,3 +46,328 @@ tests: - label: "Read attribute: Tolerance" wait: "readAttribute" attribute: "Tolerance" + + - label: + "Configure TH such that it implements mandatory and none of the + optional attributes of the server-side of the cluster, and that it + also reflects this in global attributes such as FeatureMap and + AttributeList. Commission DUT to TH again." + verification: | + Verify TH(all-clusters-minimal-app) that it implements mandatory and none of the optional attributes of the server-side of the cluster, and that it also reflects this in global attributes such as FeatureMap and AttributeList. + + ./chip-tool flowmeasurement read attribute-list 1 1 + + Verify AttributeList response on the TH(all-clusters-minimal-app) Log: + + ReportDataMessage = + [1666851487.507946][18927:18927] CHIP:DMG: { + [1666851487.507950][18927:18927] CHIP:DMG: AttributeReportIBs = + [1666851487.507957][18927:18927] CHIP:DMG: [ + [1666851487.507961][18927:18927] CHIP:DMG: AttributeReportIB = + [1666851487.507969][18927:18927] CHIP:DMG: { + [1666851487.507974][18927:18927] CHIP:DMG: AttributeDataIB = + [1666851487.507979][18927:18927] CHIP:DMG: { + [1666851487.507984][18927:18927] CHIP:DMG: DataVersion = 0xca67ce55, + [1666851487.507990][18927:18927] CHIP:DMG: AttributePathIB = + [1666851487.507995][18927:18927] CHIP:DMG: { + [1666851487.508001][18927:18927] CHIP:DMG: Endpoint = 0x1, + [1666851487.508007][18927:18927] CHIP:DMG: Cluster = 0x404, + [1666851487.508012][18927:18927] CHIP:DMG: Attribute = 0x0000_FFFB, + [1666851487.508018][18927:18927] CHIP:DMG: } + [1666851487.508024][18927:18927] CHIP:DMG: + [1666851487.508030][18927:18927] CHIP:DMG: Data = [ + [1666851487.508035][18927:18927] CHIP:DMG: + [1666851487.508041][18927:18927] CHIP:DMG: ], + [1666851487.508045][18927:18927] CHIP:DMG: }, + [1666851487.508053][18927:18927] CHIP:DMG: + [1666851487.508057][18927:18927] CHIP:DMG: }, + [1666851487.508068][18927:18927] CHIP:DMG: + [1666851487.508072][18927:18927] CHIP:DMG: AttributeReportIB = + [1666851487.508080][18927:18927] CHIP:DMG: { + [1666851487.508085][18927:18927] CHIP:DMG: AttributeDataIB = + [1666851487.508089][18927:18927] CHIP:DMG: { + [1666851487.508094][18927:18927] CHIP:DMG: DataVersion = 0xca67ce55, + [1666851487.508098][18927:18927] CHIP:DMG: AttributePathIB = + [1666851487.508104][18927:18927] CHIP:DMG: { + [1666851487.508108][18927:18927] CHIP:DMG: Endpoint = 0x1, + [1666851487.508113][18927:18927] CHIP:DMG: Cluster = 0x404, + [1666851487.508119][18927:18927] CHIP:DMG: Attribute = 0x0000_FFFB, + [1666851487.508124][18927:18927] CHIP:DMG: ListIndex = Null, + [1666851487.508128][18927:18927] CHIP:DMG: } + [1666851487.508134][18927:18927] CHIP:DMG: + [1666851487.508139][18927:18927] CHIP:DMG: Data = 0, + [1666851487.508143][18927:18927] CHIP:DMG: }, + [1666851487.508149][18927:18927] CHIP:DMG: + [1666851487.508152][18927:18927] CHIP:DMG: }, + [1666851487.508161][18927:18927] CHIP:DMG: + [1666851487.508165][18927:18927] CHIP:DMG: AttributeReportIB = + [1666851487.508173][18927:18927] CHIP:DMG: { + [1666851487.508178][18927:18927] CHIP:DMG: AttributeDataIB = + [1666851487.508183][18927:18927] CHIP:DMG: { + [1666851487.508189][18927:18927] CHIP:DMG: DataVersion = 0xca67ce55, + [1666851487.508194][18927:18927] CHIP:DMG: AttributePathIB = + [1666851487.508199][18927:18927] CHIP:DMG: { + [1666851487.508204][18927:18927] CHIP:DMG: Endpoint = 0x1, + [1666851487.508210][18927:18927] CHIP:DMG: Cluster = 0x404, + [1666851487.508216][18927:18927] CHIP:DMG: Attribute = 0x0000_FFFB, + [1666851487.508221][18927:18927] CHIP:DMG: ListIndex = Null, + [1666851487.508225][18927:18927] CHIP:DMG: } + [1666851487.508232][18927:18927] CHIP:DMG: + [1666851487.508237][18927:18927] CHIP:DMG: Data = 1, + [1666851487.508242][18927:18927] CHIP:DMG: }, + [1666851487.508249][18927:18927] CHIP:DMG: + [1666851487.508254][18927:18927] CHIP:DMG: }, + [1666851487.508264][18927:18927] CHIP:DMG: + [1666851487.508268][18927:18927] CHIP:DMG: AttributeReportIB = + [1666851487.508275][18927:18927] CHIP:DMG: { + [1666851487.508280][18927:18927] CHIP:DMG: AttributeDataIB = + [1666851487.508285][18927:18927] CHIP:DMG: { + [1666851487.508289][18927:18927] CHIP:DMG: DataVersion = 0xca67ce55, + [1666851487.508293][18927:18927] CHIP:DMG: AttributePathIB = + [1666851487.508298][18927:18927] CHIP:DMG: { + [1666851487.508303][18927:18927] CHIP:DMG: Endpoint = 0x1, + [1666851487.508307][18927:18927] CHIP:DMG: Cluster = 0x404, + [1666851487.508314][18927:18927] CHIP:DMG: Attribute = 0x0000_FFFB, + [1666851487.508318][18927:18927] CHIP:DMG: ListIndex = Null, + [1666851487.508324][18927:18927] CHIP:DMG: } + [1666851487.508331][18927:18927] CHIP:DMG: + [1666851487.508337][18927:18927] CHIP:DMG: Data = 2, + [1666851487.508341][18927:18927] CHIP:DMG: }, + [1666851487.508348][18927:18927] CHIP:DMG: + [1666851487.508353][18927:18927] CHIP:DMG: }, + [1666851487.508363][18927:18927] CHIP:DMG: + [1666851487.508367][18927:18927] CHIP:DMG: AttributeReportIB = + [1666851487.508374][18927:18927] CHIP:DMG: { + [1666851487.508377][18927:18927] CHIP:DMG: AttributeDataIB = + [1666851487.508382][18927:18927] CHIP:DMG: { + [1666851487.508386][18927:18927] CHIP:DMG: DataVersion = 0xca67ce55, + [1666851487.508390][18927:18927] CHIP:DMG: AttributePathIB = + [1666851487.508395][18927:18927] CHIP:DMG: { + [1666851487.508399][18927:18927] CHIP:DMG: Endpoint = 0x1, + [1666851487.508406][18927:18927] CHIP:DMG: Cluster = 0x404, + [1666851487.508411][18927:18927] CHIP:DMG: Attribute = 0x0000_FFFB, + [1666851487.508416][18927:18927] CHIP:DMG: ListIndex = Null, + [1666851487.508420][18927:18927] CHIP:DMG: } + [1666851487.508426][18927:18927] CHIP:DMG: + [1666851487.508431][18927:18927] CHIP:DMG: Data = 65528, + [1666851487.508436][18927:18927] CHIP:DMG: }, + [1666851487.508443][18927:18927] CHIP:DMG: + [1666851487.508447][18927:18927] CHIP:DMG: }, + [1666851487.508456][18927:18927] CHIP:DMG: + [1666851487.508461][18927:18927] CHIP:DMG: AttributeReportIB = + [1666851487.508468][18927:18927] CHIP:DMG: { + [1666851487.508471][18927:18927] CHIP:DMG: AttributeDataIB = + [1666851487.508475][18927:18927] CHIP:DMG: { + [1666851487.508480][18927:18927] CHIP:DMG: DataVersion = 0xca67ce55, + [1666851487.508486][18927:18927] CHIP:DMG: AttributePathIB = + [1666851487.508491][18927:18927] CHIP:DMG: { + [1666851487.508495][18927:18927] CHIP:DMG: Endpoint = 0x1, + [1666851487.508500][18927:18927] CHIP:DMG: Cluster = 0x404, + [1666851487.508506][18927:18927] CHIP:DMG: Attribute = 0x0000_FFFB, + [1666851487.508511][18927:18927] CHIP:DMG: ListIndex = Null, + [1666851487.508515][18927:18927] CHIP:DMG: } + [1666851487.508521][18927:18927] CHIP:DMG: + [1666851487.508526][18927:18927] CHIP:DMG: Data = 65529, + [1666851487.508531][18927:18927] CHIP:DMG: }, + [1666851487.508538][18927:18927] CHIP:DMG: + [1666851487.508543][18927:18927] CHIP:DMG: }, + [1666851487.508554][18927:18927] CHIP:DMG: + [1666851487.508557][18927:18927] CHIP:DMG: AttributeReportIB = + [1666851487.508564][18927:18927] CHIP:DMG: { + [1666851487.508569][18927:18927] CHIP:DMG: AttributeDataIB = + [1666851487.508574][18927:18927] CHIP:DMG: { + [1666851487.508579][18927:18927] CHIP:DMG: DataVersion = 0xca67ce55, + [1666851487.508584][18927:18927] CHIP:DMG: AttributePathIB = + [1666851487.508590][18927:18927] CHIP:DMG: { + [1666851487.508595][18927:18927] CHIP:DMG: Endpoint = 0x1, + [1666851487.508601][18927:18927] CHIP:DMG: Cluster = 0x404, + [1666851487.508607][18927:18927] CHIP:DMG: Attribute = 0x0000_FFFB, + [1666851487.508611][18927:18927] CHIP:DMG: ListIndex = Null, + [1666851487.508616][18927:18927] CHIP:DMG: } + [1666851487.508622][18927:18927] CHIP:DMG: + [1666851487.508627][18927:18927] CHIP:DMG: Data = 65531, + [1666851487.508632][18927:18927] CHIP:DMG: }, + [1666851487.508638][18927:18927] CHIP:DMG: + [1666851487.508642][18927:18927] CHIP:DMG: }, + [1666851487.508652][18927:18927] CHIP:DMG: + [1666851487.508656][18927:18927] CHIP:DMG: AttributeReportIB = + [1666851487.508663][18927:18927] CHIP:DMG: { + [1666851487.508668][18927:18927] CHIP:DMG: AttributeDataIB = + [1666851487.508673][18927:18927] CHIP:DMG: { + [1666851487.508678][18927:18927] CHIP:DMG: DataVersion = 0xca67ce55, + [1666851487.508683][18927:18927] CHIP:DMG: AttributePathIB = + [1666851487.508688][18927:18927] CHIP:DMG: { + [1666851487.508692][18927:18927] CHIP:DMG: Endpoint = 0x1, + [1666851487.508699][18927:18927] CHIP:DMG: Cluster = 0x404, + [1666851487.508705][18927:18927] CHIP:DMG: Attribute = 0x0000_FFFB, + [1666851487.508710][18927:18927] CHIP:DMG: ListIndex = Null, + [1666851487.508714][18927:18927] CHIP:DMG: } + [1666851487.508721][18927:18927] CHIP:DMG: + [1666851487.508726][18927:18927] CHIP:DMG: Data = 65532, + [1666851487.508730][18927:18927] CHIP:DMG: }, + [1666851487.508737][18927:18927] CHIP:DMG: + [1666851487.508741][18927:18927] CHIP:DMG: }, + [1666851487.508750][18927:18927] CHIP:DMG: + [1666851487.508754][18927:18927] CHIP:DMG: AttributeReportIB = + [1666851487.508761][18927:18927] CHIP:DMG: { + [1666851487.508766][18927:18927] CHIP:DMG: AttributeDataIB = + [1666851487.508771][18927:18927] CHIP:DMG: { + [1666851487.508775][18927:18927] CHIP:DMG: DataVersion = 0xca67ce55, + [1666851487.508780][18927:18927] CHIP:DMG: AttributePathIB = + [1666851487.508785][18927:18927] CHIP:DMG: { + [1666851487.508790][18927:18927] CHIP:DMG: Endpoint = 0x1, + [1666851487.508796][18927:18927] CHIP:DMG: Cluster = 0x404, + [1666851487.508803][18927:18927] CHIP:DMG: Attribute = 0x0000_FFFB, + [1666851487.508808][18927:18927] CHIP:DMG: ListIndex = Null, + [1666851487.508814][18927:18927] CHIP:DMG: } + [1666851487.508820][18927:18927] CHIP:DMG: + [1666851487.508825][18927:18927] CHIP:DMG: Data = 65533, + [1666851487.508829][18927:18927] CHIP:DMG: }, + [1666851487.508836][18927:18927] CHIP:DMG: + [1666851487.508840][18927:18927] CHIP:DMG: }, + [1666851487.508847][18927:18927] CHIP:DMG: + [1666851487.508851][18927:18927] CHIP:DMG: ], + [1666851487.508879][18927:18927] CHIP:DMG: + [1666851487.508884][18927:18927] CHIP:DMG: SuppressResponse = true, + [1666851487.508888][18927:18927] CHIP:DMG: InteractionModelRevision = 1 + [1666851487.508892][18927:18927] CHIP:DMG: } + [1666851487.508896][18927:18927] CHIP:DMG: + + + + ./chip-tool flowmeasurement read feature-map 1 1 + + Verify FeatureMap attribute response on the TH(all-clusters-minimal-app) Log: + + ReportDataMessage = + [1666851643.847203][18927:18927] CHIP:DMG: { + [1666851643.847206][18927:18927] CHIP:DMG: AttributeReportIBs = + [1666851643.847211][18927:18927] CHIP:DMG: [ + [1666851643.847214][18927:18927] CHIP:DMG: AttributeReportIB = + [1666851643.847219][18927:18927] CHIP:DMG: { + [1666851643.847222][18927:18927] CHIP:DMG: AttributeDataIB = + [1666851643.847226][18927:18927] CHIP:DMG: { + [1666851643.847229][18927:18927] CHIP:DMG: DataVersion = 0xca67ce55, + [1666851643.847232][18927:18927] CHIP:DMG: AttributePathIB = + [1666851643.847236][18927:18927] CHIP:DMG: { + [1666851643.847240][18927:18927] CHIP:DMG: Endpoint = 0x1, + [1666851643.847244][18927:18927] CHIP:DMG: Cluster = 0x404, + [1666851643.847249][18927:18927] CHIP:DMG: Attribute = 0x0000_FFFC, + [1666851643.847252][18927:18927] CHIP:DMG: } + [1666851643.847256][18927:18927] CHIP:DMG: + [1666851643.847261][18927:18927] CHIP:DMG: Data = 0, + [1666851643.847264][18927:18927] CHIP:DMG: }, + [1666851643.847269][18927:18927] CHIP:DMG: + [1666851643.847272][18927:18927] CHIP:DMG: }, + [1666851643.847276][18927:18927] CHIP:DMG: + [1666851643.847279][18927:18927] CHIP:DMG: ], + [1666851643.847285][18927:18927] CHIP:DMG: + [1666851643.847288][18927:18927] CHIP:DMG: SuppressResponse = true, + [1666851643.847291][18927:18927] CHIP:DMG: InteractionModelRevision = 1 + [1666851643.847294][18927:18927] CHIP:DMG: } + + + ./chip-tool flowmeasurement read measured-value 1 1 + + Verify MeasuredValue response on the TH(all-clusters-minimal-app) Log: + + ReportDataMessage = + [1666851671.893452][18927:18927] CHIP:DMG: { + [1666851671.893455][18927:18927] CHIP:DMG: AttributeReportIBs = + [1666851671.893460][18927:18927] CHIP:DMG: [ + [1666851671.893462][18927:18927] CHIP:DMG: AttributeReportIB = + [1666851671.893467][18927:18927] CHIP:DMG: { + [1666851671.893471][18927:18927] CHIP:DMG: AttributeDataIB = + [1666851671.893476][18927:18927] CHIP:DMG: { + [1666851671.893479][18927:18927] CHIP:DMG: DataVersion = 0xca67ce55, + [1666851671.893484][18927:18927] CHIP:DMG: AttributePathIB = + [1666851671.893487][18927:18927] CHIP:DMG: { + [1666851671.893493][18927:18927] CHIP:DMG: Endpoint = 0x1, + [1666851671.893496][18927:18927] CHIP:DMG: Cluster = 0x404, + [1666851671.893501][18927:18927] CHIP:DMG: Attribute = 0x0000_0000, + [1666851671.893506][18927:18927] CHIP:DMG: } + [1666851671.893511][18927:18927] CHIP:DMG: + [1666851671.893517][18927:18927] CHIP:DMG: Data = 0, + [1666851671.893520][18927:18927] CHIP:DMG: }, + [1666851671.893526][18927:18927] CHIP:DMG: + [1666851671.893529][18927:18927] CHIP:DMG: }, + [1666851671.893534][18927:18927] CHIP:DMG: + [1666851671.893538][18927:18927] CHIP:DMG: ], + [1666851671.893545][18927:18927] CHIP:DMG: + [1666851671.893549][18927:18927] CHIP:DMG: SuppressResponse = true, + [1666851671.893552][18927:18927] CHIP:DMG: InteractionModelRevision = 1 + [1666851671.893555][18927:18927] CHIP:DMG: } + + + + ./chip-tool flowmeasurement read min-measured-value 1 1 + + Verify MinMeasuredValue response on the TH(all-clusters-minimal-app) Log: + + ReportDataMessage = + [1666851700.451575][18927:18927] CHIP:DMG: { + [1666851700.451579][18927:18927] CHIP:DMG: AttributeReportIBs = + [1666851700.451585][18927:18927] CHIP:DMG: [ + [1666851700.451589][18927:18927] CHIP:DMG: AttributeReportIB = + [1666851700.451596][18927:18927] CHIP:DMG: { + [1666851700.451599][18927:18927] CHIP:DMG: AttributeDataIB = + [1666851700.451603][18927:18927] CHIP:DMG: { + [1666851700.451606][18927:18927] CHIP:DMG: DataVersion = 0xca67ce55, + [1666851700.451611][18927:18927] CHIP:DMG: AttributePathIB = + [1666851700.451615][18927:18927] CHIP:DMG: { + [1666851700.451620][18927:18927] CHIP:DMG: Endpoint = 0x1, + [1666851700.451625][18927:18927] CHIP:DMG: Cluster = 0x404, + [1666851700.451630][18927:18927] CHIP:DMG: Attribute = 0x0000_0001, + [1666851700.451633][18927:18927] CHIP:DMG: } + [1666851700.451638][18927:18927] CHIP:DMG: + [1666851700.451644][18927:18927] CHIP:DMG: Data = 0, + [1666851700.451647][18927:18927] CHIP:DMG: }, + [1666851700.451652][18927:18927] CHIP:DMG: + [1666851700.451655][18927:18927] CHIP:DMG: }, + [1666851700.451661][18927:18927] CHIP:DMG: + [1666851700.451665][18927:18927] CHIP:DMG: ], + [1666851700.451671][18927:18927] CHIP:DMG: + [1666851700.451674][18927:18927] CHIP:DMG: SuppressResponse = true, + [1666851700.451677][18927:18927] CHIP:DMG: InteractionModelRevision = 1 + [1666851700.451681][18927:18927] CHIP:DMG: } + + + ./chip-tool flowmeasurement read max-measured-value 1 1 + + Verify MaxMeasured Value response on the TH(all-clusters-minimal-app) Log: + + ReportDataMessage = + [1666851727.140175][18927:18927] CHIP:DMG: { + [1666851727.140178][18927:18927] CHIP:DMG: AttributeReportIBs = + [1666851727.140185][18927:18927] CHIP:DMG: [ + [1666851727.140190][18927:18927] CHIP:DMG: AttributeReportIB = + [1666851727.140197][18927:18927] CHIP:DMG: { + [1666851727.140201][18927:18927] CHIP:DMG: AttributeDataIB = + [1666851727.140206][18927:18927] CHIP:DMG: { + [1666851727.140210][18927:18927] CHIP:DMG: DataVersion = 0xca67ce55, + [1666851727.140214][18927:18927] CHIP:DMG: AttributePathIB = + [1666851727.140220][18927:18927] CHIP:DMG: { + [1666851727.140225][18927:18927] CHIP:DMG: Endpoint = 0x1, + [1666851727.140230][18927:18927] CHIP:DMG: Cluster = 0x404, + [1666851727.140235][18927:18927] CHIP:DMG: Attribute = 0x0000_0002, + [1666851727.140240][18927:18927] CHIP:DMG: } + [1666851727.140247][18927:18927] CHIP:DMG: + [1666851727.140253][18927:18927] CHIP:DMG: Data = 0, + [1666851727.140258][18927:18927] CHIP:DMG: }, + [1666851727.140264][18927:18927] CHIP:DMG: + [1666851727.140267][18927:18927] CHIP:DMG: }, + [1666851727.140275][18927:18927] CHIP:DMG: + [1666851727.140278][18927:18927] CHIP:DMG: ], + [1666851727.140285][18927:18927] CHIP:DMG: + [1666851727.140290][18927:18927] CHIP:DMG: SuppressResponse = true, + [1666851727.140295][18927:18927] CHIP:DMG: InteractionModelRevision = 1 + [1666851727.140298][18927:18927] CHIP:DMG: } + cluster: "LogCommands" + command: "UserPrompt" + PICS: PICS_SKIP_SAMPLE_APP + arguments: + values: + - name: "message" + value: "Enter 'y' after success" + - name: "expectedValue" + value: "y" diff --git a/src/app/tests/suites/certification/Test_TC_I_3_1_Simulated.yaml b/src/app/tests/suites/certification/Test_TC_I_3_1_Simulated.yaml index 2ba70dad95d4be..ba42c2ea920967 100644 --- a/src/app/tests/suites/certification/Test_TC_I_3_1_Simulated.yaml +++ b/src/app/tests/suites/certification/Test_TC_I_3_1_Simulated.yaml @@ -44,3 +44,442 @@ tests: - label: "Read attribute: identifytype" wait: "readAttribute" attribute: "IdentifyType" + + - label: + "Configure TH such that it implements mandatory and none of the + optional attributes of the server-side of the cluster, and that it + also reflects this in global attributes such as FeatureMap and + AttributeList.Commission DUT to TH again" + verification: | + Product maker needs to provide instructions for how to trigger the command on the DUT. For comparison, the DUT behavior for this test step can be simulated using chip-tool (when DUT is a commissioner/Client) + + ./chip-tool identify read feature-map 1 1 + Verify none of the optional feature of the server-side of the cluster is listed on TH(all-clusters-minnimal-app) Log + + [1667198019.683786][11390:11390] CHIP:EM: Handling via exchange: 36421r, Delegate: 0xaaaaad555148 + [1667198019.683892][11390:11390] CHIP:IM: Received Read request + [1667198019.684067][11390:11390] CHIP:DMG: ReadRequestMessage = + [1667198019.684135][11390:11390] CHIP:DMG: { + [1667198019.684186][11390:11390] CHIP:DMG: AttributePathIBs = + [1667198019.684252][11390:11390] CHIP:DMG: [ + [1667198019.684313][11390:11390] CHIP:DMG: AttributePathIB = + [1667198019.684383][11390:11390] CHIP:DMG: { + [1667198019.684453][11390:11390] CHIP:DMG: Endpoint = 0x1, + [1667198019.684537][11390:11390] CHIP:DMG: Cluster = 0x3, + [1667198019.684611][11390:11390] CHIP:DMG: Attribute = 0x0000_FFFC, + [1667198019.684695][11390:11390] CHIP:DMG: } + [1667198019.684767][11390:11390] CHIP:DMG: + [1667198019.684826][11390:11390] CHIP:DMG: ], + [1667198019.684896][11390:11390] CHIP:DMG: + [1667198019.684962][11390:11390] CHIP:DMG: isFabricFiltered = true, + [1667198019.685032][11390:11390] CHIP:DMG: InteractionModelRevision = 1 + [1667198019.685092][11390:11390] CHIP:DMG: }, + [1667198019.685252][11390:11390] CHIP:DMG: IM RH moving to [GeneratingReports] + [1667198019.685482][11390:11390] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 + [1667198019.685556][11390:11390] CHIP:DMG: Cluster 3, Attribute fffc is dirty + [1667198019.685625][11390:11390] CHIP:DMG: Reading attribute: Cluster=0x0000_0003 Endpoint=1 AttributeId=0x0000_FFFC (expanded=0) + [1667198019.685693][11390:11390] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0003 e=1 p=v + [1667198019.685770][11390:11390] CHIP:DMG: AccessControl: allowed + [1667198019.685889][11390:11390] CHIP:DMG: Sending report (payload has 37 bytes)... + [1667198019.686450][11390:11390] CHIP:EM: <<< [E:36421r M:134293096 (Ack:90102725)] (S) Msg TX to 1:000000000001B669 [CA2D] --- Type 0001:05 (IM:ReportData) + [1667198019.686596][11390:11390] CHIP:IN: (S) Sending msg 134293096 on secure session with LSID: 13942 + [1667198019.687274][11390:11390] CHIP:DMG: >> to UDP:[fe80::e65f:1ff:fe0e:be37%wlan0]:34895 | 134293096 | [Interaction Model (1) / Report Data (0x05) / Session = 39691 / Exchange = 36421] + [1667198019.687369][11390:11390] CHIP:DMG: Header Flags = + [1667198019.687425][11390:11390] CHIP:DMG: { + [1667198019.687511][11390:11390] CHIP:DMG: Exchange (0x06) = + [1667198019.687567][11390:11390] CHIP:DMG: { + [1667198019.687627][11390:11390] CHIP:DMG: AckMsg = 90102725 + [1667198019.687685][11390:11390] CHIP:DMG: NeedsAck = true + [1667198019.687738][11390:11390] CHIP:DMG: } + [1667198019.687809][11390:11390] CHIP:DMG: } + [1667198019.687860][11390:11390] CHIP:DMG: + [1667198019.687923][11390:11390] CHIP:DMG: Encrypted Payload (71 bytes) = + [1667198019.687979][11390:11390] CHIP:DMG: { + [1667198019.688033][11390:11390] CHIP:DMG: data = 000b9b00682601088051c3accb764025501e3a98907ee49fde00fb52eb4376fe15e852d2a6496f2f1e303426d75480b16676e4703eef4fa5faeafdd8cbbe06a5b89a6ed3bb5380 + [1667198019.688086][11390:11390] CHIP:DMG: buffer_ptr = 187650200610416 + [1667198019.688139][11390:11390] CHIP:DMG: } + [1667198019.688190][11390:11390] CHIP:DMG: + [1667198019.688266][11390:11390] CHIP:DMG: Decrypted Payload (37 bytes) = + [1667198019.688323][11390:11390] CHIP:DMG: { + [1667198019.688371][11390:11390] CHIP:DMG: data = 1536011535012600810a313837012402012403032504fcff18240200181818290424ff0118 + [1667198019.688426][11390:11390] CHIP:DMG: } + [1667198019.688484][11390:11390] CHIP:DMG: + [1667198019.688635][11390:11390] CHIP:DMG: ReportDataMessage = + [1667198019.688702][11390:11390] CHIP:DMG: { + [1667198019.688756][11390:11390] CHIP:DMG: AttributeReportIBs = + [1667198019.688833][11390:11390] CHIP:DMG: [ + [1667198019.688891][11390:11390] CHIP:DMG: AttributeReportIB = + [1667198019.688971][11390:11390] CHIP:DMG: { + [1667198019.689038][11390:11390] CHIP:DMG: AttributeDataIB = + [1667198019.689104][11390:11390] CHIP:DMG: { + [1667198019.689187][11390:11390] CHIP:DMG: DataVersion = 0x38310a81, + [1667198019.689278][11390:11390] CHIP:DMG: AttributePathIB = + [1667198019.689364][11390:11390] CHIP:DMG: { + [1667198019.689444][11390:11390] CHIP:DMG: Endpoint = 0x1, + [1667198019.689543][11390:11390] CHIP:DMG: Cluster = 0x3, + [1667198019.689645][11390:11390] CHIP:DMG: Attribute = 0x0000_FFFC, + [1667198019.689741][11390:11390] CHIP:DMG: } + [1667198019.689839][11390:11390] CHIP:DMG: + [1667198019.689936][11390:11390] CHIP:DMG: Data = 0, + [1667198019.690003][11390:11390] CHIP:DMG: }, + [1667198019.690087][11390:11390] CHIP:DMG: + [1667198019.690159][11390:11390] CHIP:DMG: }, + + ./chip-tool identify read attribute-list 1 1 + Verify none of the optional attribute of the server-side of the cluster is listed on TH(all-clusters-minnimal-app) Log + + [1667198224.933982][11390:11390] CHIP:EM: Handling via exchange: 27925r, Delegate: 0xaaaaad555148 + [1667198224.934084][11390:11390] CHIP:IM: Received Read request + [1667198224.934251][11390:11390] CHIP:DMG: ReadRequestMessage = + [1667198224.934318][11390:11390] CHIP:DMG: { + [1667198224.934373][11390:11390] CHIP:DMG: AttributePathIBs = + [1667198224.934439][11390:11390] CHIP:DMG: [ + [1667198224.934546][11390:11390] CHIP:DMG: AttributePathIB = + [1667198224.934627][11390:11390] CHIP:DMG: { + [1667198224.934699][11390:11390] CHIP:DMG: Endpoint = 0x1, + [1667198224.934793][11390:11390] CHIP:DMG: Cluster = 0x3, + [1667198224.934877][11390:11390] CHIP:DMG: Attribute = 0x0000_FFFB, + [1667198224.934954][11390:11390] CHIP:DMG: } + [1667198224.935024][11390:11390] CHIP:DMG: + [1667198224.935089][11390:11390] CHIP:DMG: ], + [1667198224.935161][11390:11390] CHIP:DMG: + [1667198224.935221][11390:11390] CHIP:DMG: isFabricFiltered = true, + [1667198224.935286][11390:11390] CHIP:DMG: InteractionModelRevision = 1 + [1667198224.935347][11390:11390] CHIP:DMG: }, + [1667198224.935508][11390:11390] CHIP:DMG: IM RH moving to [GeneratingReports] + [1667198224.935740][11390:11390] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 + [1667198224.935813][11390:11390] CHIP:DMG: Cluster 3, Attribute fffb is dirty + [1667198224.935870][11390:11390] CHIP:DMG: Reading attribute: Cluster=0x0000_0003 Endpoint=1 AttributeId=0x0000_FFFB (expanded=0) + [1667198224.935933][11390:11390] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0003 e=1 p=v + [1667198224.936010][11390:11390] CHIP:DMG: AccessControl: allowed + [1667198224.936182][11390:11390] CHIP:DMG: Sending report (payload has 245 bytes)... + [1667198224.936812][11390:11390] CHIP:EM: <<< [E:27925r M:151663564 (Ack:200483580)] (S) Msg TX to 1:000000000001B669 [CA2D] --- Type 0001:05 (IM:ReportData) + [1667198224.936917][11390:11390] CHIP:IN: (S) Sending msg 151663564 on secure session with LSID: 13943 + [1667198224.937653][11390:11390] CHIP:DMG: >> to UDP:[fe80::e65f:1ff:fe0e:be37%eth0]:59621 | 151663564 | [Interaction Model (1) / Report Data (0x05) / Session = 56997 / Exchange = 27925] + [1667198224.937751][11390:11390] CHIP:DMG: Header Flags = + [1667198224.937807][11390:11390] CHIP:DMG: { + [1667198224.937893][11390:11390] CHIP:DMG: Exchange (0x06) = + [1667198224.937950][11390:11390] CHIP:DMG: { + [1667198224.938010][11390:11390] CHIP:DMG: AckMsg = 200483580 + [1667198224.938065][11390:11390] CHIP:DMG: NeedsAck = true + [1667198224.938118][11390:11390] CHIP:DMG: } + [1667198224.938190][11390:11390] CHIP:DMG: } + [1667198224.938245][11390:11390] CHIP:DMG: + [1667198224.938314][11390:11390] CHIP:DMG: Encrypted Payload (279 bytes) = + [1667198224.938371][11390:11390] CHIP:DMG: { + [1667198224.938426][11390:11390] CHIP:DMG: data = 00a5de00cc330a0959e5cf9c38a602566830c8a854f61a764c38778932202dbd2459c7421e99d13982ea64c4e9bb13abe2b6498a67680727ab75ab029010bfd8fe9c1d4d4eac5573df7aca513dbb5727f27e9be48c11180cc3fb57985e446e60fca1454f3438ae974d7674570e60b9a7dbcd99d49a18ae607bbf2ee937d164399a5c1104322d44e8e48adf1fe35fee2a415705c74244709303c1373991d1f116ce5b3d7c9e0c03770c460fa43681d72ae6460cf825f333984a4d749f723e0c962ce57c2ad29c4abfa75c2fa89c59c8ef37843738fbb8dd7eab026ed10e790cc57558baa64c36994e7d06d27e6a43d324923dcb03f95e2f2e35a81a49cbef0afd9c3cc14ff156c3c6c0bea876ad4f3b3dad37d591f25cf0 + [1667198224.938547][11390:11390] CHIP:DMG: buffer_ptr = 187650200610672 + [1667198224.938609][11390:11390] CHIP:DMG: } + [1667198224.938661][11390:11390] CHIP:DMG: + [1667198224.938740][11390:11390] CHIP:DMG: Decrypted Payload (245 bytes) = + [1667198224.938794][11390:11390] CHIP:DMG: { + [1667198224.938848][11390:11390] CHIP:DMG: data = 1536011535012600810a313837012402012403032504fbff1836021818181535012600810a313837012402012403032504fbff34051824020018181535012600810a313837012402012403032504fbff34051824020118181535012600810a313837012402012403032504fbff3405182502f8ff18181535012600810a313837012402012403032504fbff3405182502f9ff18181535012600810a313837012402012403032504fbff3405182502fbff18181535012600810a313837012402012403032504fbff3405182502fcff18181535012600810a313837012402012403032504fbff3405182502fdff181818290424ff0118 + [1667198224.938912][11390:11390] CHIP:DMG: } + [1667198224.938963][11390:11390] CHIP:DMG: + [1667198224.939380][11390:11390] CHIP:DMG: ReportDataMessage = + [1667198224.939446][11390:11390] CHIP:DMG: { + [1667198224.939500][11390:11390] CHIP:DMG: AttributeReportIBs = + [1667198224.939585][11390:11390] CHIP:DMG: [ + [1667198224.939647][11390:11390] CHIP:DMG: AttributeReportIB = + [1667198224.939745][11390:11390] CHIP:DMG: { + [1667198224.939817][11390:11390] CHIP:DMG: AttributeDataIB = + [1667198224.939897][11390:11390] CHIP:DMG: { + [1667198224.939988][11390:11390] CHIP:DMG: DataVersion = 0x38310a81, + [1667198224.940059][11390:11390] CHIP:DMG: AttributePathIB = + [1667198224.940154][11390:11390] CHIP:DMG: { + [1667198224.940250][11390:11390] CHIP:DMG: Endpoint = 0x1, + [1667198224.940327][11390:11390] CHIP:DMG: Cluster = 0x3, + [1667198224.940426][11390:11390] CHIP:DMG: Attribute = 0x0000_FFFB, + [1667198224.940521][11390:11390] CHIP:DMG: } + [1667198224.940603][11390:11390] CHIP:DMG: + [1667198224.940686][11390:11390] CHIP:DMG: Data = [ + [1667198224.940779][11390:11390] CHIP:DMG: + [1667198224.940855][11390:11390] CHIP:DMG: ], + [1667198224.940943][11390:11390] CHIP:DMG: }, + [1667198224.941038][11390:11390] CHIP:DMG: + [1667198224.941108][11390:11390] CHIP:DMG: }, + [1667198224.941204][11390:11390] CHIP:DMG: + [1667198224.941273][11390:11390] CHIP:DMG: AttributeReportIB = + [1667198224.941353][11390:11390] CHIP:DMG: { + [1667198224.941425][11390:11390] CHIP:DMG: AttributeDataIB = + [1667198224.941493][11390:11390] CHIP:DMG: { + [1667198224.941583][11390:11390] CHIP:DMG: DataVersion = 0x38310a81, + [1667198224.941672][11390:11390] CHIP:DMG: AttributePathIB = + [1667198224.941764][11390:11390] CHIP:DMG: { + [1667198224.941858][11390:11390] CHIP:DMG: Endpoint = 0x1, + [1667198224.941954][11390:11390] CHIP:DMG: Cluster = 0x3, + [1667198224.942032][11390:11390] CHIP:DMG: Attribute = 0x0000_FFFB, + [1667198224.942118][11390:11390] CHIP:DMG: ListIndex = Null, + [1667198224.942212][11390:11390] CHIP:DMG: } + [1667198224.942310][11390:11390] CHIP:DMG: + [1667198224.942408][11390:11390] CHIP:DMG: Data = 0, + [1667198224.942519][11390:11390] CHIP:DMG: }, + [1667198224.942595][11390:11390] CHIP:DMG: + [1667198224.942658][11390:11390] CHIP:DMG: }, + [1667198224.942746][11390:11390] CHIP:DMG: + [1667198224.942808][11390:11390] CHIP:DMG: AttributeReportIB = + [1667198224.942895][11390:11390] CHIP:DMG: { + [1667198224.942957][11390:11390] CHIP:DMG: AttributeDataIB = + [1667198224.943034][11390:11390] CHIP:DMG: { + [1667198224.943125][11390:11390] CHIP:DMG: DataVersion = 0x38310a81, + [1667198224.943215][11390:11390] CHIP:DMG: AttributePathIB = + [1667198224.943306][11390:11390] CHIP:DMG: { + [1667198224.943382][11390:11390] CHIP:DMG: Endpoint = 0x1, + [1667198224.943478][11390:11390] CHIP:DMG: Cluster = 0x3, + [1667198224.943580][11390:11390] CHIP:DMG: Attribute = 0x0000_FFFB, + [1667198224.943675][11390:11390] CHIP:DMG: ListIndex = Null, + [1667198224.943756][11390:11390] CHIP:DMG: } + [1667198224.943838][11390:11390] CHIP:DMG: + [1667198224.943919][11390:11390] CHIP:DMG: Data = 1, + [1667198224.944009][11390:11390] CHIP:DMG: }, + [1667198224.944089][11390:11390] CHIP:DMG: + [1667198224.944159][11390:11390] CHIP:DMG: }, + [1667198224.944248][11390:11390] CHIP:DMG: + [1667198224.944303][11390:11390] CHIP:DMG: AttributeReportIB = + [1667198224.944382][11390:11390] CHIP:DMG: { + [1667198224.944447][11390:11390] CHIP:DMG: AttributeDataIB = + [1667198224.944525][11390:11390] CHIP:DMG: { + [1667198224.944616][11390:11390] CHIP:DMG: DataVersion = 0x38310a81, + [1667198224.944706][11390:11390] CHIP:DMG: AttributePathIB = + [1667198224.944776][11390:11390] CHIP:DMG: { + [1667198224.944868][11390:11390] CHIP:DMG: Endpoint = 0x1, + [1667198224.944968][11390:11390] CHIP:DMG: Cluster = 0x3, + [1667198224.945068][11390:11390] CHIP:DMG: Attribute = 0x0000_FFFB, + [1667198224.945165][11390:11390] CHIP:DMG: ListIndex = Null, + [1667198224.945247][11390:11390] CHIP:DMG: } + [1667198224.945328][11390:11390] CHIP:DMG: + [1667198224.945414][11390:11390] CHIP:DMG: Data = 65528, + [1667198224.945501][11390:11390] CHIP:DMG: }, + [1667198224.945586][11390:11390] CHIP:DMG: + [1667198224.945644][11390:11390] CHIP:DMG: }, + [1667198224.945732][11390:11390] CHIP:DMG: + [1667198224.945794][11390:11390] CHIP:DMG: AttributeReportIB = + [1667198224.945875][11390:11390] CHIP:DMG: { + [1667198224.945940][11390:11390] CHIP:DMG: AttributeDataIB = + [1667198224.946011][11390:11390] CHIP:DMG: { + [1667198224.946091][11390:11390] CHIP:DMG: DataVersion = 0x38310a81, + [1667198224.946183][11390:11390] CHIP:DMG: AttributePathIB = + [1667198224.946266][11390:11390] CHIP:DMG: { + [1667198224.946360][11390:11390] CHIP:DMG: Endpoint = 0x1, + [1667198224.946580][11390:11390] CHIP:DMG: Cluster = 0x3, + [1667198224.946689][11390:11390] CHIP:DMG: Attribute = 0x0000_FFFB, + [1667198224.946777][11390:11390] CHIP:DMG: ListIndex = Null, + [1667198224.946856][11390:11390] CHIP:DMG: } + [1667198224.946940][11390:11390] CHIP:DMG: + [1667198224.947019][11390:11390] CHIP:DMG: Data = 65529, + [1667198224.947091][11390:11390] CHIP:DMG: }, + [1667198224.947172][11390:11390] CHIP:DMG: + [1667198224.947233][11390:11390] CHIP:DMG: }, + [1667198224.947324][11390:11390] CHIP:DMG: + [1667198224.947386][11390:11390] CHIP:DMG: AttributeReportIB = + [1667198224.947467][11390:11390] CHIP:DMG: { + [1667198224.947534][11390:11390] CHIP:DMG: AttributeDataIB = + [1667198224.947606][11390:11390] CHIP:DMG: { + [1667198224.947680][11390:11390] CHIP:DMG: DataVersion = 0x38310a81, + [1667198224.947752][11390:11390] CHIP:DMG: AttributePathIB = + [1667198224.947828][11390:11390] CHIP:DMG: { + [1667198224.947902][11390:11390] CHIP:DMG: Endpoint = 0x1, + [1667198224.947987][11390:11390] CHIP:DMG: Cluster = 0x3, + [1667198224.948073][11390:11390] CHIP:DMG: Attribute = 0x0000_FFFB, + [1667198224.948153][11390:11390] CHIP:DMG: ListIndex = Null, + [1667198224.948233][11390:11390] CHIP:DMG: } + [1667198224.948317][11390:11390] CHIP:DMG: + [1667198224.948399][11390:11390] CHIP:DMG: Data = 65531, + [1667198224.948473][11390:11390] CHIP:DMG: }, + [1667198224.948549][11390:11390] CHIP:DMG: + [1667198224.948614][11390:11390] CHIP:DMG: }, + [1667198224.948699][11390:11390] CHIP:DMG: + [1667198224.948760][11390:11390] CHIP:DMG: AttributeReportIB = + [1667198224.948841][11390:11390] CHIP:DMG: { + [1667198224.948902][11390:11390] CHIP:DMG: AttributeDataIB = + [1667198224.948973][11390:11390] CHIP:DMG: { + [1667198224.949042][11390:11390] CHIP:DMG: DataVersion = 0x38310a81, + [1667198224.949118][11390:11390] CHIP:DMG: AttributePathIB = + [1667198224.949196][11390:11390] CHIP:DMG: { + [1667198224.949274][11390:11390] CHIP:DMG: Endpoint = 0x1, + [1667198224.949359][11390:11390] CHIP:DMG: Cluster = 0x3, + [1667198224.949444][11390:11390] CHIP:DMG: Attribute = 0x0000_FFFB, + [1667198224.949526][11390:11390] CHIP:DMG: ListIndex = Null, + [1667198224.949606][11390:11390] CHIP:DMG: } + [1667198224.949685][11390:11390] CHIP:DMG: + [1667198224.949765][11390:11390] CHIP:DMG: Data = 65532, + [1667198224.949841][11390:11390] CHIP:DMG: }, + [1667198224.949915][11390:11390] CHIP:DMG: + [1667198224.949981][11390:11390] CHIP:DMG: }, + [1667198224.950072][11390:11390] CHIP:DMG: + [1667198224.950133][11390:11390] CHIP:DMG: AttributeReportIB = + [1667198224.950214][11390:11390] CHIP:DMG: { + [1667198224.950274][11390:11390] CHIP:DMG: AttributeDataIB = + [1667198224.950346][11390:11390] CHIP:DMG: { + [1667198224.950420][11390:11390] CHIP:DMG: DataVersion = 0x38310a81, + [1667198224.950536][11390:11390] CHIP:DMG: AttributePathIB = + [1667198224.950625][11390:11390] CHIP:DMG: { + [1667198224.950715][11390:11390] CHIP:DMG: Endpoint = 0x1, + [1667198224.950805][11390:11390] CHIP:DMG: Cluster = 0x3, + [1667198224.950890][11390:11390] CHIP:DMG: Attribute = 0x0000_FFFB, + [1667198224.950978][11390:11390] CHIP:DMG: ListIndex = Null, + [1667198224.951062][11390:11390] CHIP:DMG: } + [1667198224.951145][11390:11390] CHIP:DMG: + [1667198224.951231][11390:11390] CHIP:DMG: Data = 65533, + [1667198224.951310][11390:11390] CHIP:DMG: }, + [1667198224.951385][11390:11390] CHIP:DMG: + [1667198224.951455][11390:11390] CHIP:DMG: }, + [1667198224.951534][11390:11390] CHIP:DMG: + + + ./chip-tool identify read identify-time 1 1 + Verify DUT receives identify-time attribute response on theTH(all-clusters-minimal-app) + + [1667198339.074575][11390:11390] CHIP:EM: Handling via exchange: 6451r, Delegate: 0xaaaaad555148 + [1667198339.074679][11390:11390] CHIP:IM: Received Read request + [1667198339.074858][11390:11390] CHIP:DMG: ReadRequestMessage = + [1667198339.074925][11390:11390] CHIP:DMG: { + [1667198339.074984][11390:11390] CHIP:DMG: AttributePathIBs = + [1667198339.075050][11390:11390] CHIP:DMG: [ + [1667198339.075110][11390:11390] CHIP:DMG: AttributePathIB = + [1667198339.075186][11390:11390] CHIP:DMG: { + [1667198339.075265][11390:11390] CHIP:DMG: Endpoint = 0x1, + [1667198339.075356][11390:11390] CHIP:DMG: Cluster = 0x3, + [1667198339.075447][11390:11390] CHIP:DMG: Attribute = 0x0000_0000, + [1667198339.075531][11390:11390] CHIP:DMG: } + [1667198339.075604][11390:11390] CHIP:DMG: + [1667198339.075671][11390:11390] CHIP:DMG: ], + [1667198339.075742][11390:11390] CHIP:DMG: + [1667198339.075809][11390:11390] CHIP:DMG: isFabricFiltered = true, + [1667198339.075875][11390:11390] CHIP:DMG: InteractionModelRevision = 1 + [1667198339.075934][11390:11390] CHIP:DMG: }, + [1667198339.076096][11390:11390] CHIP:DMG: IM RH moving to [GeneratingReports] + [1667198339.076326][11390:11390] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 + [1667198339.076400][11390:11390] CHIP:DMG: Cluster 3, Attribute 0 is dirty + [1667198339.076456][11390:11390] CHIP:DMG: Reading attribute: Cluster=0x0000_0003 Endpoint=1 AttributeId=0x0000_0000 (expanded=0) + [1667198339.076522][11390:11390] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0003 e=1 p=v + [1667198339.076600][11390:11390] CHIP:DMG: AccessControl: allowed + [1667198339.076716][11390:11390] CHIP:DMG: Sending report (payload has 36 bytes)... + [1667198339.077270][11390:11390] CHIP:EM: <<< [E:6451r M:222156074 (Ack:7059472)] (S) Msg TX to 1:000000000001B669 [CA2D] --- Type 0001:05 (IM:ReportData) + [1667198339.077372][11390:11390] CHIP:IN: (S) Sending msg 222156074 on secure session with LSID: 13945 + [1667198339.078057][11390:11390] CHIP:DMG: >> to UDP:[fe80::e65f:1ff:fe0e:be37%eth0]:46790 | 222156074 | [Interaction Model (1) / Report Data (0x05) / Session = 2802 / Exchange = 6451] + [1667198339.078153][11390:11390] CHIP:DMG: Header Flags = + [1667198339.078211][11390:11390] CHIP:DMG: { + [1667198339.078298][11390:11390] CHIP:DMG: Exchange (0x06) = + [1667198339.078355][11390:11390] CHIP:DMG: { + [1667198339.078414][11390:11390] CHIP:DMG: AckMsg = 7059472 + [1667198339.078523][11390:11390] CHIP:DMG: NeedsAck = true + [1667198339.078581][11390:11390] CHIP:DMG: } + [1667198339.078654][11390:11390] CHIP:DMG: } + [1667198339.078703][11390:11390] CHIP:DMG: + [1667198339.078772][11390:11390] CHIP:DMG: Encrypted Payload (70 bytes) = + [1667198339.078828][11390:11390] CHIP:DMG: { + [1667198339.078882][11390:11390] CHIP:DMG: data = 00f20a002ad53d0dbfe9edb13d868a05c798791f5f8fdd9da1275c3e8b4a0e90d79afa29de34e027d2151f9b8eddefe41084248d0eb87df77fff3e74845f815637f1d35bdbf5 + [1667198339.078940][11390:11390] CHIP:DMG: buffer_ptr = 187650200611616 + [1667198339.078993][11390:11390] CHIP:DMG: } + [1667198339.079044][11390:11390] CHIP:DMG: + [1667198339.079118][11390:11390] CHIP:DMG: Decrypted Payload (36 bytes) = + [1667198339.079177][11390:11390] CHIP:DMG: { + [1667198339.079230][11390:11390] CHIP:DMG: data = 1536011535012600810a3138370124020124030324040018240200181818290424ff0118 + [1667198339.079286][11390:11390] CHIP:DMG: } + [1667198339.079337][11390:11390] CHIP:DMG: + [1667198339.079498][11390:11390] CHIP:DMG: ReportDataMessage = + [1667198339.079557][11390:11390] CHIP:DMG: { + [1667198339.079613][11390:11390] CHIP:DMG: AttributeReportIBs = + [1667198339.079699][11390:11390] CHIP:DMG: [ + [1667198339.079762][11390:11390] CHIP:DMG: AttributeReportIB = + [1667198339.079843][11390:11390] CHIP:DMG: { + [1667198339.079916][11390:11390] CHIP:DMG: AttributeDataIB = + [1667198339.080009][11390:11390] CHIP:DMG: { + [1667198339.080102][11390:11390] CHIP:DMG: DataVersion = 0x38310a81, + [1667198339.080193][11390:11390] CHIP:DMG: AttributePathIB = + [1667198339.080287][11390:11390] CHIP:DMG: { + [1667198339.080384][11390:11390] CHIP:DMG: Endpoint = 0x1, + [1667198339.080467][11390:11390] CHIP:DMG: Cluster = 0x3, + [1667198339.080567][11390:11390] CHIP:DMG: Attribute = 0x0000_0000, + [1667198339.080648][11390:11390] CHIP:DMG: } + [1667198339.080752][11390:11390] CHIP:DMG: + [1667198339.080853][11390:11390] CHIP:DMG: Data = 0, + [1667198339.080927][11390:11390] CHIP:DMG: }, + [1667198339.081022][11390:11390] CHIP:DMG: + [1667198339.081103][11390:11390] CHIP:DMG: }, + + + + ./chip-tool identify read identify-type 1 1 + Verify DUT receives identify-type attribute response on theTH(all-clusters-minimal-app) + + [1667198289.735862][11390:11390] CHIP:EM: Handling via exchange: 64741r, Delegate: 0xaaaaad555148 + [1667198289.735963][11390:11390] CHIP:IM: Received Read request + [1667198289.736138][11390:11390] CHIP:DMG: ReadRequestMessage = + [1667198289.736198][11390:11390] CHIP:DMG: { + [1667198289.736254][11390:11390] CHIP:DMG: AttributePathIBs = + [1667198289.736320][11390:11390] CHIP:DMG: [ + [1667198289.736375][11390:11390] CHIP:DMG: AttributePathIB = + [1667198289.736452][11390:11390] CHIP:DMG: { + [1667198289.736528][11390:11390] CHIP:DMG: Endpoint = 0x1, + [1667198289.736602][11390:11390] CHIP:DMG: Cluster = 0x3, + [1667198289.736682][11390:11390] CHIP:DMG: Attribute = 0x0000_0001, + [1667198289.736754][11390:11390] CHIP:DMG: } + [1667198289.736827][11390:11390] CHIP:DMG: + [1667198289.736899][11390:11390] CHIP:DMG: ], + [1667198289.736964][11390:11390] CHIP:DMG: + [1667198289.737029][11390:11390] CHIP:DMG: isFabricFiltered = true, + [1667198289.737095][11390:11390] CHIP:DMG: InteractionModelRevision = 1 + [1667198289.737155][11390:11390] CHIP:DMG: }, + [1667198289.737319][11390:11390] CHIP:DMG: IM RH moving to [GeneratingReports] + [1667198289.737548][11390:11390] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 + [1667198289.737622][11390:11390] CHIP:DMG: Cluster 3, Attribute 1 is dirty + [1667198289.737678][11390:11390] CHIP:DMG: Reading attribute: Cluster=0x0000_0003 Endpoint=1 AttributeId=0x0000_0001 (expanded=0) + [1667198289.737744][11390:11390] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0003 e=1 p=v + [1667198289.737815][11390:11390] CHIP:DMG: AccessControl: allowed + [1667198289.737932][11390:11390] CHIP:DMG: Sending report (payload has 36 bytes)... + [1667198289.738541][11390:11390] CHIP:EM: <<< [E:64741r M:69392004 (Ack:178331771)] (S) Msg TX to 1:000000000001B669 [CA2D] --- Type 0001:05 (IM:ReportData) + [1667198289.738642][11390:11390] CHIP:IN: (S) Sending msg 69392004 on secure session with LSID: 13944 + [1667198289.739330][11390:11390] CHIP:DMG: >> to UDP:[fe80::e65f:1ff:fe0e:be37%eth0]:42392 | 69392004 | [Interaction Model (1) / Report Data (0x05) / Session = 32014 / Exchange = 64741] + [1667198289.739426][11390:11390] CHIP:DMG: Header Flags = + [1667198289.739484][11390:11390] CHIP:DMG: { + [1667198289.739569][11390:11390] CHIP:DMG: Exchange (0x06) = + [1667198289.739626][11390:11390] CHIP:DMG: { + [1667198289.739683][11390:11390] CHIP:DMG: AckMsg = 178331771 + [1667198289.739739][11390:11390] CHIP:DMG: NeedsAck = true + [1667198289.739793][11390:11390] CHIP:DMG: } + [1667198289.739864][11390:11390] CHIP:DMG: } + [1667198289.739913][11390:11390] CHIP:DMG: + [1667198289.739975][11390:11390] CHIP:DMG: Encrypted Payload (70 bytes) = + [1667198289.740036][11390:11390] CHIP:DMG: { + [1667198289.740090][11390:11390] CHIP:DMG: data = 000e7d0084d62204cbd01ef8fb96fef21446fb254f4ff23fac8a52c2dd91613eab078272abd47216595fafa1d635d39acb95eb86803156e59f4b8355e1b58b60cee20904a1f2 + [1667198289.740142][11390:11390] CHIP:DMG: buffer_ptr = 187650200612528 + [1667198289.740194][11390:11390] CHIP:DMG: } + [1667198289.740245][11390:11390] CHIP:DMG: + [1667198289.740321][11390:11390] CHIP:DMG: Decrypted Payload (36 bytes) = + [1667198289.740379][11390:11390] CHIP:DMG: { + [1667198289.740431][11390:11390] CHIP:DMG: data = 1536011535012600810a3138370124020124030324040118240202181818290424ff0118 + [1667198289.740486][11390:11390] CHIP:DMG: } + [1667198289.740532][11390:11390] CHIP:DMG: + [1667198289.740692][11390:11390] CHIP:DMG: ReportDataMessage = + [1667198289.740749][11390:11390] CHIP:DMG: { + [1667198289.740794][11390:11390] CHIP:DMG: AttributeReportIBs = + [1667198289.740861][11390:11390] CHIP:DMG: [ + [1667198289.740913][11390:11390] CHIP:DMG: AttributeReportIB = + [1667198289.740984][11390:11390] CHIP:DMG: { + [1667198289.741055][11390:11390] CHIP:DMG: AttributeDataIB = + [1667198289.741135][11390:11390] CHIP:DMG: { + [1667198289.741217][11390:11390] CHIP:DMG: DataVersion = 0x38310a81, + [1667198289.741305][11390:11390] CHIP:DMG: AttributePathIB = + [1667198289.741389][11390:11390] CHIP:DMG: { + [1667198289.741484][11390:11390] CHIP:DMG: Endpoint = 0x1, + [1667198289.741588][11390:11390] CHIP:DMG: Cluster = 0x3, + [1667198289.741688][11390:11390] CHIP:DMG: Attribute = 0x0000_0001, + [1667198289.741782][11390:11390] CHIP:DMG: } + [1667198289.741858][11390:11390] CHIP:DMG: + [1667198289.741946][11390:11390] CHIP:DMG: Data = 2, + [1667198289.742034][11390:11390] CHIP:DMG: }, + [1667198289.742120][11390:11390] CHIP:DMG: + [1667198289.742180][11390:11390] CHIP:DMG: }, + [1667198289.742256][11390:11390] CHIP:DMG: + [1667198289.742317][11390:11390] CHIP:DMG: ], + cluster: "LogCommands" + command: "UserPrompt" + PICS: PICS_SKIP_SAMPLE_APP + arguments: + values: + - name: "message" + value: "Enter 'y' after success" + - name: "expectedValue" + value: "y" diff --git a/src/app/tests/suites/certification/Test_TC_LUNIT_2_1_Simulated.yaml b/src/app/tests/suites/certification/Test_TC_LUNIT_2_1_Simulated.yaml index 153fddbf017eaf..cbe78ea0ed8321 100644 --- a/src/app/tests/suites/certification/Test_TC_LUNIT_2_1_Simulated.yaml +++ b/src/app/tests/suites/certification/Test_TC_LUNIT_2_1_Simulated.yaml @@ -35,7 +35,7 @@ tests: wait: "readAttribute" attribute: "TemperatureUnit" - - label: "DUT writes 3 to TemperatureUnit attribute on TH" + - label: "DUT writes 2 to TemperatureUnit attribute on TH" PICS: LUNIT.C.A0000 wait: "writeAttribute" attribute: "TemperatureUnit" diff --git a/src/app/tests/suites/certification/Test_TC_OCC_2_2_Simulated.yaml b/src/app/tests/suites/certification/Test_TC_OCC_2_2_Simulated.yaml index 3d73df916ab46e..5de3cedb1e768f 100644 --- a/src/app/tests/suites/certification/Test_TC_OCC_2_2_Simulated.yaml +++ b/src/app/tests/suites/certification/Test_TC_OCC_2_2_Simulated.yaml @@ -37,7 +37,9 @@ tests: wait: "readAttribute" attribute: "OccupancySensorType" - - label: "DUT reads from the TH the (0x0002) OccupancySensorType attribute" + - label: + "DUT reads from the TH the (0x0002) OccupancySensorTypeBitmap + attribute" PICS: OCC.C.A0002 wait: "readAttribute" attribute: "OccupancySensorTypeBitmap" diff --git a/src/app/tests/suites/certification/Test_TC_OO_2_4.yaml b/src/app/tests/suites/certification/Test_TC_OO_2_4.yaml index 5a79c5f526f4bc..22538ffbf08565 100644 --- a/src/app/tests/suites/certification/Test_TC_OO_2_4.yaml +++ b/src/app/tests/suites/certification/Test_TC_OO_2_4.yaml @@ -51,7 +51,7 @@ tests: - label: "Reboot target device(DUT)" verification: | - Not implemented in chip-tool + Did the DUT successfully reboot? cluster: "LogCommands" command: "UserPrompt" PICS: PICS_SKIP_SAMPLE_APP @@ -92,7 +92,7 @@ tests: - label: "Reboot target device(DUT)" verification: | - Not implemented in chip-tool + Did the DUT successfully reboot? cluster: "LogCommands" command: "UserPrompt" PICS: PICS_SKIP_SAMPLE_APP @@ -133,7 +133,7 @@ tests: - label: "Reboot target device(DUT)" verification: | - Not implemented in chip-tool + Did the DUT successfully reboot? cluster: "LogCommands" command: "UserPrompt" PICS: PICS_SKIP_SAMPLE_APP @@ -167,7 +167,7 @@ tests: - label: "Reboot target device(DUT)" verification: | - Not implemented in chip-tool + Did the DUT successfully reboot? cluster: "LogCommands" command: "UserPrompt" PICS: PICS_SKIP_SAMPLE_APP @@ -208,7 +208,7 @@ tests: - label: "Reboot target device(DUT)" verification: | - Not implemented in chip-tool + Did the DUT successfully reboot? cluster: "LogCommands" command: "UserPrompt" PICS: PICS_SKIP_SAMPLE_APP @@ -246,7 +246,7 @@ tests: - label: "Reboot target device(DUT)" verification: | - Not implemented in YAML + Did the DUT successfully reboot? cluster: "LogCommands" command: "UserPrompt" PICS: PICS_SKIP_SAMPLE_APP diff --git a/src/app/tests/suites/certification/Test_TC_PCC_2_3.yaml b/src/app/tests/suites/certification/Test_TC_PCC_2_3.yaml index 75f7789392027d..1e90d6ce70a037 100644 --- a/src/app/tests/suites/certification/Test_TC_PCC_2_3.yaml +++ b/src/app/tests/suites/certification/Test_TC_PCC_2_3.yaml @@ -125,6 +125,6 @@ tests: - label: "Reads the attribute: EffectiveControlMode" command: "readAttribute" attribute: "EffectiveControlMode" - PICS: PCC.S.F02 && PCC.S.A0012 + PICS: PCC.S.F05 && PCC.S.A0012 response: value: 7 diff --git a/src/app/tests/suites/certification/Test_TC_PRS_3_1_Simulated.yaml b/src/app/tests/suites/certification/Test_TC_PRS_3_1_Simulated.yaml index a5e6f833da62c4..b60ecfcb0e91d0 100644 --- a/src/app/tests/suites/certification/Test_TC_PRS_3_1_Simulated.yaml +++ b/src/app/tests/suites/certification/Test_TC_PRS_3_1_Simulated.yaml @@ -59,3 +59,121 @@ tests: - label: "Read attribute: Scale" wait: "readAttribute" attribute: "Scale" + + - label: + "Configure TH such that it implements mandatory and none of the + optional attributes of the server-side of the cluster, and that it + also reflects this in global attributes such as FeatureMap and + AttributeList.Commission DUT to TH again." + verification: | + Product maker needs to provide instructions for how to trigger the command on the DUT. For comparison, the DUT behavior for this test step can be simulated using chip-tool (when DUT is a commissioner/Client) + + + TH receives the read command and knows this attribute for this cluster and provides a plausable value, DUT processes the values and operates normally + + ./chip-tool pressuremeasurement read attribute-list 1 1 + + verify the " attribute-list response" on the TH (all-cluster-minimal-app) log: + + [1659606175.282588][7312:7312] CHIP:EM: Handling via exchange: 12368r, Delegate: 0xaaaaad2c4f68 + [1659606175.282635][7312:7312] CHIP:IM: Received Read request + [1659606175.282718][7312:7312] CHIP:DMG: ReadRequestMessage = + [1659606175.282746][7312:7312] CHIP:DMG: { + [1659606175.282768][7312:7312] CHIP:DMG: AttributePathIBs = + [1659606175.282794][7312:7312] CHIP:DMG: [ + [1659606175.282818][7312:7312] CHIP:DMG: AttributePathIB = + [1659606175.282846][7312:7312] CHIP:DMG: { + [1659606175.282874][7312:7312] CHIP:DMG: Endpoint = 0x1, + [1659606175.282910][7312:7312] CHIP:DMG: Cluster = 0x403, + [1659606175.282946][7312:7312] CHIP:DMG: Attribute = 0x0000_FFFB, + [1659606175.282975][7312:7312] CHIP:DMG: } + [1659606175.283004][7312:7312] CHIP:DMG: + [1659606175.283029][7312:7312] CHIP:DMG: ], + [1659606175.283056][7312:7312] CHIP:DMG: + [1659606175.283083][7312:7312] CHIP:DMG: isFabricFiltered = true, + [1659606175.283108][7312:7312] CHIP:DMG: InteractionModelRevision = 1 + [1659606175.283132][7312:7312] CHIP:DMG: }, + [1659606175.283211][7312:7312] CHIP:DMG: IM RH moving to [GeneratingReports] + [1659606175.283312][7312:7312] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 + [1659606175.283343][7312:7312] CHIP:DMG: Cluster 403, Attribute fffb is dirty + [1659606175.283364][7312:7312] CHIP:DMG: Reading attribute: Cluster=0x0000_0403 Endpoint=1 AttributeId=0x0000_FFFB (expanded=0) + + + + + ./chip-tool pressuremeasurement read measured-value 1 1 + + verify the " measured-value response" on the TH (all-cluster-minimal-app) log: + + [1653992317.047323][2347:2347] CHIP:IM: Received Read request + [1653992317.047382][2347:2347] CHIP:DMG: ReadRequestMessage = + [1653992317.047457][2347:2347] CHIP:DMG: { + [1653992317.047480][2347:2347] CHIP:DMG: AttributePathIBs = + [1653992317.047507][2347:2347] CHIP:DMG: [ + [1653992317.047531][2347:2347] CHIP:DMG: AttributePathIB = + [1653992317.047563][2347:2347] CHIP:DMG: { + [1653992317.047592][2347:2347] CHIP:DMG: Endpoint = 0x1, + [1653992317.047657][2347:2347] CHIP:DMG: Cluster = 0x403, + [1653992317.047695][2347:2347] CHIP:DMG: Attribute = 0x0000_0000, + [1653992317.047725][2347:2347] CHIP:DMG: } + [1653992317.047774][2347:2347] CHIP:DMG: + [1653992317.047803][2347:2347] CHIP:DMG: ], + [1653992317.047831][2347:2347] CHIP:DMG: + [1653992317.047859][2347:2347] CHIP:DMG: isFabricFiltered = true, + [1653992317.047884][2347:2347] CHIP:DMG: InteractionModelRevision = 1 + [1653992317.047908][2347:2347] CHIP:DMG: }, + [1653992317.047995][2347:2347] CHIP:DMG: IM RH moving to [GeneratingReports] + + ./chip-tool pressuremeasurement read min-measured-value 1 1 + + verify the " min-measured-value response" on the TH (all-cluster-minimal-app) log: + + [1653992385.759474][2347:2347] CHIP:IM: Received Read request + [1653992385.759533][2347:2347] CHIP:DMG: ReadRequestMessage = + [1653992385.759561][2347:2347] CHIP:DMG: { + [1653992385.759584][2347:2347] CHIP:DMG: AttributePathIBs = + [1653992385.759618][2347:2347] CHIP:DMG: [ + [1653992385.759647][2347:2347] CHIP:DMG: AttributePathIB = + [1653992385.759678][2347:2347] CHIP:DMG: { + [1653992385.759745][2347:2347] CHIP:DMG: Endpoint = 0x1, + [1653992385.759781][2347:2347] CHIP:DMG: Cluster = 0x403, + [1653992385.759859][2347:2347] CHIP:DMG: Attribute = 0x0000_0001, + [1653992385.759918][2347:2347] CHIP:DMG: } + [1653992385.759971][2347:2347] CHIP:DMG: + [1653992385.760000][2347:2347] CHIP:DMG: ], + [1653992385.760049][2347:2347] CHIP:DMG: + [1653992385.760100][2347:2347] CHIP:DMG: isFabricFiltered = true, + [1653992385.760125][2347:2347] CHIP:DMG: InteractionModelRevision = 1 + [1653992385.760168][2347:2347] CHIP:DMG: }, + + + ./chip-tool pressuremeasurement read max-measured-value 1 1 + + verify the " max-measured-value response" on the TH (all-cluster-minimal-app) log: + + [1653992415.580348][2347:2347] CHIP:IM: Received Read request + [1653992415.580414][2347:2347] CHIP:DMG: ReadRequestMessage = + [1653992415.580442][2347:2347] CHIP:DMG: { + [1653992415.580473][2347:2347] CHIP:DMG: AttributePathIBs = + [1653992415.580501][2347:2347] CHIP:DMG: [ + [1653992415.580534][2347:2347] CHIP:DMG: AttributePathIB = + [1653992415.580563][2347:2347] CHIP:DMG: { + [1653992415.580602][2347:2347] CHIP:DMG: Endpoint = 0x1, + [1653992415.580674][2347:2347] CHIP:DMG: Cluster = 0x403, + [1653992415.580713][2347:2347] CHIP:DMG: Attribute = 0x0000_0002, + [1653992415.580746][2347:2347] CHIP:DMG: } + [1653992415.580786][2347:2347] CHIP:DMG: + [1653992415.580812][2347:2347] CHIP:DMG: ], + [1653992415.580852][2347:2347] CHIP:DMG: + [1653992415.580879][2347:2347] CHIP:DMG: isFabricFiltered = true, + [1653992415.580913][2347:2347] CHIP:DMG: InteractionModelRevision = 1 + [1653992415.580936][2347:2347] CHIP:DMG: }," + cluster: "LogCommands" + command: "UserPrompt" + PICS: PICS_SKIP_SAMPLE_APP + arguments: + values: + - name: "message" + value: "Enter 'y' after success" + - name: "expectedValue" + value: "y" diff --git a/src/app/tests/suites/certification/Test_TC_PSCFG_3_1_Simulated.yaml b/src/app/tests/suites/certification/Test_TC_PSCFG_3_1_Simulated.yaml index 9019bbf2be80eb..8944a46fd3c5a8 100644 --- a/src/app/tests/suites/certification/Test_TC_PSCFG_3_1_Simulated.yaml +++ b/src/app/tests/suites/certification/Test_TC_PSCFG_3_1_Simulated.yaml @@ -34,3 +34,73 @@ tests: - label: "Read attribute: Sources" wait: "readAttribute" attribute: "Sources" + + - label: + "Configure TH such that it implements mandatory and none of the + optional attributes of the server-side of the cluster, and that it + also reflects this in global attributes such as FeatureMap and + AttributeList. Commission DUT to TH again." + verification: | + Product maker needs to provide instructions for how to trigger the command on the DUT. For comparison, the DUT behavior for this test step can be simulated using chip-tool (when DUT is a commissioner/Client) + + + ./chip-tool powersourceconfiguration read attribute-list 1 0 + + Verify the ReadRequestMessage the TH (all-cluster-minimal-app) log: + + [1663147271.622589][2750:2750] CHIP:IM: Received Read request + [1663147271.622666][2750:2750] CHIP:DMG: ReadRequestMessage = + [1663147271.622692][2750:2750] CHIP:DMG: { + [1663147271.622714][2750:2750] CHIP:DMG: AttributePathIBs = + [1663147271.622739][2750:2750] CHIP:DMG: [ + [1663147271.622789][2750:2750] CHIP:DMG: AttributePathIB = + [1663147271.622821][2750:2750] CHIP:DMG: { + [1663147271.622849][2750:2750] CHIP:DMG: Endpoint = 0x0, + [1663147271.622880][2750:2750] CHIP:DMG: Cluster = 0x2e, + [1663147271.622914][2750:2750] CHIP:DMG: Attribute = 0x0000_FFFB, + [1663147271.622943][2750:2750] CHIP:DMG: } + [1663147271.622971][2750:2750] CHIP:DMG: + [1663147271.622996][2750:2750] CHIP:DMG: ], + [1663147271.623023][2750:2750] CHIP:DMG: + [1663147271.623049][2750:2750] CHIP:DMG: isFabricFiltered = true, + [1663147271.623074][2750:2750] CHIP:DMG: InteractionModelRevision = 1 + [1663147271.623097][2750:2750] CHIP:DMG: }, + [1663147271.623168][2750:2750] CHIP:DMG: IM RH moving to [GeneratingReports] + [1663147271.623246][2750:2750] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 + [1663147271.623274][2750:2750] CHIP:DMG: Cluster 2e, Attribute fffb is dirty + + + ./chip-tool powersourceconfiguration read sources 1 0 + + verify the " sources response" on the TH (all-cluster-minimal-app) log: + + [1650881032.387446][2715:2715] CHIP:IM: Received Read request + [1650881032.387500][2715:2715] CHIP:DMG: ReadRequestMessage = + [1650881032.387527][2715:2715] CHIP:DMG: { + [1650881032.387549][2715:2715] CHIP:DMG: AttributePathIBs = + [1650881032.387578][2715:2715] CHIP:DMG: [ + [1650881032.387602][2715:2715] CHIP:DMG: AttributePathIB = + [1650881032.387629][2715:2715] CHIP:DMG: { + [1650881032.387657][2715:2715] CHIP:DMG: Endpoint = 0x0, + [1650881032.387690][2715:2715] CHIP:DMG: Cluster = 0x2e, + [1650881032.387722][2715:2715] CHIP:DMG: Attribute = 0x0000_0000, + [1650881032.387750][2715:2715] CHIP:DMG: } + [1650881032.387781][2715:2715] CHIP:DMG: + [1650881032.387807][2715:2715] CHIP:DMG: ], + [1650881032.387836][2715:2715] CHIP:DMG: + [1650881032.387862][2715:2715] CHIP:DMG: isFabricFiltered = true, + [1650881032.387887][2715:2715] CHIP:DMG: InteractionModelRevision = 1 + [1650881032.387910][2715:2715] CHIP:DMG: }, + [1650881032.387979][2715:2715] CHIP:DMG: IM RH moving to [GeneratingReports] + [1650881032.388058][2715:2715] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 + [1650881032.388087][2715:2715] CHIP:DMG: Cluster 2e, Attribute 0 is dirty + [1650881032.388109][2715:2715] CHIP:DMG: Reading attribute: Cluster=0x0000_002E Endpoint=0 AttributeId=0x0000_0000 (expanded=0) + cluster: "LogCommands" + command: "UserPrompt" + PICS: PICS_SKIP_SAMPLE_APP + arguments: + values: + - name: "message" + value: "Enter 'y' after success" + - name: "expectedValue" + value: "y" diff --git a/src/app/tests/suites/certification/Test_TC_SWTCH_3_1_Simulated.yaml b/src/app/tests/suites/certification/Test_TC_SWTCH_3_1_Simulated.yaml index f747debe416ad3..beb30524e705af 100644 --- a/src/app/tests/suites/certification/Test_TC_SWTCH_3_1_Simulated.yaml +++ b/src/app/tests/suites/certification/Test_TC_SWTCH_3_1_Simulated.yaml @@ -42,3 +42,272 @@ tests: - label: "Read MultiPressMax attribute" wait: "readAttribute" attribute: "MultiPressMax" + + - label: + "Configure TH such that it implements mandatory and none of the + optional attributes of the server-side of the cluster, and that it + also reflects this in global attributes such as FeatureMap and + AttributeList. Commission DUT to TH again." + verification: | + ./chip-tool switch read feature-map 1 1 + + Verify TH receives FeatureMap attribute response on the TH(all-clusters-minimal-app) Log: + [1666943977.583820][12769:12769] CHIP:DMG: + [1666943977.583832][12769:12769] CHIP:DMG: ReportDataMessage = + [1666943977.583834][12769:12769] CHIP:DMG: { + [1666943977.583837][12769:12769] CHIP:DMG: AttributeReportIBs = + [1666943977.583842][12769:12769] CHIP:DMG: [ + [1666943977.583844][12769:12769] CHIP:DMG: AttributeReportIB = + [1666943977.583855][12769:12769] CHIP:DMG: { + [1666943977.583857][12769:12769] CHIP:DMG: AttributeDataIB = + [1666943977.583860][12769:12769] CHIP:DMG: { + [1666943977.583864][12769:12769] CHIP:DMG: DataVersion = 0x8c421c49, + [1666943977.583867][12769:12769] CHIP:DMG: AttributePathIB = + [1666943977.583870][12769:12769] CHIP:DMG: { + [1666943977.583873][12769:12769] CHIP:DMG: Endpoint = 0x1, + [1666943977.583877][12769:12769] CHIP:DMG: Cluster = 0x3b, + [1666943977.583880][12769:12769] CHIP:DMG: Attribute = 0x0000_FFFC, + [1666943977.583883][12769:12769] CHIP:DMG: } + [1666943977.583887][12769:12769] CHIP:DMG: + [1666943977.583891][12769:12769] CHIP:DMG: Data = 1, + [1666943977.583893][12769:12769] CHIP:DMG: }, + [1666943977.583897][12769:12769] CHIP:DMG: + [1666943977.583899][12769:12769] CHIP:DMG: }, + [1666943977.583903][12769:12769] CHIP:DMG: + [1666943977.583905][12769:12769] CHIP:DMG: ], + [1666943977.583909][12769:12769] CHIP:DMG: + [1666943977.583911][12769:12769] CHIP:DMG: SuppressResponse = true, + [1666943977.583913][12769:12769] CHIP:DMG: InteractionModelRevision = 1 + + ./chip-tool switch read attribute-list 1 1 + + Verify TH receives AttributeList attribute response on the TH(all-clusters-minimal-app) Log: + + [1666944005.886938][12769:12769] CHIP:DMG: + [1666944005.886967][12769:12769] CHIP:DMG: ReportDataMessage = + [1666944005.886969][12769:12769] CHIP:DMG: { + [1666944005.886971][12769:12769] CHIP:DMG: AttributeReportIBs = + [1666944005.886974][12769:12769] CHIP:DMG: [ + [1666944005.886976][12769:12769] CHIP:DMG: AttributeReportIB = + [1666944005.886981][12769:12769] CHIP:DMG: { + [1666944005.886983][12769:12769] CHIP:DMG: AttributeDataIB = + [1666944005.886985][12769:12769] CHIP:DMG: { + [1666944005.886988][12769:12769] CHIP:DMG: DataVersion = 0x8c421c49, + [1666944005.886990][12769:12769] CHIP:DMG: AttributePathIB = + [1666944005.886992][12769:12769] CHIP:DMG: { + [1666944005.886995][12769:12769] CHIP:DMG: Endpoint = 0x1, + [1666944005.886997][12769:12769] CHIP:DMG: Cluster = 0x3b, + [1666944005.886999][12769:12769] CHIP:DMG: Attribute = 0x0000_FFFB, + [1666944005.887001][12769:12769] CHIP:DMG: } + [1666944005.887006][12769:12769] CHIP:DMG: + [1666944005.887008][12769:12769] CHIP:DMG: Data = [ + [1666944005.887011][12769:12769] CHIP:DMG: + [1666944005.887014][12769:12769] CHIP:DMG: ], + [1666944005.887016][12769:12769] CHIP:DMG: }, + [1666944005.887020][12769:12769] CHIP:DMG: + [1666944005.887022][12769:12769] CHIP:DMG: }, + [1666944005.887027][12769:12769] CHIP:DMG: + [1666944005.887028][12769:12769] CHIP:DMG: AttributeReportIB = + [1666944005.887032][12769:12769] CHIP:DMG: { + [1666944005.887034][12769:12769] CHIP:DMG: AttributeDataIB = + [1666944005.887038][12769:12769] CHIP:DMG: { + [1666944005.887040][12769:12769] CHIP:DMG: DataVersion = 0x8c421c49, + [1666944005.887042][12769:12769] CHIP:DMG: AttributePathIB = + [1666944005.887044][12769:12769] CHIP:DMG: { + [1666944005.887047][12769:12769] CHIP:DMG: Endpoint = 0x1, + [1666944005.887049][12769:12769] CHIP:DMG: Cluster = 0x3b, + [1666944005.887052][12769:12769] CHIP:DMG: Attribute = 0x0000_FFFB, + [1666944005.887054][12769:12769] CHIP:DMG: ListIndex = Null, + [1666944005.887056][12769:12769] CHIP:DMG: } + [1666944005.887059][12769:12769] CHIP:DMG: + [1666944005.887062][12769:12769] CHIP:DMG: Data = 0, + [1666944005.887064][12769:12769] CHIP:DMG: }, + [1666944005.887067][12769:12769] CHIP:DMG: + [1666944005.887069][12769:12769] CHIP:DMG: }, + [1666944005.887073][12769:12769] CHIP:DMG: + [1666944005.887075][12769:12769] CHIP:DMG: AttributeReportIB = + [1666944005.887079][12769:12769] CHIP:DMG: { + [1666944005.887081][12769:12769] CHIP:DMG: AttributeDataIB = + [1666944005.887084][12769:12769] CHIP:DMG: { + [1666944005.887086][12769:12769] CHIP:DMG: DataVersion = 0x8c421c49, + [1666944005.887088][12769:12769] CHIP:DMG: AttributePathIB = + [1666944005.887090][12769:12769] CHIP:DMG: { + [1666944005.887093][12769:12769] CHIP:DMG: Endpoint = 0x1, + [1666944005.887095][12769:12769] CHIP:DMG: Cluster = 0x3b, + [1666944005.887097][12769:12769] CHIP:DMG: Attribute = 0x0000_FFFB, + [1666944005.887099][12769:12769] CHIP:DMG: ListIndex = Null, + [1666944005.887102][12769:12769] CHIP:DMG: } + [1666944005.887104][12769:12769] CHIP:DMG: + [1666944005.887107][12769:12769] CHIP:DMG: Data = 1, + [1666944005.887109][12769:12769] CHIP:DMG: }, + [1666944005.887112][12769:12769] CHIP:DMG: + [1666944005.887114][12769:12769] CHIP:DMG: }, + [1666944005.887118][12769:12769] CHIP:DMG: + [1666944005.887120][12769:12769] CHIP:DMG: AttributeReportIB = + [1666944005.887124][12769:12769] CHIP:DMG: { + [1666944005.887126][12769:12769] CHIP:DMG: AttributeDataIB = + [1666944005.887129][12769:12769] CHIP:DMG: { + [1666944005.887132][12769:12769] CHIP:DMG: DataVersion = 0x8c421c49, + [1666944005.887134][12769:12769] CHIP:DMG: AttributePathIB = + [1666944005.887136][12769:12769] CHIP:DMG: { + [1666944005.887138][12769:12769] CHIP:DMG: Endpoint = 0x1, + [1666944005.887141][12769:12769] CHIP:DMG: Cluster = 0x3b, + [1666944005.887143][12769:12769] CHIP:DMG: Attribute = 0x0000_FFFB, + [1666944005.887145][12769:12769] CHIP:DMG: ListIndex = Null, + [1666944005.887147][12769:12769] CHIP:DMG: } + [1666944005.887150][12769:12769] CHIP:DMG: + [1666944005.887153][12769:12769] CHIP:DMG: Data = 65528, + [1666944005.887155][12769:12769] CHIP:DMG: }, + [1666944005.887159][12769:12769] CHIP:DMG: + [1666944005.887161][12769:12769] CHIP:DMG: }, + [1666944005.887166][12769:12769] CHIP:DMG: + [1666944005.887168][12769:12769] CHIP:DMG: AttributeReportIB = + [1666944005.887172][12769:12769] CHIP:DMG: { + [1666944005.887174][12769:12769] CHIP:DMG: AttributeDataIB = + [1666944005.887176][12769:12769] CHIP:DMG: { + [1666944005.887179][12769:12769] CHIP:DMG: DataVersion = 0x8c421c49, + [1666944005.887181][12769:12769] CHIP:DMG: AttributePathIB = + [1666944005.887183][12769:12769] CHIP:DMG: { + [1666944005.887185][12769:12769] CHIP:DMG: Endpoint = 0x1, + [1666944005.887190][12769:12769] CHIP:DMG: Cluster = 0x3b, + [1666944005.887192][12769:12769] CHIP:DMG: Attribute = 0x0000_FFFB, + [1666944005.887194][12769:12769] CHIP:DMG: ListIndex = Null, + [1666944005.887196][12769:12769] CHIP:DMG: } + [1666944005.887200][12769:12769] CHIP:DMG: + [1666944005.887202][12769:12769] CHIP:DMG: Data = 65529, + [1666944005.887204][12769:12769] CHIP:DMG: }, + [1666944005.887207][12769:12769] CHIP:DMG: + [1666944005.887209][12769:12769] CHIP:DMG: }, + [1666944005.887213][12769:12769] CHIP:DMG: + [1666944005.887215][12769:12769] CHIP:DMG: AttributeReportIB = + [1666944005.887220][12769:12769] CHIP:DMG: { + [1666944005.887221][12769:12769] CHIP:DMG: AttributeDataIB = + [1666944005.887224][12769:12769] CHIP:DMG: { + [1666944005.887227][12769:12769] CHIP:DMG: DataVersion = 0x8c421c49, + [1666944005.887229][12769:12769] CHIP:DMG: AttributePathIB = + [1666944005.887231][12769:12769] CHIP:DMG: { + [1666944005.887234][12769:12769] CHIP:DMG: Endpoint = 0x1, + [1666944005.887237][12769:12769] CHIP:DMG: Cluster = 0x3b, + [1666944005.887239][12769:12769] CHIP:DMG: Attribute = 0x0000_FFFB, + [1666944005.887242][12769:12769] CHIP:DMG: ListIndex = Null, + [1666944005.887244][12769:12769] CHIP:DMG: } + [1666944005.887246][12769:12769] CHIP:DMG: + [1666944005.887249][12769:12769] CHIP:DMG: Data = 65531, + [1666944005.887251][12769:12769] CHIP:DMG: }, + [1666944005.887254][12769:12769] CHIP:DMG: + [1666944005.887256][12769:12769] CHIP:DMG: }, + [1666944005.887261][12769:12769] CHIP:DMG: + [1666944005.887263][12769:12769] CHIP:DMG: AttributeReportIB = + [1666944005.887266][12769:12769] CHIP:DMG: { + [1666944005.887268][12769:12769] CHIP:DMG: AttributeDataIB = + [1666944005.887271][12769:12769] CHIP:DMG: { + [1666944005.887274][12769:12769] CHIP:DMG: DataVersion = 0x8c421c49, + [1666944005.887276][12769:12769] CHIP:DMG: AttributePathIB = + [1666944005.887278][12769:12769] CHIP:DMG: { + [1666944005.887280][12769:12769] CHIP:DMG: Endpoint = 0x1, + [1666944005.887283][12769:12769] CHIP:DMG: Cluster = 0x3b, + [1666944005.887285][12769:12769] CHIP:DMG: Attribute = 0x0000_FFFB, + [1666944005.887287][12769:12769] CHIP:DMG: ListIndex = Null, + [1666944005.887289][12769:12769] CHIP:DMG: } + [1666944005.887292][12769:12769] CHIP:DMG: + [1666944005.887294][12769:12769] CHIP:DMG: Data = 65532, + [1666944005.887297][12769:12769] CHIP:DMG: }, + [1666944005.887299][12769:12769] CHIP:DMG: + [1666944005.887301][12769:12769] CHIP:DMG: }, + [1666944005.887306][12769:12769] CHIP:DMG: + [1666944005.887308][12769:12769] CHIP:DMG: AttributeReportIB = + [1666944005.887311][12769:12769] CHIP:DMG: { + [1666944005.887313][12769:12769] CHIP:DMG: AttributeDataIB = + [1666944005.887316][12769:12769] CHIP:DMG: { + [1666944005.887318][12769:12769] CHIP:DMG: DataVersion = 0x8c421c49, + [1666944005.887320][12769:12769] CHIP:DMG: AttributePathIB = + [1666944005.887323][12769:12769] CHIP:DMG: { + [1666944005.887325][12769:12769] CHIP:DMG: Endpoint = 0x1, + [1666944005.887327][12769:12769] CHIP:DMG: Cluster = 0x3b, + [1666944005.887330][12769:12769] CHIP:DMG: Attribute = 0x0000_FFFB, + [1666944005.887332][12769:12769] CHIP:DMG: ListIndex = Null, + [1666944005.887334][12769:12769] CHIP:DMG: } + [1666944005.887337][12769:12769] CHIP:DMG: + [1666944005.887340][12769:12769] CHIP:DMG: Data = 65533, + [1666944005.887342][12769:12769] CHIP:DMG: }, + [1666944005.887345][12769:12769] CHIP:DMG: + [1666944005.887347][12769:12769] CHIP:DMG: }, + [1666944005.887350][12769:12769] CHIP:DMG: + [1666944005.887351][12769:12769] CHIP:DMG: ], + [1666944005.887361][12769:12769] CHIP:DMG: + [1666944005.887363][12769:12769] CHIP:DMG: SuppressResponse = true, + [1666944005.887365][12769:12769] CHIP:DMG: InteractionModelRevision = 1 + [1666944005.887367][12769:12769] CHIP:DMG: } + + + + + ./chip-tool switch read number-of-positions 1 1 + + Verify TH receives NumberOfPositions attribute response on the TH(all-clusters-minimal-app) Log: + [1666944027.604420][12769:12769] CHIP:DMG: ReportDataMessage = + [1666944027.604423][12769:12769] CHIP:DMG: { + [1666944027.604425][12769:12769] CHIP:DMG: AttributeReportIBs = + [1666944027.604430][12769:12769] CHIP:DMG: [ + [1666944027.604432][12769:12769] CHIP:DMG: AttributeReportIB = + [1666944027.604437][12769:12769] CHIP:DMG: { + [1666944027.604439][12769:12769] CHIP:DMG: AttributeDataIB = + [1666944027.604443][12769:12769] CHIP:DMG: { + [1666944027.604445][12769:12769] CHIP:DMG: DataVersion = 0x8c421c49, + [1666944027.604447][12769:12769] CHIP:DMG: AttributePathIB = + [1666944027.604450][12769:12769] CHIP:DMG: { + [1666944027.604452][12769:12769] CHIP:DMG: Endpoint = 0x1, + [1666944027.604455][12769:12769] CHIP:DMG: Cluster = 0x3b, + [1666944027.604459][12769:12769] CHIP:DMG: Attribute = 0x0000_0000, + [1666944027.604461][12769:12769] CHIP:DMG: } + [1666944027.604463][12769:12769] CHIP:DMG: + [1666944027.604466][12769:12769] CHIP:DMG: Data = 2, + [1666944027.604469][12769:12769] CHIP:DMG: }, + [1666944027.604480][12769:12769] CHIP:DMG: + [1666944027.604482][12769:12769] CHIP:DMG: }, + [1666944027.604486][12769:12769] CHIP:DMG: + [1666944027.604488][12769:12769] CHIP:DMG: ], + [1666944027.604492][12769:12769] CHIP:DMG: + [1666944027.604495][12769:12769] CHIP:DMG: SuppressResponse = true, + [1666944027.604497][12769:12769] CHIP:DMG: InteractionModelRevision = 1 + [1666944027.604500][12769:12769] CHIP:DMG: } + + + ./chip-tool switch read current-position 1 1 + + Verify TH receives CurrentPosition attribute response on the TH(all-clusters-minimal-app) Log: + [1666944049.906683][12769:12769] CHIP:DMG: ReportDataMessage = + [1666944049.906685][12769:12769] CHIP:DMG: { + [1666944049.906687][12769:12769] CHIP:DMG: AttributeReportIBs = + [1666944049.906690][12769:12769] CHIP:DMG: [ + [1666944049.906692][12769:12769] CHIP:DMG: AttributeReportIB = + [1666944049.906695][12769:12769] CHIP:DMG: { + [1666944049.906697][12769:12769] CHIP:DMG: AttributeDataIB = + [1666944049.906699][12769:12769] CHIP:DMG: { + [1666944049.906701][12769:12769] CHIP:DMG: DataVersion = 0x8c421c49, + [1666944049.906703][12769:12769] CHIP:DMG: AttributePathIB = + [1666944049.906705][12769:12769] CHIP:DMG: { + [1666944049.906708][12769:12769] CHIP:DMG: Endpoint = 0x1, + [1666944049.906710][12769:12769] CHIP:DMG: Cluster = 0x3b, + [1666944049.906712][12769:12769] CHIP:DMG: Attribute = 0x0000_0001, + [1666944049.906714][12769:12769] CHIP:DMG: } + [1666944049.906717][12769:12769] CHIP:DMG: + [1666944049.906719][12769:12769] CHIP:DMG: Data = 0, + [1666944049.906721][12769:12769] CHIP:DMG: }, + [1666944049.906724][12769:12769] CHIP:DMG: + [1666944049.906726][12769:12769] CHIP:DMG: }, + [1666944049.906728][12769:12769] CHIP:DMG: + [1666944049.906730][12769:12769] CHIP:DMG: ], + [1666944049.906733][12769:12769] CHIP:DMG: + [1666944049.906735][12769:12769] CHIP:DMG: SuppressResponse = true, + [1666944049.906737][12769:12769] CHIP:DMG: InteractionModelRevision = 1 + [1666944049.906739][12769:12769] CHIP:DMG: } + cluster: "LogCommands" + command: "UserPrompt" + PICS: PICS_SKIP_SAMPLE_APP + arguments: + values: + - name: "message" + value: "Enter 'y' after success" + - name: "expectedValue" + value: "y" diff --git a/src/app/tests/suites/certification/Test_TC_WNCV_4_5.yaml b/src/app/tests/suites/certification/Test_TC_WNCV_4_5.yaml index 33281f79b55af6..889c51e0be3fe0 100644 --- a/src/app/tests/suites/certification/Test_TC_WNCV_4_5.yaml +++ b/src/app/tests/suites/certification/Test_TC_WNCV_4_5.yaml @@ -142,7 +142,7 @@ tests: - label: "Reboot target device(DUT)" verification: | - Not implemented in chip-tool + Did the DUT successfully reboot? cluster: "LogCommands" command: "UserPrompt" PICS: PICS_SKIP_SAMPLE_APP diff --git a/zzz_generated/chip-tool/zap-generated/test/Commands.h b/zzz_generated/chip-tool/zap-generated/test/Commands.h index 995f4a5e66bdff..9b25eb17e48042 100644 --- a/zzz_generated/chip-tool/zap-generated/test/Commands.h +++ b/zzz_generated/chip-tool/zap-generated/test/Commands.h @@ -40330,7 +40330,7 @@ class Test_TC_PCC_2_3Suite : public TestCommand } case 14: { LogStep(14, "Reads the attribute: EffectiveControlMode"); - VerifyOrDo(!ShouldSkip("PCC.S.F02 && PCC.S.A0012"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + VerifyOrDo(!ShouldSkip("PCC.S.F05 && PCC.S.A0012"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), PumpConfigurationAndControl::Id, PumpConfigurationAndControl::Attributes::EffectiveControlMode::Id, true, chip::NullOptional); } @@ -97287,7 +97287,7 @@ class Test_TC_CADMIN_1_3Suite : public TestCommand } case 12: { LogStep(12, "TH_CR1 writes the Basic Information Clusters NodeLabel mandatory attribute of DUT_CE"); - VerifyOrDo(!ShouldSkip("OPCREDS.S.A0001"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + VerifyOrDo(!ShouldSkip("BINFO.S.A0005"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::CharSpan value; value = chip::Span("chiptest1garbage: not in length on purpose", 9); @@ -97296,13 +97296,13 @@ class Test_TC_CADMIN_1_3Suite : public TestCommand } case 13: { LogStep(13, "TH_CR1 reads the Basic Information Clusters NodeLabel mandatory attribute of DUT_CE"); - VerifyOrDo(!ShouldSkip("OPCREDS.S.A0001"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + VerifyOrDo(!ShouldSkip("BINFO.S.A0005"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(0), BasicInformation::Id, BasicInformation::Attributes::NodeLabel::Id, true, chip::NullOptional); } case 14: { LogStep(14, "TH_CR2 writes the Basic Information Clusters NodeLabel mandatory attribute of DUT_CE"); - VerifyOrDo(!ShouldSkip("OPCREDS.S.A0001"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + VerifyOrDo(!ShouldSkip("BINFO.S.A0005"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::CharSpan value; value = chip::Span("chiptest2garbage: not in length on purpose", 9); @@ -97311,7 +97311,7 @@ class Test_TC_CADMIN_1_3Suite : public TestCommand } case 15: { LogStep(15, "TH_CR2 reads the Basic Information Clusters NodeLabel mandatory attribute of DUT_CE"); - VerifyOrDo(!ShouldSkip("OPCREDS.S.A0001"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + VerifyOrDo(!ShouldSkip("BINFO.S.A0005"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityBeta, GetEndpoint(0), BasicInformation::Id, BasicInformation::Attributes::NodeLabel::Id, true, chip::NullOptional); } @@ -99477,11 +99477,11 @@ class Test_TC_CADMIN_1_13Suite : public TestCommand VerifyOrReturn(CheckValueAsString("fabrics[0].label", iter_0.GetValue().label, chip::CharSpan("", 0))); VerifyOrReturn(CheckNextListItemDecodes("fabrics", iter_0, 1)); VerifyOrReturn(CheckValue("fabrics[1].nodeID", iter_0.GetValue().nodeID, - mNodeId2.HasValue() ? mNodeId2.Value() : 51966ULL)); + mNodeId3.HasValue() ? mNodeId3.Value() : 12586990ULL)); VerifyOrReturn(CheckValueAsString("fabrics[1].label", iter_0.GetValue().label, chip::CharSpan("", 0))); VerifyOrReturn(CheckNextListItemDecodes("fabrics", iter_0, 2)); VerifyOrReturn(CheckValue("fabrics[2].nodeID", iter_0.GetValue().nodeID, - mNodeId3.HasValue() ? mNodeId3.Value() : 12586990ULL)); + mNodeId2.HasValue() ? mNodeId2.Value() : 51966ULL)); VerifyOrReturn(CheckValueAsString("fabrics[2].label", iter_0.GetValue().label, chip::CharSpan("", 0))); VerifyOrReturn(CheckNoMoreListItems("fabrics", iter_0, 3)); } @@ -99527,11 +99527,11 @@ class Test_TC_CADMIN_1_13Suite : public TestCommand VerifyOrReturn(CheckValueAsString("fabrics[0].label", iter_0.GetValue().label, chip::CharSpan("", 0))); VerifyOrReturn(CheckNextListItemDecodes("fabrics", iter_0, 1)); VerifyOrReturn(CheckValue("fabrics[1].nodeID", iter_0.GetValue().nodeID, - mNodeId2.HasValue() ? mNodeId2.Value() : 51966ULL)); + mNodeId3.HasValue() ? mNodeId3.Value() : 12586990ULL)); VerifyOrReturn(CheckValueAsString("fabrics[1].label", iter_0.GetValue().label, chip::CharSpan("", 0))); VerifyOrReturn(CheckNextListItemDecodes("fabrics", iter_0, 2)); VerifyOrReturn(CheckValue("fabrics[2].nodeID", iter_0.GetValue().nodeID, - mNodeId3.HasValue() ? mNodeId3.Value() : 12586990ULL)); + mNodeId2.HasValue() ? mNodeId2.Value() : 51966ULL)); VerifyOrReturn(CheckValueAsString("fabrics[2].label", iter_0.GetValue().label, chip::CharSpan("", 0))); VerifyOrReturn(CheckNoMoreListItems("fabrics", iter_0, 3)); } 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 9758f61b48976b..ebd3826cd15cb8 100644 --- a/zzz_generated/darwin-framework-tool/zap-generated/test/Commands.h +++ b/zzz_generated/darwin-framework-tool/zap-generated/test/Commands.h @@ -56524,7 +56524,7 @@ class Test_TC_PCC_2_3 : public TestCommandBridge { break; case 14: ChipLogProgress(chipTool, " ***** Test Step 14 : Reads the attribute: EffectiveControlMode\n"); - if (ShouldSkip("PCC.S.F02 && PCC.S.A0012")) { + if (ShouldSkip("PCC.S.F05 && PCC.S.A0012")) { NextTest(); return; } diff --git a/zzz_generated/placeholder/app1/zap-generated/test/Commands.h b/zzz_generated/placeholder/app1/zap-generated/test/Commands.h index 0d4ba7e4832f6c..d843a18fefd79d 100644 --- a/zzz_generated/placeholder/app1/zap-generated/test/Commands.h +++ b/zzz_generated/placeholder/app1/zap-generated/test/Commands.h @@ -26,7 +26,7 @@ class Test_TC_BINFO_2_3_SimulatedSuite : public TestCommand { public: - Test_TC_BINFO_2_3_SimulatedSuite() : TestCommand("Test_TC_BINFO_2_3_Simulated", 21) + Test_TC_BINFO_2_3_SimulatedSuite() : TestCommand("Test_TC_BINFO_2_3_Simulated", 22) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -91,81 +91,105 @@ class Test_TC_BINFO_2_3_SimulatedSuite : public TestCommand return Log(kIdentityAlpha, value); } case 2: { - LogStep(2, "Query Data Model Revision"); + LogStep(2, "DUT reads DataModelRevision from the TH"); + VerifyOrDo(!ShouldSkip("BINFO.C.A0000"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), BasicInformation::Id, BasicInformation::Attributes::DataModelRevision::Id); } case 3: { - LogStep(3, "Query Vendor Name"); + LogStep(3, "DUT reads VendorName from the TH"); + VerifyOrDo(!ShouldSkip("BINFO.C.A0001"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), BasicInformation::Id, BasicInformation::Attributes::VendorName::Id); } case 4: { - LogStep(4, "Query VendorID"); + LogStep(4, "DUT reads VendorID from the TH"); + VerifyOrDo(!ShouldSkip("BINFO.C.A0002"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), BasicInformation::Id, BasicInformation::Attributes::VendorID::Id); } case 5: { - LogStep(5, "Query Product Name"); + LogStep(5, "DUT reads ProductName from the TH"); + VerifyOrDo(!ShouldSkip("BINFO.C.A0003"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), BasicInformation::Id, BasicInformation::Attributes::ProductName::Id); } case 6: { - LogStep(6, "Query ProductID"); + LogStep(6, "DUT reads ProductID from the TH"); + VerifyOrDo(!ShouldSkip("BINFO.C.A0004"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), BasicInformation::Id, BasicInformation::Attributes::ProductID::Id); } case 7: { - LogStep(7, "Query Node Label"); + LogStep(7, "DUT reads NodeLabel from the TH"); + VerifyOrDo(!ShouldSkip("BINFO.C.A0005"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), BasicInformation::Id, BasicInformation::Attributes::NodeLabel::Id); } case 8: { - LogStep(8, "Query User Location"); + LogStep(8, "DUT reads Location from the TH"); + VerifyOrDo(!ShouldSkip("BINFO.C.A0006"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), BasicInformation::Id, BasicInformation::Attributes::Location::Id); } case 9: { - LogStep(9, "Query HardwareVersion"); + LogStep(9, "DUT reads HardwareVersion from the TH"); + VerifyOrDo(!ShouldSkip("BINFO.C.A0007"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), BasicInformation::Id, BasicInformation::Attributes::HardwareVersion::Id); } case 10: { - LogStep(10, "Query HardwareVersionString"); + LogStep(10, "DUT reads HardwareVersionString from the TH"); + VerifyOrDo(!ShouldSkip("BINFO.C.A0008"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), BasicInformation::Id, BasicInformation::Attributes::HardwareVersionString::Id); } case 11: { - LogStep(11, "Query SoftwareVersion"); + LogStep(11, "DUT reads SoftwareVersion from the TH"); + VerifyOrDo(!ShouldSkip("BINFO.C.A0009"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), BasicInformation::Id, BasicInformation::Attributes::SoftwareVersion::Id); } case 12: { - LogStep(12, "Query SoftwareVersionString"); + LogStep(12, "DUT reads SoftwareVersionString from the TH"); + VerifyOrDo(!ShouldSkip("BINFO.C.A000a"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), BasicInformation::Id, BasicInformation::Attributes::SoftwareVersionString::Id); } case 13: { - LogStep(13, "Query ManufacturingDate"); + LogStep(13, "DUT reads ManufacturingDate from the TH"); + VerifyOrDo(!ShouldSkip("BINFO.C.A000b"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), BasicInformation::Id, BasicInformation::Attributes::ManufacturingDate::Id); } case 14: { - LogStep(14, "Query PartNumber"); + LogStep(14, "DUT reads PartNumber from the TH"); + VerifyOrDo(!ShouldSkip("BINFO.C.A000c"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), BasicInformation::Id, BasicInformation::Attributes::PartNumber::Id); } case 15: { - LogStep(15, "Query ProductURL"); + LogStep(15, "DUT reads ProductURL from the TH"); + VerifyOrDo(!ShouldSkip("BINFO.C.A000d"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), BasicInformation::Id, BasicInformation::Attributes::ProductURL::Id); } case 16: { - LogStep(16, "Query ProductLabel"); + LogStep(16, "DUT reads ProductLabel from the TH"); + VerifyOrDo(!ShouldSkip("BINFO.C.A000e"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), BasicInformation::Id, BasicInformation::Attributes::ProductLabel::Id); } case 17: { - LogStep(17, "Query SerialNumber"); + LogStep(17, "DUT reads SerialNumber from the TH"); + VerifyOrDo(!ShouldSkip("BINFO.C.A000f"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), BasicInformation::Id, BasicInformation::Attributes::SerialNumber::Id); } case 18: { - LogStep(18, "Query LocalConfigDisabled"); + LogStep(18, "DUT reads LocalConfigDisabled from the TH"); + VerifyOrDo(!ShouldSkip("BINFO.C.A0010"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), BasicInformation::Id, BasicInformation::Attributes::LocalConfigDisabled::Id); } case 19: { - LogStep(19, "Query Reachable"); + LogStep(19, "DUT reads Reachable from the TH"); + VerifyOrDo(!ShouldSkip("BINFO.C.A0011"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), BasicInformation::Id, BasicInformation::Attributes::Reachable::Id); } case 20: { - LogStep(20, "Query UniqueID"); + LogStep(20, "DUT reads UniqueID from the TH"); + VerifyOrDo(!ShouldSkip("BINFO.C.A0012"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), BasicInformation::Id, BasicInformation::Attributes::UniqueID::Id); } + case 21: { + LogStep(21, "DUT reads CapabilityMinima from the TH"); + VerifyOrDo(!ShouldSkip("BINFO.C.A0013"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + return WaitAttribute(GetEndpoint(0), BasicInformation::Id, BasicInformation::Attributes::CapabilityMinima::Id); + } } return CHIP_NO_ERROR; } @@ -174,7 +198,7 @@ class Test_TC_BINFO_2_3_SimulatedSuite : public TestCommand class Test_TC_ACT_3_1_SimulatedSuite : public TestCommand { public: - Test_TC_ACT_3_1_SimulatedSuite() : TestCommand("Test_TC_ACT_3_1_Simulated", 4) + Test_TC_ACT_3_1_SimulatedSuite() : TestCommand("Test_TC_ACT_3_1_Simulated", 5) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -206,6 +230,10 @@ class Test_TC_ACT_3_1_SimulatedSuite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); shouldContinue = true; break; + case 4: + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); + shouldContinue = true; + break; default: LogErrorOnFailure(ContinueOnChipMainThread(CHIP_ERROR_INVALID_ARGUMENT)); } @@ -239,6 +267,19 @@ class Test_TC_ACT_3_1_SimulatedSuite : public TestCommand LogStep(3, "Read attribute: SetupURL"); return WaitAttribute(GetEndpoint(0), Actions::Id, Actions::Attributes::SetupURL::Id); } + case 4: { + LogStep(4, + "Configure TH such that it implements mandatory and none of the optional attributes of the server-side of the " + "cluster, and that it also reflects this in global attributes such as FeatureMap and AttributeList.Commission " + "DUT to TH again"); + VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + ListFreer listFreer; + chip::app::Clusters::LogCommands::Commands::UserPrompt::Type value; + value.message = chip::Span("Enter 'y' after successgarbage: not in length on purpose", 23); + value.expectedValue.Emplace(); + value.expectedValue.Value() = chip::Span("ygarbage: not in length on purpose", 1); + return UserPrompt(kIdentityAlpha, value); + } } return CHIP_NO_ERROR; } @@ -247,7 +288,7 @@ class Test_TC_ACT_3_1_SimulatedSuite : public TestCommand class Test_TC_BOOL_3_1_SimulatedSuite : public TestCommand { public: - Test_TC_BOOL_3_1_SimulatedSuite() : TestCommand("Test_TC_BOOL_3_1_Simulated", 2) + Test_TC_BOOL_3_1_SimulatedSuite() : TestCommand("Test_TC_BOOL_3_1_Simulated", 3) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -279,6 +320,10 @@ class Test_TC_BOOL_3_1_SimulatedSuite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); shouldContinue = true; break; + case 2: + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); + shouldContinue = true; + break; default: LogErrorOnFailure(ContinueOnChipMainThread(CHIP_ERROR_INVALID_ARGUMENT)); } @@ -304,6 +349,19 @@ class Test_TC_BOOL_3_1_SimulatedSuite : public TestCommand LogStep(1, "Read attribute: StateValue"); return WaitAttribute(GetEndpoint(0), BooleanState::Id, BooleanState::Attributes::StateValue::Id); } + case 2: { + LogStep(2, + "Configure TH such that it implements mandatory and none of the optional attributes of the server-side of the " + "cluster, and that it also reflects this in global attributes such as FeatureMap and AttributeList.Commission " + "DUT to TH again"); + VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + ListFreer listFreer; + chip::app::Clusters::LogCommands::Commands::UserPrompt::Type value; + value.message = chip::Span("Enter 'y' after successgarbage: not in length on purpose", 23); + value.expectedValue.Emplace(); + value.expectedValue.Value() = chip::Span("ygarbage: not in length on purpose", 1); + return UserPrompt(kIdentityAlpha, value); + } } return CHIP_NO_ERROR; } @@ -722,7 +780,7 @@ class Test_TC_DGWIFI_3_1_SimulatedSuite : public TestCommand class Test_TC_FLW_3_1_SimulatedSuite : public TestCommand { public: - Test_TC_FLW_3_1_SimulatedSuite() : TestCommand("Test_TC_FLW_3_1_Simulated", 5) + Test_TC_FLW_3_1_SimulatedSuite() : TestCommand("Test_TC_FLW_3_1_Simulated", 6) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -754,6 +812,10 @@ class Test_TC_FLW_3_1_SimulatedSuite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); shouldContinue = true; break; + case 5: + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); + shouldContinue = true; + break; default: LogErrorOnFailure(ContinueOnChipMainThread(CHIP_ERROR_INVALID_ARGUMENT)); } @@ -791,6 +853,19 @@ class Test_TC_FLW_3_1_SimulatedSuite : public TestCommand LogStep(4, "Read attribute: Tolerance"); return WaitAttribute(GetEndpoint(0), FlowMeasurement::Id, FlowMeasurement::Attributes::Tolerance::Id); } + case 5: { + LogStep(5, + "Configure TH such that it implements mandatory and none of the optional attributes of the server-side of the " + "cluster, and that it also reflects this in global attributes such as FeatureMap and AttributeList. Commission " + "DUT to TH again."); + VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + ListFreer listFreer; + chip::app::Clusters::LogCommands::Commands::UserPrompt::Type value; + value.message = chip::Span("Enter 'y' after successgarbage: not in length on purpose", 23); + value.expectedValue.Emplace(); + value.expectedValue.Value() = chip::Span("ygarbage: not in length on purpose", 1); + return UserPrompt(kIdentityAlpha, value); + } } return CHIP_NO_ERROR; } @@ -865,7 +940,7 @@ class Test_TC_G_3_1_SimulatedSuite : public TestCommand class Test_TC_I_3_1_SimulatedSuite : public TestCommand { public: - Test_TC_I_3_1_SimulatedSuite() : TestCommand("Test_TC_I_3_1_Simulated", 5) + Test_TC_I_3_1_SimulatedSuite() : TestCommand("Test_TC_I_3_1_Simulated", 6) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -897,6 +972,10 @@ class Test_TC_I_3_1_SimulatedSuite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); shouldContinue = true; break; + case 5: + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); + shouldContinue = true; + break; default: LogErrorOnFailure(ContinueOnChipMainThread(CHIP_ERROR_INVALID_ARGUMENT)); } @@ -934,6 +1013,19 @@ class Test_TC_I_3_1_SimulatedSuite : public TestCommand LogStep(4, "Read attribute: identifytype"); return WaitAttribute(GetEndpoint(1), Identify::Id, Identify::Attributes::IdentifyType::Id); } + case 5: { + LogStep(5, + "Configure TH such that it implements mandatory and none of the optional attributes of the server-side of the " + "cluster, and that it also reflects this in global attributes such as FeatureMap and AttributeList.Commission " + "DUT to TH again"); + VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + ListFreer listFreer; + chip::app::Clusters::LogCommands::Commands::UserPrompt::Type value; + value.message = chip::Span("Enter 'y' after successgarbage: not in length on purpose", 23); + value.expectedValue.Emplace(); + value.expectedValue.Value() = chip::Span("ygarbage: not in length on purpose", 1); + return UserPrompt(kIdentityAlpha, value); + } } return CHIP_NO_ERROR; } @@ -942,7 +1034,7 @@ class Test_TC_I_3_1_SimulatedSuite : public TestCommand class Test_TC_PRS_3_1_SimulatedSuite : public TestCommand { public: - Test_TC_PRS_3_1_SimulatedSuite() : TestCommand("Test_TC_PRS_3_1_Simulated", 10) + Test_TC_PRS_3_1_SimulatedSuite() : TestCommand("Test_TC_PRS_3_1_Simulated", 11) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -974,6 +1066,10 @@ class Test_TC_PRS_3_1_SimulatedSuite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); shouldContinue = true; break; + case 10: + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); + shouldContinue = true; + break; default: LogErrorOnFailure(ContinueOnChipMainThread(CHIP_ERROR_INVALID_ARGUMENT)); } @@ -1031,6 +1127,19 @@ class Test_TC_PRS_3_1_SimulatedSuite : public TestCommand LogStep(9, "Read attribute: Scale"); return WaitAttribute(GetEndpoint(0), PressureMeasurement::Id, PressureMeasurement::Attributes::Scale::Id); } + case 10: { + LogStep(10, + "Configure TH such that it implements mandatory and none of the optional attributes of the server-side of the " + "cluster, and that it also reflects this in global attributes such as FeatureMap and AttributeList.Commission " + "DUT to TH again."); + VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + ListFreer listFreer; + chip::app::Clusters::LogCommands::Commands::UserPrompt::Type value; + value.message = chip::Span("Enter 'y' after successgarbage: not in length on purpose", 23); + value.expectedValue.Emplace(); + value.expectedValue.Value() = chip::Span("ygarbage: not in length on purpose", 1); + return UserPrompt(kIdentityAlpha, value); + } } return CHIP_NO_ERROR; } @@ -1224,7 +1333,7 @@ class Test_TC_PS_3_1_SimulatedSuite : public TestCommand class Test_TC_PSCFG_3_1_SimulatedSuite : public TestCommand { public: - Test_TC_PSCFG_3_1_SimulatedSuite() : TestCommand("Test_TC_PSCFG_3_1_Simulated", 2) + Test_TC_PSCFG_3_1_SimulatedSuite() : TestCommand("Test_TC_PSCFG_3_1_Simulated", 3) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -1256,6 +1365,10 @@ class Test_TC_PSCFG_3_1_SimulatedSuite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); shouldContinue = true; break; + case 2: + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); + shouldContinue = true; + break; default: LogErrorOnFailure(ContinueOnChipMainThread(CHIP_ERROR_INVALID_ARGUMENT)); } @@ -1281,6 +1394,19 @@ class Test_TC_PSCFG_3_1_SimulatedSuite : public TestCommand LogStep(1, "Read attribute: Sources"); return WaitAttribute(GetEndpoint(0), PowerSourceConfiguration::Id, PowerSourceConfiguration::Attributes::Sources::Id); } + case 2: { + LogStep(2, + "Configure TH such that it implements mandatory and none of the optional attributes of the server-side of the " + "cluster, and that it also reflects this in global attributes such as FeatureMap and AttributeList. Commission " + "DUT to TH again."); + VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + ListFreer listFreer; + chip::app::Clusters::LogCommands::Commands::UserPrompt::Type value; + value.message = chip::Span("Enter 'y' after successgarbage: not in length on purpose", 23); + value.expectedValue.Emplace(); + value.expectedValue.Value() = chip::Span("ygarbage: not in length on purpose", 1); + return UserPrompt(kIdentityAlpha, value); + } } return CHIP_NO_ERROR; } @@ -1370,7 +1496,7 @@ class Test_TC_RH_3_1_SimulatedSuite : public TestCommand class Test_TC_SWTCH_3_1_SimulatedSuite : public TestCommand { public: - Test_TC_SWTCH_3_1_SimulatedSuite() : TestCommand("Test_TC_SWTCH_3_1_Simulated", 4) + Test_TC_SWTCH_3_1_SimulatedSuite() : TestCommand("Test_TC_SWTCH_3_1_Simulated", 5) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -1402,6 +1528,10 @@ class Test_TC_SWTCH_3_1_SimulatedSuite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); shouldContinue = true; break; + case 4: + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); + shouldContinue = true; + break; default: LogErrorOnFailure(ContinueOnChipMainThread(CHIP_ERROR_INVALID_ARGUMENT)); } @@ -1435,6 +1565,19 @@ class Test_TC_SWTCH_3_1_SimulatedSuite : public TestCommand LogStep(3, "Read MultiPressMax attribute"); return WaitAttribute(GetEndpoint(0), Switch::Id, Switch::Attributes::MultiPressMax::Id); } + case 4: { + LogStep(4, + "Configure TH such that it implements mandatory and none of the optional attributes of the server-side of the " + "cluster, and that it also reflects this in global attributes such as FeatureMap and AttributeList. Commission " + "DUT to TH again."); + VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + ListFreer listFreer; + chip::app::Clusters::LogCommands::Commands::UserPrompt::Type value; + value.message = chip::Span("Enter 'y' after successgarbage: not in length on purpose", 23); + value.expectedValue.Emplace(); + value.expectedValue.Value() = chip::Span("ygarbage: not in length on purpose", 1); + return UserPrompt(kIdentityAlpha, value); + } } return CHIP_NO_ERROR; } @@ -1747,7 +1890,7 @@ class Test_TC_LUNIT_2_1_SimulatedSuite : public TestCommand return WaitAttribute(GetEndpoint(1), UnitLocalization::Id, UnitLocalization::Attributes::TemperatureUnit::Id); } case 2: { - LogStep(2, "DUT writes 3 to TemperatureUnit attribute on TH"); + LogStep(2, "DUT writes 2 to TemperatureUnit attribute on TH"); VerifyOrDo(!ShouldSkip("LUNIT.C.A0000"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(1), UnitLocalization::Id, UnitLocalization::Attributes::TemperatureUnit::Id); } @@ -1828,7 +1971,7 @@ class Test_TC_OCC_2_2_SimulatedSuite : public TestCommand return WaitAttribute(GetEndpoint(0), OccupancySensing::Id, OccupancySensing::Attributes::OccupancySensorType::Id); } case 3: { - LogStep(3, "DUT reads from the TH the (0x0002) OccupancySensorType attribute"); + LogStep(3, "DUT reads from the TH the (0x0002) OccupancySensorTypeBitmap attribute"); VerifyOrDo(!ShouldSkip("OCC.C.A0002"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), OccupancySensing::Id, OccupancySensing::Attributes::OccupancySensorTypeBitmap::Id); } diff --git a/zzz_generated/placeholder/app2/zap-generated/test/Commands.h b/zzz_generated/placeholder/app2/zap-generated/test/Commands.h index 0d4ba7e4832f6c..d843a18fefd79d 100644 --- a/zzz_generated/placeholder/app2/zap-generated/test/Commands.h +++ b/zzz_generated/placeholder/app2/zap-generated/test/Commands.h @@ -26,7 +26,7 @@ class Test_TC_BINFO_2_3_SimulatedSuite : public TestCommand { public: - Test_TC_BINFO_2_3_SimulatedSuite() : TestCommand("Test_TC_BINFO_2_3_Simulated", 21) + Test_TC_BINFO_2_3_SimulatedSuite() : TestCommand("Test_TC_BINFO_2_3_Simulated", 22) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -91,81 +91,105 @@ class Test_TC_BINFO_2_3_SimulatedSuite : public TestCommand return Log(kIdentityAlpha, value); } case 2: { - LogStep(2, "Query Data Model Revision"); + LogStep(2, "DUT reads DataModelRevision from the TH"); + VerifyOrDo(!ShouldSkip("BINFO.C.A0000"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), BasicInformation::Id, BasicInformation::Attributes::DataModelRevision::Id); } case 3: { - LogStep(3, "Query Vendor Name"); + LogStep(3, "DUT reads VendorName from the TH"); + VerifyOrDo(!ShouldSkip("BINFO.C.A0001"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), BasicInformation::Id, BasicInformation::Attributes::VendorName::Id); } case 4: { - LogStep(4, "Query VendorID"); + LogStep(4, "DUT reads VendorID from the TH"); + VerifyOrDo(!ShouldSkip("BINFO.C.A0002"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), BasicInformation::Id, BasicInformation::Attributes::VendorID::Id); } case 5: { - LogStep(5, "Query Product Name"); + LogStep(5, "DUT reads ProductName from the TH"); + VerifyOrDo(!ShouldSkip("BINFO.C.A0003"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), BasicInformation::Id, BasicInformation::Attributes::ProductName::Id); } case 6: { - LogStep(6, "Query ProductID"); + LogStep(6, "DUT reads ProductID from the TH"); + VerifyOrDo(!ShouldSkip("BINFO.C.A0004"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), BasicInformation::Id, BasicInformation::Attributes::ProductID::Id); } case 7: { - LogStep(7, "Query Node Label"); + LogStep(7, "DUT reads NodeLabel from the TH"); + VerifyOrDo(!ShouldSkip("BINFO.C.A0005"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), BasicInformation::Id, BasicInformation::Attributes::NodeLabel::Id); } case 8: { - LogStep(8, "Query User Location"); + LogStep(8, "DUT reads Location from the TH"); + VerifyOrDo(!ShouldSkip("BINFO.C.A0006"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), BasicInformation::Id, BasicInformation::Attributes::Location::Id); } case 9: { - LogStep(9, "Query HardwareVersion"); + LogStep(9, "DUT reads HardwareVersion from the TH"); + VerifyOrDo(!ShouldSkip("BINFO.C.A0007"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), BasicInformation::Id, BasicInformation::Attributes::HardwareVersion::Id); } case 10: { - LogStep(10, "Query HardwareVersionString"); + LogStep(10, "DUT reads HardwareVersionString from the TH"); + VerifyOrDo(!ShouldSkip("BINFO.C.A0008"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), BasicInformation::Id, BasicInformation::Attributes::HardwareVersionString::Id); } case 11: { - LogStep(11, "Query SoftwareVersion"); + LogStep(11, "DUT reads SoftwareVersion from the TH"); + VerifyOrDo(!ShouldSkip("BINFO.C.A0009"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), BasicInformation::Id, BasicInformation::Attributes::SoftwareVersion::Id); } case 12: { - LogStep(12, "Query SoftwareVersionString"); + LogStep(12, "DUT reads SoftwareVersionString from the TH"); + VerifyOrDo(!ShouldSkip("BINFO.C.A000a"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), BasicInformation::Id, BasicInformation::Attributes::SoftwareVersionString::Id); } case 13: { - LogStep(13, "Query ManufacturingDate"); + LogStep(13, "DUT reads ManufacturingDate from the TH"); + VerifyOrDo(!ShouldSkip("BINFO.C.A000b"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), BasicInformation::Id, BasicInformation::Attributes::ManufacturingDate::Id); } case 14: { - LogStep(14, "Query PartNumber"); + LogStep(14, "DUT reads PartNumber from the TH"); + VerifyOrDo(!ShouldSkip("BINFO.C.A000c"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), BasicInformation::Id, BasicInformation::Attributes::PartNumber::Id); } case 15: { - LogStep(15, "Query ProductURL"); + LogStep(15, "DUT reads ProductURL from the TH"); + VerifyOrDo(!ShouldSkip("BINFO.C.A000d"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), BasicInformation::Id, BasicInformation::Attributes::ProductURL::Id); } case 16: { - LogStep(16, "Query ProductLabel"); + LogStep(16, "DUT reads ProductLabel from the TH"); + VerifyOrDo(!ShouldSkip("BINFO.C.A000e"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), BasicInformation::Id, BasicInformation::Attributes::ProductLabel::Id); } case 17: { - LogStep(17, "Query SerialNumber"); + LogStep(17, "DUT reads SerialNumber from the TH"); + VerifyOrDo(!ShouldSkip("BINFO.C.A000f"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), BasicInformation::Id, BasicInformation::Attributes::SerialNumber::Id); } case 18: { - LogStep(18, "Query LocalConfigDisabled"); + LogStep(18, "DUT reads LocalConfigDisabled from the TH"); + VerifyOrDo(!ShouldSkip("BINFO.C.A0010"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), BasicInformation::Id, BasicInformation::Attributes::LocalConfigDisabled::Id); } case 19: { - LogStep(19, "Query Reachable"); + LogStep(19, "DUT reads Reachable from the TH"); + VerifyOrDo(!ShouldSkip("BINFO.C.A0011"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), BasicInformation::Id, BasicInformation::Attributes::Reachable::Id); } case 20: { - LogStep(20, "Query UniqueID"); + LogStep(20, "DUT reads UniqueID from the TH"); + VerifyOrDo(!ShouldSkip("BINFO.C.A0012"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), BasicInformation::Id, BasicInformation::Attributes::UniqueID::Id); } + case 21: { + LogStep(21, "DUT reads CapabilityMinima from the TH"); + VerifyOrDo(!ShouldSkip("BINFO.C.A0013"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + return WaitAttribute(GetEndpoint(0), BasicInformation::Id, BasicInformation::Attributes::CapabilityMinima::Id); + } } return CHIP_NO_ERROR; } @@ -174,7 +198,7 @@ class Test_TC_BINFO_2_3_SimulatedSuite : public TestCommand class Test_TC_ACT_3_1_SimulatedSuite : public TestCommand { public: - Test_TC_ACT_3_1_SimulatedSuite() : TestCommand("Test_TC_ACT_3_1_Simulated", 4) + Test_TC_ACT_3_1_SimulatedSuite() : TestCommand("Test_TC_ACT_3_1_Simulated", 5) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -206,6 +230,10 @@ class Test_TC_ACT_3_1_SimulatedSuite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); shouldContinue = true; break; + case 4: + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); + shouldContinue = true; + break; default: LogErrorOnFailure(ContinueOnChipMainThread(CHIP_ERROR_INVALID_ARGUMENT)); } @@ -239,6 +267,19 @@ class Test_TC_ACT_3_1_SimulatedSuite : public TestCommand LogStep(3, "Read attribute: SetupURL"); return WaitAttribute(GetEndpoint(0), Actions::Id, Actions::Attributes::SetupURL::Id); } + case 4: { + LogStep(4, + "Configure TH such that it implements mandatory and none of the optional attributes of the server-side of the " + "cluster, and that it also reflects this in global attributes such as FeatureMap and AttributeList.Commission " + "DUT to TH again"); + VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + ListFreer listFreer; + chip::app::Clusters::LogCommands::Commands::UserPrompt::Type value; + value.message = chip::Span("Enter 'y' after successgarbage: not in length on purpose", 23); + value.expectedValue.Emplace(); + value.expectedValue.Value() = chip::Span("ygarbage: not in length on purpose", 1); + return UserPrompt(kIdentityAlpha, value); + } } return CHIP_NO_ERROR; } @@ -247,7 +288,7 @@ class Test_TC_ACT_3_1_SimulatedSuite : public TestCommand class Test_TC_BOOL_3_1_SimulatedSuite : public TestCommand { public: - Test_TC_BOOL_3_1_SimulatedSuite() : TestCommand("Test_TC_BOOL_3_1_Simulated", 2) + Test_TC_BOOL_3_1_SimulatedSuite() : TestCommand("Test_TC_BOOL_3_1_Simulated", 3) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -279,6 +320,10 @@ class Test_TC_BOOL_3_1_SimulatedSuite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); shouldContinue = true; break; + case 2: + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); + shouldContinue = true; + break; default: LogErrorOnFailure(ContinueOnChipMainThread(CHIP_ERROR_INVALID_ARGUMENT)); } @@ -304,6 +349,19 @@ class Test_TC_BOOL_3_1_SimulatedSuite : public TestCommand LogStep(1, "Read attribute: StateValue"); return WaitAttribute(GetEndpoint(0), BooleanState::Id, BooleanState::Attributes::StateValue::Id); } + case 2: { + LogStep(2, + "Configure TH such that it implements mandatory and none of the optional attributes of the server-side of the " + "cluster, and that it also reflects this in global attributes such as FeatureMap and AttributeList.Commission " + "DUT to TH again"); + VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + ListFreer listFreer; + chip::app::Clusters::LogCommands::Commands::UserPrompt::Type value; + value.message = chip::Span("Enter 'y' after successgarbage: not in length on purpose", 23); + value.expectedValue.Emplace(); + value.expectedValue.Value() = chip::Span("ygarbage: not in length on purpose", 1); + return UserPrompt(kIdentityAlpha, value); + } } return CHIP_NO_ERROR; } @@ -722,7 +780,7 @@ class Test_TC_DGWIFI_3_1_SimulatedSuite : public TestCommand class Test_TC_FLW_3_1_SimulatedSuite : public TestCommand { public: - Test_TC_FLW_3_1_SimulatedSuite() : TestCommand("Test_TC_FLW_3_1_Simulated", 5) + Test_TC_FLW_3_1_SimulatedSuite() : TestCommand("Test_TC_FLW_3_1_Simulated", 6) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -754,6 +812,10 @@ class Test_TC_FLW_3_1_SimulatedSuite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); shouldContinue = true; break; + case 5: + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); + shouldContinue = true; + break; default: LogErrorOnFailure(ContinueOnChipMainThread(CHIP_ERROR_INVALID_ARGUMENT)); } @@ -791,6 +853,19 @@ class Test_TC_FLW_3_1_SimulatedSuite : public TestCommand LogStep(4, "Read attribute: Tolerance"); return WaitAttribute(GetEndpoint(0), FlowMeasurement::Id, FlowMeasurement::Attributes::Tolerance::Id); } + case 5: { + LogStep(5, + "Configure TH such that it implements mandatory and none of the optional attributes of the server-side of the " + "cluster, and that it also reflects this in global attributes such as FeatureMap and AttributeList. Commission " + "DUT to TH again."); + VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + ListFreer listFreer; + chip::app::Clusters::LogCommands::Commands::UserPrompt::Type value; + value.message = chip::Span("Enter 'y' after successgarbage: not in length on purpose", 23); + value.expectedValue.Emplace(); + value.expectedValue.Value() = chip::Span("ygarbage: not in length on purpose", 1); + return UserPrompt(kIdentityAlpha, value); + } } return CHIP_NO_ERROR; } @@ -865,7 +940,7 @@ class Test_TC_G_3_1_SimulatedSuite : public TestCommand class Test_TC_I_3_1_SimulatedSuite : public TestCommand { public: - Test_TC_I_3_1_SimulatedSuite() : TestCommand("Test_TC_I_3_1_Simulated", 5) + Test_TC_I_3_1_SimulatedSuite() : TestCommand("Test_TC_I_3_1_Simulated", 6) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -897,6 +972,10 @@ class Test_TC_I_3_1_SimulatedSuite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); shouldContinue = true; break; + case 5: + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); + shouldContinue = true; + break; default: LogErrorOnFailure(ContinueOnChipMainThread(CHIP_ERROR_INVALID_ARGUMENT)); } @@ -934,6 +1013,19 @@ class Test_TC_I_3_1_SimulatedSuite : public TestCommand LogStep(4, "Read attribute: identifytype"); return WaitAttribute(GetEndpoint(1), Identify::Id, Identify::Attributes::IdentifyType::Id); } + case 5: { + LogStep(5, + "Configure TH such that it implements mandatory and none of the optional attributes of the server-side of the " + "cluster, and that it also reflects this in global attributes such as FeatureMap and AttributeList.Commission " + "DUT to TH again"); + VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + ListFreer listFreer; + chip::app::Clusters::LogCommands::Commands::UserPrompt::Type value; + value.message = chip::Span("Enter 'y' after successgarbage: not in length on purpose", 23); + value.expectedValue.Emplace(); + value.expectedValue.Value() = chip::Span("ygarbage: not in length on purpose", 1); + return UserPrompt(kIdentityAlpha, value); + } } return CHIP_NO_ERROR; } @@ -942,7 +1034,7 @@ class Test_TC_I_3_1_SimulatedSuite : public TestCommand class Test_TC_PRS_3_1_SimulatedSuite : public TestCommand { public: - Test_TC_PRS_3_1_SimulatedSuite() : TestCommand("Test_TC_PRS_3_1_Simulated", 10) + Test_TC_PRS_3_1_SimulatedSuite() : TestCommand("Test_TC_PRS_3_1_Simulated", 11) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -974,6 +1066,10 @@ class Test_TC_PRS_3_1_SimulatedSuite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); shouldContinue = true; break; + case 10: + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); + shouldContinue = true; + break; default: LogErrorOnFailure(ContinueOnChipMainThread(CHIP_ERROR_INVALID_ARGUMENT)); } @@ -1031,6 +1127,19 @@ class Test_TC_PRS_3_1_SimulatedSuite : public TestCommand LogStep(9, "Read attribute: Scale"); return WaitAttribute(GetEndpoint(0), PressureMeasurement::Id, PressureMeasurement::Attributes::Scale::Id); } + case 10: { + LogStep(10, + "Configure TH such that it implements mandatory and none of the optional attributes of the server-side of the " + "cluster, and that it also reflects this in global attributes such as FeatureMap and AttributeList.Commission " + "DUT to TH again."); + VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + ListFreer listFreer; + chip::app::Clusters::LogCommands::Commands::UserPrompt::Type value; + value.message = chip::Span("Enter 'y' after successgarbage: not in length on purpose", 23); + value.expectedValue.Emplace(); + value.expectedValue.Value() = chip::Span("ygarbage: not in length on purpose", 1); + return UserPrompt(kIdentityAlpha, value); + } } return CHIP_NO_ERROR; } @@ -1224,7 +1333,7 @@ class Test_TC_PS_3_1_SimulatedSuite : public TestCommand class Test_TC_PSCFG_3_1_SimulatedSuite : public TestCommand { public: - Test_TC_PSCFG_3_1_SimulatedSuite() : TestCommand("Test_TC_PSCFG_3_1_Simulated", 2) + Test_TC_PSCFG_3_1_SimulatedSuite() : TestCommand("Test_TC_PSCFG_3_1_Simulated", 3) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -1256,6 +1365,10 @@ class Test_TC_PSCFG_3_1_SimulatedSuite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); shouldContinue = true; break; + case 2: + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); + shouldContinue = true; + break; default: LogErrorOnFailure(ContinueOnChipMainThread(CHIP_ERROR_INVALID_ARGUMENT)); } @@ -1281,6 +1394,19 @@ class Test_TC_PSCFG_3_1_SimulatedSuite : public TestCommand LogStep(1, "Read attribute: Sources"); return WaitAttribute(GetEndpoint(0), PowerSourceConfiguration::Id, PowerSourceConfiguration::Attributes::Sources::Id); } + case 2: { + LogStep(2, + "Configure TH such that it implements mandatory and none of the optional attributes of the server-side of the " + "cluster, and that it also reflects this in global attributes such as FeatureMap and AttributeList. Commission " + "DUT to TH again."); + VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + ListFreer listFreer; + chip::app::Clusters::LogCommands::Commands::UserPrompt::Type value; + value.message = chip::Span("Enter 'y' after successgarbage: not in length on purpose", 23); + value.expectedValue.Emplace(); + value.expectedValue.Value() = chip::Span("ygarbage: not in length on purpose", 1); + return UserPrompt(kIdentityAlpha, value); + } } return CHIP_NO_ERROR; } @@ -1370,7 +1496,7 @@ class Test_TC_RH_3_1_SimulatedSuite : public TestCommand class Test_TC_SWTCH_3_1_SimulatedSuite : public TestCommand { public: - Test_TC_SWTCH_3_1_SimulatedSuite() : TestCommand("Test_TC_SWTCH_3_1_Simulated", 4) + Test_TC_SWTCH_3_1_SimulatedSuite() : TestCommand("Test_TC_SWTCH_3_1_Simulated", 5) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -1402,6 +1528,10 @@ class Test_TC_SWTCH_3_1_SimulatedSuite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); shouldContinue = true; break; + case 4: + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); + shouldContinue = true; + break; default: LogErrorOnFailure(ContinueOnChipMainThread(CHIP_ERROR_INVALID_ARGUMENT)); } @@ -1435,6 +1565,19 @@ class Test_TC_SWTCH_3_1_SimulatedSuite : public TestCommand LogStep(3, "Read MultiPressMax attribute"); return WaitAttribute(GetEndpoint(0), Switch::Id, Switch::Attributes::MultiPressMax::Id); } + case 4: { + LogStep(4, + "Configure TH such that it implements mandatory and none of the optional attributes of the server-side of the " + "cluster, and that it also reflects this in global attributes such as FeatureMap and AttributeList. Commission " + "DUT to TH again."); + VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + ListFreer listFreer; + chip::app::Clusters::LogCommands::Commands::UserPrompt::Type value; + value.message = chip::Span("Enter 'y' after successgarbage: not in length on purpose", 23); + value.expectedValue.Emplace(); + value.expectedValue.Value() = chip::Span("ygarbage: not in length on purpose", 1); + return UserPrompt(kIdentityAlpha, value); + } } return CHIP_NO_ERROR; } @@ -1747,7 +1890,7 @@ class Test_TC_LUNIT_2_1_SimulatedSuite : public TestCommand return WaitAttribute(GetEndpoint(1), UnitLocalization::Id, UnitLocalization::Attributes::TemperatureUnit::Id); } case 2: { - LogStep(2, "DUT writes 3 to TemperatureUnit attribute on TH"); + LogStep(2, "DUT writes 2 to TemperatureUnit attribute on TH"); VerifyOrDo(!ShouldSkip("LUNIT.C.A0000"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(1), UnitLocalization::Id, UnitLocalization::Attributes::TemperatureUnit::Id); } @@ -1828,7 +1971,7 @@ class Test_TC_OCC_2_2_SimulatedSuite : public TestCommand return WaitAttribute(GetEndpoint(0), OccupancySensing::Id, OccupancySensing::Attributes::OccupancySensorType::Id); } case 3: { - LogStep(3, "DUT reads from the TH the (0x0002) OccupancySensorType attribute"); + LogStep(3, "DUT reads from the TH the (0x0002) OccupancySensorTypeBitmap attribute"); VerifyOrDo(!ShouldSkip("OCC.C.A0002"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return WaitAttribute(GetEndpoint(0), OccupancySensing::Id, OccupancySensing::Attributes::OccupancySensorTypeBitmap::Id); }