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-EEM-2.1 - Test failed #31911

Closed
Survensa opened this issue Feb 5, 2024 · 1 comment
Closed

[CERT-TEST-FAILURE] - TC-EEM-2.1 - Test failed #31911

Survensa opened this issue Feb 5, 2024 · 1 comment
Labels
bug Something isn't working cert blocker needs triage

Comments

@Survensa
Copy link

Survensa commented Feb 5, 2024

Feature Area

Other

Test Case

TC-EEM-2.1

Reproduction steps

  1. Bring up the DUT with All-clusters-app.
  2. Pair the DUT using chip-tool through "Onnetwork" transport.
  3. Run the command ./chip-tool electricalenergymeasurement read accuracy 1 1

Expected Outcome:

[1707115775.825244][23640:23642] CHIP:TOO: Accuracy: {
[1707115775.825278][23640:23642] CHIP:TOO: MeasurementType: 0
[1707115775.825305][23640:23642] CHIP:TOO: Measured: FALSE
[1707115775.825333][23640:23642] CHIP:TOO: MinMeasuredValue: 0
[1707115775.825359][23640:23642] CHIP:TOO: MaxMeasuredValue: 0
[1707115775.825390][23640:23642] CHIP:TOO: AccuracyRanges: 1 entries
[1707121961.146906][24018:24020] CHIP:TOO: [1]: {
[1707121961.146930][24018:24020] CHIP:TOO: RangeMin: < values >
[1707121961.146951][24018:24020] CHIP:TOO: RangeMax: < values >
[1707121961.146975][24018:24020] CHIP:TOO: }
[1707115775.825436][23640:23642] CHIP:TOO: }

Actual Outcome:

[1707115775.825244][23640:23642] CHIP:TOO: Accuracy: {
[1707115775.825278][23640:23642] CHIP:TOO: MeasurementType: 0
[1707115775.825305][23640:23642] CHIP:TOO: Measured: FALSE
[1707115775.825333][23640:23642] CHIP:TOO: MinMeasuredValue: 0
[1707115775.825359][23640:23642] CHIP:TOO: MaxMeasuredValue: 0
[1707115775.825390][23640:23642] CHIP:TOO: AccuracyRanges: 0 entries
[1707115775.825436][23640:23642] CHIP:TOO: }

Bug prevalence

Whenever I try to read Accuracy.

GitHub hash of the SDK that was being used

83f8665

Platform

raspi

Anything else?

As per spec, the Accuracy attribute response contains aMeasurementAccuracyStruct values. In that struct, the AccuracyRanges filed should contain the list with min 1 entries and it contains RangeMin, RangeMax value as it is mandatory. But we get AccuracyRanges: 0 entries which is not expected as per spec

Specification References:

image
image

@Survensa
Copy link
Author

Issue resolved(Energy Management-app) in this PR: #31616

@github-project-automation github-project-automation bot moved this from Open Cert Blockers to Complete in [Certification] Blockers Feb 13, 2024
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

No branches or pull requests

1 participant