Debian Codegraph @

infra/bots/recipe_modules/flavor/examples/full.expected/Test-ChromeOS-Clang-Cherry-GPU-MaliG57-arm-Debug-All.json

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