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

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

Issue 1511403002: Revert "[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 270 matching lines...) Expand 10 before | Expand all | Expand 10 after
281 "@@@STEP_LOG_LINE@python.inline@ subprocess.check_call([adb_path, '-s', d evice, 'wait-for-device'])@@@", 281 "@@@STEP_LOG_LINE@python.inline@ subprocess.check_call([adb_path, '-s', d evice, 'wait-for-device'])@@@",
282 "@@@STEP_LOG_LINE@python.inline@ print 'Finished rooting device %s' % (de vice)@@@", 282 "@@@STEP_LOG_LINE@python.inline@ print 'Finished rooting device %s' % (de vice)@@@",
283 "@@@STEP_LOG_END@python.inline@@@" 283 "@@@STEP_LOG_END@python.inline@@@"
284 ] 284 ]
285 }, 285 },
286 { 286 {
287 "cmd": [ 287 "cmd": [
288 "[BUILD]/scripts/slave/daemonizer.py", 288 "[BUILD]/scripts/slave/daemonizer.py",
289 "--", 289 "--",
290 "[SLAVE_BUILD]/src/build/android/adb_logcat_monitor.py", 290 "[SLAVE_BUILD]/src/build/android/adb_logcat_monitor.py",
291 "[SLAVE_BUILD]/src/out/logcat_dir" 291 "[SLAVE_BUILD]/src/out/logcat"
292 ], 292 ],
293 "cwd": "[SLAVE_BUILD]", 293 "cwd": "[SLAVE_BUILD]",
294 "env": { 294 "env": {
295 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 295 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
296 }, 296 },
297 "name": "spawn_logcat_monitor" 297 "name": "spawn_logcat_monitor"
298 }, 298 },
299 { 299 {
300 "cmd": [ 300 "cmd": [
301 "python", 301 "python",
(...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after
576 "--blacklist-file", 576 "--blacklist-file",
577 "[SLAVE_BUILD]/src/out/bad_devices.json" 577 "[SLAVE_BUILD]/src/out/bad_devices.json"
578 ], 578 ],
579 "cwd": "[SLAVE_BUILD]", 579 "cwd": "[SLAVE_BUILD]",
580 "env": { 580 "env": {
581 "BUILDTYPE": "Release" 581 "BUILDTYPE": "Release"
582 }, 582 },
583 "name": "Monkey Test" 583 "name": "Monkey Test"
584 }, 584 },
585 { 585 {
586 "cmd": [],
587 "cwd": "[SLAVE_BUILD]",
588 "name": "AndroidWebViewTest"
589 },
590 {
591 "cmd": [
592 "[BUILD]/scripts/slave/daemonizer.py",
593 "--",
594 "[SLAVE_BUILD]/src/build/android/adb_logcat_monitor.py",
595 "[TMP_BASE]/logcat_tmp_1"
596 ],
597 "cwd": "[SLAVE_BUILD]",
598 "env": {
599 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
600 },
601 "name": "AndroidWebViewTest.spawn_logcat_monitor",
602 "~followup_annotations": [
603 "@@@STEP_NEST_LEVEL@1@@@"
604 ]
605 },
606 {
607 "cmd": [ 586 "cmd": [
608 "[SLAVE_BUILD]/src/build/android/adb_install_apk.py", 587 "[SLAVE_BUILD]/src/build/android/adb_install_apk.py",
609 "[SLAVE_BUILD]/src/out/Release/apks/AndroidWebView.apk", 588 "[SLAVE_BUILD]/src/out/Release/apks/AndroidWebView.apk",
610 "-v", 589 "-v",
611 "--blacklist-file", 590 "--blacklist-file",
612 "[SLAVE_BUILD]/src/out/bad_devices.json", 591 "[SLAVE_BUILD]/src/out/bad_devices.json",
613 "--release" 592 "--release"
614 ], 593 ],
615 "cwd": "[SLAVE_BUILD]", 594 "cwd": "[SLAVE_BUILD]",
616 "env": { 595 "env": {
617 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 596 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
618 }, 597 },
619 "name": "AndroidWebViewTest.install AndroidWebView.apk", 598 "name": "install AndroidWebView.apk"
620 "~followup_annotations": [
621 "@@@STEP_NEST_LEVEL@1@@@"
622 ]
623 }, 599 },
624 { 600 {
625 "cmd": [ 601 "cmd": [
626 "python", 602 "python",
627 "-u", 603 "-u",
628 "[SLAVE_BUILD]/src/build/android/test_runner.py", 604 "[SLAVE_BUILD]/src/build/android/test_runner.py",
629 "instrumentation", 605 "instrumentation",
630 "--test-apk", 606 "--test-apk",
631 "[SLAVE_BUILD]/src/out/Release/apks/AndroidWebViewTest.apk", 607 "[SLAVE_BUILD]/src/out/Release/apks/AndroidWebViewTest.apk",
632 "--blacklist-file", 608 "--blacklist-file",
633 "[SLAVE_BUILD]/src/out/bad_devices.json", 609 "[SLAVE_BUILD]/src/out/bad_devices.json",
634 "--apk-under-test", 610 "--apk-under-test",
635 "[SLAVE_BUILD]/src/out/Release/apks/AndroidWebView.apk", 611 "[SLAVE_BUILD]/src/out/Release/apks/AndroidWebView.apk",
636 "--isolate-file-path", 612 "--isolate-file-path",
637 "android_webview/android_webview_test_apk.isolate", 613 "android_webview/android_webview_test_apk.isolate",
638 "--flakiness-dashboard-server", 614 "--flakiness-dashboard-server",
639 "test-results.appspot.com", 615 "test-results.appspot.com",
640 "-A", 616 "-A",
641 "SmallTest", 617 "SmallTest",
642 "-E", 618 "-E",
643 "FlakyTest", 619 "FlakyTest",
644 "--screenshot", 620 "--screenshot",
645 "--release", 621 "--release",
646 "--host-driven-root", 622 "--host-driven-root",
647 "[SLAVE_BUILD]/src/chrome/test", 623 "[SLAVE_BUILD]/src/chrome/test",
648 "--official-build" 624 "--official-build"
649 ], 625 ],
650 "cwd": "[SLAVE_BUILD]", 626 "cwd": "[SLAVE_BUILD]",
651 "name": "AndroidWebViewTest.Instrumentation test SmallTest", 627 "name": "Instrumentation test SmallTest"
652 "~followup_annotations": [
653 "@@@STEP_NEST_LEVEL@1@@@"
654 ]
655 }, 628 },
656 { 629 {
657 "cmd": [ 630 "cmd": [
658 "python",
659 "-u",
660 "[BUILD]/scripts/slave/tee.py",
661 "/path/to/tmp/logcat",
662 "--",
663 "[SLAVE_BUILD]/src/build/android/adb_logcat_printer.py",
664 "[TMP_BASE]/logcat_tmp_1"
665 ],
666 "cwd": "[SLAVE_BUILD]",
667 "name": "AndroidWebViewTest.logcat_dump",
668 "~followup_annotations": [
669 "@@@STEP_NEST_LEVEL@1@@@"
670 ]
671 },
672 {
673 "cmd": [],
674 "cwd": "[SLAVE_BUILD]",
675 "name": "unittests"
676 },
677 {
678 "cmd": [
679 "[BUILD]/scripts/slave/daemonizer.py",
680 "--",
681 "[SLAVE_BUILD]/src/build/android/adb_logcat_monitor.py",
682 "[TMP_BASE]/logcat_tmp_2"
683 ],
684 "cwd": "[SLAVE_BUILD]",
685 "env": {
686 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
687 },
688 "name": "unittests.spawn_logcat_monitor",
689 "~followup_annotations": [
690 "@@@STEP_NEST_LEVEL@1@@@"
691 ]
692 },
693 {
694 "cmd": [
695 "python", 631 "python",
696 "-u", 632 "-u",
697 "[SLAVE_BUILD]/src/build/android/test_runner.py", 633 "[SLAVE_BUILD]/src/build/android/test_runner.py",
698 "gtest", 634 "gtest",
699 "-s", 635 "-s",
700 "unittests", 636 "unittests",
701 "--blacklist-file", 637 "--blacklist-file",
702 "[SLAVE_BUILD]/src/out/bad_devices.json", 638 "[SLAVE_BUILD]/src/out/bad_devices.json",
703 "--verbose", 639 "--verbose",
704 "--release", 640 "--release",
705 "--isolate_file_path=[SLAVE_BUILD]/src/some_file.isolate", 641 "--isolate_file_path=[SLAVE_BUILD]/src/some_file.isolate",
706 "--gtest_filter=WebRtc*", 642 "--gtest_filter=WebRtc*",
707 "--tool=asan" 643 "--tool=asan"
708 ], 644 ],
709 "cwd": "[SLAVE_BUILD]", 645 "cwd": "[SLAVE_BUILD]",
710 "env": { 646 "env": {
711 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 647 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
712 }, 648 },
713 "name": "unittests.unittests", 649 "name": "unittests"
714 "~followup_annotations": [
715 "@@@STEP_NEST_LEVEL@1@@@"
716 ]
717 }, 650 },
718 { 651 {
719 "cmd": [ 652 "cmd": [
720 "python",
721 "-u",
722 "[BUILD]/scripts/slave/tee.py",
723 "/path/to/tmp/logcat",
724 "--",
725 "[SLAVE_BUILD]/src/build/android/adb_logcat_printer.py",
726 "[TMP_BASE]/logcat_tmp_2"
727 ],
728 "cwd": "[SLAVE_BUILD]",
729 "name": "unittests.logcat_dump",
730 "~followup_annotations": [
731 "@@@STEP_NEST_LEVEL@1@@@"
732 ]
733 },
734 {
735 "cmd": [
736 "[SLAVE_BUILD]/src/tools/prepare-bisect-perf-regression.py", 653 "[SLAVE_BUILD]/src/tools/prepare-bisect-perf-regression.py",
737 "-w", 654 "-w",
738 "[SLAVE_BUILD]" 655 "[SLAVE_BUILD]"
739 ], 656 ],
740 "cwd": "[SLAVE_BUILD]", 657 "cwd": "[SLAVE_BUILD]",
741 "name": "prepare bisect perf regression" 658 "name": "prepare bisect perf regression"
742 }, 659 },
743 { 660 {
744 "cmd": [ 661 "cmd": [
745 "[SLAVE_BUILD]/src/tools/run-bisect-perf-regression.py", 662 "[SLAVE_BUILD]/src/tools/run-bisect-perf-regression.py",
746 "-w", 663 "-w",
747 "[SLAVE_BUILD]", 664 "[SLAVE_BUILD]",
748 "--extra_src", 665 "--extra_src",
749 "test.py", 666 "test.py",
750 "--path_to_config", 667 "--path_to_config",
751 "test.py" 668 "test.py"
752 ], 669 ],
753 "cwd": "[SLAVE_BUILD]", 670 "cwd": "[SLAVE_BUILD]",
754 "name": "run bisect perf regression" 671 "name": "run bisect perf regression"
755 }, 672 },
756 { 673 {
757 "cmd": [ 674 "cmd": [
758 "python", 675 "python",
759 "-u", 676 "-u",
760 "[BUILD]/scripts/slave/tee.py", 677 "[BUILD]/scripts/slave/tee.py",
761 "[SLAVE_BUILD]/src/out/Release/full_logcat", 678 "[SLAVE_BUILD]/src/out/Release/full_log",
762 "--", 679 "--",
763 "[SLAVE_BUILD]/src/build/android/adb_logcat_printer.py", 680 "[SLAVE_BUILD]/src/build/android/adb_logcat_printer.py",
764 "[SLAVE_BUILD]/src/out/logcat_dir" 681 "[SLAVE_BUILD]/src/out/logcat"
765 ], 682 ],
766 "cwd": "[SLAVE_BUILD]", 683 "cwd": "[SLAVE_BUILD]",
767 "name": "logcat_dump" 684 "name": "logcat_dump"
768 }, 685 },
769 { 686 {
770 "cmd": [ 687 "cmd": [
771 "[SLAVE_BUILD]/src/third_party/android_platform/development/scripts/stack" , 688 "[SLAVE_BUILD]/src/third_party/android_platform/development/scripts/stack" ,
772 "--arch", 689 "--arch",
773 "arm", 690 "arm",
774 "--more-info", 691 "--more-info",
775 "[SLAVE_BUILD]/src/out/Release/full_logcat" 692 "[SLAVE_BUILD]/src/out/Release/full_log"
776 ], 693 ],
777 "cwd": "[SLAVE_BUILD]", 694 "cwd": "[SLAVE_BUILD]",
778 "env": { 695 "env": {
779 "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"
780 }, 697 },
781 "name": "stack_tool_with_logcat_dump" 698 "name": "stack_tool_with_logcat_dump"
782 }, 699 },
783 { 700 {
784 "cmd": [ 701 "cmd": [
785 "[SLAVE_BUILD]/src/build/android/tombstones.py", 702 "[SLAVE_BUILD]/src/build/android/tombstones.py",
786 "-a", 703 "-a",
787 "-s", 704 "-s",
788 "-w" 705 "-w"
789 ], 706 ],
790 "cwd": "[SLAVE_BUILD]", 707 "cwd": "[SLAVE_BUILD]",
791 "env": { 708 "env": {
792 "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"
793 }, 710 },
794 "name": "stack_tool_for_tombstones" 711 "name": "stack_tool_for_tombstones"
795 }, 712 },
796 { 713 {
797 "cmd": [ 714 "cmd": [
798 "[SLAVE_BUILD]/src/build/android/asan_symbolize.py", 715 "[SLAVE_BUILD]/src/build/android/asan_symbolize.py",
799 "-l", 716 "-l",
800 "[SLAVE_BUILD]/src/out/Release/full_logcat" 717 "[SLAVE_BUILD]/src/out/Release/full_log"
801 ], 718 ],
802 "cwd": "[SLAVE_BUILD]", 719 "cwd": "[SLAVE_BUILD]",
803 "env": { 720 "env": {
804 "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"
805 }, 722 },
806 "name": "stack_tool_for_asan" 723 "name": "stack_tool_for_asan"
807 }, 724 },
808 { 725 {
809 "name": "$result", 726 "name": "$result",
810 "recipe_result": null, 727 "recipe_result": null,
811 "status_code": 0 728 "status_code": 0
812 } 729 }
813 ] 730 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698