• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1[
2  {
3    "cmd": [],
4    "name": "git"
5  },
6  {
7    "cmd": [
8      "vpython3",
9      "-u",
10      "RECIPE_MODULE[recipe_engine::file]\\resources\\fileutil.py",
11      "--json-output",
12      "/path/to/tmp/json",
13      "ensure-directory",
14      "--mode",
15      "0777",
16      "[CACHE]\\builder\\perfetto"
17    ],
18    "infra_step": true,
19    "luci_context": {
20      "realm": {
21        "name": "perfetto:ci"
22      },
23      "resultdb": {
24        "current_invocation": {
25          "name": "invocations/build:8945511751514863184",
26          "update_token": "token"
27        },
28        "hostname": "rdbhost"
29      }
30    },
31    "name": "git.ensure source dir",
32    "~followup_annotations": [
33      "@@@STEP_NEST_LEVEL@1@@@"
34    ]
35  },
36  {
37    "cmd": [
38      "git",
39      "init",
40      "[CACHE]\\builder\\perfetto"
41    ],
42    "infra_step": true,
43    "luci_context": {
44      "realm": {
45        "name": "perfetto:ci"
46      },
47      "resultdb": {
48        "current_invocation": {
49          "name": "invocations/build:8945511751514863184",
50          "update_token": "token"
51        },
52        "hostname": "rdbhost"
53      }
54    },
55    "name": "git.init",
56    "~followup_annotations": [
57      "@@@STEP_NEST_LEVEL@1@@@"
58    ]
59  },
60  {
61    "cmd": [
62      "git",
63      "fetch",
64      "--tags",
65      "--force",
66      "https://android.googlesource.com/platform/external/perfetto",
67      "refs/heads/main"
68    ],
69    "cwd": "[CACHE]\\builder\\perfetto",
70    "infra_step": true,
71    "luci_context": {
72      "realm": {
73        "name": "perfetto:ci"
74      },
75      "resultdb": {
76        "current_invocation": {
77          "name": "invocations/build:8945511751514863184",
78          "update_token": "token"
79        },
80        "hostname": "rdbhost"
81      }
82    },
83    "name": "git.fetch",
84    "~followup_annotations": [
85      "@@@STEP_NEST_LEVEL@1@@@"
86    ]
87  },
88  {
89    "cmd": [
90      "git",
91      "checkout",
92      "FETCH_HEAD"
93    ],
94    "cwd": "[CACHE]\\builder\\perfetto",
95    "infra_step": true,
96    "luci_context": {
97      "realm": {
98        "name": "perfetto:ci"
99      },
100      "resultdb": {
101        "current_invocation": {
102          "name": "invocations/build:8945511751514863184",
103          "update_token": "token"
104        },
105        "hostname": "rdbhost"
106      }
107    },
108    "name": "git.checkout",
109    "~followup_annotations": [
110      "@@@STEP_NEST_LEVEL@1@@@"
111    ]
112  },
113  {
114    "cmd": [
115      "git",
116      "rev-parse",
117      "HEAD"
118    ],
119    "cwd": "[CACHE]\\builder\\perfetto",
120    "infra_step": true,
121    "luci_context": {
122      "realm": {
123        "name": "perfetto:ci"
124      },
125      "resultdb": {
126        "current_invocation": {
127          "name": "invocations/build:8945511751514863184",
128          "update_token": "token"
129        },
130        "hostname": "rdbhost"
131      }
132    },
133    "name": "git.rev-parse",
134    "~followup_annotations": [
135      "@@@STEP_NEST_LEVEL@1@@@"
136    ]
137  },
138  {
139    "cmd": [
140      "python3",
141      "tools/install-build-deps"
142    ],
143    "cwd": "[CACHE]\\builder\\perfetto",
144    "infra_step": true,
145    "luci_context": {
146      "realm": {
147        "name": "perfetto:ci"
148      },
149      "resultdb": {
150        "current_invocation": {
151          "name": "invocations/build:8945511751514863184",
152          "update_token": "token"
153        },
154        "hostname": "rdbhost"
155      }
156    },
157    "name": "build-deps"
158  },
159  {
160    "cmd": [
161      "cipd.bat",
162      "ensure",
163      "-root",
164      "[CACHE]\\windows_sdk",
165      "-ensure-file",
166      "chrome_internal/third_party/sdk/windows uploaded:2019-09-06",
167      "-max-threads",
168      "0",
169      "-json-output",
170      "/path/to/tmp/json"
171    ],
172    "cwd": "[CACHE]\\builder\\perfetto",
173    "infra_step": true,
174    "luci_context": {
175      "realm": {
176        "name": "perfetto:ci"
177      },
178      "resultdb": {
179        "current_invocation": {
180          "name": "invocations/build:8945511751514863184",
181          "update_token": "token"
182        },
183        "hostname": "rdbhost"
184      }
185    },
186    "name": "ensure_installed",
187    "~followup_annotations": [
188      "@@@STEP_LOG_LINE@json.output@{@@@",
189      "@@@STEP_LOG_LINE@json.output@  \"result\": {@@@",
190      "@@@STEP_LOG_LINE@json.output@    \"\": [@@@",
191      "@@@STEP_LOG_LINE@json.output@      {@@@",
192      "@@@STEP_LOG_LINE@json.output@        \"instance_id\": \"resolved-instance_id-of-uploaded:2019-09\",@@@",
193      "@@@STEP_LOG_LINE@json.output@        \"package\": \"chrome_internal/third_party/sdk/windows\"@@@",
194      "@@@STEP_LOG_LINE@json.output@      }@@@",
195      "@@@STEP_LOG_LINE@json.output@    ]@@@",
196      "@@@STEP_LOG_LINE@json.output@  }@@@",
197      "@@@STEP_LOG_LINE@json.output@}@@@",
198      "@@@STEP_LOG_END@json.output@@@"
199    ]
200  },
201  {
202    "cmd": [
203      "python3",
204      "-u",
205      "RECIPE_MODULE[recipe_engine::json]\\resources\\read.py",
206      "[CACHE]\\windows_sdk\\win_sdk\\bin\\SetEnv.x64.json",
207      "/path/to/tmp/json"
208    ],
209    "cwd": "[CACHE]\\builder\\perfetto",
210    "luci_context": {
211      "realm": {
212        "name": "perfetto:ci"
213      },
214      "resultdb": {
215        "current_invocation": {
216          "name": "invocations/build:8945511751514863184",
217          "update_token": "token"
218        },
219        "hostname": "rdbhost"
220      }
221    },
222    "name": "read SetEnv.x64.json",
223    "~followup_annotations": [
224      "@@@STEP_LOG_LINE@json.output@{@@@",
225      "@@@STEP_LOG_LINE@json.output@  \"env\": {@@@",
226      "@@@STEP_LOG_LINE@json.output@    \"PATH\": [@@@",
227      "@@@STEP_LOG_LINE@json.output@      [@@@",
228      "@@@STEP_LOG_LINE@json.output@        \"..\",@@@",
229      "@@@STEP_LOG_LINE@json.output@        \"..\",@@@",
230      "@@@STEP_LOG_LINE@json.output@        \"win_sdk\",@@@",
231      "@@@STEP_LOG_LINE@json.output@        \"bin\",@@@",
232      "@@@STEP_LOG_LINE@json.output@        \"x64\"@@@",
233      "@@@STEP_LOG_LINE@json.output@      ]@@@",
234      "@@@STEP_LOG_LINE@json.output@    ],@@@",
235      "@@@STEP_LOG_LINE@json.output@    \"VSINSTALLDIR\": [@@@",
236      "@@@STEP_LOG_LINE@json.output@      [@@@",
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_LINE@json.output@  }@@@",
242      "@@@STEP_LOG_LINE@json.output@}@@@",
243      "@@@STEP_LOG_END@json.output@@@"
244    ]
245  },
246  {
247    "cmd": [
248      "python3",
249      "tools/gn",
250      "gen",
251      "[CACHE]\\builder\\perfetto\\out\\windows-amd64",
252      "--args=is_debug=false monolithic_binaries=true"
253    ],
254    "cwd": "[CACHE]\\builder\\perfetto",
255    "env": {
256      "VSINSTALLDIR": "[CACHE]\\windows_sdk"
257    },
258    "env_prefixes": {
259      "PATH": [
260        "[CACHE]\\windows_sdk\\win_sdk\\bin\\x64"
261      ]
262    },
263    "luci_context": {
264      "realm": {
265        "name": "perfetto:ci"
266      },
267      "resultdb": {
268        "current_invocation": {
269          "name": "invocations/build:8945511751514863184",
270          "update_token": "token"
271        },
272        "hostname": "rdbhost"
273      }
274    },
275    "name": "gn gen"
276  },
277  {
278    "cmd": [
279      "python3",
280      "tools/gn",
281      "clean",
282      "[CACHE]\\builder\\perfetto\\out\\windows-amd64"
283    ],
284    "cwd": "[CACHE]\\builder\\perfetto",
285    "env": {
286      "VSINSTALLDIR": "[CACHE]\\windows_sdk"
287    },
288    "env_prefixes": {
289      "PATH": [
290        "[CACHE]\\windows_sdk\\win_sdk\\bin\\x64"
291      ]
292    },
293    "luci_context": {
294      "realm": {
295        "name": "perfetto:ci"
296      },
297      "resultdb": {
298        "current_invocation": {
299          "name": "invocations/build:8945511751514863184",
300          "update_token": "token"
301        },
302        "hostname": "rdbhost"
303      }
304    },
305    "name": "gn clean"
306  },
307  {
308    "cmd": [
309      "python3",
310      "tools/ninja",
311      "-C",
312      "[CACHE]\\builder\\perfetto\\out\\windows-amd64",
313      "trace_processor_shell",
314      "traceconv",
315      "perfetto",
316      "traced"
317    ],
318    "cwd": "[CACHE]\\builder\\perfetto",
319    "env": {
320      "VSINSTALLDIR": "[CACHE]\\windows_sdk"
321    },
322    "env_prefixes": {
323      "PATH": [
324        "[CACHE]\\windows_sdk\\win_sdk\\bin\\x64"
325      ]
326    },
327    "luci_context": {
328      "realm": {
329        "name": "perfetto:ci"
330      },
331      "resultdb": {
332        "current_invocation": {
333          "name": "invocations/build:8945511751514863184",
334          "update_token": "token"
335        },
336        "hostname": "rdbhost"
337      }
338    },
339    "name": "ninja"
340  },
341  {
342    "cmd": [],
343    "name": "Artifact upload"
344  },
345  {
346    "cmd": [
347      "python3",
348      "-u",
349      "RECIPE_MODULE[depot_tools::gsutil]\\resources\\gsutil_smart_retry.py",
350      "--",
351      "RECIPE_REPO[depot_tools]\\gsutil.py",
352      "----",
353      "cp",
354      "[CACHE]\\builder\\perfetto\\out\\windows-amd64\\trace_processor_shell.exe",
355      "gs://perfetto-luci-artifacts//windows-amd64/trace_processor_shell.exe"
356    ],
357    "cwd": "[CACHE]\\builder\\perfetto",
358    "infra_step": true,
359    "luci_context": {
360      "realm": {
361        "name": "perfetto:ci"
362      },
363      "resultdb": {
364        "current_invocation": {
365          "name": "invocations/build:8945511751514863184",
366          "update_token": "token"
367        },
368        "hostname": "rdbhost"
369      }
370    },
371    "name": "Artifact upload.gsutil upload",
372    "~followup_annotations": [
373      "@@@STEP_NEST_LEVEL@1@@@",
374      "@@@STEP_LINK@gsutil.upload@https://storage.cloud.google.com/perfetto-luci-artifacts//windows-amd64/trace_processor_shell.exe@@@"
375    ]
376  },
377  {
378    "cmd": [
379      "python3",
380      "-u",
381      "RECIPE_MODULE[depot_tools::gsutil]\\resources\\gsutil_smart_retry.py",
382      "--",
383      "RECIPE_REPO[depot_tools]\\gsutil.py",
384      "----",
385      "cp",
386      "[CACHE]\\builder\\perfetto\\out\\windows-amd64\\trace_processor_shell.exe.pdb",
387      "gs://perfetto-luci-artifacts//windows-amd64/trace_processor_shell.exe.pdb"
388    ],
389    "cwd": "[CACHE]\\builder\\perfetto",
390    "infra_step": true,
391    "luci_context": {
392      "realm": {
393        "name": "perfetto:ci"
394      },
395      "resultdb": {
396        "current_invocation": {
397          "name": "invocations/build:8945511751514863184",
398          "update_token": "token"
399        },
400        "hostname": "rdbhost"
401      }
402    },
403    "name": "Artifact upload.gsutil upload (2)",
404    "~followup_annotations": [
405      "@@@STEP_NEST_LEVEL@1@@@",
406      "@@@STEP_LINK@gsutil.upload@https://storage.cloud.google.com/perfetto-luci-artifacts//windows-amd64/trace_processor_shell.exe.pdb@@@"
407    ]
408  },
409  {
410    "cmd": [
411      "cipd.bat",
412      "pkg-build",
413      "-pkg-def",
414      "{\"data\": [{\"file\": \"trace_processor_shell.exe\"}], \"install_mode\": \"\", \"package\": \"perfetto/trace_processor_shell/windows-amd64\", \"root\": \"[CACHE]\\\\builder\\\\perfetto\\\\out\\\\windows-amd64\"}",
415      "-out",
416      "[CLEANUP]\\trace_processor_shell-windows-amd64.cipd",
417      "-hash-algo",
418      "sha256",
419      "-json-output",
420      "/path/to/tmp/json"
421    ],
422    "cwd": "[CACHE]\\builder\\perfetto",
423    "luci_context": {
424      "realm": {
425        "name": "perfetto:ci"
426      },
427      "resultdb": {
428        "current_invocation": {
429          "name": "invocations/build:8945511751514863184",
430          "update_token": "token"
431        },
432        "hostname": "rdbhost"
433      }
434    },
435    "name": "Artifact upload.build perfetto/trace_processor_shell/windows-amd64",
436    "~followup_annotations": [
437      "@@@STEP_NEST_LEVEL@1@@@",
438      "@@@STEP_LOG_LINE@json.output@{@@@",
439      "@@@STEP_LOG_LINE@json.output@  \"result\": {@@@",
440      "@@@STEP_LOG_LINE@json.output@    \"instance_id\": \"40-chars-fake-of-the-package-instance_id\",@@@",
441      "@@@STEP_LOG_LINE@json.output@    \"package\": \"perfetto/trace_processor_shell/windows-amd64\"@@@",
442      "@@@STEP_LOG_LINE@json.output@  }@@@",
443      "@@@STEP_LOG_LINE@json.output@}@@@",
444      "@@@STEP_LOG_END@json.output@@@"
445    ]
446  },
447  {
448    "cmd": [
449      "cipd.bat",
450      "pkg-register",
451      "[CLEANUP]\\trace_processor_shell-windows-amd64.cipd",
452      "-ref",
453      "latest",
454      "-tag",
455      "git_revision:",
456      "-json-output",
457      "/path/to/tmp/json"
458    ],
459    "cwd": "[CACHE]\\builder\\perfetto",
460    "luci_context": {
461      "realm": {
462        "name": "perfetto:ci"
463      },
464      "resultdb": {
465        "current_invocation": {
466          "name": "invocations/build:8945511751514863184",
467          "update_token": "token"
468        },
469        "hostname": "rdbhost"
470      }
471    },
472    "name": "Artifact upload.register perfetto/trace_processor_shell/windows-amd64",
473    "~followup_annotations": [
474      "@@@STEP_NEST_LEVEL@1@@@",
475      "@@@STEP_LOG_LINE@json.output@{@@@",
476      "@@@STEP_LOG_LINE@json.output@  \"result\": {@@@",
477      "@@@STEP_LOG_LINE@json.output@    \"instance_id\": \"40-chars-fake-of-the-package-instance_id\",@@@",
478      "@@@STEP_LOG_LINE@json.output@    \"package\": \"perfetto/trace_processor_shell/windows-amd64\"@@@",
479      "@@@STEP_LOG_LINE@json.output@  }@@@",
480      "@@@STEP_LOG_LINE@json.output@}@@@",
481      "@@@STEP_LOG_END@json.output@@@",
482      "@@@STEP_LINK@perfetto/trace_processor_shell/windows-amd64@https://chrome-infra-packages.appspot.com/p/perfetto/trace_processor_shell/windows-amd64/+/40-chars-fake-of-the-package-instance_id@@@"
483    ]
484  },
485  {
486    "cmd": [
487      "python3",
488      "-u",
489      "RECIPE_MODULE[depot_tools::gsutil]\\resources\\gsutil_smart_retry.py",
490      "--",
491      "RECIPE_REPO[depot_tools]\\gsutil.py",
492      "----",
493      "cp",
494      "[CACHE]\\builder\\perfetto\\out\\windows-amd64\\traceconv.exe",
495      "gs://perfetto-luci-artifacts//windows-amd64/traceconv.exe"
496    ],
497    "cwd": "[CACHE]\\builder\\perfetto",
498    "infra_step": true,
499    "luci_context": {
500      "realm": {
501        "name": "perfetto:ci"
502      },
503      "resultdb": {
504        "current_invocation": {
505          "name": "invocations/build:8945511751514863184",
506          "update_token": "token"
507        },
508        "hostname": "rdbhost"
509      }
510    },
511    "name": "Artifact upload.gsutil upload (3)",
512    "~followup_annotations": [
513      "@@@STEP_NEST_LEVEL@1@@@",
514      "@@@STEP_LINK@gsutil.upload@https://storage.cloud.google.com/perfetto-luci-artifacts//windows-amd64/traceconv.exe@@@"
515    ]
516  },
517  {
518    "cmd": [
519      "python3",
520      "-u",
521      "RECIPE_MODULE[depot_tools::gsutil]\\resources\\gsutil_smart_retry.py",
522      "--",
523      "RECIPE_REPO[depot_tools]\\gsutil.py",
524      "----",
525      "cp",
526      "[CACHE]\\builder\\perfetto\\out\\windows-amd64\\traceconv.exe.pdb",
527      "gs://perfetto-luci-artifacts//windows-amd64/traceconv.exe.pdb"
528    ],
529    "cwd": "[CACHE]\\builder\\perfetto",
530    "infra_step": true,
531    "luci_context": {
532      "realm": {
533        "name": "perfetto:ci"
534      },
535      "resultdb": {
536        "current_invocation": {
537          "name": "invocations/build:8945511751514863184",
538          "update_token": "token"
539        },
540        "hostname": "rdbhost"
541      }
542    },
543    "name": "Artifact upload.gsutil upload (4)",
544    "~followup_annotations": [
545      "@@@STEP_NEST_LEVEL@1@@@",
546      "@@@STEP_LINK@gsutil.upload@https://storage.cloud.google.com/perfetto-luci-artifacts//windows-amd64/traceconv.exe.pdb@@@"
547    ]
548  },
549  {
550    "cmd": [
551      "cipd.bat",
552      "pkg-build",
553      "-pkg-def",
554      "{\"data\": [{\"file\": \"traceconv.exe\"}], \"install_mode\": \"\", \"package\": \"perfetto/traceconv/windows-amd64\", \"root\": \"[CACHE]\\\\builder\\\\perfetto\\\\out\\\\windows-amd64\"}",
555      "-out",
556      "[CLEANUP]\\traceconv-windows-amd64.cipd",
557      "-hash-algo",
558      "sha256",
559      "-json-output",
560      "/path/to/tmp/json"
561    ],
562    "cwd": "[CACHE]\\builder\\perfetto",
563    "luci_context": {
564      "realm": {
565        "name": "perfetto:ci"
566      },
567      "resultdb": {
568        "current_invocation": {
569          "name": "invocations/build:8945511751514863184",
570          "update_token": "token"
571        },
572        "hostname": "rdbhost"
573      }
574    },
575    "name": "Artifact upload.build perfetto/traceconv/windows-amd64",
576    "~followup_annotations": [
577      "@@@STEP_NEST_LEVEL@1@@@",
578      "@@@STEP_LOG_LINE@json.output@{@@@",
579      "@@@STEP_LOG_LINE@json.output@  \"result\": {@@@",
580      "@@@STEP_LOG_LINE@json.output@    \"instance_id\": \"40-chars-fake-of-the-package-instance_id\",@@@",
581      "@@@STEP_LOG_LINE@json.output@    \"package\": \"perfetto/traceconv/windows-amd64\"@@@",
582      "@@@STEP_LOG_LINE@json.output@  }@@@",
583      "@@@STEP_LOG_LINE@json.output@}@@@",
584      "@@@STEP_LOG_END@json.output@@@"
585    ]
586  },
587  {
588    "cmd": [
589      "cipd.bat",
590      "pkg-register",
591      "[CLEANUP]\\traceconv-windows-amd64.cipd",
592      "-ref",
593      "latest",
594      "-tag",
595      "git_revision:",
596      "-json-output",
597      "/path/to/tmp/json"
598    ],
599    "cwd": "[CACHE]\\builder\\perfetto",
600    "luci_context": {
601      "realm": {
602        "name": "perfetto:ci"
603      },
604      "resultdb": {
605        "current_invocation": {
606          "name": "invocations/build:8945511751514863184",
607          "update_token": "token"
608        },
609        "hostname": "rdbhost"
610      }
611    },
612    "name": "Artifact upload.register perfetto/traceconv/windows-amd64",
613    "~followup_annotations": [
614      "@@@STEP_NEST_LEVEL@1@@@",
615      "@@@STEP_LOG_LINE@json.output@{@@@",
616      "@@@STEP_LOG_LINE@json.output@  \"result\": {@@@",
617      "@@@STEP_LOG_LINE@json.output@    \"instance_id\": \"40-chars-fake-of-the-package-instance_id\",@@@",
618      "@@@STEP_LOG_LINE@json.output@    \"package\": \"perfetto/traceconv/windows-amd64\"@@@",
619      "@@@STEP_LOG_LINE@json.output@  }@@@",
620      "@@@STEP_LOG_LINE@json.output@}@@@",
621      "@@@STEP_LOG_END@json.output@@@",
622      "@@@STEP_LINK@perfetto/traceconv/windows-amd64@https://chrome-infra-packages.appspot.com/p/perfetto/traceconv/windows-amd64/+/40-chars-fake-of-the-package-instance_id@@@"
623    ]
624  },
625  {
626    "cmd": [
627      "python3",
628      "-u",
629      "RECIPE_MODULE[depot_tools::gsutil]\\resources\\gsutil_smart_retry.py",
630      "--",
631      "RECIPE_REPO[depot_tools]\\gsutil.py",
632      "----",
633      "cp",
634      "[CACHE]\\builder\\perfetto\\out\\windows-amd64\\perfetto.exe",
635      "gs://perfetto-luci-artifacts//windows-amd64/perfetto.exe"
636    ],
637    "cwd": "[CACHE]\\builder\\perfetto",
638    "infra_step": true,
639    "luci_context": {
640      "realm": {
641        "name": "perfetto:ci"
642      },
643      "resultdb": {
644        "current_invocation": {
645          "name": "invocations/build:8945511751514863184",
646          "update_token": "token"
647        },
648        "hostname": "rdbhost"
649      }
650    },
651    "name": "Artifact upload.gsutil upload (5)",
652    "~followup_annotations": [
653      "@@@STEP_NEST_LEVEL@1@@@",
654      "@@@STEP_LINK@gsutil.upload@https://storage.cloud.google.com/perfetto-luci-artifacts//windows-amd64/perfetto.exe@@@"
655    ]
656  },
657  {
658    "cmd": [
659      "python3",
660      "-u",
661      "RECIPE_MODULE[depot_tools::gsutil]\\resources\\gsutil_smart_retry.py",
662      "--",
663      "RECIPE_REPO[depot_tools]\\gsutil.py",
664      "----",
665      "cp",
666      "[CACHE]\\builder\\perfetto\\out\\windows-amd64\\perfetto.exe.pdb",
667      "gs://perfetto-luci-artifacts//windows-amd64/perfetto.exe.pdb"
668    ],
669    "cwd": "[CACHE]\\builder\\perfetto",
670    "infra_step": true,
671    "luci_context": {
672      "realm": {
673        "name": "perfetto:ci"
674      },
675      "resultdb": {
676        "current_invocation": {
677          "name": "invocations/build:8945511751514863184",
678          "update_token": "token"
679        },
680        "hostname": "rdbhost"
681      }
682    },
683    "name": "Artifact upload.gsutil upload (6)",
684    "~followup_annotations": [
685      "@@@STEP_NEST_LEVEL@1@@@",
686      "@@@STEP_LINK@gsutil.upload@https://storage.cloud.google.com/perfetto-luci-artifacts//windows-amd64/perfetto.exe.pdb@@@"
687    ]
688  },
689  {
690    "cmd": [
691      "cipd.bat",
692      "pkg-build",
693      "-pkg-def",
694      "{\"data\": [{\"file\": \"perfetto.exe\"}], \"install_mode\": \"\", \"package\": \"perfetto/perfetto/windows-amd64\", \"root\": \"[CACHE]\\\\builder\\\\perfetto\\\\out\\\\windows-amd64\"}",
695      "-out",
696      "[CLEANUP]\\perfetto-windows-amd64.cipd",
697      "-hash-algo",
698      "sha256",
699      "-json-output",
700      "/path/to/tmp/json"
701    ],
702    "cwd": "[CACHE]\\builder\\perfetto",
703    "luci_context": {
704      "realm": {
705        "name": "perfetto:ci"
706      },
707      "resultdb": {
708        "current_invocation": {
709          "name": "invocations/build:8945511751514863184",
710          "update_token": "token"
711        },
712        "hostname": "rdbhost"
713      }
714    },
715    "name": "Artifact upload.build perfetto/perfetto/windows-amd64",
716    "~followup_annotations": [
717      "@@@STEP_NEST_LEVEL@1@@@",
718      "@@@STEP_LOG_LINE@json.output@{@@@",
719      "@@@STEP_LOG_LINE@json.output@  \"result\": {@@@",
720      "@@@STEP_LOG_LINE@json.output@    \"instance_id\": \"40-chars-fake-of-the-package-instance_id\",@@@",
721      "@@@STEP_LOG_LINE@json.output@    \"package\": \"perfetto/perfetto/windows-amd64\"@@@",
722      "@@@STEP_LOG_LINE@json.output@  }@@@",
723      "@@@STEP_LOG_LINE@json.output@}@@@",
724      "@@@STEP_LOG_END@json.output@@@"
725    ]
726  },
727  {
728    "cmd": [
729      "cipd.bat",
730      "pkg-register",
731      "[CLEANUP]\\perfetto-windows-amd64.cipd",
732      "-ref",
733      "latest",
734      "-tag",
735      "git_revision:",
736      "-json-output",
737      "/path/to/tmp/json"
738    ],
739    "cwd": "[CACHE]\\builder\\perfetto",
740    "luci_context": {
741      "realm": {
742        "name": "perfetto:ci"
743      },
744      "resultdb": {
745        "current_invocation": {
746          "name": "invocations/build:8945511751514863184",
747          "update_token": "token"
748        },
749        "hostname": "rdbhost"
750      }
751    },
752    "name": "Artifact upload.register perfetto/perfetto/windows-amd64",
753    "~followup_annotations": [
754      "@@@STEP_NEST_LEVEL@1@@@",
755      "@@@STEP_LOG_LINE@json.output@{@@@",
756      "@@@STEP_LOG_LINE@json.output@  \"result\": {@@@",
757      "@@@STEP_LOG_LINE@json.output@    \"instance_id\": \"40-chars-fake-of-the-package-instance_id\",@@@",
758      "@@@STEP_LOG_LINE@json.output@    \"package\": \"perfetto/perfetto/windows-amd64\"@@@",
759      "@@@STEP_LOG_LINE@json.output@  }@@@",
760      "@@@STEP_LOG_LINE@json.output@}@@@",
761      "@@@STEP_LOG_END@json.output@@@",
762      "@@@STEP_LINK@perfetto/perfetto/windows-amd64@https://chrome-infra-packages.appspot.com/p/perfetto/perfetto/windows-amd64/+/40-chars-fake-of-the-package-instance_id@@@"
763    ]
764  },
765  {
766    "cmd": [
767      "python3",
768      "-u",
769      "RECIPE_MODULE[depot_tools::gsutil]\\resources\\gsutil_smart_retry.py",
770      "--",
771      "RECIPE_REPO[depot_tools]\\gsutil.py",
772      "----",
773      "cp",
774      "[CACHE]\\builder\\perfetto\\out\\windows-amd64\\traced.exe",
775      "gs://perfetto-luci-artifacts//windows-amd64/traced.exe"
776    ],
777    "cwd": "[CACHE]\\builder\\perfetto",
778    "infra_step": true,
779    "luci_context": {
780      "realm": {
781        "name": "perfetto:ci"
782      },
783      "resultdb": {
784        "current_invocation": {
785          "name": "invocations/build:8945511751514863184",
786          "update_token": "token"
787        },
788        "hostname": "rdbhost"
789      }
790    },
791    "name": "Artifact upload.gsutil upload (7)",
792    "~followup_annotations": [
793      "@@@STEP_NEST_LEVEL@1@@@",
794      "@@@STEP_LINK@gsutil.upload@https://storage.cloud.google.com/perfetto-luci-artifacts//windows-amd64/traced.exe@@@"
795    ]
796  },
797  {
798    "cmd": [
799      "python3",
800      "-u",
801      "RECIPE_MODULE[depot_tools::gsutil]\\resources\\gsutil_smart_retry.py",
802      "--",
803      "RECIPE_REPO[depot_tools]\\gsutil.py",
804      "----",
805      "cp",
806      "[CACHE]\\builder\\perfetto\\out\\windows-amd64\\traced.exe.pdb",
807      "gs://perfetto-luci-artifacts//windows-amd64/traced.exe.pdb"
808    ],
809    "cwd": "[CACHE]\\builder\\perfetto",
810    "infra_step": true,
811    "luci_context": {
812      "realm": {
813        "name": "perfetto:ci"
814      },
815      "resultdb": {
816        "current_invocation": {
817          "name": "invocations/build:8945511751514863184",
818          "update_token": "token"
819        },
820        "hostname": "rdbhost"
821      }
822    },
823    "name": "Artifact upload.gsutil upload (8)",
824    "~followup_annotations": [
825      "@@@STEP_NEST_LEVEL@1@@@",
826      "@@@STEP_LINK@gsutil.upload@https://storage.cloud.google.com/perfetto-luci-artifacts//windows-amd64/traced.exe.pdb@@@"
827    ]
828  },
829  {
830    "cmd": [
831      "cipd.bat",
832      "pkg-build",
833      "-pkg-def",
834      "{\"data\": [{\"file\": \"traced.exe\"}], \"install_mode\": \"\", \"package\": \"perfetto/traced/windows-amd64\", \"root\": \"[CACHE]\\\\builder\\\\perfetto\\\\out\\\\windows-amd64\"}",
835      "-out",
836      "[CLEANUP]\\traced-windows-amd64.cipd",
837      "-hash-algo",
838      "sha256",
839      "-json-output",
840      "/path/to/tmp/json"
841    ],
842    "cwd": "[CACHE]\\builder\\perfetto",
843    "luci_context": {
844      "realm": {
845        "name": "perfetto:ci"
846      },
847      "resultdb": {
848        "current_invocation": {
849          "name": "invocations/build:8945511751514863184",
850          "update_token": "token"
851        },
852        "hostname": "rdbhost"
853      }
854    },
855    "name": "Artifact upload.build perfetto/traced/windows-amd64",
856    "~followup_annotations": [
857      "@@@STEP_NEST_LEVEL@1@@@",
858      "@@@STEP_LOG_LINE@json.output@{@@@",
859      "@@@STEP_LOG_LINE@json.output@  \"result\": {@@@",
860      "@@@STEP_LOG_LINE@json.output@    \"instance_id\": \"40-chars-fake-of-the-package-instance_id\",@@@",
861      "@@@STEP_LOG_LINE@json.output@    \"package\": \"perfetto/traced/windows-amd64\"@@@",
862      "@@@STEP_LOG_LINE@json.output@  }@@@",
863      "@@@STEP_LOG_LINE@json.output@}@@@",
864      "@@@STEP_LOG_END@json.output@@@"
865    ]
866  },
867  {
868    "cmd": [
869      "cipd.bat",
870      "pkg-register",
871      "[CLEANUP]\\traced-windows-amd64.cipd",
872      "-ref",
873      "latest",
874      "-tag",
875      "git_revision:",
876      "-json-output",
877      "/path/to/tmp/json"
878    ],
879    "cwd": "[CACHE]\\builder\\perfetto",
880    "luci_context": {
881      "realm": {
882        "name": "perfetto:ci"
883      },
884      "resultdb": {
885        "current_invocation": {
886          "name": "invocations/build:8945511751514863184",
887          "update_token": "token"
888        },
889        "hostname": "rdbhost"
890      }
891    },
892    "name": "Artifact upload.register perfetto/traced/windows-amd64",
893    "~followup_annotations": [
894      "@@@STEP_NEST_LEVEL@1@@@",
895      "@@@STEP_LOG_LINE@json.output@{@@@",
896      "@@@STEP_LOG_LINE@json.output@  \"result\": {@@@",
897      "@@@STEP_LOG_LINE@json.output@    \"instance_id\": \"40-chars-fake-of-the-package-instance_id\",@@@",
898      "@@@STEP_LOG_LINE@json.output@    \"package\": \"perfetto/traced/windows-amd64\"@@@",
899      "@@@STEP_LOG_LINE@json.output@  }@@@",
900      "@@@STEP_LOG_LINE@json.output@}@@@",
901      "@@@STEP_LOG_END@json.output@@@",
902      "@@@STEP_LINK@perfetto/traced/windows-amd64@https://chrome-infra-packages.appspot.com/p/perfetto/traced/windows-amd64/+/40-chars-fake-of-the-package-instance_id@@@"
903    ]
904  },
905  {
906    "name": "$result"
907  }
908]