-
Bug
-
Resolution: Unresolved
-
Critical
-
None
-
Solaris 10,Glassfish v2, hudson 1.336,maven 2.2.1
machine: SunOS hostname 5.10 Generic_137111-08 sun4u sparc SUNW,Sun-Fire-V490
I have a large project which I am trying to build a site for. In order to have hudson collect unittest,checkstyle,findbugs etc. trends. However there appears to be a critical performance difference between running the site as a maven2 job and as a freestyle job.
My build looks like this:
- 1 parent reactor pom
- 57 modules in a mix of jar,war,ear and a assembly zip module
- Some of these modules have unittest
- Some of these modules contains antrun tasks needed for webservice (server and client),weblogic mbean,weblogic workshop frontend. most of these antruns are wrapped in a "if" task to avoid needless regenerations (like javac skipping compile of class files are up2date)
I think the problem comes from the large number to "install" lifecycles the report cycles starts in order to be sure the unitests has been run.
Here are the performance I am seeing running site on this job
- manual maven on my laptop (Lenovo Thinkpad T61P 2.4 ghz) 30-40 minutes
- hudson freestyle project: 90 minutes
- hudson maven2 job (1. attempt): build failed after 11 hours, most likely because og missing dependency (most likely another job was deploying in nexus repo)
- hudson maven2 job (2. attempt): build appears to be hanging and was killed after 17 hours, the build appear to be approx halfway.
To give an idea of the general performance, a normal install runs like this:
- laptop: 4-5 minutes
- hudson maven2 job: 15 minutes
So in normal install the build server takes approx 3 times as long. and during site this differece is the same for freestyle projects, but maven2 projects seem take forever.
[JENKINS-5315] Critical performance issu on maven2 jobs during site generation.
Attachment | New: javacore.20100201.114114.524534.txt [ 19073 ] | |
Attachment | New: javacore.20100201.114955.524534.txt [ 19074 ] | |
Attachment | New: javacore.20100201.120315.524534.txt [ 19075 ] |
Attachment | New: javacore.20100129.023743.364726.txt [ 19086 ] | |
Attachment | New: javacore.20100129.211530.491682.txt [ 19087 ] | |
Attachment | New: javacore.20100131.220945.491684.txt [ 19088 ] |
Attachment | New: freestyle_log.txt [ 19958 ] | |
Attachment | New: maven2_log.txt [ 19959 ] |
Attachment | New: freestyle-project.nps [ 19961 ] | |
Attachment | New: maven2-project.nps [ 19962 ] |
Component/s | New: maven-plugin [ 16033 ] | |
Component/s | Original: maven2 [ 15487 ] |
Workflow | Original: JNJira [ 135404 ] | New: JNJira + In-Review [ 174304 ] |