| 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_Builder_x86", | 7 "[BUILDER_CACHE]/Android32_Builder_x86", |
| 8 "511" | 8 "511" |
| 9 ], | 9 ], |
| 10 "name": "makedirs checkout path", | 10 "name": "makedirs checkout path", |
| (...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 196 "--gyp-script=[BUILDER_CACHE]/Android32_Builder_x86/src/webrtc/build/gyp_w
ebrtc.py", | 196 "--gyp-script=[BUILDER_CACHE]/Android32_Builder_x86/src/webrtc/build/gyp_w
ebrtc.py", |
| 197 "//out/Release" | 197 "//out/Release" |
| 198 ], | 198 ], |
| 199 "cwd": "[BUILDER_CACHE]/Android32_Builder_x86/src", | 199 "cwd": "[BUILDER_CACHE]/Android32_Builder_x86/src", |
| 200 "env": { | 200 "env": { |
| 201 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" | 201 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" |
| 202 }, | 202 }, |
| 203 "name": "generate_build_files" | 203 "name": "generate_build_files" |
| 204 }, | 204 }, |
| 205 { | 205 { |
| 206 "cmd": [ | |
| 207 "python", | |
| 208 "-u", | |
| 209 "\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" | |
| 210 ], | |
| 211 "name": "calculate the number of recommended jobs", | |
| 212 "stdout": "/path/to/tmp/", | |
| 213 "~followup_annotations": [ | |
| 214 "@@@STEP_LOG_LINE@python.inline@@@@", | |
| 215 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@", | |
| 216 "@@@STEP_LOG_LINE@python.inline@import sys@@@", | |
| 217 "@@@STEP_LOG_LINE@python.inline@@@@", | |
| 218 "@@@STEP_LOG_LINE@python.inline@job_limit = 200@@@", | |
| 219 "@@@STEP_LOG_LINE@python.inline@if sys.platform.startswith('linux'):@@@", | |
| 220 "@@@STEP_LOG_LINE@python.inline@ # Use 80 for linux not to load goma back
end.@@@", | |
| 221 "@@@STEP_LOG_LINE@python.inline@ job_limit = 80@@@", | |
| 222 "@@@STEP_LOG_LINE@python.inline@@@@", | |
| 223 "@@@STEP_LOG_LINE@python.inline@try:@@@", | |
| 224 "@@@STEP_LOG_LINE@python.inline@ jobs = min(job_limit, multiprocessing.cp
u_count() * 10)@@@", | |
| 225 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@", | |
| 226 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@", | |
| 227 "@@@STEP_LOG_LINE@python.inline@@@@", | |
| 228 "@@@STEP_LOG_LINE@python.inline@print jobs@@@", | |
| 229 "@@@STEP_LOG_END@python.inline@@@" | |
| 230 ] | |
| 231 }, | |
| 232 { | |
| 233 "cmd": [], | 206 "cmd": [], |
| 234 "name": "preprocess_for_goma" | 207 "name": "preprocess_for_goma" |
| 235 }, | 208 }, |
| 236 { | 209 { |
| 237 "cmd": [ | 210 "cmd": [ |
| 238 "python", | 211 "python", |
| 239 "-u", | 212 "-u", |
| 240 "[CACHE]/cipd/goma/goma_ctl.py", | 213 "[CACHE]/cipd/goma/goma_ctl.py", |
| 241 "restart" | 214 "restart" |
| 242 ], | 215 ], |
| (...skipping 23 matching lines...) Expand all Loading... |
| 266 "env": { | 239 "env": { |
| 267 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" | 240 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" |
| 268 }, | 241 }, |
| 269 "name": "preprocess_for_goma.start cloudtail", | 242 "name": "preprocess_for_goma.start cloudtail", |
| 270 "~followup_annotations": [ | 243 "~followup_annotations": [ |
| 271 "@@@STEP_NEST_LEVEL@1@@@" | 244 "@@@STEP_NEST_LEVEL@1@@@" |
| 272 ] | 245 ] |
| 273 }, | 246 }, |
| 274 { | 247 { |
| 275 "cmd": [ | 248 "cmd": [ |
| 249 "python", |
| 250 "-u", |
| 251 "\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" |
| 252 ], |
| 253 "name": "calculate the number of recommended jobs", |
| 254 "stdout": "/path/to/tmp/", |
| 255 "~followup_annotations": [ |
| 256 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 257 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@", |
| 258 "@@@STEP_LOG_LINE@python.inline@import sys@@@", |
| 259 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 260 "@@@STEP_LOG_LINE@python.inline@job_limit = 200@@@", |
| 261 "@@@STEP_LOG_LINE@python.inline@if sys.platform.startswith('linux'):@@@", |
| 262 "@@@STEP_LOG_LINE@python.inline@ # Use 80 for linux not to load goma back
end.@@@", |
| 263 "@@@STEP_LOG_LINE@python.inline@ job_limit = 80@@@", |
| 264 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 265 "@@@STEP_LOG_LINE@python.inline@try:@@@", |
| 266 "@@@STEP_LOG_LINE@python.inline@ jobs = min(job_limit, multiprocessing.cp
u_count() * 10)@@@", |
| 267 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@", |
| 268 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@", |
| 269 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 270 "@@@STEP_LOG_LINE@python.inline@print jobs@@@", |
| 271 "@@@STEP_LOG_END@python.inline@@@" |
| 272 ] |
| 273 }, |
| 274 { |
| 275 "cmd": [ |
| 276 "RECIPE_PACKAGE_REPO[depot_tools]/ninja", | 276 "RECIPE_PACKAGE_REPO[depot_tools]/ninja", |
| 277 "-w", | 277 "-w", |
| 278 "dupbuild=err", | 278 "dupbuild=err", |
| 279 "-C", | 279 "-C", |
| 280 "[BUILDER_CACHE]/Android32_Builder_x86/src/out/Release", | 280 "[BUILDER_CACHE]/Android32_Builder_x86/src/out/Release", |
| 281 "-j", | 281 "-j", |
| 282 "50" | 282 "50" |
| 283 ], | 283 ], |
| 284 "env": { | 284 "env": { |
| 285 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 285 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
| (...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after 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 |