[TC-HSTAT-2.1, 2.2, 2.3, 2.4, 2.5] Test fails instead of skipping when Humidistat cluster is not implemented
Feature Area
Other
Test Case
TC-HSTAT-2.1, 2.2, 2.3, 2.4, 2.5
Reproduction steps
- Command used to run the python script : python3 TC_HSTAT_2_1.py --commissioning-method on-network --discriminator 3840 --passcode 20202021 --storage-path admin_storage.json --endpoint 1
- Use the any sample app which is not implemented the Humidity Cluster.(We have used Camera app to reproduce this issue: ./chip-camera-app )
Description:
When the DUT does not implement the Humidistat cluster on the target endpoint, TC-HSTAT-2.1, 2.2, 2.3, 2.4, 2.5 reports a FAIL instead of a SKIP.
The script does not check whether the Humidistat cluster is actually present on the endpoint before running test steps.
Observed failure (Step 1)
Error reading Humidistat:AttributeList = ValueDecodeFailure(TLVValue=None, Reason=InteractionModelError(<Status.UnsupportedCluster: 195>))
Suggested Fix Gate the test on the cluster being present on the endpoint, so it is skipped when Humidistat is not implemented.
Bug prevalence
Whenever I do this
GitHub hash of the SDK that was being used
cbcf92f04b179cdd7f51331f996ba82d572f720c
Platform
raspi
Anything else?
Python script Reference: -https://github.com/project-chip/connectedhomeip/blob/master/src/python_testing/TC_HSTAT_2_1.py
Reference failure logs:
Source: project-chip/connectedhomeip