• 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": "infra-internal:ci"
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      "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
37    ],
38    "cwd": "[START_DIR]/gn",
39    "infra_step": true,
40    "luci_context": {
41      "realm": {
42        "name": "infra-internal:ci"
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": "infra-internal:ci"
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": "infra-internal:ci"
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      "cipd",
110      "ensure",
111      "-root",
112      "[START_DIR]/cipd",
113      "-ensure-file",
114      "infra/ninja/${platform} version:1.8.2\nfuchsia/third_party/clang/${platform} integration\n@Subdir sysroot\nfuchsia/third_party/sysroot/linux git_revision:c912d089c3d46d8982fdef76a50514cca79b6132",
115      "-max-threads",
116      "0",
117      "-json-output",
118      "/path/to/tmp/json"
119    ],
120    "infra_step": true,
121    "luci_context": {
122      "realm": {
123        "name": "infra-internal:ci"
124      },
125      "resultdb": {
126        "current_invocation": {
127          "name": "invocations/build:8945511751514863184",
128          "update_token": "token"
129        },
130        "hostname": "rdbhost"
131      }
132    },
133    "name": "ensure_installed",
134    "~followup_annotations": [
135      "@@@STEP_LOG_LINE@json.output@{@@@",
136      "@@@STEP_LOG_LINE@json.output@  \"result\": {@@@",
137      "@@@STEP_LOG_LINE@json.output@    \"\": [@@@",
138      "@@@STEP_LOG_LINE@json.output@      {@@@",
139      "@@@STEP_LOG_LINE@json.output@        \"instance_id\": \"resolved-instance_id-of-integration-----\", @@@",
140      "@@@STEP_LOG_LINE@json.output@        \"package\": \"fuchsia/third_party/clang/resolved-platform\"@@@",
141      "@@@STEP_LOG_LINE@json.output@      }, @@@",
142      "@@@STEP_LOG_LINE@json.output@      {@@@",
143      "@@@STEP_LOG_LINE@json.output@        \"instance_id\": \"resolved-instance_id-of-version:1.8.2---\", @@@",
144      "@@@STEP_LOG_LINE@json.output@        \"package\": \"infra/ninja/resolved-platform\"@@@",
145      "@@@STEP_LOG_LINE@json.output@      }@@@",
146      "@@@STEP_LOG_LINE@json.output@    ], @@@",
147      "@@@STEP_LOG_LINE@json.output@    \"sysroot\": [@@@",
148      "@@@STEP_LOG_LINE@json.output@      {@@@",
149      "@@@STEP_LOG_LINE@json.output@        \"instance_id\": \"resolved-instance_id-of-git_revision:c91\", @@@",
150      "@@@STEP_LOG_LINE@json.output@        \"package\": \"fuchsia/third_party/sysroot/linux\"@@@",
151      "@@@STEP_LOG_LINE@json.output@      }@@@",
152      "@@@STEP_LOG_LINE@json.output@    ]@@@",
153      "@@@STEP_LOG_LINE@json.output@  }@@@",
154      "@@@STEP_LOG_LINE@json.output@}@@@",
155      "@@@STEP_LOG_END@json.output@@@"
156    ]
157  },
158  {
159    "cmd": [],
160    "name": "rpmalloc"
161  },
162  {
163    "cmd": [
164      "git",
165      "init",
166      "[START_DIR]/rpmalloc"
167    ],
168    "luci_context": {
169      "realm": {
170        "name": "infra-internal:ci"
171      },
172      "resultdb": {
173        "current_invocation": {
174          "name": "invocations/build:8945511751514863184",
175          "update_token": "token"
176        },
177        "hostname": "rdbhost"
178      }
179    },
180    "name": "rpmalloc.init",
181    "~followup_annotations": [
182      "@@@STEP_NEST_LEVEL@1@@@"
183    ]
184  },
185  {
186    "cmd": [
187      "git",
188      "fetch",
189      "--tags",
190      "https://fuchsia.googlesource.com/third_party/github.com/mjansson/rpmalloc",
191      "+upstream/develop"
192    ],
193    "cwd": "[START_DIR]/rpmalloc",
194    "infra_step": true,
195    "luci_context": {
196      "realm": {
197        "name": "infra-internal:ci"
198      },
199      "resultdb": {
200        "current_invocation": {
201          "name": "invocations/build:8945511751514863184",
202          "update_token": "token"
203        },
204        "hostname": "rdbhost"
205      }
206    },
207    "name": "rpmalloc.fetch",
208    "~followup_annotations": [
209      "@@@STEP_NEST_LEVEL@1@@@"
210    ]
211  },
212  {
213    "cmd": [
214      "git",
215      "checkout",
216      "b097fd0916500439721a114bb9cd8d14bd998683"
217    ],
218    "cwd": "[START_DIR]/rpmalloc",
219    "infra_step": true,
220    "luci_context": {
221      "realm": {
222        "name": "infra-internal:ci"
223      },
224      "resultdb": {
225        "current_invocation": {
226          "name": "invocations/build:8945511751514863184",
227          "update_token": "token"
228        },
229        "hostname": "rdbhost"
230      }
231    },
232    "name": "rpmalloc.checkout",
233    "~followup_annotations": [
234      "@@@STEP_NEST_LEVEL@1@@@"
235    ]
236  },
237  {
238    "cmd": [
239      "vpython",
240      "-u",
241      "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
242      "--json-output",
243      "/path/to/tmp/json",
244      "copy",
245      "[START_DIR]/rpmalloc/build/ninja/clang.py",
246      "/path/to/tmp/"
247    ],
248    "infra_step": true,
249    "luci_context": {
250      "realm": {
251        "name": "infra-internal:ci"
252      },
253      "resultdb": {
254        "current_invocation": {
255          "name": "invocations/build:8945511751514863184",
256          "update_token": "token"
257        },
258        "hostname": "rdbhost"
259      }
260    },
261    "name": "rpmalloc.read [START_DIR]/rpmalloc/build/ninja/clang.py",
262    "~followup_annotations": [
263      "@@@STEP_NEST_LEVEL@1@@@",
264      "@@@STEP_LOG_LINE@clang.py@CXXFLAGS = ['-Wall', '-Weverything', '-Wfoo']@@@",
265      "@@@STEP_LOG_END@clang.py@@@"
266    ]
267  },
268  {
269    "cmd": [
270      "vpython",
271      "-u",
272      "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
273      "--json-output",
274      "/path/to/tmp/json",
275      "copy",
276      "CXXFLAGS = ['-Wall', '-Weverything', '-Wfoo']",
277      "[START_DIR]/rpmalloc/build/ninja/clang.py"
278    ],
279    "infra_step": true,
280    "luci_context": {
281      "realm": {
282        "name": "infra-internal:ci"
283      },
284      "resultdb": {
285        "current_invocation": {
286          "name": "invocations/build:8945511751514863184",
287          "update_token": "token"
288        },
289        "hostname": "rdbhost"
290      }
291    },
292    "name": "rpmalloc.write [START_DIR]/rpmalloc/build/ninja/clang.py",
293    "~followup_annotations": [
294      "@@@STEP_NEST_LEVEL@1@@@",
295      "@@@STEP_LOG_LINE@clang.py@CXXFLAGS = ['-Wall', '-Weverything', '-Wfoo']@@@",
296      "@@@STEP_LOG_END@clang.py@@@"
297    ]
298  },
299  {
300    "cmd": [],
301    "name": "rpmalloc.build rpmalloc-linux-amd64",
302    "~followup_annotations": [
303      "@@@STEP_NEST_LEVEL@1@@@"
304    ]
305  },
306  {
307    "cmd": [
308      "python",
309      "-u",
310      "[START_DIR]/rpmalloc/configure.py",
311      "-c",
312      "release",
313      "-a",
314      "x86-64",
315      "--lto"
316    ],
317    "cwd": "[START_DIR]/rpmalloc",
318    "env": {
319      "AR": "[START_DIR]/cipd/bin/llvm-ar",
320      "CC": "[START_DIR]/cipd/bin/clang",
321      "CFLAGS": "--target=x86_64-linux-gnu --sysroot=[START_DIR]/cipd/sysroot",
322      "CXX": "[START_DIR]/cipd/bin/clang++",
323      "LDFLAGS": "--target=x86_64-linux-gnu --sysroot=[START_DIR]/cipd/sysroot -static-libstdc++"
324    },
325    "luci_context": {
326      "realm": {
327        "name": "infra-internal:ci"
328      },
329      "resultdb": {
330        "current_invocation": {
331          "name": "invocations/build:8945511751514863184",
332          "update_token": "token"
333        },
334        "hostname": "rdbhost"
335      }
336    },
337    "name": "rpmalloc.build rpmalloc-linux-amd64.configure",
338    "~followup_annotations": [
339      "@@@STEP_NEST_LEVEL@2@@@"
340    ]
341  },
342  {
343    "cmd": [
344      "[START_DIR]/cipd/ninja",
345      "lib/linux/release/x86-64/librpmallocwrap.a"
346    ],
347    "cwd": "[START_DIR]/rpmalloc",
348    "env": {
349      "AR": "[START_DIR]/cipd/bin/llvm-ar",
350      "CC": "[START_DIR]/cipd/bin/clang",
351      "CFLAGS": "--target=x86_64-linux-gnu --sysroot=[START_DIR]/cipd/sysroot",
352      "CXX": "[START_DIR]/cipd/bin/clang++",
353      "LDFLAGS": "--target=x86_64-linux-gnu --sysroot=[START_DIR]/cipd/sysroot -static-libstdc++"
354    },
355    "luci_context": {
356      "realm": {
357        "name": "infra-internal:ci"
358      },
359      "resultdb": {
360        "current_invocation": {
361          "name": "invocations/build:8945511751514863184",
362          "update_token": "token"
363        },
364        "hostname": "rdbhost"
365      }
366    },
367    "name": "rpmalloc.build rpmalloc-linux-amd64.ninja",
368    "~followup_annotations": [
369      "@@@STEP_NEST_LEVEL@2@@@"
370    ]
371  },
372  {
373    "cmd": [],
374    "name": "rpmalloc.build rpmalloc-linux-arm64",
375    "~followup_annotations": [
376      "@@@STEP_NEST_LEVEL@1@@@"
377    ]
378  },
379  {
380    "cmd": [
381      "python",
382      "-u",
383      "[START_DIR]/rpmalloc/configure.py",
384      "-c",
385      "release",
386      "-a",
387      "arm64",
388      "--lto"
389    ],
390    "cwd": "[START_DIR]/rpmalloc",
391    "env": {
392      "AR": "[START_DIR]/cipd/bin/llvm-ar",
393      "CC": "[START_DIR]/cipd/bin/clang",
394      "CFLAGS": "--target=aarch64-linux-gnu --sysroot=[START_DIR]/cipd/sysroot",
395      "CXX": "[START_DIR]/cipd/bin/clang++",
396      "LDFLAGS": "--target=aarch64-linux-gnu --sysroot=[START_DIR]/cipd/sysroot -static-libstdc++"
397    },
398    "luci_context": {
399      "realm": {
400        "name": "infra-internal:ci"
401      },
402      "resultdb": {
403        "current_invocation": {
404          "name": "invocations/build:8945511751514863184",
405          "update_token": "token"
406        },
407        "hostname": "rdbhost"
408      }
409    },
410    "name": "rpmalloc.build rpmalloc-linux-arm64.configure",
411    "~followup_annotations": [
412      "@@@STEP_NEST_LEVEL@2@@@"
413    ]
414  },
415  {
416    "cmd": [
417      "[START_DIR]/cipd/ninja",
418      "lib/linux/release/arm64/librpmallocwrap.a"
419    ],
420    "cwd": "[START_DIR]/rpmalloc",
421    "env": {
422      "AR": "[START_DIR]/cipd/bin/llvm-ar",
423      "CC": "[START_DIR]/cipd/bin/clang",
424      "CFLAGS": "--target=aarch64-linux-gnu --sysroot=[START_DIR]/cipd/sysroot",
425      "CXX": "[START_DIR]/cipd/bin/clang++",
426      "LDFLAGS": "--target=aarch64-linux-gnu --sysroot=[START_DIR]/cipd/sysroot -static-libstdc++"
427    },
428    "luci_context": {
429      "realm": {
430        "name": "infra-internal:ci"
431      },
432      "resultdb": {
433        "current_invocation": {
434          "name": "invocations/build:8945511751514863184",
435          "update_token": "token"
436        },
437        "hostname": "rdbhost"
438      }
439    },
440    "name": "rpmalloc.build rpmalloc-linux-arm64.ninja",
441    "~followup_annotations": [
442      "@@@STEP_NEST_LEVEL@2@@@"
443    ]
444  },
445  {
446    "cmd": [],
447    "name": "debug"
448  },
449  {
450    "cmd": [],
451    "name": "debug.linux-amd64",
452    "~followup_annotations": [
453      "@@@STEP_NEST_LEVEL@1@@@"
454    ]
455  },
456  {
457    "cmd": [
458      "python",
459      "-u",
460      "[START_DIR]/gn/build/gen.py",
461      "-d"
462    ],
463    "cwd": "[START_DIR]/gn",
464    "env": {
465      "AR": "[START_DIR]/cipd/bin/llvm-ar",
466      "CC": "[START_DIR]/cipd/bin/clang",
467      "CFLAGS": "--target=x86_64-linux-gnu --sysroot=[START_DIR]/cipd/sysroot",
468      "CXX": "[START_DIR]/cipd/bin/clang++",
469      "LDFLAGS": "--target=x86_64-linux-gnu --sysroot=[START_DIR]/cipd/sysroot -static-libstdc++"
470    },
471    "luci_context": {
472      "realm": {
473        "name": "infra-internal:ci"
474      },
475      "resultdb": {
476        "current_invocation": {
477          "name": "invocations/build:8945511751514863184",
478          "update_token": "token"
479        },
480        "hostname": "rdbhost"
481      }
482    },
483    "name": "debug.linux-amd64.generate",
484    "~followup_annotations": [
485      "@@@STEP_NEST_LEVEL@2@@@"
486    ]
487  },
488  {
489    "cmd": [
490      "[START_DIR]/cipd/ninja",
491      "-C",
492      "[START_DIR]/gn/out"
493    ],
494    "cwd": "[START_DIR]/gn",
495    "env": {
496      "AR": "[START_DIR]/cipd/bin/llvm-ar",
497      "CC": "[START_DIR]/cipd/bin/clang",
498      "CFLAGS": "--target=x86_64-linux-gnu --sysroot=[START_DIR]/cipd/sysroot",
499      "CXX": "[START_DIR]/cipd/bin/clang++",
500      "LDFLAGS": "--target=x86_64-linux-gnu --sysroot=[START_DIR]/cipd/sysroot -static-libstdc++"
501    },
502    "luci_context": {
503      "realm": {
504        "name": "infra-internal:ci"
505      },
506      "resultdb": {
507        "current_invocation": {
508          "name": "invocations/build:8945511751514863184",
509          "update_token": "token"
510        },
511        "hostname": "rdbhost"
512      }
513    },
514    "name": "debug.linux-amd64.build",
515    "~followup_annotations": [
516      "@@@STEP_NEST_LEVEL@2@@@"
517    ]
518  },
519  {
520    "cmd": [
521      "[START_DIR]/gn/out/gn_unittests"
522    ],
523    "cwd": "[START_DIR]/gn",
524    "env": {
525      "AR": "[START_DIR]/cipd/bin/llvm-ar",
526      "CC": "[START_DIR]/cipd/bin/clang",
527      "CFLAGS": "--target=x86_64-linux-gnu --sysroot=[START_DIR]/cipd/sysroot",
528      "CXX": "[START_DIR]/cipd/bin/clang++",
529      "LDFLAGS": "--target=x86_64-linux-gnu --sysroot=[START_DIR]/cipd/sysroot -static-libstdc++"
530    },
531    "luci_context": {
532      "realm": {
533        "name": "infra-internal:ci"
534      },
535      "resultdb": {
536        "current_invocation": {
537          "name": "invocations/build:8945511751514863184",
538          "update_token": "token"
539        },
540        "hostname": "rdbhost"
541      }
542    },
543    "name": "debug.linux-amd64.test",
544    "~followup_annotations": [
545      "@@@STEP_NEST_LEVEL@2@@@"
546    ]
547  },
548  {
549    "cmd": [],
550    "name": "release"
551  },
552  {
553    "cmd": [],
554    "name": "release.linux-amd64",
555    "~followup_annotations": [
556      "@@@STEP_NEST_LEVEL@1@@@"
557    ]
558  },
559  {
560    "cmd": [
561      "python",
562      "-u",
563      "[START_DIR]/gn/build/gen.py",
564      "--use-lto",
565      "--use-icf",
566      "--link-lib=[START_DIR]/rpmalloc/lib/linux/release/x86-64/librpmallocwrap.a"
567    ],
568    "cwd": "[START_DIR]/gn",
569    "env": {
570      "AR": "[START_DIR]/cipd/bin/llvm-ar",
571      "CC": "[START_DIR]/cipd/bin/clang",
572      "CFLAGS": "--target=x86_64-linux-gnu --sysroot=[START_DIR]/cipd/sysroot",
573      "CXX": "[START_DIR]/cipd/bin/clang++",
574      "LDFLAGS": "--target=x86_64-linux-gnu --sysroot=[START_DIR]/cipd/sysroot -static-libstdc++"
575    },
576    "luci_context": {
577      "realm": {
578        "name": "infra-internal:ci"
579      },
580      "resultdb": {
581        "current_invocation": {
582          "name": "invocations/build:8945511751514863184",
583          "update_token": "token"
584        },
585        "hostname": "rdbhost"
586      }
587    },
588    "name": "release.linux-amd64.generate",
589    "~followup_annotations": [
590      "@@@STEP_NEST_LEVEL@2@@@"
591    ]
592  },
593  {
594    "cmd": [
595      "[START_DIR]/cipd/ninja",
596      "-C",
597      "[START_DIR]/gn/out"
598    ],
599    "cwd": "[START_DIR]/gn",
600    "env": {
601      "AR": "[START_DIR]/cipd/bin/llvm-ar",
602      "CC": "[START_DIR]/cipd/bin/clang",
603      "CFLAGS": "--target=x86_64-linux-gnu --sysroot=[START_DIR]/cipd/sysroot",
604      "CXX": "[START_DIR]/cipd/bin/clang++",
605      "LDFLAGS": "--target=x86_64-linux-gnu --sysroot=[START_DIR]/cipd/sysroot -static-libstdc++"
606    },
607    "luci_context": {
608      "realm": {
609        "name": "infra-internal:ci"
610      },
611      "resultdb": {
612        "current_invocation": {
613          "name": "invocations/build:8945511751514863184",
614          "update_token": "token"
615        },
616        "hostname": "rdbhost"
617      }
618    },
619    "name": "release.linux-amd64.build",
620    "~followup_annotations": [
621      "@@@STEP_NEST_LEVEL@2@@@"
622    ]
623  },
624  {
625    "cmd": [
626      "[START_DIR]/gn/out/gn_unittests"
627    ],
628    "cwd": "[START_DIR]/gn",
629    "env": {
630      "AR": "[START_DIR]/cipd/bin/llvm-ar",
631      "CC": "[START_DIR]/cipd/bin/clang",
632      "CFLAGS": "--target=x86_64-linux-gnu --sysroot=[START_DIR]/cipd/sysroot",
633      "CXX": "[START_DIR]/cipd/bin/clang++",
634      "LDFLAGS": "--target=x86_64-linux-gnu --sysroot=[START_DIR]/cipd/sysroot -static-libstdc++"
635    },
636    "luci_context": {
637      "realm": {
638        "name": "infra-internal:ci"
639      },
640      "resultdb": {
641        "current_invocation": {
642          "name": "invocations/build:8945511751514863184",
643          "update_token": "token"
644        },
645        "hostname": "rdbhost"
646      }
647    },
648    "name": "release.linux-amd64.test",
649    "~followup_annotations": [
650      "@@@STEP_NEST_LEVEL@2@@@"
651    ]
652  },
653  {
654    "cmd": [],
655    "name": "release.linux-amd64.upload",
656    "~followup_annotations": [
657      "@@@STEP_NEST_LEVEL@2@@@"
658    ]
659  },
660  {
661    "cmd": [
662      "cipd",
663      "pkg-build",
664      "-pkg-def",
665      "{\"data\": [{\"file\": \"gn\"}, {\"version_file\": \".versions/gn.cipd_version\"}], \"install_mode\": \"copy\", \"package\": \"gn/gn/linux-amd64\", \"root\": \"[START_DIR]/gn/out\"}",
666      "-out",
667      "[CLEANUP]/gn.cipd",
668      "-hash-algo",
669      "sha256",
670      "-json-output",
671      "/path/to/tmp/json"
672    ],
673    "cwd": "[START_DIR]/gn",
674    "env": {
675      "AR": "[START_DIR]/cipd/bin/llvm-ar",
676      "CC": "[START_DIR]/cipd/bin/clang",
677      "CFLAGS": "--target=x86_64-linux-gnu --sysroot=[START_DIR]/cipd/sysroot",
678      "CXX": "[START_DIR]/cipd/bin/clang++",
679      "LDFLAGS": "--target=x86_64-linux-gnu --sysroot=[START_DIR]/cipd/sysroot -static-libstdc++"
680    },
681    "luci_context": {
682      "realm": {
683        "name": "infra-internal:ci"
684      },
685      "resultdb": {
686        "current_invocation": {
687          "name": "invocations/build:8945511751514863184",
688          "update_token": "token"
689        },
690        "hostname": "rdbhost"
691      }
692    },
693    "name": "release.linux-amd64.upload.build gn/gn/linux-amd64",
694    "~followup_annotations": [
695      "@@@STEP_NEST_LEVEL@3@@@",
696      "@@@STEP_LOG_LINE@json.output@{@@@",
697      "@@@STEP_LOG_LINE@json.output@  \"result\": {@@@",
698      "@@@STEP_LOG_LINE@json.output@    \"instance_id\": \"40-chars-fake-of-the-package-instance_id\", @@@",
699      "@@@STEP_LOG_LINE@json.output@    \"package\": \"gn/gn/linux-amd64\"@@@",
700      "@@@STEP_LOG_LINE@json.output@  }@@@",
701      "@@@STEP_LOG_LINE@json.output@}@@@",
702      "@@@STEP_LOG_END@json.output@@@"
703    ]
704  },
705  {
706    "cmd": [
707      "cipd",
708      "search",
709      "gn/gn/linux-amd64",
710      "-tag",
711      "git_revision:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
712      "-json-output",
713      "/path/to/tmp/json"
714    ],
715    "cwd": "[START_DIR]/gn",
716    "env": {
717      "AR": "[START_DIR]/cipd/bin/llvm-ar",
718      "CC": "[START_DIR]/cipd/bin/clang",
719      "CFLAGS": "--target=x86_64-linux-gnu --sysroot=[START_DIR]/cipd/sysroot",
720      "CXX": "[START_DIR]/cipd/bin/clang++",
721      "LDFLAGS": "--target=x86_64-linux-gnu --sysroot=[START_DIR]/cipd/sysroot -static-libstdc++"
722    },
723    "luci_context": {
724      "realm": {
725        "name": "infra-internal:ci"
726      },
727      "resultdb": {
728        "current_invocation": {
729          "name": "invocations/build:8945511751514863184",
730          "update_token": "token"
731        },
732        "hostname": "rdbhost"
733      }
734    },
735    "name": "release.linux-amd64.upload.cipd search gn/gn/linux-amd64 git_revision:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
736    "~followup_annotations": [
737      "@@@STEP_NEST_LEVEL@3@@@",
738      "@@@STEP_LOG_LINE@json.output@{@@@",
739      "@@@STEP_LOG_LINE@json.output@  \"result\": [@@@",
740      "@@@STEP_LOG_LINE@json.output@    {@@@",
741      "@@@STEP_LOG_LINE@json.output@      \"instance_id\": \"resolved-instance_id-of-git_revision:aaa\", @@@",
742      "@@@STEP_LOG_LINE@json.output@      \"package\": \"gn/gn/linux-amd64\"@@@",
743      "@@@STEP_LOG_LINE@json.output@    }@@@",
744      "@@@STEP_LOG_LINE@json.output@  ]@@@",
745      "@@@STEP_LOG_LINE@json.output@}@@@",
746      "@@@STEP_LOG_END@json.output@@@"
747    ]
748  },
749  {
750    "cmd": [],
751    "name": "release.linux-amd64.upload.Package is up-to-date",
752    "~followup_annotations": [
753      "@@@STEP_NEST_LEVEL@3@@@"
754    ]
755  },
756  {
757    "cmd": [],
758    "name": "release.linux-arm64",
759    "~followup_annotations": [
760      "@@@STEP_NEST_LEVEL@1@@@"
761    ]
762  },
763  {
764    "cmd": [
765      "python",
766      "-u",
767      "[START_DIR]/gn/build/gen.py",
768      "--use-lto",
769      "--use-icf",
770      "--link-lib=[START_DIR]/rpmalloc/lib/linux/release/arm64/librpmallocwrap.a"
771    ],
772    "cwd": "[START_DIR]/gn",
773    "env": {
774      "AR": "[START_DIR]/cipd/bin/llvm-ar",
775      "CC": "[START_DIR]/cipd/bin/clang",
776      "CFLAGS": "--target=aarch64-linux-gnu --sysroot=[START_DIR]/cipd/sysroot",
777      "CXX": "[START_DIR]/cipd/bin/clang++",
778      "LDFLAGS": "--target=aarch64-linux-gnu --sysroot=[START_DIR]/cipd/sysroot -static-libstdc++"
779    },
780    "luci_context": {
781      "realm": {
782        "name": "infra-internal:ci"
783      },
784      "resultdb": {
785        "current_invocation": {
786          "name": "invocations/build:8945511751514863184",
787          "update_token": "token"
788        },
789        "hostname": "rdbhost"
790      }
791    },
792    "name": "release.linux-arm64.generate",
793    "~followup_annotations": [
794      "@@@STEP_NEST_LEVEL@2@@@"
795    ]
796  },
797  {
798    "cmd": [
799      "[START_DIR]/cipd/ninja",
800      "-C",
801      "[START_DIR]/gn/out"
802    ],
803    "cwd": "[START_DIR]/gn",
804    "env": {
805      "AR": "[START_DIR]/cipd/bin/llvm-ar",
806      "CC": "[START_DIR]/cipd/bin/clang",
807      "CFLAGS": "--target=aarch64-linux-gnu --sysroot=[START_DIR]/cipd/sysroot",
808      "CXX": "[START_DIR]/cipd/bin/clang++",
809      "LDFLAGS": "--target=aarch64-linux-gnu --sysroot=[START_DIR]/cipd/sysroot -static-libstdc++"
810    },
811    "luci_context": {
812      "realm": {
813        "name": "infra-internal:ci"
814      },
815      "resultdb": {
816        "current_invocation": {
817          "name": "invocations/build:8945511751514863184",
818          "update_token": "token"
819        },
820        "hostname": "rdbhost"
821      }
822    },
823    "name": "release.linux-arm64.build",
824    "~followup_annotations": [
825      "@@@STEP_NEST_LEVEL@2@@@"
826    ]
827  },
828  {
829    "cmd": [],
830    "name": "release.linux-arm64.upload",
831    "~followup_annotations": [
832      "@@@STEP_NEST_LEVEL@2@@@"
833    ]
834  },
835  {
836    "cmd": [
837      "cipd",
838      "pkg-build",
839      "-pkg-def",
840      "{\"data\": [{\"file\": \"gn\"}, {\"version_file\": \".versions/gn.cipd_version\"}], \"install_mode\": \"copy\", \"package\": \"gn/gn/linux-arm64\", \"root\": \"[START_DIR]/gn/out\"}",
841      "-out",
842      "[CLEANUP]/gn.cipd",
843      "-hash-algo",
844      "sha256",
845      "-json-output",
846      "/path/to/tmp/json"
847    ],
848    "cwd": "[START_DIR]/gn",
849    "env": {
850      "AR": "[START_DIR]/cipd/bin/llvm-ar",
851      "CC": "[START_DIR]/cipd/bin/clang",
852      "CFLAGS": "--target=aarch64-linux-gnu --sysroot=[START_DIR]/cipd/sysroot",
853      "CXX": "[START_DIR]/cipd/bin/clang++",
854      "LDFLAGS": "--target=aarch64-linux-gnu --sysroot=[START_DIR]/cipd/sysroot -static-libstdc++"
855    },
856    "luci_context": {
857      "realm": {
858        "name": "infra-internal:ci"
859      },
860      "resultdb": {
861        "current_invocation": {
862          "name": "invocations/build:8945511751514863184",
863          "update_token": "token"
864        },
865        "hostname": "rdbhost"
866      }
867    },
868    "name": "release.linux-arm64.upload.build gn/gn/linux-arm64",
869    "~followup_annotations": [
870      "@@@STEP_NEST_LEVEL@3@@@",
871      "@@@STEP_LOG_LINE@json.output@{@@@",
872      "@@@STEP_LOG_LINE@json.output@  \"result\": {@@@",
873      "@@@STEP_LOG_LINE@json.output@    \"instance_id\": \"40-chars-fake-of-the-package-instance_id\", @@@",
874      "@@@STEP_LOG_LINE@json.output@    \"package\": \"gn/gn/linux-arm64\"@@@",
875      "@@@STEP_LOG_LINE@json.output@  }@@@",
876      "@@@STEP_LOG_LINE@json.output@}@@@",
877      "@@@STEP_LOG_END@json.output@@@"
878    ]
879  },
880  {
881    "cmd": [
882      "cipd",
883      "search",
884      "gn/gn/linux-arm64",
885      "-tag",
886      "git_revision:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
887      "-json-output",
888      "/path/to/tmp/json"
889    ],
890    "cwd": "[START_DIR]/gn",
891    "env": {
892      "AR": "[START_DIR]/cipd/bin/llvm-ar",
893      "CC": "[START_DIR]/cipd/bin/clang",
894      "CFLAGS": "--target=aarch64-linux-gnu --sysroot=[START_DIR]/cipd/sysroot",
895      "CXX": "[START_DIR]/cipd/bin/clang++",
896      "LDFLAGS": "--target=aarch64-linux-gnu --sysroot=[START_DIR]/cipd/sysroot -static-libstdc++"
897    },
898    "luci_context": {
899      "realm": {
900        "name": "infra-internal:ci"
901      },
902      "resultdb": {
903        "current_invocation": {
904          "name": "invocations/build:8945511751514863184",
905          "update_token": "token"
906        },
907        "hostname": "rdbhost"
908      }
909    },
910    "name": "release.linux-arm64.upload.cipd search gn/gn/linux-arm64 git_revision:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
911    "~followup_annotations": [
912      "@@@STEP_NEST_LEVEL@3@@@",
913      "@@@STEP_LOG_LINE@json.output@{@@@",
914      "@@@STEP_LOG_LINE@json.output@  \"result\": [@@@",
915      "@@@STEP_LOG_LINE@json.output@    {@@@",
916      "@@@STEP_LOG_LINE@json.output@      \"instance_id\": \"40-chars-fake-of-the-package-instance_id\", @@@",
917      "@@@STEP_LOG_LINE@json.output@      \"package\": \"gn/gn/linux-arm64\"@@@",
918      "@@@STEP_LOG_LINE@json.output@    }@@@",
919      "@@@STEP_LOG_LINE@json.output@  ]@@@",
920      "@@@STEP_LOG_LINE@json.output@}@@@",
921      "@@@STEP_LOG_END@json.output@@@"
922    ]
923  },
924  {
925    "cmd": [],
926    "name": "release.linux-arm64.upload.Package is up-to-date",
927    "~followup_annotations": [
928      "@@@STEP_NEST_LEVEL@3@@@"
929    ]
930  },
931  {
932    "name": "$result"
933  }
934]