🧑🌾 ros2node.ros2node.test failing in linux CI
Maintainers usually reply within 1 day
@cottsay is already working on this.
Since May 29, 2025.
Assessment
This issue has not been assessed yet.
Description
Generated by Generative AI
No response
Operating System:
Ubuntu Noble, RHEL 9
ROS version or commit hash:
rolling
RMW implementation (if applicable):
No response
RMW Configuration (if applicable):
No response
Client library (if applicable):
No response
'ros2 doctor --report' output
Steps to reproduce issue
- Run a build in a linux CI distribution
- See test regression
Expected behavior
Test should not fail
Actual behavior
Test is failing
Additional information
Reference builds:
- https://ci.ros2.org/view/nightly/job/nightly_linux_release/3473/
- https://ci.ros2.org/view/nightly/job/nightly_linux_debug/3425/
- https://ci.ros2.org/view/nightly/job/nightly_linux-rhel_release/2271/
- https://ci.ros2.org/view/nightly/job/nightly_linux-aarch64_release/3104/
- https://ci.ros2.org/job/nightly_linux_coverage/2773/
Test regression:
Log output (similar for all jobs):
===============================================================================================================================================================================================================================================================================================================
FAIL: test_cli.TestROS2NodeCLI.test_list_all_nodes[rmw_fastrtps_cpp]
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Traceback (most recent call last):
File "/home/jenkins-agent/workspace/nightly_linux_release/ws/install/launch_testing/lib/python3.12/site-packages/launch_testing/markers.py", line 61, in _wrapper
return func(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/jenkins-agent/workspace/nightly_linux_release/ws/src/ros2/ros2cli/ros2node/test/test_cli.py", line 135, in test_list_all_nodes
assert launch_testing.tools.expect_output(
AssertionError: assert False
+ where False = <function expect_output at 0x7e3ee59918a0>(expected_lines=['/_hidden_complex_node', '/complex_node'], text='/_hidden_complex_node\n/cli_bw_delay_hz/cli_bw_delay_hz_test_node\n/complex_node\n/node_ns/test_generate_policy_services_node\n/test_generate_policy_topics_node\n', strict=True)
+ where <function expect_output at 0x7e3ee59918a0> = <module 'launch_testing.tools' from '/home/jenkins-agent/workspace/nightly_linux_release/ws/install/launch_testing/lib/python3.12/site-packages/launch_testing/tools/__init__.py'>.expect_output
+ where <module 'launch_testing.tools' from '/home/jenkins-agent/workspace/nightly_linux_release/ws/install/launch_testing/lib/python3.12/site-packages/launch_testing/tools/__init__.py'> = launch_testing.tools
+ and '/_hidden_complex_node\n/cli_bw_delay_hz/cli_bw_delay_hz_test_node\n/complex_node\n/node_ns/test_generate_policy_services_node\n/test_generate_policy_topics_node\n' = <launch_testing.tools.process.ProcessProxy object at 0x7e3ed3e9c6e0>.output
===============================================================================================================================================================================================================================================================================================================
FAIL: test_cli.TestROS2NodeCLI.test_list_node_count[rmw_fastrtps_cpp]
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Traceback (most recent call last):
File "/home/jenkins-agent/workspace/nightly_linux_release/ws/install/launch_testing/lib/python3.12/site-packages/launch_testing/markers.py", line 61, in _wrapper
return func(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/jenkins-agent/workspace/nightly_linux_release/ws/src/ros2/ros2cli/ros2node/test/test_cli.py", line 152, in test_list_node_count
assert int(output_lines[0]) == 1
AssertionError: assert 2 == 1
+ where 2 = int('2')
===============================================================================================================================================================================================================================================================================================================
FAIL: test_cli.TestROS2NodeCLI.test_list_nodes[rmw_fastrtps_cpp]
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Traceback (most recent call last):
File "/home/jenkins-agent/workspace/nightly_linux_release/ws/install/launch_testing/lib/python3.12/site-packages/launch_testing/markers.py", line 61, in _wrapper
return func(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/jenkins-agent/workspace/nightly_linux_release/ws/src/ros2/ros2cli/ros2node/test/test_cli.py", line 124, in test_list_nodes
assert launch_testing.tools.expect_output(
AssertionError: assert False
+ where False = <function expect_output at 0x7e3ee59918a0>(expected_lines=['/complex_node'], text='/cli_bw_delay_hz/cli_bw_delay_hz_test_node\n/complex_node\n', strict=True)
+ where <function expect_output at 0x7e3ee59918a0> = <module 'launch_testing.tools' from '/home/jenkins-agent/workspace/nightly_linux_release/ws/install/launch_testing/lib/python3.12/site-packages/launch_testing/tools/__init__.py'>.expect_output
+ where <module 'launch_testing.tools' from '/home/jenkins-agent/workspace/nightly_linux_release/ws/install/launch_testing/lib/python3.12/site-packages/launch_testing/tools/__init__.py'> = launch_testing.tools
+ and '/cli_bw_delay_hz/cli_bw_delay_hz_test_node\n/complex_node\n' = <launch_testing.tools.process.ProcessProxy object at 0x7e3ed3ee08c0>.output
===============================================================================================================================================================================================================================================================================================================
FAIL: test_cli.TestROS2NodeCLI.test_info_hidden_node_hidden_flag[rmw_cyclonedds_cpp]
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Exception: Launch stopped before the active tests finished.
===============================================================================================================================================================================================================================================================================================================
FAIL: test_cli.TestROS2NodeCLI.test_info_hidden_node_no_hidden_flag[rmw_cyclonedds_cpp]
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Exception: Launch stopped before the active tests finished.
===============================================================================================================================================================================================================================================================================================================
FAIL: test_cli.TestROS2NodeCLI.test_info_node[rmw_cyclonedds_cpp]
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Exception: Launch stopped before the active tests finished.
===============================================================================================================================================================================================================================================================================================================
FAIL: test_cli.TestROS2NodeCLI.test_list_all_nodes[rmw_cyclonedds_cpp]
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Exception: Launch stopped before the active tests finished.
===============================================================================================================================================================================================================================================================================================================
FAIL: test_cli.TestROS2NodeCLI.test_list_all_nodes_count[rmw_cyclonedds_cpp]
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Exception: Launch stopped before the active tests finished.
===============================================================================================================================================================================================================================================================================================================
FAIL: test_cli.TestROS2NodeCLI.test_list_node_count[rmw_cyclonedds_cpp]
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Exception: Launch stopped before the active tests finished.
===============================================================================================================================================================================================================================================================================================================
FAIL: test_cli.TestROS2NodeCLI.test_list_nodes[rmw_cyclonedds_cpp]
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Exception: Launch stopped before the active tests finished.
- Dominant language
- Python
- Stars
- 274
- Forks
- 246
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 12
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from ros2/ros2cli
-
ros2 CLI prints BrokenPipeError traceback when output is piped to a command that exits early (e.g. head)May be free again @akshat-lakhera claimed this 38 days ago, and no pull request is open. Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 63/100
ros2/ros2cli#1342 · 2 comments ·
Maintainers usually reply within 1 day
-
Add --timeout alias to ros2 topic pub and ros2 param listPossibly taken @1cbyc claimed this 63 days ago. Opengood first issue
Difficulty 2/5 1-3 hours Newbie friendliness 92/100
ros2/ros2cli#1305 · 2 comments ·
Maintainers usually reply within 1 day
-
ros2doctor: UserWarning: Fail to call PackageReport/RosdistroReport class functions.Possibly taken @sujanchalla0510 claimed this 13 days ago. Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 20/100
Maintainers usually reply within 1 day
-
Add --all alias to commands that include hidden nodes, topics, or servicesPossibly taken @Rajat-Arora claimed this 62 days ago. Opengood first issue
Difficulty 3/5 1-2 days Newbie friendliness 78/100
ros2/ros2cli#1302 · 2 comments · 1 assignee ·
Maintainers usually reply within 1 day
-
ros2run python script without extension .py fails on windows + pixiMay be free again A pull request for this issue was closed without being merged. Openbug more-information-needed
Difficulty 3/5 1-2 days Newbie friendliness 68/100
ros2/ros2cli#1301 · 1 comment ·
Maintainers usually reply within 1 day
Similar issues
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
Maintainers usually reply within 1 day
-
hive size:simple
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
-
backend enhancement priority:P3
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
geolens-io/geolens#4161 ·
Maintainers usually reply within 1 day