| OLD | NEW |
| 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 "--master", | 7 "--master", |
| 8 "chromium.fyi", | 8 "chromium.fyi", |
| 9 "--builder", | 9 "--builder", |
| 10 "Android Tests (amp instrumentation test split)", | 10 "Android Tests (amp instrumentation test split)", |
| (...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 296 "name": "extract build" | 296 "name": "extract build" |
| 297 }, | 297 }, |
| 298 { | 298 { |
| 299 "cmd": [ | 299 "cmd": [ |
| 300 "python", | 300 "python", |
| 301 "-u", | 301 "-u", |
| 302 "RECIPE_MODULE[build::adb]/resources/list_devices.py", | 302 "RECIPE_MODULE[build::adb]/resources/list_devices.py", |
| 303 "['[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb', 'd
evices']", | 303 "['[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb', 'd
evices']", |
| 304 "/path/to/tmp/json" | 304 "/path/to/tmp/json" |
| 305 ], | 305 ], |
| 306 "env": { |
| 307 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
| 308 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
| 309 }, |
| 306 "name": "List adb devices", | 310 "name": "List adb devices", |
| 307 "~followup_annotations": [ | 311 "~followup_annotations": [ |
| 308 "@@@STEP_LOG_LINE@json.output@[@@@", | 312 "@@@STEP_LOG_LINE@json.output@[@@@", |
| 309 "@@@STEP_LOG_LINE@json.output@ \"014E1F310401C009\"@@@", | 313 "@@@STEP_LOG_LINE@json.output@ \"014E1F310401C009\"@@@", |
| 310 "@@@STEP_LOG_LINE@json.output@]@@@", | 314 "@@@STEP_LOG_LINE@json.output@]@@@", |
| 311 "@@@STEP_LOG_END@json.output@@@" | 315 "@@@STEP_LOG_END@json.output@@@" |
| 312 ] | 316 ] |
| 313 }, | 317 }, |
| 314 { | 318 { |
| 315 "cmd": [ | 319 "cmd": [ |
| 316 "python", | 320 "python", |
| 317 "-u", | 321 "-u", |
| 318 "\nimport subprocess\nimport sys\nadb_path = sys.argv[1]\nfor device in sy
s.argv[2:]:\n print 'Attempting to root device %s ...' % (device)\n subprocess
.check_call([adb_path, '-s', device, 'root'])\n subprocess.check_call([adb_path
, '-s', device, 'wait-for-device'])\n print 'Finished rooting device %s' % (dev
ice)\n", | 322 "\nimport subprocess\nimport sys\nadb_path = sys.argv[1]\nfor device in sy
s.argv[2:]:\n print 'Attempting to root device %s ...' % (device)\n subprocess
.check_call([adb_path, '-s', device, 'root'])\n subprocess.check_call([adb_path
, '-s', device, 'wait-for-device'])\n print 'Finished rooting device %s' % (dev
ice)\n", |
| 319 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", | 323 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", |
| 320 "014E1F310401C009" | 324 "014E1F310401C009" |
| 321 ], | 325 ], |
| 326 "env": { |
| 327 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
| 328 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
| 329 }, |
| 322 "name": "Root devices", | 330 "name": "Root devices", |
| 323 "~followup_annotations": [ | 331 "~followup_annotations": [ |
| 324 "@@@STEP_LOG_LINE@python.inline@@@@", | 332 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 325 "@@@STEP_LOG_LINE@python.inline@import subprocess@@@", | 333 "@@@STEP_LOG_LINE@python.inline@import subprocess@@@", |
| 326 "@@@STEP_LOG_LINE@python.inline@import sys@@@", | 334 "@@@STEP_LOG_LINE@python.inline@import sys@@@", |
| 327 "@@@STEP_LOG_LINE@python.inline@adb_path = sys.argv[1]@@@", | 335 "@@@STEP_LOG_LINE@python.inline@adb_path = sys.argv[1]@@@", |
| 328 "@@@STEP_LOG_LINE@python.inline@for device in sys.argv[2:]:@@@", | 336 "@@@STEP_LOG_LINE@python.inline@for device in sys.argv[2:]:@@@", |
| 329 "@@@STEP_LOG_LINE@python.inline@ print 'Attempting to root device %s ...'
% (device)@@@", | 337 "@@@STEP_LOG_LINE@python.inline@ print 'Attempting to root device %s ...'
% (device)@@@", |
| 330 "@@@STEP_LOG_LINE@python.inline@ subprocess.check_call([adb_path, '-s', d
evice, 'root'])@@@", | 338 "@@@STEP_LOG_LINE@python.inline@ subprocess.check_call([adb_path, '-s', d
evice, 'root'])@@@", |
| 331 "@@@STEP_LOG_LINE@python.inline@ subprocess.check_call([adb_path, '-s', d
evice, 'wait-for-device'])@@@", | 339 "@@@STEP_LOG_LINE@python.inline@ subprocess.check_call([adb_path, '-s', d
evice, 'wait-for-device'])@@@", |
| 332 "@@@STEP_LOG_LINE@python.inline@ print 'Finished rooting device %s' % (de
vice)@@@", | 340 "@@@STEP_LOG_LINE@python.inline@ print 'Finished rooting device %s' % (de
vice)@@@", |
| 333 "@@@STEP_LOG_END@python.inline@@@" | 341 "@@@STEP_LOG_END@python.inline@@@" |
| 334 ] | 342 ] |
| 335 }, | 343 }, |
| 336 { | 344 { |
| 337 "cmd": [ | 345 "cmd": [ |
| 338 "python", | 346 "python", |
| 339 "-u", | 347 "-u", |
| 340 "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py", | 348 "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py", |
| 341 "--", | 349 "--", |
| 342 "[DEPOT_TOOLS]/gsutil.py", | 350 "[DEPOT_TOOLS]/gsutil.py", |
| 343 "----", | 351 "----", |
| 344 "cp", | 352 "cp", |
| 345 "gs://chrome-amp-keys/main_pool/api_key", | 353 "gs://chrome-amp-keys/main_pool/api_key", |
| 346 "[BUILD]/site_config/.amp_main_pool_key" | 354 "[BUILD]/site_config/.amp_main_pool_key" |
| 347 ], | 355 ], |
| 356 "env": { |
| 357 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
| 358 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
| 359 }, |
| 348 "name": "gsutil download amp api key" | 360 "name": "gsutil download amp api key" |
| 349 }, | 361 }, |
| 350 { | 362 { |
| 351 "cmd": [ | 363 "cmd": [ |
| 352 "python", | 364 "python", |
| 353 "-u", | 365 "-u", |
| 354 "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py", | 366 "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py", |
| 355 "--", | 367 "--", |
| 356 "[DEPOT_TOOLS]/gsutil.py", | 368 "[DEPOT_TOOLS]/gsutil.py", |
| 357 "----", | 369 "----", |
| 358 "cp", | 370 "cp", |
| 359 "gs://chrome-amp-keys/main_pool/api_secret", | 371 "gs://chrome-amp-keys/main_pool/api_secret", |
| 360 "[BUILD]/site_config/.amp_main_pool_secret" | 372 "[BUILD]/site_config/.amp_main_pool_secret" |
| 361 ], | 373 ], |
| 374 "env": { |
| 375 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
| 376 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
| 377 }, |
| 362 "name": "gsutil download amp api secret" | 378 "name": "gsutil download amp api secret" |
| 363 }, | 379 }, |
| 364 { | 380 { |
| 365 "cmd": [ | 381 "cmd": [ |
| 366 "python", | 382 "python", |
| 367 "-u", | 383 "-u", |
| 368 "[SLAVE_BUILD]/src/build/android/test_runner.py", | 384 "[SLAVE_BUILD]/src/build/android/test_runner.py", |
| 369 "instrumentation", | 385 "instrumentation", |
| 370 "--apk-under-test", | 386 "--apk-under-test", |
| 371 "AndroidWebView", | 387 "AndroidWebView", |
| (...skipping 19 matching lines...) Expand all Loading... |
| 391 "--remote-device", | 407 "--remote-device", |
| 392 "Nexus 5", | 408 "Nexus 5", |
| 393 "--remote-device-os", | 409 "--remote-device-os", |
| 394 "4.4.2", | 410 "4.4.2", |
| 395 "--trigger", | 411 "--trigger", |
| 396 "/path/to/tmp/json", | 412 "/path/to/tmp/json", |
| 397 "--verbose", | 413 "--verbose", |
| 398 "--release" | 414 "--release" |
| 399 ], | 415 ], |
| 400 "env": { | 416 "env": { |
| 401 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release" | 417 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release", |
| 418 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
| 419 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
| 402 }, | 420 }, |
| 403 "name": "[trigger] AndroidWebViewTest", | 421 "name": "[trigger] AndroidWebViewTest", |
| 404 "~followup_annotations": [ | 422 "~followup_annotations": [ |
| 405 "step returned non-zero exit code: 1", | 423 "step returned non-zero exit code: 1", |
| 406 "@@@STEP_LOG_LINE@json.output (invalid)@null@@@", | 424 "@@@STEP_LOG_LINE@json.output (invalid)@null@@@", |
| 407 "@@@STEP_LOG_END@json.output (invalid)@@@", | 425 "@@@STEP_LOG_END@json.output (invalid)@@@", |
| 408 "@@@STEP_FAILURE@@@" | 426 "@@@STEP_FAILURE@@@" |
| 409 ] | 427 ] |
| 410 }, | 428 }, |
| 411 { | 429 { |
| 412 "cmd": [ | 430 "cmd": [ |
| 413 "python", | 431 "python", |
| 414 "-u", | 432 "-u", |
| 415 "\nimport glob, os, sys\nfor report in glob.glob(sys.argv[1]):\n with ope
n(report, 'r') as f:\n for l in f.readlines():\n print l\n os.remove(re
port)\n", | 433 "\nimport glob, os, sys\nfor report in glob.glob(sys.argv[1]):\n with ope
n(report, 'r') as f:\n for l in f.readlines():\n print l\n os.remove(re
port)\n", |
| 416 "[SLAVE_BUILD]/src/out/Release/test_logs/*.log" | 434 "[SLAVE_BUILD]/src/out/Release/test_logs/*.log" |
| 417 ], | 435 ], |
| 436 "env": { |
| 437 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
| 438 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
| 439 }, |
| 418 "name": "test_report", | 440 "name": "test_report", |
| 419 "~followup_annotations": [ | 441 "~followup_annotations": [ |
| 420 "@@@STEP_LOG_LINE@python.inline@@@@", | 442 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 421 "@@@STEP_LOG_LINE@python.inline@import glob, os, sys@@@", | 443 "@@@STEP_LOG_LINE@python.inline@import glob, os, sys@@@", |
| 422 "@@@STEP_LOG_LINE@python.inline@for report in glob.glob(sys.argv[1]):@@@", | 444 "@@@STEP_LOG_LINE@python.inline@for report in glob.glob(sys.argv[1]):@@@", |
| 423 "@@@STEP_LOG_LINE@python.inline@ with open(report, 'r') as f:@@@", | 445 "@@@STEP_LOG_LINE@python.inline@ with open(report, 'r') as f:@@@", |
| 424 "@@@STEP_LOG_LINE@python.inline@ for l in f.readlines():@@@", | 446 "@@@STEP_LOG_LINE@python.inline@ for l in f.readlines():@@@", |
| 425 "@@@STEP_LOG_LINE@python.inline@ print l@@@", | 447 "@@@STEP_LOG_LINE@python.inline@ print l@@@", |
| 426 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", | 448 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", |
| 427 "@@@STEP_LOG_END@python.inline@@@" | 449 "@@@STEP_LOG_END@python.inline@@@" |
| 428 ] | 450 ] |
| 429 }, | 451 }, |
| 430 { | 452 { |
| 431 "name": "$result", | 453 "name": "$result", |
| 432 "recipe_result": null, | 454 "recipe_result": null, |
| 433 "status_code": 0 | 455 "status_code": 0 |
| 434 } | 456 } |
| 435 ] | 457 ] |
| OLD | NEW |