Re: Build failed in Jenkins: Build-UFS-image #599

From: Garrett Cooper <yaneurabeya_at_gmail.com>
Date: Sat, 20 Dec 2014 13:43:50 -0800
On Dec 5, 2014, at 19:59, Garrett Cooper <yaneurabeya_at_gmail.com> wrote:

> On Dec 5, 2014, at 16:52, jenkins-admin_at_freebsd.org wrote:
> 
>> See <https://jenkins.freebsd.org/job/Build-UFS-image/599/>
> 
> 	I’m not entirely sure why the "could not determine COMPILER_TYPE" error popped up, but I have a couple of questions/concerns related to the makefile snippet.

I looked at the error and the jenkins jobs a bit more and I think the real problem is that the FreeBSD_Head job is being run in parallel with the Build-UFS-image job, because the FreeBSD_Head job completes without issue and the Build-UFS-image job is not being run with -j <anything>. I know based on past experience if the tree is updated but not rebuilt with -DNO_CLEAN and installkernel/installworld is being run, sporadic build failures like this will occur, depending on whether or not something needs to be [re]built.

One way to deal with this issue is to svn up a source tree, then rsync the checked out copy of the source tree to a unique memory disk, build from there, and install to a unique location as well. Using the jenkins job identifier should be enough… but I’m not sure what the best way with Jenkins is to do this, partly because I don’t know what plugins are installed on the Jenkins server.

Thanks!

Received on Sat Dec 20 2014 - 20:43:53 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:54 UTC