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