Ask Your Question
0

Most jobs fail in my buildfarm

asked 2018-07-19 08:18:43 -0600

venkisagunner gravatar image

updated 2018-07-23 16:43:44 -0600

I configured a buildfarm and triggered an import upstream job with the build parameters as mentioned in the documentation. But, most of the jobs failed to build. Also, is there any way one can educate me or point me to some material that tells how to start a job for my ros package (which is in my git repo right now) in my buildfarm ?

I tried starting a job in my buildfarm but it just clones the repo from github and doesn't perform any build on it. I'm new to jenkins and I'm learning.

Also I performed everything as mentioned here in this link.

I don't know whether I should be doing this but, I updated my jenkins to 2.121 from 2.89. Please tell me if this is wrong. Also in my lab currently everyone is developing in lunar, but I see that the distributions in ros_buildfarm_config show only jade, indigo and kinetic. Is this fine ? Can I still build packages developed in lunar or melodic in the buildfarm I configured ?

image description

I apologize if this isn't much information. I can improve this post to help others who wants to setup a buildfarm. Inputs are welcome.

Thanks !

EDIT - 1

I scrapped the entire deployment and redid everything from scratch. I still ended up having all my jobs fail. This time I had my jenkins version set to default (2.89).

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2018-07-24 09:36:35 -0600

nuclearsandwich gravatar image

I don't know whether I should be doing this but, I updated my jenkins to 2.121 from 2.89. Please tell me if this is wrong.

Jenkins 2.107.1 makes some substantial changes ( https://jenkins.io/changelog-stable/#... ), mainly moving from a blacklist to a whitelist for serialize-able classes ( https://jenkins.io/blog/2018/01/13/je... ) and I haven't had the time to audit our buildfarm for issues related to that. Anyone in the community who does use a more recent jenkins version is encouraged to share their experience in https://github.com/ros-infrastructure...

Also in my lab currently everyone is developing in lunar, but I see that the distributions in ros_buildfarm_config show only jade, indigo and kinetic. Is this fine ? Can I still build packages developed in lunar or melodic in the buildfarm I configured ?

You'll need to update your configuration in order to build packages for Lunar and Melodic. And to save overhead on rosdistros you don't need you'll want to comment out or remove indigo, jade, and kinetic from your ros_buildfarm_config index.yaml if you don't need to build for them.

Since you mention above that you want to build your own packages which aren't in the upstream rosdistro you'll also want to follow this guide https://github.com/ros-infrastructure...

But, most of the jobs failed to build.

There are many reasons a job could fail. Could you post an example build log which will help identify possible causes.

how to start a job for my ros package (which is in my git repo right now) in my buildfarm ?

After setting up your custom rosdistro and updating your ros_buildfarm_config your buildfarm will use your rosdistro database to know what jobs to build. You can set up devel jobs without first creating a release but if you want to build install-able binaries for your package you will first need to run bloom and release it into your custom rosdistro. This Bloom tutorial http://wiki.ros.org/bloom/Tutorials/F... is aimed at releasing packages to the upstream rosdistro but much of the information is still useful. If you do have questions about that process be sure to ask them separately so that this question stays on topic.

edit flag offensive delete link more

Comments

Thank you for your answer. Is there an example that I can refer for creating a custom rosdistro ? Also is there an example that says how to add melodic and lunar to the ros_buildfarm_config ?

venkisagunner gravatar image venkisagunner  ( 2018-07-24 11:57:36 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

3 followers

Stats

Asked: 2018-07-19 08:18:43 -0600

Seen: 184 times

Last updated: Jul 24 '18