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