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

Side by Side Diff: scripts/slave/recipe_modules/chromium_android/example.expected/tester_no_devices.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 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 436 matching lines...) Expand 10 before | Expand all | Expand 10 after
447 "env": { 447 "env": {
448 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 448 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
449 }, 449 },
450 "name": "unittests" 450 "name": "unittests"
451 }, 451 },
452 { 452 {
453 "cmd": [ 453 "cmd": [
454 "python", 454 "python",
455 "-u", 455 "-u",
456 "[BUILD]/scripts/slave/tee.py", 456 "[BUILD]/scripts/slave/tee.py",
457 "[SLAVE_BUILD]/src/out/Release/full_log", 457 "[SLAVE_BUILD]/src/out/Release/full_logcat",
458 "--", 458 "--",
459 "[SLAVE_BUILD]/src/build/android/adb_logcat_printer.py", 459 "[SLAVE_BUILD]/src/build/android/adb_logcat_printer.py",
460 "[SLAVE_BUILD]/src/out/logcat" 460 "[SLAVE_BUILD]/src/out/logcat"
461 ], 461 ],
462 "cwd": "[SLAVE_BUILD]", 462 "cwd": "[SLAVE_BUILD]",
463 "name": "logcat_dump" 463 "name": "logcat_dump"
464 }, 464 },
465 { 465 {
466 "cmd": [ 466 "cmd": [
467 "[SLAVE_BUILD]/src/third_party/android_platform/development/scripts/stack" , 467 "[SLAVE_BUILD]/src/third_party/android_platform/development/scripts/stack" ,
468 "--arch", 468 "--arch",
469 "arm", 469 "arm",
470 "--more-info", 470 "--more-info",
471 "[SLAVE_BUILD]/src/out/Release/full_log" 471 "[SLAVE_BUILD]/src/out/Release/full_logcat"
472 ], 472 ],
473 "cwd": "[SLAVE_BUILD]", 473 "cwd": "[SLAVE_BUILD]",
474 "env": { 474 "env": {
475 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 475 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
476 }, 476 },
477 "name": "stack_tool_with_logcat_dump" 477 "name": "stack_tool_with_logcat_dump"
478 }, 478 },
479 { 479 {
480 "cmd": [ 480 "cmd": [
481 "[SLAVE_BUILD]/src/build/android/tombstones.py", 481 "[SLAVE_BUILD]/src/build/android/tombstones.py",
482 "-a", 482 "-a",
483 "-s", 483 "-s",
484 "-w" 484 "-w"
485 ], 485 ],
486 "cwd": "[SLAVE_BUILD]", 486 "cwd": "[SLAVE_BUILD]",
487 "env": { 487 "env": {
488 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 488 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
489 }, 489 },
490 "name": "stack_tool_for_tombstones" 490 "name": "stack_tool_for_tombstones"
491 }, 491 },
492 { 492 {
493 "cmd": [ 493 "cmd": [
494 "[SLAVE_BUILD]/src/build/android/asan_symbolize.py", 494 "[SLAVE_BUILD]/src/build/android/asan_symbolize.py",
495 "-l", 495 "-l",
496 "[SLAVE_BUILD]/src/out/Release/full_log" 496 "[SLAVE_BUILD]/src/out/Release/full_logcat"
497 ], 497 ],
498 "cwd": "[SLAVE_BUILD]", 498 "cwd": "[SLAVE_BUILD]",
499 "env": { 499 "env": {
500 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 500 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
501 }, 501 },
502 "name": "stack_tool_for_asan" 502 "name": "stack_tool_for_asan"
503 }, 503 },
504 { 504 {
505 "name": "$result", 505 "name": "$result",
506 "reason": "Infra Failure: Step('device_status_check') returned 1", 506 "reason": "Infra Failure: Step('device_status_check') returned 1",
507 "status_code": 1 507 "status_code": 1
508 } 508 }
509 ] 509 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698