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

Side by Side Diff: scripts/slave/recipe_modules/chromium_android/example.expected/basic_builder_basic.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 656 matching lines...) Expand 10 before | Expand all | Expand 10 after
667 "test.py" 667 "test.py"
668 ], 668 ],
669 "cwd": "[SLAVE_BUILD]", 669 "cwd": "[SLAVE_BUILD]",
670 "name": "run bisect perf regression" 670 "name": "run bisect perf regression"
671 }, 671 },
672 { 672 {
673 "cmd": [ 673 "cmd": [
674 "python", 674 "python",
675 "-u", 675 "-u",
676 "[BUILD]/scripts/slave/tee.py", 676 "[BUILD]/scripts/slave/tee.py",
677 "[SLAVE_BUILD]/src/out/Release/full_log", 677 "[SLAVE_BUILD]/src/out/Release/full_logcat",
678 "--", 678 "--",
679 "[SLAVE_BUILD]/src/build/android/adb_logcat_printer.py", 679 "[SLAVE_BUILD]/src/build/android/adb_logcat_printer.py",
680 "[SLAVE_BUILD]/src/out/logcat" 680 "[SLAVE_BUILD]/src/out/logcat"
681 ], 681 ],
682 "cwd": "[SLAVE_BUILD]", 682 "cwd": "[SLAVE_BUILD]",
683 "name": "logcat_dump" 683 "name": "logcat_dump"
684 }, 684 },
685 { 685 {
686 "cmd": [ 686 "cmd": [
687 "[SLAVE_BUILD]/src/third_party/android_platform/development/scripts/stack" , 687 "[SLAVE_BUILD]/src/third_party/android_platform/development/scripts/stack" ,
688 "--arch", 688 "--arch",
689 "arm", 689 "arm",
690 "--more-info", 690 "--more-info",
691 "[SLAVE_BUILD]/src/out/Release/full_log" 691 "[SLAVE_BUILD]/src/out/Release/full_logcat"
692 ], 692 ],
693 "cwd": "[SLAVE_BUILD]", 693 "cwd": "[SLAVE_BUILD]",
694 "env": { 694 "env": {
695 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 695 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
696 }, 696 },
697 "name": "stack_tool_with_logcat_dump" 697 "name": "stack_tool_with_logcat_dump"
698 }, 698 },
699 { 699 {
700 "cmd": [ 700 "cmd": [
701 "[SLAVE_BUILD]/src/build/android/tombstones.py", 701 "[SLAVE_BUILD]/src/build/android/tombstones.py",
702 "-a", 702 "-a",
703 "-s", 703 "-s",
704 "-w" 704 "-w"
705 ], 705 ],
706 "cwd": "[SLAVE_BUILD]", 706 "cwd": "[SLAVE_BUILD]",
707 "env": { 707 "env": {
708 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 708 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
709 }, 709 },
710 "name": "stack_tool_for_tombstones" 710 "name": "stack_tool_for_tombstones"
711 }, 711 },
712 { 712 {
713 "cmd": [ 713 "cmd": [
714 "[SLAVE_BUILD]/src/build/android/asan_symbolize.py", 714 "[SLAVE_BUILD]/src/build/android/asan_symbolize.py",
715 "-l", 715 "-l",
716 "[SLAVE_BUILD]/src/out/Release/full_log" 716 "[SLAVE_BUILD]/src/out/Release/full_logcat"
717 ], 717 ],
718 "cwd": "[SLAVE_BUILD]", 718 "cwd": "[SLAVE_BUILD]",
719 "env": { 719 "env": {
720 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 720 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
721 }, 721 },
722 "name": "stack_tool_for_asan" 722 "name": "stack_tool_for_asan"
723 }, 723 },
724 { 724 {
725 "name": "$result", 725 "name": "$result",
726 "recipe_result": null, 726 "recipe_result": null,
727 "status_code": 0 727 "status_code": 0
728 } 728 }
729 ] 729 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698