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

Side by Side Diff: scripts/slave/recipe_modules/cronet/example.expected/local_test.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 "\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 228 matching lines...) Expand 10 before | Expand all | Expand 10 after
239 "name": "gsutil upload_cronet_package", 239 "name": "gsutil upload_cronet_package",
240 "~followup_annotations": [ 240 "~followup_annotations": [
241 "@@@STEP_LINK@Cronet package@https://storage.cloud.google.com/chromium-cro net/android/37.0.2021.0/Debug@@@" 241 "@@@STEP_LINK@Cronet package@https://storage.cloud.google.com/chromium-cro net/android/37.0.2021.0/Debug@@@"
242 ] 242 ]
243 }, 243 },
244 { 244 {
245 "cmd": [ 245 "cmd": [
246 "[BUILD]/scripts/slave/daemonizer.py", 246 "[BUILD]/scripts/slave/daemonizer.py",
247 "--", 247 "--",
248 "[SLAVE_BUILD]/src/build/android/adb_logcat_monitor.py", 248 "[SLAVE_BUILD]/src/build/android/adb_logcat_monitor.py",
249 "[SLAVE_BUILD]/src/out/logcat" 249 "[SLAVE_BUILD]/src/out/logcat_dir"
250 ], 250 ],
251 "cwd": "[SLAVE_BUILD]", 251 "cwd": "[SLAVE_BUILD]",
252 "env": { 252 "env": {
253 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 253 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
254 }, 254 },
255 "name": "spawn_logcat_monitor" 255 "name": "spawn_logcat_monitor"
256 }, 256 },
257 { 257 {
258 "cmd": [ 258 "cmd": [
259 "python", 259 "python",
(...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after
512 "name": "shutdown_device_monitor" 512 "name": "shutdown_device_monitor"
513 }, 513 },
514 { 514 {
515 "cmd": [ 515 "cmd": [
516 "python", 516 "python",
517 "-u", 517 "-u",
518 "[BUILD]/scripts/slave/tee.py", 518 "[BUILD]/scripts/slave/tee.py",
519 "[SLAVE_BUILD]/src/out/Debug/full_log", 519 "[SLAVE_BUILD]/src/out/Debug/full_log",
520 "--", 520 "--",
521 "[SLAVE_BUILD]/src/build/android/adb_logcat_printer.py", 521 "[SLAVE_BUILD]/src/build/android/adb_logcat_printer.py",
522 "[SLAVE_BUILD]/src/out/logcat" 522 "[SLAVE_BUILD]/src/out/logcat_dir"
523 ], 523 ],
524 "cwd": "[SLAVE_BUILD]", 524 "cwd": "[SLAVE_BUILD]",
525 "name": "logcat_dump" 525 "name": "logcat_dump"
526 }, 526 },
527 { 527 {
528 "cmd": [ 528 "cmd": [
529 "[SLAVE_BUILD]/src/third_party/android_platform/development/scripts/stack" , 529 "[SLAVE_BUILD]/src/third_party/android_platform/development/scripts/stack" ,
530 "--arch", 530 "--arch",
531 "arm", 531 "arm",
532 "--more-info", 532 "--more-info",
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
570 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", 570 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@",
571 "@@@STEP_LOG_END@python.inline@@@" 571 "@@@STEP_LOG_END@python.inline@@@"
572 ] 572 ]
573 }, 573 },
574 { 574 {
575 "name": "$result", 575 "name": "$result",
576 "recipe_result": null, 576 "recipe_result": null,
577 "status_code": 0 577 "status_code": 0
578 } 578 }
579 ] 579 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698