| 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 |
"-u", |
| 45 |
"RECIPE_MODULE[depot_tools::bot_update]/resources/bot_update.py", |
| 46 |
"--spec-path", |
| 47 |
"cache_dir = '[START_DIR]/cache/git'\nsolutions = [{'deps_file': '.DEPS.git', 'managed': False, 'name': 'skia', 'url': 'https://skia.googlesource.com/skia.git'}]", |
| 48 |
"--patch_root", |
| 49 |
"skia", |
| 50 |
"--revision_mapping_file", |
| 51 |
"{\"got_revision\": \"skia\"}", |
| 52 |
"--git-cache-dir", |
| 53 |
"[START_DIR]/cache/git", |
| 54 |
"--cleanup-dir", |
| 55 |
"[CLEANUP]/bot_update", |
| 56 |
"--output_json", |
| 57 |
"/path/to/tmp/json", |
| 58 |
"--revision", |
| 59 |
"skia@abc123", |
| 60 |
"--download_topics" |
| 61 |
], |
| 62 |
"cwd": "[START_DIR]/cache/work", |
| 63 |
"env": { |
| 64 |
"CHROME_HEADLESS": "1", |
| 65 |
"DEPOT_TOOLS_COLLECT_METRICS": "0", |
| 66 |
"GIT_BACKENDINFO": "1", |
| 67 |
"GIT_DAPPER_TRACE": "1", |
| 68 |
"GIT_HTTP_LOW_SPEED_LIMIT": "102400", |
| 69 |
"GIT_HTTP_LOW_SPEED_TIME": "1800", |
| 70 |
"GIT_SSH_COMMAND": "ssh -o SendEnv=GIT_DAPPER_TRACE -o SendEnv=GIT_BACKENDINFO", |
| 71 |
"GIT_TRACE2_EVENT": "[CLEANUP]/trace2-event", |
| 72 |
"GIT_TRACE_CURL": "[CLEANUP]/trace-curl", |
| 73 |
"GIT_TRACE_CURL_NO_DATA": "1", |
| 74 |
"GIT_TRACE_PACKET": "[CLEANUP]/trace-packet" |
| 75 |
}, |
| 76 |
"env_suffixes": { |
| 77 |
"DEPOT_TOOLS_UPDATE": [ |
| 78 |
"0" |
| 79 |
], |
| 80 |
"PATH": [ |
| 81 |
"RECIPE_REPO[depot_tools]" |
| 82 |
] |
| 83 |
}, |
| 84 |
"infra_step": true, |
| 85 |
"name": "bot_update", |
| 86 |
"~followup_annotations": [ |
| 87 |
"@@@STEP_TEXT@Some step text@@@", |
| 88 |
"@@@[email protected]@{@@@", |
| 89 |
"@@@[email protected]@ \"did_run\": true,@@@", |
| 90 |
"@@@[email protected]@ \"fixed_revisions\": {@@@", |
| 91 |
"@@@[email protected]@ \"skia\": \"abc123\"@@@", |
| 92 |
"@@@[email protected]@ },@@@", |
| 93 |
"@@@[email protected]@ \"manifest\": {@@@", |
| 94 |
"@@@[email protected]@ \"skia\": {@@@", |
| 95 |
"@@@[email protected]@ \"repository\": \"https://fake.org/skia.git\",@@@", |
| 96 |
"@@@[email protected]@ \"revision\": \"abc123\"@@@", |
| 97 |
"@@@[email protected]@ }@@@", |
| 98 |
"@@@[email protected]@ },@@@", |
| 99 |
"@@@[email protected]@ \"patch_root\": \"skia\",@@@", |
| 100 |
"@@@[email protected]@ \"properties\": {@@@", |
| 101 |
"@@@[email protected]@ \"got_revision\": \"abc123\",@@@", |
| 102 |
"@@@[email protected]@ \"got_revision_cp\": \"refs/heads/main@{#164710}\"@@@", |
| 103 |
"@@@[email protected]@ },@@@", |
| 104 |
"@@@[email protected]@ \"root\": \"skia\",@@@", |
| 105 |
"@@@[email protected]@ \"source_manifest\": {@@@", |
| 106 |
"@@@[email protected]@ \"directories\": {@@@", |
| 107 |
"@@@[email protected]@ \"skia\": {@@@", |
| 108 |
"@@@[email protected]@ \"git_checkout\": {@@@", |
| 109 |
"@@@[email protected]@ \"repo_url\": \"https://fake.org/skia.git\",@@@", |
| 110 |
"@@@[email protected]@ \"revision\": \"abc123\"@@@", |
| 111 |
"@@@[email protected]@ }@@@", |
| 112 |
"@@@[email protected]@ }@@@", |
| 113 |
"@@@[email protected]@ },@@@", |
| 114 |
"@@@[email protected]@ \"version\": 0@@@", |
| 115 |
"@@@[email protected]@ },@@@", |
| 116 |
"@@@[email protected]@ \"step_text\": \"Some step text\"@@@", |
| 117 |
"@@@[email protected]@}@@@", |
| 118 |
"@@@[email protected]@@@", |
| 119 |
"@@@SET_BUILD_PROPERTY@got_revision@\"abc123\"@@@", |
| 120 |
"@@@SET_BUILD_PROPERTY@got_revision_cp@\"refs/heads/main@{#164710}\"@@@" |
| 121 |
] |
| 122 |
}, |
| 123 |
{ |
| 124 |
"cmd": [ |
| 125 |
"vpython3", |
| 126 |
"-u", |
| 127 |
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| 128 |
"--json-output", |
| 129 |
"/path/to/tmp/json", |
| 130 |
"ensure-directory", |
| 131 |
"--mode", |
| 132 |
"0o777", |
| 133 |
"[START_DIR]/[SWARM_OUT_DIR]" |
| 134 |
], |
| 135 |
"infra_step": true, |
| 136 |
"name": "mkdirs out_dir" |
| 137 |
}, |
| 138 |
{ |
| 139 |
"cmd": [ |
| 140 |
"vpython3", |
| 141 |
"-u", |
| 142 |
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| 143 |
"--json-output", |
| 144 |
"/path/to/tmp/json", |
| 145 |
"glob", |
| 146 |
"[START_DIR]/build", |
| 147 |
"libskia.so" |
| 148 |
], |
| 149 |
"cwd": "[START_DIR]/build", |
| 150 |
"infra_step": true, |
| 151 |
"name": "find skia library", |
| 152 |
"~followup_annotations": [ |
| 153 |
"@@@STEP_LOG_LINE@glob@[START_DIR]/build/libskia.so@@@", |
| 154 |
"@@@STEP_LOG_END@glob@@@" |
| 155 |
] |
| 156 |
}, |
| 157 |
{ |
| 158 |
"cmd": [ |
| 159 |
"python3", |
| 160 |
"RECIPE_MODULE[skia::vars]/resources/get_env_var.py", |
| 161 |
"SWARMING_BOT_ID" |
| 162 |
], |
| 163 |
"cwd": "[START_DIR]/build", |
| 164 |
"name": "get swarming bot id" |
| 165 |
}, |
| 166 |
{ |
| 167 |
"cmd": [ |
| 168 |
"python3", |
| 169 |
"RECIPE_MODULE[skia::vars]/resources/get_env_var.py", |
| 170 |
"SWARMING_TASK_ID" |
| 171 |
], |
| 172 |
"cwd": "[START_DIR]/build", |
| 173 |
"name": "get swarming task id" |
| 174 |
}, |
| 175 |
{ |
| 176 |
"cmd": [ |
| 177 |
"python3", |
| 178 |
"[START_DIR]/cache/work/skia/infra/bots/buildstats/buildstats_cpp.py", |
| 179 |
"[START_DIR]/build/libskia.so", |
| 180 |
"[START_DIR]/[SWARM_OUT_DIR]", |
| 181 |
"compiler Clang configuration Release os Ubuntu24.04 target_arch x86_64", |
| 182 |
"gitHash abc123 swarming_bot_id skia-bot-123 swarming_task_id 123456abc", |
| 183 |
"[START_DIR]/bloaty/bloaty", |
| 184 |
"total_size_bytes", |
| 185 |
"#$%^&*" |
| 186 |
], |
| 187 |
"cwd": "[START_DIR]/cache/work/skia", |
| 188 |
"env": { |
| 189 |
"CHROME_HEADLESS": "1", |
| 190 |
"PATH": "<PATH>:RECIPE_REPO[depot_tools]" |
| 191 |
}, |
| 192 |
"name": "Analyze [START_DIR]/build/libskia.so", |
| 193 |
"~followup_annotations": [ |
| 194 |
"@@@STEP_LOG_LINE@perf_json@@@@", |
| 195 |
"@@@STEP_LOG_LINE@perf_json@{@@@", |
| 196 |
"@@@STEP_LOG_LINE@perf_json@ \"some\": \"json\",@@@", |
| 197 |
"@@@STEP_LOG_LINE@perf_json@ \"results\": {@@@", |
| 198 |
"@@@STEP_LOG_LINE@perf_json@ \"libskia.so\": {@@@", |
| 199 |
"@@@STEP_LOG_LINE@perf_json@ \"default\": {@@@", |
| 200 |
"@@@STEP_LOG_LINE@perf_json@ \"total_size_bytes\": 7391117,@@@", |
| 201 |
"@@@STEP_LOG_LINE@perf_json@ \"gzip_size_bytes\": 2884841@@@", |
| 202 |
"@@@STEP_LOG_LINE@perf_json@ }@@@", |
| 203 |
"@@@STEP_LOG_LINE@perf_json@ }@@@", |
| 204 |
"@@@STEP_LOG_LINE@perf_json@ }@@@", |
| 205 |
"@@@STEP_LOG_LINE@perf_json@}@@@", |
| 206 |
"@@@STEP_LOG_LINE@perf_json@@@@", |
| 207 |
"@@@STEP_LOG_END@perf_json@@@", |
| 208 |
"@@@SET_BUILD_PROPERTY@binary_size_libskia.so@7391117@@@" |
| 209 |
] |
| 210 |
}, |
| 211 |
{ |
| 212 |
"cmd": [ |
| 213 |
"vpython3", |
| 214 |
"-u", |
| 215 |
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| 216 |
"--json-output", |
| 217 |
"/path/to/tmp/json", |
| 218 |
"glob", |
| 219 |
"[START_DIR]/build", |
| 220 |
"skottie_tool" |
| 221 |
], |
| 222 |
"cwd": "[START_DIR]/build", |
| 223 |
"infra_step": true, |
| 224 |
"name": "find skottie_tool", |
| 225 |
"~followup_annotations": [ |
| 226 |
"@@@STEP_LOG_LINE@glob@[START_DIR]/build/skottie_tool@@@", |
| 227 |
"@@@STEP_LOG_END@glob@@@" |
| 228 |
] |
| 229 |
}, |
| 230 |
{ |
| 231 |
"cmd": [ |
| 232 |
"python3", |
| 233 |
"[START_DIR]/cache/work/skia/infra/bots/buildstats/make_treemap.py", |
| 234 |
"[START_DIR]/build/skottie_tool", |
| 235 |
"[START_DIR]/[SWARM_OUT_DIR]" |
| 236 |
], |
| 237 |
"cwd": "[START_DIR]/cache/work/skia", |
| 238 |
"env": { |
| 239 |
"CHROME_HEADLESS": "1", |
| 240 |
"DOCKER_CONFIG": "/home/chrome-bot/.docker", |
| 241 |
"PATH": "<PATH>:RECIPE_REPO[depot_tools]" |
| 242 |
}, |
| 243 |
"name": "Make code size treemap [START_DIR]/build/skottie_tool" |
| 244 |
}, |
| 245 |
{ |
| 246 |
"cmd": [ |
| 247 |
"vpython3", |
| 248 |
"-u", |
| 249 |
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| 250 |
"--json-output", |
| 251 |
"/path/to/tmp/json", |
| 252 |
"glob", |
| 253 |
"[START_DIR]/build", |
| 254 |
"dm" |
| 255 |
], |
| 256 |
"cwd": "[START_DIR]/build", |
| 257 |
"infra_step": true, |
| 258 |
"name": "find dm", |
| 259 |
"~followup_annotations": [ |
| 260 |
"@@@STEP_LOG_LINE@glob@[START_DIR]/build/dm@@@", |
| 261 |
"@@@STEP_LOG_END@glob@@@" |
| 262 |
] |
| 263 |
}, |
| 264 |
{ |
| 265 |
"cmd": [ |
| 266 |
"python3", |
| 267 |
"[START_DIR]/cache/work/skia/infra/bots/buildstats/make_treemap.py", |
| 268 |
"[START_DIR]/build/dm", |
| 269 |
"[START_DIR]/[SWARM_OUT_DIR]" |
| 270 |
], |
| 271 |
"cwd": "[START_DIR]/cache/work/skia", |
| 272 |
"env": { |
| 273 |
"CHROME_HEADLESS": "1", |
| 274 |
"DOCKER_CONFIG": "/home/chrome-bot/.docker", |
| 275 |
"PATH": "<PATH>:RECIPE_REPO[depot_tools]" |
| 276 |
}, |
| 277 |
"name": "Make code size treemap [START_DIR]/build/dm" |
| 278 |
}, |
| 279 |
{ |
| 280 |
"name": "$result" |
| 281 |
} |
| 282 |
] |