Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-15890

Build should fail if JUnit Parser encounters errors parsing the test results

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Medium
    • 6.0 EAP, 6.0.0
    • 5.8
    • Builds
    • None

    Description

      When JUnit parser finds the tests.xml but is unable to parse the results, the task is still successful and so is the build but test results weren't checked.

      The task log displays: "Failed to parse test result file ..."

      A test could be failing but since no results are parsed, the true correctness of the test results cannot be guaranteed. The build should be marked as failed and a message should be displayed to correct the situation (as suggested in BAM-15321)

      Attachments

        1. failed_tests.png
          failed_tests.png
          33 kB
        2. successful_tests.png
          successful_tests.png
          31 kB
        3. TESTS-something.something.xml
          2 kB
        4. tst_dsp_freq.xml
          0.2 kB

        Issue Links

          Activity

            People

              mswinarski Maciej Swinarski (Inactive)
              mfernandezbadii Mauro Badii
              Votes:
              14 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: