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

[CERT-TEST-FAILURE] [TC-SEAR-1.2, 1.3, 1.4, 1.5, 1.6] Attributes and Commands name has to be updated as per Spec. #34699

Closed
5 tasks
Ashwinigrl opened this issue Aug 1, 2024 · 0 comments · Fixed by #34738
Labels
bug Something isn't working cert blocker needs triage

Comments

@Ashwinigrl
Copy link

Ashwinigrl commented Aug 1, 2024

Test Case

  • TC-SEAR-1.2
  • TC-SEAR-1.3
  • TC-SEAR-1.4
  • TC-SEAR-1.5
  • TC-SEAR-1.6

Reproduction steps

In the Service Area Cluster, the following Attributes and Commands names need to be updated in the SDK to match the specification. Due to this mismatch, the Python script is failing for test cases TC-SEAR-1.2, 1.3, 1.4, 1.5, and 1.6.

Attributes:

  • supported-locations attribute name has to be updated to SupportedAreas.
  • selected-locations attribute name has to be updated to SelectedAreas.
  • current-location attribute name has to be CurrentArea

Commands:

  • select-locations command has to be updated to SelectAreas.
  • skip-current-location command has to be updated to SkipArea.

Specification References:

image

image

Test plan References:

image

image

Names for the Attributes and Commands in chip-tool:

image

image

Python Script is failing with below error:

[MatterTest] 08-01 07:08:57.544 INFO ***** Test Step 1 : Run entire test
[MatterTest] 08-01 07:08:57.546 INFO ***** Test Step 1 : Commissioning, already done
[MatterTest] 08-01 07:08:57.546 INFO ***** Test Step 3 : Read SupportedAreas attribute
[MatterTest] 08-01 07:08:57.547 ERROR Exception occurred in test_TC_SEAR_1_2.
Traceback (most recent call last):
File "/home/ubuntu/master_CNTRL/connectedhomeip/no/lib/python3.10/site-packages/mobly/base_test.py", line 783, in exec_one_test
test_method()
File "/home/ubuntu/master_CNTRL/connectedhomeip/src/python_testing/matter_testing_support.py", line 1671, in async_runner
return _async_runner(body, self, *args, **kwargs)
File "/home/ubuntu/master_CNTRL/connectedhomeip/src/python_testing/matter_testing_support.py", line 1659, in _async_runner
return asyncio.run(runner_with_timeout)
File "/usr/lib/python3.10/asyncio/runners.py", line 44, in run
return loop.run_until_complete(main)
File "/usr/lib/python3.10/asyncio/base_events.py", line 649, in run_until_complete
return future.result()
File "/usr/lib/python3.10/asyncio/tasks.py", line 445, in wait_for
return fut.result()
File "/home/ubuntu/master_CNTRL/connectedhomeip/src/python_testing/TC_SEAR_1_2.py", line 223, in test_TC_SEAR_1_2
await self.read_and_validate_supported_areas(step=3)
File "/home/ubuntu/master_CNTRL/connectedhomeip/src/python_testing/TC_SEAR_1_2.py", line 78, in read_and_validate_supported_areas
endpoint=self.endpoint, attribute=Clusters.ServiceArea.Attributes.SupportedAreas)
AttributeError: type object 'Attributes' has no attribute 'SupportedAreas'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working cert blocker needs triage
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant