| OLD | NEW |
| 1 [ | 1 [ |
| 2 { | 2 { |
| 3 "cmd": [ | 3 "cmd": [ |
| 4 "python", | 4 "python", |
| 5 "-u", | 5 "-u", |
| 6 "\nimport sys, os\npath = sys.argv[1]\nmode = int(sys.argv[2])\nif not os.
path.isdir(path):\n if os.path.exists(path):\n print \"%s exists but is not
a dir\" % path\n sys.exit(1)\n os.makedirs(path, mode)\n", | 6 "\nimport sys, os\npath = sys.argv[1]\nmode = int(sys.argv[2])\nif not os.
path.isdir(path):\n if os.path.exists(path):\n print \"%s exists but is not
a dir\" % path\n sys.exit(1)\n os.makedirs(path, mode)\n", |
| 7 "[BUILDER_CACHE]/linux_compile_dbg", | 7 "[BUILDER_CACHE]/linux_compile_dbg", |
| 8 "511" | 8 "511" |
| 9 ], | 9 ], |
| 10 "name": "makedirs checkout path", | 10 "name": "makedirs checkout path", |
| (...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 198 "--gyp-script=[BUILDER_CACHE]/linux_compile_dbg/src/webrtc/build/gyp_webrt
c.py", | 198 "--gyp-script=[BUILDER_CACHE]/linux_compile_dbg/src/webrtc/build/gyp_webrt
c.py", |
| 199 "//out/Debug" | 199 "//out/Debug" |
| 200 ], | 200 ], |
| 201 "cwd": "[BUILDER_CACHE]/linux_compile_dbg/src", | 201 "cwd": "[BUILDER_CACHE]/linux_compile_dbg/src", |
| 202 "env": { | 202 "env": { |
| 203 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" | 203 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" |
| 204 }, | 204 }, |
| 205 "name": "generate_build_files" | 205 "name": "generate_build_files" |
| 206 }, | 206 }, |
| 207 { | 207 { |
| 208 "cmd": [ | |
| 209 "python", | |
| 210 "-u", | |
| 211 "\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" | |
| 212 ], | |
| 213 "name": "calculate the number of recommended jobs", | |
| 214 "stdout": "/path/to/tmp/", | |
| 215 "~followup_annotations": [ | |
| 216 "@@@STEP_LOG_LINE@python.inline@@@@", | |
| 217 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@", | |
| 218 "@@@STEP_LOG_LINE@python.inline@import sys@@@", | |
| 219 "@@@STEP_LOG_LINE@python.inline@@@@", | |
| 220 "@@@STEP_LOG_LINE@python.inline@job_limit = 200@@@", | |
| 221 "@@@STEP_LOG_LINE@python.inline@if sys.platform.startswith('linux'):@@@", | |
| 222 "@@@STEP_LOG_LINE@python.inline@ # Use 80 for linux not to load goma back
end.@@@", | |
| 223 "@@@STEP_LOG_LINE@python.inline@ job_limit = 80@@@", | |
| 224 "@@@STEP_LOG_LINE@python.inline@@@@", | |
| 225 "@@@STEP_LOG_LINE@python.inline@try:@@@", | |
| 226 "@@@STEP_LOG_LINE@python.inline@ jobs = min(job_limit, multiprocessing.cp
u_count() * 10)@@@", | |
| 227 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@", | |
| 228 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@", | |
| 229 "@@@STEP_LOG_LINE@python.inline@@@@", | |
| 230 "@@@STEP_LOG_LINE@python.inline@print jobs@@@", | |
| 231 "@@@STEP_LOG_END@python.inline@@@" | |
| 232 ] | |
| 233 }, | |
| 234 { | |
| 235 "cmd": [], | 208 "cmd": [], |
| 236 "name": "preprocess_for_goma" | 209 "name": "preprocess_for_goma" |
| 237 }, | 210 }, |
| 238 { | 211 { |
| 239 "cmd": [ | 212 "cmd": [ |
| 240 "python", | 213 "python", |
| 241 "-u", | 214 "-u", |
| 242 "[CACHE]/cipd/goma/goma_ctl.py", | 215 "[CACHE]/cipd/goma/goma_ctl.py", |
| 243 "restart" | 216 "restart" |
| 244 ], | 217 ], |
| (...skipping 22 matching lines...) Expand all Loading... |
| 267 "env": { | 240 "env": { |
| 268 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" | 241 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" |
| 269 }, | 242 }, |
| 270 "name": "preprocess_for_goma.start cloudtail", | 243 "name": "preprocess_for_goma.start cloudtail", |
| 271 "~followup_annotations": [ | 244 "~followup_annotations": [ |
| 272 "@@@STEP_NEST_LEVEL@1@@@" | 245 "@@@STEP_NEST_LEVEL@1@@@" |
| 273 ] | 246 ] |
| 274 }, | 247 }, |
| 275 { | 248 { |
| 276 "cmd": [ | 249 "cmd": [ |
| 250 "python", |
| 251 "-u", |
| 252 "\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" |
| 253 ], |
| 254 "name": "calculate the number of recommended jobs", |
| 255 "stdout": "/path/to/tmp/", |
| 256 "~followup_annotations": [ |
| 257 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 258 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@", |
| 259 "@@@STEP_LOG_LINE@python.inline@import sys@@@", |
| 260 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 261 "@@@STEP_LOG_LINE@python.inline@job_limit = 200@@@", |
| 262 "@@@STEP_LOG_LINE@python.inline@if sys.platform.startswith('linux'):@@@", |
| 263 "@@@STEP_LOG_LINE@python.inline@ # Use 80 for linux not to load goma back
end.@@@", |
| 264 "@@@STEP_LOG_LINE@python.inline@ job_limit = 80@@@", |
| 265 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 266 "@@@STEP_LOG_LINE@python.inline@try:@@@", |
| 267 "@@@STEP_LOG_LINE@python.inline@ jobs = min(job_limit, multiprocessing.cp
u_count() * 10)@@@", |
| 268 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@", |
| 269 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@", |
| 270 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 271 "@@@STEP_LOG_LINE@python.inline@print jobs@@@", |
| 272 "@@@STEP_LOG_END@python.inline@@@" |
| 273 ] |
| 274 }, |
| 275 { |
| 276 "cmd": [ |
| 277 "RECIPE_PACKAGE_REPO[depot_tools]/ninja", | 277 "RECIPE_PACKAGE_REPO[depot_tools]/ninja", |
| 278 "-j", |
| 279 "50", |
| 278 "-w", | 280 "-w", |
| 279 "dupbuild=err", | 281 "dupbuild=err", |
| 280 "-C", | 282 "-C", |
| 281 "[BUILDER_CACHE]/linux_compile_dbg/src/out/Debug", | 283 "[BUILDER_CACHE]/linux_compile_dbg/src/out/Debug" |
| 282 "-j", | |
| 283 "50" | |
| 284 ], | 284 ], |
| 285 "env": { | 285 "env": { |
| 286 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" | 286 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" |
| 287 }, | 287 }, |
| 288 "name": "compile with ninja" | 288 "name": "compile with ninja" |
| 289 }, | 289 }, |
| 290 { | 290 { |
| 291 "cmd": [], | 291 "cmd": [], |
| 292 "name": "postprocess_for_goma" | 292 "name": "postprocess_for_goma" |
| 293 }, | 293 }, |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 343 "-u", | 343 "-u", |
| 344 "RECIPE_PACKAGE_REPO[build]/scripts/slave/upload_goma_logs.py", | 344 "RECIPE_PACKAGE_REPO[build]/scripts/slave/upload_goma_logs.py", |
| 345 "--upload-compiler-proxy-info", | 345 "--upload-compiler-proxy-info", |
| 346 "--json-status", | 346 "--json-status", |
| 347 "[CACHE]/cipd/goma/jsonstatus", | 347 "[CACHE]/cipd/goma/jsonstatus", |
| 348 "--ninja-log-outdir", | 348 "--ninja-log-outdir", |
| 349 "[BUILDER_CACHE]/linux_compile_dbg/src/out/Debug", | 349 "[BUILDER_CACHE]/linux_compile_dbg/src/out/Debug", |
| 350 "--ninja-log-compiler", | 350 "--ninja-log-compiler", |
| 351 "goma", | 351 "goma", |
| 352 "--ninja-log-command", | 352 "--ninja-log-command", |
| 353 "['RECIPE_PACKAGE_REPO[depot_tools]/ninja', '-w', 'dupbuild=err', '-C', '[
BUILDER_CACHE]/linux_compile_dbg/src/out/Debug', '-j', 50]", | 353 "['RECIPE_PACKAGE_REPO[depot_tools]/ninja', '-j', 50, '-w', 'dupbuild=err'
, '-C', '[BUILDER_CACHE]/linux_compile_dbg/src/out/Debug']", |
| 354 "--ninja-log-exit-status", | 354 "--ninja-log-exit-status", |
| 355 "0", | 355 "0", |
| 356 "--buildbot-buildername", | 356 "--buildbot-buildername", |
| 357 "linux_compile_dbg", | 357 "linux_compile_dbg", |
| 358 "--buildbot-mastername", | 358 "--buildbot-mastername", |
| 359 "tryserver.webrtc", | 359 "tryserver.webrtc", |
| 360 "--buildbot-slavename", | 360 "--buildbot-slavename", |
| 361 "slavename" | 361 "slavename" |
| 362 ], | 362 ], |
| 363 "env": { | 363 "env": { |
| (...skipping 17 matching lines...) Expand all Loading... |
| 381 "~followup_annotations": [ | 381 "~followup_annotations": [ |
| 382 "@@@STEP_NEST_LEVEL@1@@@" | 382 "@@@STEP_NEST_LEVEL@1@@@" |
| 383 ] | 383 ] |
| 384 }, | 384 }, |
| 385 { | 385 { |
| 386 "name": "$result", | 386 "name": "$result", |
| 387 "recipe_result": null, | 387 "recipe_result": null, |
| 388 "status_code": 0 | 388 "status_code": 0 |
| 389 } | 389 } |
| 390 ] | 390 ] |
| OLD | NEW |