Skip to content

Commit a55a477

Browse files
Updates logs
1 parent 1e58f96 commit a55a477

File tree

2 files changed

+130
-131
lines changed

2 files changed

+130
-131
lines changed

src/app/tests/suites/certification/Test_TC_S_2_5.yaml

+95-95
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ tests:
2727
- label: "Precondition"
2828
verification: |
2929
- Commission DUT to TH
30-
- A given fabric SHALL NOT consume more than half (rounded down towards 0) of the Scene Table entries (as indicated in the SceneTableSize attribute).
31-
- MaxRemainingCapacity is SceneTableSize/2.
30+
- The Scene Table capacity for a given fabric SHALL be less than half (rounded down towards 0) of the Scene Table entries (as indicated in the SceneTableSize attribute).
31+
- MaxRemainingCapacity is (SceneTableSize-1)/2.
3232
disabled: true
3333

3434
- label:
@@ -181,56 +181,56 @@ tests:
181181
182182
Set up the subscription between DUT and TH by sending the command mentioned below, and verify that the subscription is activated successfully
183183
184-
scenesmanagement subscribe fabric-scene-info 0 200 1 1
184+
scenesmanagement subscribe fabric-scene-info 5 100 1 1
185185
186186
Verify the DUT sends a report data for FabricSceneInfo after the MinIntervalFloor time; store the RemainingCapacity field from this fabric’s entry reported in FabricSceneInfo into RemainingCapacity and is equals to (MaxRemainingCapacity) on the TH (Chip-tool) and below is the sample log provided for the raspi platform:
187187
188-
[1706764401.002841][4438:4440] CHIP:DMG: ReportDataMessage =
189-
[1706764401.002862][4438:4440] CHIP:DMG: {
190-
[1706764401.002879][4438:4440] CHIP:DMG: SubscriptionId = 0x679cab48,
191-
[1706764401.002891][4438:4440] CHIP:DMG: AttributeReportIBs =
192-
[1706764401.002916][4438:4440] CHIP:DMG: [
193-
[1706764401.002926][4438:4440] CHIP:DMG: AttributeReportIB =
194-
[1706764401.002950][4438:4440] CHIP:DMG: {
195-
[1706764401.002960][4438:4440] CHIP:DMG: AttributeDataIB =
196-
[1706764401.002972][4438:4440] CHIP:DMG: {
197-
[1706764401.002985][4438:4440] CHIP:DMG: DataVersion = 0xec4c4ebe,
198-
[1706764401.002996][4438:4440] CHIP:DMG: AttributePathIB =
199-
[1706764401.003008][4438:4440] CHIP:DMG: {
200-
[1706764401.003021][4438:4440] CHIP:DMG: Endpoint = 0x1,
201-
[1706764401.003035][4438:4440] CHIP:DMG: Cluster = 0x62,
202-
[1706764401.003048][4438:4440] CHIP:DMG: Attribute = 0x0000_0002,
203-
[1706764401.003059][4438:4440] CHIP:DMG: }
204-
[1706764401.003076][4438:4440] CHIP:DMG:
205-
[1706764401.003088][4438:4440] CHIP:DMG: Data = [
206-
[1706764401.003105][4438:4440] CHIP:DMG:
207-
[1706764401.003121][4438:4440] CHIP:DMG: {
208-
[1706764401.003136][4438:4440] CHIP:DMG: 0x0 = 0,
209-
[1706764401.003150][4438:4440] CHIP:DMG: 0x1 = 1,
210-
[1706764401.003162][4438:4440] CHIP:DMG: 0x2 = 1,
211-
[1706764401.003175][4438:4440] CHIP:DMG: 0x3 = false,
212-
[1706764401.003190][4438:4440] CHIP:DMG: 0x4 = 7,
213-
[1706764401.003203][4438:4440] CHIP:DMG: 0xfe = 1,
214-
[1706764401.003216][4438:4440] CHIP:DMG: },
215-
[1706764401.003229][4438:4440] CHIP:DMG: ],
216-
[1706764401.003239][4438:4440] CHIP:DMG: },
217-
[1706764401.003260][4438:4440] CHIP:DMG:
218-
[1706764401.003270][4438:4440] CHIP:DMG: },
219-
[1706764401.003292][4438:4440] CHIP:DMG:
220-
[1706764401.003301][4438:4440] CHIP:DMG: ],
221-
[1706764401.003324][4438:4440] CHIP:DMG:
222-
[1706764401.003334][4438:4440] CHIP:DMG: InteractionModelRevision = 11
223-
[1706764401.003343][4438:4440] CHIP:DMG: }
224-
[1706764401.003557][4438:4440] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0062 Attribute 0x0000_0002 DataVersion: 3964423870
225-
[1706764401.003615][4438:4440] CHIP:TOO: FabricSceneInfo: 1 entries
226-
[1706764401.003676][4438:4440] CHIP:TOO: [1]: {
227-
[1706764401.003698][4438:4440] CHIP:TOO: SceneCount: 0
228-
[1706764401.003708][4438:4440] CHIP:TOO: CurrentScene: 1
229-
[1706764401.003718][4438:4440] CHIP:TOO: CurrentGroup: 1
230-
[1706764401.003728][4438:4440] CHIP:TOO: SceneValid: FALSE
231-
[1706764401.003740][4438:4440] CHIP:TOO: RemainingCapacity: 7
232-
[1706764401.003750][4438:4440] CHIP:TOO: FabricIndex: 1
233-
[1706764401.003761][4438:4440] CHIP:TOO: }
188+
[1720506229.849] [3777:3779] [DMG] ReportDataMessage =
189+
[1720506229.849] [3777:3779] [DMG] {
190+
[1720506229.849] [3777:3779] [DMG] SubscriptionId = 0x5da2bd16,
191+
[1720506229.849] [3777:3779] [DMG] AttributeReportIBs =
192+
[1720506229.849] [3777:3779] [DMG] [
193+
[1720506229.849] [3777:3779] [DMG] AttributeReportIB =
194+
[1720506229.849] [3777:3779] [DMG] {
195+
[1720506229.849] [3777:3779] [DMG] AttributeDataIB =
196+
[1720506229.850] [3777:3779] [DMG] {
197+
[1720506229.850] [3777:3779] [DMG] DataVersion = 0xdcafe47f,
198+
[1720506229.850] [3777:3779] [DMG] AttributePathIB =
199+
[1720506229.850] [3777:3779] [DMG] {
200+
[1720506229.850] [3777:3779] [DMG] Endpoint = 0x1,
201+
[1720506229.850] [3777:3779] [DMG] Cluster = 0x62,
202+
[1720506229.850] [3777:3779] [DMG] Attribute = 0x0000_0002,
203+
[1720506229.850] [3777:3779] [DMG] }
204+
[1720506229.850] [3777:3779] [DMG]
205+
[1720506229.850] [3777:3779] [DMG] Data = [
206+
[1720506229.850] [3777:3779] [DMG]
207+
[1720506229.850] [3777:3779] [DMG] {
208+
[1720506229.850] [3777:3779] [DMG] 0x0 = 0 (unsigned),
209+
[1720506229.850] [3777:3779] [DMG] 0x1 = 0 (unsigned),
210+
[1720506229.850] [3777:3779] [DMG] 0x2 = 0 (unsigned),
211+
[1720506229.850] [3777:3779] [DMG] 0x3 = false,
212+
[1720506229.850] [3777:3779] [DMG] 0x4 = 7 (unsigned),
213+
[1720506229.850] [3777:3779] [DMG] 0xfe = 1 (unsigned),
214+
[1720506229.850] [3777:3779] [DMG] },
215+
[1720506229.851] [3777:3779] [DMG] ],
216+
[1720506229.851] [3777:3779] [DMG] },
217+
[1720506229.851] [3777:3779] [DMG]
218+
[1720506229.851] [3777:3779] [DMG] },
219+
[1720506229.851] [3777:3779] [DMG]
220+
[1720506229.851] [3777:3779] [DMG] ],
221+
[1720506229.851] [3777:3779] [DMG]
222+
[1720506229.851] [3777:3779] [DMG] InteractionModelRevision = 11
223+
[1720506229.851] [3777:3779] [DMG] }
224+
[1720506229.851] [3777:3779] [TOO] Endpoint: 1 Cluster: 0x0000_0062 Attribute 0x0000_0002 DataVersion: 3702514815
225+
[1720506229.851] [3777:3779] [TOO] FabricSceneInfo: 1 entries
226+
[1720506229.851] [3777:3779] [TOO] [1]: {
227+
[1720506229.852] [3777:3779] [TOO] SceneCount: 0
228+
[1720506229.852] [3777:3779] [TOO] CurrentScene: 0
229+
[1720506229.852] [3777:3779] [TOO] CurrentGroup: 0
230+
[1720506229.852] [3777:3779] [TOO] SceneValid: FALSE
231+
[1720506229.852] [3777:3779] [TOO] RemainingCapacity: 7
232+
[1720506229.852] [3777:3779] [TOO] FabricIndex: 1
233+
[1720506229.852] [3777:3779] [TOO] }
234234
disabled: true
235235

