| 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_MSan", | 7 "[BUILDER_CACHE]/Linux_MSan", |
| 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 }, | 205 }, |
| 206 "name": "clang_revision", | 206 "name": "clang_revision", |
| 207 "~followup_annotations": [ | 207 "~followup_annotations": [ |
| 208 "@@@STEP_LOG_LINE@json.output@{@@@", | 208 "@@@STEP_LOG_LINE@json.output@{@@@", |
| 209 "@@@STEP_LOG_LINE@json.output@ \"clang_revision\": \"123456-7\"@@@", | 209 "@@@STEP_LOG_LINE@json.output@ \"clang_revision\": \"123456-7\"@@@", |
| 210 "@@@STEP_LOG_LINE@json.output@}@@@", | 210 "@@@STEP_LOG_LINE@json.output@}@@@", |
| 211 "@@@STEP_LOG_END@json.output@@@" | 211 "@@@STEP_LOG_END@json.output@@@" |
| 212 ] | 212 ] |
| 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 22 matching lines...) Expand all Loading... |
| 274 "env": { | 247 "env": { |
| 275 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" | 248 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" |
| 276 }, | 249 }, |
| 277 "name": "preprocess_for_goma.start cloudtail", | 250 "name": "preprocess_for_goma.start cloudtail", |
| 278 "~followup_annotations": [ | 251 "~followup_annotations": [ |
| 279 "@@@STEP_NEST_LEVEL@1@@@" | 252 "@@@STEP_NEST_LEVEL@1@@@" |
| 280 ] | 253 ] |
| 281 }, | 254 }, |
| 282 { | 255 { |
| 283 "cmd": [ | 256 "cmd": [ |
| 257 "python", |
| 258 "-u", |
| 259 "\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" |
| 260 ], |
| 261 "name": "calculate the number of recommended jobs", |
| 262 "stdout": "/path/to/tmp/", |
| 263 "~followup_annotations": [ |
| 264 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 265 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@", |
| 266 "@@@STEP_LOG_LINE@python.inline@import sys@@@", |
| 267 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 268 "@@@STEP_LOG_LINE@python.inline@job_limit = 200@@@", |
| 269 "@@@STEP_LOG_LINE@python.inline@if sys.platform.startswith('linux'):@@@", |
| 270 "@@@STEP_LOG_LINE@python.inline@ # Use 80 for linux not to load goma back
end.@@@", |
| 271 "@@@STEP_LOG_LINE@python.inline@ job_limit = 80@@@", |
| 272 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 273 "@@@STEP_LOG_LINE@python.inline@try:@@@", |
| 274 "@@@STEP_LOG_LINE@python.inline@ jobs = min(job_limit, multiprocessing.cp
u_count() * 10)@@@", |
| 275 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@", |
| 276 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@", |
| 277 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 278 "@@@STEP_LOG_LINE@python.inline@print jobs@@@", |
| 279 "@@@STEP_LOG_END@python.inline@@@" |
| 280 ] |
| 281 }, |
| 282 { |
| 283 "cmd": [ |
| 284 "RECIPE_PACKAGE_REPO[depot_tools]/ninja", | 284 "RECIPE_PACKAGE_REPO[depot_tools]/ninja", |
| 285 "-w", | 285 "-w", |
| 286 "dupbuild=err", | 286 "dupbuild=err", |
| 287 "-C", | 287 "-C", |
| 288 "[BUILDER_CACHE]/Linux_MSan/src/out/Release", | 288 "[BUILDER_CACHE]/Linux_MSan/src/out/Release", |
| 289 "-j", | 289 "-j", |
| 290 "50" | 290 "50" |
| 291 ], | 291 ], |
| 292 "env": { | 292 "env": { |
| 293 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" | 293 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" |
| (...skipping 555 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 849 ], | 849 ], |
| 850 "cwd": "[BUILDER_CACHE]/Linux_MSan", | 850 "cwd": "[BUILDER_CACHE]/Linux_MSan", |
| 851 "name": "xmllite_xmpp_unittests" | 851 "name": "xmllite_xmpp_unittests" |
| 852 }, | 852 }, |
| 853 { | 853 { |
| 854 "name": "$result", | 854 "name": "$result", |
| 855 "recipe_result": null, | 855 "recipe_result": null, |
| 856 "status_code": 0 | 856 "status_code": 0 |
| 857 } | 857 } |
| 858 ] | 858 ] |
| OLD | NEW |