Mailinglist Archive: opensuse-buildservice (311 mails)

< Previous Next >
RE: [opensuse-buildservice] Restricting a build to certain workers
  • From: <Michael_E_Brown@xxxxxxxx>
  • Date: Thu, 12 Nov 2009 09:56:47 -0600
  • Message-id: <23FB5629F59DB0438C772CCC7352E5B9B73642@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
awesome, thanks!

I have been having persistent problems with clock syncing and configure
complaining about generated files being older than distributed files. This
seems like a handy method to fixup both of these problems.
--
Michael

-----Original Message-----
From: Michael Schroeder [mailto:mls@xxxxxxx]
Sent: Thu 11/12/2009 9:38 AM
To: Luke Imhoff
Cc: opensuse-buildservice@xxxxxxxxxxxx
Subject: Re: [opensuse-buildservice] Restricting a build to certain workers

On Wed, Nov 11, 2009 at 02:25:01PM -0600, Luke Imhoff wrote:
I have build workers that run SLES 9 and SLES 10. It appears that the
SLES 9 worker's kernels are too old to do Ubuntu 9.10 builds, as I get
this error:

FATAL: kernel too old

Is there anyway to make Ubuntu:9.10 jobs not go on SLES 9 workers to
prevent this? Right now, I just have to keep telling it to rebuild
until a SLES 10 worker picks it up.

bs_worker supports a 'hostcheck' argument where you can specify
a script that can be used to check if the host can build a package.
Actually it's also run after the build so that you can also check the
logfile. It's called like

$hostcheck --srcserver $srcserver $jobfile precheck $buildroot
and
$hostcheck --srcserver $srcserver $jobfile $result $buildroot/.build.log

If $hostcheck exits with a non-zero return code the build will
be retried on a different host.

You can extract the repository from the $jobfile file.

Cheers,
Michael.

--
Michael Schroeder mls@xxxxxxx
SUSE LINUX Products GmbH, GF Markus Rex, HRB 16746 AG Nuernberg
main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);}
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx


--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >