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

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

Powered by Google App Engine
This is Rietveld 408576698