connectedhomeip
connectedhomeip copied to clipboard
[pre-sve] DGSW-2.2 Implementation for event handler of Software Diagnostics events is missing
Problem
In Test case DGSW-2
-
expected behavior - DUT sends an event report to TH. TH reads a list of SoftwareFault struct from DUT.
-
actual behavior - No Event Report is sent
-
system configuration - DUT used : ESP32 - app use: all-clusters-app - chip-tool and DUT commit id : 425f1fb916ca154deeb75cd82cd5196778aba152 (pre-sve SHA)
-
logs
Proposed Solution
- Add code to handle software events
Bumping this issue to cert blocker as it's a request cert blocker discovered during pre-SVE tests.
SoftwareFault event conformance is optional.
While this is useful for testing, I am unsure if this should block cert: event generation is up to the individual device implementation, software fault event generation is optional.
Cert Blocker Review: Tagging @franck-apple to follow up with Sankar, to see if there's a test plan update/review needed.
@PSONALl I checked with QA team, they used the following command to generate the event & then read the event. Can you please try and update your observation?
- get the pid of the apps you are running by "ps -aef|grep all-clusters-app"
- Then kill the app using the following signal "sudo kill -SIGUSR1
" - Then read the event.
It worked fine for us
@sankarselvam tried this but I am not getting any Event Report when I read the event this is because OnSoftwareFaultDetect is never called
OK, Seems like its a platform specific issue. We tried in RPI & we could able to see the event is called in DUT. Attached logs for ref [TC-DGSW-2.2]TH.txt [TC-DGSW-2.2]DUT.txt
Yes @sankarselvam I am working to fix this issue on the esp32 side
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
This stale issue has been automatically closed. Thank you for your contributions.