Ask Your Question

Revision history [back]

Build failed in Jenkins with KeyError

Hi,

my package 'innok_heros_gazebo' fails to build in Jenkins with KeyError.

Here some snippets of the traceback:

See <http://jenkins.ros.org/job/devel-indigo-innok_heros_gazebo/ARCH_PARAM=amd64,UBUNTU_PARAM=trusty,label=devel/2/changes>

/* ... snip ... */

Get build dependencies of repo list
Get the dependencies of source folder /tmp/test_repositories/src_repository
In folder /tmp/test_repositories/src_repository, found packages: innok_heros_gazebo
Install build dependencies of repo list: catkin, gazebo_plugins, gazebo_ros, gazebo_ros_control, innok_heros_description, robot_state_publisher, xacro, rviz
Could not find innok_heros_description in keys. Have keys DB [key, abb, 

*/...snip... a long list of keys where innok_heros_description is not mentioned/* 

Traceback (most recent call last):
    File "<http://jenkins.ros.org/job/devel-indigo- innok_heros_gazebo/ARCH_PARAM=amd64,UBUNTU_PARAM=trusty,label=devel/ws/jenkins_scripts/devel",> line 43, in  <module>
        main()
    File "<http://jenkins.ros.org/job/devel-indigo-innok_heros_gazebo/ARCH_PARAM=amd64,UBUNTU_PARAM=trusty,label=devel/ws/jenkins_scripts/devel",> line 37, in main
        repo_sourcespace=repo_sourcespace)
    File "<http://jenkins.ros.org/job/devel-indigo-innok_heros_gazebo/ARCH_PARAM=amd64,UBUNTU_PARAM=trusty,label=devel/ws/jenkins_scripts/test_repositories.py",> line 69, in test_repositories
        sudo, no_chroot)
    File "<http://jenkins.ros.org/job/devel-indigo-innok_heros_gazebo/ARCH_PARAM=amd64,UBUNTU_PARAM=trusty,label=devel/ws/jenkins_scripts/test_repositories.py",> line 134, in _test_repositories
        apt_get_install(repo_build_dependencies, rosdep_resolver, sudo)
    File "<http://jenkins.ros.org/job/devel-indigo-innok_heros_gazebo/ARCH_PARAM=amd64,UBUNTU_PARAM=trusty,label=devel/ws/jenkins_scripts/common.py",> line 28, in apt_get_install
        pkgs = rosdep.to_aptlist(pkgs)
    File "<http://jenkins.ros.org/job/devel-indigo-innok_heros_gazebo/ARCH_PARAM=amd64,UBUNTU_PARAM=trusty,label=devel/ws/jenkins_scripts/rosdep.py",> line 44, in to_aptlist
        for a in self.to_apt(r):
    File "<http://jenkins.ros.org/job/devel-indigo-innok_heros_gazebo/ARCH_PARAM=amd64,UBUNTU_PARAM=trusty,label=devel/ws/jenkins_scripts/rosdep.py",> line 57, in to_apt
        return self.r2a[ros_entry]
KeyError: 'innok_heros_description'

'innok_heros_description' is a run dependency of 'innok_heros_gazebo' and I added both packages to indigo/distribution.yaml without the release tag because I still have to perform the prerelease tests. Will the missing key 'innok_heros_descripion' appear in the key DB when the package is released?

Regards,

Sabrina