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-OCC-3.2] - Test failure #37119

Open
Ashwinigrl opened this issue Jan 20, 2025 · 1 comment · May be fixed by #37197
Open

[CERT-TEST-FAILURE] - [TC-OCC-3.2] - Test failure #37119

Ashwinigrl opened this issue Jan 20, 2025 · 1 comment · May be fixed by #37197
Labels
bug Something isn't working cert blocker needs triage

Comments

@Ashwinigrl
Copy link

Ashwinigrl commented Jan 20, 2025

Feature Area

Other

Test Case

TC-OCC-3.2

Reproduction steps

  1. Command used to launch the DUT : ./chip-all-clusters-app
  2. Command used to run the python script : python3 TC_OCC_3_2.py --commissioning-method on-network --discriminator 3840 --passcode 20202021 --endpoint 1 --bool-arg simulate_occupancy:true --app-pid <app pid> --storage-path admin_storage.json.

While validating the TC-OCC-3.2 python script, Test case is failing at step 4d with Did not find all expected last report values before time-out error.

File "/home/ubuntu/master_dut/connectedhomeip/src/python_testing/TC_OCC_3_2.py", line 203, in test_TC_OCC_3_2
attrib_listener.await_all_final_values_reported(all_expected_final_values, timeout_sec=post_prompt_settle_delay_seconds)
File "/home/ubuntu/master_dut/connectedhomeip/no/lib/python3.12/site-packages/chip/testing/matter_testing.py", line 521, in await_all_final_values_reported
asserts.fail("Did not find all expected last report values before time-out")
File "/home/ubuntu/master_dut/connectedhomeip/no/lib/python3.12/site-packages/mobly/asserts.py", line 441, in fail
raise signals.TestFailure(msg, extras)
mobly.signals.TestFailure: Details=Did not find all expected last report values before time-out, Extras=None
[MatterTest] 01-16 13:15:11.206 INFO ***** Test Failure :
[MatterTest] 01-16 13:15:11.207 INFO Finished test in 65965997.0ms
[MatterTest] 01-16 13:15:11.209 ERROR

  • Test test_TC_OCC_3_2 failed for the following reason:
  • Details=Did not find all expected last report values before time-out, Extras=None
  • File "/home/ubuntu/master_dut/connectedhomeip/no/lib/python3.12/site-packages/chip/testing/matter_testing.py", line 521, in await_all_final_values_reported
  • asserts.fail("Did not find all expected last report values before time-out")
  • Test step:
  • 4d: TH awaits a ReportDataMessage containing an attribute report for DUT HoldTime attribute and all legacy attributes supported. Expected outcome:
  • Endpoint: 1

[MatterTest] 01-16 13:15:11.210 INFO [Test] test_TC_OCC_3_2 FAIL

Test step that require review:

Test step 4d

Sample app used to run the DUT:

All-cluster-app

Bug prevalence

Whenever I do this

GitHub hash of the SDK that was being used

d5e9829

Platform

raspi

Sample app used to run the Test: : All-clusters-app

Anything else?

Reference Logs:

TC-OCC-3.2(cntrl).txt
TC-OCC-3.2(DUT).txt

Python script References:

@jaehs6sam
Copy link
Contributor

@Ashwinigrl The failed test step is meant for attribute subscription testing of HoldTime. But somehow the later part of legacy timing attribute and "attrib_listener.await_all_final_values_reported" test script seem to be out of synch of the test plan intention. Definitely, I will look at 4d test script and find the solution soon.

@jaehs6sam jaehs6sam linked a pull request Jan 24, 2025 that will close this issue
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
Status: Open Cert Blockers
Development

Successfully merging a pull request may close this issue.

2 participants