RTEMS | RTEMS Tester: ts-fatal-extension.exe test is considered as failed even when it passes (#5292)
Matteo Concas (@matteo.concas)
gitlab at rtems.org
Fri Jul 4 07:01:08 UTC 2025
Matteo Concas created an issue: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5292
## Summary
Using `rtems-test` from the RTEMS tools to run `ts-fatal-extension.exe` test will show the test as failed. When running the test separately, the test runs fine and reaches the `END OF TEST` marker.
## Steps to reproduce
We run our test on hardware with a noel64imafd BSP using GDB, but this should reproducible on other BSPs.
The `rtems-test` log:
```
=> test start: TestsuitesBspsFatalExtension
] *** BEGIN OF TEST TestsuitesBspsFatalExtension ***
] *** TEST VERSION: 6.0.0.ef2fb03
] *** TEST STATE: EXPECTED_PASS
] *** TEST BUILD: RTEMS_POSIX_API RTEMS_SMP
] *** TEST TOOLS: 13.3.0 20240521 (RTEMS 6, RSB ef2fb034bf94e3f900e98232bd97c3b9b29a967d-modified, Newlib 1b3dcfd)
=> test end: TestsuitesBspsFatalExtension
] *** FATAL ***
Passed: 0
Failed: 1
User Input: 0
Expected Fail: 0
Indeterminate: 0
Benchmark: 0
Timeout: 0
Test too long: 0
Invalid: 0
Wrong Version: 0
Wrong Build: 0
Wrong Tools: 0
Wrong Header: 0
----------------
Total: 1
Failures:
ts-fatal-extension.exe
Average test time: 0:00:08.014077
Testing time : 0:00:08.014077
```
The full test log when ran standalone:
```
*** BEGIN OF TEST TestsuitesBspsFatalExtension ***
*** TEST VERSION: 6.0.0.ef2fb03
*** TEST STATE: EXPECTED_PASS
*** TEST BUILD: RTEMS_POSIX_API RTEMS_SMP
*** TEST TOOLS: 13.3.0 20240521 (RTEMS 6, RSB ef2fb034bf94e3f900e98232bd97c3b9b29a967d-modified, Newlib 1b3dcfd)
*** FATAL ***
fatal source: 10 (RTEMS_FATAL_SOURCE_SMP)
CPU: 0
fatal code: 4 (0x00000004)
RTEMS version: 6.0.0.ef2fb03
RTEMS tools: 13.3.0 20240521 (RTEMS 6, RSB ef2fb034bf94e3f900e98232bd97c3b9b29a967d-modified, Newlib 1b3dcfd)
executing thread ID: 0x09010001
executing thread name: IDLE
A:TestsuitesBspsFatalExtension
S:Platform:RTEMS
S:Compiler:13.3.0 20240521 (RTEMS 6, RSB ef2fb034bf94e3f900e98232bd97c3b9b29a967d-modified, Newlib 1b3dcfd)
S:Version:6.0.0.ef2fb03
S:BSP:gr765
S:BuildLabel:DEFAULT
S:TargetHash:SHA256:y8rjGonS7O6nrCDDgfW4kZqM7RKcPp82ExuTnLk3IIs=
S:RTEMS_DEBUG:0
S:RTEMS_MULTIPROCESSING:0
S:RTEMS_POSIX_API:1
S:RTEMS_PROFILING:0
S:RTEMS_SMP:1
B:BspValFatalSmpShutdown
E:BspValFatalSmpShutdown:N:2:F:0:D:0.000037
B:BspValFatalExtensionReset
E:BspValFatalExtensionReset:N:2:F:0:D:0.000021
Z:TestsuitesBspsFatalExtension:C:2:N:4:F:0:D:0.061605
Y:ReportHash:SHA256:_qFgm5wuNDgJ6LgDQq24Aucn0Js7MPI9lToGaJeu_qc=
*** END OF TEST TestsuitesBspsFatalExtension ***
```
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5292
You're receiving this email because of your account on gitlab.rtems.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20250704/f70284dd/attachment-0001.htm>
More information about the bugs
mailing list