• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1[
2  {
3    "cmd": [
4      "python",
5      "-u",
6      "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
7      "--json-output",
8      "/path/to/tmp/json",
9      "ensure-directory",
10      "--mode",
11      "0777",
12      "[START_DIR]/cache/work"
13    ],
14    "infra_step": true,
15    "name": "makedirs checkout_path"
16  },
17  {
18    "cmd": [
19      "python",
20      "-u",
21      "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
22      "--json-output",
23      "/path/to/tmp/json",
24      "remove",
25      "[START_DIR]/cache/work/.gclient_entries"
26    ],
27    "infra_step": true,
28    "name": "remove [START_DIR]/cache/work/.gclient_entries"
29  },
30  {
31    "cmd": [
32      "python",
33      "-u",
34      "RECIPE_REPO[depot_tools]/gerrit_client.py",
35      "changes",
36      "--host",
37      "https://skia-review.googlesource.com",
38      "--json_file",
39      "/path/to/tmp/json",
40      "--limit",
41      "1",
42      "-p",
43      "change=456789",
44      "-o",
45      "ALL_REVISIONS",
46      "-o",
47      "DOWNLOAD_COMMANDS"
48    ],
49    "cwd": "[START_DIR]/cache/work",
50    "env": {
51      "PATH": "<PATH>:RECIPE_REPO[depot_tools]"
52    },
53    "infra_step": true,
54    "name": "gerrit fetch current CL info",
55    "timeout": 600,
56    "~followup_annotations": [
57      "@@@STEP_LOG_LINE@json.output@[@@@",
58      "@@@STEP_LOG_LINE@json.output@  {@@@",
59      "@@@STEP_LOG_LINE@json.output@    \"branch\": \"master\", @@@",
60      "@@@STEP_LOG_LINE@json.output@    \"revisions\": {@@@",
61      "@@@STEP_LOG_LINE@json.output@      \"184ebe53805e102605d11f6b143486d15c23a09c\": {@@@",
62      "@@@STEP_LOG_LINE@json.output@        \"_number\": \"12\", @@@",
63      "@@@STEP_LOG_LINE@json.output@        \"ref\": \"refs/changes/89/456789/12\"@@@",
64      "@@@STEP_LOG_LINE@json.output@      }@@@",
65      "@@@STEP_LOG_LINE@json.output@    }@@@",
66      "@@@STEP_LOG_LINE@json.output@  }@@@",
67      "@@@STEP_LOG_LINE@json.output@]@@@",
68      "@@@STEP_LOG_END@json.output@@@"
69    ]
70  },
71  {
72    "cmd": [
73      "python",
74      "-u",
75      "RECIPE_MODULE[depot_tools::bot_update]/resources/bot_update.py",
76      "--spec-path",
77      "cache_dir = '[START_DIR]/cache/git'\nsolutions = [{'deps_file': '.DEPS.git', 'managed': False, 'name': 'skia', 'url': 'https://skia.googlesource.com/skia.git'}]",
78      "--patch_root",
79      "skia",
80      "--revision_mapping_file",
81      "{\"got_revision\": \"skia\"}",
82      "--git-cache-dir",
83      "[START_DIR]/cache/git",
84      "--cleanup-dir",
85      "[CLEANUP]/bot_update",
86      "--output_json",
87      "/path/to/tmp/json",
88      "--patch_ref",
89      "https://skia.googlesource.com/skia@refs/heads/master:refs/changes/89/456789/12",
90      "--patch_ref",
91      "https://skia.googlesource.com/skia.git@abc123:refs/changes/89/456789/12",
92      "--revision",
93      "skia@abc123"
94    ],
95    "cwd": "[START_DIR]/cache/work",
96    "env_suffixes": {
97      "PATH": [
98        "RECIPE_REPO[depot_tools]"
99      ]
100    },
101    "infra_step": true,
102    "name": "bot_update",
103    "~followup_annotations": [
104      "@@@STEP_TEXT@Some step text@@@",
105      "@@@STEP_LOG_LINE@json.output@{@@@",
106      "@@@STEP_LOG_LINE@json.output@  \"did_run\": true, @@@",
107      "@@@STEP_LOG_LINE@json.output@  \"fixed_revisions\": {@@@",
108      "@@@STEP_LOG_LINE@json.output@    \"skia\": \"abc123\"@@@",
109      "@@@STEP_LOG_LINE@json.output@  }, @@@",
110      "@@@STEP_LOG_LINE@json.output@  \"manifest\": {@@@",
111      "@@@STEP_LOG_LINE@json.output@    \"skia\": {@@@",
112      "@@@STEP_LOG_LINE@json.output@      \"repository\": \"https://fake.org/skia.git\", @@@",
113      "@@@STEP_LOG_LINE@json.output@      \"revision\": \"9046e2e693bb92a76e972b694580e5d17ad10748\"@@@",
114      "@@@STEP_LOG_LINE@json.output@    }@@@",
115      "@@@STEP_LOG_LINE@json.output@  }, @@@",
116      "@@@STEP_LOG_LINE@json.output@  \"patch_failure\": false, @@@",
117      "@@@STEP_LOG_LINE@json.output@  \"patch_root\": \"skia\", @@@",
118      "@@@STEP_LOG_LINE@json.output@  \"properties\": {@@@",
119      "@@@STEP_LOG_LINE@json.output@    \"got_revision\": \"9046e2e693bb92a76e972b694580e5d17ad10748\", @@@",
120      "@@@STEP_LOG_LINE@json.output@    \"got_revision_cp\": \"refs/heads/master@{#164710}\"@@@",
121      "@@@STEP_LOG_LINE@json.output@  }, @@@",
122      "@@@STEP_LOG_LINE@json.output@  \"root\": \"skia\", @@@",
123      "@@@STEP_LOG_LINE@json.output@  \"source_manifest\": {@@@",
124      "@@@STEP_LOG_LINE@json.output@    \"directories\": {@@@",
125      "@@@STEP_LOG_LINE@json.output@      \"skia\": {@@@",
126      "@@@STEP_LOG_LINE@json.output@        \"git_checkout\": {@@@",
127      "@@@STEP_LOG_LINE@json.output@          \"repo_url\": \"https://fake.org/skia.git\", @@@",
128      "@@@STEP_LOG_LINE@json.output@          \"revision\": \"9046e2e693bb92a76e972b694580e5d17ad10748\"@@@",
129      "@@@STEP_LOG_LINE@json.output@        }@@@",
130      "@@@STEP_LOG_LINE@json.output@      }@@@",
131      "@@@STEP_LOG_LINE@json.output@    }, @@@",
132      "@@@STEP_LOG_LINE@json.output@    \"version\": 0@@@",
133      "@@@STEP_LOG_LINE@json.output@  }, @@@",
134      "@@@STEP_LOG_LINE@json.output@  \"step_text\": \"Some step text\"@@@",
135      "@@@STEP_LOG_LINE@json.output@}@@@",
136      "@@@STEP_LOG_END@json.output@@@",
137      "@@@SET_BUILD_PROPERTY@got_revision@\"9046e2e693bb92a76e972b694580e5d17ad10748\"@@@",
138      "@@@SET_BUILD_PROPERTY@got_revision_cp@\"refs/heads/master@{#164710}\"@@@"
139    ]
140  },
141  {
142    "cmd": [
143      "python",
144      "-u",
145      "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
146      "--json-output",
147      "/path/to/tmp/json",
148      "ensure-directory",
149      "--mode",
150      "0777",
151      "[START_DIR]/[SWARM_OUT_DIR]"
152    ],
153    "infra_step": true,
154    "name": "mkdirs out_dir"
155  },
156  {
157    "cmd": [
158      "python",
159      "-u",
160      "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
161      "--json-output",
162      "/path/to/tmp/json",
163      "glob",
164      "[START_DIR]/build",
165      "*.wasm"
166    ],
167    "cwd": "[START_DIR]/build",
168    "infra_step": true,
169    "name": "find WASM binaries",
170    "~followup_annotations": [
171      "@@@STEP_LOG_LINE@glob@[START_DIR]/build/pathkit.wasm@@@",
172      "@@@STEP_LOG_END@glob@@@"
173    ]
174  },
175  {
176    "cmd": [
177      "python",
178      "-u",
179      "import os\nprint os.environ.get('SWARMING_BOT_ID', '')\n"
180    ],
181    "cwd": "[START_DIR]/build",
182    "name": "get swarming bot id",
183    "~followup_annotations": [
184      "@@@STEP_LOG_LINE@python.inline@import os@@@",
185      "@@@STEP_LOG_LINE@python.inline@print os.environ.get('SWARMING_BOT_ID', '')@@@",
186      "@@@STEP_LOG_END@python.inline@@@"
187    ]
188  },
189  {
190    "cmd": [
191      "python",
192      "-u",
193      "import os\nprint os.environ.get('SWARMING_TASK_ID', '')\n"
194    ],
195    "cwd": "[START_DIR]/build",
196    "name": "get swarming task id",
197    "~followup_annotations": [
198      "@@@STEP_LOG_LINE@python.inline@import os@@@",
199      "@@@STEP_LOG_LINE@python.inline@print os.environ.get('SWARMING_TASK_ID', '')@@@",
200      "@@@STEP_LOG_END@python.inline@@@"
201    ]
202  },
203  {
204    "cmd": [
205      "python",
206      "-u",
207      "[START_DIR]/cache/work/skia/infra/bots/buildstats/buildstats_wasm.py",
208      "[START_DIR]/build/pathkit.wasm",
209      "[START_DIR]/[SWARM_OUT_DIR]",
210      "compiler EMCC configuration Release extra_config PathKit os Debian9 target_arch wasm",
211      "gitHash abc123 swarming_bot_id skia-bot-123 swarming_task_id 123456abc issue 456789 patchset 12 patch_storage gerrit",
212      "[START_DIR]/bloaty/bloaty"
213    ],
214    "cwd": "[START_DIR]/cache/work/skia",
215    "env": {
216      "CHROME_HEADLESS": "1",
217      "PATH": "<PATH>:RECIPE_REPO[depot_tools]"
218    },
219    "name": "Analyze wasm",
220    "~followup_annotations": [
221      "@@@STEP_LOG_LINE@bloaty_symbol_short@@@@",
222      "@@@STEP_LOG_LINE@bloaty_symbol_short@Report A@@@",
223      "@@@STEP_LOG_LINE@bloaty_symbol_short@    Total size: 50 bytes@@@",
224      "@@@STEP_LOG_LINE@bloaty_symbol_short@@@@",
225      "@@@STEP_LOG_END@bloaty_symbol_short@@@",
226      "@@@STEP_LOG_LINE@bloaty_symbol_full@@@@",
227      "@@@STEP_LOG_LINE@bloaty_symbol_full@Report B@@@",
228      "@@@STEP_LOG_LINE@bloaty_symbol_full@    Total size: 60 bytes@@@",
229      "@@@STEP_LOG_LINE@bloaty_symbol_full@@@@",
230      "@@@STEP_LOG_END@bloaty_symbol_full@@@",
231      "@@@STEP_LOG_LINE@perf_json@@@@",
232      "@@@STEP_LOG_LINE@perf_json@{@@@",
233      "@@@STEP_LOG_LINE@perf_json@  \"some\": \"json\"@@@",
234      "@@@STEP_LOG_LINE@perf_json@}@@@",
235      "@@@STEP_LOG_LINE@perf_json@@@@",
236      "@@@STEP_LOG_END@perf_json@@@"
237    ]
238  },
239  {
240    "cmd": [
241      "python",
242      "-u",
243      "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
244      "--json-output",
245      "/path/to/tmp/json",
246      "glob",
247      "[START_DIR]/build",
248      "*.js"
249    ],
250    "cwd": "[START_DIR]/build",
251    "infra_step": true,
252    "name": "find JS files",
253    "~followup_annotations": [
254      "@@@STEP_LOG_LINE@glob@[START_DIR]/build/pathkit.js@@@",
255      "@@@STEP_LOG_END@glob@@@"
256    ]
257  },
258  {
259    "cmd": [
260      "python",
261      "-u",
262      "[START_DIR]/cache/work/skia/infra/bots/buildstats/buildstats_web.py",
263      "[START_DIR]/build/pathkit.js",
264      "[START_DIR]/[SWARM_OUT_DIR]",
265      "compiler EMCC configuration Release extra_config PathKit os Debian9 target_arch wasm",
266      "gitHash abc123 swarming_bot_id skia-bot-123 swarming_task_id 123456abc issue 456789 patchset 12 patch_storage gerrit"
267    ],
268    "cwd": "[START_DIR]/cache/work/skia",
269    "env": {
270      "CHROME_HEADLESS": "1",
271      "PATH": "<PATH>:RECIPE_REPO[depot_tools]"
272    },
273    "name": "Analyze [START_DIR]/build/pathkit.js"
274  },
275  {
276    "cmd": [
277      "python",
278      "-u",
279      "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
280      "--json-output",
281      "/path/to/tmp/json",
282      "glob",
283      "[START_DIR]/build",
284      "*.js.mem"
285    ],
286    "cwd": "[START_DIR]/build",
287    "infra_step": true,
288    "name": "find JS mem files",
289    "~followup_annotations": [
290      "@@@STEP_LOG_LINE@glob@[START_DIR]/build/pathkit.js.mem@@@",
291      "@@@STEP_LOG_END@glob@@@"
292    ]
293  },
294  {
295    "cmd": [
296      "python",
297      "-u",
298      "[START_DIR]/cache/work/skia/infra/bots/buildstats/buildstats_web.py",
299      "[START_DIR]/build/pathkit.js.mem",
300      "[START_DIR]/[SWARM_OUT_DIR]",
301      "compiler EMCC configuration Release extra_config PathKit os Debian9 target_arch wasm",
302      "gitHash abc123 swarming_bot_id skia-bot-123 swarming_task_id 123456abc issue 456789 patchset 12 patch_storage gerrit"
303    ],
304    "cwd": "[START_DIR]/cache/work/skia",
305    "env": {
306      "CHROME_HEADLESS": "1",
307      "PATH": "<PATH>:RECIPE_REPO[depot_tools]"
308    },
309    "name": "Analyze [START_DIR]/build/pathkit.js.mem"
310  },
311  {
312    "cmd": [
313      "python",
314      "-u",
315      "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
316      "--json-output",
317      "/path/to/tmp/json",
318      "glob",
319      "[START_DIR]/build",
320      "libflutter.so"
321    ],
322    "cwd": "[START_DIR]/build",
323    "infra_step": true,
324    "name": "find flutter library",
325    "~followup_annotations": [
326      "@@@STEP_LOG_LINE@glob@[START_DIR]/build/libflutter.so@@@",
327      "@@@STEP_LOG_END@glob@@@"
328    ]
329  },
330  {
331    "cmd": [
332      "python",
333      "-u",
334      "[START_DIR]/cache/work/skia/infra/bots/buildstats/buildstats_flutter.py",
335      "[START_DIR]/build/libflutter_stripped.so",
336      "[START_DIR]/[SWARM_OUT_DIR]",
337      "compiler EMCC configuration Release extra_config PathKit os Debian9 target_arch wasm",
338      "gitHash abc123 swarming_bot_id skia-bot-123 swarming_task_id 123456abc issue 456789 patchset 12 patch_storage gerrit",
339      "[START_DIR]/bloaty/bloaty",
340      "[START_DIR]/build/libflutter.so"
341    ],
342    "cwd": "[START_DIR]/cache/work/skia",
343    "env": {
344      "CHROME_HEADLESS": "1",
345      "PATH": "<PATH>:RECIPE_REPO[depot_tools]"
346    },
347    "name": "Analyze flutter",
348    "~followup_annotations": [
349      "@@@STEP_LOG_LINE@bloaty_file_symbol_short@@@@",
350      "@@@STEP_LOG_LINE@bloaty_file_symbol_short@Report A@@@",
351      "@@@STEP_LOG_LINE@bloaty_file_symbol_short@    Total size: 50 bytes@@@",
352      "@@@STEP_LOG_LINE@bloaty_file_symbol_short@@@@",
353      "@@@STEP_LOG_END@bloaty_file_symbol_short@@@",
354      "@@@STEP_LOG_LINE@bloaty_file_symbol_full@@@@",
355      "@@@STEP_LOG_LINE@bloaty_file_symbol_full@Report B@@@",
356      "@@@STEP_LOG_LINE@bloaty_file_symbol_full@    Total size: 60 bytes@@@",
357      "@@@STEP_LOG_LINE@bloaty_file_symbol_full@@@@",
358      "@@@STEP_LOG_END@bloaty_file_symbol_full@@@",
359      "@@@STEP_LOG_LINE@bloaty_symbol_file_short@@@@",
360      "@@@STEP_LOG_LINE@bloaty_symbol_file_short@Report C@@@",
361      "@@@STEP_LOG_LINE@bloaty_symbol_file_short@    Total size: 70 bytes@@@",
362      "@@@STEP_LOG_LINE@bloaty_symbol_file_short@@@@",
363      "@@@STEP_LOG_END@bloaty_symbol_file_short@@@",
364      "@@@STEP_LOG_LINE@bloaty_symbol_file_full@@@@",
365      "@@@STEP_LOG_LINE@bloaty_symbol_file_full@Report D@@@",
366      "@@@STEP_LOG_LINE@bloaty_symbol_file_full@    Total size: 80 bytes@@@",
367      "@@@STEP_LOG_LINE@bloaty_symbol_file_full@@@@",
368      "@@@STEP_LOG_END@bloaty_symbol_file_full@@@",
369      "@@@STEP_LOG_LINE@perf_json@@@@",
370      "@@@STEP_LOG_LINE@perf_json@{@@@",
371      "@@@STEP_LOG_LINE@perf_json@  \"some\": \"json\"@@@",
372      "@@@STEP_LOG_LINE@perf_json@}@@@",
373      "@@@STEP_LOG_LINE@perf_json@@@@",
374      "@@@STEP_LOG_END@perf_json@@@"
375    ]
376  },
377  {
378    "cmd": [
379      "python",
380      "-u",
381      "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
382      "--json-output",
383      "/path/to/tmp/json",
384      "glob",
385      "[START_DIR]/build",
386      "libskia.so"
387    ],
388    "cwd": "[START_DIR]/build",
389    "infra_step": true,
390    "name": "find skia library",
391    "~followup_annotations": [
392      "@@@STEP_LOG_LINE@glob@[START_DIR]/build/libskia.so@@@",
393      "@@@STEP_LOG_END@glob@@@"
394    ]
395  },
396  {
397    "cmd": [
398      "python",
399      "-u",
400      "[START_DIR]/cache/work/skia/infra/bots/buildstats/buildstats_cpp.py",
401      "[START_DIR]/build/libskia.so",
402      "[START_DIR]/[SWARM_OUT_DIR]",
403      "compiler EMCC configuration Release extra_config PathKit os Debian9 target_arch wasm",
404      "gitHash abc123 swarming_bot_id skia-bot-123 swarming_task_id 123456abc issue 456789 patchset 12 patch_storage gerrit",
405      "[START_DIR]/bloaty/bloaty"
406    ],
407    "cwd": "[START_DIR]/cache/work/skia",
408    "env": {
409      "CHROME_HEADLESS": "1",
410      "PATH": "<PATH>:RECIPE_REPO[depot_tools]"
411    },
412    "name": "Analyze [START_DIR]/build/libskia.so"
413  },
414  {
415    "cmd": [
416      "python",
417      "-u",
418      "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
419      "--json-output",
420      "/path/to/tmp/json",
421      "glob",
422      "[START_DIR]/build",
423      "skottie_tool"
424    ],
425    "cwd": "[START_DIR]/build",
426    "infra_step": true,
427    "name": "find skottie_tool",
428    "~followup_annotations": [
429      "@@@STEP_LOG_LINE@glob@[START_DIR]/build/skottie_tool@@@",
430      "@@@STEP_LOG_END@glob@@@"
431    ]
432  },
433  {
434    "cmd": [
435      "python",
436      "-u",
437      "[START_DIR]/cache/work/skia/infra/bots/buildstats/make_treemap.py",
438      "[START_DIR]/build/skottie_tool",
439      "[START_DIR]/[SWARM_OUT_DIR]"
440    ],
441    "cwd": "[START_DIR]/cache/work/skia",
442    "env": {
443      "CHROME_HEADLESS": "1",
444      "DOCKER_CONFIG": "/home/chrome-bot/.docker",
445      "PATH": "<PATH>:RECIPE_REPO[depot_tools]"
446    },
447    "name": "Make code size treemap"
448  },
449  {
450    "name": "$result"
451  }
452]