Chris Masone | fad911a | 2012-03-29 12:30:26 -0700 | [diff] [blame] | 1 | # Copyright (c) 2012 The Chromium OS Authors. All rights reserved. |
| 2 | # Use of this source code is governed by a BSD-style license that can be |
| 3 | # found in the LICENSE file. |
| 4 | |
Chris Masone | 67f06d6 | 2012-04-12 15:16:56 -0700 | [diff] [blame] | 5 | |
Chris Masone | 96f1663 | 2012-04-04 18:36:03 -0700 | [diff] [blame] | 6 | import logging, re |
Chris Masone | 67f06d6 | 2012-04-12 15:16:56 -0700 | [diff] [blame] | 7 | import deduping_scheduler, forgiving_config_parser |
| 8 | from distutils import version |
Alex Miller | 511a9e3 | 2012-07-03 09:16:47 -0700 | [diff] [blame] | 9 | from constants import Labels |
Chris Masone | 96f1663 | 2012-04-04 18:36:03 -0700 | [diff] [blame] | 10 | |
| 11 | |
| 12 | class MalformedConfigEntry(Exception): |
| 13 | """Raised to indicate a failure to parse a Task out of a config.""" |
| 14 | pass |
Chris Masone | fad911a | 2012-03-29 12:30:26 -0700 | [diff] [blame] | 15 | |
| 16 | |
Chris Masone | 67f06d6 | 2012-04-12 15:16:56 -0700 | [diff] [blame] | 17 | BARE_BRANCHES = ['factory', 'firmware'] |
| 18 | |
| 19 | |
| 20 | def PickBranchName(type, milestone): |
| 21 | if type in BARE_BRANCHES: |
| 22 | return type |
| 23 | return milestone |
| 24 | |
| 25 | |
Chris Masone | 013859b | 2012-04-01 13:45:26 -0700 | [diff] [blame] | 26 | class Task(object): |
Chris Masone | fad911a | 2012-03-29 12:30:26 -0700 | [diff] [blame] | 27 | """Represents an entry from the scheduler config. Can schedule itself. |
| 28 | |
| 29 | Each entry from the scheduler config file maps one-to-one to a |
Chris Masone | 013859b | 2012-04-01 13:45:26 -0700 | [diff] [blame] | 30 | Task. Each instance has enough info to schedule itself |
Chris Masone | fad911a | 2012-03-29 12:30:26 -0700 | [diff] [blame] | 31 | on-demand with the AFE. |
| 32 | |
| 33 | This class also overrides __hash__() and all comparitor methods to enable |
| 34 | correct use in dicts, sets, etc. |
| 35 | """ |
| 36 | |
Chris Masone | 96f1663 | 2012-04-04 18:36:03 -0700 | [diff] [blame] | 37 | |
| 38 | @staticmethod |
| 39 | def CreateFromConfigSection(config, section): |
| 40 | """Create a Task from a section of a config file. |
| 41 | |
| 42 | The section to parse should look like this: |
| 43 | [TaskName] |
| 44 | suite: suite_to_run # Required |
| 45 | run_on: event_on which to run # Required |
| 46 | branch_specs: factory,firmware,>=R12 # Optional |
| 47 | pool: pool_of_devices # Optional |
Chris Masone | 3eeaf0a | 2012-08-09 14:07:27 -0700 | [diff] [blame] | 48 | num: sharding_factor # int, Optional |
Chris Masone | 96f1663 | 2012-04-04 18:36:03 -0700 | [diff] [blame] | 49 | |
Chris Masone | 67f06d6 | 2012-04-12 15:16:56 -0700 | [diff] [blame] | 50 | By default, Tasks run on all release branches, not factory or firmware. |
| 51 | |
Chris Masone | 96f1663 | 2012-04-04 18:36:03 -0700 | [diff] [blame] | 52 | @param config: a ForgivingConfigParser. |
| 53 | @param section: the section to parse into a Task. |
| 54 | @return keyword, Task object pair. One or both will be None on error. |
| 55 | @raise MalformedConfigEntry if there's a problem parsing |section|. |
| 56 | """ |
Alex Miller | 0669502 | 2012-07-18 09:31:36 -0700 | [diff] [blame] | 57 | if not config.has_section(section): |
| 58 | raise MalformedConfigEntry('unknown section %s' % section) |
| 59 | |
Chris Masone | 3eeaf0a | 2012-08-09 14:07:27 -0700 | [diff] [blame] | 60 | allowed = set(['suite', 'run_on', 'branch_specs', 'pool', 'num']) |
Alex Miller | bb535e2 | 2012-07-11 20:11:33 -0700 | [diff] [blame] | 61 | # The parameter of union() is the keys under the section in the config |
| 62 | # The union merges this with the allowed set, so if any optional keys |
| 63 | # are omitted, then they're filled in. If any extra keys are present, |
| 64 | # then they will expand unioned set, causing it to fail the following |
| 65 | # comparison against the allowed set. |
| 66 | section_headers = allowed.union(dict(config.items(section)).keys()) |
| 67 | if allowed != section_headers: |
| 68 | raise MalformedConfigEntry('unknown entries: %s' % |
| 69 | ", ".join(map(str, section_headers.difference(allowed)))) |
| 70 | |
Chris Masone | 96f1663 | 2012-04-04 18:36:03 -0700 | [diff] [blame] | 71 | keyword = config.getstring(section, 'run_on') |
| 72 | suite = config.getstring(section, 'suite') |
| 73 | branches = config.getstring(section, 'branch_specs') |
| 74 | pool = config.getstring(section, 'pool') |
Chris Masone | 3eeaf0a | 2012-08-09 14:07:27 -0700 | [diff] [blame] | 75 | try: |
| 76 | num = config.getint(section, 'num') |
| 77 | except ValueError as e: |
| 78 | raise MalformedConfigEntry("Ill-specified 'num': %r" %e) |
Chris Masone | 96f1663 | 2012-04-04 18:36:03 -0700 | [diff] [blame] | 79 | if not keyword: |
| 80 | raise MalformedConfigEntry('No event to |run_on|.') |
| 81 | if not suite: |
| 82 | raise MalformedConfigEntry('No |suite|') |
| 83 | specs = [] |
| 84 | if branches: |
| 85 | specs = re.split('\s*,\s*', branches) |
| 86 | Task.CheckBranchSpecs(specs) |
Chris Masone | 3eeaf0a | 2012-08-09 14:07:27 -0700 | [diff] [blame] | 87 | return keyword, Task(section, suite, specs, pool, num) |
Chris Masone | 96f1663 | 2012-04-04 18:36:03 -0700 | [diff] [blame] | 88 | |
| 89 | |
| 90 | @staticmethod |
| 91 | def CheckBranchSpecs(branch_specs): |
| 92 | """Make sure entries in the list branch_specs are correctly formed. |
| 93 | |
Chris Masone | 67f06d6 | 2012-04-12 15:16:56 -0700 | [diff] [blame] | 94 | We accept any of BARE_BRANCHES in |branch_specs|, as |
Chris Masone | 96f1663 | 2012-04-04 18:36:03 -0700 | [diff] [blame] | 95 | well as _one_ string of the form '>=RXX', where 'RXX' is a |
| 96 | CrOS milestone number. |
| 97 | |
| 98 | @param branch_specs: an iterable of branch specifiers. |
| 99 | @raise MalformedConfigEntry if there's a problem parsing |branch_specs|. |
| 100 | """ |
| 101 | have_seen_numeric_constraint = False |
| 102 | for branch in branch_specs: |
Chris Masone | 67f06d6 | 2012-04-12 15:16:56 -0700 | [diff] [blame] | 103 | if branch in BARE_BRANCHES: |
Chris Masone | 96f1663 | 2012-04-04 18:36:03 -0700 | [diff] [blame] | 104 | continue |
| 105 | if branch.startswith('>=R') and not have_seen_numeric_constraint: |
| 106 | have_seen_numeric_constraint = True |
| 107 | continue |
Chris Masone | 97cf0a7 | 2012-05-16 09:55:52 -0700 | [diff] [blame] | 108 | raise MalformedConfigEntry("%s isn't a valid branch spec." % branch) |
Chris Masone | 96f1663 | 2012-04-04 18:36:03 -0700 | [diff] [blame] | 109 | |
| 110 | |
Chris Masone | 3eeaf0a | 2012-08-09 14:07:27 -0700 | [diff] [blame] | 111 | def __init__(self, name, suite, branch_specs, pool=None, num=None): |
Chris Masone | fad911a | 2012-03-29 12:30:26 -0700 | [diff] [blame] | 112 | """Constructor |
| 113 | |
Chris Masone | 96f1663 | 2012-04-04 18:36:03 -0700 | [diff] [blame] | 114 | Given an iterable in |branch_specs|, pre-vetted using CheckBranchSpecs, |
| 115 | we'll store them such that _FitsSpec() can be used to check whether a |
| 116 | given branch 'fits' with the specifications passed in here. |
| 117 | For example, given branch_specs = ['factory', '>=R18'], we'd set things |
| 118 | up so that _FitsSpec() would return True for 'factory', or 'RXX' |
| 119 | where XX is a number >= 18. |
| 120 | |
| 121 | Given branch_specs = ['factory', 'firmware'], _FitsSpec() |
| 122 | would pass only those two specific strings. |
| 123 | |
| 124 | Example usage: |
Chris Masone | cc4631d | 2012-04-20 12:06:39 -0700 | [diff] [blame] | 125 | t = Task('Name', 'suite', ['factory', '>=R18']) |
Chris Masone | 96f1663 | 2012-04-04 18:36:03 -0700 | [diff] [blame] | 126 | t._FitsSpec('factory') # True |
| 127 | t._FitsSpec('R19') # True |
| 128 | t._FitsSpec('R17') # False |
| 129 | t._FitsSpec('firmware') # False |
| 130 | t._FitsSpec('goober') # False |
| 131 | |
Chris Masone | 3eeaf0a | 2012-08-09 14:07:27 -0700 | [diff] [blame] | 132 | @param name: name of this task, e.g. 'NightlyPower' |
Chris Masone | fad911a | 2012-03-29 12:30:26 -0700 | [diff] [blame] | 133 | @param suite: the name of the suite to run, e.g. 'bvt' |
Chris Masone | 96f1663 | 2012-04-04 18:36:03 -0700 | [diff] [blame] | 134 | @param branch_specs: a pre-vetted iterable of branch specifiers, |
| 135 | e.g. ['>=R18', 'factory'] |
Chris Masone | fad911a | 2012-03-29 12:30:26 -0700 | [diff] [blame] | 136 | @param pool: the pool of machines to use for scheduling purposes. |
| 137 | Default: None |
Chris Masone | 3eeaf0a | 2012-08-09 14:07:27 -0700 | [diff] [blame] | 138 | @param num: the number of devices across which to shard the test suite. |
| 139 | Default: None |
Chris Masone | fad911a | 2012-03-29 12:30:26 -0700 | [diff] [blame] | 140 | """ |
Chris Masone | cc4631d | 2012-04-20 12:06:39 -0700 | [diff] [blame] | 141 | self._name = name |
Chris Masone | fad911a | 2012-03-29 12:30:26 -0700 | [diff] [blame] | 142 | self._suite = suite |
Chris Masone | 96f1663 | 2012-04-04 18:36:03 -0700 | [diff] [blame] | 143 | self._branch_specs = branch_specs |
Chris Masone | fad911a | 2012-03-29 12:30:26 -0700 | [diff] [blame] | 144 | self._pool = pool |
Chris Masone | 3eeaf0a | 2012-08-09 14:07:27 -0700 | [diff] [blame] | 145 | self._num = '%d' % num if num else None |
Chris Masone | 96f1663 | 2012-04-04 18:36:03 -0700 | [diff] [blame] | 146 | |
| 147 | self._bare_branches = [] |
Chris Masone | 67f06d6 | 2012-04-12 15:16:56 -0700 | [diff] [blame] | 148 | if not branch_specs: |
| 149 | # Any milestone is OK. |
| 150 | self._numeric_constraint = version.LooseVersion('0') |
| 151 | else: |
| 152 | self._numeric_constraint = None |
| 153 | for spec in branch_specs: |
| 154 | if spec.startswith('>='): |
| 155 | self._numeric_constraint = version.LooseVersion( |
| 156 | spec.lstrip('>=R')) |
| 157 | else: |
| 158 | self._bare_branches.append(spec) |
Chris Masone | fad911a | 2012-03-29 12:30:26 -0700 | [diff] [blame] | 159 | # Since we expect __hash__() and other comparitor methods to be used |
| 160 | # frequently by set operations, and they use str() a lot, pre-compute |
| 161 | # the string representation of this object. |
Chris Masone | 3eeaf0a | 2012-08-09 14:07:27 -0700 | [diff] [blame] | 162 | self._str = '%s: %s on %s with pool %s, across %r machines' % ( |
| 163 | self.__class__.__name__, suite, branch_specs, pool, num) |
Chris Masone | 96f1663 | 2012-04-04 18:36:03 -0700 | [diff] [blame] | 164 | |
| 165 | |
| 166 | def _FitsSpec(self, branch): |
| 167 | """Checks if a branch is deemed OK by this instance's branch specs. |
| 168 | |
| 169 | When called on a branch name, will return whether that branch |
| 170 | 'fits' the specifications stored in self._bare_branches and |
| 171 | self._numeric_constraint. |
| 172 | |
| 173 | @param branch: the branch to check. |
| 174 | @return True if b 'fits' with stored specs, False otherwise. |
| 175 | """ |
Chris Masone | 657e155 | 2012-05-30 17:06:20 -0700 | [diff] [blame] | 176 | if branch in BARE_BRANCHES: |
| 177 | return branch in self._bare_branches |
| 178 | return (self._numeric_constraint and |
| 179 | version.LooseVersion(branch) >= self._numeric_constraint) |
Chris Masone | fad911a | 2012-03-29 12:30:26 -0700 | [diff] [blame] | 180 | |
| 181 | |
| 182 | @property |
Alex Miller | 9979b5a | 2012-11-01 17:36:12 -0700 | [diff] [blame] | 183 | def name(self): |
| 184 | return self._name |
| 185 | |
| 186 | |
| 187 | @property |
Chris Masone | fad911a | 2012-03-29 12:30:26 -0700 | [diff] [blame] | 188 | def suite(self): |
| 189 | return self._suite |
| 190 | |
| 191 | |
| 192 | @property |
Chris Masone | 96f1663 | 2012-04-04 18:36:03 -0700 | [diff] [blame] | 193 | def branch_specs(self): |
| 194 | return self._branch_specs |
Chris Masone | fad911a | 2012-03-29 12:30:26 -0700 | [diff] [blame] | 195 | |
| 196 | |
| 197 | @property |
Chris Masone | 3fba86f | 2012-04-03 10:06:56 -0700 | [diff] [blame] | 198 | def pool(self): |
| 199 | return self._pool |
Chris Masone | fad911a | 2012-03-29 12:30:26 -0700 | [diff] [blame] | 200 | |
| 201 | |
Alex Miller | 9979b5a | 2012-11-01 17:36:12 -0700 | [diff] [blame] | 202 | @property |
| 203 | def num(self): |
| 204 | return self._num |
| 205 | |
| 206 | |
Chris Masone | fad911a | 2012-03-29 12:30:26 -0700 | [diff] [blame] | 207 | def __str__(self): |
| 208 | return self._str |
| 209 | |
| 210 | |
Chris Masone | 3eeaf0a | 2012-08-09 14:07:27 -0700 | [diff] [blame] | 211 | def __repr__(self): |
| 212 | return self._str |
| 213 | |
| 214 | |
Chris Masone | fad911a | 2012-03-29 12:30:26 -0700 | [diff] [blame] | 215 | def __lt__(self, other): |
| 216 | return str(self) < str(other) |
| 217 | |
| 218 | |
| 219 | def __le__(self, other): |
| 220 | return str(self) <= str(other) |
| 221 | |
| 222 | |
| 223 | def __eq__(self, other): |
| 224 | return str(self) == str(other) |
| 225 | |
| 226 | |
| 227 | def __ne__(self, other): |
| 228 | return str(self) != str(other) |
| 229 | |
| 230 | |
| 231 | def __gt__(self, other): |
| 232 | return str(self) > str(other) |
| 233 | |
| 234 | |
| 235 | def __ge__(self, other): |
| 236 | return str(self) >= str(other) |
| 237 | |
| 238 | |
| 239 | def __hash__(self): |
| 240 | """Allows instances to be correctly deduped when used in a set.""" |
| 241 | return hash(str(self)) |
| 242 | |
| 243 | |
Alex Miller | 7ce1b36 | 2012-07-10 09:24:10 -0700 | [diff] [blame] | 244 | def AvailableHosts(self, scheduler, board): |
| 245 | """Query what hosts are able to run a test on a board and pool |
| 246 | combination. |
Alex Miller | 511a9e3 | 2012-07-03 09:16:47 -0700 | [diff] [blame] | 247 | |
| 248 | @param scheduler: an instance of DedupingScheduler, as defined in |
| 249 | deduping_scheduler.py |
| 250 | @param board: the board against which one wants to run the test. |
Alex Miller | 7ce1b36 | 2012-07-10 09:24:10 -0700 | [diff] [blame] | 251 | @return The list of hosts meeting the board and pool requirements, |
| 252 | or None if no hosts were found.""" |
Alex Miller | 511a9e3 | 2012-07-03 09:16:47 -0700 | [diff] [blame] | 253 | labels = [Labels.BOARD_PREFIX + board] |
| 254 | if self._pool: |
Chris Masone | cd214e0 | 2012-07-10 16:22:10 -0700 | [diff] [blame] | 255 | labels.append(Labels.POOL_PREFIX + self._pool) |
Alex Miller | 511a9e3 | 2012-07-03 09:16:47 -0700 | [diff] [blame] | 256 | |
Alex Miller | 7ce1b36 | 2012-07-10 09:24:10 -0700 | [diff] [blame] | 257 | return scheduler.GetHosts(multiple_labels=labels) |
Alex Miller | 511a9e3 | 2012-07-03 09:16:47 -0700 | [diff] [blame] | 258 | |
| 259 | |
Alex Miller | d621cf2 | 2012-07-11 13:57:10 -0700 | [diff] [blame] | 260 | def ShouldHaveAvailableHosts(self): |
| 261 | """As a sanity check, return true if we know for certain that |
| 262 | we should be able to schedule this test. If we claim this test |
| 263 | should be able to run, and it ends up not being scheduled, then |
| 264 | a warning will be reported. |
| 265 | |
| 266 | @return True if this test should be able to run, False otherwise. |
| 267 | """ |
| 268 | return self._pool == 'bvt' |
| 269 | |
| 270 | |
Chris Masone | 96f1663 | 2012-04-04 18:36:03 -0700 | [diff] [blame] | 271 | def Run(self, scheduler, branch_builds, board, force=False): |
Chris Masone | 013859b | 2012-04-01 13:45:26 -0700 | [diff] [blame] | 272 | """Run this task. Returns False if it should be destroyed. |
Chris Masone | fad911a | 2012-03-29 12:30:26 -0700 | [diff] [blame] | 273 | |
Chris Masone | 013859b | 2012-04-01 13:45:26 -0700 | [diff] [blame] | 274 | Execute this task. Attempt to schedule the associated suite. |
| 275 | Return True if this task should be kept around, False if it |
| 276 | should be destroyed. This allows for one-shot Tasks. |
Chris Masone | fad911a | 2012-03-29 12:30:26 -0700 | [diff] [blame] | 277 | |
| 278 | @param scheduler: an instance of DedupingScheduler, as defined in |
| 279 | deduping_scheduler.py |
Chris Masone | 05b1944 | 2012-04-17 13:37:55 -0700 | [diff] [blame] | 280 | @param branch_builds: a dict mapping branch name to the build(s) to |
Chris Masone | 96f1663 | 2012-04-04 18:36:03 -0700 | [diff] [blame] | 281 | install for that branch, e.g. |
Chris Masone | 05b1944 | 2012-04-17 13:37:55 -0700 | [diff] [blame] | 282 | {'R18': ['x86-alex-release/R18-1655.0.0'], |
| 283 | 'R19': ['x86-alex-release/R19-2077.0.0']} |
Chris Masone | 96f1663 | 2012-04-04 18:36:03 -0700 | [diff] [blame] | 284 | @param board: the board against which to run self._suite. |
Chris Masone | fad911a | 2012-03-29 12:30:26 -0700 | [diff] [blame] | 285 | @param force: Always schedule the suite. |
Chris Masone | 013859b | 2012-04-01 13:45:26 -0700 | [diff] [blame] | 286 | @return True if the task should be kept, False if not |
Chris Masone | fad911a | 2012-03-29 12:30:26 -0700 | [diff] [blame] | 287 | """ |
Chris Masone | a3a3817 | 2012-05-14 15:19:56 -0700 | [diff] [blame] | 288 | logging.info('Running %s on %s', self._name, board) |
Chris Masone | 96f1663 | 2012-04-04 18:36:03 -0700 | [diff] [blame] | 289 | builds = [] |
Chris Masone | fe5a509 | 2012-04-11 18:29:07 -0700 | [diff] [blame] | 290 | for branch, build in branch_builds.iteritems(): |
Chris Masone | a3a3817 | 2012-05-14 15:19:56 -0700 | [diff] [blame] | 291 | logging.info('Checking if %s fits spec %r', |
| 292 | branch, self.branch_specs) |
Chris Masone | 96f1663 | 2012-04-04 18:36:03 -0700 | [diff] [blame] | 293 | if self._FitsSpec(branch): |
Chris Masone | 05b1944 | 2012-04-17 13:37:55 -0700 | [diff] [blame] | 294 | builds.extend(build) |
Chris Masone | 96f1663 | 2012-04-04 18:36:03 -0700 | [diff] [blame] | 295 | for build in builds: |
Chris Masone | 3fba86f | 2012-04-03 10:06:56 -0700 | [diff] [blame] | 296 | try: |
Chris Masone | 96f1663 | 2012-04-04 18:36:03 -0700 | [diff] [blame] | 297 | if not scheduler.ScheduleSuite(self._suite, board, build, |
Chris Masone | 3eeaf0a | 2012-08-09 14:07:27 -0700 | [diff] [blame] | 298 | self._pool, self._num, force): |
Chris Masone | 96f1663 | 2012-04-04 18:36:03 -0700 | [diff] [blame] | 299 | logging.info('Skipping scheduling %s on %s for %s', |
| 300 | self._suite, build, board) |
Chris Masone | 3fba86f | 2012-04-03 10:06:56 -0700 | [diff] [blame] | 301 | except deduping_scheduler.DedupingSchedulerException as e: |
| 302 | logging.error(e) |
Chris Masone | fad911a | 2012-03-29 12:30:26 -0700 | [diff] [blame] | 303 | return True |
| 304 | |
| 305 | |
Chris Masone | 013859b | 2012-04-01 13:45:26 -0700 | [diff] [blame] | 306 | class OneShotTask(Task): |
| 307 | """A Task that can be run only once. Can schedule itself.""" |
Chris Masone | fad911a | 2012-03-29 12:30:26 -0700 | [diff] [blame] | 308 | |
| 309 | |
Chris Masone | 96f1663 | 2012-04-04 18:36:03 -0700 | [diff] [blame] | 310 | def Run(self, scheduler, branch_builds, board, force=False): |
Chris Masone | 013859b | 2012-04-01 13:45:26 -0700 | [diff] [blame] | 311 | """Run this task. Returns False, indicating it should be destroyed. |
Chris Masone | fad911a | 2012-03-29 12:30:26 -0700 | [diff] [blame] | 312 | |
Chris Masone | 013859b | 2012-04-01 13:45:26 -0700 | [diff] [blame] | 313 | Run this task. Attempt to schedule the associated suite. |
| 314 | Return False, indicating to the caller that it should discard this task. |
Chris Masone | fad911a | 2012-03-29 12:30:26 -0700 | [diff] [blame] | 315 | |
| 316 | @param scheduler: an instance of DedupingScheduler, as defined in |
| 317 | deduping_scheduler.py |
Chris Masone | 05b1944 | 2012-04-17 13:37:55 -0700 | [diff] [blame] | 318 | @param branch_builds: a dict mapping branch name to the build(s) to |
Chris Masone | 96f1663 | 2012-04-04 18:36:03 -0700 | [diff] [blame] | 319 | install for that branch, e.g. |
Chris Masone | 05b1944 | 2012-04-17 13:37:55 -0700 | [diff] [blame] | 320 | {'R18': ['x86-alex-release/R18-1655.0.0'], |
| 321 | 'R19': ['x86-alex-release/R19-2077.0.0']} |
Chris Masone | 96f1663 | 2012-04-04 18:36:03 -0700 | [diff] [blame] | 322 | @param board: the board against which to run self._suite. |
Chris Masone | fad911a | 2012-03-29 12:30:26 -0700 | [diff] [blame] | 323 | @param force: Always schedule the suite. |
| 324 | @return False |
| 325 | """ |
Chris Masone | 96f1663 | 2012-04-04 18:36:03 -0700 | [diff] [blame] | 326 | super(OneShotTask, self).Run(scheduler, branch_builds, board, force) |
Chris Masone | fad911a | 2012-03-29 12:30:26 -0700 | [diff] [blame] | 327 | return False |