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