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

Test result trend not displayed in matrix project configuration top page

      I use a multi-configuration job to build and test CPP project.
      I use xUnit to publish BoostTest result.

      I can show test result trend in each configuration page but I don't show anything in the top page of the job.
      Morevover in a dashboard view, I don't show anything neither in "test statistics chart"(saying no data available) nor in "test statistics grid"(all cells at 0).

        1. jenkins_jira1.png
          jenkins_jira1.png
          176 kB
        2. jenkins_jira2.png
          jenkins_jira2.png
          59 kB
        3. jenkins_jira3.png
          jenkins_jira3.png
          111 kB

          [JENKINS-12205] Test result trend not displayed in matrix project configuration top page

          Any news on it? I have exactly the same problem here.

          Ireneusz Makowski added a comment - Any news on it? I have exactly the same problem here.

          I found a workaround and it seems to be xunit plugin issue because it does not publish information about test results to the matrix project.

          For me following workaround works:
          uncheck: "Delete temporary JUnit files"
          create additional post-build action step: "publish junit test result report" and add as a value for "Test report XMLs" generatedJUnitFiles\NUnit*.xml

          Do you know any other workaround for that issue?

          Ireneusz Makowski added a comment - I found a workaround and it seems to be xunit plugin issue because it does not publish information about test results to the matrix project. For me following workaround works: uncheck: "Delete temporary JUnit files" create additional post-build action step: "publish junit test result report" and add as a value for "Test report XMLs" generatedJUnitFiles\NUnit*.xml Do you know any other workaround for that issue?

          Any news?

          Ireneusz Makowski added a comment - Any news?

          I use xUnit for gtest (Google test), and have the same problem, I've tried the above suggestion (comment-174868), but it doesn't seem to work.

          Randall Britten added a comment - I use xUnit for gtest (Google test), and have the same problem, I've tried the above suggestion ( comment-174868 ), but it doesn't seem to work.

          lam le added a comment -

          Any update? Mine is showing no data.

          lam le added a comment - Any update? Mine is showing no data.

          really annoying that this data is not available =(

          Ing. Christoph Obexer added a comment - really annoying that this data is not available =(

          Code changed in jenkins
          User: Willem Verstraeten
          Path:
          src/main/java/hudson/plugins/view/dashboard/test/TestUtil.java
          src/test/java/hudson/plugins/view/dashboard/test/TestSummaryForMatrixJobs.java
          src/test/resources/hudson/plugins/view/dashboard/test_failure.xml
          http://jenkins-ci.org/commit/dashboard-view-plugin/dabdd8e91c98081aed3becff729a9ea89944048d
          Log:
          [FIXED JENKINS-12205] : recent versions of MatrixProject no longer include the test results of their child jobs. Iterate over them manually.

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Willem Verstraeten Path: src/main/java/hudson/plugins/view/dashboard/test/TestUtil.java src/test/java/hudson/plugins/view/dashboard/test/TestSummaryForMatrixJobs.java src/test/resources/hudson/plugins/view/dashboard/test_failure.xml http://jenkins-ci.org/commit/dashboard-view-plugin/dabdd8e91c98081aed3becff729a9ea89944048d Log: [FIXED JENKINS-12205] : recent versions of MatrixProject no longer include the test results of their child jobs. Iterate over them manually.

          Code changed in jenkins
          User: Willem Verstraeten
          Path:
          src/main/java/hudson/plugins/view/dashboard/test/TestUtil.java
          src/test/java/hudson/plugins/view/dashboard/test/TestSummaryForMatrixJobs.java
          src/test/resources/hudson/plugins/view/dashboard/test_failure.xml
          http://jenkins-ci.org/commit/dashboard-view-plugin/117b3666733afa3a6507f8d59ff6568adfdfd6a8
          Log:
          Merge pull request #34 from willemv/master

          [FIXED JENKINS-12205] : show test statistics for Matrix Jobs

          Compare: https://github.com/jenkinsci/dashboard-view-plugin/compare/09948c53a111...117b3666733a

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Willem Verstraeten Path: src/main/java/hudson/plugins/view/dashboard/test/TestUtil.java src/test/java/hudson/plugins/view/dashboard/test/TestSummaryForMatrixJobs.java src/test/resources/hudson/plugins/view/dashboard/test_failure.xml http://jenkins-ci.org/commit/dashboard-view-plugin/117b3666733afa3a6507f8d59ff6568adfdfd6a8 Log: Merge pull request #34 from willemv/master [FIXED JENKINS-12205] : show test statistics for Matrix Jobs Compare: https://github.com/jenkinsci/dashboard-view-plugin/compare/09948c53a111...117b3666733a

          Dan Alvizu added a comment -

          Fixed in dashboard-view v2.9.7 - thanks willemv!

          Dan Alvizu added a comment - Fixed in dashboard-view v2.9.7 - thanks willemv !

          Code changed in jenkins
          User: Willem Verstraeten
          Path:
          src/main/java/hudson/plugins/view/dashboard/test/TestUtil.java
          http://jenkins-ci.org/commit/dashboard-view-plugin/7effaedfb180af5a543895ad3edef7758fb856ff
          Log:
          Related to JENKINS-12205: don't report test failures of inactive Matrix Configurations

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Willem Verstraeten Path: src/main/java/hudson/plugins/view/dashboard/test/TestUtil.java http://jenkins-ci.org/commit/dashboard-view-plugin/7effaedfb180af5a543895ad3edef7758fb856ff Log: Related to JENKINS-12205 : don't report test failures of inactive Matrix Configurations

            willemv Willem Verstraeten
            tarento Christopher Tarento
            Votes:
            6 Vote for this issue
            Watchers:
            15 Start watching this issue

              Created:
              Updated:
              Resolved: