-
Notifications
You must be signed in to change notification settings - Fork 3k
Disables flash clock and cache test #6340
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
/morph build |
Restarting. Let other PR take priority. (#6341) /morph build |
Build : SUCCESSBuild number : 1426 Triggering tests/morph test |
Exporter Build : ABORTEDBuild number : 1072 |
const int acceptable_range = timer_diff_start / (ALLOWED_DRIFT_PPM); | ||
TEST_ASSERT_UINT32_WITHIN(acceptable_range, timer_diff_start, timer_diff_end); | ||
} | ||
//void flash_clock_and_cache_test() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we just comment call to this function.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I didn't want to throw an extra warning about an unused function.
Are we able to reproduce this error? Disabling a test is not an answer usually. |
Not realiably, but it's a failure error we've been seeing more of lately. |
Wouldn't be better to disable it just for one target then? |
we have seen this often on NRF52840_DK, it would be a good candidate to reproduce. |
Wasn't aware that was a thing. Will update the PR to do just that. |
Probably nordic targets may be? |
@studavekar Re-review requested. Tested by compiling against NRF52_DK and K66F. Will squash commits after an OK is given. Not completely sure this is the proper way to go about doing this. |
@cmonr I'd change your check to the following:
That should disable the test just for NRF52840_DK and NRF52_DK. |
Another option is you could use those same checks to increase the expected delta for those targets. |
I was thinking we protect the test case itself, instead of a pass
|
Yes, its better if we can avoid running the tests on targets where its not supported instead of providing a "False Pass" indication. |
Agreed @studavekar and @SenRamakri |
Will make changes per recommendations. |
@cmonr Can we resolve this today? asap |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@cmonr This is not how we disable tests for a target, or series of targets.
Instead, could you add a
#ifdef NORDIC
#error [NOT SUPPORTED] ...
#endif
somewhere in this file.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I take it back. I must have had an old cached copy of the code, where all tests were disabled.
7f54bb7
to
f18ecd1
Compare
This is meant to be a temporary fix until the issue has been root caused, and Jenkins CI is no longer intermittently failing.
f18ecd1
to
9f63013
Compare
Re-requesting reviews. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pretty simple.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No problems here
/morph build |
Build : SUCCESSBuild number : 1484 Triggering tests/morph test |
Exporter Build : SUCCESSBuild number : 1129 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We shall not forget to fix this and reenable it later :)
cc @marcuschangarm (to be aware of this) |
Test : SUCCESSBuild number : 1270 |
@cmonr @0xc0170 @theotherjimmy should we merge this one? |
Making a note here. This PR does not successfully disable the test. |
Looking at the macro, would it be better |
I think that would be a better macro. Working on it right now. Will provide pre/post test logs with new PR to confirm the test is actually disabled. |
Has been causing intermittent morph test failures with NRF52_DK boards
Description
Disables the flash clock and cache tests. For a few weeks, this test would intermittently fail specifically against the NRF52_DK built against the GCC_ARM compiler.
An example failure:
Note: This is not expected to be a permanent fix, but should make tests more stable and save us some test-restart pains.
Pull request type