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

Plugin needs to provide reason for FAILURE status

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • xunit-plugin
    • None

      XUnit randomly fails our builds but we have no idea why.
      The job reports 0 tests have failed , but from the log i can see XUnit marking the build status to FAILURE.

      [xUnit] [INFO] - Starting to record.
      [xUnit] [INFO] - Processing CTest-Version N/A (default)
      [xUnit] [INFO] - [CTest-Version N/A (default)] - 1 test report file(s) were found with the pattern 'BUILD/**/Test.xml' relative to '/var/lib/jenkins/workspace/__sdmos_sdmos-int_5' for the testing framework 'CTest-Version N/A (default)'.
      [xUnit] [INFO] - Converting '/var/lib/jenkins/workspace/__sdmos_sdmos-int_5/BUILD/Testing/20141118-2227/Test.xml' .
      [xUnit] [INFO] - Check 'Failed Tests' threshold.
      [xUnit] [INFO] - Check 'Skipped Tests' threshold.
      [xUnit] [INFO] - Setting the build status to FAILURE
      [xUnit] [INFO] - Stopping recording.

      Could the plugin please provide the reason for setting the status to failure.
      e.g. was it a threshold, list of tests that failed etc etc

      Without it , it is almost impossible to figure out the reason.

            nfalco Nikolas Falco
            mornejoubert Morne Joubert
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: