Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[matter_yamltests] Add a dedicated class to load the yaml, enforce ty… #24975

Merged
merged 1 commit into from
Feb 14, 2023

Conversation

vivien-apple
Copy link
Contributor

…pes, validate keywords, and add some implicit rules checking

Problem

When loading yaml test files with the python parser, most of the expectations about types of the yaml schema are fine. But this is mostly because it was enforced by the strong type checking that was existing before running dynamically as it was generating code that needs to be compiled.

This PR adds a dedicated YamlLoader class with various tests to matter_yamltests. This class loads a yaml file and check that it is a proper yaml 'test' file.
In summary it adds:

  • type checking for keywords
  • validate the allowed keywords even for disabled tests
  • Add some implicit rules about the yaml grammar, e.g:
    • nodeId and groupId can not coexists
    • Group messages does not expect responses:
    • A lot of tests for invalid yaml test

Most of the additional code in this PR comes from the tests, the rest is just adding types to the list of allowed keywords plus the addition of those implicit rules.

@github-actions
Copy link

PR #24975: Size comparison from bbfd5d6 to f781eee

Full report (2 builds for cc32xx, mbed)
platform target config section bbfd5d6 f781eee change % change
cc32xx lock CC3235SF_LAUNCHXL 0 0 0 0.0
(read only) 640233 640233 0 0.0
(read/write) 204084 204084 0 0.0
.ARM.attributes 44 44 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 197488 197488 0 0.0
.comment 194 194 0 0.0
.data 1476 1476 0 0.0
.debug_abbrev 928439 928439 0 0.0
.debug_aranges 87352 87352 0 0.0
.debug_frame 299840 299840 0 0.0
.debug_info 20194444 20194444 0 0.0
.debug_line 2649825 2649825 0 0.0
.debug_loc 2785969 2785969 0 0.0
.debug_ranges 280696 280696 0 0.0
.debug_str 3001474 3001474 0 0.0
.ramVecs 780 780 0 0.0
.resetVecs 64 64 0 0.0
.rodata 105585 105585 0 0.0
.shstrtab 232 232 0 0.0
.stab 204 204 0 0.0
.stabstr 441 441 0 0.0
.stack 2048 2048 0 0.0
.strtab 375840 375840 0 0.0
.symtab 255856 255856 0 0.0
.text 532524 532524 0 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2464576 2464576 0 0.0
.bss 215892 215892 0 0.0
.data 5880 5880 0 0.0
.text 1427220 1427220 0 0.0

@github-actions
Copy link

github-actions bot commented Feb 13, 2023

PR #24975: Size comparison from bbfd5d6 to c2fbfd4

