| 1 |
[ |
| 2 |
{ |
| 3 |
"cmd": [ |
| 4 |
"python3", |
| 5 |
"RECIPE_MODULE[skia::checkout]/resources/assert_git_cipd.py" |
| 6 |
], |
| 7 |
"env": { |
| 8 |
"CHROME_HEADLESS": "1", |
| 9 |
"PATH": "<PATH>:RECIPE_REPO[depot_tools]" |
| 10 |
}, |
| 11 |
"name": "Assert that Git is from CIPD" |
| 12 |
}, |
| 13 |
{ |
| 14 |
"cmd": [ |
| 15 |
"vpython3", |
| 16 |
"-u", |
| 17 |
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| 18 |
"--json-output", |
| 19 |
"/path/to/tmp/json", |
| 20 |
"ensure-directory", |
| 21 |
"--mode", |
| 22 |
"0o777", |
| 23 |
"[START_DIR]/cache/work" |
| 24 |
], |
| 25 |
"infra_step": true, |
| 26 |
"name": "makedirs checkout_path" |
| 27 |
}, |
| 28 |
{ |
| 29 |
"cmd": [ |
| 30 |
"vpython3", |
| 31 |
"-u", |
| 32 |
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| 33 |
"--json-output", |
| 34 |
"/path/to/tmp/json", |
| 35 |
"remove", |
| 36 |
"[START_DIR]/cache/work/.gclient_entries" |
| 37 |
], |
| 38 |
"infra_step": true, |
| 39 |
"name": "remove [START_DIR]/cache/work/.gclient_entries" |
| 40 |
}, |
| 41 |
{ |
| 42 |
"cmd": [ |
| 43 |
"vpython3", |
| 44 |
"RECIPE_REPO[depot_tools]/gerrit_client.py", |
| 45 |
"changes", |
| 46 |
"--host", |
| 47 |
"https://skia-review.googlesource.com", |
| 48 |
"--json_file", |
| 49 |
"/path/to/tmp/json", |
| 50 |
"--limit", |
| 51 |
"1", |
| 52 |
"-p", |
| 53 |
"change=456789", |
| 54 |
"-o", |
| 55 |
"ALL_REVISIONS", |
| 56 |
"-o", |
| 57 |
"DOWNLOAD_COMMANDS", |
| 58 |
"--verbose" |
| 59 |
], |
| 60 |
"cwd": "[START_DIR]/cache/work", |
| 61 |
"env": { |
| 62 |
"PATH": "<PATH>:RECIPE_REPO[depot_tools]" |
| 63 |
}, |
| 64 |
"infra_step": true, |
| 65 |
"name": "gerrit fetch current CL info", |
| 66 |
"timeout": 480, |
| 67 |
"~followup_annotations": [ |
| 68 |
"@@@[email protected]@[@@@", |
| 69 |
"@@@[email protected]@ {@@@", |
| 70 |
"@@@[email protected]@ \"branch\": \"main\",@@@", |
| 71 |
"@@@[email protected]@ \"owner\": {@@@", |
| 72 |
"@@@[email protected]@ \"name\": \"John Doe\"@@@", |
| 73 |
"@@@[email protected]@ },@@@", |
| 74 |
"@@@[email protected]@ \"revisions\": {@@@", |
| 75 |
"@@@[email protected]@ \"184ebe53805e102605d11f6b143486d15c23a09c\": {@@@", |
| 76 |
"@@@[email protected]@ \"_number\": \"12\",@@@", |
| 77 |
"@@@[email protected]@ \"ref\": \"refs/changes/89/456789/12\"@@@", |
| 78 |
"@@@[email protected]@ }@@@", |
| 79 |
"@@@[email protected]@ }@@@", |
| 80 |
"@@@[email protected]@ }@@@", |
| 81 |
"@@@[email protected]@]@@@", |
| 82 |
"@@@[email protected]@@@" |
| 83 |
] |
| 84 |
}, |
| 85 |
{ |
| 86 |
"cmd": [ |
| 87 |
"vpython3", |
| 88 |
"-u", |
| 89 |
"RECIPE_MODULE[depot_tools::bot_update]/resources/bot_update.py", |
| 90 |
"--spec-path", |
| 91 |
"cache_dir = '[START_DIR]/cache/git'\nsolutions = [{'deps_file': '.DEPS.git', 'managed': False, 'name': 'skia', 'url': 'https://skia.googlesource.com/skia.git'}]", |
| 92 |
"--patch_root", |
| 93 |
"skia", |
| 94 |
"--revision_mapping_file", |
| 95 |
"{\"got_revision\": \"skia\"}", |
| 96 |
"--git-cache-dir", |
| 97 |
"[START_DIR]/cache/git", |
| 98 |
"--cleanup-dir", |
| 99 |
"[CLEANUP]/bot_update", |
| 100 |
"--output_json", |
| 101 |
"/path/to/tmp/json", |
| 102 |
"--patch_ref", |
| 103 |
"https://skia.googlesource.com/skia@refs/heads/main:refs/changes/89/456789/12", |
| 104 |
"--patch_ref", |
| 105 |
"https://skia.googlesource.com/skia.git@abc123:refs/changes/89/456789/12", |
| 106 |
"--revision", |
| 107 |
"skia@abc123", |
| 108 |
"--download_topics" |
| 109 |
], |
| 110 |
"cwd": "[START_DIR]/cache/work", |
| 111 |
"env": { |
| 112 |
"CHROME_HEADLESS": "1", |
| 113 |
"DEPOT_TOOLS_COLLECT_METRICS": "0", |
| 114 |
"GIT_BACKENDINFO": "1", |
| 115 |
"GIT_DAPPER_TRACE": "1", |
| 116 |
"GIT_HTTP_LOW_SPEED_LIMIT": "102400", |
| 117 |
"GIT_HTTP_LOW_SPEED_TIME": "1800", |
| 118 |
"GIT_SSH_COMMAND": "ssh -o SendEnv=GIT_DAPPER_TRACE -o SendEnv=GIT_BACKENDINFO", |
| 119 |
"GIT_TRACE2_EVENT": "[CLEANUP]/trace2-event", |
| 120 |
"GIT_TRACE_CURL": "[CLEANUP]/trace-curl", |
| 121 |
"GIT_TRACE_CURL_NO_DATA": "1", |
| 122 |
"GIT_TRACE_PACKET": "[CLEANUP]/trace-packet" |
| 123 |
}, |
| 124 |
"env_suffixes": { |
| 125 |
"DEPOT_TOOLS_UPDATE": [ |
| 126 |
"0" |
| 127 |
], |
| 128 |
"PATH": [ |
| 129 |
"RECIPE_REPO[depot_tools]" |
| 130 |
] |
| 131 |
}, |
| 132 |
"infra_step": true, |
| 133 |
"name": "bot_update", |
| 134 |
"~followup_annotations": [ |
| 135 |
"@@@STEP_TEXT@Some step text@@@", |
| 136 |
"@@@[email protected]@{@@@", |
| 137 |
"@@@[email protected]@ \"did_run\": true,@@@", |
| 138 |
"@@@[email protected]@ \"fixed_revisions\": {@@@", |
| 139 |
"@@@[email protected]@ \"skia\": \"abc123\"@@@", |
| 140 |
"@@@[email protected]@ },@@@", |
| 141 |
"@@@[email protected]@ \"manifest\": {@@@", |
| 142 |
"@@@[email protected]@ \"skia\": {@@@", |
| 143 |
"@@@[email protected]@ \"repository\": \"https://fake.org/skia.git\",@@@", |
| 144 |
"@@@[email protected]@ \"revision\": \"abc123\"@@@", |
| 145 |
"@@@[email protected]@ }@@@", |
| 146 |
"@@@[email protected]@ },@@@", |
| 147 |
"@@@[email protected]@ \"patch_root\": \"skia\",@@@", |
| 148 |
"@@@[email protected]@ \"properties\": {@@@", |
| 149 |
"@@@[email protected]@ \"got_revision\": \"abc123\",@@@", |
| 150 |
"@@@[email protected]@ \"got_revision_cp\": \"refs/heads/main@{#164710}\"@@@", |
| 151 |
"@@@[email protected]@ },@@@", |
| 152 |
"@@@[email protected]@ \"root\": \"skia\",@@@", |
| 153 |
"@@@[email protected]@ \"source_manifest\": {@@@", |
| 154 |
"@@@[email protected]@ \"directories\": {@@@", |
| 155 |
"@@@[email protected]@ \"skia\": {@@@", |
| 156 |
"@@@[email protected]@ \"git_checkout\": {@@@", |
| 157 |
"@@@[email protected]@ \"repo_url\": \"https://fake.org/skia.git\",@@@", |
| 158 |
"@@@[email protected]@ \"revision\": \"abc123\"@@@", |
| 159 |
"@@@[email protected]@ }@@@", |
| 160 |
"@@@[email protected]@ }@@@", |
| 161 |
"@@@[email protected]@ },@@@", |
| 162 |
"@@@[email protected]@ \"version\": 0@@@", |
| 163 |
"@@@[email protected]@ },@@@", |
| 164 |
"@@@[email protected]@ \"step_text\": \"Some step text\"@@@", |
| 165 |
"@@@[email protected]@}@@@", |
| 166 |
"@@@[email protected]@@@", |
| 167 |
"@@@SET_BUILD_PROPERTY@got_revision@\"abc123\"@@@", |
| 168 |
"@@@SET_BUILD_PROPERTY@got_revision_cp@\"refs/heads/main@{#164710}\"@@@" |
| 169 |
] |
| 170 |
}, |
| 171 |
{ |
| 172 |
"cmd": [ |
| 173 |
"vpython3", |
| 174 |
"-u", |
| 175 |
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| 176 |
"--json-output", |
| 177 |
"/path/to/tmp/json", |
| 178 |
"ensure-directory", |
| 179 |
"--mode", |
| 180 |
"0o777", |
| 181 |
"[START_DIR]/[SWARM_OUT_DIR]" |
| 182 |
], |
| 183 |
"infra_step": true, |
| 184 |
"name": "mkdirs out_dir" |
| 185 |
}, |
| 186 |
{ |
| 187 |
"cmd": [ |
| 188 |
"vpython3", |
| 189 |
"-u", |
| 190 |
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| 191 |
"--json-output", |
| 192 |
"/path/to/tmp/json", |
| 193 |
"glob", |
| 194 |
"[START_DIR]/build", |
| 195 |
"libskia.so" |
| 196 |
], |
| 197 |
"cwd": "[START_DIR]/build", |
| 198 |
"infra_step": true, |
| 199 |
"name": "find skia library", |
| 200 |
"~followup_annotations": [ |
| 201 |
"@@@STEP_LOG_LINE@glob@[START_DIR]/build/libskia.so@@@", |
| 202 |
"@@@STEP_LOG_END@glob@@@" |
| 203 |
] |
| 204 |
}, |
| 205 |
{ |
| 206 |
"cmd": [ |
| 207 |
"python3", |
| 208 |
"RECIPE_MODULE[skia::vars]/resources/get_env_var.py", |
| 209 |
"SWARMING_BOT_ID" |
| 210 |
], |
| 211 |
"cwd": "[START_DIR]/build", |
| 212 |
"name": "get swarming bot id" |
| 213 |
}, |
| 214 |
{ |
| 215 |
"cmd": [ |
| 216 |
"python3", |
| 217 |
"RECIPE_MODULE[skia::vars]/resources/get_env_var.py", |
| 218 |
"SWARMING_TASK_ID" |
| 219 |
], |
| 220 |
"cwd": "[START_DIR]/build", |
| 221 |
"name": "get swarming task id" |
| 222 |
}, |
| 223 |
{ |
| 224 |
"cmd": [ |
| 225 |
"python3", |
| 226 |
"[START_DIR]/cache/work/skia/infra/bots/buildstats/buildstats_cpp.py", |
| 227 |
"[START_DIR]/build/libskia.so", |
| 228 |
"[START_DIR]/[SWARM_OUT_DIR]", |
| 229 |
"compiler Clang configuration Release os Ubuntu24.04 target_arch x86_64", |
| 230 |
"gitHash abc123 swarming_bot_id skia-bot-123 swarming_task_id 123456abc issue 456789 patchset 12 patch_storage gerrit", |
| 231 |
"[START_DIR]/bloaty/bloaty", |
| 232 |
"total_size_bytes", |
| 233 |
"#$%^&*" |
| 234 |
], |
| 235 |
"cwd": "[START_DIR]/cache/work/skia", |
| 236 |
"env": { |
| 237 |
"CHROME_HEADLESS": "1", |
| 238 |
"PATH": "<PATH>:RECIPE_REPO[depot_tools]" |
| 239 |
}, |
| 240 |
"name": "Analyze [START_DIR]/build/libskia.so", |
| 241 |
"~followup_annotations": [ |
| 242 |
"@@@STEP_LOG_LINE@perf_json@@@@", |
| 243 |
"@@@STEP_LOG_LINE@perf_json@{@@@", |
| 244 |
"@@@STEP_LOG_LINE@perf_json@ \"some\": \"json\",@@@", |
| 245 |
"@@@STEP_LOG_LINE@perf_json@ \"results\": {@@@", |
| 246 |
"@@@STEP_LOG_LINE@perf_json@ \"libskia.so\": {@@@", |
| 247 |
"@@@STEP_LOG_LINE@perf_json@ \"default\": {@@@", |
| 248 |
"@@@STEP_LOG_LINE@perf_json@ \"total_size_bytes\": 7391117,@@@", |
| 249 |
"@@@STEP_LOG_LINE@perf_json@ \"gzip_size_bytes\": 2884841@@@", |
| 250 |
"@@@STEP_LOG_LINE@perf_json@ }@@@", |
| 251 |
"@@@STEP_LOG_LINE@perf_json@ }@@@", |
| 252 |
"@@@STEP_LOG_LINE@perf_json@ }@@@", |
| 253 |
"@@@STEP_LOG_LINE@perf_json@}@@@", |
| 254 |
"@@@STEP_LOG_LINE@perf_json@@@@", |
| 255 |
"@@@STEP_LOG_END@perf_json@@@", |
| 256 |
"@@@SET_BUILD_PROPERTY@binary_size_libskia.so@7391117@@@" |
| 257 |
] |
| 258 |
}, |
| 259 |
{ |
| 260 |
"cmd": [ |
| 261 |
"vpython3", |
| 262 |
"-u", |
| 263 |
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| 264 |
"--json-output", |
| 265 |
"/path/to/tmp/json", |
| 266 |
"glob", |
| 267 |
"[START_DIR]/build", |
| 268 |
"skottie_tool" |
| 269 |
], |
| 270 |
"cwd": "[START_DIR]/build", |
| 271 |
"infra_step": true, |
| 272 |
"name": "find skottie_tool", |
| 273 |
"~followup_annotations": [ |
| 274 |
"@@@STEP_LOG_LINE@glob@[START_DIR]/build/skottie_tool@@@", |
| 275 |
"@@@STEP_LOG_END@glob@@@" |
| 276 |
] |
| 277 |
}, |
| 278 |
{ |
| 279 |
"cmd": [ |
| 280 |
"python3", |
| 281 |
"[START_DIR]/cache/work/skia/infra/bots/buildstats/make_treemap.py", |
| 282 |
"[START_DIR]/build/skottie_tool", |
| 283 |
"[START_DIR]/[SWARM_OUT_DIR]" |
| 284 |
], |
| 285 |
"cwd": "[START_DIR]/cache/work/skia", |
| 286 |
"env": { |
| 287 |
"CHROME_HEADLESS": "1", |
| 288 |
"DOCKER_CONFIG": "/home/chrome-bot/.docker", |
| 289 |
"PATH": "<PATH>:RECIPE_REPO[depot_tools]" |
| 290 |
}, |
| 291 |
"name": "Make code size treemap [START_DIR]/build/skottie_tool" |
| 292 |
}, |
| 293 |
{ |
| 294 |
"cmd": [ |
| 295 |
"vpython3", |
| 296 |
"-u", |
| 297 |
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| 298 |
"--json-output", |
| 299 |
"/path/to/tmp/json", |
| 300 |
"glob", |
| 301 |
"[START_DIR]/build", |
| 302 |
"dm" |
| 303 |
], |
| 304 |
"cwd": "[START_DIR]/build", |
| 305 |
"infra_step": true, |
| 306 |
"name": "find dm", |
| 307 |
"~followup_annotations": [ |
| 308 |
"@@@STEP_LOG_LINE@glob@[START_DIR]/build/dm@@@", |
| 309 |
"@@@STEP_LOG_END@glob@@@" |
| 310 |
] |
| 311 |
}, |
| 312 |
{ |
| 313 |
"cmd": [ |
| 314 |
"python3", |
| 315 |
"[START_DIR]/cache/work/skia/infra/bots/buildstats/make_treemap.py", |
| 316 |
"[START_DIR]/build/dm", |
| 317 |
"[START_DIR]/[SWARM_OUT_DIR]" |
| 318 |
], |
| 319 |
"cwd": "[START_DIR]/cache/work/skia", |
| 320 |
"env": { |
| 321 |
"CHROME_HEADLESS": "1", |
| 322 |
"DOCKER_CONFIG": "/home/chrome-bot/.docker", |
| 323 |
"PATH": "<PATH>:RECIPE_REPO[depot_tools]" |
| 324 |
}, |
| 325 |
"name": "Make code size treemap [START_DIR]/build/dm" |
| 326 |
}, |
| 327 |
{ |
| 328 |
"name": "$result" |
| 329 |
} |
| 330 |
] |