| OLD | NEW |
| 1 [ | 1 [ |
| 2 { | 2 { |
| 3 "cmd": [ | 3 "cmd": [ |
| 4 "RECIPE_PACKAGE_REPO[build]/scripts/slave/ios/host_info.py", | 4 "RECIPE_PACKAGE_REPO[build]/scripts/slave/ios/host_info.py", |
| 5 "--json-file", | 5 "--json-file", |
| 6 "/path/to/tmp/json" | 6 "/path/to/tmp/json" |
| 7 ], | 7 ], |
| 8 "name": "host and tools info", | 8 "name": "host and tools info", |
| 9 "~followup_annotations": [ | 9 "~followup_annotations": [ |
| 10 "@@@STEP_TEXT@<br />OS X 1.2.3, Xcode 6.7.8 (5D342509a)@@@", | 10 "@@@STEP_TEXT@<br />OS X 1.2.3, Xcode 6.7.8 (5D342509a)@@@", |
| (...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 233 }, | 233 }, |
| 234 "name": "clang_revision", | 234 "name": "clang_revision", |
| 235 "~followup_annotations": [ | 235 "~followup_annotations": [ |
| 236 "@@@STEP_LOG_LINE@json.output@{@@@", | 236 "@@@STEP_LOG_LINE@json.output@{@@@", |
| 237 "@@@STEP_LOG_LINE@json.output@ \"clang_revision\": \"123456-7\"@@@", | 237 "@@@STEP_LOG_LINE@json.output@ \"clang_revision\": \"123456-7\"@@@", |
| 238 "@@@STEP_LOG_LINE@json.output@}@@@", | 238 "@@@STEP_LOG_LINE@json.output@}@@@", |
| 239 "@@@STEP_LOG_END@json.output@@@" | 239 "@@@STEP_LOG_END@json.output@@@" |
| 240 ] | 240 ] |
| 241 }, | 241 }, |
| 242 { | 242 { |
| 243 "cmd": [ | |
| 244 "python", | |
| 245 "-u", | |
| 246 "\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" | |
| 247 ], | |
| 248 "name": "calculate the number of recommended jobs", | |
| 249 "stdout": "/path/to/tmp/", | |
| 250 "~followup_annotations": [ | |
| 251 "@@@STEP_LOG_LINE@python.inline@@@@", | |
| 252 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@", | |
| 253 "@@@STEP_LOG_LINE@python.inline@import sys@@@", | |
| 254 "@@@STEP_LOG_LINE@python.inline@@@@", | |
| 255 "@@@STEP_LOG_LINE@python.inline@job_limit = 200@@@", | |
| 256 "@@@STEP_LOG_LINE@python.inline@if sys.platform.startswith('linux'):@@@", | |
| 257 "@@@STEP_LOG_LINE@python.inline@ # Use 80 for linux not to load goma back
end.@@@", | |
| 258 "@@@STEP_LOG_LINE@python.inline@ job_limit = 80@@@", | |
| 259 "@@@STEP_LOG_LINE@python.inline@@@@", | |
| 260 "@@@STEP_LOG_LINE@python.inline@try:@@@", | |
| 261 "@@@STEP_LOG_LINE@python.inline@ jobs = min(job_limit, multiprocessing.cp
u_count() * 10)@@@", | |
| 262 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@", | |
| 263 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@", | |
| 264 "@@@STEP_LOG_LINE@python.inline@@@@", | |
| 265 "@@@STEP_LOG_LINE@python.inline@print jobs@@@", | |
| 266 "@@@STEP_LOG_END@python.inline@@@" | |
| 267 ] | |
| 268 }, | |
| 269 { | |
| 270 "cmd": [], | 243 "cmd": [], |
| 271 "name": "preprocess_for_goma" | 244 "name": "preprocess_for_goma" |
| 272 }, | 245 }, |
| 273 { | 246 { |
| 274 "cmd": [ | 247 "cmd": [ |
| 275 "python", | 248 "python", |
| 276 "-u", | 249 "-u", |
| 277 "[CACHE]/cipd/goma/goma_ctl.py", | 250 "[CACHE]/cipd/goma/goma_ctl.py", |
| 278 "restart" | 251 "restart" |
| 279 ], | 252 ], |
| (...skipping 22 matching lines...) Expand all Loading... |
| 302 "env": { | 275 "env": { |
| 303 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" | 276 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" |
| 304 }, | 277 }, |
| 305 "name": "preprocess_for_goma.start cloudtail", | 278 "name": "preprocess_for_goma.start cloudtail", |
| 306 "~followup_annotations": [ | 279 "~followup_annotations": [ |
| 307 "@@@STEP_NEST_LEVEL@1@@@" | 280 "@@@STEP_NEST_LEVEL@1@@@" |
| 308 ] | 281 ] |
| 309 }, | 282 }, |
| 310 { | 283 { |
| 311 "cmd": [ | 284 "cmd": [ |
| 285 "python", |
| 286 "-u", |
| 287 "\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" |
| 288 ], |
| 289 "name": "calculate the number of recommended jobs", |
| 290 "stdout": "/path/to/tmp/", |
| 291 "~followup_annotations": [ |
| 292 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 293 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@", |
| 294 "@@@STEP_LOG_LINE@python.inline@import sys@@@", |
| 295 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 296 "@@@STEP_LOG_LINE@python.inline@job_limit = 200@@@", |
| 297 "@@@STEP_LOG_LINE@python.inline@if sys.platform.startswith('linux'):@@@", |
| 298 "@@@STEP_LOG_LINE@python.inline@ # Use 80 for linux not to load goma back
end.@@@", |
| 299 "@@@STEP_LOG_LINE@python.inline@ job_limit = 80@@@", |
| 300 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 301 "@@@STEP_LOG_LINE@python.inline@try:@@@", |
| 302 "@@@STEP_LOG_LINE@python.inline@ jobs = min(job_limit, multiprocessing.cp
u_count() * 10)@@@", |
| 303 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@", |
| 304 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@", |
| 305 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 306 "@@@STEP_LOG_LINE@python.inline@print jobs@@@", |
| 307 "@@@STEP_LOG_END@python.inline@@@" |
| 308 ] |
| 309 }, |
| 310 { |
| 311 "cmd": [ |
| 312 "RECIPE_PACKAGE_REPO[depot_tools]/ninja", | 312 "RECIPE_PACKAGE_REPO[depot_tools]/ninja", |
| 313 "-w", | 313 "-w", |
| 314 "dupbuild=err", | 314 "dupbuild=err", |
| 315 "-C", | 315 "-C", |
| 316 "[BUILDER_CACHE]/mac_compile_dbg/src/out/Debug", | 316 "[BUILDER_CACHE]/mac_compile_dbg/src/out/Debug", |
| 317 "-j", | 317 "-j", |
| 318 "50" | 318 "50" |
| 319 ], | 319 ], |
| 320 "env": { | 320 "env": { |
| 321 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" | 321 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 416 "~followup_annotations": [ | 416 "~followup_annotations": [ |
| 417 "@@@STEP_NEST_LEVEL@1@@@" | 417 "@@@STEP_NEST_LEVEL@1@@@" |
| 418 ] | 418 ] |
| 419 }, | 419 }, |
| 420 { | 420 { |
| 421 "name": "$result", | 421 "name": "$result", |
| 422 "recipe_result": null, | 422 "recipe_result": null, |
| 423 "status_code": 0 | 423 "status_code": 0 |
| 424 } | 424 } |
| 425 ] | 425 ] |
| OLD | NEW |