• 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",
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@  }@@@",
199      "@@@STEP_LOG_LINE@json.output@}@@@",
200      "@@@STEP_LOG_END@json.output@@@"
201    ]
202  },
203  {
204    "cmd": [
205      "cipd",
206      "ensure",
207      "-root",
208      "[CACHE]/macos_sdk",
209      "-ensure-file",
210      "infra/tools/mac_toolchain/${platform} git_revision:e9b1fe29fe21a1cd36428c43ea2aba244bd31280",
211      "-max-threads",
212      "0",
213      "-json-output",
214      "/path/to/tmp/json"
215    ],
216    "infra_step": true,
217    "luci_context": {
218      "realm": {
219        "name": "gn:try"
220      },
221      "resultdb": {
222        "current_invocation": {
223          "name": "invocations/build:8945511751514863184",
224          "update_token": "token"
225        },
226        "hostname": "rdbhost"
227      }
228    },
229    "name": "ensure_installed (2)",
230    "~followup_annotations": [
231      "@@@STEP_LOG_LINE@json.output@{@@@",
232      "@@@STEP_LOG_LINE@json.output@  \"result\": {@@@",
233      "@@@STEP_LOG_LINE@json.output@    \"\": [@@@",
234      "@@@STEP_LOG_LINE@json.output@      {@@@",
235      "@@@STEP_LOG_LINE@json.output@        \"instance_id\": \"resolved-instance_id-of-git_revision:e9b\",@@@",
236      "@@@STEP_LOG_LINE@json.output@        \"package\": \"infra/tools/mac_toolchain/resolved-platform\"@@@",
237      "@@@STEP_LOG_LINE@json.output@      }@@@",
238      "@@@STEP_LOG_LINE@json.output@    ]@@@",
239      "@@@STEP_LOG_LINE@json.output@  }@@@",
240      "@@@STEP_LOG_LINE@json.output@}@@@",
241      "@@@STEP_LOG_END@json.output@@@"
242    ]
243  },
244  {
245    "cmd": [
246      "[CACHE]/macos_sdk/mac_toolchain",
247      "install",
248      "-kind",
249      "mac",
250      "-xcode-version",
251      "12b5025f",
252      "-output-dir",
253      "[CACHE]/macos_sdk/XCode.app"
254    ],
255    "infra_step": true,
256    "luci_context": {
257      "realm": {
258        "name": "gn:try"
259      },
260      "resultdb": {
261        "current_invocation": {
262          "name": "invocations/build:8945511751514863184",
263          "update_token": "token"
264        },
265        "hostname": "rdbhost"
266      }
267    },
268    "name": "install xcode"
269  },
270  {
271    "cmd": [
272      "sudo",
273      "xcode-select",
274      "--switch",
275      "[CACHE]/macos_sdk/XCode.app"
276    ],
277    "infra_step": true,
278    "luci_context": {
279      "realm": {
280        "name": "gn:try"
281      },
282      "resultdb": {
283        "current_invocation": {
284          "name": "invocations/build:8945511751514863184",
285          "update_token": "token"
286        },
287        "hostname": "rdbhost"
288      }
289    },
290    "name": "select XCode"
291  },
292  {
293    "cmd": [],
294    "name": "debug"
295  },
296  {
297    "cmd": [
298      "xcrun",
299      "--show-sdk-path"
300    ],
301    "luci_context": {
302      "realm": {
303        "name": "gn:try"
304      },
305      "resultdb": {
306        "current_invocation": {
307          "name": "invocations/build:8945511751514863184",
308          "update_token": "token"
309        },
310        "hostname": "rdbhost"
311      }
312    },
313    "name": "debug.xcrun sdk-path",
314    "~followup_annotations": [
315      "@@@STEP_NEST_LEVEL@1@@@",
316      "@@@STEP_LOG_LINE@raw_io.output_text[sdk-path]@/some/xcode/path@@@",
317      "@@@STEP_LOG_END@raw_io.output_text[sdk-path]@@@"
318    ]
319  },
320  {
321    "cmd": [
322      "xcrun",
323      "--toolchain",
324      "clang",
325      "clang++",
326      "-xc++",
327      "-fsyntax-only",
328      "-Wp,-v",
329      "/dev/null"
330    ],
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": "debug.xcrun toolchain",
344    "~followup_annotations": [
345      "@@@STEP_NEST_LEVEL@1@@@",
346      "@@@STEP_LOG_LINE@raw_io.output_text[toolchain]@[CACHE]/macos_sdk/XCode.app/include/c++/v1@@@",
347      "@@@STEP_LOG_END@raw_io.output_text[toolchain]@@@"
348    ]
349  },
350  {
351    "cmd": [],
352    "name": "debug.mac-amd64",
353    "~followup_annotations": [
354      "@@@STEP_NEST_LEVEL@1@@@"
355    ]
356  },
357  {
358    "cmd": [
359      "python3",
360      "-u",
361      "[START_DIR]/gn/build/gen.py",
362      "-d"
363    ],
364    "cwd": "[START_DIR]/gn",
365    "env": {
366      "AR": "[START_DIR]/cipd/bin/llvm-ar",
367      "CC": "[START_DIR]/cipd/bin/clang",
368      "CFLAGS": "--target=x86_64-apple-darwin --sysroot=/some/xcode/path -nostdinc++ -cxx-isystem [CACHE]/macos_sdk/XCode.app/include/c++/v1",
369      "CXX": "[START_DIR]/cipd/bin/clang++",
370      "LDFLAGS": "--target=x86_64-apple-darwin --sysroot=/some/xcode/path"
371    },
372    "luci_context": {
373      "realm": {
374        "name": "gn:try"
375      },
376      "resultdb": {
377        "current_invocation": {
378          "name": "invocations/build:8945511751514863184",
379          "update_token": "token"
380        },
381        "hostname": "rdbhost"
382      }
383    },
384    "name": "debug.mac-amd64.generate",
385    "~followup_annotations": [
386      "@@@STEP_NEST_LEVEL@2@@@"
387    ]
388  },
389  {
390    "cmd": [
391      "[START_DIR]/cipd/ninja",
392      "-C",
393      "[START_DIR]/gn/out"
394    ],
395    "cwd": "[START_DIR]/gn",
396    "env": {
397      "AR": "[START_DIR]/cipd/bin/llvm-ar",
398      "CC": "[START_DIR]/cipd/bin/clang",
399      "CFLAGS": "--target=x86_64-apple-darwin --sysroot=/some/xcode/path -nostdinc++ -cxx-isystem [CACHE]/macos_sdk/XCode.app/include/c++/v1",
400      "CXX": "[START_DIR]/cipd/bin/clang++",
401      "LDFLAGS": "--target=x86_64-apple-darwin --sysroot=/some/xcode/path"
402    },
403    "luci_context": {
404      "realm": {
405        "name": "gn:try"
406      },
407      "resultdb": {
408        "current_invocation": {
409          "name": "invocations/build:8945511751514863184",
410          "update_token": "token"
411        },
412        "hostname": "rdbhost"
413      }
414    },
415    "name": "debug.mac-amd64.build",
416    "~followup_annotations": [
417      "@@@STEP_NEST_LEVEL@2@@@"
418    ]
419  },
420  {
421    "cmd": [
422      "[START_DIR]/gn/out/gn_unittests"
423    ],
424    "cwd": "[START_DIR]/gn",
425    "env": {
426      "AR": "[START_DIR]/cipd/bin/llvm-ar",
427      "CC": "[START_DIR]/cipd/bin/clang",
428      "CFLAGS": "--target=x86_64-apple-darwin --sysroot=/some/xcode/path -nostdinc++ -cxx-isystem [CACHE]/macos_sdk/XCode.app/include/c++/v1",
429      "CXX": "[START_DIR]/cipd/bin/clang++",
430      "LDFLAGS": "--target=x86_64-apple-darwin --sysroot=/some/xcode/path"
431    },
432    "luci_context": {
433      "realm": {
434        "name": "gn:try"
435      },
436      "resultdb": {
437        "current_invocation": {
438          "name": "invocations/build:8945511751514863184",
439          "update_token": "token"
440        },
441        "hostname": "rdbhost"
442      }
443    },
444    "name": "debug.mac-amd64.test",
445    "~followup_annotations": [
446      "@@@STEP_NEST_LEVEL@2@@@"
447    ]
448  },
449  {
450    "cmd": [],
451    "name": "release"
452  },
453  {
454    "cmd": [
455      "xcrun",
456      "--show-sdk-path"
457    ],
458    "luci_context": {
459      "realm": {
460        "name": "gn:try"
461      },
462      "resultdb": {
463        "current_invocation": {
464          "name": "invocations/build:8945511751514863184",
465          "update_token": "token"
466        },
467        "hostname": "rdbhost"
468      }
469    },
470    "name": "release.xcrun sdk-path",
471    "~followup_annotations": [
472      "@@@STEP_NEST_LEVEL@1@@@",
473      "@@@STEP_LOG_LINE@raw_io.output_text[sdk-path]@/some/xcode/path@@@",
474      "@@@STEP_LOG_END@raw_io.output_text[sdk-path]@@@"
475    ]
476  },
477  {
478    "cmd": [
479      "xcrun",
480      "--toolchain",
481      "clang",
482      "clang++",
483      "-xc++",
484      "-fsyntax-only",
485      "-Wp,-v",
486      "/dev/null"
487    ],
488    "luci_context": {
489      "realm": {
490        "name": "gn:try"
491      },
492      "resultdb": {
493        "current_invocation": {
494          "name": "invocations/build:8945511751514863184",
495          "update_token": "token"
496        },
497        "hostname": "rdbhost"
498      }
499    },
500    "name": "release.xcrun toolchain",
501    "~followup_annotations": [
502      "@@@STEP_NEST_LEVEL@1@@@",
503      "@@@STEP_LOG_LINE@raw_io.output_text[toolchain]@[CACHE]/macos_sdk/XCode.app/include/c++/v1@@@",
504      "@@@STEP_LOG_END@raw_io.output_text[toolchain]@@@"
505    ]
506  },
507  {
508    "cmd": [],
509    "name": "release.mac-amd64",
510    "~followup_annotations": [
511      "@@@STEP_NEST_LEVEL@1@@@"
512    ]
513  },
514  {
515    "cmd": [
516      "python3",
517      "-u",
518      "[START_DIR]/gn/build/gen.py",
519      "--use-lto",
520      "--use-icf"
521    ],
522    "cwd": "[START_DIR]/gn",
523    "env": {
524      "AR": "[START_DIR]/cipd/bin/llvm-ar",
525      "CC": "[START_DIR]/cipd/bin/clang",
526      "CFLAGS": "--target=x86_64-apple-darwin --sysroot=/some/xcode/path -nostdinc++ -cxx-isystem [CACHE]/macos_sdk/XCode.app/include/c++/v1",
527      "CXX": "[START_DIR]/cipd/bin/clang++",
528      "LDFLAGS": "--target=x86_64-apple-darwin --sysroot=/some/xcode/path"
529    },
530    "luci_context": {
531      "realm": {
532        "name": "gn:try"
533      },
534      "resultdb": {
535        "current_invocation": {
536          "name": "invocations/build:8945511751514863184",
537          "update_token": "token"
538        },
539        "hostname": "rdbhost"
540      }
541    },
542    "name": "release.mac-amd64.generate",
543    "~followup_annotations": [
544      "@@@STEP_NEST_LEVEL@2@@@"
545    ]
546  },
547  {
548    "cmd": [
549      "[START_DIR]/cipd/ninja",
550      "-C",
551      "[START_DIR]/gn/out"
552    ],
553    "cwd": "[START_DIR]/gn",
554    "env": {
555      "AR": "[START_DIR]/cipd/bin/llvm-ar",
556      "CC": "[START_DIR]/cipd/bin/clang",
557      "CFLAGS": "--target=x86_64-apple-darwin --sysroot=/some/xcode/path -nostdinc++ -cxx-isystem [CACHE]/macos_sdk/XCode.app/include/c++/v1",
558      "CXX": "[START_DIR]/cipd/bin/clang++",
559      "LDFLAGS": "--target=x86_64-apple-darwin --sysroot=/some/xcode/path"
560    },
561    "luci_context": {
562      "realm": {
563        "name": "gn:try"
564      },
565      "resultdb": {
566        "current_invocation": {
567          "name": "invocations/build:8945511751514863184",
568          "update_token": "token"
569        },
570        "hostname": "rdbhost"
571      }
572    },
573    "name": "release.mac-amd64.build",
574    "~followup_annotations": [
575      "@@@STEP_NEST_LEVEL@2@@@"
576    ]
577  },
578  {
579    "cmd": [
580      "[START_DIR]/gn/out/gn_unittests"
581    ],
582    "cwd": "[START_DIR]/gn",
583    "env": {
584      "AR": "[START_DIR]/cipd/bin/llvm-ar",
585      "CC": "[START_DIR]/cipd/bin/clang",
586      "CFLAGS": "--target=x86_64-apple-darwin --sysroot=/some/xcode/path -nostdinc++ -cxx-isystem [CACHE]/macos_sdk/XCode.app/include/c++/v1",
587      "CXX": "[START_DIR]/cipd/bin/clang++",
588      "LDFLAGS": "--target=x86_64-apple-darwin --sysroot=/some/xcode/path"
589    },
590    "luci_context": {
591      "realm": {
592        "name": "gn:try"
593      },
594      "resultdb": {
595        "current_invocation": {
596          "name": "invocations/build:8945511751514863184",
597          "update_token": "token"
598        },
599        "hostname": "rdbhost"
600      }
601    },
602    "name": "release.mac-amd64.test",
603    "~followup_annotations": [
604      "@@@STEP_NEST_LEVEL@2@@@"
605    ]
606  },
607  {
608    "cmd": [],
609    "name": "release.mac-amd64.upload",
610    "~followup_annotations": [
611      "@@@STEP_NEST_LEVEL@2@@@"
612    ]
613  },
614  {
615    "cmd": [
616      "vpython3",
617      "-u",
618      "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
619      "--json-output",
620      "/path/to/tmp/json",
621      "copy",
622      "RECIPE_MODULE[recipe_engine::cas]/resources/infra.sha1",
623      "/path/to/tmp/"
624    ],
625    "cwd": "[START_DIR]/gn",
626    "env": {
627      "AR": "[START_DIR]/cipd/bin/llvm-ar",
628      "CC": "[START_DIR]/cipd/bin/clang",
629      "CFLAGS": "--target=x86_64-apple-darwin --sysroot=/some/xcode/path -nostdinc++ -cxx-isystem [CACHE]/macos_sdk/XCode.app/include/c++/v1",
630      "CXX": "[START_DIR]/cipd/bin/clang++",
631      "LDFLAGS": "--target=x86_64-apple-darwin --sysroot=/some/xcode/path"
632    },
633    "infra_step": true,
634    "luci_context": {
635      "realm": {
636        "name": "gn:try"
637      },
638      "resultdb": {
639        "current_invocation": {
640          "name": "invocations/build:8945511751514863184",
641          "update_token": "token"
642        },
643        "hostname": "rdbhost"
644      }
645    },
646    "name": "release.mac-amd64.upload.read infra revision",
647    "~followup_annotations": [
648      "@@@STEP_NEST_LEVEL@3@@@",
649      "@@@STEP_LOG_LINE@infra.sha1@git_revision:mock_infra_git_revision@@@",
650      "@@@STEP_LOG_END@infra.sha1@@@"
651    ]
652  },
653  {
654    "cmd": [],
655    "name": "release.mac-amd64.upload.install infra/tools/luci/cas",
656    "~followup_annotations": [
657      "@@@STEP_NEST_LEVEL@3@@@"
658    ]
659  },
660  {
661    "cmd": [
662      "vpython3",
663      "-u",
664      "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
665      "--json-output",
666      "/path/to/tmp/json",
667      "ensure-directory",
668      "--mode",
669      "0777",
670      "[START_DIR]/cipd_tool/infra/tools/luci/cas/33f9d887e5b8aeaaf9d65506acccfa8da2c480712e534a23a79e92c342c44bee"
671    ],
672    "cwd": "[START_DIR]/gn",
673    "env": {
674      "AR": "[START_DIR]/cipd/bin/llvm-ar",
675      "CC": "[START_DIR]/cipd/bin/clang",
676      "CFLAGS": "--target=x86_64-apple-darwin --sysroot=/some/xcode/path -nostdinc++ -cxx-isystem [CACHE]/macos_sdk/XCode.app/include/c++/v1",
677      "CXX": "[START_DIR]/cipd/bin/clang++",
678      "LDFLAGS": "--target=x86_64-apple-darwin --sysroot=/some/xcode/path"
679    },
680    "infra_step": true,
681    "luci_context": {
682      "realm": {
683        "name": "gn:try"
684      },
685      "resultdb": {
686        "current_invocation": {
687          "name": "invocations/build:8945511751514863184",
688          "update_token": "token"
689        },
690        "hostname": "rdbhost"
691      }
692    },
693    "name": "release.mac-amd64.upload.install infra/tools/luci/cas.ensure package directory",
694    "~followup_annotations": [
695      "@@@STEP_NEST_LEVEL@4@@@"
696    ]
697  },
698  {
699    "cmd": [
700      "cipd",
701      "ensure",
702      "-root",
703      "[START_DIR]/cipd_tool/infra/tools/luci/cas/33f9d887e5b8aeaaf9d65506acccfa8da2c480712e534a23a79e92c342c44bee",
704      "-ensure-file",
705      "infra/tools/luci/cas/${platform} git_revision:mock_infra_git_revision",
706      "-max-threads",
707      "0",
708      "-json-output",
709      "/path/to/tmp/json"
710    ],
711    "cwd": "[START_DIR]/gn",
712    "env": {
713      "AR": "[START_DIR]/cipd/bin/llvm-ar",
714      "CC": "[START_DIR]/cipd/bin/clang",
715      "CFLAGS": "--target=x86_64-apple-darwin --sysroot=/some/xcode/path -nostdinc++ -cxx-isystem [CACHE]/macos_sdk/XCode.app/include/c++/v1",
716      "CXX": "[START_DIR]/cipd/bin/clang++",
717      "LDFLAGS": "--target=x86_64-apple-darwin --sysroot=/some/xcode/path"
718    },
719    "infra_step": true,
720    "luci_context": {
721      "realm": {
722        "name": "gn:try"
723      },
724      "resultdb": {
725        "current_invocation": {
726          "name": "invocations/build:8945511751514863184",
727          "update_token": "token"
728        },
729        "hostname": "rdbhost"
730      }
731    },
732    "name": "release.mac-amd64.upload.install infra/tools/luci/cas.ensure_installed",
733    "~followup_annotations": [
734      "@@@STEP_NEST_LEVEL@4@@@",
735      "@@@STEP_LOG_LINE@json.output@{@@@",
736      "@@@STEP_LOG_LINE@json.output@  \"result\": {@@@",
737      "@@@STEP_LOG_LINE@json.output@    \"\": [@@@",
738      "@@@STEP_LOG_LINE@json.output@      {@@@",
739      "@@@STEP_LOG_LINE@json.output@        \"instance_id\": \"resolved-instance_id-of-git_revision:moc\",@@@",
740      "@@@STEP_LOG_LINE@json.output@        \"package\": \"infra/tools/luci/cas/resolved-platform\"@@@",
741      "@@@STEP_LOG_LINE@json.output@      }@@@",
742      "@@@STEP_LOG_LINE@json.output@    ]@@@",
743      "@@@STEP_LOG_LINE@json.output@  }@@@",
744      "@@@STEP_LOG_LINE@json.output@}@@@",
745      "@@@STEP_LOG_END@json.output@@@"
746    ]
747  },
748  {
749    "cmd": [
750      "[START_DIR]/cipd_tool/infra/tools/luci/cas/33f9d887e5b8aeaaf9d65506acccfa8da2c480712e534a23a79e92c342c44bee/cas",
751      "archive",
752      "-log-level",
753      "info",
754      "-cas-instance",
755      "projects/example-cas-server/instances/default_instance",
756      "-dump-digest",
757      "/path/to/tmp/",
758      "-paths-json",
759      "[[\"[START_DIR]/gn/out\", \"gn\"]]"
760    ],
761    "cwd": "[START_DIR]/gn",
762    "env": {
763      "AR": "[START_DIR]/cipd/bin/llvm-ar",
764      "CC": "[START_DIR]/cipd/bin/clang",
765      "CFLAGS": "--target=x86_64-apple-darwin --sysroot=/some/xcode/path -nostdinc++ -cxx-isystem [CACHE]/macos_sdk/XCode.app/include/c++/v1",
766      "CXX": "[START_DIR]/cipd/bin/clang++",
767      "LDFLAGS": "--target=x86_64-apple-darwin --sysroot=/some/xcode/path"
768    },
769    "infra_step": true,
770    "luci_context": {
771      "realm": {
772        "name": "gn:try"
773      },
774      "resultdb": {
775        "current_invocation": {
776          "name": "invocations/build:8945511751514863184",
777          "update_token": "token"
778        },
779        "hostname": "rdbhost"
780      }
781    },
782    "name": "release.mac-amd64.upload.upload binary to CAS",
783    "~followup_annotations": [
784      "@@@STEP_NEST_LEVEL@3@@@",
785      "@@@STEP_LINK@CAS UI@https://cas-viewer.appspot.com/projects/example-cas-server/instances/default_instance/blobs/e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855/0/tree@@@"
786    ]
787  },
788  {
789    "cmd": [
790      "xcrun",
791      "--show-sdk-path"
792    ],
793    "luci_context": {
794      "realm": {
795        "name": "gn:try"
796      },
797      "resultdb": {
798        "current_invocation": {
799          "name": "invocations/build:8945511751514863184",
800          "update_token": "token"
801        },
802        "hostname": "rdbhost"
803      }
804    },
805    "name": "release.xcrun sdk-path (2)",
806    "~followup_annotations": [
807      "@@@STEP_NEST_LEVEL@1@@@",
808      "@@@STEP_LOG_LINE@raw_io.output_text[sdk-path]@/some/xcode/path@@@",
809      "@@@STEP_LOG_END@raw_io.output_text[sdk-path]@@@"
810    ]
811  },
812  {
813    "cmd": [
814      "xcrun",
815      "--toolchain",
816      "clang",
817      "clang++",
818      "-xc++",
819      "-fsyntax-only",
820      "-Wp,-v",
821      "/dev/null"
822    ],
823    "luci_context": {
824      "realm": {
825        "name": "gn:try"
826      },
827      "resultdb": {
828        "current_invocation": {
829          "name": "invocations/build:8945511751514863184",
830          "update_token": "token"
831        },
832        "hostname": "rdbhost"
833      }
834    },
835    "name": "release.xcrun toolchain (2)",
836    "~followup_annotations": [
837      "@@@STEP_NEST_LEVEL@1@@@",
838      "@@@STEP_LOG_LINE@raw_io.output_text[toolchain]@[CACHE]/macos_sdk/XCode.app/include/c++/v1@@@",
839      "@@@STEP_LOG_END@raw_io.output_text[toolchain]@@@"
840    ]
841  },
842  {
843    "cmd": [],
844    "name": "release.mac-arm64",
845    "~followup_annotations": [
846      "@@@STEP_NEST_LEVEL@1@@@"
847    ]
848  },
849  {
850    "cmd": [
851      "python3",
852      "-u",
853      "[START_DIR]/gn/build/gen.py",
854      "--use-lto",
855      "--use-icf"
856    ],
857    "cwd": "[START_DIR]/gn",
858    "env": {
859      "AR": "[START_DIR]/cipd/bin/llvm-ar",
860      "CC": "[START_DIR]/cipd/bin/clang",
861      "CFLAGS": "--target=arm64-apple-darwin --sysroot=/some/xcode/path -nostdinc++ -cxx-isystem [CACHE]/macos_sdk/XCode.app/include/c++/v1",
862      "CXX": "[START_DIR]/cipd/bin/clang++",
863      "LDFLAGS": "--target=arm64-apple-darwin --sysroot=/some/xcode/path"
864    },
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.mac-arm64.generate",
878    "~followup_annotations": [
879      "@@@STEP_NEST_LEVEL@2@@@"
880    ]
881  },
882  {
883    "cmd": [
884      "[START_DIR]/cipd/ninja",
885      "-C",
886      "[START_DIR]/gn/out"
887    ],
888    "cwd": "[START_DIR]/gn",
889    "env": {
890      "AR": "[START_DIR]/cipd/bin/llvm-ar",
891      "CC": "[START_DIR]/cipd/bin/clang",
892      "CFLAGS": "--target=arm64-apple-darwin --sysroot=/some/xcode/path -nostdinc++ -cxx-isystem [CACHE]/macos_sdk/XCode.app/include/c++/v1",
893      "CXX": "[START_DIR]/cipd/bin/clang++",
894      "LDFLAGS": "--target=arm64-apple-darwin --sysroot=/some/xcode/path"
895    },
896    "luci_context": {
897      "realm": {
898        "name": "gn:try"
899      },
900      "resultdb": {
901        "current_invocation": {
902          "name": "invocations/build:8945511751514863184",
903          "update_token": "token"
904        },
905        "hostname": "rdbhost"
906      }
907    },
908    "name": "release.mac-arm64.build",
909    "~followup_annotations": [
910      "@@@STEP_NEST_LEVEL@2@@@"
911    ]
912  },
913  {
914    "cmd": [],
915    "name": "release.mac-arm64.upload",
916    "~followup_annotations": [
917      "@@@STEP_NEST_LEVEL@2@@@"
918    ]
919  },
920  {
921    "cmd": [
922      "[START_DIR]/cipd_tool/infra/tools/luci/cas/33f9d887e5b8aeaaf9d65506acccfa8da2c480712e534a23a79e92c342c44bee/cas",
923      "archive",
924      "-log-level",
925      "info",
926      "-cas-instance",
927      "projects/example-cas-server/instances/default_instance",
928      "-dump-digest",
929      "/path/to/tmp/",
930      "-paths-json",
931      "[[\"[START_DIR]/gn/out\", \"gn\"]]"
932    ],
933    "cwd": "[START_DIR]/gn",
934    "env": {
935      "AR": "[START_DIR]/cipd/bin/llvm-ar",
936      "CC": "[START_DIR]/cipd/bin/clang",
937      "CFLAGS": "--target=arm64-apple-darwin --sysroot=/some/xcode/path -nostdinc++ -cxx-isystem [CACHE]/macos_sdk/XCode.app/include/c++/v1",
938      "CXX": "[START_DIR]/cipd/bin/clang++",
939      "LDFLAGS": "--target=arm64-apple-darwin --sysroot=/some/xcode/path"
940    },
941    "infra_step": true,
942    "luci_context": {
943      "realm": {
944        "name": "gn:try"
945      },
946      "resultdb": {
947        "current_invocation": {
948          "name": "invocations/build:8945511751514863184",
949          "update_token": "token"
950        },
951        "hostname": "rdbhost"
952      }
953    },
954    "name": "release.mac-arm64.upload.upload binary to CAS",
955    "~followup_annotations": [
956      "@@@STEP_NEST_LEVEL@3@@@",
957      "@@@STEP_LINK@CAS UI@https://cas-viewer.appspot.com/projects/example-cas-server/instances/default_instance/blobs/e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855/0/tree@@@"
958    ]
959  },
960  {
961    "cmd": [
962      "sudo",
963      "xcode-select",
964      "--reset"
965    ],
966    "infra_step": true,
967    "luci_context": {
968      "realm": {
969        "name": "gn:try"
970      },
971      "resultdb": {
972        "current_invocation": {
973          "name": "invocations/build:8945511751514863184",
974          "update_token": "token"
975        },
976        "hostname": "rdbhost"
977      }
978    },
979    "name": "reset XCode"
980  },
981  {
982    "name": "$result"
983  }
984]