Skip to content

rosdep failing with latest moveit #326

@toliver

Description

@toliver

It happens when running

https://github.com/shadow-robot/sr-build-tools/blob/master/ansible/roles/ros_workspace/files/rosdep_install.sh#L5

but not if using --from-paths . instead of --all.

See:
http://jenkins.shadow.local:8080/view/All/job/hand_h_setup_development_machine/211/console
or
http://jenkins.shadow.local:8080/view/All/job/sr_build_tools_setup_dev_machine/lastBuild/console

TASK [ros_workspace : Install dependencies of the source deps] *****************
task path: /tmp/sr-build-tools/ansible/roles/ros_workspace/tasks/main.yml:105
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: root
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1485473190.65-222137385754915 `" && echo ansible-tmp-1485473190.65-222137385754915="` echo $HOME/.ansible/tmp/ansible-tmp-1485473190.65-222137385754915 `" ) && sleep 0'
<localhost> PUT /tmp/sr-build-tools/ansible/roles/ros_workspace/files/../files/rosdep_install.sh TO /root/.ansible/tmp/ansible-tmp-1485473190.65-222137385754915/rosdep_install.sh
<localhost> EXEC /bin/sh -c 'chmod -R u+x /root/.ansible/tmp/ansible-tmp-1485473190.65-222137385754915/ && sleep 0'
<localhost> EXEC /bin/sh -c 'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /root/.ansible/tmp/ansible-tmp-1485473190.65-222137385754915/rosdep_install.sh ~root/projects/shadow_robot/base_deps && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1485473190.65-222137385754915/ > /dev/null 2>&1 && sleep 0'
fatal: [localhost]: FAILED! =>   stdout => 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 "groovy"
Add distro "hydro"
Add distro "indigo"
Add distro "jade"
Add distro "kinetic"
updated cache in /root/.ros/rosdep/sources.cache

  changed => True
  failed => True
  rc => 1
  invocation => {u'module_name': u'script', u'module_args': {u'_raw_params': u'../files/rosdep_install.sh ~root/projects/shadow_robot/base_deps'}}

vvvvvvvv  STDERR  vvvvvvvvv

  stderr => /bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
Warning: running 'rosdep update' as root is not recommended.
  You should run 'sudo rosdep fix-permissions' and invoke 'rosdep update' again without sudo.
sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
ERROR: the following packages/stacks could not have their rosdep keys resolved
to system dependencies:
sbpl_interface_ros: Missing resource planning_models
ROS path [0]=/opt/ros/indigo/share/ros
ROS path [1]=/root/projects/shadow_robot/base_deps/src
ROS path [2]=/opt/ros/indigo/share
ROS path [3]=/opt/ros/indigo/stacks

NO MORE HOSTS LEFT *************************************************************
	to retry, use: --limit @sr-build-tools/ansible/vagrant_site.retry

PLAY RECAP *********************************************************************
localhost                  : ok=26   changed=21   unreachable=0    failed=1   

Build step 'Execute shell' marked build as failure
Finished: FAILURE

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions