Skip to content

async_controller_lifecycle_at_cm_rate is flaky #2762

@christophfroehlich

Description

@christophfroehlich

Describe the bug

2025-10-31T03:04:34.4710546Z     [  FAILED  ] test_strict_best_effort/TestControllerManagerWithStrictness.async_controller_lifecycle_at_cm_rate/0, where GetParam() = 12-byte object <02-00 00-00 01-00 00-00 00-00 00-00>
2025-10-31T03:04:34.4711599Z     
2025-10-31T03:04:34.4711768Z      1 FAILED TEST
2025-10-31T03:04:34.4712098Z     -- run_test.py: return code 1
2025-10-31T03:04:34.4712969Z     -- run_test.py: inject classname prefix into gtest result file '/home/runner/work/ros2_control_ci/ros2_control_ci/.work/target_ws/build/controller_manager/test_results/controller_manager/test_controller_manager.gtest.xml'
2025-10-31T03:04:34.4714338Z     -- run_test.py: verify result file '/home/runner/work/ros2_control_ci/ros2_control_ci/.work/target_ws/build/controller_manager/test_results/controller_manager/test_controller_manager.gtest.xml'
2025-10-31T03:04:34.4715348Z   >>>
2025-10-31T03:04:34.4715992Z build/controller_manager/test_results/controller_manager/test_controller_manager.gtest.xml: 36 tests, 0 errors, 1 failure, 0 skipped
2025-10-31T03:04:34.4717847Z - controller_manager.test_strict_best_effort/TestControllerManagerWithStrictness async_controller_lifecycle_at_cm_rate/0 (/home/runner/work/ros2_control_ci/ros2_control_ci/.work/target_ws/src/ros-controls/ros2_control/controller_manager/test/test_controller_manager.cpp:548)
2025-10-31T03:04:34.4719218Z   <<< failure message
2025-10-31T03:04:34.4720026Z     /home/runner/work/ros2_control_ci/ros2_control_ci/.work/target_ws/src/ros-controls/ros2_control/controller_manager/test/test_controller_manager.cpp:732
2025-10-31T03:04:34.4720842Z     Expected equality of these values:
2025-10-31T03:04:34.4721177Z       last_internal_counter + 1
2025-10-31T03:04:34.4721481Z         Which is: 104
2025-10-31T03:04:34.4721768Z       test_controller->internal_counter
2025-10-31T03:04:34.4722102Z         Which is: 103
2025-10-31T03:04:34.4722521Z     Controller is stopped at the end of update, it should finish it's active cycle

To Reproduce
ros-controls/ros2_control_ci#529
ros-controls/ros2_control_ci#528

Environment (please complete the following information):

  • OS: [e.g. Ubuntu]
  • Version rolling, jazzy, humble

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions