#1367·FreeRTOS

[BUG] SMP Testing Issue on AARCH64: Individual Tests Pass but Combined Tests Fail

Author: github-xiaodongCreated Jul 18, 2025Updated Aug 7, 2025
Labelsbug

Describe the bug

I’m porting FreeRTOS AARCH64 SMP system to a 4-core Cortex-A53 board (based on the CORTEX_A53_64-bit_UltraScale_MPSoC implementation.

When running the test suite following the ThirdParty/Template README, I observe:

✅ Individual tests pass when executed alone (e.g., configSTART_BLOCKING_QUEUE_TESTS or configSTART_GENERIC_QUEUE_TESTS).

❌ Combined tests fail when multiple test cases are selected together (e.g., configSTART_BLOCKING_QUEUE_TESTS+ configSTART_GENERIC_QUEUE_TESTS + configSTART_ABORT_DELAY_TESTS).

Environment

FreeRTOS Source: FreeRTOS-Kernel main branch (commit: [latest]).

Host OS: Windows WSL

Target board: 4-core AARCH64 SMP (similar to Cortex-A53).

Toolchain: GCC [version].

Config: #define configUSE_CORE_AFFINITY 1 #define configNUMBER_OF_CORES 4 #define configRUN_MULTIPLE_PRIORITIES 0 #define configTICK_RATE_HZ ( ( TickType_t ) 1000 )

Key Question

For the configuration options configSTART_<Test_Name>_TESTS:

  1. Should all tests pass when run simultaneously (all configSTART_*_TESTS set to 1)?

  2. Or is it acceptable if tests pass only when run individually (testing one configSTART_*_TESTS at a time)?