-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
[BUG] [Linux - Simulated] Stack teardown is crashing after test is completed. #24705
Comments
@bzbarsky-apple can you take a look when you get a chance please ? |
I am noticing similar behavior with The TC_DESC_2_2 |
From the CNET_TH1.txt log:
This typically happens if you quit the application without actually shutting down the Matter stack first. Which is what I see here: there is no shutdown before that assertion failure. I suggest running under a debugger so you can get a stack to whatever made the |
Also, I could probably do the debugging myself, but then I need actual steps to reproduce. I have no idea what |
@bzbarsky-apple
Observe Additional Info: |
Also , docker pull connectedhomeip/chip-cert-bins:3f360d7565b88d271a1097505e1ddaf8f8a3dc40 is the cert bins docker tag that was used |
@sholagi First step: what is |
@bzbarsky-apple you can use docker pull method suggested by Raju to get the |
@sholagi That really does not work well on an M1 Mac. ;) |
@bzbarsky-apple Is there any way I can share the binary? Do you have suggestions? may be slack or box ? |
OK, so when I do the above steps, on this step:
the server claims:
and the server then calls
which is very much an unclean shutdown that is not shutting down the Matter stack... But that's not what's going on in the logs above. Trying to figure out why this thing is stopping at the very first read. |
Ah, the test expects device-type-list to be read on EP0, not EP1. |
Yes you are right. My bad. Please change the endpoints to 0 in all the steps. |
OK, same deal in the end. Now we are doing |
Otherwise we end up crashing on asserts about leaks. Fixes project-chip#24705
Otherwise we end up crashing on asserts about leaks. Fixes project-chip#24705
#24714 should fix this. |
Thanks 🙏🏼 @bzbarsky-apple . Hopefully we can fast track this and we pick the TOT on Monday for the TH build. |
…#24714) Otherwise we end up crashing on asserts about leaks. Fixes project-chip/connectedhomeip#24705
…#24714) Otherwise we end up crashing on asserts about leaks. Fixes project-chip/connectedhomeip#24705
…roject-chip#24714) Otherwise we end up crashing on asserts about leaks. Fixes project-chip#24705
Reproduction steps
Bug prevalence
Every time
GitHub hash of the SDK that was being used
3f360d7
Platform
raspi
Platform Version(s)
No response
Anything else?
It appears that after the simulated device test steps are complete that the crasher is occurring during teardown of the stack. This is an issue because the exit code is reporting a failure and the test succeeded. TH team is consistently seeing this during executions of the simulated device.
Logs:
CNET_TH1.txt
UI_Test_Run_2023_1_27_19_3_54.txt
The text was updated successfully, but these errors were encountered: