Home | History | Annotate | Download | only in pydoc
      1 
      2 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
      3 <html><head><title>Python: module telemetry.internal.backends.remote.trybot_browser_finder</title>
      4 <meta charset="utf-8">
      5 </head><body bgcolor="#f0f0f8">
      6 
      7 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading">
      8 <tr bgcolor="#7799ee">
      9 <td valign=bottom>&nbsp;<br>
     10 <font color="#ffffff" face="helvetica, arial">&nbsp;<br><big><big><strong><a href="telemetry.html"><font color="#ffffff">telemetry</font></a>.<a href="telemetry.internal.html"><font color="#ffffff">internal</font></a>.<a href="telemetry.internal.backends.html"><font color="#ffffff">backends</font></a>.<a href="telemetry.internal.backends.remote.html"><font color="#ffffff">remote</font></a>.trybot_browser_finder</strong></big></big></font></td
     11 ><td align=right valign=bottom
     12 ><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="../telemetry/internal/backends/remote/trybot_browser_finder.py">telemetry/internal/backends/remote/trybot_browser_finder.py</a></font></td></tr></table>
     13     <p><tt>Finds&nbsp;perf&nbsp;trybots&nbsp;that&nbsp;can&nbsp;run&nbsp;telemetry&nbsp;tests.</tt></p>
     14 <p>
     15 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
     16 <tr bgcolor="#aa55cc">
     17 <td colspan=3 valign=bottom>&nbsp;<br>
     18 <font color="#ffffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr>
     19     
     20 <tr><td bgcolor="#aa55cc"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
     21 <td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="telemetry.decorators.html">telemetry.decorators</a><br>
     22 <a href="json.html">json</a><br>
     23 <a href="logging.html">logging</a><br>
     24 </td><td width="25%" valign=top><a href="os.html">os</a><br>
     25 <a href="telemetry.core.platform.html">telemetry.core.platform</a><br>
     26 <a href="telemetry.internal.browser.possible_browser.html">telemetry.internal.browser.possible_browser</a><br>
     27 </td><td width="25%" valign=top><a href="re.html">re</a><br>
     28 <a href="subprocess.html">subprocess</a><br>
     29 <a href="sys.html">sys</a><br>
     30 </td><td width="25%" valign=top><a href="telemetry.internal.platform.trybot_device.html">telemetry.internal.platform.trybot_device</a><br>
     31 <a href="urllib2.html">urllib2</a><br>
     32 </td></tr></table></td></tr></table><p>
     33 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
     34 <tr bgcolor="#ee77aa">
     35 <td colspan=3 valign=bottom>&nbsp;<br>
     36 <font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr>
     37     
     38 <tr><td bgcolor="#ee77aa"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
     39 <td width="100%"><dl>
     40 <dt><font face="helvetica, arial"><a href="exceptions.html#Exception">exceptions.Exception</a>(<a href="exceptions.html#BaseException">exceptions.BaseException</a>)
     41 </font></dt><dd>
     42 <dl>
     43 <dt><font face="helvetica, arial"><a href="telemetry.internal.backends.remote.trybot_browser_finder.html#TrybotError">TrybotError</a>
     44 </font></dt></dl>
     45 </dd>
     46 <dt><font face="helvetica, arial"><a href="telemetry.internal.browser.possible_browser.html#PossibleBrowser">telemetry.internal.browser.possible_browser.PossibleBrowser</a>(<a href="telemetry.internal.app.possible_app.html#PossibleApp">telemetry.internal.app.possible_app.PossibleApp</a>)
     47 </font></dt><dd>
     48 <dl>
     49 <dt><font face="helvetica, arial"><a href="telemetry.internal.backends.remote.trybot_browser_finder.html#PossibleTrybotBrowser">PossibleTrybotBrowser</a>
     50 </font></dt></dl>
     51 </dd>
     52 </dl>
     53  <p>
     54 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
     55 <tr bgcolor="#ffc8d8">
     56 <td colspan=3 valign=bottom>&nbsp;<br>
     57 <font color="#000000" face="helvetica, arial"><a name="PossibleTrybotBrowser">class <strong>PossibleTrybotBrowser</strong></a>(<a href="telemetry.internal.browser.possible_browser.html#PossibleBrowser">telemetry.internal.browser.possible_browser.PossibleBrowser</a>)</font></td></tr>
     58     
     59 <tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
     60 <td colspan=2><tt>A&nbsp;script&nbsp;that&nbsp;sends&nbsp;a&nbsp;job&nbsp;to&nbsp;a&nbsp;trybot.<br>&nbsp;</tt></td></tr>
     61 <tr><td>&nbsp;</td>
     62 <td width="100%"><dl><dt>Method resolution order:</dt>
     63 <dd><a href="telemetry.internal.backends.remote.trybot_browser_finder.html#PossibleTrybotBrowser">PossibleTrybotBrowser</a></dd>
     64 <dd><a href="telemetry.internal.browser.possible_browser.html#PossibleBrowser">telemetry.internal.browser.possible_browser.PossibleBrowser</a></dd>
     65 <dd><a href="telemetry.internal.app.possible_app.html#PossibleApp">telemetry.internal.app.possible_app.PossibleApp</a></dd>
     66 <dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
     67 </dl>
     68 <hr>
     69 Methods defined here:<br>
     70 <dl><dt><a name="PossibleTrybotBrowser-Create"><strong>Create</strong></a>(self, finder_options)</dt></dl>
     71 
     72 <dl><dt><a name="PossibleTrybotBrowser-IsRemote"><strong>IsRemote</strong></a>(self)</dt></dl>
     73 
     74 <dl><dt><a name="PossibleTrybotBrowser-RunRemote"><strong>RunRemote</strong></a>(self)</dt><dd><tt>Sends&nbsp;a&nbsp;tryjob&nbsp;to&nbsp;a&nbsp;perf&nbsp;trybot.<br>
     75 &nbsp;<br>
     76 This&nbsp;creates&nbsp;a&nbsp;branch,&nbsp;telemetry-tryjob,&nbsp;switches&nbsp;to&nbsp;that&nbsp;branch,&nbsp;edits<br>
     77 the&nbsp;bisect&nbsp;config,&nbsp;commits&nbsp;it,&nbsp;uploads&nbsp;the&nbsp;CL&nbsp;to&nbsp;rietveld,&nbsp;and&nbsp;runs&nbsp;a<br>
     78 tryjob&nbsp;on&nbsp;the&nbsp;given&nbsp;bot.</tt></dd></dl>
     79 
     80 <dl><dt><a name="PossibleTrybotBrowser-SupportsOptions"><strong>SupportsOptions</strong></a>(self, finder_options)</dt></dl>
     81 
     82 <dl><dt><a name="PossibleTrybotBrowser-__init__"><strong>__init__</strong></a>(self, browser_type, _)</dt></dl>
     83 
     84 <hr>
     85 Methods inherited from <a href="telemetry.internal.browser.possible_browser.html#PossibleBrowser">telemetry.internal.browser.possible_browser.PossibleBrowser</a>:<br>
     86 <dl><dt><a name="PossibleTrybotBrowser-SetCredentialsPath"><strong>SetCredentialsPath</strong></a>(self, credentials_path)</dt></dl>
     87 
     88 <dl><dt><a name="PossibleTrybotBrowser-UpdateExecutableIfNeeded"><strong>UpdateExecutableIfNeeded</strong></a>(self)</dt></dl>
     89 
     90 <dl><dt><a name="PossibleTrybotBrowser-__repr__"><strong>__repr__</strong></a>(self)</dt></dl>
     91 
     92 <dl><dt><a name="PossibleTrybotBrowser-last_modification_time"><strong>last_modification_time</strong></a>(self)</dt></dl>
     93 
     94 <hr>
     95 Data descriptors inherited from <a href="telemetry.internal.browser.possible_browser.html#PossibleBrowser">telemetry.internal.browser.possible_browser.PossibleBrowser</a>:<br>
     96 <dl><dt><strong>browser_type</strong></dt>
     97 </dl>
     98 <dl><dt><strong>supports_tab_control</strong></dt>
     99 </dl>
    100 <hr>
    101 Data descriptors inherited from <a href="telemetry.internal.app.possible_app.html#PossibleApp">telemetry.internal.app.possible_app.PossibleApp</a>:<br>
    102 <dl><dt><strong>__dict__</strong></dt>
    103 <dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)</tt></dd>
    104 </dl>
    105 <dl><dt><strong>__weakref__</strong></dt>
    106 <dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
    107 </dl>
    108 <dl><dt><strong>app_type</strong></dt>
    109 </dl>
    110 <dl><dt><strong>platform</strong></dt>
    111 </dl>
    112 <dl><dt><strong>target_os</strong></dt>
    113 <dd><tt>Target&nbsp;OS,&nbsp;the&nbsp;app&nbsp;will&nbsp;run&nbsp;on.</tt></dd>
    114 </dl>
    115 </td></tr></table> <p>
    116 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
    117 <tr bgcolor="#ffc8d8">
    118 <td colspan=3 valign=bottom>&nbsp;<br>
    119 <font color="#000000" face="helvetica, arial"><a name="TrybotError">class <strong>TrybotError</strong></a>(<a href="exceptions.html#Exception">exceptions.Exception</a>)</font></td></tr>
    120     
    121 <tr><td bgcolor="#ffc8d8"><tt>&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
    122 <td width="100%"><dl><dt>Method resolution order:</dt>
    123 <dd><a href="telemetry.internal.backends.remote.trybot_browser_finder.html#TrybotError">TrybotError</a></dd>
    124 <dd><a href="exceptions.html#Exception">exceptions.Exception</a></dd>
    125 <dd><a href="exceptions.html#BaseException">exceptions.BaseException</a></dd>
    126 <dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
    127 </dl>
    128 <hr>
    129 Methods defined here:<br>
    130 <dl><dt><a name="TrybotError-__str__"><strong>__str__</strong></a>(self)</dt></dl>
    131 
    132 <hr>
    133 Data descriptors defined here:<br>
    134 <dl><dt><strong>__weakref__</strong></dt>
    135 <dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
    136 </dl>
    137 <hr>
    138 Methods inherited from <a href="exceptions.html#Exception">exceptions.Exception</a>:<br>
    139 <dl><dt><a name="TrybotError-__init__"><strong>__init__</strong></a>(...)</dt><dd><tt>x.<a href="#TrybotError-__init__">__init__</a>(...)&nbsp;initializes&nbsp;x;&nbsp;see&nbsp;help(type(x))&nbsp;for&nbsp;signature</tt></dd></dl>
    140 
    141 <hr>
    142 Data and other attributes inherited from <a href="exceptions.html#Exception">exceptions.Exception</a>:<br>
    143 <dl><dt><strong>__new__</strong> = &lt;built-in method __new__ of type object&gt;<dd><tt>T.<a href="#TrybotError-__new__">__new__</a>(S,&nbsp;...)&nbsp;-&gt;&nbsp;a&nbsp;new&nbsp;object&nbsp;with&nbsp;type&nbsp;S,&nbsp;a&nbsp;subtype&nbsp;of&nbsp;T</tt></dl>
    144 
    145 <hr>
    146 Methods inherited from <a href="exceptions.html#BaseException">exceptions.BaseException</a>:<br>
    147 <dl><dt><a name="TrybotError-__delattr__"><strong>__delattr__</strong></a>(...)</dt><dd><tt>x.<a href="#TrybotError-__delattr__">__delattr__</a>('name')&nbsp;&lt;==&gt;&nbsp;del&nbsp;x.name</tt></dd></dl>
    148 
    149 <dl><dt><a name="TrybotError-__getattribute__"><strong>__getattribute__</strong></a>(...)</dt><dd><tt>x.<a href="#TrybotError-__getattribute__">__getattribute__</a>('name')&nbsp;&lt;==&gt;&nbsp;x.name</tt></dd></dl>
    150 
    151 <dl><dt><a name="TrybotError-__getitem__"><strong>__getitem__</strong></a>(...)</dt><dd><tt>x.<a href="#TrybotError-__getitem__">__getitem__</a>(y)&nbsp;&lt;==&gt;&nbsp;x[y]</tt></dd></dl>
    152 
    153 <dl><dt><a name="TrybotError-__getslice__"><strong>__getslice__</strong></a>(...)</dt><dd><tt>x.<a href="#TrybotError-__getslice__">__getslice__</a>(i,&nbsp;j)&nbsp;&lt;==&gt;&nbsp;x[i:j]<br>
    154 &nbsp;<br>
    155 Use&nbsp;of&nbsp;negative&nbsp;indices&nbsp;is&nbsp;not&nbsp;supported.</tt></dd></dl>
    156 
    157 <dl><dt><a name="TrybotError-__reduce__"><strong>__reduce__</strong></a>(...)</dt></dl>
    158 
    159 <dl><dt><a name="TrybotError-__repr__"><strong>__repr__</strong></a>(...)</dt><dd><tt>x.<a href="#TrybotError-__repr__">__repr__</a>()&nbsp;&lt;==&gt;&nbsp;repr(x)</tt></dd></dl>
    160 
    161 <dl><dt><a name="TrybotError-__setattr__"><strong>__setattr__</strong></a>(...)</dt><dd><tt>x.<a href="#TrybotError-__setattr__">__setattr__</a>('name',&nbsp;value)&nbsp;&lt;==&gt;&nbsp;x.name&nbsp;=&nbsp;value</tt></dd></dl>
    162 
    163 <dl><dt><a name="TrybotError-__setstate__"><strong>__setstate__</strong></a>(...)</dt></dl>
    164 
    165 <dl><dt><a name="TrybotError-__unicode__"><strong>__unicode__</strong></a>(...)</dt></dl>
    166 
    167 <hr>
    168 Data descriptors inherited from <a href="exceptions.html#BaseException">exceptions.BaseException</a>:<br>
    169 <dl><dt><strong>__dict__</strong></dt>
    170 </dl>
    171 <dl><dt><strong>args</strong></dt>
    172 </dl>
    173 <dl><dt><strong>message</strong></dt>
    174 </dl>
    175 </td></tr></table></td></tr></table><p>
    176 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
    177 <tr bgcolor="#eeaa77">
    178 <td colspan=3 valign=bottom>&nbsp;<br>
    179 <font color="#ffffff" face="helvetica, arial"><big><strong>Functions</strong></big></font></td></tr>
    180     
    181 <tr><td bgcolor="#eeaa77"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
    182 <td width="100%"><dl><dt><a name="-CanFindAvailableBrowsers"><strong>CanFindAvailableBrowsers</strong></a>()</dt></dl>
    183  <dl><dt><a name="-FindAllAvailableBrowsers"><strong>FindAllAvailableBrowsers</strong></a>(finder_options, device)</dt><dd><tt>Find&nbsp;all&nbsp;perf&nbsp;trybots&nbsp;on&nbsp;tryserver.chromium.perf.</tt></dd></dl>
    184  <dl><dt><a name="-FindAllBrowserTypes"><strong>FindAllBrowserTypes</strong></a>(finder_options)</dt></dl>
    185  <dl><dt><a name="-SelectDefaultBrowser"><strong>SelectDefaultBrowser</strong></a>(_)</dt></dl>
    186 </td></tr></table><p>
    187 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
    188 <tr bgcolor="#55aa55">
    189 <td colspan=3 valign=bottom>&nbsp;<br>
    190 <font color="#ffffff" face="helvetica, arial"><big><strong>Data</strong></big></font></td></tr>
    191     
    192 <tr><td bgcolor="#55aa55"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
    193 <td width="100%"><strong>BLINK_CONFIG_FILENAME</strong> = 'Tools/run-perf-test.cfg'<br>
    194 <strong>CHROMIUM_CONFIG_FILENAME</strong> = 'tools/run-perf-test.cfg'<br>
    195 <strong>ERROR</strong> = 2<br>
    196 <strong>EXCLUDED_BOTS</strong> = set(['android_arm64_perf_bisect_builder', 'android_perf_bisect_builder', 'linux_perf_bisect_builder', 'linux_perf_bisector', 'linux_perf_tester', 'mac_perf_bisect_builder', ...])<br>
    197 <strong>INCLUDE_BOTS</strong> = ['trybot-all', 'trybot-all-win', 'trybot-all-mac', 'trybot-all-linux', 'trybot-all-android']<br>
    198 <strong>NO_CHANGES</strong> = 1<br>
    199 <strong>SUCCESS</strong> = 0</td></tr></table>
    200 </body></html>