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/tester_offline_devices.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 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
483 "--blacklist-file", 483 "--blacklist-file",
484 "[SLAVE_BUILD]/src/out/bad_devices.json" 484 "[SLAVE_BUILD]/src/out/bad_devices.json"
485 ], 485 ],
486 "cwd": "[SLAVE_BUILD]", 486 "cwd": "[SLAVE_BUILD]",
487 "env": { 487 "env": {
488 "BUILDTYPE": "Release" 488 "BUILDTYPE": "Release"
489 }, 489 },
490 "name": "Monkey Test" 490 "name": "Monkey Test"
491 }, 491 },
492 { 492 {
493 "cmd": [],
494 "cwd": "[SLAVE_BUILD]",
495 "name": "AndroidWebViewTest"
496 },
497 {
498 "cmd": [
499 "[BUILD]/scripts/slave/daemonizer.py",
500 "--",
501 "[SLAVE_BUILD]/src/build/android/adb_logcat_monitor.py",
502 "[TMP_BASE]/logcat_tmp_1"
503 ],
504 "cwd": "[SLAVE_BUILD]",
505 "env": {
506 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
507 },
508 "name": "AndroidWebViewTest.spawn_logcat_monitor",
509 "~followup_annotations": [
510 "@@@STEP_NEST_LEVEL@1@@@"
511 ]
512 },
513 {
514 "cmd": [ 493 "cmd": [
515 "[SLAVE_BUILD]/src/build/android/adb_install_apk.py", 494 "[SLAVE_BUILD]/src/build/android/adb_install_apk.py",
516 "[SLAVE_BUILD]/src/out/Release/apks/AndroidWebView.apk", 495 "[SLAVE_BUILD]/src/out/Release/apks/AndroidWebView.apk",
517 "-v", 496 "-v",
518 "--blacklist-file", 497 "--blacklist-file",
519 "[SLAVE_BUILD]/src/out/bad_devices.json", 498 "[SLAVE_BUILD]/src/out/bad_devices.json",
520 "--release" 499 "--release"
521 ], 500 ],
522 "cwd": "[SLAVE_BUILD]", 501 "cwd": "[SLAVE_BUILD]",
523 "env": { 502 "env": {
524 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 503 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
525 }, 504 },
526 "name": "AndroidWebViewTest.install AndroidWebView.apk", 505 "name": "install AndroidWebView.apk"
527 "~followup_annotations": [
528 "@@@STEP_NEST_LEVEL@1@@@"
529 ]
530 }, 506 },
531 { 507 {
532 "cmd": [ 508 "cmd": [
533 "python", 509 "python",
534 "-u", 510 "-u",
535 "[SLAVE_BUILD]/src/build/android/test_runner.py", 511 "[SLAVE_BUILD]/src/build/android/test_runner.py",
536 "instrumentation", 512 "instrumentation",
537 "--test-apk", 513 "--test-apk",
538 "[SLAVE_BUILD]/src/out/Release/apks/AndroidWebViewTest.apk", 514 "[SLAVE_BUILD]/src/out/Release/apks/AndroidWebViewTest.apk",
539 "--blacklist-file", 515 "--blacklist-file",
540 "[SLAVE_BUILD]/src/out/bad_devices.json", 516 "[SLAVE_BUILD]/src/out/bad_devices.json",
541 "--apk-under-test", 517 "--apk-under-test",
542 "[SLAVE_BUILD]/src/out/Release/apks/AndroidWebView.apk", 518 "[SLAVE_BUILD]/src/out/Release/apks/AndroidWebView.apk",
543 "--isolate-file-path", 519 "--isolate-file-path",
544 "android_webview/android_webview_test_apk.isolate", 520 "android_webview/android_webview_test_apk.isolate",
545 "--flakiness-dashboard-server", 521 "--flakiness-dashboard-server",
546 "test-results.appspot.com", 522 "test-results.appspot.com",
547 "-A", 523 "-A",
548 "SmallTest", 524 "SmallTest",
549 "-E", 525 "-E",
550 "FlakyTest", 526 "FlakyTest",
551 "--screenshot", 527 "--screenshot",
552 "--release", 528 "--release",
553 "--host-driven-root", 529 "--host-driven-root",
554 "[SLAVE_BUILD]/src/chrome/test", 530 "[SLAVE_BUILD]/src/chrome/test",
555 "--official-build" 531 "--official-build"
556 ], 532 ],
557 "cwd": "[SLAVE_BUILD]", 533 "cwd": "[SLAVE_BUILD]",
558 "name": "AndroidWebViewTest.Instrumentation test SmallTest", 534 "name": "Instrumentation test SmallTest"
559 "~followup_annotations": [
560 "@@@STEP_NEST_LEVEL@1@@@"
561 ]
562 }, 535 },
563 { 536 {
564 "cmd": [ 537 "cmd": [
565 "python",
566 "-u",
567 "[BUILD]/scripts/slave/tee.py",
568 "/path/to/tmp/logcat",
569 "--",
570 "[SLAVE_BUILD]/src/build/android/adb_logcat_printer.py",
571 "[TMP_BASE]/logcat_tmp_1"
572 ],
573 "cwd": "[SLAVE_BUILD]",
574 "name": "AndroidWebViewTest.logcat_dump",
575 "~followup_annotations": [
576 "@@@STEP_NEST_LEVEL@1@@@"
577 ]
578 },
579 {
580 "cmd": [],
581 "cwd": "[SLAVE_BUILD]",
582 "name": "unittests"
583 },
584 {
585 "cmd": [
586 "[BUILD]/scripts/slave/daemonizer.py",
587 "--",
588 "[SLAVE_BUILD]/src/build/android/adb_logcat_monitor.py",
589 "[TMP_BASE]/logcat_tmp_2"
590 ],
591 "cwd": "[SLAVE_BUILD]",
592 "env": {
593 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
594 },
595 "name": "unittests.spawn_logcat_monitor",
596 "~followup_annotations": [
597 "@@@STEP_NEST_LEVEL@1@@@"
598 ]
599 },
600 {
601 "cmd": [
602 "python", 538 "python",
603 "-u", 539 "-u",
604 "[SLAVE_BUILD]/src/build/android/test_runner.py", 540 "[SLAVE_BUILD]/src/build/android/test_runner.py",
605 "gtest", 541 "gtest",
606 "-s", 542 "-s",
607 "unittests", 543 "unittests",
608 "--blacklist-file", 544 "--blacklist-file",
609 "[SLAVE_BUILD]/src/out/bad_devices.json", 545 "[SLAVE_BUILD]/src/out/bad_devices.json",
610 "--verbose", 546 "--verbose",
611 "--release", 547 "--release",
612 "--isolate_file_path=[SLAVE_BUILD]/src/some_file.isolate", 548 "--isolate_file_path=[SLAVE_BUILD]/src/some_file.isolate",
613 "--gtest_filter=WebRtc*", 549 "--gtest_filter=WebRtc*",
614 "--tool=asan" 550 "--tool=asan"
615 ], 551 ],
616 "cwd": "[SLAVE_BUILD]", 552 "cwd": "[SLAVE_BUILD]",
617 "env": { 553 "env": {
618 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 554 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
619 }, 555 },
620 "name": "unittests.unittests", 556 "name": "unittests"
621 "~followup_annotations": [
622 "@@@STEP_NEST_LEVEL@1@@@"
623 ]
624 }, 557 },
625 { 558 {
626 "cmd": [ 559 "cmd": [
627 "python",
628 "-u",
629 "[BUILD]/scripts/slave/tee.py",
630 "/path/to/tmp/logcat",
631 "--",
632 "[SLAVE_BUILD]/src/build/android/adb_logcat_printer.py",
633 "[TMP_BASE]/logcat_tmp_2"
634 ],
635 "cwd": "[SLAVE_BUILD]",
636 "name": "unittests.logcat_dump",
637 "~followup_annotations": [
638 "@@@STEP_NEST_LEVEL@1@@@"
639 ]
640 },
641 {
642 "cmd": [
643 "[SLAVE_BUILD]/src/tools/prepare-bisect-perf-regression.py", 560 "[SLAVE_BUILD]/src/tools/prepare-bisect-perf-regression.py",
644 "-w", 561 "-w",
645 "[SLAVE_BUILD]" 562 "[SLAVE_BUILD]"
646 ], 563 ],
647 "cwd": "[SLAVE_BUILD]", 564 "cwd": "[SLAVE_BUILD]",
648 "name": "prepare bisect perf regression" 565 "name": "prepare bisect perf regression"
649 }, 566 },
650 { 567 {
651 "cmd": [ 568 "cmd": [
652 "[SLAVE_BUILD]/src/tools/run-bisect-perf-regression.py", 569 "[SLAVE_BUILD]/src/tools/run-bisect-perf-regression.py",
653 "-w", 570 "-w",
654 "[SLAVE_BUILD]", 571 "[SLAVE_BUILD]",
655 "--extra_src", 572 "--extra_src",
656 "test.py", 573 "test.py",
657 "--path_to_config", 574 "--path_to_config",
658 "test.py" 575 "test.py"
659 ], 576 ],
660 "cwd": "[SLAVE_BUILD]", 577 "cwd": "[SLAVE_BUILD]",
661 "name": "run bisect perf regression" 578 "name": "run bisect perf regression"
662 }, 579 },
663 { 580 {
664 "cmd": [ 581 "cmd": [
665 "python", 582 "python",
666 "-u", 583 "-u",
667 "[BUILD]/scripts/slave/tee.py", 584 "[BUILD]/scripts/slave/tee.py",
668 "[SLAVE_BUILD]/src/out/Release/full_logcat", 585 "[SLAVE_BUILD]/src/out/Release/full_log",
669 "--", 586 "--",
670 "[SLAVE_BUILD]/src/build/android/adb_logcat_printer.py", 587 "[SLAVE_BUILD]/src/build/android/adb_logcat_printer.py",
671 "[SLAVE_BUILD]/src/out/logcat_dir" 588 "[SLAVE_BUILD]/src/out/logcat"
672 ], 589 ],
673 "cwd": "[SLAVE_BUILD]", 590 "cwd": "[SLAVE_BUILD]",
674 "name": "logcat_dump" 591 "name": "logcat_dump"
675 }, 592 },
676 { 593 {
677 "cmd": [ 594 "cmd": [
678 "[SLAVE_BUILD]/src/third_party/android_platform/development/scripts/stack" , 595 "[SLAVE_BUILD]/src/third_party/android_platform/development/scripts/stack" ,
679 "--arch", 596 "--arch",
680 "arm", 597 "arm",
681 "--more-info", 598 "--more-info",
682 "[SLAVE_BUILD]/src/out/Release/full_logcat" 599 "[SLAVE_BUILD]/src/out/Release/full_log"
683 ], 600 ],
684 "cwd": "[SLAVE_BUILD]", 601 "cwd": "[SLAVE_BUILD]",
685 "env": { 602 "env": {
686 "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"
687 }, 604 },
688 "name": "stack_tool_with_logcat_dump" 605 "name": "stack_tool_with_logcat_dump"
689 }, 606 },
690 { 607 {
691 "cmd": [ 608 "cmd": [
692 "[SLAVE_BUILD]/src/build/android/tombstones.py", 609 "[SLAVE_BUILD]/src/build/android/tombstones.py",
693 "-a", 610 "-a",
694 "-s", 611 "-s",
695 "-w" 612 "-w"
696 ], 613 ],
697 "cwd": "[SLAVE_BUILD]", 614 "cwd": "[SLAVE_BUILD]",
698 "env": { 615 "env": {
699 "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"
700 }, 617 },
701 "name": "stack_tool_for_tombstones" 618 "name": "stack_tool_for_tombstones"
702 }, 619 },
703 { 620 {
704 "cmd": [ 621 "cmd": [
705 "[SLAVE_BUILD]/src/build/android/asan_symbolize.py", 622 "[SLAVE_BUILD]/src/build/android/asan_symbolize.py",
706 "-l", 623 "-l",
707 "[SLAVE_BUILD]/src/out/Release/full_logcat" 624 "[SLAVE_BUILD]/src/out/Release/full_log"
708 ], 625 ],
709 "cwd": "[SLAVE_BUILD]", 626 "cwd": "[SLAVE_BUILD]",
710 "env": { 627 "env": {
711 "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"
712 }, 629 },
713 "name": "stack_tool_for_asan" 630 "name": "stack_tool_for_asan"
714 }, 631 },
715 { 632 {
716 "name": "$result", 633 "name": "$result",
717 "recipe_result": null, 634 "recipe_result": null,
718 "status_code": 0 635 "status_code": 0
719 } 636 }
720 ] 637 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698