setup-ros
setup-ros copied to clipboard
Error on attempt to rerun rosdep init in osrf containers
Description
When using osrf:ros2/devel , rosdep init returns an error as it is already initialized, crashing the whole action
Expected Behavior
Error handling is needed on the rosdep init command to attempt to continue if it already has run
To Reproduce
- Use
container: image: osrf:ros2/devel - Include
setup-ros@master
System (please complete the following information)
- OS: Ubuntu Focal
- ROS 2 Distro: devel/Foxy
Additional context
Using commit 2c05014: https://github.com/Arnatious/nodl/runs/675769690?check_suite_focus=true#step:3:661
Noting that this also affects ros-tooling/setup-ros-docker outputs. I was trying to run setup-ros inside one of the containers (to save time making a ros1 overlay) and ran into this issue https://github.com/ros2/rosbag2_bag_v2/pull/34/checks?check_run_id=1070291116