OLD | NEW |
1 [ | 1 [ |
2 { | 2 { |
3 "cmd": [ | 3 "cmd": [ |
4 "adb", | 4 "adb", |
5 "shell", | 5 "shell", |
6 "mkdir", | 6 "mkdir", |
7 "-p", | 7 "-p", |
8 "/sdcard/revenge_of_the_skiabot/resources" | 8 "/sdcard/revenge_of_the_skiabot/resources" |
9 ], | 9 ], |
10 "cwd": "[SLAVE_BUILD]/skia", | 10 "cwd": "[SLAVE_BUILD]/skia", |
(...skipping 450 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
461 "adb", | 461 "adb", |
462 "pull", | 462 "pull", |
463 "/sdcard/revenge_of_the_skiabot/perf", | 463 "/sdcard/revenge_of_the_skiabot/perf", |
464 "[CUSTOM_[SWARM_OUT_DIR]]/perfdata/Perf-Android-Clang-Nexus6-GPU-Adreno420
-arm-Release-GN_Android/data" | 464 "[CUSTOM_[SWARM_OUT_DIR]]/perfdata/Perf-Android-Clang-Nexus6-GPU-Adreno420
-arm-Release-GN_Android/data" |
465 ], | 465 ], |
466 "cwd": "[SLAVE_BUILD]/skia", | 466 "cwd": "[SLAVE_BUILD]/skia", |
467 "name": "pull /sdcard/revenge_of_the_skiabot/perf [CUSTOM_[SWARM_OUT_DIR]]/p
erfdata/Perf-Android-Clang-Nexus6-GPU-Adreno420-arm-Release-GN_Android/data" | 467 "name": "pull /sdcard/revenge_of_the_skiabot/perf [CUSTOM_[SWARM_OUT_DIR]]/p
erfdata/Perf-Android-Clang-Nexus6-GPU-Adreno420-arm-Release-GN_Android/data" |
468 }, | 468 }, |
469 { | 469 { |
470 "cmd": [ | 470 "cmd": [ |
471 "adb", | 471 "python", |
472 "logcat", | 472 "-u", |
473 "-d" | 473 "\nimport os\nimport subprocess\nimport sys\nout = sys.argv[1]\nlog = subp
rocess.check_output(['adb', 'logcat', '-d'])\nfor line in log.split('\\n'):\n t
okens = line.split()\n if len(tokens) == 11 and tokens[-7] == 'F' and tokens[-3
] == 'pc':\n addr, path = tokens[-2:]\n local = os.path.join(out, os.path.
basename(path))\n if os.path.exists(local):\n sym = subprocess.check_out
put(['addr2line', '-Cfpe', local, addr])\n line = line.replace(addr, addr +
' ' + sym.strip())\n print line\n", |
| 474 "[SLAVE_BUILD]/out/Release" |
474 ], | 475 ], |
475 "cwd": "[SLAVE_BUILD]/skia", | 476 "name": "dump log", |
476 "name": "dump log" | 477 "~followup_annotations": [ |
| 478 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 479 "@@@STEP_LOG_LINE@python.inline@import os@@@", |
| 480 "@@@STEP_LOG_LINE@python.inline@import subprocess@@@", |
| 481 "@@@STEP_LOG_LINE@python.inline@import sys@@@", |
| 482 "@@@STEP_LOG_LINE@python.inline@out = sys.argv[1]@@@", |
| 483 "@@@STEP_LOG_LINE@python.inline@log = subprocess.check_output(['adb', 'log
cat', '-d'])@@@", |
| 484 "@@@STEP_LOG_LINE@python.inline@for line in log.split('\\n'):@@@", |
| 485 "@@@STEP_LOG_LINE@python.inline@ tokens = line.split()@@@", |
| 486 "@@@STEP_LOG_LINE@python.inline@ if len(tokens) == 11 and tokens[-7] == '
F' and tokens[-3] == 'pc':@@@", |
| 487 "@@@STEP_LOG_LINE@python.inline@ addr, path = tokens[-2:]@@@", |
| 488 "@@@STEP_LOG_LINE@python.inline@ local = os.path.join(out, os.path.base
name(path))@@@", |
| 489 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(local):@@@", |
| 490 "@@@STEP_LOG_LINE@python.inline@ sym = subprocess.check_output(['addr
2line', '-Cfpe', local, addr])@@@", |
| 491 "@@@STEP_LOG_LINE@python.inline@ line = line.replace(addr, addr + ' '
+ sym.strip())@@@", |
| 492 "@@@STEP_LOG_LINE@python.inline@ print line@@@", |
| 493 "@@@STEP_LOG_END@python.inline@@@" |
| 494 ] |
477 }, | 495 }, |
478 { | 496 { |
479 "cmd": [ | 497 "cmd": [ |
480 "adb", | 498 "adb", |
481 "reboot" | 499 "reboot" |
482 ], | 500 ], |
483 "cwd": "[SLAVE_BUILD]/skia", | 501 "cwd": "[SLAVE_BUILD]/skia", |
484 "name": "reboot" | 502 "name": "reboot" |
485 }, | 503 }, |
486 { | 504 { |
487 "cmd": [ | 505 "cmd": [ |
488 "adb", | 506 "adb", |
489 "kill-server" | 507 "kill-server" |
490 ], | 508 ], |
491 "cwd": "[SLAVE_BUILD]/skia", | 509 "cwd": "[SLAVE_BUILD]/skia", |
492 "name": "kill adb server" | 510 "name": "kill adb server" |
493 }, | 511 }, |
494 { | 512 { |
495 "name": "$result", | 513 "name": "$result", |
496 "recipe_result": null, | 514 "recipe_result": null, |
497 "status_code": 0 | 515 "status_code": 0 |
498 } | 516 } |
499 ] | 517 ] |
OLD | NEW |