-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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
Sanitycheck hardware map integration caused some tests failure. #22780
Labels
area: Sanitycheck
Sanitycheck has been renamed to Twister
bug
The issue is a bug, or the PR is fixing a bug
priority: low
Low impact/importance bug
Comments
I am having hard time reproducing or understanding the issue above, if I run sanitycheck on the same set of boards all work as expected:
you need to check the hardware and make sure:
|
thanks. i will check my test environment. |
after check my environment, and add retry-failed 2 to run this again, the test result is as expected, so close this. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area: Sanitycheck
Sanitycheck has been renamed to Twister
bug
The issue is a bug, or the PR is fixing a bug
priority: low
Low impact/importance bug
Describe the bug
use the sanitycheck hardware map option to run the whole tests directory in parallel on four boards:
reel_board, frdm_k64f, sam_e70_xplained, mimxrt1050_evk,
there are some successful tests related to timer failed(those tests should be passed if only run one board), so it can't ensure the pass rate.
in the 26 failed tests:
INFO - 163/724 frdm_k64f tests/kernel/timer/timer_api/kernel.timer
FAILED Failed (device 7.238s)
INFO - 240/724 reel_board tests/kernel/sched/schedule_api/kernel.scheduler.multiq FAILED Failed (device 16.314s)
for a example,
if i run sanitycheck -p reel_board -T tests command on reel_board, the tests/kernel/sched/schedule_api/kernel.scheduler.multiq can be passed,
however, if i run sanitycheck --hardware-map map4.yml -T tests/, the tests/kernel/sched/schedule_api/kernel.scheduler.multiq failed on reel board with error log:
Assertion failed at ZEPHYR_BASE/tests/kernel/sched/schedule_api/src/test_slice_scheduling.c:63: thread_tslice: ((tdelta >= expected_slice_min) && (tdelta <= expected_slice_max) && (idx == thread_idx)) is false
also the same with tests/kernel/timer/timer_api/kernel.timer on frdm_k64f, this test failed with error log:
starting test - test_timer_k_define
Assertion failed at ZEPHYR_BASE/tests/kernel/timer/timer_api/src/main.c:64: duration_expire: interval >= 100 is false
FAIL - test_timer_k_define
To Reproduce
Steps to reproduce the behavior:
Screenshots or console output
INFO - 724 test configurations selected, 996 configurations discarded due to filters.
INFO - Adding tasks to the queue...
INFO - 724/724 frdm_k64f tests/lib/fdtable/libraries.os.fdtable PASSED(device 2.674s)
INFO - 663 of 724 tests passed (96.23%), 26 failed, 35 skipped with 0 warnings in 2460.19 seconds
INFO - In total 441 test cases were executed on 4 out of total 218 platforms (1.83%)
Hardware distribution summary:
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: