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

Update ZAP file to fix lit-icd-app conformance #37518

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

jennygaz
Copy link
Contributor

Updated the ZAP file to fix conformance issues found in the go/matter-sdk-conformance report.

  • Added Power Source cluster with BAT basic conformance.
  • Bumped versions of several clusters to match the required versions.
  • Disabled attributes as specified by conformance.

List of found issues

  • Endpoint: 0 - Cluster: 31 (0x1f) AccessControl - Problem: Attribute 0x01 is included, but is disallowed by conformance. Conformance: EXTS, implemented features:
  • Endpoint: 0 - Cluster: 49 (0x31) NetworkCommissioning - Problem: Attribute 0x02 is included, but is disallowed by conformance. Conformance: WI | TH, implemented features: ET
  • Endpoint: 0 - Cluster: 49 (0x31) NetworkCommissioning - problem: Attribute 0x03 is included, but is disallowed by conformance. Conformance: WI | TH, implemented features: ET
  • Endpoint: 0 - Cluster: 40 (0x28) BasicInformation - Problem: Revision found on cluster (3) does not match revision listed in the spec (4)
  • Endpoint: 0 - Cluster: 48 (0x30) GeneralCommissioning - Problem: INFO:chip.native.SC:SecureSession[0x7fbbbc00e570, LSID:14122]: State change 'kActive' --> 'kPendingEviction'
  • Endpoint: 0 - Problem: INFO:chip.native.TS:Reverted Last Known Good Time to previous value
    ERROR:chip.native.CTL:Shutting down the stack... - Cluster: 53 (0x35) ThreadNetworkDiagnostics
  • Endpoint: 1 - Cluster: 3 (0x03) Identify - Problem: Revision found on cluster (4) does not match revision listed in the spec (5)
  • DeviceType: 17 - ClusterID: 47 - problem: Mandatory cluster Power Source for device type Power Source is not present in the server list
  • Endpoint: 0 - Cluster: 42 (0x2a) OtaSoftwareUpdateRequestor - Problem: Extra cluster found on endpoint with device types [Descriptor.Structs.DeviceTypeStruct(deviceType=17, revision=1), Descriptor.Structs.DeviceTypeStruct(deviceType=22, revision=1)]
  • Endpoint: 0 - Cluster: 29 (0x1d) Descriptor - Problem: Expected Device type revision for device type 22 Root Node on endpoint 0 does not match revision on DUT. Expected: 3 DUT: 1
  • Endpoint: 1 - ERROR:chip.native.-:src/messaging/ExchangeMgr.cpp:185: CHIP Error 0x00000007: No unsolicited message handler at src/protocols/bdx/BdxTransferServer.cpp:55 - INFO:chip.native.FP:Shutting down FabricTable - Cluster: 29 (0x1d) Descriptor

Testing

  • All tests in TC_DeviceConformance.py and TC_DeviceBasicComposition.py passing
  • Built with:
./scripts/build/build_examples.py --target linux-x64-lit-icd-no-ble build
  • Ran with:
./scripts/tests/run_python_test.py --app ./out/linux-x64-lit-icd-no-ble/lit-icd-app --factory-reset --app-args "--trace-to json:log" --script src/python_testing/TC_DeviceBasicComposition.py --script-args "--qr-code MT:-24J0AFN00KA0648G00"
./scripts/tests/run_python_test.py --app ./out/linux-x64-lit-icd-no-ble/lit-icd-app --factory-reset --app-args "--trace-to json:log" --script src/python_testing/TC_DeviceConformance.py --script-args "--qr-code MT:-24J0AFN00KA0648G00"

Copy link

Review changes with  SemanticDiff

Copy link

github-actions bot commented Feb 11, 2025

PR #37518: Size comparison from 63f9782 to 09e1d4e

Full report (72 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
platform target config section 63f9782 09e1d4e change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1094520 1094520 0 0.0
RAM 103354 103354 0 0.0
bl702 lighting-app bl702+eth FLASH 650346 650346 0 0.0
RAM 25273 25273 0 0.0
bl702+wifi FLASH 828304 828304 0 0.0
RAM 13981 13981 0 0.0
bl706+mfd+rpc+littlefs FLASH 1057564 1057564 0 0.0
RAM 23885 23885 0 0.0
bl702l contact-sensor-app bl702l+mfd+littlefs FLASH 888248 888248 0 0.0
RAM 18496 18496 0 0.0
lighting-app bl702l+mfd+littlefs FLASH 971290 971290 0 0.0
RAM 16360 16360 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 838396 838396 0 0.0
RAM 123480 123480 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 823816 823816 0 0.0
RAM 125360 125360 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 770984 770984 0 0.0
RAM 113820 113820 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 755244 755244 0 0.0
RAM 114028 114028 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 538894 538894 0 0.0
RAM 205208 205208 0 0.0
lock CC3235SF_LAUNCHXL FLASH 572758 572758 0 0.0
RAM 205360 205360 0 0.0
cyw30739 light CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 679765 679765 0 0.0
RAM 78548 78548 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 699625 699625 0 0.0
RAM 81188 81188 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 699625 699625 0 0.0
RAM 81188 81188 0 0.0
CYW930739M2EVB-02 unknown 2040 2040 0 0.0
FLASH 656549 656549 0 0.0
RAM 73616 73616 0 0.0
light-switch CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 616101 616101 0 0.0
RAM 71532 71532 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 635745 635745 0 0.0
RAM 74076 74076 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 635745 635745 0 0.0
RAM 74076 74076 0 0.0
lock CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 635613 635613 0 0.0
RAM 74540 74540 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 655329 655329 0 0.0
RAM 77084 77084 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 655329 655329 0 0.0
RAM 77084 77084 0 0.0
thermostat CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 611953 611953 0 0.0
RAM 68628 68628 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 631813 631813 0 0.0
RAM 71268 71268 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 631813 631813 0 0.0
RAM 71268 71268 0 0.0
efr32 lock-app BRD4187C FLASH 937088 937088 0 0.0
RAM 159904 159904 0 0.0
BRD4338a FLASH 730340 730340 0 0.0
RAM 234716 234716 0 0.0
window-app BRD4187C FLASH 1029648 1029648 0 0.0
RAM 128008 128008 0 0.0
esp32 all-clusters-app c3devkit DRAM 97312 97312 0 0.0
FLASH 1577408 1577408 0 0.0
IRAM 83820 83820 0 0.0
m5stack DRAM 116100 116100 0 0.0
FLASH 1545102 1545102 0 0.0
IRAM 117039 117039 0 0.0
linux air-purifier-app debug unknown 4760 4760 0 0.0
FLASH 2708611 2708611 0 0.0
RAM 132784 132784 0 0.0
all-clusters-app debug unknown 5568 5568 0 0.0
FLASH 5975074 5975074 0 0.0
RAM 531600 531600 0 0.0
all-clusters-minimal-app debug unknown 5464 5464 0 0.0
FLASH 5322586 5322586 0 0.0
RAM 242712 242712 0 0.0
bridge-app debug unknown 5480 5480 0 0.0
FLASH 4681230 4681230 0 0.0
RAM 221448 221448 0 0.0
chip-tool debug unknown 6120 6120 0 0.0
FLASH 13098792 13098792 0 0.0
RAM 596578 596578 0 0.0
chip-tool-ipv6only arm64 unknown 21816 21816 0 0.0
FLASH 11162160 11162160 0 0.0
RAM 648256 648256 0 0.0
fabric-admin debug unknown 5808 5808 0 0.0
FLASH 11387841 11387841 0 0.0
RAM 596362 596362 0 0.0
fabric-bridge-app debug unknown 4736 4736 0 0.0
FLASH 4506552 4506552 0 0.0
RAM 208632 208632 0 0.0
fabric-sync debug unknown 4976 4976 0 0.0
FLASH 5612805 5612805 0 0.0
RAM 483504 483504 0 0.0
lighting-app debug+rpc+ui unknown 6152 6152 0 0.0
FLASH 5645489 5645489 0 0.0
RAM 231792 231792 0 0.0
lock-app debug unknown 5416 5416 0 0.0
FLASH 4730626 4730626 0 0.0
RAM 207696 207696 0 0.0
ota-provider-app debug unknown 4776 4776 0 0.0
FLASH 4359692 4359692 0 0.0
RAM 201336 201336 0 0.0
ota-requestor-app debug unknown 4728 4728 0 0.0
FLASH 4497036 4497036 0 0.0
RAM 205920 205920 0 0.0
shell debug unknown 4256 4256 0 0.0
FLASH 3005340 3005340 0 0.0
RAM 160552 160552 0 0.0
thermostat-no-ble arm64 unknown 9512 9512 0 0.0
FLASH 4096408 4096408 0 0.0
RAM 246024 246024 0 0.0
tv-app debug unknown 5744 5744 0 0.0
FLASH 5951749 5951749 0 0.0
RAM 606904 606904 0 0.0
tv-casting-app debug unknown 5320 5320 0 0.0
FLASH 11271549 11271549 0 0.0
RAM 710864 710864 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 907452 907452 0 0.0
RAM 142411 142411 0 0.0
nrf7002dk_nrf5340_cpuapp FLASH 901932 901932 0 0.0
RAM 124755 124755 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 FLASH 846072 846072 0 0.0
RAM 141339 141339 0 0.0
nxp contact k32w0+release FLASH 584744 584744 0 0.0
RAM 70876 70876 0 0.0
mcxw71+release FLASH 600184 600184 0 0.0
RAM 63096 63096 0 0.0
light k32w0+release FLASH 611052 611052 0 0.0
RAM 70268 70268 0 0.0
k32w1+release FLASH 685504 685504 0 0.0
RAM 48680 48680 0 0.0
lock mcxw71+release FLASH 749008 749008 0 0.0
RAM 67500 67500 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1646732 1646732 0 0.0
RAM 211576 211576 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1553500 1553500 0 0.0
RAM 208392 208392 0 0.0
light cy8ckit_062s2_43012 FLASH 1469428 1469428 0 0.0
RAM 200368 200368 0 0.0
lock cy8ckit_062s2_43012 FLASH 1467364 1467364 0 0.0
RAM 224704 224704 0 0.0
qpg lighting-app qpg6105+debug FLASH 662324 662324 0 0.0
RAM 105220 105220 0 0.0
lock-app qpg6105+debug FLASH 620112 620112 0 0.0
RAM 99664 99664 0 0.0
stm32 light STM32WB5MM-DK FLASH 482992 482992 0 0.0
RAM 144688 144688 0 0.0
telink bridge-app tl7218x FLASH 665214 665214 0 0.0
RAM 90828 90828 0 0.0
contact-sensor-app tlsr9528a_retention FLASH 621896 621896 0 0.0
RAM 31488 31488 0 0.0
light-app-ota-shell-factory-data tl3218x FLASH 770882 770882 0 0.0
RAM 43568 43568 0 0.0
tl7218x FLASH 779352 779352 0 0.0
RAM 100752 100752 0 0.0
light-switch-app-ota-compress-lzma-factory-data tl7218x_retention FLASH 680666 680666 0 0.0
RAM 52192 52192 0 0.0
light-switch-app-ota-compress-lzma-shell-factory-data tlsr9528a FLASH 709228 709228 0 0.0
RAM 73400 73400 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 626174 626174 0 0.0
RAM 142032 142032 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 814004 814004 0 0.0
RAM 99608 99608 0 0.0
tizen all-clusters-app arm unknown 5104 5104 0 0.0
FLASH 1751644 1751644 0 0.0
RAM 93508 93508 0 0.0
chip-tool-ubsan arm unknown 11396 11396 0 0.0
FLASH 18683046 18683046 0 0.0
RAM 8181084 8181084 0 0.0

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.

1 participant