Commit Graph

5 Commits

Author SHA1 Message Date
Yves Duhem
9aa92a9c58 SERVER-30654 Retry mechanism for test history queries 2017-08-18 10:13:07 -04:00
Zakhar Kleyman
27c4847e65 SERVER-30619 Update Evergreen API URL in buildscripts/test_failures.py 2017-08-14 16:54:00 -04:00
Max Hirschhorn
58a3909a3f SERVER-29642 SERVER-29643 Add Python tests for test lifecycle scripts.
For test_failures.py:
  * Replaces HistoryReport with a TestHistory class that has
    get_history_by_revision() and get_history_by_date() methods. They
    both return a list of ReportEntry tuples that can be used to
    construct a Report instance.
  * Adds Python unit test cases for the Report and ReportEntry classes.
  * Creates Wildcard class as separate concept from Missing class.
  * Enables --sinceDate and --untilDate with a warning that the script
    may not return a complete result set.
  * Adds support for running the script with Python 3.

For update_test_lifecycle.py:
  * Introduces Config namedtuple to represent the test lifecycle model.
  * Adds Python unit tests cases for the update_tags() function.
  * Takes advantage of the partial grouping so that computing summaries
    for (test, task, variant), (test, task), and (test,) combinations do
    not require re-processing the entire result set.
2017-07-17 11:09:34 -04:00
Jonathan Abrahams
75a15b5e7c SERVER-28786 Add buildscripts/update_test_lifecycle.py script for updating etc/test_lifecycle.yml 2017-06-15 09:45:01 -04:00
Jonathan Abrahams
c609be4564 SERVER-28782 Add buildscripts/test_failures.py, script to compute test failures rates from Evergreen API 2017-05-24 09:45:31 -04:00