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

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

Powered by Google App Engine
This is Rietveld 408576698