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

combination of analysis results drill-down doesn't work in multi-module project

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • analysis-core-plugin
    • None
    • SuSE11, Hudson 1.391

      I have a multi-module project built (MVN2.2.1) successfully generating pmd, checkstyle, findbugs, and the overall report analysis looks fine to me. (attachment#1)
      However, drill down doesn't work (attachments 2-3).
      While, when I open a particular module and then drill down, all looks fine...
      Is that a problem/bug or by intention/design?
      Thanks for any hints

      Stephan

          [JENKINS-8433] combination of analysis results drill-down doesn't work in multi-module project

          Ulli Hafner added a comment -

          Ok, I see. This seems to be a bug.

          I'm using a multi-module build with project type maven and freeestyle without any problems. Can you please check if this also happens if you run the project as freestyle project?

          Which URL did you select for screenshot 2? Is it something like http://host:port/job/[jobname]/[buildnumber]/checkstyleResult/? If you change to URL http://host:port/job/[jobname]/[buildnumber]/[module]/checkstyleResult/ then everything is correctly shown?

          Ulli Hafner added a comment - Ok, I see. This seems to be a bug. I'm using a multi-module build with project type maven and freeestyle without any problems. Can you please check if this also happens if you run the project as freestyle project? Which URL did you select for screenshot 2? Is it something like http://host:port/job/[jobname]/[buildnumber]/checkstyleResult/? If you change to URL http://host:port/job/[jobname]/[buildnumber]/[module]/checkstyleResult/ then everything is correctly shown?

          Ulli Hafner added a comment -

          I created a Hudson job maven for my analysis plugins: http://www.faktorzehn.org:8081/view/Hudson/job/Hudson%20Plug-ins%20%28Maven%29/1/

          Maybe this helps to identify the differences between your setup and mine, so I can reproduce this bug.

          Ulli Hafner added a comment - I created a Hudson job maven for my analysis plugins: http://www.faktorzehn.org:8081/view/Hudson/job/Hudson%20Plug-ins%20%28Maven%29/1/ Maybe this helps to identify the differences between your setup and mine, so I can reproduce this bug.

          stezis added a comment -

          Oops... it disappeared for Checkstyle and Findbugs, but something is wrong with the number of reported problems. The number of warnings is smaller than previously, mabye that's why, and it doesn't add up properly if I compare the numbers reported for the single modules?
          NB: I increased the timeout on the apache config recently, as I suspected that as well might have been the reason. Can't say if this really helped.
          PMD still doesn't work, and please look at the hudson.log
          I will attach the huson log FYI. There are some weird error messages, e.g. java.lang.OutOfMemoryError: Java heap space
          Can I increase this somewhere, if this is the reason. The number of reported warning is really high

          Stephan

          stezis added a comment - Oops... it disappeared for Checkstyle and Findbugs, but something is wrong with the number of reported problems. The number of warnings is smaller than previously, mabye that's why, and it doesn't add up properly if I compare the numbers reported for the single modules? NB: I increased the timeout on the apache config recently, as I suspected that as well might have been the reason. Can't say if this really helped. PMD still doesn't work, and please look at the hudson.log I will attach the huson log FYI. There are some weird error messages, e.g. java.lang.OutOfMemoryError: Java heap space Can I increase this somewhere, if this is the reason. The number of reported warning is really high – Stephan

          stezis added a comment -

          hudson log from today to support error analysis, please cf. the outofmem errors...

          stezis added a comment - hudson log from today to support error analysis, please cf. the outofmem errors...

          stezis added a comment -

          The provided URL doesn't work...

          stezis added a comment - The provided URL doesn't work...

          stezis added a comment -

          as said in the original post, it works on a per module basis, either via the hudson provided links or via directly using the URLs as proposed.

          stezis added a comment - as said in the original post, it works on a per module basis, either via the hudson provided links or via directly using the URLs as proposed.

          Ulli Hafner added a comment -

          Ok, that seems to be the problem. The details page is created dynamically, i.e. after displaying the header the results are loaded in the background. When this process is killed (OME) then the results will not be shown.

          This probably is the same as JENKINS-1960. Due to the internal design of the analysis plug-ins the number of warnings currently is limited (approx. 1000).

          Ulli Hafner added a comment - Ok, that seems to be the problem. The details page is created dynamically, i.e. after displaying the header the results are loaded in the background. When this process is killed (OME) then the results will not be shown. This probably is the same as JENKINS-1960 . Due to the internal design of the analysis plug-ins the number of warnings currently is limited (approx. 1000).

          Ulli Hafner added a comment -

          Can you please try to increase you Hudson's master memory startup parameters?

          I'm closing this issue, since it is duplicate, please watch the original issue JENKINS-1960.

          Ulli Hafner added a comment - Can you please try to increase you Hudson's master memory startup parameters? I'm closing this issue, since it is duplicate, please watch the original issue JENKINS-1960 .

          stezis added a comment -

          The increase of memory resolved this issue. Thanks.

          I changed in /etc/sysconfig/hudson
          #HUDSON_JAVA_OPTIONS="-Djava.awt.headless=true"
          HUDSON_JAVA_OPTIONS="-Xmx1G -Xms1G -Djava.awt.headless=true"

          Now all reports show as expected and as well the speed of the whole hudson app, i.e. response times, increased significantly. No errors anymore in hudson.log

          Stephan

          stezis added a comment - The increase of memory resolved this issue. Thanks. I changed in /etc/sysconfig/hudson #HUDSON_JAVA_OPTIONS="-Djava.awt.headless=true" HUDSON_JAVA_OPTIONS="-Xmx1G -Xms1G -Djava.awt.headless=true" Now all reports show as expected and as well the speed of the whole hudson app, i.e. response times, increased significantly. No errors anymore in hudson.log – Stephan

          stezis added a comment -

          FYI
          ~18000 warnings from checkstyle
          ~14000 warnings from pmd
          ~32000 warnings from static analysis

          stezis added a comment - FYI ~18000 warnings from checkstyle ~14000 warnings from pmd ~32000 warnings from static analysis

            drulli Ulli Hafner
            stezis stezis
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: