Debian Codegraph @

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