You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a race condition in the MultiThreadedExecutor that happens during the test_multithreahed.multi_consumer_intra_process test in test_rclcpp. The intra_process_buffer's ring_buffer_implementation has dequeue() called without any data. It may be that some process is calling dequeue() right after another has checked has_data().
This bug results in a flakey test with test_rclcpp, but it's fairly reliable to reproduce with sufficient repeat-until-fail iterations.
* Add `stop()` method for `rosbag2::Player` class
Stop will unpause if in pause mode, will stop playback and exit from
`play()` method.
Signed-off-by: Michael Orlov <[email protected]>
Co-authored-by: Misha Shalem <[email protected]>
* Add service call for `Stop` operation
Signed-off-by: Michael Orlov <[email protected]>
* Revisit logic in Player::stop() to avoid race condition in queue cleanup
Signed-off-by: Michael Orlov <[email protected]>
Co-authored-by: Misha Shalem <[email protected]>
There is a race condition in the
MultiThreadedExecutor
that happens during thetest_multithreahed.multi_consumer_intra_process
test intest_rclcpp
. Theintra_process_buffer
'sring_buffer_implementation
has dequeue() called without any data. It may be that some process is calling dequeue() right after another has checked has_data().This bug results in a flakey test with test_rclcpp, but it's fairly reliable to reproduce with sufficient repeat-until-fail iterations.
https://ci.ros2.org/view/nightly/job/nightly_linux_repeated/1780/testReport/(root)/projectroot/gtest_multithreaded__rmw_fastrtps_cpp/
https://ci.ros2.org/job/ci_windows/9412/testReport/
The text was updated successfully, but these errors were encountered: