| OLD | NEW |
| 1 [ | 1 [ |
| 2 { | 2 { |
| 3 "cmd": [ | 3 "cmd": [ |
| 4 "python", | 4 "python", |
| 5 "-u", | 5 "-u", |
| 6 "RECIPE_MODULE[depot_tools::bot_update]\\resources\\bot_update.py", | 6 "RECIPE_MODULE[depot_tools::bot_update]\\resources\\bot_update.py", |
| 7 "--spec", | 7 "--spec", |
| 8 "cache_dir = '[GIT_CACHE]'\nsolutions = [{'deps_file': '.DEPS.git', 'manag
ed': True, 'name': 'pdfium', 'url': 'https://pdfium.googlesource.com/pdfium.git'
}]", | 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", | 9 "--patch_root", |
| 10 "pdfium", | 10 "pdfium", |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 46 "RECIPE_PACKAGE_REPO[depot_tools]\\gclient.py", | 46 "RECIPE_PACKAGE_REPO[depot_tools]\\gclient.py", |
| 47 "runhooks" | 47 "runhooks" |
| 48 ], | 48 ], |
| 49 "cwd": "[SLAVE_BUILD]\\pdfium", | 49 "cwd": "[SLAVE_BUILD]\\pdfium", |
| 50 "env": { | 50 "env": { |
| 51 "PATH": "%(PATH)s;RECIPE_PACKAGE_REPO[depot_tools]" | 51 "PATH": "%(PATH)s;RECIPE_PACKAGE_REPO[depot_tools]" |
| 52 }, | 52 }, |
| 53 "name": "gclient runhooks" | 53 "name": "gclient runhooks" |
| 54 }, | 54 }, |
| 55 { | 55 { |
| 56 "cmd": [], |
| 57 "name": "ensure_goma" |
| 58 }, |
| 59 { |
| 56 "cmd": [ | 60 "cmd": [ |
| 57 "python", | 61 "python", |
| 58 "-u", | 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", |
| 59 "[DEPOT_TOOLS]\\gn.py", | 117 "[DEPOT_TOOLS]\\gn.py", |
| 60 "--root=[SLAVE_BUILD]\\pdfium", | 118 "--root=[SLAVE_BUILD]\\pdfium", |
| 61 "gen", | 119 "gen", |
| 62 "//out/debug_xfa_v8", | 120 "//out/debug_xfa_v8", |
| 63 "--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 symbol_level=1 target_cpu=
\"x86\"" | 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\" symbol_level=1 target_cpu=\"x86\"" |
| 64 ], | 122 ], |
| 65 "cwd": "[SLAVE_BUILD]\\pdfium", | 123 "cwd": "[SLAVE_BUILD]\\pdfium", |
| 66 "name": "gn gen" | 124 "name": "gn gen" |
| 67 }, | 125 }, |
| 68 { | 126 { |
| 69 "cmd": [ | 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": [ |
| 70 "ninja", | 183 "ninja", |
| 71 "-C", | 184 "-C", |
| 72 "[SLAVE_BUILD]\\pdfium\\out\\debug_xfa_v8" | 185 "[SLAVE_BUILD]\\pdfium\\out\\debug_xfa_v8", |
| 186 "-j", |
| 187 "50" |
| 73 ], | 188 ], |
| 74 "name": "compile with ninja" | 189 "name": "compile with ninja" |
| 75 }, | 190 }, |
| 76 { | 191 { |
| 77 "cmd": [ | 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 "windows_xfa_32", |
| 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": [ |
| 78 "[SLAVE_BUILD]\\pdfium\\out\\debug_xfa_v8\\pdfium_unittests.exe" | 269 "[SLAVE_BUILD]\\pdfium\\out\\debug_xfa_v8\\pdfium_unittests.exe" |
| 79 ], | 270 ], |
| 80 "cwd": "[SLAVE_BUILD]\\pdfium", | 271 "cwd": "[SLAVE_BUILD]\\pdfium", |
| 81 "name": "unittests" | 272 "name": "unittests" |
| 82 }, | 273 }, |
| 83 { | 274 { |
| 84 "cmd": [ | 275 "cmd": [ |
| 85 "[SLAVE_BUILD]\\pdfium\\out\\debug_xfa_v8\\pdfium_embeddertests.exe" | 276 "[SLAVE_BUILD]\\pdfium\\out\\debug_xfa_v8\\pdfium_embeddertests.exe" |
| 86 ], | 277 ], |
| 87 "cwd": "[SLAVE_BUILD]\\pdfium", | 278 "cwd": "[SLAVE_BUILD]\\pdfium", |
| (...skipping 30 matching lines...) Expand all Loading... |
| 118 "out\\debug_xfa_v8" | 309 "out\\debug_xfa_v8" |
| 119 ], | 310 ], |
| 120 "cwd": "[SLAVE_BUILD]\\pdfium", | 311 "cwd": "[SLAVE_BUILD]\\pdfium", |
| 121 "name": "corpus tests" | 312 "name": "corpus tests" |
| 122 }, | 313 }, |
| 123 { | 314 { |
| 124 "name": "$result", | 315 "name": "$result", |
| 125 "recipe_result": null, | 316 "recipe_result": null, |
| 126 "status_code": 0 | 317 "status_code": 0 |
| 127 } | 318 } |
| 128 ] | 319 ] |
| OLD | NEW |