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

Side by Side Diff: scripts/slave/recipe_modules/chromium_android/example.expected/tester_offline_devices.json

Issue 1465343002: [Android] Add context manager to record logcat during step(s). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Created 5 years 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 | Annotate | Revision Log
OLDNEW
1 [ 1 [
2 { 2 {
3 "cmd": [ 3 "cmd": [
4 "python", 4 "python",
5 "-u", 5 "-u",
6 "\nimport os, sys\n\nbuild_path = sys.argv[1]\nif os.path.exists(build_pat h):\n for (path, dir, files) in os.walk(build_path):\n for cur_file in files :\n if cur_file.endswith('index.lock'):\n path_to_file = os.path.joi n(path, cur_file)\n print 'deleting %s' % path_to_file\n os.remove (path_to_file)\n", 6 "\nimport os, sys\n\nbuild_path = sys.argv[1]\nif os.path.exists(build_pat h):\n for (path, dir, files) in os.walk(build_path):\n for cur_file in files :\n if cur_file.endswith('index.lock'):\n path_to_file = os.path.joi n(path, cur_file)\n print 'deleting %s' % path_to_file\n os.remove (path_to_file)\n",
7 "[SLAVE_BUILD]" 7 "[SLAVE_BUILD]"
8 ], 8 ],
9 "cwd": "[SLAVE_BUILD]", 9 "cwd": "[SLAVE_BUILD]",
10 "name": "cleanup index.lock", 10 "name": "cleanup index.lock",
(...skipping 564 matching lines...) Expand 10 before | Expand all | Expand 10 after
575 "test.py" 575 "test.py"
576 ], 576 ],
577 "cwd": "[SLAVE_BUILD]", 577 "cwd": "[SLAVE_BUILD]",
578 "name": "run bisect perf regression" 578 "name": "run bisect perf regression"
579 }, 579 },
580 { 580 {
581 "cmd": [ 581 "cmd": [
582 "python", 582 "python",
583 "-u", 583 "-u",
584 "[BUILD]/scripts/slave/tee.py", 584 "[BUILD]/scripts/slave/tee.py",
585 "[SLAVE_BUILD]/src/out/Release/full_log", 585 "[SLAVE_BUILD]/src/out/Release/full_logcat",
586 "--", 586 "--",
587 "[SLAVE_BUILD]/src/build/android/adb_logcat_printer.py", 587 "[SLAVE_BUILD]/src/build/android/adb_logcat_printer.py",
588 "[SLAVE_BUILD]/src/out/logcat" 588 "[SLAVE_BUILD]/src/out/logcat"
589 ], 589 ],
590 "cwd": "[SLAVE_BUILD]", 590 "cwd": "[SLAVE_BUILD]",
591 "name": "logcat_dump" 591 "name": "logcat_dump"
592 }, 592 },
593 { 593 {
594 "cmd": [ 594 "cmd": [
595 "[SLAVE_BUILD]/src/third_party/android_platform/development/scripts/stack" , 595 "[SLAVE_BUILD]/src/third_party/android_platform/development/scripts/stack" ,
596 "--arch", 596 "--arch",
597 "arm", 597 "arm",
598 "--more-info", 598 "--more-info",
599 "[SLAVE_BUILD]/src/out/Release/full_log" 599 "[SLAVE_BUILD]/src/out/Release/full_logcat"
600 ], 600 ],
601 "cwd": "[SLAVE_BUILD]", 601 "cwd": "[SLAVE_BUILD]",
602 "env": { 602 "env": {
603 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 603 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
604 }, 604 },
605 "name": "stack_tool_with_logcat_dump" 605 "name": "stack_tool_with_logcat_dump"
606 }, 606 },
607 { 607 {
608 "cmd": [ 608 "cmd": [
609 "[SLAVE_BUILD]/src/build/android/tombstones.py", 609 "[SLAVE_BUILD]/src/build/android/tombstones.py",
610 "-a", 610 "-a",
611 "-s", 611 "-s",
612 "-w" 612 "-w"
613 ], 613 ],
614 "cwd": "[SLAVE_BUILD]", 614 "cwd": "[SLAVE_BUILD]",
615 "env": { 615 "env": {
616 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 616 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
617 }, 617 },
618 "name": "stack_tool_for_tombstones" 618 "name": "stack_tool_for_tombstones"
619 }, 619 },
620 { 620 {
621 "cmd": [ 621 "cmd": [
622 "[SLAVE_BUILD]/src/build/android/asan_symbolize.py", 622 "[SLAVE_BUILD]/src/build/android/asan_symbolize.py",
623 "-l", 623 "-l",
624 "[SLAVE_BUILD]/src/out/Release/full_log" 624 "[SLAVE_BUILD]/src/out/Release/full_logcat"
625 ], 625 ],
626 "cwd": "[SLAVE_BUILD]", 626 "cwd": "[SLAVE_BUILD]",
627 "env": { 627 "env": {
628 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 628 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
629 }, 629 },
630 "name": "stack_tool_for_asan" 630 "name": "stack_tool_for_asan"
631 }, 631 },
632 { 632 {
633 "name": "$result", 633 "name": "$result",
634 "recipe_result": null, 634 "recipe_result": null,
635 "status_code": 0 635 "status_code": 0
636 } 636 }
637 ] 637 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698