• Home
  • Raw
  • Download

Lines Matching full:suite

38 # This allows all suite jobs created in the same event to start provision jobs
41 # and do not keep suite jobs running for too long. Note that suite jobs created
42 # by suite scheduler does not wait for test job to finish. That helps to reduce
45 # Set maximum delay minutes to 24 hours. This is to prevent suite jobs from
69 Includes logic to check whether or not a given (suite, board, build)
70 has already been run. If so, it will skip scheduling that suite.
76 'chromeos/autotest/suite_scheduler/suite/created')
89 # Number of minutes to delay a suite job from creating test jobs.
95 # Lock to make sure each suite created with different delay_minutes.
99 def _ShouldScheduleSuite(self, suite, board, test_source_build): argument
100 """Return True if |suite| has not yet been run for |build| on |board|.
102 True if |suite| has not been run for |build| on |board|, and
105 @param suite: the name of the suite to run, e.g. 'bvt'
106 @param board: the board to run the suite on, e.g. x86-alex
109 @return False if the suite was already scheduled, True if not
116 logging.debug('Skipping suite %s, board %s, build %s: %s',
117 suite, board, test_source_build, str(ex))
124 name__iendswith='control.'+suite,
131 def _Schedule(self, suite, board, build, pool, num, priority, timeout, argument
136 """Schedule |suite|, if it hasn't already been run.
138 @param suite: the name of the suite to run, e.g. 'bvt'
139 @param board: the board to run the suite on, e.g. x86-alex
144 @param num: the number of devices across which to shard the test suite.
149 @param timeout: The max lifetime of the suite in hours.
150 @param file_bugs: True if bug filing is desired for this suite.
162 @param run_prod_code: If True, the suite will run the test code that
165 code for this suite run will be retrieved from the
168 @param no_delay: Set to True to allow suite to be created without
171 @return True if the suite got scheduled
190 # Suite scheduler handles all boards in parallel, to guarantee each
193 # To prevent suite jobs from running too long, the value for
218 limit, suite, builds, board, pool)
222 # Update timeout settings for the suite job with delay_minutes.
231 suite, builds, board, pool)
232 job_id = self._afe.run('create_suite_job', name=suite, board=board,
246 logging.info('... created as suite job id %s', job_id)
248 fields = {'suite': suite,
256 "Can't schedule %s for %s." % (suite, builds))
262 suite, test_source_build or build, board, e)
263 # If a bug has filed with the same <suite, build, error type>
275 def ScheduleSuite(self, suite, board, build, pool, num, priority, timeout, argument
281 """Schedule |suite|, if it hasn't already been run.
283 If |suite| has not already been run against |build| on |board|,
286 @param suite: the name of the suite to run, e.g. 'bvt'
287 @param board: the board to run the suite on, e.g. x86-alex
291 @param num: the number of devices across which to shard the test suite.
295 @param timeout: The max lifetime of the suite in hours.
296 @param force: Always schedule the suite.
297 @param file_bugs: True if bug filing is desired for this suite.
308 @param run_prod_code: If True, the suite will run the test code that
311 code for this suite run will be retrieved from the
314 @param no_delay: Set to True to allow suite to be created without
317 @return True if the suite got scheduled, False if not
319 @raise ScheduleException if the suite cannot be scheduled.
323 suite, board,
325 return self._Schedule(suite, board, build, pool, num, priority,