236236
- label:
@@ -275,52 +275,52 @@ tests:
275275
verification: |
276276
Verify that the DUT sends a report data for FabricSceneInfo after the MinIntervalFloor time; store the RemainingCapacity field from this fabric’s entry reported in FabricSceneInfo into RemainingCapacity and is equals to (MaxRemainingCapacity-1).
277277
278-
[1706764465.493922][4438:4440] CHIP:DMG: ReportDataMessage =
279-
[1706764465.493926][4438:4440] CHIP:DMG: {
280-
[1706764465.493928][4438:4440] CHIP:DMG: SubscriptionId = 0xcd5a528f,
281-
[1706764465.493931][4438:4440] CHIP:DMG: AttributeReportIBs =
282-
[1706764465.493937][4438:4440] CHIP:DMG: [
283-
[1706764465.493939][4438:4440] CHIP:DMG: AttributeReportIB =
284-
[1706764465.493944][4438:4440] CHIP:DMG: {
285-
[1706764465.493947][4438:4440] CHIP:DMG: AttributeDataIB =
286-
[1706764465.493949][4438:4440] CHIP:DMG: {
287-
[1706764465.493952][4438:4440] CHIP:DMG: DataVersion = 0xec4c4ec0,
288-
[1706764465.493955][4438:4440] CHIP:DMG: AttributePathIB =
289-
[1706764465.493958][4438:4440] CHIP:DMG: {
290-
[1706764465.493961][4438:4440] CHIP:DMG: Endpoint = 0x1,
291-
[1706764465.493963][4438:4440] CHIP:DMG: Cluster = 0x62,
292-
[1706764465.493966][4438:4440] CHIP:DMG: Attribute = 0x0000_0002,
293-
[1706764465.493969][4438:4440] CHIP:DMG: }
294-
[1706764465.493974][4438:4440] CHIP:DMG:
295-
[1706764465.493979][4438:4440] CHIP:DMG: Data = [
296-
[1706764465.493985][4438:4440] CHIP:DMG:
297-
[1706764465.493990][4438:4440] CHIP:DMG: {
298-
[1706764465.493997][4438:4440] CHIP:DMG: 0x0 = 1,
299-
[1706764465.494002][4438:4440] CHIP:DMG: 0x1 = 1,
300-
[1706764465.494007][4438:4440] CHIP:DMG: 0x2 = 1,
301-
[1706764465.494013][4438:4440] CHIP:DMG: 0x3 = false,
302-
[1706764465.494018][4438:4440] CHIP:DMG: 0x4 = 6,
303-
[1706764465.494023][4438:4440] CHIP:DMG: 0xfe = 1,
304-
[1706764465.494029][4438:4440] CHIP:DMG: },
305-
[1706764465.494034][4438:4440] CHIP:DMG: ],
306-
[1706764465.494038][4438:4440] CHIP:DMG: },
307-
[1706764465.494047][4438:4440] CHIP:DMG:
308-
[1706764465.494050][4438:4440] CHIP:DMG: },
309-
[1706764465.494059][4438:4440] CHIP:DMG:
310-
[1706764465.494062][4438:4440] CHIP:DMG: ],
311-
[1706764465.494070][4438:4440] CHIP:DMG:
312-
[1706764465.494073][4438:4440] CHIP:DMG: InteractionModelRevision = 11
313-
[1706764465.494077][4438:4440] CHIP:DMG: }
314-
[1706764465.494130][4438:4440] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0062 Attribute 0x0000_0002 DataVersion: 3964423872
315-
[1706764465.494142][4438:4440] CHIP:TOO: FabricSceneInfo: 1 entries
316-
[1706764465.494152][4438:4440] CHIP:TOO: [1]: {
317-
[1706764465.494155][4438:4440] CHIP:TOO: SceneCount: 1
318-
[1706764465.494158][4438:4440] CHIP:TOO: CurrentScene: 1
319-
[1706764465.494161][4438:4440] CHIP:TOO: CurrentGroup: 1
320-
[1706764465.494164][4438:4440] CHIP:TOO: SceneValid: FALSE
321-
[1706764465.494167][4438:4440] CHIP:TOO: RemainingCapacity: 6
322-
[1706764465.494170][4438:4440] CHIP:TOO: FabricIndex: 1
323-
[1706764465.494174][4438:4440] CHIP:TOO: }
278+
[1720506650.012] [3835:3837] [DMG] ReportDataMessage =
279+
[1720506650.012] [3835:3837] [DMG] {
280+
[1720506650.012] [3835:3837] [DMG] SubscriptionId = 0x8e3fb466,
281+
[1720506650.012] [3835:3837] [DMG] AttributeReportIBs =
282+
[1720506650.012] [3835:3837] [DMG] [
283+
[1720506650.012] [3835:3837] [DMG] AttributeReportIB =
284+
[1720506650.012] [3835:3837] [DMG] {
285+
[1720506650.012] [3835:3837] [DMG] AttributeDataIB =
286+
[1720506650.012] [3835:3837] [DMG] {
287+
[1720506650.013] [3835:3837] [DMG] DataVersion = 0xd2aec24e,
288+
[1720506650.013] [3835:3837] [DMG] AttributePathIB =
289+
[1720506650.013] [3835:3837] [DMG] {
290+
[1720506650.013] [3835:3837] [DMG] Endpoint = 0x1,
291+
[1720506650.013] [3835:3837] [DMG] Cluster = 0x62,
292+
[1720506650.013] [3835:3837] [DMG] Attribute = 0x0000_0002,
293+
[1720506650.013] [3835:3837] [DMG] }
294+
[1720506650.013] [3835:3837] [DMG]
295+
[1720506650.013] [3835:3837] [DMG] Data = [
296+
[1720506650.014] [3835:3837] [DMG]
297+
[1720506650.014] [3835:3837] [DMG] {
298+
[1720506650.014] [3835:3837] [DMG] 0x0 = 1 (unsigned),
299+
[1720506650.014] [3835:3837] [DMG] 0x1 = 0 (unsigned),
300+
[1720506650.014] [3835:3837] [DMG] 0x2 = 0 (unsigned),
301+
[1720506650.014] [3835:3837] [DMG] 0x3 = false,
302+
[1720506650.014] [3835:3837] [DMG] 0x4 = 6 (unsigned),
303+
[1720506650.014] [3835:3837] [DMG] 0xfe = 1 (unsigned),
304+
[1720506650.014] [3835:3837] [DMG] },
305+
[1720506650.015] [3835:3837] [DMG] ],
306+
[1720506650.015] [3835:3837] [DMG] },
307+
[1720506650.015] [3835:3837] [DMG]
308+
[1720506650.015] [3835:3837] [DMG] },
309+
[1720506650.015] [3835:3837] [DMG]
310+
[1720506650.015] [3835:3837] [DMG] ],
311+
[1720506650.015] [3835:3837] [DMG]
312+
[1720506650.015] [3835:3837] [DMG] InteractionModelRevision = 11
313+
[1720506650.015] [3835:3837] [DMG] }
314+
[1720506650.016] [3835:3837] [TOO] Endpoint: 1 Cluster: 0x0000_0062 Attribute 0x0000_0002 DataVersion: 3534668366
315+
[1720506650.016] [3835:3837] [TOO] FabricSceneInfo: 1 entries
316+
[1720506650.016] [3835:3837] [TOO] [1]: {
317+
[1720506650.016] [3835:3837] [TOO] SceneCount: 1
318+
[1720506650.016] [3835:3837] [TOO] CurrentScene: 0
319+
[1720506650.016] [3835:3837] [TOO] CurrentGroup: 0
320+
[1720506650.016] [3835:3837] [TOO] SceneValid: FALSE
321+
[1720506650.016] [3835:3837] [TOO] RemainingCapacity: 6
322+
[1720506650.016] [3835:3837] [TOO] FabricIndex: 1
323+
[1720506650.016] [3835:3837] [TOO] }
324324
disabled: true
325325

326326
- label:

0 commit comments

Comments
 (0)