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