Skip to content

πŸ§‘β€πŸŒΎ ros2node.ros2node.test failing in linux CIΒ #1031

Open
@Crola1702

Description

@Crola1702

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

  1. Run a build in a linux CI distribution
  2. See test regression

Expected behavior

Test should not fail

Actual behavior

Test is failing

Additional information

Reference builds:

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.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions