Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-14372

test-patch doesn't properly account for flakey tests

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Invalid
    • None
    • None
    • build
    • None

    Description

      we use the surefire plugin to rerun failing tests to check for flakeys. if a flakey test fails once and then succeeds we get a vote that looks like this:

           {color:red}-1 core tests{color}.  The patch failed these unit tests:
           
      

      (note the lack of any listed tests)

      looking back at the actual run we can see:

      
      Flaked tests: 
      org.apache.hadoop.hbase.util.TestHBaseFsck.testSplitDaughtersNotInMeta(org.apache.hadoop.hbase.util.TestHBaseFsck)
        Run 1: TestHBaseFsck.testSplitDaughtersNotInMeta:1771 null
        Run 2: PASS
      
      
      Tests run: 2642, Failures: 0, Errors: 0, Skipped: 17, Flakes: 1
      
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            busbey Sean Busbey
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: