Debian Codegraph @

infra/bots/recipes/perf_skottietrace.expected/skottietracing_trybot.json

raw
1 [
2 {
3 "cmd": [
4 "vpython3",
5 "-u",
6 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
7 "--json-output",
8 "/path/to/tmp/json",
9 "ensure-directory",
10 "--mode",
11 "0o777",
12 "[START_DIR]/tmp"
13 ],
14 "infra_step": true,
15 "name": "makedirs tmp_dir"
16 },
17 {
18 "cmd": [
19 "python3",
20 "RECIPE_MODULE[skia::vars]/resources/get_env_var.py",
21 "SWARMING_BOT_ID"
22 ],
23 "name": "get swarming bot id"
24 },
25 {
26 "cmd": [
27 "python3",
28 "RECIPE_MODULE[skia::vars]/resources/get_env_var.py",
29 "SWARMING_BOT_ID"
30 ],
31 "name": "get swarming bot id (2)"
32 },
33 {
34 "cmd": [
35 "python3",
36 "RECIPE_MODULE[skia::flavor]/resources/wait_for_device.py",
37 "--adb",
38 "/usr/bin/adb"
39 ],
40 "env": {
41 "CHROME_HEADLESS": "1",
42 "PATH": "<PATH>:RECIPE_REPO[depot_tools]"
43 },
44 "name": "wait for device",
45 "timeout": 600
46 },
47 {
48 "cmd": [
49 "/usr/bin/adb",
50 "shell",
51 "mkdir",
52 "-p",
53 "/sdcard/revenge_of_the_skiabot/resources"
54 ],
55 "cwd": "[START_DIR]/skia",
56 "env": {
57 "ADB_VENDOR_KEYS": "",
58 "CHROME_HEADLESS": "1",
59 "PATH": "<PATH>:RECIPE_REPO[depot_tools]"
60 },
61 "infra_step": true,
62 "name": "mkdir /sdcard/revenge_of_the_skiabot/resources"
63 },
64 {
65 "cmd": [
66 "python3",
67 "RECIPE_MODULE[skia::flavor]/resources/set_cpu_scaling_governor.py",
68 "/usr/bin/adb",
69 "0",
70 "hotplug"
71 ],
72 "env": {
73 "CHROME_HEADLESS": "1",
74 "PATH": "<PATH>:RECIPE_REPO[depot_tools]"
75 },
76 "infra_step": true,
77 "name": "Set CPU 0's governor to hotplug",
78 "timeout": 30
79 },
80 {
81 "cmd": [
82 "/usr/bin/adb",
83 "push",
84 "[START_DIR]/build/dm",
85 "/data/local/tmp/"
86 ],
87 "cwd": "[START_DIR]/skia",
88 "env": {
89 "ADB_VENDOR_KEYS": "",
90 "CHROME_HEADLESS": "1",
91 "PATH": "<PATH>:RECIPE_REPO[depot_tools]"
92 },
93 "infra_step": true,
94 "name": "push dm"
95 },
96 {
97 "cmd": [],
98 "name": "copy [START_DIR]/skia/resources /sdcard/revenge_of_the_skiabot/resources"
99 },
100 {
101 "cmd": [
102 "vpython3",
103 "-u",
104 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
105 "--json-output",
106 "/path/to/tmp/json",
107 "glob",
108 "[START_DIR]/skia/resources",
109 "*"
110 ],
111 "infra_step": true,
112 "name": "copy [START_DIR]/skia/resources /sdcard/revenge_of_the_skiabot/resources.ls [START_DIR]/skia/resources/*",
113 "~followup_annotations": [
114 "@@@STEP_NEST_LEVEL@1@@@",
115 "@@@STEP_LOG_LINE@glob@[START_DIR]/skia/resources/bar.jpg@@@",
116 "@@@STEP_LOG_LINE@glob@[START_DIR]/skia/resources/foo.png@@@",
117 "@@@STEP_LOG_END@glob@@@"
118 ]
119 },
120 {
121 "cmd": [
122 "/usr/bin/adb",
123 "push",
124 "[START_DIR]/skia/resources/bar.jpg",
125 "/sdcard/revenge_of_the_skiabot/resources"
126 ],
127 "cwd": "[START_DIR]/skia",
128 "env": {
129 "ADB_VENDOR_KEYS": "",
130 "CHROME_HEADLESS": "1",
131 "PATH": "<PATH>:RECIPE_REPO[depot_tools]"
132 },
133 "infra_step": true,
134 "name": "copy [START_DIR]/skia/resources /sdcard/revenge_of_the_skiabot/resources.push [START_DIR]/skia/resources/bar.jpg /sdcard/revenge_of_the_skiabot/resources",
135 "~followup_annotations": [
136 "@@@STEP_NEST_LEVEL@1@@@"
137 ]
138 },
139 {
140 "cmd": [
141 "/usr/bin/adb",
142 "push",
143 "[START_DIR]/skia/resources/foo.png",
144 "/sdcard/revenge_of_the_skiabot/resources"
145 ],
146 "cwd": "[START_DIR]/skia",
147 "env": {
148 "ADB_VENDOR_KEYS": "",
149 "CHROME_HEADLESS": "1",
150 "PATH": "<PATH>:RECIPE_REPO[depot_tools]"
151 },
152 "infra_step": true,
153 "name": "copy [START_DIR]/skia/resources /sdcard/revenge_of_the_skiabot/resources.push [START_DIR]/skia/resources/foo.png /sdcard/revenge_of_the_skiabot/resources",
154 "~followup_annotations": [
155 "@@@STEP_NEST_LEVEL@1@@@"
156 ]
157 },
158 {
159 "cmd": [
160 "vpython3",
161 "-u",
162 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
163 "--json-output",
164 "/path/to/tmp/json",
165 "copy",
166 "[START_DIR]/skia/infra/bots/assets/lottie-samples/VERSION",
167 "/path/to/tmp/"
168 ],
169 "infra_step": true,
170 "name": "Get lottie-samples VERSION",
171 "~followup_annotations": [
172 "@@@STEP_LOG_LINE@VERSION@42@@@",
173 "@@@STEP_LOG_END@VERSION@@@"
174 ]
175 },
176 {
177 "cmd": [
178 "vpython3",
179 "-u",
180 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
181 "--json-output",
182 "/path/to/tmp/json",
183 "copy",
184 "42",
185 "[START_DIR]/tmp/LOTTIE_VERSION"
186 ],
187 "infra_step": true,
188 "name": "write LOTTIE_VERSION",
189 "~followup_annotations": [
190 "@@@STEP_LOG_LINE@LOTTIE_VERSION@42@@@",
191 "@@@STEP_LOG_END@LOTTIE_VERSION@@@"
192 ]
193 },
194 {
195 "cmd": [
196 "/usr/bin/adb",
197 "shell",
198 "test",
199 "-f",
200 "/sdcard/revenge_of_the_skiabot/LOTTIE_VERSION"
201 ],
202 "cwd": "[START_DIR]/skia",
203 "env": {
204 "ADB_VENDOR_KEYS": "",
205 "CHROME_HEADLESS": "1",
206 "PATH": "<PATH>:RECIPE_REPO[depot_tools]"
207 },
208 "infra_step": true,
209 "name": "check if /sdcard/revenge_of_the_skiabot/LOTTIE_VERSION exists"
210 },
211 {
212 "cmd": [
213 "/usr/bin/adb",
214 "shell",
215 "cat",
216 "/sdcard/revenge_of_the_skiabot/LOTTIE_VERSION"
217 ],
218 "cwd": "[START_DIR]/skia",
219 "env": {
220 "ADB_VENDOR_KEYS": "",
221 "CHROME_HEADLESS": "1",
222 "PATH": "<PATH>:RECIPE_REPO[depot_tools]"
223 },
224 "infra_step": true,
225 "name": "read /sdcard/revenge_of_the_skiabot/LOTTIE_VERSION"
226 },
227 {
228 "cmd": [
229 "python3",
230 "RECIPE_MODULE[skia::flavor]/resources/remove_file_on_device.py",
231 "/usr/bin/adb",
232 "/sdcard/revenge_of_the_skiabot/LOTTIE_VERSION"
233 ],
234 "env": {
235 "CHROME_HEADLESS": "1",
236 "PATH": "<PATH>:RECIPE_REPO[depot_tools]"
237 },
238 "infra_step": true,
239 "name": "rm /sdcard/revenge_of_the_skiabot/LOTTIE_VERSION"
240 },
241 {
242 "cmd": [
243 "python3",
244 "RECIPE_MODULE[skia::flavor]/resources/remove_file_on_device.py",
245 "/usr/bin/adb",
246 "/sdcard/revenge_of_the_skiabot/lotties"
247 ],
248 "env": {
249 "CHROME_HEADLESS": "1",
250 "PATH": "<PATH>:RECIPE_REPO[depot_tools]"
251 },
252 "infra_step": true,
253 "name": "rm /sdcard/revenge_of_the_skiabot/lotties"
254 },
255 {
256 "cmd": [
257 "/usr/bin/adb",
258 "shell",
259 "mkdir",
260 "-p",
261 "/sdcard/revenge_of_the_skiabot/lotties"
262 ],
263 "cwd": "[START_DIR]/skia",
264 "env": {
265 "ADB_VENDOR_KEYS": "",
266 "CHROME_HEADLESS": "1",
267 "PATH": "<PATH>:RECIPE_REPO[depot_tools]"
268 },
269 "infra_step": true,
270 "name": "mkdir /sdcard/revenge_of_the_skiabot/lotties"
271 },
272 {
273 "cmd": [],
274 "name": "copy [START_DIR]/lottie-samples /sdcard/revenge_of_the_skiabot/lotties"
275 },
276 {
277 "cmd": [
278 "vpython3",
279 "-u",
280 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
281 "--json-output",
282 "/path/to/tmp/json",
283 "glob",
284 "[START_DIR]/lottie-samples",
285 "*"
286 ],
287 "infra_step": true,
288 "name": "copy [START_DIR]/lottie-samples /sdcard/revenge_of_the_skiabot/lotties.ls [START_DIR]/lottie-samples/*",
289 "~followup_annotations": [
290 "@@@STEP_NEST_LEVEL@1@@@",
291 "@@@STEP_LOG_LINE@glob@[START_DIR]/lottie-samples/bar.jpg@@@",
292 "@@@STEP_LOG_LINE@glob@[START_DIR]/lottie-samples/foo.png@@@",
293 "@@@STEP_LOG_END@glob@@@"
294 ]
295 },
296 {
297 "cmd": [
298 "/usr/bin/adb",
299 "push",
300 "[START_DIR]/lottie-samples/bar.jpg",
301 "/sdcard/revenge_of_the_skiabot/lotties"
302 ],
303 "cwd": "[START_DIR]/skia",
304 "env": {
305 "ADB_VENDOR_KEYS": "",
306 "CHROME_HEADLESS": "1",
307 "PATH": "<PATH>:RECIPE_REPO[depot_tools]"
308 },
309 "infra_step": true,
310 "name": "copy [START_DIR]/lottie-samples /sdcard/revenge_of_the_skiabot/lotties.push [START_DIR]/lottie-samples/bar.jpg /sdcard/revenge_of_the_skiabot/lotties",
311 "~followup_annotations": [
312 "@@@STEP_NEST_LEVEL@1@@@"
313 ]
314 },
315 {
316 "cmd": [
317 "/usr/bin/adb",
318 "push",
319 "[START_DIR]/lottie-samples/foo.png",
320 "/sdcard/revenge_of_the_skiabot/lotties"
321 ],
322 "cwd": "[START_DIR]/skia",
323 "env": {
324 "ADB_VENDOR_KEYS": "",
325 "CHROME_HEADLESS": "1",
326 "PATH": "<PATH>:RECIPE_REPO[depot_tools]"
327 },
328 "infra_step": true,
329 "name": "copy [START_DIR]/lottie-samples /sdcard/revenge_of_the_skiabot/lotties.push [START_DIR]/lottie-samples/foo.png /sdcard/revenge_of_the_skiabot/lotties",
330 "~followup_annotations": [
331 "@@@STEP_NEST_LEVEL@1@@@"
332 ]
333 },
334 {
335 "cmd": [
336 "/usr/bin/adb",
337 "push",
338 "[START_DIR]/tmp/LOTTIE_VERSION",
339 "/sdcard/revenge_of_the_skiabot/LOTTIE_VERSION"
340 ],
341 "cwd": "[START_DIR]/skia",
342 "env": {
343 "ADB_VENDOR_KEYS": "",
344 "CHROME_HEADLESS": "1",
345 "PATH": "<PATH>:RECIPE_REPO[depot_tools]"
346 },
347 "infra_step": true,
348 "name": "push [START_DIR]/tmp/LOTTIE_VERSION /sdcard/revenge_of_the_skiabot/LOTTIE_VERSION"
349 },
350 {
351 "cmd": [
352 "python3",
353 "RECIPE_MODULE[skia::flavor]/resources/remove_file_on_device.py",
354 "/usr/bin/adb",
355 "/sdcard/revenge_of_the_skiabot/dm_out"
356 ],
357 "env": {
358 "CHROME_HEADLESS": "1",
359 "PATH": "<PATH>:RECIPE_REPO[depot_tools]"
360 },
361 "infra_step": true,
362 "name": "rm /sdcard/revenge_of_the_skiabot/dm_out"
363 },
364 {
365 "cmd": [
366 "/usr/bin/adb",
367 "shell",
368 "mkdir",
369 "-p",
370 "/sdcard/revenge_of_the_skiabot/dm_out"
371 ],
372 "cwd": "[START_DIR]/skia",
373 "env": {
374 "ADB_VENDOR_KEYS": "",
375 "CHROME_HEADLESS": "1",
376 "PATH": "<PATH>:RECIPE_REPO[depot_tools]"
377 },
378 "infra_step": true,
379 "name": "mkdir /sdcard/revenge_of_the_skiabot/dm_out"
380 },
381 {
382 "cmd": [
383 "python3",
384 "RECIPE_MODULE[skia::flavor]/resources/remove_file_on_device.py",
385 "/usr/bin/adb",
386 "/sdcard/revenge_of_the_skiabot/lotties_with_assets"
387 ],
388 "env": {
389 "CHROME_HEADLESS": "1",
390 "PATH": "<PATH>:RECIPE_REPO[depot_tools]"
391 },
392 "infra_step": true,
393 "name": "rm /sdcard/revenge_of_the_skiabot/lotties_with_assets"
394 },
395 {
396 "cmd": [
397 "/usr/bin/adb",
398 "shell",
399 "mkdir",
400 "-p",
401 "/sdcard/revenge_of_the_skiabot/lotties_with_assets"
402 ],
403 "cwd": "[START_DIR]/skia",
404 "env": {
405 "ADB_VENDOR_KEYS": "",
406 "CHROME_HEADLESS": "1",
407 "PATH": "<PATH>:RECIPE_REPO[depot_tools]"
408 },
409 "infra_step": true,
410 "name": "mkdir /sdcard/revenge_of_the_skiabot/lotties_with_assets"
411 },
412 {
413 "cmd": [
414 "vpython3",
415 "-u",
416 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
417 "--json-output",
418 "/path/to/tmp/json",
419 "copytree",
420 "[START_DIR]/lotties_with_assets",
421 "[CLEANUP]/lwa_tmp_1/nosymlinks"
422 ],
423 "infra_step": true,
424 "name": "Copying files on host to remove symlinks"
425 },
426 {
427 "cmd": [],
428 "name": "copy [CLEANUP]/lwa_tmp_1/nosymlinks /sdcard/revenge_of_the_skiabot/lotties_with_assets"
429 },
430 {
431 "cmd": [
432 "vpython3",
433 "-u",
434 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
435 "--json-output",
436 "/path/to/tmp/json",
437 "glob",
438 "[CLEANUP]/lwa_tmp_1/nosymlinks",
439 "*"
440 ],
441 "infra_step": true,
442 "name": "copy [CLEANUP]/lwa_tmp_1/nosymlinks /sdcard/revenge_of_the_skiabot/lotties_with_assets.ls [CLEANUP]/lwa_tmp_1/nosymlinks/*",
443 "~followup_annotations": [
444 "@@@STEP_NEST_LEVEL@1@@@",
445 "@@@STEP_LOG_LINE@glob@[CLEANUP]/lwa_tmp_1/nosymlinks/bar.jpg@@@",
446 "@@@STEP_LOG_LINE@glob@[CLEANUP]/lwa_tmp_1/nosymlinks/foo.png@@@",
447 "@@@STEP_LOG_END@glob@@@"
448 ]
449 },
450 {
451 "cmd": [
452 "/usr/bin/adb",
453 "push",
454 "[CLEANUP]/lwa_tmp_1/nosymlinks/bar.jpg",
455 "/sdcard/revenge_of_the_skiabot/lotties_with_assets"
456 ],
457 "cwd": "[START_DIR]/skia",
458 "env": {
459 "ADB_VENDOR_KEYS": "",
460 "CHROME_HEADLESS": "1",
461 "PATH": "<PATH>:RECIPE_REPO[depot_tools]"
462 },
463 "infra_step": true,
464 "name": "copy [CLEANUP]/lwa_tmp_1/nosymlinks /sdcard/revenge_of_the_skiabot/lotties_with_assets.push [CLEANUP]/lwa_tmp_1/nosymlinks/bar.jpg /sdcard/revenge_of_the_skiabot/lotties_with_assets",
465 "~followup_annotations": [
466 "@@@STEP_NEST_LEVEL@1@@@"
467 ]
468 },
469 {
470 "cmd": [
471 "/usr/bin/adb",
472 "push",
473 "[CLEANUP]/lwa_tmp_1/nosymlinks/foo.png",
474 "/sdcard/revenge_of_the_skiabot/lotties_with_assets"
475 ],
476 "cwd": "[START_DIR]/skia",
477 "env": {
478 "ADB_VENDOR_KEYS": "",
479 "CHROME_HEADLESS": "1",
480 "PATH": "<PATH>:RECIPE_REPO[depot_tools]"
481 },
482 "infra_step": true,
483 "name": "copy [CLEANUP]/lwa_tmp_1/nosymlinks /sdcard/revenge_of_the_skiabot/lotties_with_assets.push [CLEANUP]/lwa_tmp_1/nosymlinks/foo.png /sdcard/revenge_of_the_skiabot/lotties_with_assets",
484 "~followup_annotations": [
485 "@@@STEP_NEST_LEVEL@1@@@"
486 ]
487 },
488 {
489 "cmd": [
490 "vpython3",
491 "-u",
492 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
493 "--json-output",
494 "/path/to/tmp/json",
495 "listdir",
496 "[CLEANUP]/lwa_tmp_1/nosymlinks"
497 ],
498 "infra_step": true,
499 "name": "list lottie files",
500 "~followup_annotations": [
501 "@@@STEP_LOG_LINE@listdir@[CLEANUP]/lwa_tmp_1/nosymlinks/skottie_asset_000@@@",
502 "@@@STEP_LOG_LINE@listdir@[CLEANUP]/lwa_tmp_1/nosymlinks/skottie_asset_001@@@",
503 "@@@STEP_LOG_LINE@listdir@[CLEANUP]/lwa_tmp_1/nosymlinks/skottie_asset_002@@@",
504 "@@@STEP_LOG_END@listdir@@@"
505 ]
506 },
507 {
508 "cmd": [
509 "vpython3",
510 "-u",
511 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
512 "--json-output",
513 "/path/to/tmp/json",
514 "copy",
515 "set -x; LD_LIBRARY_PATH=/data/local/tmp/ /data/local/tmp/dm --resourcePath /sdcard/revenge_of_the_skiabot/resources --lotties /sdcard/revenge_of_the_skiabot/lotties_with_assets/skottie_asset_000 --src lottie --nonativeFonts --verbose --traceMatch skottie --trace /sdcard/revenge_of_the_skiabot/dm_out/1.json --match \\^data\\.json\\$ --config gles --nocpu; echo $? >/data/local/tmp/rc",
516 "[START_DIR]/tmp/dm.sh"
517 ],
518 "env": {
519 "CHROME_HEADLESS": "1",
520 "PATH": "<PATH>:RECIPE_REPO[depot_tools]"
521 },
522 "infra_step": true,
523 "name": "write dm.sh",
524 "~followup_annotations": [
525 "@@@[email protected]@set -x; LD_LIBRARY_PATH=/data/local/tmp/ /data/local/tmp/dm --resourcePath /sdcard/revenge_of_the_skiabot/resources --lotties /sdcard/revenge_of_the_skiabot/lotties_with_assets/skottie_asset_000 --src lottie --nonativeFonts --verbose --traceMatch skottie --trace /sdcard/revenge_of_the_skiabot/dm_out/1.json --match \\^data\\.json\\$ --config gles --nocpu; echo $? >/data/local/tmp/rc@@@",
526 "@@@[email protected]@@@"
527 ]
528 },
529 {
530 "cmd": [
531 "/usr/bin/adb",
532 "push",
533 "[START_DIR]/tmp/dm.sh",
534 "/data/local/tmp/"
535 ],
536 "cwd": "[START_DIR]/skia",
537 "env": {
538 "ADB_VENDOR_KEYS": "",
539 "CHROME_HEADLESS": "1",
540 "PATH": "<PATH>:RECIPE_REPO[depot_tools]"
541 },
542 "infra_step": true,
543 "name": "push dm.sh"
544 },
545 {
546 "cmd": [
547 "/usr/bin/adb",
548 "logcat",
549 "-c"
550 ],
551 "cwd": "[START_DIR]/skia",
552 "env": {
553 "ADB_VENDOR_KEYS": "",
554 "CHROME_HEADLESS": "1",
555 "PATH": "<PATH>:RECIPE_REPO[depot_tools]"
556 },
557 "infra_step": true,
558 "name": "clear log"
559 },
560 {
561 "cmd": [
562 "python3",
563 "RECIPE_MODULE[skia::flavor]/resources/run_sh.py",
564 "/data/local/tmp/",
565 "dm.sh",
566 "/usr/bin/adb"
567 ],
568 "env": {
569 "CHROME_HEADLESS": "1",
570 "PATH": "<PATH>:RECIPE_REPO[depot_tools]"
571 },
572 "name": "dm"
573 },
574 {
575 "cmd": [
576 "/usr/bin/adb",
577 "shell",
578 "test",
579 "-f",
580 "/sdcard/revenge_of_the_skiabot/dm_out/1.json"
581 ],
582 "cwd": "[START_DIR]/skia",
583 "env": {
584 "ADB_VENDOR_KEYS": "",
585 "CHROME_HEADLESS": "1",
586 "PATH": "<PATH>:RECIPE_REPO[depot_tools]"
587 },
588 "infra_step": true,
589 "name": "check if /sdcard/revenge_of_the_skiabot/dm_out/1.json exists"
590 },
591 {
592 "cmd": [
593 "/usr/bin/adb",
594 "shell",
595 "cat",
596 "/sdcard/revenge_of_the_skiabot/dm_out/1.json"
597 ],
598 "cwd": "[START_DIR]/skia",
599 "env": {
600 "ADB_VENDOR_KEYS": "",
601 "CHROME_HEADLESS": "1",
602 "PATH": "<PATH>:RECIPE_REPO[depot_tools]"
603 },
604 "infra_step": true,
605 "name": "read /sdcard/revenge_of_the_skiabot/dm_out/1.json"
606 },
607 {
608 "cmd": [
609 "python3",
610 "RECIPE_MODULE[skia::infra]/resources/parse_skottie_trace.py",
611 "\n[{\"ph\":\"X\",\"name\":\"void skottie::Animation::seek(SkScalar)\",\"ts\":452,\"dur\":2.57,\"tid\":1,\"pid\":0},{\"ph\":\"X\",\"name\":\"void SkCanvas::drawPaint(const SkPaint &)\",\"ts\":473,\"dur\":2.67e+03,\"tid\":1,\"pid\":0},{\"ph\":\"X\",\"name\":\"void skottie::Animation::seek(SkScalar)\",\"ts\":3.15e+03,\"dur\":2.25,\"tid\":1,\"pid\":0},{\"ph\":\"X\",\"name\":\"void skottie::Animation::render(SkCanvas *, const SkRect *, RenderFlags) const\",\"ts\":3.15e+03,\"dur\":216,\"tid\":1,\"pid\":0},{\"ph\":\"X\",\"name\":\"void SkCanvas::drawPath(const SkPath &, const SkPaint &)\",\"ts\":3.35e+03,\"dur\":15.1,\"tid\":1,\"pid\":0},{\"ph\":\"X\",\"name\":\"void skottie::Animation::seek(SkScalar)\",\"ts\":3.37e+03,\"dur\":1.17,\"tid\":1,\"pid\":0},{\"ph\":\"X\",\"name\":\"void skottie::Animation::render(SkCanvas *, const SkRect *, RenderFlags) const\",\"ts\":3.37e+03,\"dur\":140,\"tid\":1,\"pid\":0}]\n",
612 "skottie_asset_000",
613 "/path/to/tmp/json",
614 "skottie::Animation::seek",
615 "skottie::Animation::render",
616 "25"
617 ],
618 "env": {
619 "CHROME_HEADLESS": "1",
620 "PATH": "<PATH>:RECIPE_REPO[depot_tools]"
621 },
622 "name": "parse skottie_asset_000 trace",
623 "~followup_annotations": [
624 "@@@[email protected]@{@@@",
625 "@@@[email protected]@ \"frame_avg_us\": 179.71,@@@",
626 "@@@[email protected]@ \"frame_max_us\": 218.25,@@@",
627 "@@@[email protected]@ \"frame_min_us\": 141.17@@@",
628 "@@@[email protected]@}@@@",
629 "@@@[email protected]@@@"
630 ]
631 },
632 {
633 "cmd": [
634 "python3",
635 "RECIPE_MODULE[skia::flavor]/resources/remove_file_on_device.py",
636 "/usr/bin/adb",
637 "/sdcard/revenge_of_the_skiabot/dm_out/1.json"
638 ],
639 "env": {
640 "CHROME_HEADLESS": "1",
641 "PATH": "<PATH>:RECIPE_REPO[depot_tools]"
642 },
643 "infra_step": true,
644 "name": "rm /sdcard/revenge_of_the_skiabot/dm_out/1.json"
645 },
646 {
647 "cmd": [
648 "vpython3",
649 "-u",
650 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
651 "--json-output",
652 "/path/to/tmp/json",
653 "copy",
654 "set -x; LD_LIBRARY_PATH=/data/local/tmp/ /data/local/tmp/dm --resourcePath /sdcard/revenge_of_the_skiabot/resources --lotties /sdcard/revenge_of_the_skiabot/lotties_with_assets/skottie_asset_001 --src lottie --nonativeFonts --verbose --traceMatch skottie --trace /sdcard/revenge_of_the_skiabot/dm_out/2.json --match \\^data\\.json\\$ --config gles --nocpu; echo $? >/data/local/tmp/rc",
655 "[START_DIR]/tmp/dm.sh"
656 ],
657 "env": {
658 "CHROME_HEADLESS": "1",
659 "PATH": "<PATH>:RECIPE_REPO[depot_tools]"
660 },
661 "infra_step": true,
662 "name": "write dm.sh (2)",
663 "~followup_annotations": [
664 "@@@[email protected]@set -x; LD_LIBRARY_PATH=/data/local/tmp/ /data/local/tmp/dm --resourcePath /sdcard/revenge_of_the_skiabot/resources --lotties /sdcard/revenge_of_the_skiabot/lotties_with_assets/skottie_asset_001 --src lottie --nonativeFonts --verbose --traceMatch skottie --trace /sdcard/revenge_of_the_skiabot/dm_out/2.json --match \\^data\\.json\\$ --config gles --nocpu; echo $? >/data/local/tmp/rc@@@",
665 "@@@[email protected]@@@"
666 ]
667 },
668 {
669 "cmd": [
670 "/usr/bin/adb",
671 "push",
672 "[START_DIR]/tmp/dm.sh",
673 "/data/local/tmp/"
674 ],
675 "cwd": "[START_DIR]/skia",
676 "env": {
677 "ADB_VENDOR_KEYS": "",
678 "CHROME_HEADLESS": "1",
679 "PATH": "<PATH>:RECIPE_REPO[depot_tools]"
680 },
681 "infra_step": true,
682 "name": "push dm.sh (2)"
683 },
684 {
685 "cmd": [
686 "/usr/bin/adb",
687 "logcat",
688 "-c"
689 ],
690 "cwd": "[START_DIR]/skia",
691 "env": {
692 "ADB_VENDOR_KEYS": "",
693 "CHROME_HEADLESS": "1",
694 "PATH": "<PATH>:RECIPE_REPO[depot_tools]"
695 },
696 "infra_step": true,
697 "name": "clear log (2)"
698 },
699 {
700 "cmd": [
701 "python3",
702 "RECIPE_MODULE[skia::flavor]/resources/run_sh.py",
703 "/data/local/tmp/",
704 "dm.sh",
705 "/usr/bin/adb"
706 ],
707 "env": {
708 "CHROME_HEADLESS": "1",
709 "PATH": "<PATH>:RECIPE_REPO[depot_tools]"
710 },
711 "name": "dm (2)"
712 },
713 {
714 "cmd": [
715 "/usr/bin/adb",
716 "shell",
717 "test",
718 "-f",
719 "/sdcard/revenge_of_the_skiabot/dm_out/2.json"
720 ],
721 "cwd": "[START_DIR]/skia",
722 "env": {
723 "ADB_VENDOR_KEYS": "",
724 "CHROME_HEADLESS": "1",
725 "PATH": "<PATH>:RECIPE_REPO[depot_tools]"
726 },
727 "infra_step": true,
728 "name": "check if /sdcard/revenge_of_the_skiabot/dm_out/2.json exists"
729 },
730 {
731 "cmd": [
732 "/usr/bin/adb",
733 "shell",
734 "cat",
735 "/sdcard/revenge_of_the_skiabot/dm_out/2.json"
736 ],
737 "cwd": "[START_DIR]/skia",
738 "env": {
739 "ADB_VENDOR_KEYS": "",
740 "CHROME_HEADLESS": "1",
741 "PATH": "<PATH>:RECIPE_REPO[depot_tools]"
742 },
743 "infra_step": true,
744 "name": "read /sdcard/revenge_of_the_skiabot/dm_out/2.json"
745 },
746 {
747 "cmd": [
748 "python3",
749 "RECIPE_MODULE[skia::infra]/resources/parse_skottie_trace.py",
750 "\n[{\"ph\":\"X\",\"name\":\"void skottie::Animation::seek(SkScalar)\",\"ts\":452,\"dur\":2.57,\"tid\":1,\"pid\":0},{\"ph\":\"X\",\"name\":\"void SkCanvas::drawPaint(const SkPaint &)\",\"ts\":473,\"dur\":2.67e+03,\"tid\":1,\"pid\":0},{\"ph\":\"X\",\"name\":\"void skottie::Animation::seek(SkScalar)\",\"ts\":3.15e+03,\"dur\":2.25,\"tid\":1,\"pid\":0},{\"ph\":\"X\",\"name\":\"void skottie::Animation::render(SkCanvas *, const SkRect *, RenderFlags) const\",\"ts\":3.15e+03,\"dur\":216,\"tid\":1,\"pid\":0},{\"ph\":\"X\",\"name\":\"void SkCanvas::drawPath(const SkPath &, const SkPaint &)\",\"ts\":3.35e+03,\"dur\":15.1,\"tid\":1,\"pid\":0},{\"ph\":\"X\",\"name\":\"void skottie::Animation::seek(SkScalar)\",\"ts\":3.37e+03,\"dur\":1.17,\"tid\":1,\"pid\":0},{\"ph\":\"X\",\"name\":\"void skottie::Animation::render(SkCanvas *, const SkRect *, RenderFlags) const\",\"ts\":3.37e+03,\"dur\":140,\"tid\":1,\"pid\":0}]\n",
751 "skottie_asset_001",
752 "/path/to/tmp/json",
753 "skottie::Animation::seek",
754 "skottie::Animation::render",
755 "25"
756 ],
757 "env": {
758 "CHROME_HEADLESS": "1",
759 "PATH": "<PATH>:RECIPE_REPO[depot_tools]"
760 },
761 "name": "parse skottie_asset_001 trace",
762 "~followup_annotations": [
763 "@@@[email protected]@{@@@",
764 "@@@[email protected]@ \"frame_avg_us\": 179.71,@@@",
765 "@@@[email protected]@ \"frame_max_us\": 218.25,@@@",
766 "@@@[email protected]@ \"frame_min_us\": 141.17@@@",
767 "@@@[email protected]@}@@@",
768 "@@@[email protected]@@@"
769 ]
770 },
771 {
772 "cmd": [
773 "python3",
774 "RECIPE_MODULE[skia::flavor]/resources/remove_file_on_device.py",
775 "/usr/bin/adb",
776 "/sdcard/revenge_of_the_skiabot/dm_out/2.json"
777 ],
778 "env": {
779 "CHROME_HEADLESS": "1",
780 "PATH": "<PATH>:RECIPE_REPO[depot_tools]"
781 },
782 "infra_step": true,
783 "name": "rm /sdcard/revenge_of_the_skiabot/dm_out/2.json"
784 },
785 {
786 "cmd": [
787 "vpython3",
788 "-u",
789 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
790 "--json-output",
791 "/path/to/tmp/json",
792 "copy",
793 "set -x; LD_LIBRARY_PATH=/data/local/tmp/ /data/local/tmp/dm --resourcePath /sdcard/revenge_of_the_skiabot/resources --lotties /sdcard/revenge_of_the_skiabot/lotties_with_assets/skottie_asset_002 --src lottie --nonativeFonts --verbose --traceMatch skottie --trace /sdcard/revenge_of_the_skiabot/dm_out/3.json --match \\^data\\.json\\$ --config gles --nocpu; echo $? >/data/local/tmp/rc",
794 "[START_DIR]/tmp/dm.sh"
795 ],
796 "env": {
797 "CHROME_HEADLESS": "1",
798 "PATH": "<PATH>:RECIPE_REPO[depot_tools]"
799 },
800 "infra_step": true,
801 "name": "write dm.sh (3)",
802 "~followup_annotations": [
803 "@@@[email protected]@set -x; LD_LIBRARY_PATH=/data/local/tmp/ /data/local/tmp/dm --resourcePath /sdcard/revenge_of_the_skiabot/resources --lotties /sdcard/revenge_of_the_skiabot/lotties_with_assets/skottie_asset_002 --src lottie --nonativeFonts --verbose --traceMatch skottie --trace /sdcard/revenge_of_the_skiabot/dm_out/3.json --match \\^data\\.json\\$ --config gles --nocpu; echo $? >/data/local/tmp/rc@@@",
804 "@@@[email protected]@@@"
805 ]
806 },
807 {
808 "cmd": [
809 "/usr/bin/adb",
810 "push",
811 "[START_DIR]/tmp/dm.sh",
812 "/data/local/tmp/"
813 ],
814 "cwd": "[START_DIR]/skia",
815 "env": {
816 "ADB_VENDOR_KEYS": "",
817 "CHROME_HEADLESS": "1",
818 "PATH": "<PATH>:RECIPE_REPO[depot_tools]"
819 },
820 "infra_step": true,
821 "name": "push dm.sh (3)"
822 },
823 {
824 "cmd": [
825 "/usr/bin/adb",
826 "logcat",
827 "-c"
828 ],
829 "cwd": "[START_DIR]/skia",
830 "env": {
831 "ADB_VENDOR_KEYS": "",
832 "CHROME_HEADLESS": "1",
833 "PATH": "<PATH>:RECIPE_REPO[depot_tools]"
834 },
835 "infra_step": true,
836 "name": "clear log (3)"
837 },
838 {
839 "cmd": [
840 "python3",
841 "RECIPE_MODULE[skia::flavor]/resources/run_sh.py",
842 "/data/local/tmp/",
843 "dm.sh",
844 "/usr/bin/adb"
845 ],
846 "env": {
847 "CHROME_HEADLESS": "1",
848 "PATH": "<PATH>:RECIPE_REPO[depot_tools]"
849 },
850 "name": "dm (3)"
851 },
852 {
853 "cmd": [
854 "/usr/bin/adb",
855 "shell",
856 "test",
857 "-f",
858 "/sdcard/revenge_of_the_skiabot/dm_out/3.json"
859 ],
860 "cwd": "[START_DIR]/skia",
861 "env": {
862 "ADB_VENDOR_KEYS": "",
863 "CHROME_HEADLESS": "1",
864 "PATH": "<PATH>:RECIPE_REPO[depot_tools]"
865 },
866 "infra_step": true,
867 "name": "check if /sdcard/revenge_of_the_skiabot/dm_out/3.json exists"
868 },
869 {
870 "cmd": [
871 "/usr/bin/adb",
872 "shell",
873 "cat",
874 "/sdcard/revenge_of_the_skiabot/dm_out/3.json"
875 ],
876 "cwd": "[START_DIR]/skia",
877 "env": {
878 "ADB_VENDOR_KEYS": "",
879 "CHROME_HEADLESS": "1",
880 "PATH": "<PATH>:RECIPE_REPO[depot_tools]"
881 },
882 "infra_step": true,
883 "name": "read /sdcard/revenge_of_the_skiabot/dm_out/3.json"
884 },
885 {
886 "cmd": [
887 "python3",
888 "RECIPE_MODULE[skia::infra]/resources/parse_skottie_trace.py",
889 "\n[{\"ph\":\"X\",\"name\":\"void skottie::Animation::seek(SkScalar)\",\"ts\":452,\"dur\":2.57,\"tid\":1,\"pid\":0},{\"ph\":\"X\",\"name\":\"void SkCanvas::drawPaint(const SkPaint &)\",\"ts\":473,\"dur\":2.67e+03,\"tid\":1,\"pid\":0},{\"ph\":\"X\",\"name\":\"void skottie::Animation::seek(SkScalar)\",\"ts\":3.15e+03,\"dur\":2.25,\"tid\":1,\"pid\":0},{\"ph\":\"X\",\"name\":\"void skottie::Animation::render(SkCanvas *, const SkRect *, RenderFlags) const\",\"ts\":3.15e+03,\"dur\":216,\"tid\":1,\"pid\":0},{\"ph\":\"X\",\"name\":\"void SkCanvas::drawPath(const SkPath &, const SkPaint &)\",\"ts\":3.35e+03,\"dur\":15.1,\"tid\":1,\"pid\":0},{\"ph\":\"X\",\"name\":\"void skottie::Animation::seek(SkScalar)\",\"ts\":3.37e+03,\"dur\":1.17,\"tid\":1,\"pid\":0},{\"ph\":\"X\",\"name\":\"void skottie::Animation::render(SkCanvas *, const SkRect *, RenderFlags) const\",\"ts\":3.37e+03,\"dur\":140,\"tid\":1,\"pid\":0}]\n",
890 "skottie_asset_002",
891 "/path/to/tmp/json",
892 "skottie::Animation::seek",
893 "skottie::Animation::render",
894 "25"
895 ],
896 "env": {
897 "CHROME_HEADLESS": "1",
898 "PATH": "<PATH>:RECIPE_REPO[depot_tools]"
899 },
900 "name": "parse skottie_asset_002 trace",
901 "~followup_annotations": [
902 "@@@[email protected]@{@@@",
903 "@@@[email protected]@ \"frame_avg_us\": 179.71,@@@",
904 "@@@[email protected]@ \"frame_max_us\": 218.25,@@@",
905 "@@@[email protected]@ \"frame_min_us\": 141.17@@@",
906 "@@@[email protected]@}@@@",
907 "@@@[email protected]@@@"
908 ]
909 },
910 {
911 "cmd": [
912 "python3",
913 "RECIPE_MODULE[skia::flavor]/resources/remove_file_on_device.py",
914 "/usr/bin/adb",
915 "/sdcard/revenge_of_the_skiabot/dm_out/3.json"
916 ],
917 "env": {
918 "CHROME_HEADLESS": "1",
919 "PATH": "<PATH>:RECIPE_REPO[depot_tools]"
920 },
921 "infra_step": true,
922 "name": "rm /sdcard/revenge_of_the_skiabot/dm_out/3.json"
923 },
924 {
925 "cmd": [
926 "python3",
927 "RECIPE_MODULE[skia::vars]/resources/get_env_var.py",
928 "SWARMING_BOT_ID"
929 ],
930 "name": "get swarming bot id (3)"
931 },
932 {
933 "cmd": [
934 "python3",
935 "RECIPE_MODULE[skia::vars]/resources/get_env_var.py",
936 "SWARMING_TASK_ID"
937 ],
938 "name": "get swarming task id"
939 },
940 {
941 "cmd": [
942 "vpython3",
943 "-u",
944 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
945 "--json-output",
946 "/path/to/tmp/json",
947 "ensure-directory",
948 "--mode",
949 "0o777",
950 "[START_DIR]/[SWARM_OUT_DIR]"
951 ],
952 "infra_step": true,
953 "name": "makedirs perf_dir"
954 },
955 {
956 "cmd": [
957 "vpython3",
958 "-u",
959 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
960 "--json-output",
961 "/path/to/tmp/json",
962 "copy",
963 "{\n \"gitHash\": \"abc123\",\n \"issue\": 1234,\n \"key\": {\n \"arch\": \"arm\",\n \"bench_type\": \"tracing\",\n \"compiler\": \"Clang\",\n \"configuration\": \"Release\",\n \"cpu_or_gpu\": \"GPU\",\n \"cpu_or_gpu_value\": \"Mali400MP2\",\n \"extra_config\": \"Android_SkottieTracing\",\n \"model\": \"AndroidOne\",\n \"os\": \"Android\",\n \"source_type\": \"skottie\"\n },\n \"patch_storage\": \"gerrit\",\n \"patchset\": 7,\n \"renderer\": \"skottie\",\n \"results\": {\n \"skottie_asset_000\": {\n \"gles\": {\n \"frame_avg_us\": 179.71,\n \"frame_max_us\": 218.25,\n \"frame_min_us\": 141.17\n }\n },\n \"skottie_asset_001\": {\n \"gles\": {\n \"frame_avg_us\": 179.71,\n \"frame_max_us\": 218.25,\n \"frame_min_us\": 141.17\n }\n },\n \"skottie_asset_002\": {\n \"gles\": {\n \"frame_avg_us\": 179.71,\n \"frame_max_us\": 218.25,\n \"frame_min_us\": 141.17\n }\n }\n },\n \"swarming_bot_id\": \"\",\n \"swarming_task_id\": \"\"\n}",
964 "[START_DIR]/[SWARM_OUT_DIR]/perf_abc123_1337000001.json"
965 ],
966 "infra_step": true,
967 "name": "write output JSON",
968 "~followup_annotations": [
969 "@@@STEP_LOG_LINE@perf_abc123_1337000001.json@{@@@",
970 "@@@STEP_LOG_LINE@perf_abc123_1337000001.json@ \"gitHash\": \"abc123\",@@@",
971 "@@@STEP_LOG_LINE@perf_abc123_1337000001.json@ \"issue\": 1234,@@@",
972 "@@@STEP_LOG_LINE@perf_abc123_1337000001.json@ \"key\": {@@@",
973 "@@@STEP_LOG_LINE@perf_abc123_1337000001.json@ \"arch\": \"arm\",@@@",
974 "@@@STEP_LOG_LINE@perf_abc123_1337000001.json@ \"bench_type\": \"tracing\",@@@",
975 "@@@STEP_LOG_LINE@perf_abc123_1337000001.json@ \"compiler\": \"Clang\",@@@",
976 "@@@STEP_LOG_LINE@perf_abc123_1337000001.json@ \"configuration\": \"Release\",@@@",
977 "@@@STEP_LOG_LINE@perf_abc123_1337000001.json@ \"cpu_or_gpu\": \"GPU\",@@@",
978 "@@@STEP_LOG_LINE@perf_abc123_1337000001.json@ \"cpu_or_gpu_value\": \"Mali400MP2\",@@@",
979 "@@@STEP_LOG_LINE@perf_abc123_1337000001.json@ \"extra_config\": \"Android_SkottieTracing\",@@@",
980 "@@@STEP_LOG_LINE@perf_abc123_1337000001.json@ \"model\": \"AndroidOne\",@@@",
981 "@@@STEP_LOG_LINE@perf_abc123_1337000001.json@ \"os\": \"Android\",@@@",
982 "@@@STEP_LOG_LINE@perf_abc123_1337000001.json@ \"source_type\": \"skottie\"@@@",
983 "@@@STEP_LOG_LINE@perf_abc123_1337000001.json@ },@@@",
984 "@@@STEP_LOG_LINE@perf_abc123_1337000001.json@ \"patch_storage\": \"gerrit\",@@@",
985 "@@@STEP_LOG_LINE@perf_abc123_1337000001.json@ \"patchset\": 7,@@@",
986 "@@@STEP_LOG_LINE@perf_abc123_1337000001.json@ \"renderer\": \"skottie\",@@@",
987 "@@@STEP_LOG_LINE@perf_abc123_1337000001.json@ \"results\": {@@@",
988 "@@@STEP_LOG_LINE@perf_abc123_1337000001.json@ \"skottie_asset_000\": {@@@",
989 "@@@STEP_LOG_LINE@perf_abc123_1337000001.json@ \"gles\": {@@@",
990 "@@@STEP_LOG_LINE@perf_abc123_1337000001.json@ \"frame_avg_us\": 179.71,@@@",
991 "@@@STEP_LOG_LINE@perf_abc123_1337000001.json@ \"frame_max_us\": 218.25,@@@",
992 "@@@STEP_LOG_LINE@perf_abc123_1337000001.json@ \"frame_min_us\": 141.17@@@",
993 "@@@STEP_LOG_LINE@perf_abc123_1337000001.json@ }@@@",
994 "@@@STEP_LOG_LINE@perf_abc123_1337000001.json@ },@@@",
995 "@@@STEP_LOG_LINE@perf_abc123_1337000001.json@ \"skottie_asset_001\": {@@@",
996 "@@@STEP_LOG_LINE@perf_abc123_1337000001.json@ \"gles\": {@@@",
997 "@@@STEP_LOG_LINE@perf_abc123_1337000001.json@ \"frame_avg_us\": 179.71,@@@",
998 "@@@STEP_LOG_LINE@perf_abc123_1337000001.json@ \"frame_max_us\": 218.25,@@@",
999 "@@@STEP_LOG_LINE@perf_abc123_1337000001.json@ \"frame_min_us\": 141.17@@@",
1000 "@@@STEP_LOG_LINE@perf_abc123_1337000001.json@ }@@@",
1001 "@@@STEP_LOG_LINE@perf_abc123_1337000001.json@ },@@@",
1002 "@@@STEP_LOG_LINE@perf_abc123_1337000001.json@ \"skottie_asset_002\": {@@@",
1003 "@@@STEP_LOG_LINE@perf_abc123_1337000001.json@ \"gles\": {@@@",
1004 "@@@STEP_LOG_LINE@perf_abc123_1337000001.json@ \"frame_avg_us\": 179.71,@@@",
1005 "@@@STEP_LOG_LINE@perf_abc123_1337000001.json@ \"frame_max_us\": 218.25,@@@",
1006 "@@@STEP_LOG_LINE@perf_abc123_1337000001.json@ \"frame_min_us\": 141.17@@@",
1007 "@@@STEP_LOG_LINE@perf_abc123_1337000001.json@ }@@@",
1008 "@@@STEP_LOG_LINE@perf_abc123_1337000001.json@ }@@@",
1009 "@@@STEP_LOG_LINE@perf_abc123_1337000001.json@ },@@@",
1010 "@@@STEP_LOG_LINE@perf_abc123_1337000001.json@ \"swarming_bot_id\": \"\",@@@",
1011 "@@@STEP_LOG_LINE@perf_abc123_1337000001.json@ \"swarming_task_id\": \"\"@@@",
1012 "@@@STEP_LOG_LINE@perf_abc123_1337000001.json@}@@@",
1013 "@@@STEP_LOG_END@perf_abc123_1337000001.json@@@"
1014 ]
1015 },
1016 {
1017 "cmd": [
1018 "python3",
1019 "RECIPE_MODULE[skia::flavor]/resources/dump_adb_log.py",
1020 "[START_DIR]/build",
1021 "/usr/bin/adb"
1022 ],
1023 "env": {
1024 "CHROME_HEADLESS": "1",
1025 "PATH": "<PATH>:RECIPE_REPO[depot_tools]"
1026 },
1027 "infra_step": true,
1028 "name": "dump log",
1029 "timeout": 300
1030 },
1031 {
1032 "cmd": [],
1033 "name": "reboot device and wait"
1034 },
1035 {
1036 "cmd": [
1037 "/usr/bin/adb",
1038 "reboot"
1039 ],
1040 "env": {
1041 "CHROME_HEADLESS": "1",
1042 "PATH": "<PATH>:RECIPE_REPO[depot_tools]"
1043 },
1044 "infra_step": true,
1045 "name": "reboot device and wait.reboot device",
1046 "timeout": 30,
1047 "~followup_annotations": [
1048 "@@@STEP_NEST_LEVEL@1@@@"
1049 ]
1050 },
1051 {
1052 "cmd": [
1053 "python3",
1054 "RECIPE_MODULE[skia::flavor]/resources/wait_for_device.py",
1055 "--adb",
1056 "/usr/bin/adb"
1057 ],
1058 "env": {
1059 "CHROME_HEADLESS": "1",
1060 "PATH": "<PATH>:RECIPE_REPO[depot_tools]"
1061 },
1062 "name": "reboot device and wait.wait for device",
1063 "timeout": 600,
1064 "~followup_annotations": [
1065 "@@@STEP_NEST_LEVEL@1@@@"
1066 ]
1067 },
1068 {
1069 "cmd": [
1070 "python3",
1071 "RECIPE_MODULE[skia::flavor]/resources/dump_adb_log.py",
1072 "[START_DIR]/build",
1073 "/usr/bin/adb"
1074 ],
1075 "env": {
1076 "CHROME_HEADLESS": "1",
1077 "PATH": "<PATH>:RECIPE_REPO[depot_tools]"
1078 },
1079 "infra_step": true,
1080 "name": "dump adb log",
1081 "timeout": 300
1082 },
1083 {
1084 "name": "$result"
1085 }
1086 ]