• 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      "python",
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      "python",
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      "vpython",
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      "vpython",
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/git_revision%3Amock_infra_git_revision"
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/git_revision%3Amock_infra_git_revision",
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/git_revision%3Amock_infra_git_revision/cas",
751      "archive",
752      "-cas-instance",
753      "projects/example-cas-server/instances/default_instance",
754      "-dump-digest",
755      "/path/to/tmp/",
756      "-paths",
757      "[START_DIR]/gn/out:gn"
758    ],
759    "cwd": "[START_DIR]/gn",
760    "env": {
761      "AR": "[START_DIR]/cipd/bin/llvm-ar",
762      "CC": "[START_DIR]/cipd/bin/clang",
763      "CFLAGS": "--target=x86_64-apple-darwin --sysroot=/some/xcode/path -nostdinc++ -cxx-isystem [CACHE]/macos_sdk/XCode.app/include/c++/v1",
764      "CXX": "[START_DIR]/cipd/bin/clang++",
765      "LDFLAGS": "--target=x86_64-apple-darwin --sysroot=/some/xcode/path"
766    },
767    "infra_step": true,
768    "luci_context": {
769      "realm": {
770        "name": "gn:try"
771      },
772      "resultdb": {
773        "current_invocation": {
774          "name": "invocations/build:8945511751514863184",
775          "update_token": "token"
776        },
777        "hostname": "rdbhost"
778      }
779    },
780    "name": "release.mac-amd64.upload.upload binary to CAS",
781    "~followup_annotations": [
782      "@@@STEP_NEST_LEVEL@3@@@",
783      "@@@STEP_LINK@CAS UI@https://cas-viewer.appspot.com/projects/example-cas-server/instances/default_instance/blobs/e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855/0/tree@@@"
784    ]
785  },
786  {
787    "cmd": [
788      "xcrun",
789      "--show-sdk-path"
790    ],
791    "luci_context": {
792      "realm": {
793        "name": "gn:try"
794      },
795      "resultdb": {
796        "current_invocation": {
797          "name": "invocations/build:8945511751514863184",
798          "update_token": "token"
799        },
800        "hostname": "rdbhost"
801      }
802    },
803    "name": "release.xcrun sdk-path (2)",
804    "~followup_annotations": [
805      "@@@STEP_NEST_LEVEL@1@@@",
806      "@@@STEP_LOG_LINE@raw_io.output_text[sdk-path]@/some/xcode/path@@@",
807      "@@@STEP_LOG_END@raw_io.output_text[sdk-path]@@@"
808    ]
809  },
810  {
811    "cmd": [
812      "xcrun",
813      "--toolchain",
814      "clang",
815      "clang++",
816      "-xc++",
817      "-fsyntax-only",
818      "-Wp,-v",
819      "/dev/null"
820    ],
821    "luci_context": {
822      "realm": {
823        "name": "gn:try"
824      },
825      "resultdb": {
826        "current_invocation": {
827          "name": "invocations/build:8945511751514863184",
828          "update_token": "token"
829        },
830        "hostname": "rdbhost"
831      }
832    },
833    "name": "release.xcrun toolchain (2)",
834    "~followup_annotations": [
835      "@@@STEP_NEST_LEVEL@1@@@",
836      "@@@STEP_LOG_LINE@raw_io.output_text[toolchain]@[CACHE]/macos_sdk/XCode.app/include/c++/v1@@@",
837      "@@@STEP_LOG_END@raw_io.output_text[toolchain]@@@"
838    ]
839  },
840  {
841    "cmd": [],
842    "name": "release.mac-arm64",
843    "~followup_annotations": [
844      "@@@STEP_NEST_LEVEL@1@@@"
845    ]
846  },
847  {
848    "cmd": [
849      "python",
850      "-u",
851      "[START_DIR]/gn/build/gen.py",
852      "--use-lto",
853      "--use-icf"
854    ],
855    "cwd": "[START_DIR]/gn",
856    "env": {
857      "AR": "[START_DIR]/cipd/bin/llvm-ar",
858      "CC": "[START_DIR]/cipd/bin/clang",
859      "CFLAGS": "--target=arm64-apple-darwin --sysroot=/some/xcode/path -nostdinc++ -cxx-isystem [CACHE]/macos_sdk/XCode.app/include/c++/v1",
860      "CXX": "[START_DIR]/cipd/bin/clang++",
861      "LDFLAGS": "--target=arm64-apple-darwin --sysroot=/some/xcode/path"
862    },
863    "luci_context": {
864      "realm": {
865        "name": "gn:try"
866      },
867      "resultdb": {
868        "current_invocation": {
869          "name": "invocations/build:8945511751514863184",
870          "update_token": "token"
871        },
872        "hostname": "rdbhost"
873      }
874    },
875    "name": "release.mac-arm64.generate",
876    "~followup_annotations": [
877      "@@@STEP_NEST_LEVEL@2@@@"
878    ]
879  },
880  {
881    "cmd": [
882      "[START_DIR]/cipd/ninja",
883      "-C",
884      "[START_DIR]/gn/out"
885    ],
886    "cwd": "[START_DIR]/gn",
887    "env": {
888      "AR": "[START_DIR]/cipd/bin/llvm-ar",
889      "CC": "[START_DIR]/cipd/bin/clang",
890      "CFLAGS": "--target=arm64-apple-darwin --sysroot=/some/xcode/path -nostdinc++ -cxx-isystem [CACHE]/macos_sdk/XCode.app/include/c++/v1",
891      "CXX": "[START_DIR]/cipd/bin/clang++",
892      "LDFLAGS": "--target=arm64-apple-darwin --sysroot=/some/xcode/path"
893    },
894    "luci_context": {
895      "realm": {
896        "name": "gn:try"
897      },
898      "resultdb": {
899        "current_invocation": {
900          "name": "invocations/build:8945511751514863184",
901          "update_token": "token"
902        },
903        "hostname": "rdbhost"
904      }
905    },
906    "name": "release.mac-arm64.build",
907    "~followup_annotations": [
908      "@@@STEP_NEST_LEVEL@2@@@"
909    ]
910  },
911  {
912    "cmd": [],
913    "name": "release.mac-arm64.upload",
914    "~followup_annotations": [
915      "@@@STEP_NEST_LEVEL@2@@@"
916    ]
917  },
918  {
919    "cmd": [
920      "[START_DIR]/cipd_tool/infra/tools/luci/cas/git_revision%3Amock_infra_git_revision/cas",
921      "archive",
922      "-cas-instance",
923      "projects/example-cas-server/instances/default_instance",
924      "-dump-digest",
925      "/path/to/tmp/",
926      "-paths",
927      "[START_DIR]/gn/out:gn"
928    ],
929    "cwd": "[START_DIR]/gn",
930    "env": {
931      "AR": "[START_DIR]/cipd/bin/llvm-ar",
932      "CC": "[START_DIR]/cipd/bin/clang",
933      "CFLAGS": "--target=arm64-apple-darwin --sysroot=/some/xcode/path -nostdinc++ -cxx-isystem [CACHE]/macos_sdk/XCode.app/include/c++/v1",
934      "CXX": "[START_DIR]/cipd/bin/clang++",
935      "LDFLAGS": "--target=arm64-apple-darwin --sysroot=/some/xcode/path"
936    },
937    "infra_step": true,
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.mac-arm64.upload.upload binary to CAS",
951    "~followup_annotations": [
952      "@@@STEP_NEST_LEVEL@3@@@",
953      "@@@STEP_LINK@CAS UI@https://cas-viewer.appspot.com/projects/example-cas-server/instances/default_instance/blobs/e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855/0/tree@@@"
954    ]
955  },
956  {
957    "cmd": [
958      "sudo",
959      "xcode-select",
960      "--reset"
961    ],
962    "infra_step": true,
963    "luci_context": {
964      "realm": {
965        "name": "gn:try"
966      },
967      "resultdb": {
968        "current_invocation": {
969          "name": "invocations/build:8945511751514863184",
970          "update_token": "token"
971        },
972        "hostname": "rdbhost"
973      }
974    },
975    "name": "reset XCode"
976  },
977  {
978    "name": "$result"
979  }
980]