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