ros-infrastructure / jenkins_scripts

Scripts used on the build farm
5 stars 9 forks source link

prerelease jobs are failing due to wrong download url #17

Closed tfoote closed 11 years ago

tfoote commented 11 years ago

@dirk-thomas

Creating rosinstall file for repo list
Using latest release distro file to download repositories
rosinstall file for all repositories: 
 - git: {local-name: bfl, uri: 'git://github.com/ros-gbp/bfl-release.git', version: release/bfl}

Install repo list from source
Executing command 'rosinstall /tmp/test_repositories/src_repository /home/rosbuild/hudson/workspace/prerelease-groovy-bfl/ARCH_PARAM/amd64/UBUNTU_PARAM/precise/label/prerelease/repo.rosinstall --catkin'
rosinstall operating on /tmp/test_repositories/src_repository from specifications in rosinstall files  /home/rosbuild/hudson/workspace/prerelease-groovy-bfl/ARCH_PARAM/amd64/UBUNTU_PARAM/precise/label/prerelease/repo.rosinstall
(Over-)Writing /tmp/test_repositories/src_repository/.rosinstall
WARNING [vcstools] Command failed: 'git checkout release/bfl'
 run at: '/tmp/test_repositories/src_repository/bfl'
 errcode: 1:
error: pathspec 'release/bfl' did not match any file(s) known to git.
[/vcstools]
[bfl] Fetching git://github.com/ros-gbp/bfl-release.git (version release/bfl) to /tmp/test_repositories/src_repository/bfl
Exception caught during install: Error processing 'bfl' : [bfl] Checkout of git://github.com/ros-gbp/bfl-release.git version release/bfl into /tmp/test_repositories/src_repository/bfl failed.

ERROR in config: Error processing 'bfl' : [bfl] Checkout of git://github.com/ros-gbp/bfl-release.git version release/bfl into /tmp/test_repositories/src_repository/bfl failed.

/!\  Failed to execute command '['rosinstall', '/tmp/test_repositories/src_repository', '/home/rosbuild/hudson/workspace/prerelease-groovy-bfl/ARCH_PARAM/amd64/UBUNTU_PARAM/precise/label/prerelease/repo.rosinstall', '--catkin']' with return code 1
Failed to execute command '['rosinstall', '/tmp/test_repositories/src_repository', '/home/rosbuild/hudson/workspace/prerelease-groovy-bfl/ARCH_PARAM/amd64/UBUNTU_PARAM/precise/label/prerelease/repo.rosinstall', '--catkin']' with return code 1
+ echo ============================================================
============================================================
+ echo '==== End' prerelease 'script.    Ignore the output below ====='
==== End prerelease script.    Ignore the output below =====
+ echo ============================================================
============================================================
dirk-thomas commented 11 years ago

The prerelease script generates a rosinstall file. But since the version attribute can be either old or new bloom style it does not work and is not easily changable.

dirk-thomas commented 11 years ago

This is resolved with the latest rosdistro version since it contains the release tag information which is now used to clone the correct tag.