Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flaky tests of AsyncFunctionHandlerTest #198

Closed
christophfroehlich opened this issue Nov 23, 2024 · 1 comment · Fixed by #235
Closed

Flaky tests of AsyncFunctionHandlerTest #198

christophfroehlich opened this issue Nov 23, 2024 · 1 comment · Fixed by #235
Assignees

Comments

@christophfroehlich
Copy link
Contributor

    [ RUN      ] AsyncFunctionHandlerTest.check_triggering
    [WARN] [1732329912.212673771] [AsyncFunctionHandler]: Could not enable FIFO RT scheduling policy. Consider setting up your user to do FIFO RT scheduling. See [https://control.ros.org/master/doc/ros2_control/controller_manager/doc/userdoc.html] for details.
    /home/runner/work/realtime_tools/realtime_tools/.work/target_ws/src/realtime_tools/test/test_async_function_handler.cpp:140: Failure
    Value of: trigger_status.first
      Actual: false
    Expected: true
    
    [  FAILED  ] AsyncFunctionHandlerTest.check_triggering (0 ms)

https://github.com/ros-controls/realtime_tools/actions/runs/11983194146/job/33412345900
https://github.com/ros-controls/ros2_control_ci/actions/runs/11983202628/job/33412367563

@christophfroehlich
Copy link
Contributor Author

     [ RUN      ] AsyncFunctionHandlerTest.trigger_for_several_cycles
    [WARN] [1729911511.729861234] [AsyncFunctionHandler]: Could not enable FIFO RT scheduling policy. Consider setting up your user to do FIFO RT scheduling. See [https://control.ros.org/master/doc/ros2_control/controller_manager/doc/userdoc.html] for details.
    /home/runner/work/realtime_tools/realtime_tools/.work/target_ws/src/realtime_tools/test/test_async_function_handler.cpp:176: Failure
    Expected: (missed_triggers) < (static_cast<int>(0.001 * total_cycles)), actual: 337 vs 100
    The missed triggers cannot be more than 0.1%!
    
    [  FAILED  ] AsyncFunctionHandlerTest.trigger_for_several_cycles (11867 ms)

https://github.com/ros-controls/realtime_tools/actions/runs/11528036924

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants