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

CI syncing #34

Closed
vmayoral opened this issue Mar 24, 2019 · 13 comments
Closed

CI syncing #34

vmayoral opened this issue Mar 24, 2019 · 13 comments
Assignees

Comments

@vmayoral
Copy link

@LanderU, there seems to be good progress at https://github.com/ros-planning/moveit_ci and this can certainly complement our simply CI for validating that commits build across our target OSs (OS X and Linux).

Can you please have a look, when possible to https://github.com/ros-planning/moveit_ci#running-locally-for-testing and report here your views on this? It'd be great to get aligned with the MoveIt community on this and re-use the great work they've done on CI over the years.

@vmayoral
Copy link
Author

Note they're using the https://github.com/ros-planning/moveit2/tree/moveit2-ci branch instead.

@LanderU
Copy link

LanderU commented Mar 24, 2019

Alright, I'll have a look.

@LanderU
Copy link

LanderU commented Mar 24, 2019

It seems that some of the packages are not ready for rosdep yet:

travis_time:end:2f2e3248:start=1553457928622975850,finish=1553457928628634733,durosdep install -y -q -n --from-paths . --ignore-src --rosdistro crystal
ERROR: the following packages/stacks could not have their rosdep keys resolved
to system dependencies:
moveit_ros_benchmarks: Cannot locate rosdep definition for [roscpp]
moveit_planners_chomp: Cannot locate rosdep definition for [rostest]
moveit_planners_ompl: Cannot locate rosdep definition for [rosunit]
moveit_controller_manager_example: Cannot locate rosdep definition for [roscpp]
moveit_ros_planning: Cannot locate rosdep definition for [srdfdom]
moveit_experimental: Cannot locate rosdep definition for [catkin]
moveit_plugins: Cannot locate rosdep definition for [catkin]
moveit_ros_visualization: Cannot locate rosdep definition for [rostest]
moveit_ros_planning_interface: Cannot locate rosdep definition for [rostest]
moveit_setup_assistant: Cannot locate rosdep definition for [rosunit]
moveit_runtime: Cannot locate rosdep definition for [catkin]
moveit_fake_controller_manager: Cannot locate rosdep definition for [roscpp]
moveit_kinematics: Cannot locate rosdep definition for [xmlrpcpp]
moveit_ros: Cannot locate rosdep definition for [catkin]
moveit_ros_robot_interaction: Cannot locate rosdep definition for [rosunit]
moveit_ros_move_group: Cannot locate rosdep definition for [moveit_resources]
chomp_motion_planner: Cannot locate rosdep definition for [catkin]
moveit_ros_control_interface: Cannot locate rosdep definition for [controller_manager_msgs]
moveit_simple_controller_manager: Cannot locate rosdep definition for [actionlib]
moveit_chomp_optimizer_adapter: Cannot locate rosdep definition for [catkin]
moveit_planners: Cannot locate rosdep definition for [catkin]
moveit_core: Cannot locate rosdep definition for [code_coverage]
moveit_ros_perception: Cannot locate rosdep definition for [rosunit]
moveit_ros_warehouse: Cannot locate rosdep definition for [rosconsole]
moveit_commander: Cannot locate rosdep definition for [moveit_resources]
moveit_ros_manipulation: Cannot locate rosdep definition for [rosconsole]
moveit: Cannot locate rosdep definition for [catkin]
travis_time:end:39a4e0c8:start=1553457928632391336,finish=1553457930114174897,duThe command "rosdep install -y -q -n --from-paths . --ignore-src --rosdistro crystal" failed with error code 1. 

Travis script finished with errors.

@vmayoral
Copy link
Author

vmayoral commented Apr 6, 2019

Looking more closely into https://github.com/ros-planning/moveit_ci/tree/ros2:

Listing below a list of desires to align ourselves with this ci system:

@vmayoral
Copy link
Author

vmayoral commented Apr 7, 2019

Stumbled repeatedly while enabling any moveit "real" package (e.g moveit_core):

root@c12841dd216b:/opt/ws_moveit# colcon build
Starting >>> moveit_core
--- stderr: moveit_core
CMake Error at /usr/share/cmake-3.10/Modules/FindPkgConfig.cmake:415 (message):
  A required package was not found
Call Stack (most recent call first):
  /usr/share/cmake-3.10/Modules/FindPkgConfig.cmake:593 (_pkg_check_modules_internal)
  CMakeLists.txt:26 (pkg_check_modules)

(e.g. https://travis-ci.org/AcutronicRobotics/moveit2/builds/516620511)

Issues seems to be in the docker image of moveit https://hub.docker.com/r/moveit/moveit2/dockerfile

@vmayoral
Copy link
Author

vmayoral commented Apr 7, 2019

@LanderU, can you please build at https://hub.docker.com/u/acutronicrobotics our docker images to accelerate the process (https://github.com/AcutronicRobotics/moveit2)?

Edit: it'd be great if we could set also hooks so that Dockerhub builds them automatically as well.

@LanderU
Copy link

LanderU commented Apr 7, 2019

@LanderU, can you please build at https://hub.docker.com/u/acutronicrobotics our docker images to accelerate the process (https://github.com/AcutronicRobotics/moveit2)?
Edit: it'd be great if we could set also hooks so that Dockerhub builds them automatically as well.

WIP

@LanderU
Copy link

LanderU commented Apr 7, 2019

Travis picks both OS X and Linux (Ubuntu Bionic)

This is no true at all, I set Ubuntu Bionic but the truth is travis only have support for Xenial.
https://docs.travis-ci.com/user/reference/overview/#virtualization-environments

Run moveit_ci in OS X (with Docker, as in Linux)

AFAIK this is not possible, there is no docker OS X images, this is why we're running a native machine in travis to build the OS X work space.

@vmayoral
Copy link
Author

vmayoral commented Apr 7, 2019

This is no true at all, I set Ubuntu Bionic but the truth is travis only have support for Xenial.
https://docs.travis-ci.com/user/reference/overview/#virtualization-environments

That's right, my bad here.

AFAIK this is not possible, there is no docker OS X images, this is why we're running a native machine in travis to build the OS X work space.

No, here you misunderstood me. I mean, using the Docker container (the Linux container) from OS X to build unit tests. This is a WIP i'm almost there.

@LanderU, can you please build at https://hub.docker.com/u/acutronicrobotics our docker images to accelerate the process (https://github.com/AcutronicRobotics/moveit2)?
Edit: it'd be great if we could set also hooks so that Dockerhub builds them automatically as well.

WIP

This is great, it's what I need. It'd be also great to get the credentials of this account, please send them to me privately so that we can co-manage it.

@LanderU
Copy link

LanderU commented Apr 7, 2019

No, here you misunderstood me. I mean, using the Docker container (the Linux container) from OS X to build unit tests. This is a WIP i'm almost there.

That's fantastic, sorry.

This is great, it's what I need. It'd be also great to get the credentials of this account, please send them to me privately so that we can co-manage it.

Sure!

@vmayoral
Copy link
Author

vmayoral commented Apr 7, 2019

Merged #43

@vmayoral
Copy link
Author

vmayoral commented Apr 7, 2019

Still failing the tests for some weird matter (though I fixed the issue locally with urdfdom_py, looking into it again)

@vmayoral
Copy link
Author

vmayoral commented Apr 8, 2019

Process finished and CI's have been aligned. An attempt to integrate our efforts upstream was submitted to moveit/moveit_ci#56.

@vmayoral vmayoral closed this as completed Apr 8, 2019
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

No branches or pull requests

2 participants