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

xUnit in case of multiple tool type processes only the first one

    Details

    • Similar Issues:

      Description

      After upgrade xUnit to version 2.0.3 from 2.0.2 only first configured unit test result is being processed. Other configured test results are ignored.

      xUnit 2.0.3:

      INFO: Starting to record.
      INFO: Processing PHPUnit-3.x (default)
      INFO: [PHPUnit-3.x (default)] - 1 test report file(s) were found with the pattern 'build/logs/junit.xml' relative to '/var/lib/jenkins/jobs/app/workspace' for the testing framework 'PHPUnit-3.x (default)'.
      INFO: Check 'Failed Tests' threshold.
      INFO: Check 'Skipped Tests' threshold.
      INFO: Setting the build status to SUCCESS
      INFO: Stopping recording.

      xUnit 2.0.2: 

      INFO: Starting to record.
      INFO: Processing PHPUnit-3.x (default)
      INFO: [PHPUnit-3.x (default)] - 1 test report file(s) were found with the pattern 'build/logs/junit.xml' relative to '/var/lib/jenkins/jobs/app/workspace' for the testing framework 'PHPUnit-3.x (default)'.
      INFO: Processing PHPUnit-3.x (default)
      INFO: [PHPUnit-3.x (default)] - 1 test report file(s) were found with the pattern 'build/codecept/report.xml' relative to '/var/lib/jenkins/jobs/app/workspace' for the testing framework 'PHPUnit-3.x (default)'.
      INFO: Check 'Failed Tests' threshold.
      INFO: The total number of tests for this category exceeds the specified "failure" threshold value.
      INFO: Setting the build status to FAILURE
      INFO: Stopping recording.
      Build step 'Publish xUnit test result report' changed build result to FAILURE

      It is a freestyle ant build project and for this case I use cumulative test results.

      This might be related to JENKINS-47194.

        Attachments

          Activity

          dukecz Michal Kruzik created issue -
          dukecz Michal Kruzik made changes -
          Field Original Value New Value
          Attachment config.xml [ 43281 ]
          nfalco Nikolas Falco made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          nfalco Nikolas Falco made changes -
          Summary xUnit processes only one test result in freestyle project xUnit processes only the first tool type
          nfalco Nikolas Falco made changes -
          Labels ant freestyle xunit regression xunit
          nfalco Nikolas Falco made changes -
          Priority Minor [ 4 ] Major [ 3 ]
          nfalco Nikolas Falco made changes -
          Summary xUnit processes only the first tool type xUnit in case of multiple tool type processes only the first one
          nfalco Nikolas Falco made changes -
          Status In Progress [ 3 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          dukecz Michal Kruzik made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

            • Assignee:
              nfalco Nikolas Falco
              Reporter:
              dukecz Michal Kruzik
            • Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: