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

Side by Side Diff: scripts/slave/recipes/chromium.expected/amp_split_recipe_instrumentation_trigger_failure.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: Removed unused config. 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 "[BUILD]/scripts/slave/bot_update.py", 6 "[BUILD]/scripts/slave/bot_update.py",
7 "--master", 7 "--master",
8 "chromium.fyi", 8 "chromium.fyi",
9 "--builder", 9 "--builder",
10 "Android Tests (amp instrumentation test split)", 10 "Android Tests (amp instrumentation test split)",
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after
262 "@@@STEP_LOG_LINE@python.inline@ subprocess.check_call([adb_path, '-s', d evice, 'wait-for-device'])@@@", 262 "@@@STEP_LOG_LINE@python.inline@ subprocess.check_call([adb_path, '-s', d evice, 'wait-for-device'])@@@",
263 "@@@STEP_LOG_LINE@python.inline@ print 'Finished rooting device %s' % (de vice)@@@", 263 "@@@STEP_LOG_LINE@python.inline@ print 'Finished rooting device %s' % (de vice)@@@",
264 "@@@STEP_LOG_END@python.inline@@@" 264 "@@@STEP_LOG_END@python.inline@@@"
265 ] 265 ]
266 }, 266 },
267 { 267 {
268 "cmd": [ 268 "cmd": [
269 "[BUILD]/scripts/slave/daemonizer.py", 269 "[BUILD]/scripts/slave/daemonizer.py",
270 "--", 270 "--",
271 "[SLAVE_BUILD]/src/build/android/adb_logcat_monitor.py", 271 "[SLAVE_BUILD]/src/build/android/adb_logcat_monitor.py",
272 "[SLAVE_BUILD]/src/out/logcat" 272 "[SLAVE_BUILD]/src/out/logcat_dir"
273 ], 273 ],
274 "cwd": "[SLAVE_BUILD]", 274 "cwd": "[SLAVE_BUILD]",
275 "env": { 275 "env": {
276 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 276 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
277 }, 277 },
278 "name": "spawn_logcat_monitor" 278 "name": "spawn_logcat_monitor"
279 }, 279 },
280 { 280 {
281 "cmd": [ 281 "cmd": [
282 "python", 282 "python",
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after
508 "cwd": "[SLAVE_BUILD]", 508 "cwd": "[SLAVE_BUILD]",
509 "name": "[trigger] AndroidWebViewTest", 509 "name": "[trigger] AndroidWebViewTest",
510 "~followup_annotations": [ 510 "~followup_annotations": [
511 "step returned non-zero exit code: 1", 511 "step returned non-zero exit code: 1",
512 "@@@STEP_LOG_LINE@json.output (invalid)@null@@@", 512 "@@@STEP_LOG_LINE@json.output (invalid)@null@@@",
513 "@@@STEP_LOG_END@json.output (invalid)@@@", 513 "@@@STEP_LOG_END@json.output (invalid)@@@",
514 "@@@STEP_FAILURE@@@" 514 "@@@STEP_FAILURE@@@"
515 ] 515 ]
516 }, 516 },
517 { 517 {
518 "cmd": [],
519 "cwd": "[SLAVE_BUILD]",
520 "name": "AndroidWebViewTest"
521 },
522 {
523 "cmd": [
524 "[BUILD]/scripts/slave/daemonizer.py",
525 "--",
526 "[SLAVE_BUILD]/src/build/android/adb_logcat_monitor.py",
527 "[TMP_BASE]/logcat_tmp_1"
528 ],
529 "cwd": "[SLAVE_BUILD]",
530 "env": {
531 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
532 },
533 "name": "AndroidWebViewTest.spawn_logcat_monitor",
534 "~followup_annotations": [
535 "@@@STEP_NEST_LEVEL@1@@@"
536 ]
537 },
538 {
518 "cmd": [ 539 "cmd": [
519 "[SLAVE_BUILD]/src/build/android/adb_install_apk.py", 540 "[SLAVE_BUILD]/src/build/android/adb_install_apk.py",
520 "[SLAVE_BUILD]/src/out/Release/apks/AndroidWebView", 541 "[SLAVE_BUILD]/src/out/Release/apks/AndroidWebView",
521 "-v", 542 "-v",
522 "--blacklist-file", 543 "--blacklist-file",
523 "[SLAVE_BUILD]/src/out/bad_devices.json", 544 "[SLAVE_BUILD]/src/out/bad_devices.json",
524 "--release" 545 "--release"
525 ], 546 ],
526 "cwd": "[SLAVE_BUILD]", 547 "cwd": "[SLAVE_BUILD]",
527 "env": { 548 "env": {
528 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 549 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
529 }, 550 },
530 "name": "install AndroidWebView" 551 "name": "AndroidWebViewTest.install AndroidWebView",
552 "~followup_annotations": [
553 "@@@STEP_NEST_LEVEL@1@@@"
554 ]
531 }, 555 },
532 { 556 {
533 "cmd": [ 557 "cmd": [
534 "python", 558 "python",
535 "-u", 559 "-u",
536 "[SLAVE_BUILD]/src/build/android/test_runner.py", 560 "[SLAVE_BUILD]/src/build/android/test_runner.py",
537 "instrumentation", 561 "instrumentation",
538 "--test-apk", 562 "--test-apk",
539 "[SLAVE_BUILD]/src/out/Release/apks/AndroidWebViewTest", 563 "[SLAVE_BUILD]/src/out/Release/apks/AndroidWebViewTest",
540 "--blacklist-file", 564 "--blacklist-file",
541 "[SLAVE_BUILD]/src/out/bad_devices.json", 565 "[SLAVE_BUILD]/src/out/bad_devices.json",
542 "--apk-under-test", 566 "--apk-under-test",
543 "[SLAVE_BUILD]/src/out/Release/apks/AndroidWebView", 567 "[SLAVE_BUILD]/src/out/Release/apks/AndroidWebView",
544 "--isolate-file-path", 568 "--isolate-file-path",
545 "[SLAVE_BUILD]/src/android_webview/android_webview_test_apk.isolate", 569 "[SLAVE_BUILD]/src/android_webview/android_webview_test_apk.isolate",
546 "--flakiness-dashboard-server", 570 "--flakiness-dashboard-server",
547 "test-results.appspot.com", 571 "test-results.appspot.com",
548 "--verbose", 572 "--verbose",
549 "--release", 573 "--release",
550 "--json-results-file", 574 "--json-results-file",
551 "/path/to/tmp/json" 575 "/path/to/tmp/json"
552 ], 576 ],
553 "cwd": "[SLAVE_BUILD]", 577 "cwd": "[SLAVE_BUILD]",
554 "name": "Instrumentation test AndroidWebViewTest", 578 "name": "AndroidWebViewTest.Instrumentation test AndroidWebViewTest",
555 "~followup_annotations": [ 579 "~followup_annotations": [
556 "@@@STEP_TEXT@<br/>failures:<br/>TestB<br/>@@@" 580 "@@@STEP_NEST_LEVEL@1@@@"
557 ] 581 ]
558 }, 582 },
559 { 583 {
584 "cmd": [
585 "python",
586 "-u",
587 "[BUILD]/scripts/slave/tee.py",
588 "/path/to/tmp/logcat",
589 "--",
590 "[SLAVE_BUILD]/src/build/android/adb_logcat_printer.py",
591 "[TMP_BASE]/logcat_tmp_1"
592 ],
593 "cwd": "[SLAVE_BUILD]",
594 "name": "AndroidWebViewTest.logcat_dump",
595 "~followup_annotations": [
596 "@@@STEP_NEST_LEVEL@1@@@"
597 ]
598 },
599 {
560 "cmd": [ 600 "cmd": [
561 "python", 601 "python",
562 "-u", 602 "-u",
563 "[BUILD]/scripts/slave/daemonizer.py", 603 "[BUILD]/scripts/slave/daemonizer.py",
564 "--action", 604 "--action",
565 "stop", 605 "stop",
566 "--pid-file-path", 606 "--pid-file-path",
567 "/tmp/device_monitor.pid" 607 "/tmp/device_monitor.pid"
568 ], 608 ],
569 "cwd": "[SLAVE_BUILD]", 609 "cwd": "[SLAVE_BUILD]",
570 "name": "shutdown_device_monitor" 610 "name": "shutdown_device_monitor"
571 }, 611 },
572 { 612 {
573 "cmd": [ 613 "cmd": [
574 "python", 614 "python",
575 "-u", 615 "-u",
576 "[BUILD]/scripts/slave/tee.py", 616 "[BUILD]/scripts/slave/tee.py",
577 "[SLAVE_BUILD]/src/out/Release/full_log", 617 "[SLAVE_BUILD]/src/out/Release/full_log",
578 "--", 618 "--",
579 "[SLAVE_BUILD]/src/build/android/adb_logcat_printer.py", 619 "[SLAVE_BUILD]/src/build/android/adb_logcat_printer.py",
580 "[SLAVE_BUILD]/src/out/logcat" 620 "[SLAVE_BUILD]/src/out/logcat_dir"
581 ], 621 ],
582 "cwd": "[SLAVE_BUILD]", 622 "cwd": "[SLAVE_BUILD]",
583 "name": "logcat_dump" 623 "name": "logcat_dump"
584 }, 624 },
585 { 625 {
586 "cmd": [ 626 "cmd": [
587 "[SLAVE_BUILD]/src/third_party/android_platform/development/scripts/stack" , 627 "[SLAVE_BUILD]/src/third_party/android_platform/development/scripts/stack" ,
588 "--arch", 628 "--arch",
589 "arm", 629 "arm",
590 "--more-info", 630 "--more-info",
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
628 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", 668 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@",
629 "@@@STEP_LOG_END@python.inline@@@" 669 "@@@STEP_LOG_END@python.inline@@@"
630 ] 670 ]
631 }, 671 },
632 { 672 {
633 "name": "$result", 673 "name": "$result",
634 "recipe_result": null, 674 "recipe_result": null,
635 "status_code": 0 675 "status_code": 0
636 } 676 }
637 ] 677 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698