-
Notifications
You must be signed in to change notification settings - Fork 7.5k
tests/drivers/watchdog/wdt_basic_api fails on Quark SE / x86 and esp32 #8097
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
Comments
I don't know why this was assigned to me, but running a git bisect (I put the good point on 1.11) points to commit 7a5ff13 @nashif Can you check? That said, while running the git bisect, I realized that test (which is made only for qmsi... that sucks, moreover it's supposed to test the generic API but anyway) gives a slight different output on success sometimes: sometime it resets and pass, sometime it does not reset but still passes. |
i just hit this commit with bisect myself, looking |
@punitvara status update please? any fix in sight? |
@punitvara Please take a quick look and drive this issue to closure. This is pending from long time without any updates. |
@nashif I did some intial analysis, the watch dog timer for qmsi and esp32 are not moved to new interfaces introduced . But application uses newly introduced interface for which the QMSI and esp32 WDT driver are not compaitable. This reason why esp32 crashes. Still wondering why null pointer derefercing of QMSI driver is not showing crash log instead just hangs. |
I also have a problem with watchdog example on STM32 (
|
@nashif @ManojSubbarao Modified wdt driver to new interfaces defined in watchdog.h. As of now only no callback test case is passing other two test cases are failing. I am still debugging the issue. |
After wdt qmsi driver changes , test cases for watchdog are passing. I have tested it on quark_se_c1000 board. I will work on esp32 driver changes as this driver also needs to be migrated for new wdt API interfaces. |
Implemented new wdt api interface for esp32. After that test case are failing, because global data are re-initialized upon system reset due watchdog time expiry. I am still debugging. This not the case for quark_se_c100. |
@SavinayDharmappa please look into this issue |
This issue is reproduced only in quark d2000 and arc of quark_se_c1000 . The driver changes for x86 quark_se_c1000 works fine, still debugging to find the root cause. |
In case of quark_d2000 watchdog reset is triggered , but variable defined in the app_noinit section also getting reinitialized during watchdog reset, which not the case for other platforms. Because of which "test_wdt_no_callback" repeats indefinitely. |
After further debugging it clear from status register reset is triggered by watchdog only but ram contents are being lost in that reset. Because of which test is going repeated loop. I think we have bypass this testcase for quark_d2000 @nashif |
Closed via #13659 |
Uh oh!
There was an error while loading. Please reload this page.
Toolchain: ZEPHYR_GCC_VARIANT=zephyr
Commit 43553da
Testcase seems to never complete after restarting the system
Error Console Log on quark_se_c1000/x86:
Error Console Log on esp32:
The text was updated successfully, but these errors were encountered: