Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-5315

Critical performance issu on maven2 jobs during site generation.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Critical Critical
    • maven-plugin
    • 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.

        1. freestyle_log.txt
          24 kB
          lynggaard
        2. freestyle-project.nps
          542 kB
          lynggaard
        3. javacore.20100129.023743.364726.txt
          1.96 MB
          Chris Graham
        4. javacore.20100129.211530.491682.txt
          1.81 MB
          Chris Graham
        5. javacore.20100131.220945.491684.txt
          2.00 MB
          Chris Graham
        6. javacore.20100201.114114.524534.txt
          558 kB
          Chris Graham
        7. javacore.20100201.114955.524534.txt
          558 kB
          Chris Graham
        8. javacore.20100201.120315.524534.txt
          558 kB
          Chris Graham
        9. maven2_log.txt
          33 kB
          lynggaard
        10. maven2-project.nps
          783 kB
          lynggaard

            Unassigned Unassigned
            lynggaard lynggaard
            Votes:
            6 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated: