ros2 / launch

Tools for launching multiple processes and for writing tests involving multiple processes.
Apache License 2.0
126 stars 144 forks source link

:farmer: TestROS2TopicUseSimTime.test_pub_times failing in Linux Coverage #796

Open Crola1702 opened 2 months ago

Crola1702 commented 2 months ago

Bug report

Required Info:

Steps to reproduce issue

  1. Run a build in nightly_linux_coverage
  2. See test ros2topic.ros2topic.test.test_use_sim_time.test_use_sim_time fail

Additional information

Reference build:

Test regression:

Log output:

FAIL: test_use_sim_time.TestROS2TopicUseSimTime.test_pub_times
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jenkins-agent/workspace/nightly_linux_coverage/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_coverage/ws/src/ros2/ros2cli/ros2topic/test/test_use_sim_time.py", line 124, in test_pub_times
    assert command.wait_for_shutdown(timeout=5)
AssertionError: assert False
 +  where False = <bound method ProcessProxy.wait_for_shutdown of <launch_testing.tools.process.ProcessProxy object at 0x7f2122599580>>(timeout=5)
 +    where <bound method ProcessProxy.wait_for_shutdown of <launch_testing.tools.process.ProcessProxy object at 0x7f2122599580>> = <launch_testing.tools.process.ProcessProxy object at 0x7f2122599580>.wait_for_shutdown