Re: Hudson administrivia, build timeout

2009-07-08 Thread Justin Mason
> We tried the build timeout before, I think, and it didn't help.  But I
> think some of the timeouts we're seeing now are due to broken tests on
> some projects, and we've upgraded Hudson itself since the last try, so
> it's worth a retry in my opinion.
>
> I also checked the recent Hudson changelog, but nothing relevant has been
> implemented that would fix build hangs.
>
> Anyway, if your project has had problems with build hangs, please enable a
> timeout on the "Configure" page.  It's about halfway down, in the "Build
> Environment" section -- tick the '[x] Abort the build if it's stuck'
> tickbox and set 'Timeout minutes' to a sane upper limit.
>
> If we run into builds of your projects timing out, we'll set this for you. ;)

update to this: so far all of the hangs (or at least very long-running
builds) since then have been Maven-related.  Is it expected that these
would take 2 hours to run?

Should we set policy for the ASF hudson instance regarding the max
runtime of builds, seeing as we only have 4 build executor slots?

--j.


Re: Hudson administrivia, build timeout

2009-07-08 Thread Jukka Zitting
Hi,

On Wed, Jul 8, 2009 at 12:50 PM, Justin Mason wrote:
> Should we set policy for the ASF hudson instance regarding the max
> runtime of builds, seeing as we only have 4 build executor slots?

That would be good, though we may want to allow longer builds that
only run relatively seldom (e.g. weekly).

BR,

Jukka Zitting


Re: Hudson administrivia, build timeout

2009-07-08 Thread Nigel Daley

Many thanks Justin!

I think there's something funky with the Bugzilla Plugin config.

Our Jira issues are being broken into 2 links now.  Example,  
MAPREDUCE-693 is broken into

1) MAPREDUCE- links to Jira issue
2) 693 links to bugzilla

Nige

On Jul 7, 2009, at 3:43 AM, Justin Mason wrote:


I'm installing the following plugins:

- Audit Trail plugin ('Keep a log of who performed particular Hudson
 operations, such as configuring jobs', handy in our configuration  
with

 so many users)

- Bugzilla Plugin ('This plugin integrates Bugzilla into Hudson', we  
use

 bugzilla in SpamAssassin and I'm sure there are others)

- Warnings Plugin ('This plugin generates the trend report for  
compiler

 warnings in the build log', looks pretty nifty!)

- and I'm going to re-try the Build Timeout plugin ('This plugin  
allows

 you to automatically abort a build if it's taking too long').

We tried the build timeout before, I think, and it didn't help.  But I
think some of the timeouts we're seeing now are due to broken tests on
some projects, and we've upgraded Hudson itself since the last try, so
it's worth a retry in my opinion.

I also checked the recent Hudson changelog, but nothing relevant has  
been

implemented that would fix build hangs.

Anyway, if your project has had problems with build hangs, please  
enable a
timeout on the "Configure" page.  It's about halfway down, in the  
"Build

Environment" section -- tick the '[x] Abort the build if it's stuck'
tickbox and set 'Timeout minutes' to a sane upper limit.

If we run into builds of your projects timing out, we'll set this  
for you. ;)


--j.




Re: Hudson administrivia, build timeout

2009-07-08 Thread Nigel Daley


On Jul 8, 2009, at 4:24 AM, Jukka Zitting wrote:


Hi,

On Wed, Jul 8, 2009 at 12:50 PM, Justin Mason wrote:

Should we set policy for the ASF hudson instance regarding the max
runtime of builds, seeing as we only have 4 build executor slots?


That would be good, though we may want to allow longer builds that
only run relatively seldom (e.g. weekly).


+1.  There may need to be exceptions to this.  If I recall, the  
Harmony builds take a long time.


Nige