Increases (9 builds for bl602, bl702, cc13x2_26x2, psoc6, qpg, telink)
platform target config section bbfd5d6 c2fbfd4 change % change
bl602 lighting-app bl602+rpc (read/write) 1392038 1392046 8 0.0
.text 1054256 1054258 2 0.0
bl702 lighting-app bl702+rpc .debug_info 44938460 44938461 1 0.0
.text 1029630 1029632 2 0.0
cc13x2_26x2 pump-app LP_CC2652R7 (read only) 687835 687843 8 0.0
.text 596624 596632 8 0.0
psoc6 all-clusters cy8ckit_062s2_43012 .debug_info 27913129 27913130 1 0.0
qpg lock-app qpg6105+debug (read/write) 1116728 1116736 8 0.0
.text 563824 563832 8 0.0
telink contact-sensor-app tlsr9518adk80d text 577754 577756 2 0.0
light-switch-app tlsr9518adk80d (read/write) 870520 870528 8 0.0
text 591796 591798 2 0.0
lighting-app tlsr9518adk80d text 657198 657202 4 0.0
ota-requestor-app tlsr9518adk80d text 601542 601544 2 0.0
Decreases (3 builds for cc13x2_26x2, psoc6)
platform target config section bbfd5d6 c2fbfd4 change % change
cc13x2_26x2 all-clusters-minimal-app LP_CC2652R7 (read only) 642019 642011 -8 -0.0
.text 563560 563552 -8 -0.0
pump-app LP_CC2652R7 (read/write) 161428 161420 -8 -0.0
psoc6 light cy8ckit_062s2_43012 .debug_info 22795183 22795182 -1 -0.0
Full report (37 builds for bl602, bl702, cc13x2_26x2, cc32xx, cyw30739, k32w, linux, mbed, nrfconnect, psoc6, qpg, telink)
platform target config section bbfd5d6 c2fbfd4 change % change
bl602 lighting-app bl602 (read/write) 1346622 1346622 0 0.0
.bss 94802 94802 0 0.0
.data 9736 9736 0 0.0
.text 1023322 1023322 0 0.0
bl602+rpc (read/write) 1392038 1392046 8 0.0
.bss 102850 102850 0 0.0
.data 10128 10128 0 0.0
.text 1054256 1054258 2 0.0
bl702 lighting-app bl702 (read only) 3358 3358 0 0.0
(read/write) 1184667 1184667 0 0.0
.bleromro 6342 6342 0 0.0
.bleromrw 124 124 0 0.0
.boot2 292 292 0 0.0
.bss 69905 69905 0 0.0
.bss_psram 30048 30048 0 0.0
.comment 48 48 0 0.0
.data 4056 4056 0 0.0
.debug_abbrev 1550382 1550382 0 0.0
.debug_aranges 134192 134192 0 0.0
.debug_frame 491492 491492 0 0.0
.debug_info 40536270 40536270 0 0.0
.debug_line 5273008 5273008 0 0.0
.debug_loc 3409468 3409468 0 0.0
.debug_ranges 371752 371752 0 0.0
.debug_str 3558337 3558337 0 0.0
.hbn 536 536 0 0.0
.hbn_noinit 260 260 0 0.0
.init 342 342 0 0.0
.init_array 144 144 0 0.0
.psram 0 0 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 107136 107136 0 0.0
.rsvd 2960 2960 0 0.0
.sha_ocram 72 72 0 0.0
.shstrtab 304 304 0 0.0
.stack 2048 2048 0 0.0
.strtab 572518 572518 0 0.0
.symtab 173424 173424 0 0.0
.tcm_data 36 36 0 0.0
.tcmcode 3358 3358 0 0.0
.text 0 0 0 0.0
952436 952436 0 0.0
bl702+rpc (read only) 3358 3358 0 0.0
(read/write) 1277551 1277551 0 0.0
.bleromro 6342 6342 0 0.0
.bleromrw 124 124 0 0.0
.boot2 292 292 0 0.0
.bss 77953 77953 0 0.0
.bss_psram 30304 30304 0 0.0
.comment 48 48 0 0.0
.data 4608 4608 0 0.0
.debug_abbrev 1698796 1698796 0 0.0
.debug_aranges 142424 142424 0 0.0
.debug_frame 519236 519236 0 0.0
.debug_info 44938460 44938461 1 0.0
.debug_line 5671715 5671715 0 0.0
.debug_loc 3606256 3606256 0 0.0
.debug_ranges 395520 395520 0 0.0
.debug_str 3961701 3961701 0 0.0
.hbn 536 536 0 0.0
.hbn_noinit 260 260 0 0.0
.init 342 342 0 0.0
.init_array 160 160 0 0.0
.psram 0 0 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 121712 121712 0 0.0
.rsvd 2960 2960 0 0.0
.sha_ocram 72 72 0 0.0
.shstrtab 304 304 0 0.0
.stack 2048 2048 0 0.0
.strtab 633311 633311 0 0.0
.symtab 191840 191840 0 0.0
.tcm_data 36 36 0 0.0
.tcmcode 3358 3358 0 0.0
.text 0 0 0 0.0
1029630 1029632 2 0.0
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 678195 678195 0 0.0
(read/write) 172988 172988 0 0.0
.bss 80876 80876 0 0.0
.data 3384 3384 0 0.0
.rodata 88347 88347 0 0.0
.text 589532 589532 0 0.0
all-clusters-minimal-app LP_CC2652R7 (read only) 642019 642011 -8 -0.0
(read/write) 157568 157568 0 0.0
.bss 80068 80068 0 0.0
.data 3384 3384 0 0.0
.rodata 78139 78139 0 0.0
.text 563560 563552 -8 -0.0
lock-ftd LP_CC2652R7 (read only) 674831 674831 0 0.0
(read/write) 173696 173696 0 0.0
.bss 78308 78308 0 0.0
.data 3312 3312 0 0.0
.rodata 76647 76647 0 0.0
.text 597704 597704 0 0.0
lock-mtd LP_CC2652R7 (read only) 661479 661479 0 0.0
(read/write) 182312 182312 0 0.0
.bss 73572 73572 0 0.0
.data 3312 3312 0 0.0
.rodata 103215 103215 0 0.0
.text 557784 557784 0 0.0
pump-app LP_CC2652R7 (read only) 687835 687843 8 0.0
(read/write) 161428 161420 -8 -0.0
.bss 78276 78276 0 0.0
.data 3276 3276 0 0.0
.rodata 90731 90731 0 0.0
.text 596624 596632 8 0.0
pump-controller-app LP_CC2652R7 (read only) 673235 673235 0 0.0
(read/write) 176140 176140 0 0.0
.bss 78388 78388 0 0.0
.data 3300 3300 0 0.0
.rodata 86795 86795 0 0.0
.text 585960 585960 0 0.0
shell LP_CC2652R7 (read only) 669458 669458 0 0.0
(read/write) 183796 183796 0 0.0
.bss 82948 82948 0 0.0
.data 3380 3380 0 0.0
.rodata 85082 85082 0 0.0
.text 584064 584064 0 0.0
cc32xx lock CC3235SF_LAUNCHXL (read only) 640233 640233 0 0.0
(read/write) 204084 204084 0 0.0
.ARM.attributes 44 44 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 197488 197488 0 0.0
.comment 194 194 0 0.0
.data 1476 1476 0 0.0
.debug_abbrev 928439 928439 0 0.0
.debug_aranges 87352 87352 0 0.0
.debug_frame 299840 299840 0 0.0
.debug_info 20194444 20194444 0 0.0
.debug_line 2649825 2649825 0 0.0
.debug_loc 2785969 2785969 0 0.0
.debug_ranges 280696 280696 0 0.0
.debug_str 3001474 3001474 0 0.0
.ramVecs 780 780 0 0.0
.resetVecs 64 64 0 0.0
.rodata 105585 105585 0 0.0
.shstrtab 232 232 0 0.0
.stab 204 204 0 0.0
.stabstr 441 441 0 0.0
.stack 2048 2048 0 0.0
.strtab 375840 375840 0 0.0
.symtab 255856 255856 0 0.0
.text 0 0 0 0.0
532524 532524 0 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 584590 584590 0 0.0
.app_xip_area 461400 461400 0 0.0
.bss 65632 65632 0 0.0
.data 736 736 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
lock cyw930739m2evb_01 (read/write) 588546 588546 0 0.0
.app_xip_area 460060 460060 0 0.0
.bss 70920 70920 0 0.0
.data 744 744 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 549990 549990 0 0.0
.app_xip_area 432288 432288 0 0.0
.bss 60192 60192 0 0.0
.data 692 692 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
k32w contact k32w0+release (read/write) 668632 668632 0 0.0
.bss 77636 77636 0 0.0
.data 2200 2200 0 0.0
.text 569684 569684 0 0.0
light k32w0+release (read/write) 667484 667484 0 0.0
.bss 77332 77332 0 0.0
.data 2188 2188 0 0.0
.text 568852 568852 0 0.0
lock k32w0+release (read/write) 624332 624332 0 0.0
.bss 75468 75468 0 0.0
.data 2132 2132 0 0.0
.text 544004 544004 0 0.0
linux chip-tool-ipv6only arm64 (read only) 11997492 11997492 0 0.0
(read/write) 727720 727720 0 0.0
.bss 34248 34248 0 0.0
.data 3008 3008 0 0.0
.data.rel.ro 670008 670008 0 0.0
.dynamic 560 560 0 0.0
.got 15256 15256 0 0.0
.init 24 24 0 0.0
.init_array 208 208 0 0.0
.rodata 583220 583220 0 0.0
.text 9687508 9687508 0 0.0
thermostat-no-ble arm64 (read only) 2510388 2510388 0 0.0
(read/write) 145224 145224 0 0.0
.bss 56456 56456 0 0.0
.data 1824 1824 0 0.0
.data.rel.ro 77496 77496 0 0.0
.dynamic 560 560 0 0.0
.got 5408 5408 0 0.0
.init 24 24 0 0.0
.init_array 432 432 0 0.0
.rodata 151040 151040 0 0.0
.text 2097376 2097376 0 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2464576 2464576 0 0.0
.bss 215892 215892 0 0.0
.data 5880 5880 0 0.0
.text 1427220 1427220 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1162380 1162380 0 0.0
bss 143531 143531 0 0.0
rodata 134376 134376 0 0.0
text 804576 804576 0 0.0
nrf7002dk_nrf5340_cpuapp (read only) 4 4 0 0.0
(read/write) 1367600 1367600 0 0.0
bss 105990 105990 0 0.0
rodata 211808 211808 0 0.0
text 764280 764280 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1108392 1108392 0 0.0
bss 142687 142687 0 0.0
rodata 111364 111364 0 0.0
text 774568 774568 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 0 0 0 0.0
(read only) 840872 840872 0 0.0
(read/write) 1757516 1757516 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 189800 189800 0 0.0
.comment 200 200 0 0.0
.copy.table 24 24 0 0.0
.cy_m0p_image 6216 6216 0 0.0
.cy_sharedmem 8 8 0 0.0
.data 2672 2672 0 0.0
.debug_abbrev 1251968 1251968 0 0.0
.debug_aranges 111408 111408 0 0.0
.debug_frame 373996 373996 0 0.0
.debug_info 27913129 27913130 1 0.0
.debug_line 3784080 3784080 0 0.0
.debug_loc 3680891 3680891 0 0.0
.debug_ranges 362416 362416 0 0.0
.debug_str 3509578 3509578 0 0.0
.heap 840872 840872 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 288 288 0 0.0
.stab 156 156 0 0.0
.stabstr 335 335 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 578322 578322 0 0.0
.symtab 425056 425056 0 0.0
.text 1556656 1556656 0 0.0
.zero.table 8 8 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 0 0 0 0.0
(read only) 841688 841688 0 0.0
(read/write) 1699132 1699132 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 188992 188992 0 0.0
.comment 200 200 0 0.0
.copy.table 24 24 0 0.0
.cy_m0p_image 6216 6216 0 0.0
.cy_sharedmem 8 8 0 0.0
.data 2664 2664 0 0.0
.debug_abbrev 1237639 1237639 0 0.0
.debug_aranges 110672 110672 0 0.0
.debug_frame 376440 376440 0 0.0
.debug_info 27460119 27460119 0 0.0
.debug_line 3792424 3792424 0 0.0
.debug_loc 3664621 3664621 0 0.0
.debug_ranges 360384 360384 0 0.0
.debug_str 3495331 3495331 0 0.0
.heap 841688 841688 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 288 288 0 0.0
.stab 156 156 0 0.0
.stabstr 335 335 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 539530 539530 0 0.0
.symtab 410336 410336 0 0.0
.text 1499088 1499088 0 0.0
.zero.table 8 8 0 0.0
light cy8ckit_062s2_43012 0 0 0 0.0
(read only) 850000 850000 0 0.0
(read/write) 1612204 1612204 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 180880 180880 0 0.0
.comment 200 200 0 0.0
.copy.table 24 24 0 0.0
.cy_m0p_image 6216 6216 0 0.0
.cy_sharedmem 8 8 0 0.0
.data 2464 2464 0 0.0
.debug_abbrev 1071973 1071973 0 0.0
.debug_aranges 102880 102880 0 0.0
.debug_frame 346876 346876 0 0.0
.debug_info 22795183 22795182 -1 -0.0
.debug_line 3344738 3344738 0 0.0
.debug_loc 3342632 3342632 0 0.0
.debug_ranges 319560 319560 0 0.0
.debug_str 3298341 3298341 0 0.0
.heap 850000 850000 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 288 288 0 0.0
.stab 156 156 0 0.0
.stabstr 335 335 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 474698 474698 0 0.0
.symtab 378080 378080 0 0.0
.text 1420472 1420472 0 0.0
.zero.table 8 8 0 0.0
lock cy8ckit_062s2_43012 0 0 0 0.0
(read only) 845024 845024 0 0.0
(read/write) 1646444 1646444 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 185848 185848 0 0.0
.comment 200 200 0 0.0
.copy.table 24 24 0 0.0
.cy_m0p_image 6216 6216 0 0.0
.cy_sharedmem 8 8 0 0.0
.data 2472 2472 0 0.0
.debug_abbrev 1073677 1073677 0 0.0
.debug_aranges 103320 103320 0 0.0
.debug_frame 348816 348816 0 0.0
.debug_info 23025079 23025079 0 0.0
.debug_line 3346635 3346635 0 0.0
.debug_loc 3365511 3365511 0 0.0
.debug_ranges 321472 321472 0 0.0
.debug_str 3315611 3315611 0 0.0
.heap 845024 845024 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 288 288 0 0.0
.stab 156 156 0 0.0
.stabstr 335 335 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 478111 478111 0 0.0
.symtab 380272 380272 0 0.0
.text 1449736 1449736 0 0.0
.zero.table 8 8 0 0.0
qpg lighting-app qpg6105+debug (read/write) 1148712 1148712 0 0.0
.bss 99884 99884 0 0.0
.data 848 848 0 0.0
.text 595812 595812 0 0.0
lock-app qpg6105+debug (read/write) 1116728 1116736 8 0.0
.bss 96396 96396 0 0.0
.data 860 860 0 0.0
.text 563824 563832 8 0.0
telink all-clusters-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 1013504 1013504 0 0.0
bss 97904 97904 0 0.0
text 684566 684566 0 0.0
all-clusters-minimal-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 949912 949912 0 0.0
bss 96956 96956 0 0.0
text 646864 646864 0 0.0
contact-sensor-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 854776 854776 0 0.0
bss 89076 89076 0 0.0
text 577754 577756 2 0.0
light-switch-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 870520 870528 8 0.0
bss 89160 89160 0 0.0
text 591796 591798 2 0.0
lighting-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 947856 947856 0 0.0
bss 97312 97312 0 0.0
text 657198 657202 4 0.0
ota-requestor-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 881856 881856 0 0.0
bss 90112 90112 0 0.0
text 601542 601544 2 0.0
thermostat tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 874724 874724 0 0.0
bss 90552 90552 0 0.0
text 593378 593378 0 0.0

scripts/py_matter_yamltests/matter_yamltests/errors.py Outdated Show resolved Hide resolved
scripts/py_matter_yamltests/matter_yamltests/errors.py Outdated Show resolved Hide resolved
scripts/py_matter_yamltests/matter_yamltests/errors.py Outdated Show resolved Hide resolved
scripts/py_matter_yamltests/matter_yamltests/errors.py Outdated Show resolved Hide resolved
scripts/py_matter_yamltests/matter_yamltests/errors.py Outdated Show resolved Hide resolved
scripts/py_matter_yamltests/matter_yamltests/errors.py Outdated Show resolved Hide resolved
scripts/py_matter_yamltests/matter_yamltests/errors.py Outdated Show resolved Hide resolved
scripts/py_matter_yamltests/matter_yamltests/errors.py Outdated Show resolved Hide resolved
@vivien-apple
Copy link
Contributor Author

This PR is now on top of #25016 and I have added the commits from #25016 here. But I will remove those once #25016 lands.

@github-actions
Copy link

PR #24975: Size comparison from 5a23941 to 4899c6f

Decreases (1 build for cc32xx)
platform target config section 5a23941 4899c6f change % change
cc32xx lock CC3235SF_LAUNCHXL .debug_info 20194724 20194723 -1 -0.0
Full report (1 build for cc32xx)
platform target config section 5a23941 4899c6f change % change
cc32xx lock CC3235SF_LAUNCHXL 0 0 0 0.0
(read only) 640361 640361 0 0.0
(read/write) 204084 204084 0 0.0
.ARM.attributes 44 44 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 197488 197488 0 0.0
.comment 194 194 0 0.0
.data 1476 1476 0 0.0
.debug_abbrev 928439 928439 0 0.0
.debug_aranges 87352 87352 0 0.0
.debug_frame 299840 299840 0 0.0
.debug_info 20194724 20194723 -1 -0.0
.debug_line 2649921 2649921 0 0.0
.debug_loc 2786017 2786017 0 0.0
.debug_ranges 280728 280728 0 0.0
.debug_str 3001474 3001474 0 0.0
.ramVecs 780 780 0 0.0
.resetVecs 64 64 0 0.0
.rodata 105633 105633 0 0.0
.shstrtab 232 232 0 0.0
.stab 204 204 0 0.0
.stabstr 441 441 0 0.0
.stack 2048 2048 0 0.0
.strtab 375840 375840 0 0.0
.symtab 255856 255856 0 0.0
.text 532604 532604 0 0.0

