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