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

[iron] Fix for rosbag2_transport::Recorder failures due to the unhandled exceptions (backport #1382) #1402

Merged
merged 1 commit into from
Jun 17, 2023

Conversation

mergify[bot]
Copy link

@mergify mergify bot commented Jun 17, 2023

This is an automatic backport of pull request #1382 done by Mergify.


Mergify commands and options

More conditions and actions can be found in the documentation.

You can also trigger Mergify actions by commenting on this pull request:

  • @Mergifyio refresh will re-evaluate the rules
  • @Mergifyio rebase will rebase this PR on its base branch
  • @Mergifyio update will merge the base branch into this PR
  • @Mergifyio backport <destination> will backport this PR on <destination> branch

Additionally, on Mergify dashboard you can:

  • look at your merge queues
  • generate the Mergify configuration with the config editor.

Finally, you can contact us on https://mergify.com

…eptions (#1382)

* Fix for rosbag2_transport::Recorder failures due to unhandled exceptions

Signed-off-by: Michael Orlov <[email protected]>

* Revert "Fix for rosbag2_transport::Recorder failures due to unhandled exceptions"

This reverts commit 767d440.

Signed-off-by: Michael Orlov <[email protected]>

* Handle exceptions in event publisher and discovery threads

- Exceptions potentially may come from the underlying node operations
when we are invalidating context via rclcpp::shutdown(). We need to have
possibility to correct finish recording in this case.

Signed-off-by: Michael Orlov <[email protected]>

---------

Signed-off-by: Michael Orlov <[email protected]>
(cherry picked from commit bb8d2a5)
@mergify mergify bot requested a review from a team as a code owner June 17, 2023 01:38
@mergify mergify bot requested review from hidmic and james-rms and removed request for a team June 17, 2023 01:38
@MichaelOrlov MichaelOrlov changed the title Fix for rosbag2_transport::Recorder failures due to the unhandled exceptions (backport #1382) [iron] Fix for rosbag2_transport::Recorder failures due to the unhandled exceptions (backport #1382) Jun 17, 2023
@MichaelOrlov
Copy link
Contributor

MichaelOrlov commented Jun 17, 2023

Gist: https://gist.githubusercontent.com/MichaelOrlov/ac738b8da3b6f24414a567610a508579/raw/2d7f41c6099dd38cb9a0863ad61f24f73f0f0e2f/ros2.repos
BUILD args: --packages-above-and-dependencies rosbag2_transport ros2bag
TEST args: --packages-above rosbag2_transport ros2bag
ROS Distro: iron
Job: ci_launcher
ci_launcher ran: https://ci.ros2.org/job/ci_launcher/12259

  • Linux Build Status
  • Linux-aarch64 Build Status and automatic re-run Build Status
  • Windows Build Status

@MichaelOrlov MichaelOrlov merged commit 46b20df into iron Jun 17, 2023
@delete-merged-branch delete-merged-branch bot deleted the mergify/bp/iron/pr-1382 branch June 17, 2023 20:06
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 this pull request may close these issues.

1 participant