| 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.linux", | 8 "chromium.linux", |
| 9 "--builder", | 9 "--builder", |
| 10 "Android Tests", | 10 "Android Tests", |
| (...skipping 310 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 321 "name": "extract build" | 321 "name": "extract build" |
| 322 }, | 322 }, |
| 323 { | 323 { |
| 324 "cmd": [ | 324 "cmd": [ |
| 325 "python", | 325 "python", |
| 326 "-u", | 326 "-u", |
| 327 "RECIPE_MODULE[build::adb]/resources/list_devices.py", | 327 "RECIPE_MODULE[build::adb]/resources/list_devices.py", |
| 328 "['[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb', 'd
evices']", | 328 "['[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb', 'd
evices']", |
| 329 "/path/to/tmp/json" | 329 "/path/to/tmp/json" |
| 330 ], | 330 ], |
| 331 "env": { |
| 332 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
| 333 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
| 334 }, |
| 331 "name": "List adb devices", | 335 "name": "List adb devices", |
| 332 "~followup_annotations": [ | 336 "~followup_annotations": [ |
| 333 "@@@STEP_LOG_LINE@json.output@[@@@", | 337 "@@@STEP_LOG_LINE@json.output@[@@@", |
| 334 "@@@STEP_LOG_LINE@json.output@ \"014E1F310401C009\"@@@", | 338 "@@@STEP_LOG_LINE@json.output@ \"014E1F310401C009\"@@@", |
| 335 "@@@STEP_LOG_LINE@json.output@]@@@", | 339 "@@@STEP_LOG_LINE@json.output@]@@@", |
| 336 "@@@STEP_LOG_END@json.output@@@" | 340 "@@@STEP_LOG_END@json.output@@@" |
| 337 ] | 341 ] |
| 338 }, | 342 }, |
| 339 { | 343 { |
| 340 "cmd": [ | 344 "cmd": [ |
| 341 "python", | 345 "python", |
| 342 "-u", | 346 "-u", |
| 343 "\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", | 347 "\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", |
| 344 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", | 348 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", |
| 345 "014E1F310401C009" | 349 "014E1F310401C009" |
| 346 ], | 350 ], |
| 351 "env": { |
| 352 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
| 353 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
| 354 }, |
| 347 "name": "Root devices", | 355 "name": "Root devices", |
| 348 "~followup_annotations": [ | 356 "~followup_annotations": [ |
| 349 "@@@STEP_LOG_LINE@python.inline@@@@", | 357 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 350 "@@@STEP_LOG_LINE@python.inline@import subprocess@@@", | 358 "@@@STEP_LOG_LINE@python.inline@import subprocess@@@", |
| 351 "@@@STEP_LOG_LINE@python.inline@import sys@@@", | 359 "@@@STEP_LOG_LINE@python.inline@import sys@@@", |
| 352 "@@@STEP_LOG_LINE@python.inline@adb_path = sys.argv[1]@@@", | 360 "@@@STEP_LOG_LINE@python.inline@adb_path = sys.argv[1]@@@", |
| 353 "@@@STEP_LOG_LINE@python.inline@for device in sys.argv[2:]:@@@", | 361 "@@@STEP_LOG_LINE@python.inline@for device in sys.argv[2:]:@@@", |
| 354 "@@@STEP_LOG_LINE@python.inline@ print 'Attempting to root device %s ...'
% (device)@@@", | 362 "@@@STEP_LOG_LINE@python.inline@ print 'Attempting to root device %s ...'
% (device)@@@", |
| 355 "@@@STEP_LOG_LINE@python.inline@ subprocess.check_call([adb_path, '-s', d
evice, 'root'])@@@", | 363 "@@@STEP_LOG_LINE@python.inline@ subprocess.check_call([adb_path, '-s', d
evice, 'root'])@@@", |
| 356 "@@@STEP_LOG_LINE@python.inline@ subprocess.check_call([adb_path, '-s', d
evice, 'wait-for-device'])@@@", | 364 "@@@STEP_LOG_LINE@python.inline@ subprocess.check_call([adb_path, '-s', d
evice, 'wait-for-device'])@@@", |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 396 "Android Tests", | 404 "Android Tests", |
| 397 "--build-number", | 405 "--build-number", |
| 398 "571", | 406 "571", |
| 399 "--test-type", | 407 "--test-type", |
| 400 "base_junit_tests", | 408 "base_junit_tests", |
| 401 "--test-results-server", | 409 "--test-results-server", |
| 402 "test-results.appspot.com", | 410 "test-results.appspot.com", |
| 403 "--chrome-revision", | 411 "--chrome-revision", |
| 404 "refs/heads/master@{#170242}" | 412 "refs/heads/master@{#170242}" |
| 405 ], | 413 ], |
| 414 "env": { |
| 415 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
| 416 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
| 417 }, |
| 406 "name": "Upload to test-results [base_junit_tests]" | 418 "name": "Upload to test-results [base_junit_tests]" |
| 407 }, | 419 }, |
| 408 { | 420 { |
| 409 "cmd": [ | 421 "cmd": [ |
| 410 "python", | 422 "python", |
| 411 "-u", | 423 "-u", |
| 412 "\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", | 424 "\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", |
| 413 "[SLAVE_BUILD]/src/out/Release/test_logs/*.log" | 425 "[SLAVE_BUILD]/src/out/Release/test_logs/*.log" |
| 414 ], | 426 ], |
| 427 "env": { |
| 428 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
| 429 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
| 430 }, |
| 415 "name": "test_report", | 431 "name": "test_report", |
| 416 "~followup_annotations": [ | 432 "~followup_annotations": [ |
| 417 "@@@STEP_LOG_LINE@python.inline@@@@", | 433 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 418 "@@@STEP_LOG_LINE@python.inline@import glob, os, sys@@@", | 434 "@@@STEP_LOG_LINE@python.inline@import glob, os, sys@@@", |
| 419 "@@@STEP_LOG_LINE@python.inline@for report in glob.glob(sys.argv[1]):@@@", | 435 "@@@STEP_LOG_LINE@python.inline@for report in glob.glob(sys.argv[1]):@@@", |
| 420 "@@@STEP_LOG_LINE@python.inline@ with open(report, 'r') as f:@@@", | 436 "@@@STEP_LOG_LINE@python.inline@ with open(report, 'r') as f:@@@", |
| 421 "@@@STEP_LOG_LINE@python.inline@ for l in f.readlines():@@@", | 437 "@@@STEP_LOG_LINE@python.inline@ for l in f.readlines():@@@", |
| 422 "@@@STEP_LOG_LINE@python.inline@ print l@@@", | 438 "@@@STEP_LOG_LINE@python.inline@ print l@@@", |
| 423 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", | 439 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", |
| 424 "@@@STEP_LOG_END@python.inline@@@" | 440 "@@@STEP_LOG_END@python.inline@@@" |
| 425 ] | 441 ] |
| 426 }, | 442 }, |
| 427 { | 443 { |
| 428 "name": "$result", | 444 "name": "$result", |
| 429 "reason": "1 tests failed: ['base_junit_tests']", | 445 "reason": "1 tests failed: ['base_junit_tests']", |
| 430 "status_code": 1 | 446 "status_code": 1 |
| 431 } | 447 } |
| 432 ] | 448 ] |
| OLD | NEW |