| OLD | NEW |
| (Empty) |
| 1 | |
| 2 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> | |
| 3 <html><head><title>Python: module telemetry.internal.backends.remote.trybot_brow
ser_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> <br> | |
| 10 <font color="#ffffff" face="helvetica, arial"> <br><big><big><strong><a hre
f="telemetry.html"><font color="#ffffff">telemetry</font></a>.<a href="telemetry
.internal.html"><font color="#ffffff">internal</font></a>.<a href="telemetry.int
ernal.backends.html"><font color="#ffffff">backends</font></a>.<a href="telemetr
y.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/inter
nal/backends/remote/trybot_browser_finder.py</a></font></td></tr></table> | |
| 13 <p><tt>Finds perf trybots that can run telemet
ry 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> <br> | |
| 18 <font color="#ffffff" face="helvetica, arial"><big><strong>Modules</strong></big
></font></td></tr> | |
| 19 | |
| 20 <tr><td bgcolor="#aa55cc"><tt> </tt></td><td>
</td> | |
| 21 <td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=t
op><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.br
owser.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_devi
ce.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> <br> | |
| 36 <font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big
></font></td></tr> | |
| 37 | |
| 38 <tr><td bgcolor="#ee77aa"><tt> </tt></td><td>
</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.tr
ybot_browser_finder.html#TrybotError">TrybotError</a> | |
| 44 </font></dt></dl> | |
| 45 </dd> | |
| 46 <dt><font face="helvetica, arial"><a href="telemetry.internal.browser.possible_b
rowser.html#PossibleBrowser">telemetry.internal.browser.possible_browser.Possibl
eBrowser</a>(<a href="telemetry.internal.app.possible_app.html#PossibleApp">tele
metry.internal.app.possible_app.PossibleApp</a>) | |
| 47 </font></dt><dd> | |
| 48 <dl> | |
| 49 <dt><font face="helvetica, arial"><a href="telemetry.internal.backends.remote.tr
ybot_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> <br> | |
| 57 <font color="#000000" face="helvetica, arial"><a name="PossibleTrybotBrowser">cl
ass <strong>PossibleTrybotBrowser</strong></a>(<a href="telemetry.internal.brows
er.possible_browser.html#PossibleBrowser">telemetry.internal.browser.possible_br
owser.PossibleBrowser</a>)</font></td></tr> | |
| 58 | |
| 59 <tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> | |
| 60 <td colspan=2><tt>A script that sends a job to&nbs
p;a trybot.<br> </tt></td></tr> | |
| 61 <tr><td> </td> | |
| 62 <td width="100%"><dl><dt>Method resolution order:</dt> | |
| 63 <dd><a href="telemetry.internal.backends.remote.trybot_browser_finder.html#Possi
bleTrybotBrowser">PossibleTrybotBrowser</a></dd> | |
| 64 <dd><a href="telemetry.internal.browser.possible_browser.html#PossibleBrowser">t
elemetry.internal.browser.possible_browser.PossibleBrowser</a></dd> | |
| 65 <dd><a href="telemetry.internal.app.possible_app.html#PossibleApp">telemetry.int
ernal.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>(s
elf)</dt></dl> | |
| 73 | |
| 74 <dl><dt><a name="PossibleTrybotBrowser-RunRemote"><strong>RunRemote</strong></a>
(self)</dt><dd><tt>Sends a tryjob to a perf trybot
.<br> | |
| 75 <br> | |
| 76 This creates a branch, telemetry-tryjob, switches
to that branch, edits<br> | |
| 77 the bisect config, commits it, uploads the CL
to rietveld, and runs a<br> | |
| 78 tryjob on the given 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>(s
elf, 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>SetCredential
sPath</strong></a>(self, credentials_path)</dt></dl> | |
| 87 | |
| 88 <dl><dt><a name="PossibleTrybotBrowser-UpdateExecutableIfNeeded"><strong>UpdateE
xecutableIfNeeded</strong></a>(self)</dt></dl> | |
| 89 | |
| 90 <dl><dt><a name="PossibleTrybotBrowser-__repr__"><strong>__repr__</strong></a>(s
elf)</dt></dl> | |
| 91 | |
| 92 <dl><dt><a name="PossibleTrybotBrowser-last_modification_time"><strong>last_modi
fication_time</strong></a>(self)</dt></dl> | |
| 93 | |
| 94 <hr> | |
| 95 Data descriptors inherited from <a href="telemetry.internal.browser.possible_bro
wser.html#PossibleBrowser">telemetry.internal.browser.possible_browser.PossibleB
rowser</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.htm
l#PossibleApp">telemetry.internal.app.possible_app.PossibleApp</a>:<br> | |
| 102 <dl><dt><strong>__dict__</strong></dt> | |
| 103 <dd><tt>dictionary for instance variables (if defined)<
/tt></dd> | |
| 104 </dl> | |
| 105 <dl><dt><strong>__weakref__</strong></dt> | |
| 106 <dd><tt>list of weak references to the object 
;(if 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 OS, the app will run 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> <br> | |
| 119 <font color="#000000" face="helvetica, arial"><a name="TrybotError">class <stron
g>TrybotError</strong></a>(<a href="exceptions.html#Exception">exceptions.Except
ion</a>)</font></td></tr> | |
| 120 | |
| 121 <tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td> | |
| 122 <td width="100%"><dl><dt>Method resolution order:</dt> | |
| 123 <dd><a href="telemetry.internal.backends.remote.trybot_browser_finder.html#Trybo
tError">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></d
l> | |
| 131 | |
| 132 <hr> | |
| 133 Data descriptors defined here:<br> | |
| 134 <dl><dt><strong>__weakref__</strong></dt> | |
| 135 <dd><tt>list of weak references to the object 
;(if 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><d
d><tt>x.<a href="#TrybotError-__init__">__init__</a>(...) initializes
x; see help(type(x)) for signature</tt></dd></dl> | |
| 140 | |
| 141 <hr> | |
| 142 Data and other attributes inherited from <a href="exceptions.html#Exception">exc
eptions.Exception</a>:<br> | |
| 143 <dl><dt><strong>__new__</strong> = <built-in method __new__ of type object>
;<dd><tt>T.<a href="#TrybotError-__new__">__new__</a>(S, ...) ->&nb
sp;a new object with type S, a subtype o
f T</tt></dl> | |
| 144 | |
| 145 <hr> | |
| 146 Methods inherited from <a href="exceptions.html#BaseException">exceptions.BaseEx
ception</a>:<br> | |
| 147 <dl><dt><a name="TrybotError-__delattr__"><strong>__delattr__</strong></a>(...)<
/dt><dd><tt>x.<a href="#TrybotError-__delattr__">__delattr__</a>('name') &l
t;==> del 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') <==> 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) <==&
gt; 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, j)&
nbsp;<==> x[i:j]<br> | |
| 154 <br> | |
| 155 Use of negative indices is not supported.</tt></dd
></dl> | |
| 156 | |
| 157 <dl><dt><a name="TrybotError-__reduce__"><strong>__reduce__</strong></a>(...)</d
t></dl> | |
| 158 | |
| 159 <dl><dt><a name="TrybotError-__repr__"><strong>__repr__</strong></a>(...)</dt><d
d><tt>x.<a href="#TrybotError-__repr__">__repr__</a>() <==> 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', va
lue) <==> x.name = 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">exceptio
ns.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> <br> | |
| 179 <font color="#ffffff" face="helvetica, arial"><big><strong>Functions</strong></b
ig></font></td></tr> | |
| 180 | |
| 181 <tr><td bgcolor="#eeaa77"><tt> </tt></td><td>
</td> | |
| 182 <td width="100%"><dl><dt><a name="-CanFindAvailableBrowsers"><strong>CanFindAvai
lableBrowsers</strong></a>()</dt></dl> | |
| 183 <dl><dt><a name="-FindAllAvailableBrowsers"><strong>FindAllAvailableBrowsers</s
trong></a>(finder_options, device)</dt><dd><tt>Find all perf tryb
ots on 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> <br> | |
| 190 <font color="#ffffff" face="helvetica, arial"><big><strong>Data</strong></big></
font></td></tr> | |
| 191 | |
| 192 <tr><td bgcolor="#55aa55"><tt> </tt></td><td>
</td> | |
| 193 <td width="100%"><strong>BLINK_CONFIG_FILENAME</strong> = 'Tools/run-perf-test.c
fg'<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', 'andr
oid_perf_bisect_builder', 'linux_perf_bisect_builder', 'linux_perf_bisector', 'l
inux_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> | |
| OLD | NEW |