-
Notifications
You must be signed in to change notification settings - Fork 3k
Fix LowPowerTimer and nightly builds #5242
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
Conversation
If a LowPowerTimer is started and then goes out of scope then a deep sleep lock underflow can occur. This is because the the variable '_lock_deepsleep' is checked when starting the timer but is not checked in the destructor, which unconditionally releases the deep sleep lock.
/morph test-nightly |
@tommikas I restarted jenkins CI , seems that its not updating the status here? |
It's actually still running. There was a bit of a queue built up. |
Result: FAILUREYour command has finished executing! Here's what you wrote!
OutputTest failed! |
Nightly appears to be failing |
This commit reverts commit c1c0f1e because it causes nightly builds to fail. This is because extra tests added in tests-mbed_drivers-ticker fail on some targets, such as the KL46Z, MAX32625MBED, MAX32630FTHR, NCS36510, NRF51 and NRF52_DK.
Added a commit to revert #5006. With this, nightly builds should pass. |
/morph test-nightly |
Result: SUCCESSYour command has finished executing! Here's what you wrote!
OutputAll builds and test passed! |
If a LowPowerTimer is started and then goes out of scope then a deep sleep lock underflow can occur. This is because the the variable '_lock_deepsleep' is checked when starting the timer but is not checked in the destructor, which unconditionally releases the deep sleep lock. This bug was introduced in #5148