• 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_END@json.output@@@"
742    ]
743  },
744  {
745    "cmd": [
746      "cipd",
747      "pkg-register",
748      "[CLEANUP]/gn.cipd",
749      "-ref",
750      "latest",
751      "-tag",
752      "git_repository:https://gn.googlesource.com/gn",
753      "-tag",
754      "git_revision:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
755      "-json-output",
756      "/path/to/tmp/json"
757    ],
758    "cwd": "[START_DIR]/gn",
759    "env": {
760      "AR": "[START_DIR]/cipd/bin/llvm-ar",
761      "CC": "[START_DIR]/cipd/bin/clang",
762      "CFLAGS": "--target=x86_64-linux-gnu --sysroot=[START_DIR]/cipd/sysroot",
763      "CXX": "[START_DIR]/cipd/bin/clang++",
764      "LDFLAGS": "--target=x86_64-linux-gnu --sysroot=[START_DIR]/cipd/sysroot -static-libstdc++"
765    },
766    "luci_context": {
767      "realm": {
768        "name": "infra-internal:ci"
769      },
770      "resultdb": {
771        "current_invocation": {
772          "name": "invocations/build:8945511751514863184",
773          "update_token": "token"
774        },
775        "hostname": "rdbhost"
776      }
777    },
778    "name": "release.linux-amd64.upload.register gn/gn/linux-amd64",
779    "~followup_annotations": [
780      "@@@STEP_NEST_LEVEL@3@@@",
781      "@@@STEP_LOG_LINE@json.output@{@@@",
782      "@@@STEP_LOG_LINE@json.output@  \"result\": {@@@",
783      "@@@STEP_LOG_LINE@json.output@    \"instance_id\": \"40-chars-fake-of-the-package-instance_id\", @@@",
784      "@@@STEP_LOG_LINE@json.output@    \"package\": \"gn/gn/linux-amd64\"@@@",
785      "@@@STEP_LOG_LINE@json.output@  }@@@",
786      "@@@STEP_LOG_LINE@json.output@}@@@",
787      "@@@STEP_LOG_END@json.output@@@",
788      "@@@STEP_LINK@gn/gn/linux-amd64@https://chrome-infra-packages.appspot.com/p/gn/gn/linux-amd64/+/40-chars-fake-of-the-package-instance_id@@@"
789    ]
790  },
791  {
792    "cmd": [],
793    "name": "release.linux-arm64",
794    "~followup_annotations": [
795      "@@@STEP_NEST_LEVEL@1@@@"
796    ]
797  },
798  {
799    "cmd": [
800      "python",
801      "-u",
802      "[START_DIR]/gn/build/gen.py",
803      "--use-lto",
804      "--use-icf",
805      "--link-lib=[START_DIR]/rpmalloc/lib/linux/release/arm64/librpmallocwrap.a"
806    ],
807    "cwd": "[START_DIR]/gn",
808    "env": {
809      "AR": "[START_DIR]/cipd/bin/llvm-ar",
810      "CC": "[START_DIR]/cipd/bin/clang",
811      "CFLAGS": "--target=aarch64-linux-gnu --sysroot=[START_DIR]/cipd/sysroot",
812      "CXX": "[START_DIR]/cipd/bin/clang++",
813      "LDFLAGS": "--target=aarch64-linux-gnu --sysroot=[START_DIR]/cipd/sysroot -static-libstdc++"
814    },
815    "luci_context": {
816      "realm": {
817        "name": "infra-internal:ci"
818      },
819      "resultdb": {
820        "current_invocation": {
821          "name": "invocations/build:8945511751514863184",
822          "update_token": "token"
823        },
824        "hostname": "rdbhost"
825      }
826    },
827    "name": "release.linux-arm64.generate",
828    "~followup_annotations": [
829      "@@@STEP_NEST_LEVEL@2@@@"
830    ]
831  },
832  {
833    "cmd": [
834      "[START_DIR]/cipd/ninja",
835      "-C",
836      "[START_DIR]/gn/out"
837    ],
838    "cwd": "[START_DIR]/gn",
839    "env": {
840      "AR": "[START_DIR]/cipd/bin/llvm-ar",
841      "CC": "[START_DIR]/cipd/bin/clang",
842      "CFLAGS": "--target=aarch64-linux-gnu --sysroot=[START_DIR]/cipd/sysroot",
843      "CXX": "[START_DIR]/cipd/bin/clang++",
844      "LDFLAGS": "--target=aarch64-linux-gnu --sysroot=[START_DIR]/cipd/sysroot -static-libstdc++"
845    },
846    "luci_context": {
847      "realm": {
848        "name": "infra-internal:ci"
849      },
850      "resultdb": {
851        "current_invocation": {
852          "name": "invocations/build:8945511751514863184",
853          "update_token": "token"
854        },
855        "hostname": "rdbhost"
856      }
857    },
858    "name": "release.linux-arm64.build",
859    "~followup_annotations": [
860      "@@@STEP_NEST_LEVEL@2@@@"
861    ]
862  },
863  {
864    "cmd": [],
865    "name": "release.linux-arm64.upload",
866    "~followup_annotations": [
867      "@@@STEP_NEST_LEVEL@2@@@"
868    ]
869  },
870  {
871    "cmd": [
872      "cipd",
873      "pkg-build",
874      "-pkg-def",
875      "{\"data\": [{\"file\": \"gn\"}, {\"version_file\": \".versions/gn.cipd_version\"}], \"install_mode\": \"copy\", \"package\": \"gn/gn/linux-arm64\", \"root\": \"[START_DIR]/gn/out\"}",
876      "-out",
877      "[CLEANUP]/gn.cipd",
878      "-hash-algo",
879      "sha256",
880      "-json-output",
881      "/path/to/tmp/json"
882    ],
883    "cwd": "[START_DIR]/gn",
884    "env": {
885      "AR": "[START_DIR]/cipd/bin/llvm-ar",
886      "CC": "[START_DIR]/cipd/bin/clang",
887      "CFLAGS": "--target=aarch64-linux-gnu --sysroot=[START_DIR]/cipd/sysroot",
888      "CXX": "[START_DIR]/cipd/bin/clang++",
889      "LDFLAGS": "--target=aarch64-linux-gnu --sysroot=[START_DIR]/cipd/sysroot -static-libstdc++"
890    },
891    "luci_context": {
892      "realm": {
893        "name": "infra-internal:ci"
894      },
895      "resultdb": {
896        "current_invocation": {
897          "name": "invocations/build:8945511751514863184",
898          "update_token": "token"
899        },
900        "hostname": "rdbhost"
901      }
902    },
903    "name": "release.linux-arm64.upload.build gn/gn/linux-arm64",
904    "~followup_annotations": [
905      "@@@STEP_NEST_LEVEL@3@@@",
906      "@@@STEP_LOG_LINE@json.output@{@@@",
907      "@@@STEP_LOG_LINE@json.output@  \"result\": {@@@",
908      "@@@STEP_LOG_LINE@json.output@    \"instance_id\": \"40-chars-fake-of-the-package-instance_id\", @@@",
909      "@@@STEP_LOG_LINE@json.output@    \"package\": \"gn/gn/linux-arm64\"@@@",
910      "@@@STEP_LOG_LINE@json.output@  }@@@",
911      "@@@STEP_LOG_LINE@json.output@}@@@",
912      "@@@STEP_LOG_END@json.output@@@"
913    ]
914  },
915  {
916    "cmd": [
917      "cipd",
918      "search",
919      "gn/gn/linux-arm64",
920      "-tag",
921      "git_revision:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
922      "-json-output",
923      "/path/to/tmp/json"
924    ],
925    "cwd": "[START_DIR]/gn",
926    "env": {
927      "AR": "[START_DIR]/cipd/bin/llvm-ar",
928      "CC": "[START_DIR]/cipd/bin/clang",
929      "CFLAGS": "--target=aarch64-linux-gnu --sysroot=[START_DIR]/cipd/sysroot",
930      "CXX": "[START_DIR]/cipd/bin/clang++",
931      "LDFLAGS": "--target=aarch64-linux-gnu --sysroot=[START_DIR]/cipd/sysroot -static-libstdc++"
932    },
933    "luci_context": {
934      "realm": {
935        "name": "infra-internal:ci"
936      },
937      "resultdb": {
938        "current_invocation": {
939          "name": "invocations/build:8945511751514863184",
940          "update_token": "token"
941        },
942        "hostname": "rdbhost"
943      }
944    },
945    "name": "release.linux-arm64.upload.cipd search gn/gn/linux-arm64 git_revision:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
946    "~followup_annotations": [
947      "@@@STEP_NEST_LEVEL@3@@@",
948      "@@@STEP_LOG_LINE@json.output@{@@@",
949      "@@@STEP_LOG_LINE@json.output@  \"result\": [@@@",
950      "@@@STEP_LOG_LINE@json.output@    {@@@",
951      "@@@STEP_LOG_LINE@json.output@      \"instance_id\": \"40-chars-fake-of-the-package-instance_id\", @@@",
952      "@@@STEP_LOG_LINE@json.output@      \"package\": \"gn/gn/linux-arm64\"@@@",
953      "@@@STEP_LOG_LINE@json.output@    }@@@",
954      "@@@STEP_LOG_LINE@json.output@  ]@@@",
955      "@@@STEP_LOG_LINE@json.output@}@@@",
956      "@@@STEP_LOG_END@json.output@@@"
957    ]
958  },
959  {
960    "cmd": [],
961    "name": "release.linux-arm64.upload.Package is up-to-date",
962    "~followup_annotations": [
963      "@@@STEP_NEST_LEVEL@3@@@"
964    ]
965  },
966  {
967    "name": "$result"
968  }
969]