Home | History | Annotate | Download | only in dynamic_suite

Lines Matching defs:Suite

85     @var _max_retries: Maximum retry limit at suite level.
88 the suite can't exceed _max_retries.
100 jobs that are originally scheduled by the suite.
104 for the suite. Default to None, no max.
135 """Return whether maximum retry limit for a suite has been reached."""
257 """Create test jobs for a suite."""
278 @param tag: a string with which to tag jobs run in this suite.
279 @param builds: the builds on which we're running this suite.
280 @param board: the board on which we're running this suite.
282 @param max_runtime_mins: Maximum suite runtime, in minutes.
421 # Add suite job id to keyvals so tko parser can read it from keyval
449 _BatchControlFileRetriever. This looks up the suite_name in a suite
529 the search space to just this suite's control files.
552 """Get control file content for given suite.
555 the search space to just this suite's control files.
611 """Subclass that can retrieve suite control files in batch."""
615 """Get control file content for given suite.
618 the search space to just this suite's control files.
636 @param builds: the builds on which we're running this suite. It's a
638 @param **dargs: Any other Suite constructor parameters, as described
639 in Suite.__init__ docstring.
663 Parses all ControlData objects with a SUITE tag and extracts all
664 defined suite names.
666 @param build: the build on which we're running this suite.
786 and returns a list of tuples of (suite name, ratio), where suite name
787 is each suite listed in the control file, and ratio is the similarity
788 between each suite and the given name.
790 @param name: the suite name to base the predicate on.
792 of (suitesuite name is each suite listed in
793 the control file, and ratio is the similarity between each suite
796 return lambda t: [(suite,
797 difflib.SequenceMatcher(a=suite, b=name).ratio())
798 for suite in t.suite_tag_parts] or [(None, 0)]
805 and returns True if the SUITE tag is present and contains |name|.
807 @param name: the suite name to base the predicate on.
809 ControlData object's suite member.
828 @param build: the build on which we're running this suite.
854 this Suite.
856 the search space to just this suite's control files.
863 @param run_prod_code: If true, the suite will run the test code that
876 logging.debug('Getting control file list for suite: %s', suite_name)
905 should be in this Suite. `name` is the key to be compared, e.g.,
906 a suite name or test name. `ratio` is a value between [0,1]
909 the search space to just this suite's control files.
915 logging.debug('Getting control file list for suite: %s', suite_name)
933 """Decorator for deprecated Suite static methods.
936 static methods on Suite.
941 warnings.warn('Calling method "%s" from Suite is deprecated' %
949 A suite of tests, defined by some predicate over control file variables.
957 this Suite.
958 @var _tag: a string with which to tag jobs run in this suite.
959 @var _builds: the builds on which we're running this suite.
1001 @param tag: a string with which to tag jobs run in this suite.
1002 @param builds: the builds on which we're running this suite.
1003 @param board: the board on which we're running this suite.
1011 @param max_runtime_mins: Maximum suite runtime, in minutes.
1021 @param wait_for_results: Set to False to run the suite job without
1028 @param max_retries: Maximum retry limit at suite level.
1031 happening in the suite can't exceed _max_retries.
1182 # as part of a suite. Remove this hack once provision is separated
1183 # out in its own suite.
1197 logging.exception('Exception while scheduling suite')
1199 'Exception while scheduling suite').record_result(record)
1209 """Bump up individual test retries to match suite retry options."""
1217 'Test %s did not request retries, but suite requires '
1289 """Return whether the suite is finished waiting for child jobs."""
1308 # TODO (crbug.com/751428): If the suite times out before a retry could
1382 Record provided job as a suite job keyval, for later referencing.
1396 class Suite(_BaseSuite):
1398 A suite of tests, defined by some predicate over control file variables.
1406 this Suite.
1407 @var _tag: a string with which to tag jobs run in this suite.
1408 @var _builds: the builds on which we're running this suite.
1421 # TODO(ayatane): These methods are kept on the Suite class for
1450 Create a Suite using a given predicate test filters.
1452 Uses supplied predicate(s) to instantiate a Suite. Looks for tests in
1459 included in suite if all callables in this list
1461 @param builds: the builds on which we're running this suite. It's a
1463 @param board: the board on which we're running this suite.
1467 @param name: name of suite. Defaults to 'ad_hoc_suite'
1468 @param run_prod_code: If true, the suite will run the tests that
1471 @param **dargs: Any other Suite constructor parameters, as described
1472 in Suite.__init__ docstring.
1473 @return a Suite instance.
1490 Create a Suite using a predicate based on the SUITE control file var.
1492 Makes a predicate based on |name| and uses it to instantiate a Suite
1497 @param name: a value of the SUITE control file variable to search for.
1498 @param builds: the builds on which we're running this suite. It's a
1500 @param board: the board on which we're running this suite.
1504 @param **dargs: Any other Suite constructor parameters, as described
1505 in Suite.__init__ docstring.
1506 @return a Suite instance.
1551 included in suite if all callables in this list
1553 @param tag: a string with which to tag jobs run in this suite.
1554 @param builds: the builds on which we're running this suite.
1555 @param board: the board on which we're running this suite.
1561 @param run_prod_code: If true, the suite will run the test code that
1567 @param max_runtime_mins: Maximum suite runtime, in minutes.
1577 @param wait_for_results: Set to False to run the suite job without
1584 @param max_retries: Maximum retry limit at suite level.
1587 happening in the suite can't exceed _max_retries.
1609 super(Suite, self).__init__(
1638 A suite for provisioning DUTs.
1660 @param tag: a string with which to tag jobs run in this suite.
1661 @param builds: the builds on which we're running this suite.
1662 @param board: the board on which we're running this suite.
1688 logging.info('Provision suite is disabled on suites pool')
1725 @param builds: the builds on which we're running this suite.
1819 def __init__(self, suite, bug_template=None):
1820 self._suite = suite
1830 # Such dependency can cause issue to any module tries to import suite.py
1849 filing options for failures in this suite.
1853 # Such dependency can cause issue to any module tries to import suite.py
1878 # issue to any module tries to import suite.py without