Skip to content

Flaky tests in nightly builds #128

@christophfroehlich

Description

@christophfroehlich

Describe the bug
I open this issue to track CI failures introduced by adding it to the ros-controls stack build.

This error here comes from a typical waiting for service /controller_manager/list_controllers to become available..., maybe we can increase a timeout here, because it succeeds shortly after?


2026-02-27T04:17:27.3889739Z     [spawner-6] [INFO] [1772165737.456962589] [spawner_gripper_controller]: waiting for service /controller_manager/list_controllers to become available...
2026-02-27T04:17:27.3890327Z     FAIL
2026-02-27T04:17:27.3890856Z     test_camera_topics (robot_launch_test.TestFixture.test_camera_topics) ... skipped 'Skipping camera tests in headless mode.'
2026-02-27T04:17:27.3891735Z     test_check_if_msgs_published (robot_launch_test.TestFixture.test_check_if_msgs_published) ... [INFO] [spawner-5]: process has finished cleanly [pid 58859]
2026-02-27T04:17:27.3892333Z     ok
2026-02-27T04:17:27.3893899Z     test_check_if_mujoco_actuators_states_published (robot_launch_test.TestFixture.test_check_if_mujoco_actuators_states_published) ... [spawner-6] [INFO] [1772165737.965991974] [spawner_gripper_controller]: Setting controller param "params_file" to "['/home/runner/work/ros2_control_ci/ros2_control_ci/.work/target_ws/install/mujoco_ros2_control_demos/share/mujoco_ros2_control_demos/config/controllers.yaml']" for gripper_controller
2026-02-27T04:17:27.3895983Z     [spawner-6] [INFO] [1772165737.980787067] [spawner_gripper_controller]: Setting controller param "type" to "position_controllers/JointGroupPositionController" for gripper_controller

2026-02-27T04:17:27.3937256Z     ======================================================================
2026-02-27T04:17:27.3937600Z     FAIL: test_arm (robot_launch_test.TestFixture.test_arm)
2026-02-27T04:17:27.3938026Z     ----------------------------------------------------------------------
2026-02-27T04:17:27.3938345Z     Traceback (most recent call last):
2026-02-27T04:17:27.3939058Z       File "/home/runner/work/ros2_control_ci/ros2_control_ci/.work/target_ws/src/ros-controls/mujoco_ros2_control/mujoco_ros2_control_tests/test/robot_launch_test.py", line 153, in test_arm
2026-02-27T04:17:27.3939814Z         check_controllers_running(self.node, cnames)
2026-02-27T04:17:27.3940625Z       File "/home/runner/work/ros2_control_ci/ros2_control_ci/.work/target_ws/install/controller_manager/lib/python3.12/site-packages/controller_manager/test_utils.py", line 93, in check_controllers_running
2026-02-27T04:17:27.3941400Z         assert all(
2026-02-27T04:17:27.3941578Z                ^^^^
2026-02-27T04:17:27.3942506Z     AssertionError: Controller node(s) not found: ns: /, ctrl:gripper_controller, but seeing [('test_node', '/'), ('mjcf_publisher', '/'), ('robot_state_publisher', '/'), ('controller_manager', '/'), ('mujocosystem', '/'), ('mujoco_node', '/'), ('joint_state_broadcaster', '/'), ('position_controller', '/')]
2026-02-27T04:17:27.3943634Z     
2026-02-27T04:17:27.3943897Z     ======================================================================
2026-02-27T04:17:27.3944259Z     FAIL: test_gripper (robot_launch_test.TestFixture.test_gripper)
2026-02-27T04:17:27.3944640Z     ----------------------------------------------------------------------
2026-02-27T04:17:27.3944956Z     Traceback (most recent call last):
2026-02-27T04:17:27.3945684Z       File "/home/runner/work/ros2_control_ci/ros2_control_ci/.work/target_ws/src/ros-controls/mujoco_ros2_control/mujoco_ros2_control_tests/test/robot_launch_test.py", line 249, in test_gripper
2026-02-27T04:17:27.3946483Z         self.verify_arm_joint_states(
2026-02-27T04:17:27.3947244Z       File "/home/runner/work/ros2_control_ci/ros2_control_ci/.work/target_ws/src/ros-controls/mujoco_ros2_control/mujoco_ros2_control_tests/test/robot_launch_test.py", line 112, in verify_arm_joint_states
2026-02-27T04:17:27.3948013Z         self.assertTrue(
2026-02-27T04:17:27.3948404Z     AssertionError: False is not true : Effort field is zero, PID/Effort reporting may not be working
2026-02-27T04:17:27.3948827Z     
2026-02-27T04:17:27.3949042Z     ----------------------------------------------------------------------

To Reproduce
ros-controls/ros2_control_ci#674

Metadata

Metadata

Assignees

No one assigned

    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