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

          stezis created issue -

          Ulli Hafner added a comment -

          Is the drilldown broken for all your projects? You you use a proxy?

          Ulli Hafner added a comment - Is the drilldown broken for all your projects? You you use a proxy?

          stezis added a comment -

          I just have one multi-module project, so I cannot answer if this is relevant to all multi-module projects.
          Clearly, to me it seems to be related to the fact that more than 1 result file was evaluated (3 in this case per tool). If, e.g., just one PMD file was a result from PMD, it works fine. (I had this case before I was fixing some issues in my setup, i.e. I just had one pmd.xml result file from one of the modules. Now that I have 3 each, it doesn't work).
          As said, when I open a particular module, then the drill-down works. Here (for sure) I have always just one result file.
          Proxy? for hudson? no...

          Stephan

          stezis added a comment - I just have one multi-module project, so I cannot answer if this is relevant to all multi-module projects. Clearly, to me it seems to be related to the fact that more than 1 result file was evaluated (3 in this case per tool). If, e.g., just one PMD file was a result from PMD, it works fine. (I had this case before I was fixing some issues in my setup, i.e. I just had one pmd.xml result file from one of the modules. Now that I have 3 each, it doesn't work). As said, when I open a particular module, then the drill-down works. Here (for sure) I have always just one result file. Proxy? for hudson? no... – Stephan

          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 made changes -
          Attachment New: hudson.log.2011-01-10.10.57 [ 20132 ]

          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.

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

              Created:
              Updated:
              Resolved: