| 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_asan", | 7 "[BUILDER_CACHE]/linux_asan", |
| 8 "511" | 8 "511" |
| 9 ], | 9 ], |
| 10 "name": "makedirs checkout path", | 10 "name": "makedirs checkout path", |
| (...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 220 }, | 220 }, |
| 221 "name": "clang_revision", | 221 "name": "clang_revision", |
| 222 "~followup_annotations": [ | 222 "~followup_annotations": [ |
| 223 "@@@STEP_LOG_LINE@json.output@{@@@", | 223 "@@@STEP_LOG_LINE@json.output@{@@@", |
| 224 "@@@STEP_LOG_LINE@json.output@ \"clang_revision\": \"123456-7\"@@@", | 224 "@@@STEP_LOG_LINE@json.output@ \"clang_revision\": \"123456-7\"@@@", |
| 225 "@@@STEP_LOG_LINE@json.output@}@@@", | 225 "@@@STEP_LOG_LINE@json.output@}@@@", |
| 226 "@@@STEP_LOG_END@json.output@@@" | 226 "@@@STEP_LOG_END@json.output@@@" |
| 227 ] | 227 ] |
| 228 }, | 228 }, |
| 229 { | 229 { |
| 230 "cmd": [ | |
| 231 "python", | |
| 232 "-u", | |
| 233 "\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" | |
| 234 ], | |
| 235 "name": "calculate the number of recommended jobs", | |
| 236 "stdout": "/path/to/tmp/", | |
| 237 "~followup_annotations": [ | |
| 238 "@@@STEP_LOG_LINE@python.inline@@@@", | |
| 239 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@", | |
| 240 "@@@STEP_LOG_LINE@python.inline@import sys@@@", | |
| 241 "@@@STEP_LOG_LINE@python.inline@@@@", | |
| 242 "@@@STEP_LOG_LINE@python.inline@job_limit = 200@@@", | |
| 243 "@@@STEP_LOG_LINE@python.inline@if sys.platform.startswith('linux'):@@@", | |
| 244 "@@@STEP_LOG_LINE@python.inline@ # Use 80 for linux not to load goma back
end.@@@", | |
| 245 "@@@STEP_LOG_LINE@python.inline@ job_limit = 80@@@", | |
| 246 "@@@STEP_LOG_LINE@python.inline@@@@", | |
| 247 "@@@STEP_LOG_LINE@python.inline@try:@@@", | |
| 248 "@@@STEP_LOG_LINE@python.inline@ jobs = min(job_limit, multiprocessing.cp
u_count() * 10)@@@", | |
| 249 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@", | |
| 250 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@", | |
| 251 "@@@STEP_LOG_LINE@python.inline@@@@", | |
| 252 "@@@STEP_LOG_LINE@python.inline@print jobs@@@", | |
| 253 "@@@STEP_LOG_END@python.inline@@@" | |
| 254 ] | |
| 255 }, | |
| 256 { | |
| 257 "cmd": [], | 230 "cmd": [], |
| 258 "name": "preprocess_for_goma" | 231 "name": "preprocess_for_goma" |
| 259 }, | 232 }, |
| 260 { | 233 { |
| 261 "cmd": [ | 234 "cmd": [ |
| 262 "python", | 235 "python", |
| 263 "-u", | 236 "-u", |
| 264 "[CACHE]/cipd/goma/goma_ctl.py", | 237 "[CACHE]/cipd/goma/goma_ctl.py", |
| 265 "restart" | 238 "restart" |
| 266 ], | 239 ], |
| (...skipping 22 matching lines...) Expand all Loading... |
| 289 "env": { | 262 "env": { |
| 290 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" | 263 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" |
| 291 }, | 264 }, |
| 292 "name": "preprocess_for_goma.start cloudtail", | 265 "name": "preprocess_for_goma.start cloudtail", |
| 293 "~followup_annotations": [ | 266 "~followup_annotations": [ |
| 294 "@@@STEP_NEST_LEVEL@1@@@" | 267 "@@@STEP_NEST_LEVEL@1@@@" |
| 295 ] | 268 ] |
| 296 }, | 269 }, |
| 297 { | 270 { |
| 298 "cmd": [ | 271 "cmd": [ |
| 272 "python", |
| 273 "-u", |
| 274 "\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" |
| 275 ], |
| 276 "name": "calculate the number of recommended jobs", |
| 277 "stdout": "/path/to/tmp/", |
| 278 "~followup_annotations": [ |
| 279 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 280 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@", |
| 281 "@@@STEP_LOG_LINE@python.inline@import sys@@@", |
| 282 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 283 "@@@STEP_LOG_LINE@python.inline@job_limit = 200@@@", |
| 284 "@@@STEP_LOG_LINE@python.inline@if sys.platform.startswith('linux'):@@@", |
| 285 "@@@STEP_LOG_LINE@python.inline@ # Use 80 for linux not to load goma back
end.@@@", |
| 286 "@@@STEP_LOG_LINE@python.inline@ job_limit = 80@@@", |
| 287 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 288 "@@@STEP_LOG_LINE@python.inline@try:@@@", |
| 289 "@@@STEP_LOG_LINE@python.inline@ jobs = min(job_limit, multiprocessing.cp
u_count() * 10)@@@", |
| 290 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@", |
| 291 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@", |
| 292 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 293 "@@@STEP_LOG_LINE@python.inline@print jobs@@@", |
| 294 "@@@STEP_LOG_END@python.inline@@@" |
| 295 ] |
| 296 }, |
| 297 { |
| 298 "cmd": [ |
| 299 "RECIPE_PACKAGE_REPO[depot_tools]/ninja", | 299 "RECIPE_PACKAGE_REPO[depot_tools]/ninja", |
| 300 "-j", |
| 301 "50", |
| 300 "-w", | 302 "-w", |
| 301 "dupbuild=err", | 303 "dupbuild=err", |
| 302 "-C", | 304 "-C", |
| 303 "[BUILDER_CACHE]/linux_asan/src/out/Release", | 305 "[BUILDER_CACHE]/linux_asan/src/out/Release" |
| 304 "-j", | |
| 305 "50" | |
| 306 ], | 306 ], |
| 307 "env": { | 307 "env": { |
| 308 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" | 308 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" |
| 309 }, | 309 }, |
| 310 "name": "compile with ninja" | 310 "name": "compile with ninja" |
| 311 }, | 311 }, |
| 312 { | 312 { |
| 313 "cmd": [], | 313 "cmd": [], |
| 314 "name": "postprocess_for_goma" | 314 "name": "postprocess_for_goma" |
| 315 }, | 315 }, |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 365 "-u", | 365 "-u", |
| 366 "RECIPE_PACKAGE_REPO[build]/scripts/slave/upload_goma_logs.py", | 366 "RECIPE_PACKAGE_REPO[build]/scripts/slave/upload_goma_logs.py", |
| 367 "--upload-compiler-proxy-info", | 367 "--upload-compiler-proxy-info", |
| 368 "--json-status", | 368 "--json-status", |
| 369 "[CACHE]/cipd/goma/jsonstatus", | 369 "[CACHE]/cipd/goma/jsonstatus", |
| 370 "--ninja-log-outdir", | 370 "--ninja-log-outdir", |
| 371 "[BUILDER_CACHE]/linux_asan/src/out/Release", | 371 "[BUILDER_CACHE]/linux_asan/src/out/Release", |
| 372 "--ninja-log-compiler", | 372 "--ninja-log-compiler", |
| 373 "goma-clang", | 373 "goma-clang", |
| 374 "--ninja-log-command", | 374 "--ninja-log-command", |
| 375 "['RECIPE_PACKAGE_REPO[depot_tools]/ninja', '-w', 'dupbuild=err', '-C', '[
BUILDER_CACHE]/linux_asan/src/out/Release', '-j', 50]", | 375 "['RECIPE_PACKAGE_REPO[depot_tools]/ninja', '-j', 50, '-w', 'dupbuild=err'
, '-C', '[BUILDER_CACHE]/linux_asan/src/out/Release']", |
| 376 "--ninja-log-exit-status", | 376 "--ninja-log-exit-status", |
| 377 "0", | 377 "0", |
| 378 "--buildbot-buildername", | 378 "--buildbot-buildername", |
| 379 "linux_asan", | 379 "linux_asan", |
| 380 "--buildbot-mastername", | 380 "--buildbot-mastername", |
| 381 "tryserver.webrtc", | 381 "tryserver.webrtc", |
| 382 "--buildbot-slavename", | 382 "--buildbot-slavename", |
| 383 "slavename" | 383 "slavename" |
| 384 ], | 384 ], |
| 385 "env": { | 385 "env": { |
| (...skipping 492 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 878 ], | 878 ], |
| 879 "cwd": "[BUILDER_CACHE]/linux_asan", | 879 "cwd": "[BUILDER_CACHE]/linux_asan", |
| 880 "name": "xmllite_xmpp_unittests" | 880 "name": "xmllite_xmpp_unittests" |
| 881 }, | 881 }, |
| 882 { | 882 { |
| 883 "name": "$result", | 883 "name": "$result", |
| 884 "recipe_result": null, | 884 "recipe_result": null, |
| 885 "status_code": 0 | 885 "status_code": 0 |
| 886 } | 886 } |
| 887 ] | 887 ] |
| OLD | NEW |