RTEMS / Tools / RTEMS Tools¶
Go to Issues or Merge Requests
Merge Requests Summary
Issues¶
40 - Backport to 6 branch “tester: Avoid relying on external telnetlib”¶
Id |
40 |
State |
closed |
Type |
ISSUE |
Author |
Kinsey Moore |
Assignee(s) |
Kinsey Moore |
Closed by |
Kinsey Moore |
Created |
2026-08-14T18:44:01.865Z |
Closed |
2026-08-27T22:57:32.746Z |
Updated |
2026-08-27T22:57:32.987Z |
Milestone |
6.3 |
Labels |
tool::test |
Link |
https://gitlab.rtems.org/rtems/tools/rtems-tools/-/work_items/40 |
Merges |
0 |
The following discussion from !90 should be addressed:
[] @opticron started a discussion:
If this is an acceptable solution, it needs to be backported to 6 branch.
Author: Kinsey Moore
2026-08-14T18:44:02.057Z
added rtems#15 as parent item
Author: Kinsey Moore
2026-08-14T18:44:02.173Z
set status to To do
Author: Kinsey Moore
2026-08-14T18:44:02.322Z
assigned to @opticron
Author: Kinsey Moore
2026-08-14T18:47:22.966Z
mentioned in merge request !91
Author: Kinsey Moore
2026-08-27T22:57:32.827Z
set status to Done
30 - RTEMS tester fails with telnet under python 3.13¶
Id |
30 |
State |
closed |
Type |
ISSUE |
Author |
Chris Johns |
Assignee(s) |
Kinsey Moore, Chris Johns |
Closed by |
Chris Johns |
Created |
2025-10-02T22:50:32.938Z |
Closed |
2026-08-13T23:50:09.392Z |
Updated |
2026-08-13T23:50:09.759Z |
Milestone |
6.3 |
Labels |
tool::test |
Link |
https://gitlab.rtems.org/rtems/tools/rtems-tools/-/work_items/30 |
Merges |
1 |
Summary¶
When attempting to run the RTEMS tester with Python 3.13 an error about no telnetlib support appears.
Steps to reproduce¶
Pre-set options¶
Author: Kinsey Moore
2025-03-02T02:21:55.776Z
assigned to @opticron
Author: Kinsey Moore
2025-02-28T22:39:31.957Z
assigned to @opticron
Author: Kinsey Moore
2025-02-28T22:39:32.416Z
Author: Kinsey Moore
2026-07-31T16:28:04.497Z
On further investigation, this is 2 separate issues. The escapes need to be fixed to resolve the warnings and the actual exit is caused by missing telnetlib since it was deprecated in 3.11 and removed in 3.13.
Author: Kinsey Moore
2026-07-31T16:28:04.497Z
On debian systems, there is currently a workaround for the actual exit issue by installing
python3-zombie-telnetlib.
Author: Amar Takhar
2026-07-31T16:28:04.497Z
The current state of telnetlib isn’t great I don’t think there are any maintained ones. This one is its own project but no activity from the maintainer in years: https://github.com/jquast/telnetlib3
The Python one was just removed there is nobody touching the code anymore which is why they called it ‘zombie’ .. apt name.
telnetlib3is at least installable via pypi. I’m not sure if it’s a drop in replacement does it work can you try it out?FreeBSD for example has no telnet library for python available and I’m sure that’s true for most OS the Python project itself recommends either telnetlib3 or Exscript which is even more out of maintainership
Author: Kinsey Moore
2026-07-31T16:28:04.497Z
telnetlib3appears to be a mostly drop-in replacement (s/telnetlib/telnetlib3/g), but I don’t have an example of a tester configuration that actually uses it, so I can’t verify that functionality completely.
Author: Chris Johns
2026-07-31T16:28:04.497Z
https://docs.rtems.org/docs/main/user/testing/configuration.html#console and look for:
%define bsp_tty_dev 1.2.3.4:8989
Author: Kinsey Moore
2026-07-31T16:28:04.497Z
Ah, I do actually have a test configuration that I can verify this on. It’ll probably have to wait until Monday.
Author: Kinsey Moore
2025-03-02T02:21:56.083Z
moved from rtems-source-builder#95
Author: Kinsey Moore
2025-03-02T02:22:42.566Z
mentioned in merge request !53
Author: Kinsey Moore
2025-07-30T18:50:47.695Z
The situation has been improved by 0efe888d3cbdc82fb4ba95c6ad8b2d2e5c960d2e in that the reason for exit is displayed. This still needs work to verify the migration path to telnetlib3.
Author: Chris Johns
2025-10-02T22:41:29.516Z
changed the description
Author: Chris Johns
2025-10-02T22:44:15.955Z
This is issue cover two problem. We need to split it as the syntax issue has been fixed and we should close this issue.
Author: Chris Johns
2025-10-02T22:49:19.321Z
/clone–with_notes
Author: Chris Johns
2025-10-02T22:50:33.404Z
cloned from #22
Author: Chris Johns
2025-10-02T22:51:41.583Z
changed title from
RTEMS tester fails
to run correctly
under python 3.13
to
RTEMS tester fails
with telnet
under python 3.13
Author: Chris Johns
2025-10-02T22:51:41.613Z
changed the description
Author: Chris Johns
2025-10-09T22:25:36.758Z
added rtems#15 as parent epic
Author: Christian Mauderer
2025-11-03T08:54:03.258Z
mentioned in merge request rtems-sis!7
Author: Chris Johns
2026-07-31T00:23:47.657Z
assigned to @chris
Author: Kinsey Moore
2026-07-31T16:32:08.443Z
The quick and dirty fix until we have something better is to vendor telnetlib ourselves.
Author: Kinsey Moore
2026-07-31T17:06:58.029Z
mentioned in merge request !90
Author: Kinsey Moore
2026-07-31T17:20:15.015Z
set status to In progress
Author: Chris Johns
2026-08-13T23:50:11.709Z
set status to Done
Merge Requests¶
98 - tester/rt/tftp.py: Prevent infinite hang¶
Id |
98 |
State |
merged |
Merged by |
Chris Johns |
Merged at |
2026-10-29T17:19:57.810Z |
Assignee(s) |
Kinsey Moore |
Reviewer(s) |
Chris Johns |
Created |
2026-10-24T15:06:00.242Z |
Updated |
2026-10-29T17:19:57.803Z |
Milestone |
6.3 |
Labels |
tool::test |
Link |
https://gitlab.rtems.org/rtems/tools/rtems-tools/-/merge_requests/98 |
Commit |
tester/rt/tftp.py: Prevent infinite hang
When tester setups are not ideal, conditions can occur where the tftp tester can hang indefinitely on a given test. This has been demonstrated both with corrupted output from the ZynqMP platform and with a hanging test on the versal platform. This condition also causes a loss of test data since the report is never written.
The solution is to set self.opened = False after the loop in open() to allow processing to proceed.
Closes #23
Generative AI¶
None
Author: Kinsey Moore
2026-10-24T15:06:10.544Z
marked this merge request as blocked by !97
Author: Kinsey Moore
2026-10-24T15:06:16.449Z
assigned to @opticron
Author: Kinsey Moore
2026-10-24T15:25:38.661Z
changed title from
gitlab: Add link to CI
to
tester/rt/tftp.py: Prevent infinite hang
Author: Kinsey Moore
2026-10-24T15:25:38.737Z
changed the description
Author: Kinsey Moore
2026-10-24T15:25:38.795Z
changed target branch from
mainto6
Author: Kinsey Moore
2026-10-29T17:13:23.053Z
requested review from @chris
Author: Chris Johns
2026-10-29T17:18:18.952Z
approved this merge request
Author: Chris Johns
2026-10-29T17:18:21.884Z
enabled an automatic merge when all merge checks for 214a3eeca7967808fa1afd2e4a97257ad998cf61 pass
91 - tester: Avoid relying on external telnetlib¶
Id |
91 |
State |
merged |
Merged by |
Kinsey Moore |
Merged at |
2026-08-14T18:48:16.741Z |
Assignee(s) |
Kinsey Moore |
Created |
2026-08-14T18:46:23.193Z |
Updated |
2026-08-14T18:48:16.731Z |
Milestone |
6.3 |
Labels |
tool::test |
Link |
https://gitlab.rtems.org/rtems/tools/rtems-tools/-/merge_requests/91 |
Commit |
Summary¶
tester: Avoid relying on external telnetlib
Kinsey Moore authored 2 weeks ago The telnetlib package has been deprecated and removed from the standard library. This pulls in its last source version so that it can be distributed until a better solution is found.
Closes #40
Generative AI¶
None
Author: Kinsey Moore
2026-08-14T18:46:23.367Z
assigned to @opticron
Author: Kinsey Moore
2026-08-14T18:46:46.571Z
changed target branch from
mainto6
Author: Kinsey Moore
2026-08-14T18:47:22.846Z
changed title from
gitlab: Add link to CI
to
tester: Avoid relying on external telnetlib
Author: Kinsey Moore
2026-08-14T18:47:22.875Z
changed the description
Author: Kinsey Moore
2026-08-14T18:47:29.447Z
enabled an automatic merge when all merge checks for adf3e254d08f678d3625a4edccb2ac3485d96519 pass
Author: Joel Sherrill
2026-08-14T18:48:11.819Z
approved this merge request
Author: Gedare Bloom
2026-08-14T18:48:13.135Z
approved this merge request