ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
1

Jenkins_tool run_chroot_local doesn't work

asked 2012-11-12 13:23:12 -0600

JohannesK gravatar image

updated 2014-01-28 17:14:14 -0600

ngrennan gravatar image

Hi guys,

I am trying to run the command "run_chroot_local" from the jenkins_tool-package (http://www.ros.org/wiki/jenkins_tools) and get an error.

I run the example for the run_chroot_local command:

Command:

run_chroot_local precise amd64 /home/kuj1pal/workspace prerelease groovy common_msgs

Output:

...
...
apt-show-versions is already the newest version.
The following packages were automatically installed and are no longer required:
  libaccess-bridge-java python-qt4-gl libaccess-bridge-java-jni gnash-common python-opengl
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 75 not upgraded.
++ apt-show-versions python-jenkins-tools
++ awk '{for (i = 0; i < 10; i++)  if ( !match($i, " ") && match($i, "[0-9].[0-9]") ) print $i}'
+ REPOSTAMP='0.0.26-1
0.0.30-1'
+ /bin/echo 'Repo stamp is 0.0.26-1
0.0.30-1'
Repo stamp is 0.0.26-1
0.0.30-1
+ '[' 0.0.26-1 0.0.30-1 '!=' 0.0.26-1 0.0.30-1 ']'
**/usr/bin/chroot_create.sh: line 37: [: too many arguments**
+ /bin/echo '^^^^^^^^^^^^^^^^^^  create_chroot.sh ^^^^^^^^^^^^^^^^^^^^'
^^^^^^^^^^^^^^^^^^  create_chroot.sh ^^^^^^^^^^^^^^^^^^^^
++ cat /tmp/tmp.naNf4IHMNd/basetgz
+ basetgz=/var/cache/pbuilder/jenkins_tools.precise.amd64-0.4.1.tgz
+ rm -rf /tmp/tmp.naNf4IHMNd
+ sudo pbuilder execute --basetgz /var/cache/pbuilder/jenkins_tools.precise.amd64-0.4.1.tgz --bindmounts '/var/cache/pbuilder/ccache /home/kuj1pal/workspace /home/kuj1pal/.ssh' --inputfile /home/kuj1pal/workspace/jenkins_scripts/prerelease -- /home/kuj1pal/workspace/pbuilder-env.sh prerelease
**W: /home/kuj1pal/.pbuilderrc does not exist**
I: Building the build Environment
I: extracting base tarball [/var/cache/pbuilder/jenkins_tools.precise.amd64-0.4.1.tgz]

gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Exiting with failure status due to previous errors
**E: failed to extract /var/cache/pbuilder/jenkins_tools.precise.amd64-0.4.1.tgz to /var/cache/pbuilder/build//22098**

I checked the jenkins_tools.precise.amd64-0.4.1.tgz file and it's empty.

Any ideas?

Cheers, Johannes

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2013-01-09 11:47:56 -0600

JohannesK gravatar image

updated 2013-01-09 12:47:42 -0600

I figured it out. The problem was a bug in pbuilder (under lucid) so that the tar-file wasn't create correctly. You can fix it by downloading the appropriate patch.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2012-11-12 13:23:12 -0600

Seen: 242 times

Last updated: Jan 09 '13