RTEMS Tools | rtems-test: Single test run can hang indefinitely (#23)

Kinsey Moore (@opticron) gitlab at rtems.org
Tue Mar 4 21:26:18 UTC 2025



Kinsey Moore created an issue: https://gitlab.rtems.org/rtems/tools/rtems-tools/-/issues/23

Assignee: Kinsey Moore

## Summary
Discovered on a tftp-based board config where the UART reset drops initial characters on hand-off from the bootloader, the rtems-test command can hang indefinitely. The timeout and max_test_period were set to defaults (180s and 300s, respectively).

This output was observed on a monitoring stream:
```
## Transferring control to RTEMS (at address 00010000) ...
D ***
*** TEST VERSION: 6.0.0.not-released
*** TEST STATE: EXPECTED_PASS
*** TEST BUILD: RTEMS_POSIX_API RTEMS_SMP
*** TEST TOOLS: 13.3.0 20240521 (RTEMS 6, RSB no-repo, Newlib 1b3dcfd)
Hello World

*** END OF TEST HELLO WORLD ***


[ RTEMS shutdown ]
CPU: 0
RTEMS version: 6.0.0.not-released
RTEMS tools: 13.3.0 20240521 (RTEMS 6, RSB no-repo, Newlib 1b3dcfd) 2018.3   Mar 21 2019  -  10:07:41
```

>From what I can tell, if the test never starts no timeouts apply.

This has been something I've seen off and on for a while now and while this was produced on 6 branch rtems-tools, no significant changes to this code have occurred on main.


### Pre-set options

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/tools/rtems-tools/-/issues/23
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/20250304/aacd29b1/attachment.htm>


More information about the bugs mailing list