RTEMS / Tools / RTEMS Tools¶
Go to Issues or Merge Requests
Issues Summary
Merge Requests Summary
Issues¶
22 - RTEMS tester fails to run correctly under python 3.13¶
Id |
22 |
State |
closed |
Type |
ISSUE |
Author |
Kinsey Moore |
Assignee(s) |
Kinsey Moore |
Closed by |
Chris Johns |
Created |
2025-02-28T22:39:31.754Z |
Closed |
2025-10-02T22:52:00.909Z |
Updated |
2025-10-02T22:52:00.914Z |
Milestone |
6.2 |
Labels |
tool::test |
Link |
https://gitlab.rtems.org/rtems/tools/rtems-tools/-/issues/22 |
Merges |
0 |
Summary¶
When attempting to run the RTEMS tester with Python 3.13, these error messages are produced:
.../rtems-tools/tester/rt/test.py:76: SyntaxWarning: invalid escape sequence '\\['
status_regx = re.compile('^\\[\\s*\\d+/\\s*\\d+\\] p:.+')
.../rtems-tools/tester/rt/test.py:188: SyntaxWarning: invalid escape sequence '\\.'
norun = re.compile('.*\\.norun.*')
Incorrect RTEMS Tools installation
This was tested on the 6.1 branch, but there appear to be no changes to main that would have fixed this.
This issue also includes the telnetlib issue.
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
2025-03-02T02:13:13.434Z
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
2025-03-02T02:13:13.403Z
On debian systems, there is currently a workaround for the actual exit issue by installing
python3-zombie-telnetlib.
Author: Amar Takhar
2025-03-02T02:28:45.323Z
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
2025-03-02T02:34:43.202Z
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
2025-03-02T02:37:05.927Z
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
2025-03-02T02:43:13.300Z
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 0efe888 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.435Z
cloned to #30
Author: Chris Johns
2025-10-02T22:51:53.525Z
Flxed
Author: Chris Johns
2025-10-02T22:52:00.940Z
set status to Done
Merge Requests¶
52 - gitlab: Add link to CI¶
Id |
52 |
State |
merged |
Merged by |
Chris Johns |
Merged at |
2025-03-13T22:40:18.474Z |
Assignee(s) |
Amar Takhar |
Created |
2025-02-14T10:40:05.215Z |
Updated |
2025-03-13T22:41:57.727Z |
Milestone |
6.2 |
Labels |
ci |
Link |
https://gitlab.rtems.org/rtems/tools/rtems-tools/-/merge_requests/52 |
Commit |
Summary¶
gitlab: Add link to CI
This runs only the commit message and merge request checker.
Required so we can have ‘all pipelines must pass’ enabled due to a bug in GitLab.
Closes #6
Author: Amar Takhar
2025-02-14T10:40:05.432Z
assigned to @amar
Author: Chris Johns
2025-03-13T22:40:10.076Z
approved this merge request