@github-actions
Copy link

github-actions bot commented Feb 13, 2023

PR #24975: Size comparison from b04c8ca to 906977f

Increases (11 builds for bl602, bl702, cc32xx, psoc6, telink)
platform target config section b04c8ca 906977f change % change
bl602 lighting-app bl602 (read/write) 1346726 1346734 8 0.0
.text 1023376 1023378 2 0.0
bl602+rpc .text 1054310 1054312 2 0.0
bl702 lighting-app bl702 .debug_info 40567503 40567504 1 0.0
.text 952868 952870 2 0.0
bl702+rpc .debug_info 4497573 44975735 1 0.0
.text 1030264 1030266 2 0.0
cc32xx lock CC3235SF_LAUNCHXL .debug_info 20188403 20188404 1 0.0
psoc6 all-clusters cy8ckit_062s2_43012 .debug_info 27904089 27904090 1 0.0
all-clusters-minimal cy8ckit_062s2_43012 .debug_info 27451302 27451303 1 0.0
lock cy8ckit_062s2_43012 .debug_info 23018574 23018575 1 0.0
telink contact-sensor-app tlsr9518adk80d text 577800 577802 2 0.0
light-switch-app tlsr9518adk80d (read/write) 870620 870628 8 0.0
text 591844 591846 2 0.0
thermostat tlsr9518adk80d (read/write) 874824 874832 8 0.0
text 593428 593430 2 0.0
Decreases (2 builds for efr32, linux)
platform target config section b04c8ca 906977f change % change
efr32 lock-app BRD4161A+wf200 (read/write) 1066192 1066184 -8 -0.0
.text 911028 911020 -8 -0.0
linux chip-tool-ipv6only arm64 (read only) 1199779 11996868 -928 -0.0
.rodata 583268 583252 -16 -0.0
.text 9687764 9686852 -912 -0.0
Full report (37 builds for bl602, bl702, cc13x2_26x2, cc32xx, cyw30739, efr32, k32w, linux, psoc6, qpg, telink)
platform target config section b04c8ca 906977f change % change
bl602 lighting-app bl602 (read/write) 1346726 1346734 8 0.0
.bss 94802 94802 0 0.0
.data 9736 9736 0 0.0
.text 1023376 1023378 2 0.0
bl602+rpc (read/write) 1392158 1392158 0 0.0
.bss 102850 102850 0 0.0
.data 10128 10128 0 0.0
.text 1054310 1054312 2 0.0
bl702 lighting-app bl702 (read only) 3358 3358 0 0.0
(read/write) 1185179 1185179 0 0.0
.bleromro 6342 6342 0 0.0
.bleromrw 124 124 0 0.0
.boot2 292 292 0 0.0
.bss 69905 69905 0 0.0
.bss_psram 30064 30064 0 0.0
.comment 48 48 0 0.0
.data 4056 4056 0 0.0
.debug_abbrev 1550508 1550508 0 0.0
.debug_aranges 134264 134264 0 0.0
.debug_frame 491736 491736 0 0.0
.debug_info 40567503 40567504 1 0.0
.debug_line 5273540 5273540 0 0.0
.debug_loc 3409103 3409103 0 0.0
.debug_ranges 371688 371688 0 0.0
.debug_str 3560697 3560697 0 0.0
.hbn 536 536 0 0.0
.hbn_noinit 260 260 0 0.0
.init 342 342 0 0.0
.init_array 144 144 0 0.0
.psram 0 0 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 107200 107200 0 0.0
.rsvd 2960 2960 0 0.0
.sha_ocram 72 72 0 0.0
.shstrtab 304 304 0 0.0
.stack 2048 2048 0 0.0
.strtab 572895 572895 0 0.0
.symtab 173536 173536 0 0.0
.tcm_data 36 36 0 0.0
.tcmcode 3358 3358 0 0.0
.text 0 0 0 0.0
952868 952870 2 0.0
bl702+rpc (read only) 3358 3358 0 0.0
(read/write) 1278335 1278335 0 0.0
.bleromro 6342 6342 0 0.0
.bleromrw 124 124 0 0.0
.boot2 292 292 0 0.0
.bss 77953 77953 0 0.0
.bss_psram 30320 30320 0 0.0
.comment 48 48 0 0.0
.data 4608 4608 0 0.0
.debug_abbrev 1698984 1698984 0 0.0
.debug_aranges 142496 142496 0 0.0
.debug_frame 519484 519484 0 0.0
.debug_info 4497573 44975735 1 0.0
.debug_line 5672591 5672591 0 0.0
.debug_loc 3606019 3606019 0 0.0
.debug_ranges 395456 395456 0 0.0
.debug_str 3964189 3964189 0 0.0
.hbn 536 536 0 0.0
.hbn_noinit 260 260 0 0.0
.init 342 342 0 0.0
.init_array 160 160 0 0.0
.psram 0 0 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 121840 121840 0 0.0
.rsvd 2960 2960 0 0.0
.sha_ocram 72 72 0 0.0
.shstrtab 304 304 0 0.0
.stack 2048 2048 0 0.0
.strtab 633954 633954 0 0.0
.symtab 192000 192000 0 0.0
.tcm_data 36 36 0 0.0
.tcmcode 3358 3358 0 0.0
.text 0 0 0 0.0
1030264 1030266 2 0.0
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 678315 678315 0 0.0
(read/write) 172868 172868 0 0.0
.bss 80876 80876 0 0.0
.data 3384 3384 0 0.0
.rodata 88371 88371 0 0.0
.text 589628 589628 0 0.0
all-clusters-minimal-app LP_CC2652R7 (read only) 642139 642139 0 0.0
(read/write) 157568 157568 0 0.0
.bss 80068 80068 0 0.0
.data 3384 3384 0 0.0
.rodata 78163 78163 0 0.0
.text 563656 563656 0 0.0
lock-ftd LP_CC2652R7 (read only) 675207 675207 0 0.0
(read/write) 173328 173328 0 0.0
.bss 78316 78316 0 0.0
.data 3312 3312 0 0.0
.rodata 76671 76671 0 0.0
.text 598056 598056 0 0.0
lock-mtd LP_CC2652R7 (read only) 661631 661631 0 0.0
(read/write) 182160 182160 0 0.0
.bss 73572 73572 0 0.0
.data 3312 3312 0 0.0
.rodata 103263 103263 0 0.0
.text 557888 557888 0 0.0
pump-app LP_CC2652R7 (read only) 688275 688275 0 0.0
(read/write) 160996 160996 0 0.0
.bss 78284 78284 0 0.0
.data 3276 3276 0 0.0
.rodata 90795 90795 0 0.0
.text 597000 597000 0 0.0
pump-controller-app LP_CC2652R7 (read only) 673643 673643 0 0.0
(read/write) 175740 175740 0 0.0
.bss 78396 78396 0 0.0
.data 3300 3300 0 0.0
.rodata 86835 86835 0 0.0
.text 586328 586328 0 0.0
shell LP_CC2652R7 (read only) 669594 669594 0 0.0
(read/write) 183660 183660 0 0.0
.bss 82948 82948 0 0.0
.data 3380 3380 0 0.0
.rodata 85122 85122 0 0.0
.text 584160 584160 0 0.0
cc32xx lock CC3235SF_LAUNCHXL (read only) 640361 640361 0 0.0
(read/write) 204084 204084 0 0.0
.ARM.attributes 44 44 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 197488 197488 0 0.0
.comment 194 194 0 0.0
.data 1476 1476 0 0.0
.debug_abbrev 928461 928461 0 0.0
.debug_aranges 87352 87352 0 0.0
.debug_frame 299840 299840 0 0.0
.debug_info 20188403 20188404 1 0.0
.debug_line 2649926 2649926 0 0.0
.debug_loc 2786018 2786018 0 0.0
.debug_ranges 280728 280728 0 0.0
.debug_str 3002856 3002856 0 0.0
.ramVecs 780 780 0 0.0
.resetVecs 64 64 0 0.0
.rodata 105633 105633 0 0.0
.shstrtab 232 232 0 0.0
.stab 204 204 0 0.0
.stabstr 441 441 0 0.0
.stack 2048 2048 0 0.0
.strtab 375840 375840 0 0.0
.symtab 255856 255856 0 0.0
.text 0 0 0 0.0
532604 532604 0 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 584974 584974 0 0.0
.app_xip_area 461768 461768 0 0.0
.bss 65648 65648 0 0.0
.data 736 736 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
lock cyw930739m2evb_01 (read/write) 588938 588938 0 0.0
.app_xip_area 460436 460436 0 0.0
.bss 70936 70936 0 0.0
.data 744 744 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 550126 550126 0 0.0
.app_xip_area 432424 432424 0 0.0
.bss 60192 60192 0 0.0
.data 692 692 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A+rs9116 (read/write) 1038488 1038488 0 0.0
.bss 181568 181568 0 0.0
.data 2044 2044 0 0.0
.text 854856 854856 0 0.0
BRD4187C (read/write) 1135552 1135552 0 0.0
.bss 133256 133256 0 0.0
.data 2532 2532 0 0.0
.text 975168 975168 0 0.0
lock-app BRD4161A+wf200 (read/write) 1066192 1066184 -8 -0.0
.bss 153088 153088 0 0.0
.data 2052 2052 0 0.0
.text 911028 911020 -8 -0.0
window-app BRD4187C (read/write) 1137168 1137168 0 0.0
.bss 134848 134848 0 0.0
.data 2572 2572 0 0.0
.text 975152 975152 0 0.0
k32w contact k32w0+release (read/write) 668744 668744 0 0.0
.bss 77636 77636 0 0.0
.data 2200 2200 0 0.0
.text 569796 569796 0 0.0
light k32w0+release (read/write) 667612 667612 0 0.0
.bss 77332 77332 0 0.0
.data 2188 2188 0 0.0
.text 568980 568980 0 0.0
lock k32w0+release (read/write) 624444 624444 0 0.0
.bss 75468 75468 0 0.0
.data 2132 2132 0 0.0
.text 544116 544116 0 0.0
linux chip-tool-ipv6only arm64 (read only) 1199779 11996868 -928 -0.0
(read/write) 727720 727720 0 0.0
.bss 34248 34248 0 0.0
.data 3008 3008 0 0.0
.data.rel.ro 670008 670008 0 0.0
.dynamic 560 560 0 0.0
.got 15256 15256 0 0.0
.init 24 24 0 0.0
.init_array 208 208 0 0.0
.rodata 583268 583252 -16 -0.0
.text 9687764 9686852 -912 -0.0
thermostat-no-ble arm64 (read only) 2511700 2511700 0 0.0
(read/write) 145240 145240 0 0.0
.bss 56456 56456 0 0.0
.data 1824 1824 0 0.0
.data.rel.ro 77496 77496 0 0.0
.dynamic 560 560 0 0.0
.got 5408 5408 0 0.0
.init 24 24 0 0.0
.init_array 432 432 0 0.0
.rodata 151088 151088 0 0.0
.text 2098496 2098496 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 0 0 0 0.0
(read only) 840872 840872 0 0.0
(read/write) 1757628 1757628 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 189800 189800 0 0.0
.comment 200 200 0 0.0
.copy.table 24 24 0 0.0
.cy_m0p_image 6216 6216 0 0.0
.cy_sharedmem 8 8 0 0.0
.data 2672 2672 0 0.0
.debug_abbrev 1251990 1251990 0 0.0
.debug_aranges 111408 111408 0 0.0
.debug_frame 373996 373996 0 0.0
.debug_info 27904089 27904090 1 0.0
.debug_line 3784202 3784202 0 0.0
.debug_loc 3680917 3680917 0 0.0
.debug_ranges 362448 362448 0 0.0
.debug_str 3510960 3510960 0 0.0
.heap 840872 840872 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 288 288 0 0.0
.stab 156 156 0 0.0
.stabstr 335 335 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 578322 578322 0 0.0
.symtab 425056 425056 0 0.0
.text 1556768 1556768 0 0.0
.zero.table 8 8 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 0 0 0 0.0
(read only) 841688 841688 0 0.0
(read/write) 1699236 1699236 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 188992 188992 0 0.0
.comment 200 200 0 0.0
.copy.table 24 24 0 0.0
.cy_m0p_image 6216 6216 0 0.0
.cy_sharedmem 8 8 0 0.0
.data 2664 2664 0 0.0
.debug_abbrev 1237661 1237661 0 0.0
.debug_aranges 110672 110672 0 0.0
.debug_frame 376440 376440 0 0.0
.debug_info 27451302 27451303 1 0.0
.debug_line 3792546 3792546 0 0.0
.debug_loc 3664648 3664648 0 0.0
.debug_ranges 360416 360416 0 0.0
.debug_str 3496713 3496713 0 0.0
.heap 841688 841688 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 288 288 0 0.0
.stab 156 156 0 0.0
.stabstr 335 335 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 539530 539530 0 0.0
.symtab 410336 410336 0 0.0
.text 1499192 1499192 0 0.0
.zero.table 8 8 0 0.0
light cy8ckit_062s2_43012 0 0 0 0.0
(read only) 850000 850000 0 0.0
(read/write) 1612308 1612308 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 180880 180880 0 0.0
.comment 200 200 0 0.0
.copy.table 24 24 0 0.0
.cy_m0p_image 6216 6216 0 0.0
.cy_sharedmem 8 8 0 0.0
.data 2464 2464 0 0.0
.debug_abbrev 1071995 1071995 0 0.0
.debug_aranges 102880 102880 0 0.0
.debug_frame 346876 346876 0 0.0
.debug_info 22788645 22788645 0 0.0
.debug_line 3344859 3344859 0 0.0
.debug_loc 3342647 3342647 0 0.0
.debug_ranges 319592 319592 0 0.0
.debug_str 3299723 3299723 0 0.0
.heap 850000 850000 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 288 288 0 0.0
.stab 156 156 0 0.0
.stabstr 335 335 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 474698 474698 0 0.0
.symtab 378080 378080 0 0.0
.text 1420576 1420576 0 0.0
.zero.table 8 8 0 0.0
lock cy8ckit_062s2_43012 0 0 0 0.0
(read only) 845024 845024 0 0.0
(read/write) 1646548 1646548 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 185848 185848 0 0.0
.comment 200 200 0 0.0
.copy.table 24 24 0 0.0
.cy_m0p_image 6216 6216 0 0.0
.cy_sharedmem 8 8 0 0.0
.data 2472 2472 0 0.0
.debug_abbrev 1073699 1073699 0 0.0
.debug_aranges 103320 103320 0 0.0
.debug_frame 348816 348816 0 0.0
.debug_info 23018574 23018575 1 0.0
.debug_line 3346757 3346757 0 0.0
.debug_loc 3365541 3365541 0 0.0
.debug_ranges 321504 321504 0 0.0
.debug_str 3316993 3316993 0 0.0
.heap 845024 845024 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 288 288 0 0.0
.stab 156 156 0 0.0
.stabstr 335 335 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 478111 478111 0 0.0
.symtab 380272 380272 0 0.0
.text 1449840 1449840 0 0.0
.zero.table 8 8 0 0.0
qpg lighting-app qpg6105+debug (read/write) 1149152 1149152 0 0.0
.bss 99900 99900 0 0.0
.data 848 848 0 0.0
.text 596252 596252 0 0.0
lock-app qpg6105+debug (read/write) 1116896 1116896 0 0.0
.bss 96396 96396 0 0.0
.data 860 860 0 0.0
.text 563992 563992 0 0.0
telink all-clusters-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 1013612 1013612 0 0.0
bss 97904 97904 0 0.0
text 684612 684612 0 0.0
all-clusters-minimal-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 950020 950020 0 0.0
bss 96956 96956 0 0.0
text 646910 646910 0 0.0
contact-sensor-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 854876 854876 0 0.0
bss 89076 89076 0 0.0
text 577800 577802 2 0.0
light-switch-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 870620 870628 8 0.0
bss 89160 89160 0 0.0
text 591844 591846 2 0.0
lighting-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 947964 947964 0 0.0
bss 97312 97312 0 0.0
text 657248 657248 0 0.0
ota-requestor-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 881964 881964 0 0.0
bss 90112 90112 0 0.0
text 601594 601594 0 0.0
thermostat tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 874824 874832 8 0.0
bss 90552 90552 0 0.0
text 593428 593430 2 0.0

