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