Quick Walkthrough Tutorial fails to build

#1

Hi,

I’m trying your platform and just doing the quick walkthrough. It fails building the turtle, commandcenter and simulator components with the following message:

Cloning "https://github.com/rapyuta-robotics/io_tutorials" ...
error: fatal: reference is not a tree: 1e508f3546d3019109ec2ed35fe1c2a4791f7b08
Unable to checkout '1e508f3546d3019109ec2ed35fe1c2a4791f7b08' in submodule path 'rosbridge_suite'

I guess you recently changed the source of your submodule inside the tutorial git repo and it seems like there is no way to pin a specific git commit for a component to test this. So I guess I have to wait until this is fixed to continue. My educated guess is that it’s still using the old submodule url and therefore not finding the reference?!

Best regards,
Ludwig

#2

Hi Ludwig,

Thanks for letting us know! This happened while applying a fix for the tutorial, that broke due to an upstream change. It’s been fixed now. You can try out the tutorial again.

https://userdocs.rapyuta.io/build-solutions/quirks/rosbridge-compatibility/ - Please refer to this for the workaround.

1 Like
#3

Thx for the quick answer. Now it’s fetching the git repo, but the build is still failing with the following errors:

failed build log of the simulator
Cloning "https://github.com/rapyuta-robotics/io_tutorials" ...
	Commit:	2304d7d279d6bb552ef1928fb73563fc90d700b2 (Merge pull request #28 from pramodhkp/master)
	Author:	Shivam Mamgain <shivamMg@users.noreply.github.com>
	Date:	Wed May 6 21:13:12 2020 +0530
---> Performing S2I build... Skipping server startup
NOTICE: Could not determine the width of the terminal. A default width of 80 will be used. This warning will only be printed once.
Initializing catkin workspace in `/opt/catkin_ws`.
---------------------------------------------------
Profile:                     default
Extending:             [env] /opt/ros/kinetic
Workspace:                   /opt/catkin_ws
---------------------------------------------------
Build Space:       [missing] /opt/catkin_ws/build
Devel Space:        [exists] /opt/catkin_ws/devel
Install Space:      [unused] /opt/catkin_ws/install
Log Space:         [missing] /opt/catkin_ws/logs
Source Space:       [exists] /opt/catkin_ws/src
DESTDIR:            [unused] None
---------------------------------------------------
Devel Space Layout:          linked
Install Space Layout:        None
---------------------------------------------------
Additional CMake Args:       None
Additional Make Args:        None
Additional catkin Make Args: None
Internal Make Job Server:    True
Cache Job Environments:      False
---------------------------------------------------
Whitelisted Packages:        None
Blacklisted Packages:        None
---------------------------------------------------
Workspace configuration appears valid.
---------------------------------------------------
Writing /opt/catkin_ws/src/.rosinstall
update complete.
Merge caused no change, no new elements found
Hit:1 http://azure.archive.ubuntu.com/ubuntu xenial InRelease
Get:2 http://azure.archive.ubuntu.com/ubuntu xenial-updates InRelease [109 kB]
Get:3 http://azure.archive.ubuntu.com/ubuntu xenial-backports InRelease [107 kB]
Get:4 http://azure.archive.ubuntu.com/ubuntu xenial-updates/universe Sources [339 kB]
Get:5 http://azure.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [1470 kB]
Get:6 http://azure.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages [1029 kB]
Get:7 http://azure.archive.ubuntu.com/ubuntu xenial-updates/multiverse amd64 Packages [19.7 kB]
Get:8 http://packages.ros.org/ros/ubuntu xenial InRelease [4678 B]
Get:9 http://security.ubuntu.com/ubuntu xenial-security InRelease [109 kB]
Get:10 http://packages.ros.org/ros/ubuntu xenial/main amd64 Packages [835 kB]
Get:11 http://security.ubuntu.com/ubuntu xenial-security/universe Sources [146 kB]
Get:12 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages [1101 kB]
Get:13 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 Packages [624 kB]
Get:14 http://security.ubuntu.com/ubuntu xenial-security/multiverse amd64 Packages [6680 B]
Fetched 5901 kB in 2s (2044 kB/s)
Reading package lists...
Warning: running 'rosdep update' as root is not recommended.
  You should run 'sudo rosdep fix-permissions' and invoke 'rosdep update' again without sudo.
reading in sources list data from /etc/ros/rosdep/sources.list.d
Hit https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/osx-homebrew.yaml
Hit https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/base.yaml
Hit https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/python.yaml
Hit https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/ruby.yaml
Hit https://raw.githubusercontent.com/ros/rosdistro/master/releases/fuerte.yaml
Query rosdistro index https://raw.githubusercontent.com/ros/rosdistro/master/index.yaml
Add distro "ardent"
Add distro "bouncy"
Add distro "crystal"
Add distro "dashing"
Add distro "eloquent"
Add distro "foxy"
Add distro "groovy"
Add distro "hydro"
Add distro "indigo"
Add distro "jade"
Add distro "kinetic"
Add distro "lunar"
Add distro "melodic"
Add distro "noetic"
updated cache in /opt/rosdep/sources.cache
Installing python-tornado
python-bson
python3-twisted
python3-tornado
python3-autobahn
ros-kinetic-rosauth
python3-pil
python-backports.ssl-match-hostname
python-autobahn
ros-kinetic-rospy-tutorials
python3-bson
python-imaging
libsdl-image1.2-dev
libyaml-cpp-dev
libsdl1.2-dev
ros-kinetic-tf2-msgs
python-twisted-core
ros-kinetic-tf2 ...
[apt-fast 19:37:07]
[apt-fast 19:37:07]Working... this may take a while.
E: Unable to locate package python3-autobahn
[apt-fast 19:37:07]Package manager quit with exit code.
NOTICE: Could not determine the width of the terminal. A default width of 80 will be used. This warning will only be printed once.
---------------------------------------------------
Profile:                     default
Extending:             [env] /opt/ros/kinetic
Workspace:                   /opt/catkin_ws
---------------------------------------------------
Build Space:       [missing] /opt/catkin_ws/build
Devel Space:        [exists] /opt/catkin_ws/devel
Install Space:      [unused] /opt/catkin_ws/install
Log Space:         [missing] /opt/catkin_ws/logs
Source Space:       [exists] /opt/catkin_ws/src
DESTDIR:            [unused] None
---------------------------------------------------
Devel Space Layout:          linked
Install Space Layout:        None
---------------------------------------------------
Additional CMake Args:       None
Additional Make Args:        None
Additional catkin Make Args: None
Internal Make Job Server:    True
Cache Job Environments:      False
---------------------------------------------------
Whitelisted Packages:        None
Blacklisted Packages:        None
---------------------------------------------------
Workspace configuration appears valid.
---------------------------------------------------
NOTICE: Could not determine the width of the terminal. A default width of 80 will be used. This warning will only be printed once.
_______________________________________________________________________________
Errors << dynamic_map_server:cmake /opt/catkin_ws/logs/dynamic_map_server/build.cmake.000.log
CMake Warning at /opt/ros/kinetic/share/catkin/cmake/catkinConfig.cmake:76 (find_package):

  Could not find a package configuration file provided by "tf2" with any of

  the following names:



    tf2Config.cmake

    tf2-config.cmake



  Add the installation prefix of "tf2" to CMAKE_PREFIX_PATH or set "tf2_DIR"

  to a directory containing one of the above files.  If "tf2" provides a

  separate development package or SDK, be sure it has been installed.

Call Stack (most recent call first):

  CMakeLists.txt:4 (find_package)





CMake Error at /opt/ros/kinetic/share/catkin/cmake/catkinConfig.cmake:83 (find_package):

  Could not find a package configuration file provided by "tf2" with any of

  the following names:



    tf2Config.cmake

    tf2-config.cmake



  Add the installation prefix of "tf2" to CMAKE_PREFIX_PATH or set "tf2_DIR"

  to a directory containing one of the above files.  If "tf2" provides a

  separate development package or SDK, be sure it has been installed.

Call Stack (most recent call first):

  CMakeLists.txt:4 (find_package)





cd /opt/catkin_ws/build/dynamic_map_server; catkin build --get-env dynamic_map_server | catkin env -si  /usr/bin/cmake /opt/catkin_ws/src/navigation/dynamic_map_server --no-warn-unused-cli -DCATKIN_DEVEL_PREFIX=/opt/catkin_ws/devel/.private/dynamic_map_server -DCMAKE_INSTALL_PREFIX=/opt/catkin_ws/install; cd -

...............................................................................
Failed << dynamic_map_server:cmake                 [ Exited with code 1 ]
---------------------------------------------------
Profile:                     default
Extending:             [env] /opt/ros/kinetic
Workspace:                   /opt/catkin_ws
---------------------------------------------------
Build Space:        [exists] /opt/catkin_ws/build
Devel Space:        [exists] /opt/catkin_ws/devel
Install Space:      [unused] /opt/catkin_ws/install
Log Space:         [missing] /opt/catkin_ws/logs
Source Space:       [exists] /opt/catkin_ws/src
DESTDIR:            [unused] None
---------------------------------------------------
Devel Space Layout:          linked
Install Space Layout:        None
---------------------------------------------------
Additional CMake Args:       None
Additional Make Args:        None
Additional catkin Make Args: None
Internal Make Job Server:    True
Cache Job Environments:      False
---------------------------------------------------
Whitelisted Packages:        None
Blacklisted Packages:        None
---------------------------------------------------
Workspace configuration appears valid.
NOTE: Forcing CMake to run for each package.
---------------------------------------------------
[build] Found '18' packages in 0.0 seconds.
[build] Updating package table.
Starting >>> catkin_tools_prebuild
Finished <<< catkin_tools_prebuild                   [ 1.9 seconds ]
Starting >>> custom_msgs
Starting >>> dynamic_map_server
Starting >>> io_turtle_action
Starting >>> io_turtle_config
Starting >>> io_turtle_msgs
Starting >>> io_turtle_services
Starting >>> listener
Starting >>> map_listener
Finished <<< map_listener                            [ 3.7 seconds ]
Starting >>> param_talker
Finished <<< io_turtle_config                        [ 4.2 seconds ]
Starting >>> rosbridge_library
Finished <<< listener                                [ 4.2 seconds ]
Starting >>> rosbridge_msgs
Failed <<< dynamic_map_server                      [ 3.8 seconds ]
Abandoned <<< talker                                  [ Unrelated job failed ]
Abandoned <<< io_turtle                               [ Unrelated job failed ]
Abandoned <<< io_turtle_command_center                [ Unrelated job failed ]
Abandoned <<< io_turtle_sim_env                       [ Unrelated job failed ]
Abandoned <<< rosapi                                  [ Unrelated job failed ]
Abandoned <<< rosbridge_server                        [ Unrelated job failed ]
Finished <<< io_turtle_msgs                          [ 8.6 seconds ]
Finished <<< io_turtle_services                      [ 9.1 seconds ]
Finished <<< param_talker                            [ 6.1 seconds ]
Finished <<< io_turtle_action                        [ 9.9 seconds ]
Finished <<< custom_msgs                             [ 10.5 seconds ]
Finished <<< rosbridge_msgs                          [ 7.2 seconds ]
Finished <<< rosbridge_library                       [ 8.9 seconds ]
[build] Summary: 11 of 18 packages succeeded.
[build] Ignored: 1 packages were skipped or are blacklisted.
[build] Warnings: None.
[build] Abandoned: 6 packages were abandoned.
[build] Failed: 1 packages failed.
[build] Runtime: 15.1 seconds total.
[build] Note: Workspace packages have changed, please re-source setup files to use them.
error: build error: non-zero (13) exit code from docker-registry.default.svc:5000/ga-rapyuta-images/s2i-ros-kinetic-amd64@sha256:d5bac2aabef390a0f418a89dbbfcea4cbbbe066f75a1421115e68ead5922436d
#4

Hey @Ludwig,

Checked it out and looks like there are some issues with ROS kinetic. I would suggest to use ROS melodic for the tutorial. You can check out https://github.com/rapyuta-robotics/io_tutorials/tree/feature/move_turtlesim_melodic/io_manifests/turtlesim for the manifests. You can use the Import Package in the Catalog page.

We are working on fixing the issues with ros websocket bridge and ROS kinetic.

1 Like