Uploaded image for project: 'Aurora'
  1. Aurora
  2. AURORA-822

Coverage metrics seem occasionally flaky

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 0.6.0
    • Build
    • None

    Description

      wfarner reported a build failure re: newly added coverage:

      * What went wrong:
      Execution failed for task ':jacocoTestReport'.
      > Thanks for adding the first test coverage to: org/apache/aurora/scheduler/async/OfferQueue$OfferQueueImpl$2 please remove it from the legacyClassesWithoutCoverage list. Expression: (coverage == 0). Values: coverage = 6
      

      However running the build locally neither I nor zmanji were able to reproduce. Here's the sha I'm running from:

      $ git log -2
      commit 3a2c17a0d861d624789aad7d7ddd447ab9b866ab
      Author: Joshua Cohen <jcohen@twopensource.com>
      Date:   Wed Oct 8 17:11:24 2014 -0700
      
          Kill code to serve ApiBeta help pages that's no longer used now that the content is served directly.
      
      commit 18ae90569b9a5fda44d0f7a9ea59e8eee916408b
      Author: Zameer Manji <zmanji@twopensource.com>
      Date:   Wed Oct 8 16:33:42 2014 -0700
      
          Blacklist org/apache/aurora/scheduler/http/api/ApiBeta$2 which has no coverage.
          
          Bugs closed: AURORA-819
          
          Reviewed at https://reviews.apache.org/r/26464/
      

      I'm attaching my jacocoTestReport.xml for further investigation.

      Attachments

        1. jacocoTestReport.xml
          1.27 MB
          Joshua Cohen
        2. jacocoTestReport.xml
          1.28 MB
          Maxim Khutornenko

        Activity

          People

            wfarner Bill Farner
            joshua.cohen Joshua Cohen
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: