XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.0.0
    • None
    • None
    • Reviewed
    • Hide
      To find recent set of flakies, run the script added by this patch. Run it to get usage information passing -h:

      {code}
      $ ./dev-support/report-flakies.py -h
      {code}

      If you get the below:

      {code}
      $ python ./dev-support/report-flakies.py
      Traceback (most recent call last):
        File "./dev-support/report-flakies.py", line 25, in <module>
          import requests
      ImportError: No module named requests
      {code}

      ... install the requests module:

      {code}
      $ sudo pip install requests
      {code}
      Show
      To find recent set of flakies, run the script added by this patch. Run it to get usage information passing -h: {code} $ ./dev-support/report-flakies.py -h {code} If you get the below: {code} $ python ./dev-support/report-flakies.py Traceback (most recent call last):   File "./dev-support/report-flakies.py", line 25, in <module>     import requests ImportError: No module named requests {code} ... install the requests module: {code} $ sudo pip install requests {code}

    Description

      So i have written this simple script (attached) which looks at history of the post commit build and outputs a list of flaky tests with some numbers.

      Next steps:
      1. Setup a jenkins job (say find-flaky-tests) to run this script daily. We can either directly pull these results into other jobs using curl on this job's artifacts, or commit the list of flaky test to repo (idk if it's possible to commit something from jenkins job).
      We'll collect results from both post-commit job (to add new flakies) and flaky-tests job (to delete tests which are no more flaky).

      2. Change pre-commit and post-commit jobs to ignore these tests using --exclude maven flag. Someone familiar with yetus might be able to do it easily.

      3. Setup a new job (say flaky-tests) to run only these flaky tests.

      Attachments

        1. flakies.py
          2 kB
          Apekshit Sharma
        2. HBASE-15651-master.patch
          6 kB
          Apekshit Sharma
        3. HBASE-15651-master-v2.patch
          6 kB
          Apekshit Sharma
        4. HBASE-15651-master-v3.patch
          7 kB
          Apekshit Sharma
        5. HBASE-15651-master-v4.patch
          7 kB
          Apekshit Sharma

        Issue Links

          Activity

            People

              appy Apekshit Sharma
              appy Apekshit Sharma
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: