[CERT-TEST-FAILURE] TC-TSTATM-3.2: "No Schema found for Attribute" errors during post-reboot subscription resumption.
Feature Area
Other
Test Case
TC-TSTATM-3.2
Reproduction steps
While validating TC-TSTATM-3.2 on the latest master TOT, the test case passes successfully. However, error messages are observed during execution while handling the post-reboot subscription resumption.
During subscription resumption after the DUT reboot, the Python controller receives ReportData for the manufacturer-specific cluster 0xFFF1FC21 on endpoint 1.
TypedAttributePath.post_init does not have a generated schema entry for this cluster, resulting in a KeyError inside Attribute._handleReportEnd.
Error KeyError: 'No Schema found for Attribute 1/4294048801/0'
Similar errors are observed for the manufacturer-specific/global attributes reported under the same cluster.
[MatterTest] 09-15 16:28:22.065 ERROR 'No Schema found for Attribute 1/4294048801/0' Traceback (most recent call last): File "/home/ubuntu/matter-sdk-master-700b2b999-arm64/chip_env/lib/python3.12/site-packages/matter/clusters/Attribute.py", line 837, in _handleReportEnd attribute_path = TypedAttributePath(Path=change) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "", line 9, in init File "/home/ubuntu/matter-sdk-master-700b2b999-arm64/chip_env/lib/python3.12/site-packages/matter/clusters/Attribute.py", line 135, in post_init raise KeyError(f"No Schema found for Attribute {self.Path}") KeyError: 'No Schema found for Attribute 1/4294048801/0' [MatterTest] 09-15 16:28:22.482 ERROR 'No Schema found for Attribute 1/4294048801/65529' Traceback (most recent call last): File "/home/ubuntu/matter-sdk-master-700b2b999-arm64/chip_env/lib/python3.12/site-packages/matter/clusters/Attribute.py", line 837, in _handleReportEnd attribute_path = TypedAttributePath(Path=change) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "", line 9, in init File "/home/ubuntu/matter-sdk-master-700b2b999-arm64/chip_env/lib/python3.12/site-packages/matter/clusters/Attribute.py", line 135, in post_init raise KeyError(f"No Schema found for Attribute {self.Path}") KeyError: 'No Schema found for Attribute 1/4294048801/65529' [MatterTest] 09-15 16:28:22.561 ERROR 'No Schema found for Attribute 1/4294048801/65528' Traceback (most recent call last): File "/home/ubuntu/matter-sdk-master-700b2b999-arm64/chip_env/lib/python3.12/site-packages/matter/clusters/Attribute.py", line 837, in _handleReportEnd attribute_path = TypedAttributePath(Path=change) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "", line 9, in init File "/home/ubuntu/matter-sdk-master-700b2b999-arm64/chip_env/lib/python3.12/site-packages/matter/clusters/Attribute.py", line 135, in post_init raise KeyError(f"No Schema found for Attribute {self.Path}") KeyError: 'No Schema found for Attribute 1/4294048801/65528' [MatterTest] 09-15 16:28:22.585 ERROR 'No Schema found for Attribute 1/4294048801/65531' Traceback (most recent call last): File "/home/ubuntu/matter-sdk-master-700b2b999-arm64/chip_env/lib/python3.12/site-packages/matter/clusters/Attribute.py", line 837, in _handleReportEnd attribute_path = TypedAttributePath(Path=change) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "", line 9, in init File "/home/ubuntu/matter-sdk-master-700b2b999-arm64/chip_env/lib/python3.12/site-packages/matter/clusters/Attribute.py", line 135, in post_init raise KeyError(f"No Schema found for Attribute {self.Path}") KeyError: 'No Schema found for Attribute 1/4294048801/65531' [MatterTest] 09-15 16:28:22.678 ERROR 'No Schema found for Attribute 1/4294048801/65533' Traceback (most recent call last): File "/home/ubuntu/matter-sdk-master-700b2b999-arm64/chip_env/lib/python3.12/site-packages/matter/clusters/Attribute.py", line 837, in _handleReportEnd attribute_path = TypedAttributePath(Path=change) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "", line 9, in init File "/home/ubuntu/matter-sdk-master-700b2b999-arm64/chip_env/lib/python3.12/site-packages/matter/clusters/Attribute.py", line 135, in post_init raise KeyError(f"No Schema found for Attribute {self.Path}") KeyError: 'No Schema found for Attribute 1/4294048801/65533' [MatterTest] 09-15 16:28:22.754 ERROR 'No Schema found for Attribute 1/4294048801/65532' Traceback (most recent call last): File "/home/ubuntu/matter-sdk-master-700b2b999-arm64/chip_env/lib/python3.12/site-packages/matter/clusters/Attribute.py", line 837, in _handleReportEnd attribute_path = TypedAttributePath(Path=change) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "", line 9, in init File "/home/ubuntu/matter-sdk-master-700b2b999-arm64/chip_env/lib/python3.12/site-packages/matter/clusters/Attribute.py", line 135, in post_init raise KeyError(f"No Schema found for Attribute {self.Path}") KeyError: 'No Schema found for Attribute 1/4294048801/65532' [MatterTest] 09-15 16:28:22.765 INFO Refresh LivenessCheckTime for 43265 milliseconds with SubscriptionId = 0x3b39ad52 Peer = 02:0000000012344321
Observed Behavior
- TC-TSTATM-3.2 passes successfully.
- Error messages are observed in the middle of the test execution.
- The errors occur during post-reboot subscription resumption when processing ReportData.
- The Python controller continues execution after the errors and the test completes successfully.
Expected Behavior
The test case should execute without unexpected KeyError messages during subscription resumption.
Bug prevalence
Whenever I do this
GitHub hash of the SDK that was being used
700b2b99928f1095c6d37489c89be7e87557b65d
Platform
raspi
Anything else?
Python script: https://github.com/project-chip/connectedhomeip/blob/master/src/python_testing/TC_TSTATM_3_2.py
Reference logs:
Source: project-chip/connectedhomeip