8 "/sdcard/revenge_of_the_skiabot/resources"
10 "cwd": "[START_DIR]/skia",
12 "name": "mkdir /sdcard/revenge_of_the_skiabot/resources"
18 "\nimport os\nimport subprocess\nimport sys\nhost = sys.argv[1]\ndevice = sys.argv[2]\nfor d, _, fs in os.walk(host):\n p = os.path.relpath(d, host)\n if p != '.' and p.startswith('.'):\n continue\n for f in fs:\n print os.path.join(p,f)\n subprocess.check_call(['adb', 'push',\n os.path.realpath(os.path.join(host, p, f)),\n os.path.join(device, p, f)])\n",
19 "[START_DIR]/skia/resources",
20 "/sdcard/revenge_of_the_skiabot/resources"
23 "name": "push [START_DIR]/skia/resources/* /sdcard/revenge_of_the_skiabot/resources",
24 "~followup_annotations": [
25 "@@@STEP_LOG_LINE@python.inline@@@@",
26 "@@@STEP_LOG_LINE@python.inline@import os@@@",
27 "@@@STEP_LOG_LINE@python.inline@import subprocess@@@",
28 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
29 "@@@STEP_LOG_LINE@python.inline@host = sys.argv[1]@@@",
30 "@@@STEP_LOG_LINE@python.inline@device = sys.argv[2]@@@",
31 "@@@STEP_LOG_LINE@python.inline@for d, _, fs in os.walk(host):@@@",
32 "@@@STEP_LOG_LINE@python.inline@ p = os.path.relpath(d, host)@@@",
33 "@@@STEP_LOG_LINE@python.inline@ if p != '.' and p.startswith('.'):@@@",
34 "@@@STEP_LOG_LINE@python.inline@ continue@@@",
35 "@@@STEP_LOG_LINE@python.inline@ for f in fs:@@@",
36 "@@@STEP_LOG_LINE@python.inline@ print os.path.join(p,f)@@@",
37 "@@@STEP_LOG_LINE@python.inline@ subprocess.check_call(['adb', 'push',@@@",
38 "@@@STEP_LOG_LINE@python.inline@ os.path.realpath(os.path.join(host, p, f)),@@@",
39 "@@@STEP_LOG_LINE@python.inline@ os.path.join(device, p, f)])@@@",
40 "@@@STEP_LOG_END@python.inline@@@"
47 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
48 "[START_DIR]/skia/infra/bots/assets/skp/VERSION",
52 "name": "Get downloaded SKP VERSION"
58 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
60 "[START_DIR]/tmp/SKP_VERSION"
63 "name": "write SKP_VERSION"
70 "/sdcard/revenge_of_the_skiabot/SKP_VERSION"
72 "cwd": "[START_DIR]/skia",
74 "name": "read /sdcard/revenge_of_the_skiabot/SKP_VERSION",
75 "stdout": "/path/to/tmp/"
83 "/sdcard/revenge_of_the_skiabot/SKP_VERSION"
85 "cwd": "[START_DIR]/skia",
87 "name": "rm /sdcard/revenge_of_the_skiabot/SKP_VERSION"
95 "/sdcard/revenge_of_the_skiabot/skps"
97 "cwd": "[START_DIR]/skia",
99 "name": "rm /sdcard/revenge_of_the_skiabot/skps"
107 "/sdcard/revenge_of_the_skiabot/skps"
109 "cwd": "[START_DIR]/skia",
111 "name": "mkdir /sdcard/revenge_of_the_skiabot/skps"
117 "\nimport os\nimport subprocess\nimport sys\nhost = sys.argv[1]\ndevice = sys.argv[2]\nfor d, _, fs in os.walk(host):\n p = os.path.relpath(d, host)\n if p != '.' and p.startswith('.'):\n continue\n for f in fs:\n print os.path.join(p,f)\n subprocess.check_call(['adb', 'push',\n os.path.realpath(os.path.join(host, p, f)),\n os.path.join(device, p, f)])\n",
119 "/sdcard/revenge_of_the_skiabot/skps"
122 "name": "push [START_DIR]/skp/* /sdcard/revenge_of_the_skiabot/skps",
123 "~followup_annotations": [
124 "@@@STEP_LOG_LINE@python.inline@@@@",
125 "@@@STEP_LOG_LINE@python.inline@import os@@@",
126 "@@@STEP_LOG_LINE@python.inline@import subprocess@@@",
127 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
128 "@@@STEP_LOG_LINE@python.inline@host = sys.argv[1]@@@",
129 "@@@STEP_LOG_LINE@python.inline@device = sys.argv[2]@@@",
130 "@@@STEP_LOG_LINE@python.inline@for d, _, fs in os.walk(host):@@@",
131 "@@@STEP_LOG_LINE@python.inline@ p = os.path.relpath(d, host)@@@",
132 "@@@STEP_LOG_LINE@python.inline@ if p != '.' and p.startswith('.'):@@@",
133 "@@@STEP_LOG_LINE@python.inline@ continue@@@",
134 "@@@STEP_LOG_LINE@python.inline@ for f in fs:@@@",
135 "@@@STEP_LOG_LINE@python.inline@ print os.path.join(p,f)@@@",
136 "@@@STEP_LOG_LINE@python.inline@ subprocess.check_call(['adb', 'push',@@@",
137 "@@@STEP_LOG_LINE@python.inline@ os.path.realpath(os.path.join(host, p, f)),@@@",
138 "@@@STEP_LOG_LINE@python.inline@ os.path.join(device, p, f)])@@@",
139 "@@@STEP_LOG_END@python.inline@@@"
146 "[START_DIR]/tmp/SKP_VERSION",
147 "/sdcard/revenge_of_the_skiabot/SKP_VERSION"
149 "cwd": "[START_DIR]/skia",
151 "name": "push [START_DIR]/tmp/SKP_VERSION /sdcard/revenge_of_the_skiabot/SKP_VERSION"
157 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
158 "[START_DIR]/skia/infra/bots/assets/skimage/VERSION",
162 "name": "Get downloaded skimage VERSION"
168 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
170 "[START_DIR]/tmp/SK_IMAGE_VERSION"
173 "name": "write SK_IMAGE_VERSION"
180 "/sdcard/revenge_of_the_skiabot/SK_IMAGE_VERSION"
182 "cwd": "[START_DIR]/skia",
184 "name": "read /sdcard/revenge_of_the_skiabot/SK_IMAGE_VERSION",
185 "stdout": "/path/to/tmp/"
193 "/sdcard/revenge_of_the_skiabot/SK_IMAGE_VERSION"
195 "cwd": "[START_DIR]/skia",
197 "name": "rm /sdcard/revenge_of_the_skiabot/SK_IMAGE_VERSION"
205 "/sdcard/revenge_of_the_skiabot/images"
207 "cwd": "[START_DIR]/skia",
209 "name": "rm /sdcard/revenge_of_the_skiabot/images"
217 "/sdcard/revenge_of_the_skiabot/images"
219 "cwd": "[START_DIR]/skia",
221 "name": "mkdir /sdcard/revenge_of_the_skiabot/images"
227 "\nimport os\nimport subprocess\nimport sys\nhost = sys.argv[1]\ndevice = sys.argv[2]\nfor d, _, fs in os.walk(host):\n p = os.path.relpath(d, host)\n if p != '.' and p.startswith('.'):\n continue\n for f in fs:\n print os.path.join(p,f)\n subprocess.check_call(['adb', 'push',\n os.path.realpath(os.path.join(host, p, f)),\n os.path.join(device, p, f)])\n",
228 "[START_DIR]/skimage",
229 "/sdcard/revenge_of_the_skiabot/images"
232 "name": "push [START_DIR]/skimage/* /sdcard/revenge_of_the_skiabot/images",
233 "~followup_annotations": [
234 "@@@STEP_LOG_LINE@python.inline@@@@",
235 "@@@STEP_LOG_LINE@python.inline@import os@@@",
236 "@@@STEP_LOG_LINE@python.inline@import subprocess@@@",
237 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
238 "@@@STEP_LOG_LINE@python.inline@host = sys.argv[1]@@@",
239 "@@@STEP_LOG_LINE@python.inline@device = sys.argv[2]@@@",
240 "@@@STEP_LOG_LINE@python.inline@for d, _, fs in os.walk(host):@@@",
241 "@@@STEP_LOG_LINE@python.inline@ p = os.path.relpath(d, host)@@@",
242 "@@@STEP_LOG_LINE@python.inline@ if p != '.' and p.startswith('.'):@@@",
243 "@@@STEP_LOG_LINE@python.inline@ continue@@@",
244 "@@@STEP_LOG_LINE@python.inline@ for f in fs:@@@",
245 "@@@STEP_LOG_LINE@python.inline@ print os.path.join(p,f)@@@",
246 "@@@STEP_LOG_LINE@python.inline@ subprocess.check_call(['adb', 'push',@@@",
247 "@@@STEP_LOG_LINE@python.inline@ os.path.realpath(os.path.join(host, p, f)),@@@",
248 "@@@STEP_LOG_LINE@python.inline@ os.path.join(device, p, f)])@@@",
249 "@@@STEP_LOG_END@python.inline@@@"
256 "[START_DIR]/tmp/SK_IMAGE_VERSION",
257 "/sdcard/revenge_of_the_skiabot/SK_IMAGE_VERSION"
259 "cwd": "[START_DIR]/skia",
261 "name": "push [START_DIR]/tmp/SK_IMAGE_VERSION /sdcard/revenge_of_the_skiabot/SK_IMAGE_VERSION"
267 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
268 "[START_DIR]/skia/infra/bots/assets/svg/VERSION",
272 "name": "Get downloaded SVG VERSION"
278 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
280 "[START_DIR]/tmp/SVG_VERSION"
283 "name": "write SVG_VERSION"
290 "/sdcard/revenge_of_the_skiabot/SVG_VERSION"
292 "cwd": "[START_DIR]/skia",
294 "name": "read /sdcard/revenge_of_the_skiabot/SVG_VERSION",
295 "stdout": "/path/to/tmp/"
303 "/sdcard/revenge_of_the_skiabot/SVG_VERSION"
305 "cwd": "[START_DIR]/skia",
307 "name": "rm /sdcard/revenge_of_the_skiabot/SVG_VERSION"
315 "/sdcard/revenge_of_the_skiabot/svgs"
317 "cwd": "[START_DIR]/skia",
319 "name": "rm /sdcard/revenge_of_the_skiabot/svgs"
327 "/sdcard/revenge_of_the_skiabot/svgs"
329 "cwd": "[START_DIR]/skia",
331 "name": "mkdir /sdcard/revenge_of_the_skiabot/svgs"
337 "\nimport os\nimport subprocess\nimport sys\nhost = sys.argv[1]\ndevice = sys.argv[2]\nfor d, _, fs in os.walk(host):\n p = os.path.relpath(d, host)\n if p != '.' and p.startswith('.'):\n continue\n for f in fs:\n print os.path.join(p,f)\n subprocess.check_call(['adb', 'push',\n os.path.realpath(os.path.join(host, p, f)),\n os.path.join(device, p, f)])\n",
339 "/sdcard/revenge_of_the_skiabot/svgs"
342 "name": "push [START_DIR]/svg/* /sdcard/revenge_of_the_skiabot/svgs",
343 "~followup_annotations": [
344 "@@@STEP_LOG_LINE@python.inline@@@@",
345 "@@@STEP_LOG_LINE@python.inline@import os@@@",
346 "@@@STEP_LOG_LINE@python.inline@import subprocess@@@",
347 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
348 "@@@STEP_LOG_LINE@python.inline@host = sys.argv[1]@@@",
349 "@@@STEP_LOG_LINE@python.inline@device = sys.argv[2]@@@",
350 "@@@STEP_LOG_LINE@python.inline@for d, _, fs in os.walk(host):@@@",
351 "@@@STEP_LOG_LINE@python.inline@ p = os.path.relpath(d, host)@@@",
352 "@@@STEP_LOG_LINE@python.inline@ if p != '.' and p.startswith('.'):@@@",
353 "@@@STEP_LOG_LINE@python.inline@ continue@@@",
354 "@@@STEP_LOG_LINE@python.inline@ for f in fs:@@@",
355 "@@@STEP_LOG_LINE@python.inline@ print os.path.join(p,f)@@@",
356 "@@@STEP_LOG_LINE@python.inline@ subprocess.check_call(['adb', 'push',@@@",
357 "@@@STEP_LOG_LINE@python.inline@ os.path.realpath(os.path.join(host, p, f)),@@@",
358 "@@@STEP_LOG_LINE@python.inline@ os.path.join(device, p, f)])@@@",
359 "@@@STEP_LOG_END@python.inline@@@"
366 "[START_DIR]/tmp/SVG_VERSION",
367 "/sdcard/revenge_of_the_skiabot/SVG_VERSION"
369 "cwd": "[START_DIR]/skia",
371 "name": "push [START_DIR]/tmp/SVG_VERSION /sdcard/revenge_of_the_skiabot/SVG_VERSION"
377 "[START_DIR]/out/Debug/nanobench",
380 "cwd": "[START_DIR]/skia",
382 "name": "push nanobench"
388 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
389 "set -x; /data/local/tmp/nanobench --undefok -i /sdcard/revenge_of_the_skiabot/resources --skps /sdcard/revenge_of_the_skiabot/skps --images /sdcard/revenge_of_the_skiabot/images/nanobench --svgs /sdcard/revenge_of_the_skiabot/svgs --nocpu --pre_log --images --gpuStatsDump true --useThermalManager 1,1,10,1000 --scales 1.0 1.1 --config 8888 nonrendering hwui gles glesmsaa4 glesnvpr4 glesnvprdit4 --match ~blurroundrect ~patch_grid ~desk_carsvg ~keymobi_shop_mobileweb_ebay_com.skp ~inc0.gif ~inc1.gif ~incInterlaced.gif ~inc0.jpg ~incGray.jpg ~inc0.wbmp ~inc1.wbmp ~inc0.webp ~inc1.webp ~inc0.ico ~inc1.ico ~inc0.png ~inc1.png ~inc2.png ~inc12.png ~inc13.png ~inc14.png ~inc0.webp ~inc1.webp; echo $? >/data/local/tmp/rc",
390 "[START_DIR]/tmp/nanobench.sh"
393 "name": "write nanobench.sh"
399 "[START_DIR]/tmp/nanobench.sh",
402 "cwd": "[START_DIR]/skia",
404 "name": "push nanobench.sh"
412 "cwd": "[START_DIR]/skia",
420 "\nimport subprocess\nimport sys\nbin_dir = sys.argv[1]\nsh = sys.argv[2]\nsubprocess.check_call(['adb', 'shell', 'sh', bin_dir + sh])\ntry:\n sys.exit(int(subprocess.check_output(['adb', 'shell', 'cat',\n bin_dir + 'rc'])))\nexcept ValueError:\n print \"Couldn't read the return code. Probably killed for OOM.\"\n sys.exit(1)\n",
425 "~followup_annotations": [
426 "@@@STEP_LOG_LINE@python.inline@@@@",
427 "@@@STEP_LOG_LINE@python.inline@import subprocess@@@",
428 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
429 "@@@STEP_LOG_LINE@python.inline@bin_dir = sys.argv[1]@@@",
430 "@@@STEP_LOG_LINE@python.inline@sh = sys.argv[2]@@@",
431 "@@@STEP_LOG_LINE@python.inline@subprocess.check_call(['adb', 'shell', 'sh', bin_dir + sh])@@@",
432 "@@@STEP_LOG_LINE@python.inline@try:@@@",
433 "@@@STEP_LOG_LINE@python.inline@ sys.exit(int(subprocess.check_output(['adb', 'shell', 'cat',@@@",
434 "@@@STEP_LOG_LINE@python.inline@ bin_dir + 'rc'])))@@@",
435 "@@@STEP_LOG_LINE@python.inline@except ValueError:@@@",
436 "@@@STEP_LOG_LINE@python.inline@ print \"Couldn't read the return code. Probably killed for OOM.\"@@@",
437 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@",
438 "@@@STEP_LOG_END@python.inline@@@"
445 "\nimport os\nimport subprocess\nimport sys\nout = sys.argv[1]\nlog = subprocess.check_output(['adb', 'logcat', '-d'])\nfor line in log.split('\\n'):\n tokens = 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_output(['addr2line', '-Cfpe', local, addr])\n line = line.replace(addr, addr + ' ' + sym.strip())\n print line\n",
446 "[START_DIR]/out/Debug"
450 "~followup_annotations": [
451 "@@@STEP_LOG_LINE@python.inline@@@@",
452 "@@@STEP_LOG_LINE@python.inline@import os@@@",
453 "@@@STEP_LOG_LINE@python.inline@import subprocess@@@",
454 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
455 "@@@STEP_LOG_LINE@python.inline@out = sys.argv[1]@@@",
456 "@@@STEP_LOG_LINE@python.inline@log = subprocess.check_output(['adb', 'logcat', '-d'])@@@",
457 "@@@STEP_LOG_LINE@python.inline@for line in log.split('\\n'):@@@",
458 "@@@STEP_LOG_LINE@python.inline@ tokens = line.split()@@@",
459 "@@@STEP_LOG_LINE@python.inline@ if len(tokens) == 11 and tokens[-7] == 'F' and tokens[-3] == 'pc':@@@",
460 "@@@STEP_LOG_LINE@python.inline@ addr, path = tokens[-2:]@@@",
461 "@@@STEP_LOG_LINE@python.inline@ local = os.path.join(out, os.path.basename(path))@@@",
462 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(local):@@@",
463 "@@@STEP_LOG_LINE@python.inline@ sym = subprocess.check_output(['addr2line', '-Cfpe', local, addr])@@@",
464 "@@@STEP_LOG_LINE@python.inline@ line = line.replace(addr, addr + ' ' + sym.strip())@@@",
465 "@@@STEP_LOG_LINE@python.inline@ print line@@@",
466 "@@@STEP_LOG_END@python.inline@@@"
474 "cwd": "[START_DIR]/skia",
476 "name": "kill adb server"
480 "recipe_result": null,