| 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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 "name": "gclient runhooks" | 59 "name": "gclient runhooks" |
| 60 }, | 60 }, |
| 61 { | 61 { |
| 62 "cmd": [ | 62 "cmd": [ |
| 63 "python", | 63 "python", |
| 64 "-u", | 64 "-u", |
| 65 "[DEPOT_TOOLS]/gn.py", | 65 "[DEPOT_TOOLS]/gn.py", |
| 66 "--root=[SLAVE_BUILD]/pdfium", | 66 "--root=[SLAVE_BUILD]/pdfium", |
| 67 "gen", | 67 "gen", |
| 68 "//out/debug_xfa_v8_asan", | 68 "//out/debug_xfa_v8_asan", |
| 69 "--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 use_sysroot=
false is_asan=true" | 69 "--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_sysroot=false is_asan=
true" |
| 70 ], | 70 ], |
| 71 "cwd": "[SLAVE_BUILD]/pdfium", | 71 "cwd": "[SLAVE_BUILD]/pdfium", |
| 72 "name": "gn gen" | 72 "name": "gn gen" |
| 73 }, | 73 }, |
| 74 { | 74 { |
| 75 "cmd": [], | |
| 76 "name": "ensure_goma" | |
| 77 }, | |
| 78 { | |
| 79 "cmd": [ | |
| 80 "python", | |
| 81 "-u", | |
| 82 "RECIPE_MODULE[depot_tools::cipd]/resources/bootstrap.py", | |
| 83 "--platform", | |
| 84 "linux-amd64", | |
| 85 "--dest-directory", | |
| 86 "[SLAVE_BUILD]/cipd", | |
| 87 "--json-output", | |
| 88 "/path/to/tmp/json" | |
| 89 ], | |
| 90 "name": "ensure_goma.install cipd", | |
| 91 "~followup_annotations": [ | |
| 92 "@@@STEP_NEST_LEVEL@1@@@", | |
| 93 "@@@STEP_TEXT@cipd instance_id: 40-chars-fake-of-the-package-instance_id@@
@", | |
| 94 "@@@STEP_LOG_LINE@json.output@{@@@", | |
| 95 "@@@STEP_LOG_LINE@json.output@ \"executable\": \"[SLAVE_BUILD]/cipd/cipd\
", @@@", | |
| 96 "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"40-chars-fake-of-the-pa
ckage-instance_id\"@@@", | |
| 97 "@@@STEP_LOG_LINE@json.output@}@@@", | |
| 98 "@@@STEP_LOG_END@json.output@@@" | |
| 99 ] | |
| 100 }, | |
| 101 { | |
| 102 "cmd": [ | |
| 103 "[SLAVE_BUILD]/cipd/cipd", | |
| 104 "ensure", | |
| 105 "--root", | |
| 106 "[CACHE]/cipd/goma", | |
| 107 "--list", | |
| 108 "infra/tools/cloudtail/linux-amd64 goma_recipe_module\ninfra_internal/goma
/client/linux-amd64 release", | |
| 109 "--json-output", | |
| 110 "/path/to/tmp/json", | |
| 111 "--service-account-json", | |
| 112 "/creds/service_accounts/service-account-goma-client.json" | |
| 113 ], | |
| 114 "name": "ensure_goma.ensure_installed", | |
| 115 "~followup_annotations": [ | |
| 116 "@@@STEP_NEST_LEVEL@1@@@", | |
| 117 "@@@STEP_LOG_LINE@json.output@{@@@", | |
| 118 "@@@STEP_LOG_LINE@json.output@ \"result\": [@@@", | |
| 119 "@@@STEP_LOG_LINE@json.output@ {@@@", | |
| 120 "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_i
d-of-goma_recipe_modu\", @@@", | |
| 121 "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra/tools/cloudtail/l
inux-amd64\"@@@", | |
| 122 "@@@STEP_LOG_LINE@json.output@ }, @@@", | |
| 123 "@@@STEP_LOG_LINE@json.output@ {@@@", | |
| 124 "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_i
d-of-release---------\", @@@", | |
| 125 "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra_internal/goma/cli
ent/linux-amd64\"@@@", | |
| 126 "@@@STEP_LOG_LINE@json.output@ }@@@", | |
| 127 "@@@STEP_LOG_LINE@json.output@ ]@@@", | |
| 128 "@@@STEP_LOG_LINE@json.output@}@@@", | |
| 129 "@@@STEP_LOG_END@json.output@@@" | |
| 130 ] | |
| 131 }, | |
| 132 { | |
| 133 "cmd": [ | |
| 134 "python", | |
| 135 "-u", | |
| 136 "\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" | |
| 137 ], | |
| 138 "name": "calculate the number of recommended jobs", | |
| 139 "stdout": "/path/to/tmp/", | |
| 140 "~followup_annotations": [ | |
| 141 "@@@STEP_LOG_LINE@python.inline@@@@", | |
| 142 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@", | |
| 143 "@@@STEP_LOG_LINE@python.inline@import sys@@@", | |
| 144 "@@@STEP_LOG_LINE@python.inline@@@@", | |
| 145 "@@@STEP_LOG_LINE@python.inline@job_limit = 200@@@", | |
| 146 "@@@STEP_LOG_LINE@python.inline@if sys.platform.startswith('linux'):@@@", | |
| 147 "@@@STEP_LOG_LINE@python.inline@ # Use 80 for linux not to load goma back
end.@@@", | |
| 148 "@@@STEP_LOG_LINE@python.inline@ job_limit = 80@@@", | |
| 149 "@@@STEP_LOG_LINE@python.inline@@@@", | |
| 150 "@@@STEP_LOG_LINE@python.inline@try:@@@", | |
| 151 "@@@STEP_LOG_LINE@python.inline@ jobs = min(job_limit, multiprocessing.cp
u_count() * 10)@@@", | |
| 152 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@", | |
| 153 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@", | |
| 154 "@@@STEP_LOG_LINE@python.inline@@@@", | |
| 155 "@@@STEP_LOG_LINE@python.inline@print jobs@@@", | |
| 156 "@@@STEP_LOG_END@python.inline@@@" | |
| 157 ] | |
| 158 }, | |
| 159 { | |
| 160 "cmd": [ | |
| 161 "python", | |
| 162 "-u", | |
| 163 "[CACHE]/cipd/goma/goma_ctl.py", | |
| 164 "restart" | |
| 165 ], | |
| 166 "env": { | |
| 167 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" | |
| 168 }, | |
| 169 "name": "start_goma" | |
| 170 }, | |
| 171 { | |
| 172 "cmd": [ | |
| 173 "python", | |
| 174 "-u", | |
| 175 "RECIPE_MODULE[build::goma]/resources/cloudtail_utils.py", | |
| 176 "start", | |
| 177 "--cloudtail-path", | |
| 178 "[CACHE]/cipd/goma/cloudtail" | |
| 179 ], | |
| 180 "env": { | |
| 181 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" | |
| 182 }, | |
| 183 "name": "start cloudtail", | |
| 184 "stdout": "/path/to/tmp/" | |
| 185 }, | |
| 186 { | |
| 187 "cmd": [ | 75 "cmd": [ |
| 188 "ninja", | 76 "ninja", |
| 189 "-C", | 77 "-C", |
| 190 "[SLAVE_BUILD]/pdfium/out/debug_xfa_v8_asan", | 78 "[SLAVE_BUILD]/pdfium/out/debug_xfa_v8_asan" |
| 191 "-j", | |
| 192 "50" | |
| 193 ], | 79 ], |
| 194 "name": "compile with ninja" | 80 "name": "compile with ninja" |
| 195 }, | 81 }, |
| 196 { | 82 { |
| 197 "cmd": [ | 83 "cmd": [ |
| 198 "python", | |
| 199 "-u", | |
| 200 "[CACHE]/cipd/goma/goma_ctl.py", | |
| 201 "jsonstatus", | |
| 202 "[CACHE]/cipd/goma/jsonstatus" | |
| 203 ], | |
| 204 "env": { | |
| 205 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" | |
| 206 }, | |
| 207 "name": "goma_jsonstatus" | |
| 208 }, | |
| 209 { | |
| 210 "cmd": [ | |
| 211 "python", | |
| 212 "-u", | |
| 213 "[CACHE]/cipd/goma/goma_ctl.py", | |
| 214 "stat" | |
| 215 ], | |
| 216 "env": { | |
| 217 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" | |
| 218 }, | |
| 219 "name": "goma_stat" | |
| 220 }, | |
| 221 { | |
| 222 "cmd": [ | |
| 223 "python", | |
| 224 "-u", | |
| 225 "[CACHE]/cipd/goma/goma_ctl.py", | |
| 226 "stop" | |
| 227 ], | |
| 228 "env": { | |
| 229 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" | |
| 230 }, | |
| 231 "name": "stop_goma" | |
| 232 }, | |
| 233 { | |
| 234 "cmd": [ | |
| 235 "python", | |
| 236 "-u", | |
| 237 "RECIPE_PACKAGE_REPO[build]/scripts/slave/upload_goma_logs.py", | |
| 238 "--upload-compiler-proxy-info", | |
| 239 "--json-status", | |
| 240 "[CACHE]/cipd/goma/jsonstatus", | |
| 241 "--ninja-log-outdir", | |
| 242 "[SLAVE_BUILD]/pdfium/out/debug_xfa_v8_asan", | |
| 243 "--ninja-log-compiler", | |
| 244 "unknown", | |
| 245 "--ninja-log-command", | |
| 246 "['ninja', '-C', Path('checkout', 'out','debug_xfa_v8_asan'), '-j', 50]", | |
| 247 "--ninja-log-exit-status", | |
| 248 "0", | |
| 249 "--buildbot-buildername", | |
| 250 "linux_xfa_asan", | |
| 251 "--buildbot-mastername", | |
| 252 "tryserver.client.pdfium", | |
| 253 "--buildbot-slavename", | |
| 254 "TestSlavename" | |
| 255 ], | |
| 256 "env": { | |
| 257 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" | |
| 258 }, | |
| 259 "name": "upload_log" | |
| 260 }, | |
| 261 { | |
| 262 "cmd": [ | |
| 263 "python", | |
| 264 "-u", | |
| 265 "RECIPE_MODULE[build::goma]/resources/cloudtail_utils.py", | |
| 266 "stop", | |
| 267 "--killed-pid", | |
| 268 "12345" | |
| 269 ], | |
| 270 "name": "stop cloudtail" | |
| 271 }, | |
| 272 { | |
| 273 "cmd": [ | |
| 274 "[SLAVE_BUILD]/pdfium/out/debug_xfa_v8_asan/pdfium_unittests" | 84 "[SLAVE_BUILD]/pdfium/out/debug_xfa_v8_asan/pdfium_unittests" |
| 275 ], | 85 ], |
| 276 "cwd": "[SLAVE_BUILD]/pdfium", | 86 "cwd": "[SLAVE_BUILD]/pdfium", |
| 277 "env": { | 87 "env": { |
| 278 "ASAN_OPTIONS": "detect_leaks=0:allocator_may_return_null=1" | 88 "ASAN_OPTIONS": "detect_leaks=0:allocator_may_return_null=1" |
| 279 }, | 89 }, |
| 280 "name": "unittests" | 90 "name": "unittests" |
| 281 }, | 91 }, |
| 282 { | 92 { |
| 283 "cmd": [ | 93 "cmd": [ |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 329 "env": { | 139 "env": { |
| 330 "ASAN_OPTIONS": "detect_leaks=0:allocator_may_return_null=1" | 140 "ASAN_OPTIONS": "detect_leaks=0:allocator_may_return_null=1" |
| 331 }, | 141 }, |
| 332 "name": "corpus tests" | 142 "name": "corpus tests" |
| 333 }, | 143 }, |
| 334 { | 144 { |
| 335 "name": "$result", | 145 "name": "$result", |
| 336 "recipe_result": null, | 146 "recipe_result": null, |
| 337 "status_code": 0 | 147 "status_code": 0 |
| 338 } | 148 } |
| 339 ] | 149 ] |
| OLD | NEW |