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 396 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
407 "@@@STEP_LOG_LINE@python.inline@ sys.exit(int(subprocess.check_output(['a
db', 'shell', 'cat',@@@", | 407 "@@@STEP_LOG_LINE@python.inline@ sys.exit(int(subprocess.check_output(['a
db', 'shell', 'cat',@@@", |
408 "@@@STEP_LOG_LINE@python.inline@ bi
n_dir + 'rc'])))@@@", | 408 "@@@STEP_LOG_LINE@python.inline@ bi
n_dir + 'rc'])))@@@", |
409 "@@@STEP_LOG_LINE@python.inline@except ValueError:@@@", | 409 "@@@STEP_LOG_LINE@python.inline@except ValueError:@@@", |
410 "@@@STEP_LOG_LINE@python.inline@ print \"Couldn't read the return code.
Probably killed for OOM.\"@@@", | 410 "@@@STEP_LOG_LINE@python.inline@ print \"Couldn't read the return code.
Probably killed for OOM.\"@@@", |
411 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", | 411 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", |
412 "@@@STEP_LOG_END@python.inline@@@" | 412 "@@@STEP_LOG_END@python.inline@@@" |
413 ] | 413 ] |
414 }, | 414 }, |
415 { | 415 { |
416 "cmd": [ | 416 "cmd": [ |
417 "adb", | 417 "python", |
418 "logcat", | 418 "-u", |
419 "-d" | 419 "\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", |
| 420 "[SLAVE_BUILD]/out/Debug" |
420 ], | 421 ], |
421 "cwd": "[SLAVE_BUILD]/skia", | 422 "name": "dump log", |
422 "name": "dump log" | 423 "~followup_annotations": [ |
| 424 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 425 "@@@STEP_LOG_LINE@python.inline@import os@@@", |
| 426 "@@@STEP_LOG_LINE@python.inline@import subprocess@@@", |
| 427 "@@@STEP_LOG_LINE@python.inline@import sys@@@", |
| 428 "@@@STEP_LOG_LINE@python.inline@out = sys.argv[1]@@@", |
| 429 "@@@STEP_LOG_LINE@python.inline@log = subprocess.check_output(['adb', 'log
cat', '-d'])@@@", |
| 430 "@@@STEP_LOG_LINE@python.inline@for line in log.split('\\n'):@@@", |
| 431 "@@@STEP_LOG_LINE@python.inline@ tokens = line.split()@@@", |
| 432 "@@@STEP_LOG_LINE@python.inline@ if len(tokens) == 11 and tokens[-7] == '
F' and tokens[-3] == 'pc':@@@", |
| 433 "@@@STEP_LOG_LINE@python.inline@ addr, path = tokens[-2:]@@@", |
| 434 "@@@STEP_LOG_LINE@python.inline@ local = os.path.join(out, os.path.base
name(path))@@@", |
| 435 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(local):@@@", |
| 436 "@@@STEP_LOG_LINE@python.inline@ sym = subprocess.check_output(['addr
2line', '-Cfpe', local, addr])@@@", |
| 437 "@@@STEP_LOG_LINE@python.inline@ line = line.replace(addr, addr + ' '
+ sym.strip())@@@", |
| 438 "@@@STEP_LOG_LINE@python.inline@ print line@@@", |
| 439 "@@@STEP_LOG_END@python.inline@@@" |
| 440 ] |
423 }, | 441 }, |
424 { | 442 { |
425 "cmd": [ | 443 "cmd": [ |
426 "adb", | 444 "adb", |
427 "reboot" | 445 "reboot" |
428 ], | 446 ], |
429 "cwd": "[SLAVE_BUILD]/skia", | 447 "cwd": "[SLAVE_BUILD]/skia", |
430 "name": "reboot" | 448 "name": "reboot" |
431 }, | 449 }, |
432 { | 450 { |
433 "cmd": [ | 451 "cmd": [ |
434 "adb", | 452 "adb", |
435 "kill-server" | 453 "kill-server" |
436 ], | 454 ], |
437 "cwd": "[SLAVE_BUILD]/skia", | 455 "cwd": "[SLAVE_BUILD]/skia", |
438 "name": "kill adb server" | 456 "name": "kill adb server" |
439 }, | 457 }, |
440 { | 458 { |
441 "name": "$result", | 459 "name": "$result", |
442 "recipe_result": null, | 460 "recipe_result": null, |
443 "status_code": 0 | 461 "status_code": 0 |
444 } | 462 } |
445 ] | 463 ] |
OLD | NEW |