| 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", | 7 "[BUILDER_CACHE]/Android32_Builder", |
| 8 "511" | 8 "511" |
| 9 ], | 9 ], |
| 10 "name": "makedirs checkout path", | 10 "name": "makedirs checkout path", |
| (...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 205 "--gyp-script=[BUILDER_CACHE]/Android32_Builder/src/webrtc/build/gyp_webrt
c.py", | 205 "--gyp-script=[BUILDER_CACHE]/Android32_Builder/src/webrtc/build/gyp_webrt
c.py", |
| 206 "//out/Release" | 206 "//out/Release" |
| 207 ], | 207 ], |
| 208 "cwd": "[BUILDER_CACHE]/Android32_Builder/src", | 208 "cwd": "[BUILDER_CACHE]/Android32_Builder/src", |
| 209 "env": { | 209 "env": { |
| 210 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" | 210 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" |
| 211 }, | 211 }, |
| 212 "name": "generate_build_files" | 212 "name": "generate_build_files" |
| 213 }, | 213 }, |
| 214 { | 214 { |
| 215 "cmd": [ | |
| 216 "python", | |
| 217 "-u", | |
| 218 "\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" | |
| 219 ], | |
| 220 "name": "calculate the number of recommended jobs", | |
| 221 "stdout": "/path/to/tmp/", | |
| 222 "~followup_annotations": [ | |
| 223 "@@@STEP_LOG_LINE@python.inline@@@@", | |
| 224 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@", | |
| 225 "@@@STEP_LOG_LINE@python.inline@import sys@@@", | |
| 226 "@@@STEP_LOG_LINE@python.inline@@@@", | |
| 227 "@@@STEP_LOG_LINE@python.inline@job_limit = 200@@@", | |
| 228 "@@@STEP_LOG_LINE@python.inline@if sys.platform.startswith('linux'):@@@", | |
| 229 "@@@STEP_LOG_LINE@python.inline@ # Use 80 for linux not to load goma back
end.@@@", | |
| 230 "@@@STEP_LOG_LINE@python.inline@ job_limit = 80@@@", | |
| 231 "@@@STEP_LOG_LINE@python.inline@@@@", | |
| 232 "@@@STEP_LOG_LINE@python.inline@try:@@@", | |
| 233 "@@@STEP_LOG_LINE@python.inline@ jobs = min(job_limit, multiprocessing.cp
u_count() * 10)@@@", | |
| 234 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@", | |
| 235 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@", | |
| 236 "@@@STEP_LOG_LINE@python.inline@@@@", | |
| 237 "@@@STEP_LOG_LINE@python.inline@print jobs@@@", | |
| 238 "@@@STEP_LOG_END@python.inline@@@" | |
| 239 ] | |
| 240 }, | |
| 241 { | |
| 242 "cmd": [], | 215 "cmd": [], |
| 243 "name": "preprocess_for_goma" | 216 "name": "preprocess_for_goma" |
| 244 }, | 217 }, |
| 245 { | 218 { |
| 246 "cmd": [ | 219 "cmd": [ |
| 247 "python", | 220 "python", |
| 248 "-u", | 221 "-u", |
| 249 "[CACHE]/cipd/goma/goma_ctl.py", | 222 "[CACHE]/cipd/goma/goma_ctl.py", |
| 250 "restart" | 223 "restart" |
| 251 ], | 224 ], |
| (...skipping 23 matching lines...) Expand all Loading... |
| 275 "env": { | 248 "env": { |
| 276 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" | 249 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" |
| 277 }, | 250 }, |
| 278 "name": "preprocess_for_goma.start cloudtail", | 251 "name": "preprocess_for_goma.start cloudtail", |
| 279 "~followup_annotations": [ | 252 "~followup_annotations": [ |
| 280 "@@@STEP_NEST_LEVEL@1@@@" | 253 "@@@STEP_NEST_LEVEL@1@@@" |
| 281 ] | 254 ] |
| 282 }, | 255 }, |
| 283 { | 256 { |
| 284 "cmd": [ | 257 "cmd": [ |
| 258 "python", |
| 259 "-u", |
| 260 "\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" |
| 261 ], |
| 262 "name": "calculate the number of recommended jobs", |
| 263 "stdout": "/path/to/tmp/", |
| 264 "~followup_annotations": [ |
| 265 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 266 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@", |
| 267 "@@@STEP_LOG_LINE@python.inline@import sys@@@", |
| 268 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 269 "@@@STEP_LOG_LINE@python.inline@job_limit = 200@@@", |
| 270 "@@@STEP_LOG_LINE@python.inline@if sys.platform.startswith('linux'):@@@", |
| 271 "@@@STEP_LOG_LINE@python.inline@ # Use 80 for linux not to load goma back
end.@@@", |
| 272 "@@@STEP_LOG_LINE@python.inline@ job_limit = 80@@@", |
| 273 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 274 "@@@STEP_LOG_LINE@python.inline@try:@@@", |
| 275 "@@@STEP_LOG_LINE@python.inline@ jobs = min(job_limit, multiprocessing.cp
u_count() * 10)@@@", |
| 276 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@", |
| 277 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@", |
| 278 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 279 "@@@STEP_LOG_LINE@python.inline@print jobs@@@", |
| 280 "@@@STEP_LOG_END@python.inline@@@" |
| 281 ] |
| 282 }, |
| 283 { |
| 284 "cmd": [ |
| 285 "RECIPE_PACKAGE_REPO[depot_tools]/ninja", | 285 "RECIPE_PACKAGE_REPO[depot_tools]/ninja", |
| 286 "-w", | 286 "-w", |
| 287 "dupbuild=err", | 287 "dupbuild=err", |
| 288 "-C", | 288 "-C", |
| 289 "[BUILDER_CACHE]/Android32_Builder/src/out/Release", | 289 "[BUILDER_CACHE]/Android32_Builder/src/out/Release", |
| 290 "-j", | 290 "-j", |
| 291 "50" | 291 "50" |
| 292 ], | 292 ], |
| 293 "env": { | 293 "env": { |
| 294 "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", |
| (...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 451 "~followup_annotations": [ | 451 "~followup_annotations": [ |
| 452 "@@@STEP_TEXT@Android32 Tests (J Nexus4)<br />Android32 Tests (K Nexus5)<b
r />Android32 Tests (L Nexus6)@@@" | 452 "@@@STEP_TEXT@Android32 Tests (J Nexus4)<br />Android32 Tests (K Nexus5)<b
r />Android32 Tests (L Nexus6)@@@" |
| 453 ] | 453 ] |
| 454 }, | 454 }, |
| 455 { | 455 { |
| 456 "name": "$result", | 456 "name": "$result", |
| 457 "recipe_result": null, | 457 "recipe_result": null, |
| 458 "status_code": 0 | 458 "status_code": 0 |
| 459 } | 459 } |
| 460 ] | 460 ] |
| OLD | NEW |