www-builds mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benson Margulies <bimargul...@gmail.com>
Subject Re: [Hudson] "Parsing POMs" can be very slow
Date Sun, 23 Jan 2011 17:21:30 GMT

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.


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

View raw message