ros-infrastructure / buildfarm

Build scripts and notes for catkin debian build pipeline.
6 stars 15 forks source link

have doc jobs abort if prequisites are not built #128

Closed tfoote closed 11 years ago

tfoote commented 11 years ago

This happens sometimes when shadow-fixed has a hiccup with a regression.

Executing command 'apt-get install ros-groovy-ros ros-groovy-genmsg --yes'
Reading package lists...
Building dependency tree...
Reading state information...
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 ros-groovy-ros:i386 : Depends: ros-groovy-catkin:i386 but it is not going to be installed
                       Depends: ros-groovy-rosbash:i386 but it is not going to be installed
                       Depends: ros-groovy-rosbuild:i386 but it is not going to be installed
                       Depends: ros-groovy-rosclean:i386 but it is not going to be installed
                       Depends: ros-groovy-roscreate:i386 but it is not going to be installed
                       Depends: ros-groovy-roslang:i386 but it is not going to be installed
                       Depends: ros-groovy-roslib:i386 but it is not going to be installed
                       Depends: ros-groovy-rosmake:i386 but it is not going to be installed
                       Depends: ros-groovy-rosunit:i386 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
/!\  Failed to execute command '['apt-get', 'install', 'ros-groovy-ros', 'ros-groovy-genmsg', '--yes']' with return code 100
Traceback (most recent call last):
  File "/home/rosbuild/hudson/workspace/doc-groovy-pocketsphinx/jenkins_scripts/doc", line 184, in <module>
    main()
  File "/home/rosbuild/hudson/workspace/doc-groovy-pocketsphinx/jenkins_scripts/doc", line 99, in main
    doit(ros_distro, stack, workspace, docspace)
  File "/home/rosbuild/hudson/workspace/doc-groovy-pocketsphinx/jenkins_scripts/doc", line 121, in doit
    call("apt-get install ros-%s-ros ros-%s-genmsg --yes" % (install_distro, install_distro))
  File "/home/rosbuild/hudson/workspace/doc-groovy-pocketsphinx/jenkins_scripts/common.py", line 137, in call
    return call_with_list(command.split(' '), envir, verbose)
  File "/home/rosbuild/hudson/workspace/doc-groovy-pocketsphinx/jenkins_scripts/common.py", line 131, in call_with_list
    raise BuildException(msg)
common.BuildException
tfoote commented 11 years ago

Another avoidance technique is to increase the syncing threshold.

dirk-thomas commented 11 years ago

This should not be handled by the doc job but by fixing the sync. The threshold must be updated and the sync must be fully atomic.

dirk-thomas commented 11 years ago

We have talked about the atomic sync before and with the increasing size of the farm this is getting more and more critical. I finally filled a ticket for it: #129