| 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]/Android32__M_Nexus5X_", | 7 "[BUILDER_CACHE]/Android32__M_Nexus5X_", |
| 8 "511" | 8 "511" |
| 9 ], | 9 ], |
| 10 "name": "makedirs checkout path", | 10 "name": "makedirs checkout path", |
| (...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 250 "@@@STEP_LOG_LINE@swarming-targets-file.txt@system_wrappers_unittests@@@", | 250 "@@@STEP_LOG_LINE@swarming-targets-file.txt@system_wrappers_unittests@@@", |
| 251 "@@@STEP_LOG_LINE@swarming-targets-file.txt@test_support_unittests@@@", | 251 "@@@STEP_LOG_LINE@swarming-targets-file.txt@test_support_unittests@@@", |
| 252 "@@@STEP_LOG_LINE@swarming-targets-file.txt@tools_unittests@@@", | 252 "@@@STEP_LOG_LINE@swarming-targets-file.txt@tools_unittests@@@", |
| 253 "@@@STEP_LOG_LINE@swarming-targets-file.txt@video_engine_tests@@@", | 253 "@@@STEP_LOG_LINE@swarming-targets-file.txt@video_engine_tests@@@", |
| 254 "@@@STEP_LOG_LINE@swarming-targets-file.txt@voice_engine_unittests@@@", | 254 "@@@STEP_LOG_LINE@swarming-targets-file.txt@voice_engine_unittests@@@", |
| 255 "@@@STEP_LOG_LINE@swarming-targets-file.txt@webrtc_nonparallel_tests@@@", | 255 "@@@STEP_LOG_LINE@swarming-targets-file.txt@webrtc_nonparallel_tests@@@", |
| 256 "@@@STEP_LOG_END@swarming-targets-file.txt@@@" | 256 "@@@STEP_LOG_END@swarming-targets-file.txt@@@" |
| 257 ] | 257 ] |
| 258 }, | 258 }, |
| 259 { | 259 { |
| 260 "cmd": [ | |
| 261 "python", | |
| 262 "-u", | |
| 263 "\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" | |
| 264 ], | |
| 265 "name": "calculate the number of recommended jobs", | |
| 266 "stdout": "/path/to/tmp/", | |
| 267 "~followup_annotations": [ | |
| 268 "@@@STEP_LOG_LINE@python.inline@@@@", | |
| 269 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@", | |
| 270 "@@@STEP_LOG_LINE@python.inline@import sys@@@", | |
| 271 "@@@STEP_LOG_LINE@python.inline@@@@", | |
| 272 "@@@STEP_LOG_LINE@python.inline@job_limit = 200@@@", | |
| 273 "@@@STEP_LOG_LINE@python.inline@if sys.platform.startswith('linux'):@@@", | |
| 274 "@@@STEP_LOG_LINE@python.inline@ # Use 80 for linux not to load goma back
end.@@@", | |
| 275 "@@@STEP_LOG_LINE@python.inline@ job_limit = 80@@@", | |
| 276 "@@@STEP_LOG_LINE@python.inline@@@@", | |
| 277 "@@@STEP_LOG_LINE@python.inline@try:@@@", | |
| 278 "@@@STEP_LOG_LINE@python.inline@ jobs = min(job_limit, multiprocessing.cp
u_count() * 10)@@@", | |
| 279 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@", | |
| 280 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@", | |
| 281 "@@@STEP_LOG_LINE@python.inline@@@@", | |
| 282 "@@@STEP_LOG_LINE@python.inline@print jobs@@@", | |
| 283 "@@@STEP_LOG_END@python.inline@@@" | |
| 284 ] | |
| 285 }, | |
| 286 { | |
| 287 "cmd": [], | 260 "cmd": [], |
| 288 "name": "preprocess_for_goma" | 261 "name": "preprocess_for_goma" |
| 289 }, | 262 }, |
| 290 { | 263 { |
| 291 "cmd": [ | 264 "cmd": [ |
| 292 "python", | 265 "python", |
| 293 "-u", | 266 "-u", |
| 294 "[CACHE]/cipd/goma/goma_ctl.py", | 267 "[CACHE]/cipd/goma/goma_ctl.py", |
| 295 "restart" | 268 "restart" |
| 296 ], | 269 ], |
| (...skipping 23 matching lines...) Expand all Loading... |
| 320 "env": { | 293 "env": { |
| 321 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" | 294 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" |
| 322 }, | 295 }, |
| 323 "name": "preprocess_for_goma.start cloudtail", | 296 "name": "preprocess_for_goma.start cloudtail", |
| 324 "~followup_annotations": [ | 297 "~followup_annotations": [ |
| 325 "@@@STEP_NEST_LEVEL@1@@@" | 298 "@@@STEP_NEST_LEVEL@1@@@" |
| 326 ] | 299 ] |
| 327 }, | 300 }, |
| 328 { | 301 { |
| 329 "cmd": [ | 302 "cmd": [ |
| 303 "python", |
| 304 "-u", |
| 305 "\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" |
| 306 ], |
| 307 "name": "calculate the number of recommended jobs", |
| 308 "stdout": "/path/to/tmp/", |
| 309 "~followup_annotations": [ |
| 310 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 311 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@", |
| 312 "@@@STEP_LOG_LINE@python.inline@import sys@@@", |
| 313 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 314 "@@@STEP_LOG_LINE@python.inline@job_limit = 200@@@", |
| 315 "@@@STEP_LOG_LINE@python.inline@if sys.platform.startswith('linux'):@@@", |
| 316 "@@@STEP_LOG_LINE@python.inline@ # Use 80 for linux not to load goma back
end.@@@", |
| 317 "@@@STEP_LOG_LINE@python.inline@ job_limit = 80@@@", |
| 318 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 319 "@@@STEP_LOG_LINE@python.inline@try:@@@", |
| 320 "@@@STEP_LOG_LINE@python.inline@ jobs = min(job_limit, multiprocessing.cp
u_count() * 10)@@@", |
| 321 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@", |
| 322 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@", |
| 323 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 324 "@@@STEP_LOG_LINE@python.inline@print jobs@@@", |
| 325 "@@@STEP_LOG_END@python.inline@@@" |
| 326 ] |
| 327 }, |
| 328 { |
| 329 "cmd": [ |
| 330 "RECIPE_PACKAGE_REPO[depot_tools]/ninja", | 330 "RECIPE_PACKAGE_REPO[depot_tools]/ninja", |
| 331 "-j", |
| 332 "50", |
| 331 "-w", | 333 "-w", |
| 332 "dupbuild=err", | 334 "dupbuild=err", |
| 333 "-C", | 335 "-C", |
| 334 "[BUILDER_CACHE]/Android32__M_Nexus5X_/src/out/Release", | 336 "[BUILDER_CACHE]/Android32__M_Nexus5X_/src/out/Release" |
| 335 "-j", | |
| 336 "50" | |
| 337 ], | 337 ], |
| 338 "env": { | 338 "env": { |
| 339 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 339 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
| 340 "PATH": "[BUILDER_CACHE]/Android32__M_Nexus5X_/src/third_party/android_too
ls/sdk/platform-tools:[BUILDER_CACHE]/Android32__M_Nexus5X_/src/build/android:%(
PATH)s" | 340 "PATH": "[BUILDER_CACHE]/Android32__M_Nexus5X_/src/third_party/android_too
ls/sdk/platform-tools:[BUILDER_CACHE]/Android32__M_Nexus5X_/src/build/android:%(
PATH)s" |
| 341 }, | 341 }, |
| 342 "name": "compile with ninja" | 342 "name": "compile with ninja" |
| 343 }, | 343 }, |
| 344 { | 344 { |
| 345 "cmd": [], | 345 "cmd": [], |
| 346 "name": "postprocess_for_goma" | 346 "name": "postprocess_for_goma" |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 397 "-u", | 397 "-u", |
| 398 "RECIPE_PACKAGE_REPO[build]/scripts/slave/upload_goma_logs.py", | 398 "RECIPE_PACKAGE_REPO[build]/scripts/slave/upload_goma_logs.py", |
| 399 "--upload-compiler-proxy-info", | 399 "--upload-compiler-proxy-info", |
| 400 "--json-status", | 400 "--json-status", |
| 401 "[CACHE]/cipd/goma/jsonstatus", | 401 "[CACHE]/cipd/goma/jsonstatus", |
| 402 "--ninja-log-outdir", | 402 "--ninja-log-outdir", |
| 403 "[BUILDER_CACHE]/Android32__M_Nexus5X_/src/out/Release", | 403 "[BUILDER_CACHE]/Android32__M_Nexus5X_/src/out/Release", |
| 404 "--ninja-log-compiler", | 404 "--ninja-log-compiler", |
| 405 "goma", | 405 "goma", |
| 406 "--ninja-log-command", | 406 "--ninja-log-command", |
| 407 "['RECIPE_PACKAGE_REPO[depot_tools]/ninja', '-w', 'dupbuild=err', '-C', '[
BUILDER_CACHE]/Android32__M_Nexus5X_/src/out/Release', '-j', 50]", | 407 "['RECIPE_PACKAGE_REPO[depot_tools]/ninja', '-j', 50, '-w', 'dupbuild=err'
, '-C', '[BUILDER_CACHE]/Android32__M_Nexus5X_/src/out/Release']", |
| 408 "--ninja-log-exit-status", | 408 "--ninja-log-exit-status", |
| 409 "0", | 409 "0", |
| 410 "--buildbot-buildername", | 410 "--buildbot-buildername", |
| 411 "Android32 (M Nexus5X)", | 411 "Android32 (M Nexus5X)", |
| 412 "--buildbot-mastername", | 412 "--buildbot-mastername", |
| 413 "client.webrtc", | 413 "client.webrtc", |
| 414 "--buildbot-slavename", | 414 "--buildbot-slavename", |
| 415 "slavename" | 415 "slavename" |
| 416 ], | 416 ], |
| 417 "env": { | 417 "env": { |
| (...skipping 2289 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2707 ], | 2707 ], |
| 2708 "cwd": "[BUILDER_CACHE]/Android32__M_Nexus5X_", | 2708 "cwd": "[BUILDER_CACHE]/Android32__M_Nexus5X_", |
| 2709 "name": "Upload to test-results [libjingle_peerconnection_android_unittest o
n Android]" | 2709 "name": "Upload to test-results [libjingle_peerconnection_android_unittest o
n Android]" |
| 2710 }, | 2710 }, |
| 2711 { | 2711 { |
| 2712 "name": "$result", | 2712 "name": "$result", |
| 2713 "recipe_result": null, | 2713 "recipe_result": null, |
| 2714 "status_code": 0 | 2714 "status_code": 0 |
| 2715 } | 2715 } |
| 2716 ] | 2716 ] |
| OLD | NEW |