www-builds mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andreas Veithen <andreas.veit...@gmail.com>
Subject Re: [Hudson] "Parsing POMs" can be very slow
Date Sun, 23 Jan 2011 18:06:11 GMT
Benson,

Right now, when there is a change in Axiom, Hudson will also trigger
builds of Neethi, Woden, Axis2, Sandesha2 and Rampart. This is what we
want because it allows us to ensure non-regression in downstream
projects. This relies on Hudson calculating the dependencies
automatically. Disabling this would mean that we have to find an
alternative configuration to achieve the same. So, yes, interjob
dependencies are needed, and disabling them should only be a last
resort. I like Niklas' proposal to run the recalculation of these
dependencies as a cron job.

Andreas

On Sun, Jan 23, 2011 at 18:21, Benson Margulies <bimargulies@gmail.com> wrote:
> Niklas,
>
> I'm a very rusty hudson dev. So I'm reduced to the following question:
> do we really need interjob hudson dependencies at Apache (the
> downstream/upstream business). If all the jobs are set to turn this
> off, does it still calculate?
>
> Another view of this would be to look to splitting up hudson, and
> maybe fixing this might be less work than that.
>
> --benson
>
>
> On Sun, Jan 23, 2011 at 11:15 AM, Niklas Gustavsson
> <niklas@protocol7.com> wrote:
>> Hi
>>
>> Some of you might have noticed that Hudson can take a long time on
>> Maven builds in the step called "Parsing POMs". In fact, some builds
>> will time-out due to this step taking 15 minutes or more. Thing is, as
>> part of this step, Hudson will do the problematic rebuild of its
>> dependency graph. This is the same problem causing saving project
>> configuration taking forever. We have previously reported this here:
>> http://issues.hudson-ci.org/browse/HUDSON-7535
>>
>> I've now added a comment on the issue describing the additional
>> problem of builds taking a long time.
>>
>> I think we got some Hudson devs around here, anyone knows a workaround
>> for this problem? The problem at hand is line 748 in
>> MavenModuleSetBuild.java. I'm considering patching Hudson to remove
>> these calls on saving projects/starting builds and instead rebuilding
>> the graph as a cron job every hour or so. Would that work (given the
>> dependency graph will obviously be broken for some short times)?
>>
>> /niklas
>>
>

Mime
View raw message