Skip to content

πŸ§‘β€πŸŒΎ Flaky test: test_time_source.callback_handler_erasureΒ #2093

@fujitatomoya

Description

@fujitatomoya

Bug report

Required Info:

  • Operating System:
    • Ubuntu 22.04
  • Installation type:
  • Version or commit hash:
    • rolling:head
  • DDS implementation:
    • Fast-DDS
  • Client library (if applicable):
    • rclcpp

Steps to reproduce issue

root@tomoyafujita:~/ros2_ws/colcon_ws# colcon build --packages-up-to rclcpp
root@tomoyafujita:~/ros2_ws/colcon_ws# colcon test --event-handlers console_direct+ --retest-until-fail 5 --ctest-args -R test_time_source --packages-select rclcpp

Expected behavior

all tests are success.

Actual behavior

89: [ RUN      ] TestTimeSource.callback_handler_erasure
89: /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_time_source.cpp:499: Failure
89: Expected equality of these values:
89:   2
89:   cbo.last_precallback_id_
89:     Which is: 1
89: /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_time_source.cpp:500: Failure
89: Expected equality of these values:
89:   2
89:   cbo.last_postcallback_id_
89:     Which is: 1
89: [  FAILED  ] TestTimeSource.callback_handler_erasure (28 ms)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions