| OLD | NEW |
| 1 [ | 1 [ |
| 2 { | 2 { |
| 3 "cmd": [ | 3 "cmd": [ |
| 4 "python", | 4 "python", |
| 5 "-u", | 5 "-u", |
| 6 "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py", | 6 "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py", |
| 7 "--show-path", | 7 "--show-path", |
| 8 "python", | 8 "python", |
| 9 "RECIPE_PACKAGE_REPO[build]/scripts/slave/cleanup_temp.py" | 9 "RECIPE_PACKAGE_REPO[build]/scripts/slave/cleanup_temp.py" |
| 10 ], | 10 ], |
| (...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 169 }, | 169 }, |
| 170 "name": "clang_revision", | 170 "name": "clang_revision", |
| 171 "~followup_annotations": [ | 171 "~followup_annotations": [ |
| 172 "@@@STEP_LOG_LINE@json.output@{@@@", | 172 "@@@STEP_LOG_LINE@json.output@{@@@", |
| 173 "@@@STEP_LOG_LINE@json.output@ \"clang_revision\": \"123456-7\"@@@", | 173 "@@@STEP_LOG_LINE@json.output@ \"clang_revision\": \"123456-7\"@@@", |
| 174 "@@@STEP_LOG_LINE@json.output@}@@@", | 174 "@@@STEP_LOG_LINE@json.output@}@@@", |
| 175 "@@@STEP_LOG_END@json.output@@@" | 175 "@@@STEP_LOG_END@json.output@@@" |
| 176 ] | 176 ] |
| 177 }, | 177 }, |
| 178 { | 178 { |
| 179 "cmd": [ | |
| 180 "python", | |
| 181 "-u", | |
| 182 "\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" | |
| 183 ], | |
| 184 "name": "calculate the number of recommended jobs", | |
| 185 "stdout": "/path/to/tmp/", | |
| 186 "~followup_annotations": [ | |
| 187 "@@@STEP_LOG_LINE@python.inline@@@@", | |
| 188 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@", | |
| 189 "@@@STEP_LOG_LINE@python.inline@import sys@@@", | |
| 190 "@@@STEP_LOG_LINE@python.inline@@@@", | |
| 191 "@@@STEP_LOG_LINE@python.inline@job_limit = 200@@@", | |
| 192 "@@@STEP_LOG_LINE@python.inline@if sys.platform.startswith('linux'):@@@", | |
| 193 "@@@STEP_LOG_LINE@python.inline@ # Use 80 for linux not to load goma back
end.@@@", | |
| 194 "@@@STEP_LOG_LINE@python.inline@ job_limit = 80@@@", | |
| 195 "@@@STEP_LOG_LINE@python.inline@@@@", | |
| 196 "@@@STEP_LOG_LINE@python.inline@try:@@@", | |
| 197 "@@@STEP_LOG_LINE@python.inline@ jobs = min(job_limit, multiprocessing.cp
u_count() * 10)@@@", | |
| 198 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@", | |
| 199 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@", | |
| 200 "@@@STEP_LOG_LINE@python.inline@@@@", | |
| 201 "@@@STEP_LOG_LINE@python.inline@print jobs@@@", | |
| 202 "@@@STEP_LOG_END@python.inline@@@" | |
| 203 ] | |
| 204 }, | |
| 205 { | |
| 206 "cmd": [], | 179 "cmd": [], |
| 207 "name": "preprocess_for_goma" | 180 "name": "preprocess_for_goma" |
| 208 }, | 181 }, |
| 209 { | 182 { |
| 210 "cmd": [ | 183 "cmd": [ |
| 211 "python", | 184 "python", |
| 212 "-u", | 185 "-u", |
| 213 "[CACHE]/cipd/goma/goma_ctl.py", | 186 "[CACHE]/cipd/goma/goma_ctl.py", |
| 214 "restart" | 187 "restart" |
| 215 ], | 188 ], |
| (...skipping 22 matching lines...) Expand all Loading... |
| 238 "env": { | 211 "env": { |
| 239 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" | 212 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" |
| 240 }, | 213 }, |
| 241 "name": "preprocess_for_goma.start cloudtail", | 214 "name": "preprocess_for_goma.start cloudtail", |
| 242 "~followup_annotations": [ | 215 "~followup_annotations": [ |
| 243 "@@@STEP_NEST_LEVEL@1@@@" | 216 "@@@STEP_NEST_LEVEL@1@@@" |
| 244 ] | 217 ] |
| 245 }, | 218 }, |
| 246 { | 219 { |
| 247 "cmd": [ | 220 "cmd": [ |
| 221 "python", |
| 222 "-u", |
| 223 "\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" |
| 224 ], |
| 225 "name": "calculate the number of recommended jobs", |
| 226 "stdout": "/path/to/tmp/", |
| 227 "~followup_annotations": [ |
| 228 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 229 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@", |
| 230 "@@@STEP_LOG_LINE@python.inline@import sys@@@", |
| 231 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 232 "@@@STEP_LOG_LINE@python.inline@job_limit = 200@@@", |
| 233 "@@@STEP_LOG_LINE@python.inline@if sys.platform.startswith('linux'):@@@", |
| 234 "@@@STEP_LOG_LINE@python.inline@ # Use 80 for linux not to load goma back
end.@@@", |
| 235 "@@@STEP_LOG_LINE@python.inline@ job_limit = 80@@@", |
| 236 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 237 "@@@STEP_LOG_LINE@python.inline@try:@@@", |
| 238 "@@@STEP_LOG_LINE@python.inline@ jobs = min(job_limit, multiprocessing.cp
u_count() * 10)@@@", |
| 239 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@", |
| 240 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@", |
| 241 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 242 "@@@STEP_LOG_LINE@python.inline@print jobs@@@", |
| 243 "@@@STEP_LOG_END@python.inline@@@" |
| 244 ] |
| 245 }, |
| 246 { |
| 247 "cmd": [ |
| 248 "RECIPE_PACKAGE_REPO[depot_tools]/ninja", | 248 "RECIPE_PACKAGE_REPO[depot_tools]/ninja", |
| 249 "-j", |
| 250 "50", |
| 249 "-w", | 251 "-w", |
| 250 "dupbuild=err", | 252 "dupbuild=err", |
| 251 "-C", | 253 "-C", |
| 252 "[SLAVE_BUILD]/src/out/Release", | 254 "[SLAVE_BUILD]/src/out/Release" |
| 253 "-j", | |
| 254 "50" | |
| 255 ], | 255 ], |
| 256 "env": { | 256 "env": { |
| 257 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" | 257 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" |
| 258 }, | 258 }, |
| 259 "name": "compile with ninja" | 259 "name": "compile with ninja" |
| 260 }, | 260 }, |
| 261 { | 261 { |
| 262 "cmd": [], | 262 "cmd": [], |
| 263 "name": "postprocess_for_goma" | 263 "name": "postprocess_for_goma" |
| 264 }, | 264 }, |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 314 "-u", | 314 "-u", |
| 315 "RECIPE_PACKAGE_REPO[build]/scripts/slave/upload_goma_logs.py", | 315 "RECIPE_PACKAGE_REPO[build]/scripts/slave/upload_goma_logs.py", |
| 316 "--upload-compiler-proxy-info", | 316 "--upload-compiler-proxy-info", |
| 317 "--json-status", | 317 "--json-status", |
| 318 "[CACHE]/cipd/goma/jsonstatus", | 318 "[CACHE]/cipd/goma/jsonstatus", |
| 319 "--ninja-log-outdir", | 319 "--ninja-log-outdir", |
| 320 "[SLAVE_BUILD]/src/out/Release", | 320 "[SLAVE_BUILD]/src/out/Release", |
| 321 "--ninja-log-compiler", | 321 "--ninja-log-compiler", |
| 322 "goma-clang", | 322 "goma-clang", |
| 323 "--ninja-log-command", | 323 "--ninja-log-command", |
| 324 "['RECIPE_PACKAGE_REPO[depot_tools]/ninja', '-w', 'dupbuild=err', '-C', '[
SLAVE_BUILD]/src/out/Release', '-j', 50]", | 324 "['RECIPE_PACKAGE_REPO[depot_tools]/ninja', '-j', 50, '-w', 'dupbuild=err'
, '-C', '[SLAVE_BUILD]/src/out/Release']", |
| 325 "--ninja-log-exit-status", | 325 "--ninja-log-exit-status", |
| 326 "0", | 326 "0", |
| 327 "--buildbot-buildername", | 327 "--buildbot-buildername", |
| 328 "linux_asan", | 328 "linux_asan", |
| 329 "--buildbot-mastername", | 329 "--buildbot-mastername", |
| 330 "tryserver.libyuv", | 330 "tryserver.libyuv", |
| 331 "--buildbot-slavename", | 331 "--buildbot-slavename", |
| 332 "slavename" | 332 "slavename" |
| 333 ], | 333 ], |
| 334 "env": { | 334 "env": { |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 374 "libyuv_unittest" | 374 "libyuv_unittest" |
| 375 ], | 375 ], |
| 376 "name": "libyuv_unittest" | 376 "name": "libyuv_unittest" |
| 377 }, | 377 }, |
| 378 { | 378 { |
| 379 "name": "$result", | 379 "name": "$result", |
| 380 "recipe_result": null, | 380 "recipe_result": null, |
| 381 "status_code": 0 | 381 "status_code": 0 |
| 382 } | 382 } |
| 383 ] | 383 ] |
| OLD | NEW |