…pes, validate keywords, and add some implicit rules checking
@github-actions
Copy link

PR #24975: Size comparison from b3c599d to f785701

Increases (1 build for cc32xx)
platform target config section b3c599d f785701 change % change
cc32xx lock CC3235SF_LAUNCHXL .debug_info 20180781 20180783 2 0.0
Full report (1 build for cc32xx)
platform target config section b3c599d f785701 change % change
cc32xx lock CC3235SF_LAUNCHXL 0 0 0 0.0
(read only) 640361 640361 0 0.0
(read/write) 204084 204084 0 0.0
.ARM.attributes 44 44 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 197488 197488 0 0.0
.comment 194 194 0 0.0
.data 1476 1476 0 0.0
.debug_abbrev 928461 928461 0 0.0
.debug_aranges 87352 87352 0 0.0
.debug_frame 299840 299840 0 0.0
.debug_info 20180781 20180783 2 0.0
.debug_line 2649926 2649926 0 0.0
.debug_loc 2786017 2786017 0 0.0
.debug_ranges 280728 280728 0 0.0
.debug_str 3005287 3005287 0 0.0
.ramVecs 780 780 0 0.0
.resetVecs 64 64 0 0.0
.rodata 105633 105633 0 0.0
.shstrtab 232 232 0 0.0
.stab 204 204 0 0.0
.stabstr 441 441 0 0.0
.stack 2048 2048 0 0.0
.strtab 375902 375902 0 0.0
.symtab 255856 255856 0 0.0
.text 532604 532604 0 0.0

@vivien-apple vivien-apple enabled auto-merge (squash) February 13, 2023 20:20
@woody-apple
Copy link
Contributor

Fast tracking test enhancements

@vivien-apple vivien-apple merged commit a6d2883 into project-chip:master Feb 14, 2023
lecndav pushed a commit to lecndav/connectedhomeip that referenced this pull request Mar 22, 2023
…pes, validate keywords, and add some implicit rules checking (project-chip#24975)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants