Uploaded image for project: 'Harmony'
  1. Harmony
  2. HARMONY-4842

[bti] Unreliable status calculation for snapshot testing results

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • build - test - ci
    • None

    Description

      The snapshot status page [1] wrongly accounts some suites PASSED. It happens when suite is expected to generate JUnit-style report and some tests crash or cannot compile and build run aborts after running only part of suite. In this case those few successfully run tests are published and suite status is shown green on the page [1].
      This in particular explains wrong data for DRLVM tests on Windows [2], which in reality is caused by compilation errors in cunit tests.

      The most reliable way would be to generate status.txt always and rely on it when calculating status, while look for JUnit statistics only to get pass rate.

      [1] http://people.apache.org/~mloenko/snapshot_testing/script/snapshots_summary.html
      [2] http://people.apache.org/~mloenko/snapshot_testing/script/r577501/index.html

      Attachments

        Issue Links

          Activity

            People

              smm Stepan Mishura
              varlax Alexey Varlamov
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated: