| OLD | NEW |
| (Empty) |
| 1 [ | |
| 2 { | |
| 3 "cmd": [ | |
| 4 "python", | |
| 5 "-u", | |
| 6 "RECIPE_MODULE[depot_tools::bot_update]\\resources\\bot_update.py", | |
| 7 "--spec", | |
| 8 "cache_dir = '[GIT_CACHE]'\nsolutions = [{'deps_file': '.DEPS.git', 'manag
ed': True, 'name': 'pdfium', 'url': 'https://pdfium.googlesource.com/pdfium.git'
}]", | |
| 9 "--patch_root", | |
| 10 "pdfium", | |
| 11 "--revision_mapping_file", | |
| 12 "{}", | |
| 13 "--git-cache-dir", | |
| 14 "[GIT_CACHE]", | |
| 15 "--output_json", | |
| 16 "/path/to/tmp/json", | |
| 17 "--revision", | |
| 18 "pdfium@HEAD", | |
| 19 "--output_manifest" | |
| 20 ], | |
| 21 "env": { | |
| 22 "PATH": "%(PATH)s;RECIPE_PACKAGE_REPO[depot_tools]" | |
| 23 }, | |
| 24 "name": "bot_update", | |
| 25 "~followup_annotations": [ | |
| 26 "@@@STEP_TEXT@Some step text@@@", | |
| 27 "@@@STEP_LOG_LINE@json.output@{@@@", | |
| 28 "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@", | |
| 29 "@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@", | |
| 30 "@@@STEP_LOG_LINE@json.output@ \"pdfium\": \"HEAD\"@@@", | |
| 31 "@@@STEP_LOG_LINE@json.output@ }, @@@", | |
| 32 "@@@STEP_LOG_LINE@json.output@ \"manifest\": {}, @@@", | |
| 33 "@@@STEP_LOG_LINE@json.output@ \"patch_failure\": false, @@@", | |
| 34 "@@@STEP_LOG_LINE@json.output@ \"patch_root\": \"pdfium\", @@@", | |
| 35 "@@@STEP_LOG_LINE@json.output@ \"properties\": {}, @@@", | |
| 36 "@@@STEP_LOG_LINE@json.output@ \"root\": \"pdfium\", @@@", | |
| 37 "@@@STEP_LOG_LINE@json.output@ \"step_text\": \"Some step text\"@@@", | |
| 38 "@@@STEP_LOG_LINE@json.output@}@@@", | |
| 39 "@@@STEP_LOG_END@json.output@@@" | |
| 40 ] | |
| 41 }, | |
| 42 { | |
| 43 "cmd": [ | |
| 44 "python", | |
| 45 "-u", | |
| 46 "RECIPE_PACKAGE_REPO[depot_tools]\\gclient.py", | |
| 47 "runhooks" | |
| 48 ], | |
| 49 "cwd": "[SLAVE_BUILD]\\pdfium", | |
| 50 "env": { | |
| 51 "PATH": "%(PATH)s;RECIPE_PACKAGE_REPO[depot_tools]" | |
| 52 }, | |
| 53 "name": "gclient runhooks" | |
| 54 }, | |
| 55 { | |
| 56 "cmd": [], | |
| 57 "name": "ensure_goma" | |
| 58 }, | |
| 59 { | |
| 60 "cmd": [ | |
| 61 "python", | |
| 62 "-u", | |
| 63 "RECIPE_MODULE[depot_tools::cipd]\\resources\\bootstrap.py", | |
| 64 "--platform", | |
| 65 "windows-amd64", | |
| 66 "--dest-directory", | |
| 67 "[SLAVE_BUILD]\\cipd", | |
| 68 "--json-output", | |
| 69 "/path/to/tmp/json" | |
| 70 ], | |
| 71 "name": "ensure_goma.install cipd", | |
| 72 "~followup_annotations": [ | |
| 73 "@@@STEP_NEST_LEVEL@1@@@", | |
| 74 "@@@STEP_TEXT@cipd instance_id: 40-chars-fake-of-the-package-instance_id@@
@", | |
| 75 "@@@STEP_LOG_LINE@json.output@{@@@", | |
| 76 "@@@STEP_LOG_LINE@json.output@ \"executable\": \"[SLAVE_BUILD]\\\\cipd\\\
\cipd\", @@@", | |
| 77 "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"40-chars-fake-of-the-pa
ckage-instance_id\"@@@", | |
| 78 "@@@STEP_LOG_LINE@json.output@}@@@", | |
| 79 "@@@STEP_LOG_END@json.output@@@" | |
| 80 ] | |
| 81 }, | |
| 82 { | |
| 83 "cmd": [ | |
| 84 "[SLAVE_BUILD]\\cipd\\cipd", | |
| 85 "ensure", | |
| 86 "--root", | |
| 87 "[CACHE]\\cipd\\goma", | |
| 88 "--list", | |
| 89 "infra/tools/cloudtail/windows-amd64 goma_recipe_module\ninfra_internal/go
ma/client/windows-amd64 release", | |
| 90 "--json-output", | |
| 91 "/path/to/tmp/json", | |
| 92 "--service-account-json", | |
| 93 "C:\\creds\\service_accounts\\service-account-goma-client.json" | |
| 94 ], | |
| 95 "name": "ensure_goma.ensure_installed", | |
| 96 "~followup_annotations": [ | |
| 97 "@@@STEP_NEST_LEVEL@1@@@", | |
| 98 "@@@STEP_LOG_LINE@json.output@{@@@", | |
| 99 "@@@STEP_LOG_LINE@json.output@ \"result\": [@@@", | |
| 100 "@@@STEP_LOG_LINE@json.output@ {@@@", | |
| 101 "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_i
d-of-goma_recipe_modu\", @@@", | |
| 102 "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra/tools/cloudtail/w
indows-amd64\"@@@", | |
| 103 "@@@STEP_LOG_LINE@json.output@ }, @@@", | |
| 104 "@@@STEP_LOG_LINE@json.output@ {@@@", | |
| 105 "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_i
d-of-release---------\", @@@", | |
| 106 "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra_internal/goma/cli
ent/windows-amd64\"@@@", | |
| 107 "@@@STEP_LOG_LINE@json.output@ }@@@", | |
| 108 "@@@STEP_LOG_LINE@json.output@ ]@@@", | |
| 109 "@@@STEP_LOG_LINE@json.output@}@@@", | |
| 110 "@@@STEP_LOG_END@json.output@@@" | |
| 111 ] | |
| 112 }, | |
| 113 { | |
| 114 "cmd": [ | |
| 115 "python", | |
| 116 "-u", | |
| 117 "[DEPOT_TOOLS]\\gn.py", | |
| 118 "--root=[SLAVE_BUILD]\\pdfium", | |
| 119 "gen", | |
| 120 "//out/debug_xfa_v8", | |
| 121 "--args=is_debug=true is_component_build=false pdf_enable_v8=true pdf_enab
le_xfa=true pdf_use_skia=false pdf_is_standalone=true use_goma=true goma_dir=\"[
CACHE]\\cipd\\goma\" target_cpu=\"x86\"" | |
| 122 ], | |
| 123 "cwd": "[SLAVE_BUILD]\\pdfium", | |
| 124 "name": "gn gen" | |
| 125 }, | |
| 126 { | |
| 127 "cmd": [ | |
| 128 "python", | |
| 129 "-u", | |
| 130 "\nimport multiprocessing\nimport sys\n\njob_limit = 200\nif sys.platform.
startswith('linux'):\n # Use 80 for linux not to load goma backend.\n job_limi
t = 80\n\ntry:\n jobs = min(job_limit, multiprocessing.cpu_count() * 10)\nexcep
t NotImplementedError:\n jobs = 50\n\nprint jobs\n" | |
| 131 ], | |
| 132 "name": "calculate the number of recommended jobs", | |
| 133 "stdout": "/path/to/tmp/", | |
| 134 "~followup_annotations": [ | |
| 135 "@@@STEP_LOG_LINE@python.inline@@@@", | |
| 136 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@", | |
| 137 "@@@STEP_LOG_LINE@python.inline@import sys@@@", | |
| 138 "@@@STEP_LOG_LINE@python.inline@@@@", | |
| 139 "@@@STEP_LOG_LINE@python.inline@job_limit = 200@@@", | |
| 140 "@@@STEP_LOG_LINE@python.inline@if sys.platform.startswith('linux'):@@@", | |
| 141 "@@@STEP_LOG_LINE@python.inline@ # Use 80 for linux not to load goma back
end.@@@", | |
| 142 "@@@STEP_LOG_LINE@python.inline@ job_limit = 80@@@", | |
| 143 "@@@STEP_LOG_LINE@python.inline@@@@", | |
| 144 "@@@STEP_LOG_LINE@python.inline@try:@@@", | |
| 145 "@@@STEP_LOG_LINE@python.inline@ jobs = min(job_limit, multiprocessing.cp
u_count() * 10)@@@", | |
| 146 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@", | |
| 147 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@", | |
| 148 "@@@STEP_LOG_LINE@python.inline@@@@", | |
| 149 "@@@STEP_LOG_LINE@python.inline@print jobs@@@", | |
| 150 "@@@STEP_LOG_END@python.inline@@@" | |
| 151 ] | |
| 152 }, | |
| 153 { | |
| 154 "cmd": [ | |
| 155 "python", | |
| 156 "-u", | |
| 157 "[CACHE]\\cipd\\goma\\goma_ctl.py", | |
| 158 "restart" | |
| 159 ], | |
| 160 "env": { | |
| 161 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "C:\\creds\\service_accounts\\service-ac
count-goma-client.json" | |
| 162 }, | |
| 163 "name": "start_goma" | |
| 164 }, | |
| 165 { | |
| 166 "cmd": [ | |
| 167 "python", | |
| 168 "-u", | |
| 169 "RECIPE_MODULE[build::goma]\\resources\\cloudtail_utils.py", | |
| 170 "start", | |
| 171 "--cloudtail-path", | |
| 172 "[CACHE]\\cipd\\goma\\cloudtail", | |
| 173 "--pid-file", | |
| 174 "[TMP_BASE]\\cloudtail.pid" | |
| 175 ], | |
| 176 "env": { | |
| 177 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "C:\\creds\\service_accounts\\service-ac
count-goma-client.json" | |
| 178 }, | |
| 179 "name": "start cloudtail" | |
| 180 }, | |
| 181 { | |
| 182 "cmd": [ | |
| 183 "ninja", | |
| 184 "-C", | |
| 185 "[SLAVE_BUILD]\\pdfium\\out\\debug_xfa_v8", | |
| 186 "-j", | |
| 187 "50" | |
| 188 ], | |
| 189 "name": "compile with ninja" | |
| 190 }, | |
| 191 { | |
| 192 "cmd": [ | |
| 193 "python", | |
| 194 "-u", | |
| 195 "[CACHE]\\cipd\\goma\\goma_ctl.py", | |
| 196 "jsonstatus", | |
| 197 "[CACHE]\\cipd\\goma\\jsonstatus" | |
| 198 ], | |
| 199 "env": { | |
| 200 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "C:\\creds\\service_accounts\\service-ac
count-goma-client.json" | |
| 201 }, | |
| 202 "name": "goma_jsonstatus" | |
| 203 }, | |
| 204 { | |
| 205 "cmd": [ | |
| 206 "python", | |
| 207 "-u", | |
| 208 "[CACHE]\\cipd\\goma\\goma_ctl.py", | |
| 209 "stat" | |
| 210 ], | |
| 211 "env": { | |
| 212 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "C:\\creds\\service_accounts\\service-ac
count-goma-client.json" | |
| 213 }, | |
| 214 "name": "goma_stat" | |
| 215 }, | |
| 216 { | |
| 217 "cmd": [ | |
| 218 "python", | |
| 219 "-u", | |
| 220 "[CACHE]\\cipd\\goma\\goma_ctl.py", | |
| 221 "stop" | |
| 222 ], | |
| 223 "env": { | |
| 224 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "C:\\creds\\service_accounts\\service-ac
count-goma-client.json" | |
| 225 }, | |
| 226 "name": "stop_goma" | |
| 227 }, | |
| 228 { | |
| 229 "cmd": [ | |
| 230 "python", | |
| 231 "-u", | |
| 232 "RECIPE_PACKAGE_REPO[build]\\scripts\\slave\\upload_goma_logs.py", | |
| 233 "--upload-compiler-proxy-info", | |
| 234 "--json-status", | |
| 235 "[CACHE]\\cipd\\goma\\jsonstatus", | |
| 236 "--ninja-log-outdir", | |
| 237 "[SLAVE_BUILD]\\pdfium\\out\\debug_xfa_v8", | |
| 238 "--ninja-log-compiler", | |
| 239 "unknown", | |
| 240 "--ninja-log-command", | |
| 241 "['ninja', '-C', Path('checkout', 'out','debug_xfa_v8'), '-j', 50]", | |
| 242 "--ninja-log-exit-status", | |
| 243 "0", | |
| 244 "--buildbot-buildername", | |
| 245 "drm_win_xfa", | |
| 246 "--buildbot-mastername", | |
| 247 "client.pdfium", | |
| 248 "--buildbot-slavename", | |
| 249 "test_slave" | |
| 250 ], | |
| 251 "env": { | |
| 252 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "C:\\creds\\service_accounts\\service-ac
count-goma-client.json" | |
| 253 }, | |
| 254 "name": "upload_log" | |
| 255 }, | |
| 256 { | |
| 257 "cmd": [ | |
| 258 "python", | |
| 259 "-u", | |
| 260 "RECIPE_MODULE[build::goma]\\resources\\cloudtail_utils.py", | |
| 261 "stop", | |
| 262 "--killed-pid-file", | |
| 263 "[TMP_BASE]\\cloudtail.pid" | |
| 264 ], | |
| 265 "name": "stop cloudtail" | |
| 266 }, | |
| 267 { | |
| 268 "cmd": [ | |
| 269 "python", | |
| 270 "-u", | |
| 271 "[SLAVE_BUILD]\\pdfium\\tools\\drmemory\\scripts\\pdfium_tests.py", | |
| 272 "--test", | |
| 273 "pdfium_unittests" | |
| 274 ], | |
| 275 "cwd": "[SLAVE_BUILD]\\pdfium", | |
| 276 "name": "unittests" | |
| 277 }, | |
| 278 { | |
| 279 "cmd": [ | |
| 280 "python", | |
| 281 "-u", | |
| 282 "[SLAVE_BUILD]\\pdfium\\tools\\drmemory\\scripts\\pdfium_tests.py", | |
| 283 "--test", | |
| 284 "pdfium_embeddertests" | |
| 285 ], | |
| 286 "cwd": "[SLAVE_BUILD]\\pdfium", | |
| 287 "name": "embeddertests" | |
| 288 }, | |
| 289 { | |
| 290 "cmd": [ | |
| 291 "python", | |
| 292 "-u", | |
| 293 "[SLAVE_BUILD]\\pdfium\\tools\\drmemory\\scripts\\pdfium_tests.py", | |
| 294 "--test", | |
| 295 "pdfium_javascript" | |
| 296 ], | |
| 297 "cwd": "[SLAVE_BUILD]\\pdfium", | |
| 298 "name": "javascript tests" | |
| 299 }, | |
| 300 { | |
| 301 "cmd": [ | |
| 302 "python", | |
| 303 "-u", | |
| 304 "[SLAVE_BUILD]\\pdfium\\tools\\drmemory\\scripts\\pdfium_tests.py", | |
| 305 "--test", | |
| 306 "pdfium_pixel" | |
| 307 ], | |
| 308 "cwd": "[SLAVE_BUILD]\\pdfium", | |
| 309 "name": "pixel tests" | |
| 310 }, | |
| 311 { | |
| 312 "cmd": [ | |
| 313 "python", | |
| 314 "-u", | |
| 315 "[SLAVE_BUILD]\\pdfium\\tools\\drmemory\\scripts\\pdfium_tests.py", | |
| 316 "--test", | |
| 317 "pdfium_corpus" | |
| 318 ], | |
| 319 "cwd": "[SLAVE_BUILD]\\pdfium", | |
| 320 "name": "corpus tests" | |
| 321 }, | |
| 322 { | |
| 323 "name": "$result", | |
| 324 "recipe_result": null, | |
| 325 "status_code": 0 | |
| 326 } | |
| 327 ] | |
| OLD | NEW |