| 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 "ClangToTAndroidASan tester", | 10 "ClangToTAndroidASan tester", |
| (...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 243 "name": "extract build" | 243 "name": "extract build" |
| 244 }, | 244 }, |
| 245 { | 245 { |
| 246 "cmd": [ | 246 "cmd": [ |
| 247 "python", | 247 "python", |
| 248 "-u", | 248 "-u", |
| 249 "RECIPE_MODULE[build::adb]/resources/list_devices.py", | 249 "RECIPE_MODULE[build::adb]/resources/list_devices.py", |
| 250 "['[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb', 'd
evices']", | 250 "['[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb', 'd
evices']", |
| 251 "/path/to/tmp/json" | 251 "/path/to/tmp/json" |
| 252 ], | 252 ], |
| 253 "env": { |
| 254 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
| 255 "LLVM_FORCE_HEAD_REVISION": "YES", |
| 256 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
| 257 }, |
| 253 "name": "List adb devices", | 258 "name": "List adb devices", |
| 254 "~followup_annotations": [ | 259 "~followup_annotations": [ |
| 255 "@@@STEP_LOG_LINE@json.output@[@@@", | 260 "@@@STEP_LOG_LINE@json.output@[@@@", |
| 256 "@@@STEP_LOG_LINE@json.output@ \"014E1F310401C009\"@@@", | 261 "@@@STEP_LOG_LINE@json.output@ \"014E1F310401C009\"@@@", |
| 257 "@@@STEP_LOG_LINE@json.output@]@@@", | 262 "@@@STEP_LOG_LINE@json.output@]@@@", |
| 258 "@@@STEP_LOG_END@json.output@@@" | 263 "@@@STEP_LOG_END@json.output@@@" |
| 259 ] | 264 ] |
| 260 }, | 265 }, |
| 261 { | 266 { |
| 262 "cmd": [ | 267 "cmd": [ |
| 263 "python", | 268 "python", |
| 264 "-u", | 269 "-u", |
| 265 "\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", | 270 "\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", |
| 266 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", | 271 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", |
| 267 "014E1F310401C009" | 272 "014E1F310401C009" |
| 268 ], | 273 ], |
| 274 "env": { |
| 275 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
| 276 "LLVM_FORCE_HEAD_REVISION": "YES", |
| 277 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
| 278 }, |
| 269 "name": "Root devices", | 279 "name": "Root devices", |
| 270 "~followup_annotations": [ | 280 "~followup_annotations": [ |
| 271 "@@@STEP_LOG_LINE@python.inline@@@@", | 281 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 272 "@@@STEP_LOG_LINE@python.inline@import subprocess@@@", | 282 "@@@STEP_LOG_LINE@python.inline@import subprocess@@@", |
| 273 "@@@STEP_LOG_LINE@python.inline@import sys@@@", | 283 "@@@STEP_LOG_LINE@python.inline@import sys@@@", |
| 274 "@@@STEP_LOG_LINE@python.inline@adb_path = sys.argv[1]@@@", | 284 "@@@STEP_LOG_LINE@python.inline@adb_path = sys.argv[1]@@@", |
| 275 "@@@STEP_LOG_LINE@python.inline@for device in sys.argv[2:]:@@@", | 285 "@@@STEP_LOG_LINE@python.inline@for device in sys.argv[2:]:@@@", |
| 276 "@@@STEP_LOG_LINE@python.inline@ print 'Attempting to root device %s ...'
% (device)@@@", | 286 "@@@STEP_LOG_LINE@python.inline@ print 'Attempting to root device %s ...'
% (device)@@@", |
| 277 "@@@STEP_LOG_LINE@python.inline@ subprocess.check_call([adb_path, '-s', d
evice, 'root'])@@@", | 287 "@@@STEP_LOG_LINE@python.inline@ subprocess.check_call([adb_path, '-s', d
evice, 'root'])@@@", |
| 278 "@@@STEP_LOG_LINE@python.inline@ subprocess.check_call([adb_path, '-s', d
evice, 'wait-for-device'])@@@", | 288 "@@@STEP_LOG_LINE@python.inline@ subprocess.check_call([adb_path, '-s', d
evice, 'wait-for-device'])@@@", |
| 279 "@@@STEP_LOG_LINE@python.inline@ print 'Finished rooting device %s' % (de
vice)@@@", | 289 "@@@STEP_LOG_LINE@python.inline@ print 'Finished rooting device %s' % (de
vice)@@@", |
| 280 "@@@STEP_LOG_END@python.inline@@@" | 290 "@@@STEP_LOG_END@python.inline@@@" |
| 281 ] | 291 ] |
| 282 }, | 292 }, |
| 283 { | 293 { |
| 284 "cmd": [ | 294 "cmd": [ |
| 285 "python", | 295 "python", |
| 286 "-u", | 296 "-u", |
| 287 "[SLAVE_BUILD]/src/build/symlink.py", | 297 "[SLAVE_BUILD]/src/build/symlink.py", |
| 288 "-f", | 298 "-f", |
| 289 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", | 299 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", |
| 290 "~/adb" | 300 "~/adb" |
| 291 ], | 301 ], |
| 302 "env": { |
| 303 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
| 304 "LLVM_FORCE_HEAD_REVISION": "YES", |
| 305 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
| 306 }, |
| 292 "name": "create adb symlink" | 307 "name": "create adb symlink" |
| 293 }, | 308 }, |
| 294 { | 309 { |
| 295 "cmd": [ | 310 "cmd": [ |
| 296 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py", | 311 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py", |
| 297 "--", | 312 "--", |
| 298 "[SLAVE_BUILD]/src/build/android/adb_logcat_monitor.py", | 313 "[SLAVE_BUILD]/src/build/android/adb_logcat_monitor.py", |
| 299 "[SLAVE_BUILD]/src/out/logcat" | 314 "[SLAVE_BUILD]/src/out/logcat" |
| 300 ], | 315 ], |
| 301 "env": { | 316 "env": { |
| (...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 477 "/tmp/device_monitor.pid", | 492 "/tmp/device_monitor.pid", |
| 478 "--", | 493 "--", |
| 479 "RECIPE_MODULE[build::chromium_android]/resources/spawn_device_monitor.py"
, | 494 "RECIPE_MODULE[build::chromium_android]/resources/spawn_device_monitor.py"
, |
| 480 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", | 495 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", |
| 481 "[\"07a00ca4\"]", | 496 "[\"07a00ca4\"]", |
| 482 "chromium.fyi", | 497 "chromium.fyi", |
| 483 "ClangToTAndroidASan tester", | 498 "ClangToTAndroidASan tester", |
| 484 "--blacklist-file", | 499 "--blacklist-file", |
| 485 "[SLAVE_BUILD]/src/out/bad_devices.json" | 500 "[SLAVE_BUILD]/src/out/bad_devices.json" |
| 486 ], | 501 ], |
| 502 "env": { |
| 503 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
| 504 "LLVM_FORCE_HEAD_REVISION": "YES", |
| 505 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
| 506 }, |
| 487 "name": "spawn_device_monitor" | 507 "name": "spawn_device_monitor" |
| 488 }, | 508 }, |
| 489 { | 509 { |
| 490 "cmd": [ | 510 "cmd": [ |
| 491 "python", | 511 "python", |
| 492 "-u", | 512 "-u", |
| 493 "[SLAVE_BUILD]/src/out/Debug/bin/run_components_browsertests", | 513 "[SLAVE_BUILD]/src/out/Debug/bin/run_components_browsertests", |
| 494 "--blacklist-file", | 514 "--blacklist-file", |
| 495 "[SLAVE_BUILD]/src/out/bad_devices.json", | 515 "[SLAVE_BUILD]/src/out/bad_devices.json", |
| 496 "--verbose", | 516 "--verbose", |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 530 { | 550 { |
| 531 "cmd": [ | 551 "cmd": [ |
| 532 "python", | 552 "python", |
| 533 "-u", | 553 "-u", |
| 534 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py", | 554 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py", |
| 535 "--action", | 555 "--action", |
| 536 "stop", | 556 "stop", |
| 537 "--pid-file-path", | 557 "--pid-file-path", |
| 538 "/tmp/device_monitor.pid" | 558 "/tmp/device_monitor.pid" |
| 539 ], | 559 ], |
| 560 "env": { |
| 561 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
| 562 "LLVM_FORCE_HEAD_REVISION": "YES", |
| 563 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
| 564 }, |
| 540 "name": "shutdown_device_monitor" | 565 "name": "shutdown_device_monitor" |
| 541 }, | 566 }, |
| 542 { | 567 { |
| 543 "cmd": [ | 568 "cmd": [ |
| 544 "python", | 569 "python", |
| 545 "-u", | 570 "-u", |
| 546 "[SLAVE_BUILD]/src/build/android/adb_logcat_printer.py", | 571 "[SLAVE_BUILD]/src/build/android/adb_logcat_printer.py", |
| 547 "--output-path", | 572 "--output-path", |
| 548 "[SLAVE_BUILD]/src/out/Debug/full_log", | 573 "[SLAVE_BUILD]/src/out/Debug/full_log", |
| 549 "[SLAVE_BUILD]/src/out/logcat" | 574 "[SLAVE_BUILD]/src/out/logcat" |
| 550 ], | 575 ], |
| 576 "env": { |
| 577 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
| 578 "LLVM_FORCE_HEAD_REVISION": "YES", |
| 579 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
| 580 }, |
| 551 "name": "logcat_dump" | 581 "name": "logcat_dump" |
| 552 }, | 582 }, |
| 553 { | 583 { |
| 554 "cmd": [ | 584 "cmd": [ |
| 555 "python", | 585 "python", |
| 556 "-u", | 586 "-u", |
| 557 "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py", | 587 "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py", |
| 558 "--", | 588 "--", |
| 559 "[DEPOT_TOOLS]/gsutil.py", | 589 "[DEPOT_TOOLS]/gsutil.py", |
| 560 "--force-version", | 590 "--force-version", |
| 561 "4.7", | 591 "4.7", |
| 562 "-o", | 592 "-o", |
| 563 "GSUtil:parallel_composite_upload_threshold=50M", | 593 "GSUtil:parallel_composite_upload_threshold=50M", |
| 564 "----", | 594 "----", |
| 565 "cp", | 595 "cp", |
| 566 "[SLAVE_BUILD]/src/out/Debug/full_log", | 596 "[SLAVE_BUILD]/src/out/Debug/full_log", |
| 567 "gs://chromium-android/logcat_dumps/ClangToTAndroidASan tester/571" | 597 "gs://chromium-android/logcat_dumps/ClangToTAndroidASan tester/571" |
| 568 ], | 598 ], |
| 599 "env": { |
| 600 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
| 601 "LLVM_FORCE_HEAD_REVISION": "YES", |
| 602 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
| 603 }, |
| 569 "name": "gsutil upload", | 604 "name": "gsutil upload", |
| 570 "~followup_annotations": [ | 605 "~followup_annotations": [ |
| 571 "@@@STEP_LINK@logcat dump@https://storage.cloud.google.com/chromium-androi
d/logcat_dumps/ClangToTAndroidASan tester/571@@@" | 606 "@@@STEP_LINK@logcat dump@https://storage.cloud.google.com/chromium-androi
d/logcat_dumps/ClangToTAndroidASan tester/571@@@" |
| 572 ] | 607 ] |
| 573 }, | 608 }, |
| 574 { | 609 { |
| 575 "cmd": [ | 610 "cmd": [ |
| 576 "[SLAVE_BUILD]/src/third_party/android_platform/development/scripts/stack"
, | 611 "[SLAVE_BUILD]/src/third_party/android_platform/development/scripts/stack"
, |
| 577 "--arch", | 612 "--arch", |
| 578 "x86", | 613 "x86", |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 616 }, | 651 }, |
| 617 "name": "stack_tool_for_asan" | 652 "name": "stack_tool_for_asan" |
| 618 }, | 653 }, |
| 619 { | 654 { |
| 620 "cmd": [ | 655 "cmd": [ |
| 621 "python", | 656 "python", |
| 622 "-u", | 657 "-u", |
| 623 "\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", | 658 "\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", |
| 624 "[SLAVE_BUILD]/src/out/Debug/test_logs/*.log" | 659 "[SLAVE_BUILD]/src/out/Debug/test_logs/*.log" |
| 625 ], | 660 ], |
| 661 "env": { |
| 662 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
| 663 "LLVM_FORCE_HEAD_REVISION": "YES", |
| 664 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
| 665 }, |
| 626 "name": "test_report", | 666 "name": "test_report", |
| 627 "~followup_annotations": [ | 667 "~followup_annotations": [ |
| 628 "@@@STEP_LOG_LINE@python.inline@@@@", | 668 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 629 "@@@STEP_LOG_LINE@python.inline@import glob, os, sys@@@", | 669 "@@@STEP_LOG_LINE@python.inline@import glob, os, sys@@@", |
| 630 "@@@STEP_LOG_LINE@python.inline@for report in glob.glob(sys.argv[1]):@@@", | 670 "@@@STEP_LOG_LINE@python.inline@for report in glob.glob(sys.argv[1]):@@@", |
| 631 "@@@STEP_LOG_LINE@python.inline@ with open(report, 'r') as f:@@@", | 671 "@@@STEP_LOG_LINE@python.inline@ with open(report, 'r') as f:@@@", |
| 632 "@@@STEP_LOG_LINE@python.inline@ for l in f.readlines():@@@", | 672 "@@@STEP_LOG_LINE@python.inline@ for l in f.readlines():@@@", |
| 633 "@@@STEP_LOG_LINE@python.inline@ print l@@@", | 673 "@@@STEP_LOG_LINE@python.inline@ print l@@@", |
| 634 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", | 674 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", |
| 635 "@@@STEP_LOG_END@python.inline@@@" | 675 "@@@STEP_LOG_END@python.inline@@@" |
| 636 ] | 676 ] |
| 637 }, | 677 }, |
| 638 { | 678 { |
| 639 "name": "$result", | 679 "name": "$result", |
| 640 "recipe_result": null, | 680 "recipe_result": null, |
| 641 "status_code": 0 | 681 "status_code": 0 |
| 642 } | 682 } |
| 643 ] | 683 ] |
| OLD | NEW |