telemetry.internal.backends.remote.trybot_browser_finder | index telemetry/internal/backends/remote/trybot_browser_finder.py

`Finds perf trybots that can run telemetry tests.`

Modules
`` |  |

telemetry.decorators json logging | os telemetry.core.platform telemetry.internal.browser.possible_browser | re subprocess sys | telemetry.internal.platform.trybot_device urllib2

Classes
`` |  |

exceptions.Exception(exceptions.BaseException)
  TrybotError
telemetry.internal.browser.possible_browser.PossibleBrowser(telemetry.internal.app.possible_app.PossibleApp)
  PossibleTrybotBrowser

class PossibleTrybotBrowser(telemetry.internal.browser.possible_browser.PossibleBrowser)
`` | `A script that sends a job to a trybot.`

Method resolution order:
  PossibleTrybotBrowser
  telemetry.internal.browser.possible_browser.PossibleBrowser
  telemetry.internal.app.possible_app.PossibleApp
  __builtin__.object

Methods defined here:

Create(self, finder_options)

IsRemote(self)

RunRemote(self)
  `Sends a tryjob to a perf trybot.
  This creates a branch, telemetry-tryjob, switches to that branch, edits
  the bisect config, commits it, uploads the CL to rietveld, and runs a
  tryjob on the given bot.`

SupportsOptions(self, finder_options)

__init__(self, browser_type, _)

Methods inherited from telemetry.internal.browser.possible_browser.PossibleBrowser:

SetCredentialsPath(self, credentials_path)

UpdateExecutableIfNeeded(self)

__repr__(self)

last_modification_time(self)

Data descriptors inherited from telemetry.internal.browser.possible_browser.PossibleBrowser:

browser_type

supports_tab_control

Data descriptors inherited from telemetry.internal.app.possible_app.PossibleApp:

__dict__
  `dictionary for instance variables (if defined)`

__weakref__
  `list of weak references to the object (if defined)`

app_type

platform

target_os
  `Target OS, the app will run on.`

class TrybotError(exceptions.Exception)
`` |  |

Method resolution order:
  TrybotError
  exceptions.Exception
  exceptions.BaseException
  __builtin__.object

Methods defined here:

__str__(self)

Data descriptors defined here:

__weakref__
  `list of weak references to the object (if defined)`

Methods inherited from exceptions.Exception:

__init__(...)
  `x.__init__(...) initializes x; see help(type(x)) for signature`

Data and other attributes inherited from exceptions.Exception:

__new__ = <built-in method __new__ of type object>
  `T.__new__(S, ...) -> a new object with type S, a subtype of T`

Methods inherited from exceptions.BaseException:

__delattr__(...)
  `x.__delattr__('name') <==> del x.name`

__getattribute__(...)
  `x.__getattribute__('name') <==> x.name`

__getitem__(...)
  `x.__getitem__(y) <==> x[y]`

__getslice__(...)
  `x.__getslice__(i, j) <==> x[i:j]
  Use of negative indices is not supported.`

__reduce__(...)

__repr__(...)
  `x.__repr__() <==> repr(x)`

__setattr__(...)
  `x.__setattr__('name', value) <==> x.name = value`

__setstate__(...)

__unicode__(...)

Data descriptors inherited from exceptions.BaseException:

__dict__

args

message

Functions
`` |  |

CanFindAvailableBrowsers()

FindAllAvailableBrowsers(finder_options, device)
  `Find all perf trybots on tryserver.chromium.perf.`

FindAllBrowserTypes(finder_options)

SelectDefaultBrowser(_)

Data
`` |  | BLINK_CONFIG_FILENAME = 'Tools/run-perf-test.cfg' CHROMIUM_CONFIG_FILENAME = 'tools/run-perf-test.cfg' ERROR = 2 EXCLUDED_BOTS = set(['android_arm64_perf_bisect_builder', 'android_perf_bisect_builder', 'linux_perf_bisect_builder', 'linux_perf_bisector', 'linux_perf_tester', 'mac_perf_bisect_builder', ...])
INCLUDE_BOTS = ['trybot-all', 'trybot-all-win', 'trybot-all-mac', 'trybot-all-linux', 'trybot-all-android']
NO_CHANGES = 1
SUCCESS = 0