casaroli opened a new pull request, #3832: URL: https://github.com/apache/nuttx-apps/pull/3832
## Summary Since #3809, `ostest` stops with an assertion in `rr_test` on qemu-armv8a, and the `Linux (arm64-01)` CI job fails for every nuttx PR: ``` rr_test: Roundrobin Failed dump_assert_info: Assertion failed : at file: roundrobin.c:281 task: ostest ``` `rr_test` records which thread finishes each run, and fails if the first `CONFIG_TESTING_OSTEST_RR_RUNS` runs all come from one thread. With 4 runs over a range of 10000, one thread does all its runs within one time slice (`CONFIG_RR_INTERVAL=200`), before the other thread finishes a run. This PR reverts #3809: the defaults go back to a range of 30000 and 10 runs. A slow board can set `CONFIG_TESTING_OSTEST_RR_RANGE` and `CONFIG_TESTING_OSTEST_RR_RUNS` lower in its defconfig. ## Impact `ostest` takes longer again on slow targets that use the defaults. ## Testing nuttx master (284d4d4ea4d), QEMU 11, `ostest`: | apps | `qemu-armv8a:citest` | `qemu-armv8a:citest_smp` (`-smp 4`) | |---|---|---| | master | `rr_test` fails, exit status 256 | `rr_test` fails, exit status 256 | | this PR | `rr_test: Done`, exit status 0 (2 of 2 runs) | `rr_test: Done`, exit status 0 (2 of 2 runs) | `tools/checkpatch.sh -c -u -m -g` passes. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
