-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Timing tests are flaky and this is very bad #1517
Labels
Comments
ARM Internal Ref: IOTSSL-2203 |
This was referenced Mar 29, 2018
Note: most of the failures I've seen were in |
This was referenced Apr 10, 2018
This was referenced Jun 25, 2018
4 tasks
RonEld
added
fix available
component-platform
Portability layer and build scripts
labels
Feb 17, 2019
3 tasks
yuhaoth
added a commit
to yuhaoth/mbedtls1.3
that referenced
this issue
Apr 18, 2023
See Mbed-TLS#1517. They often failed on the CI. Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
yuhaoth
added a commit
to yuhaoth/mbedtls1.3
that referenced
this issue
Apr 18, 2023
See Mbed-TLS#1517. They often failed on the CI. Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
Bug
OS
All
mbed TLS build:
Version: development (and many other versions)
Expected behavior
The CI should run tests that are not flaky, so we can reliably tell that PRs or new code additions do not cause regressions.
Actual behavior
The timing tests (timing_suite) sometimes fail and sometimes pass.
What we should do about this
CI should run only non-flaky tests. We've made attempts in the past at improving the tests (like in #1136), but we should instead take a step back and instead of just making the timing tests more robust, think about why we have them in the first place. Then we should determine the most sensible course forward to solving the issues that the timing tests were originally written to solve. If this means we wanted to increase our test coverage via the timing tests, we should consider less flaky ways of increasing test coverage. If we wanted some random timing variation testing, we can exclude such exploratory testing from the CI and perform the testing another way.
The text was updated successfully, but these errors were encountered: