Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(150)

Side by Side Diff: infra/recipes/android/perf.expected/provision_devices.json

Issue 2438563004: [Android] Always use devil's adb in the perf recipes. (RELAND) (Closed)
Patch Set: revised: prefetch adb Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 [ 1 [
2 { 2 {
3 "cmd": [ 3 "cmd": [
4 "python", 4 "python",
5 "-u", 5 "-u",
6 "RECIPE_MODULE[depot_tools::bot_update]/resources/bot_update.py", 6 "RECIPE_MODULE[depot_tools::bot_update]/resources/bot_update.py",
7 "--spec", 7 "--spec",
8 "cache_dir = '[GIT_CACHE]'\nsolutions = [{'deps_file': '.DEPS.git', 'manag ed': False, 'name': 'src', 'url': 'https://chromium.googlesource.com/chromium/sr c.git'}, {'custom_deps': {'src/chrome/test/data/firefox2_profile/searchplugins': None, 'src/chrome/test/data/firefox2_searchplugins': None, 'src/chrome/test/dat a/firefox3_profile/searchplugins': None, 'src/chrome/test/data/firefox3_searchpl ugins': None, 'src/chrome/test/data/osdd': None, 'src/chrome/test/data/perf/fram e_rate/private': None, 'src/chrome/test/data/plugin': None, 'src/chrome/test/dat a/ssl/certs': None, 'src/data/autodiscovery': None, 'src/data/esctf': None, 'src /data/mach_ports': None, 'src/data/memory_test': None, 'src/data/mozilla_js_test s': None, 'src/data/selenium_core': None, 'src/data/tab_switching': None, 'src/t ools/grit/grit/test/data': None, 'src/webkit/data/bmp_decoder': None, 'src/webki t/data/ico_decoder': None, 'src/webkit/data/test_shell/plugins': None, 'src/webk it/data/xbm_decoder': None}, 'deps_file': '.DEPS.git', 'managed': False, 'name': 'src-internal', 'url': 'https://chrome-internal.googlesource.com/chrome/src-int ernal.git'}]\ntarget_os = ['android']", 8 "cache_dir = '[GIT_CACHE]'\nsolutions = [{'deps_file': '.DEPS.git', 'manag ed': False, 'name': 'src', 'url': 'https://chromium.googlesource.com/chromium/sr c.git'}, {'custom_deps': {'src/chrome/test/data/firefox2_profile/searchplugins': None, 'src/chrome/test/data/firefox2_searchplugins': None, 'src/chrome/test/dat a/firefox3_profile/searchplugins': None, 'src/chrome/test/data/firefox3_searchpl ugins': None, 'src/chrome/test/data/osdd': None, 'src/chrome/test/data/perf/fram e_rate/private': None, 'src/chrome/test/data/plugin': None, 'src/chrome/test/dat a/ssl/certs': None, 'src/data/autodiscovery': None, 'src/data/esctf': None, 'src /data/mach_ports': None, 'src/data/memory_test': None, 'src/data/mozilla_js_test s': None, 'src/data/selenium_core': None, 'src/data/tab_switching': None, 'src/t ools/grit/grit/test/data': None, 'src/webkit/data/bmp_decoder': None, 'src/webki t/data/ico_decoder': None, 'src/webkit/data/test_shell/plugins': None, 'src/webk it/data/xbm_decoder': None}, 'deps_file': '.DEPS.git', 'managed': False, 'name': 'src-internal', 'url': 'https://chrome-internal.googlesource.com/chrome/src-int ernal.git'}]\ntarget_os = ['android']",
9 "--patch_root", 9 "--patch_root",
10 "src", 10 "src",
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 "@@@STEP_LOG_LINE@python.inline@ for f in files:@@@", 157 "@@@STEP_LOG_LINE@python.inline@ for f in files:@@@",
158 "@@@STEP_LOG_LINE@python.inline@ if f.endswith('.pyc'):@@@", 158 "@@@STEP_LOG_LINE@python.inline@ if f.endswith('.pyc'):@@@",
159 "@@@STEP_LOG_LINE@python.inline@ os.remove(os.path.join(base, f))@@@" , 159 "@@@STEP_LOG_LINE@python.inline@ os.remove(os.path.join(base, f))@@@" ,
160 "@@@STEP_LOG_END@python.inline@@@" 160 "@@@STEP_LOG_END@python.inline@@@"
161 ] 161 ]
162 }, 162 },
163 { 163 {
164 "cmd": [ 164 "cmd": [
165 "python", 165 "python",
166 "-u", 166 "-u",
167 "\nimport sys\nsys.path.append(sys.argv[1])\nfrom devil import devil_env\n devil_env.config.Initialize()\ndevil_env.config.PrefetchPaths(dependencies=['adb '])\n",
168 "[SLAVE_BUILD]/src/third_party/catapult/devil"
169 ],
170 "name": "initialize devil",
171 "~followup_annotations": [
172 "@@@STEP_LOG_LINE@python.inline@@@@",
173 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
174 "@@@STEP_LOG_LINE@python.inline@sys.path.append(sys.argv[1])@@@",
175 "@@@STEP_LOG_LINE@python.inline@from devil import devil_env@@@",
176 "@@@STEP_LOG_LINE@python.inline@devil_env.config.Initialize()@@@",
177 "@@@STEP_LOG_LINE@python.inline@devil_env.config.PrefetchPaths(dependencie s=['adb'])@@@",
178 "@@@STEP_LOG_END@python.inline@@@"
179 ]
180 },
181 {
182 "cmd": [
183 "python",
184 "-u",
167 "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py", 185 "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py",
168 "--", 186 "--",
169 "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py", 187 "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py",
170 "--force-version", 188 "--force-version",
171 "4.7", 189 "4.7",
172 "----", 190 "----",
173 "cp", 191 "cp",
174 "gs://chrome-perf/Android Builder/full-build-linux_deadbeef.zip", 192 "gs://chrome-perf/Android Builder/full-build-linux_deadbeef.zip",
175 "[SLAVE_BUILD]/src/out/build_product.zip" 193 "[SLAVE_BUILD]/src/out/build_product.zip"
176 ], 194 ],
177 "name": "gsutil download_build_product" 195 "name": "gsutil download_build_product"
178 }, 196 },
179 { 197 {
180 "cmd": [ 198 "cmd": [
181 "unzip", 199 "unzip",
182 "-o", 200 "-o",
183 "[SLAVE_BUILD]/src/out/build_product.zip" 201 "[SLAVE_BUILD]/src/out/build_product.zip"
184 ], 202 ],
185 "cwd": "[SLAVE_BUILD]/src", 203 "cwd": "[SLAVE_BUILD]/src",
186 "name": "unzip_build_product" 204 "name": "unzip_build_product"
187 }, 205 },
188 { 206 {
189 "cmd": [ 207 "cmd": [
190 "python", 208 "python",
191 "-u", 209 "-u",
192 "[SLAVE_BUILD]/src/build/symlink.py", 210 "[SLAVE_BUILD]/src/build/symlink.py",
193 "-f", 211 "-f",
194 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", 212 "[SLAVE_BUILD]/src/third_party/catapult/devil/bin/deps/linux2/x86_64/bin/a db",
195 "~/adb" 213 "~/adb"
196 ], 214 ],
197 "name": "create adb symlink" 215 "name": "create adb symlink"
198 }, 216 },
199 { 217 {
200 "cmd": [ 218 "cmd": [
201 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py", 219 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py",
202 "--", 220 "--",
203 "[SLAVE_BUILD]/src/build/android/adb_logcat_monitor.py", 221 "[SLAVE_BUILD]/src/build/android/adb_logcat_monitor.py",
204 "[SLAVE_BUILD]/src/out/logcat", 222 "[SLAVE_BUILD]/src/out/logcat",
205 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb" 223 "[SLAVE_BUILD]/src/third_party/catapult/devil/bin/deps/linux2/x86_64/bin/a db"
206 ], 224 ],
207 "env": { 225 "env": {
208 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 226 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
209 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 227 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
210 }, 228 },
211 "name": "spawn_logcat_monitor" 229 "name": "spawn_logcat_monitor"
212 }, 230 },
213 { 231 {
214 "cmd": [ 232 "cmd": [
215 "python", 233 "python",
216 "-u", 234 "-u",
217 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py", 235 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py",
218 "--action", 236 "--action",
219 "restart", 237 "restart",
220 "--pid-file-path", 238 "--pid-file-path",
221 "/tmp/device_monitor.pid", 239 "/tmp/device_monitor.pid",
222 "--", 240 "--",
223 "[SLAVE_BUILD]/src/third_party/catapult/devil/devil/android/tools/device_m onitor.py", 241 "[SLAVE_BUILD]/src/third_party/catapult/devil/devil/android/tools/device_m onitor.py",
224 "--adb-path", 242 "--adb-path",
225 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", 243 "[SLAVE_BUILD]/src/third_party/catapult/devil/bin/deps/linux2/x86_64/bin/a db",
226 "--blacklist-file", 244 "--blacklist-file",
227 "[SLAVE_BUILD]/src/out/bad_devices.json" 245 "[SLAVE_BUILD]/src/out/bad_devices.json"
228 ], 246 ],
229 "name": "spawn_device_monitor" 247 "name": "spawn_device_monitor"
230 }, 248 },
231 { 249 {
232 "cmd": [ 250 "cmd": [
233 "python", 251 "python",
234 "-u", 252 "-u",
235 "RECIPE_PACKAGE_REPO[build]/scripts/slave/android/authorize_adb_devices.py ", 253 "RECIPE_PACKAGE_REPO[build]/scripts/slave/android/authorize_adb_devices.py ",
236 "--verbose", 254 "--verbose",
237 "--adb-path", 255 "--adb-path",
238 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb" 256 "[SLAVE_BUILD]/src/third_party/catapult/devil/bin/deps/linux2/x86_64/bin/a db"
239 ], 257 ],
240 "env": { 258 "env": {
241 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 259 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
242 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 260 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
243 }, 261 },
244 "name": "authorize_adb_devices" 262 "name": "authorize_adb_devices"
245 }, 263 },
246 { 264 {
247 "cmd": [ 265 "cmd": [
248 "[SLAVE_BUILD]/src/third_party/catapult/devil/devil/android/tools/device_r ecovery.py", 266 "[SLAVE_BUILD]/src/third_party/catapult/devil/devil/android/tools/device_r ecovery.py",
249 "--blacklist-file", 267 "--blacklist-file",
250 "[SLAVE_BUILD]/src/out/bad_devices.json", 268 "[SLAVE_BUILD]/src/out/bad_devices.json",
251 "--known-devices-file", 269 "--known-devices-file",
252 "[HOME]/.android/known_devices.json", 270 "[HOME]/.android/known_devices.json",
253 "--adb-path", 271 "--adb-path",
254 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", 272 "[SLAVE_BUILD]/src/third_party/catapult/devil/bin/deps/linux2/x86_64/bin/a db",
255 "-v", 273 "-v",
256 "--enable-usb-reset" 274 "--enable-usb-reset"
257 ], 275 ],
258 "env": { 276 "env": {
259 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 277 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
260 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 278 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
261 }, 279 },
262 "name": "device_recovery" 280 "name": "device_recovery"
263 }, 281 },
264 { 282 {
265 "cmd": [ 283 "cmd": [
266 "python", 284 "python",
267 "-u", 285 "-u",
268 "[SLAVE_BUILD]/src/build/android/provision_devices.py", 286 "[SLAVE_BUILD]/src/build/android/provision_devices.py",
269 "--adb-path", 287 "--adb-path",
270 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", 288 "[SLAVE_BUILD]/src/third_party/catapult/devil/bin/deps/linux2/x86_64/bin/a db",
271 "--blacklist-file", 289 "--blacklist-file",
272 "[SLAVE_BUILD]/src/out/bad_devices.json", 290 "[SLAVE_BUILD]/src/out/bad_devices.json",
273 "--output-device-blacklist", 291 "--output-device-blacklist",
274 "/path/to/tmp/json", 292 "/path/to/tmp/json",
275 "-t", 293 "-t",
276 "Release", 294 "Release",
277 "--min-battery-level", 295 "--min-battery-level",
278 "95", 296 "95",
279 "--disable-network", 297 "--disable-network",
280 "--disable-java-debug", 298 "--disable-java-debug",
(...skipping 10 matching lines...) Expand all
291 "@@@STEP_EXCEPTION@@@" 309 "@@@STEP_EXCEPTION@@@"
292 ] 310 ]
293 }, 311 },
294 { 312 {
295 "name": "$result", 313 "name": "$result",
296 "reason": "Infra Failure: Step('provision_devices') returned 1", 314 "reason": "Infra Failure: Step('provision_devices') returned 1",
297 "recipe_result": null, 315 "recipe_result": null,
298 "status_code": 1 316 "status_code": 1
299 } 317 }
300 ] 318 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698