| OLD | NEW |
| 1 [ | 1 [ |
| 2 { | 2 { |
| 3 "cmd": [ | 3 "cmd": [ |
| 4 "python", | 4 "python", |
| 5 "-u", | 5 "-u", |
| 6 "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py", | 6 "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py", |
| 7 "--show-path", | 7 "--show-path", |
| 8 "python", | 8 "python", |
| 9 "RECIPE_PACKAGE_REPO[build]/scripts/slave/cleanup_temp.py" | 9 "RECIPE_PACKAGE_REPO[build]/scripts/slave/cleanup_temp.py" |
| 10 ], | 10 ], |
| (...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 165 }, | 165 }, |
| 166 "name": "clang_revision", | 166 "name": "clang_revision", |
| 167 "~followup_annotations": [ | 167 "~followup_annotations": [ |
| 168 "@@@STEP_LOG_LINE@json.output@{@@@", | 168 "@@@STEP_LOG_LINE@json.output@{@@@", |
| 169 "@@@STEP_LOG_LINE@json.output@ \"clang_revision\": \"123456-7\"@@@", | 169 "@@@STEP_LOG_LINE@json.output@ \"clang_revision\": \"123456-7\"@@@", |
| 170 "@@@STEP_LOG_LINE@json.output@}@@@", | 170 "@@@STEP_LOG_LINE@json.output@}@@@", |
| 171 "@@@STEP_LOG_END@json.output@@@" | 171 "@@@STEP_LOG_END@json.output@@@" |
| 172 ] | 172 ] |
| 173 }, | 173 }, |
| 174 { | 174 { |
| 175 "cmd": [ | |
| 176 "python", | |
| 177 "-u", | |
| 178 "\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" | |
| 179 ], | |
| 180 "name": "calculate the number of recommended jobs", | |
| 181 "stdout": "/path/to/tmp/", | |
| 182 "~followup_annotations": [ | |
| 183 "@@@STEP_LOG_LINE@python.inline@@@@", | |
| 184 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@", | |
| 185 "@@@STEP_LOG_LINE@python.inline@import sys@@@", | |
| 186 "@@@STEP_LOG_LINE@python.inline@@@@", | |
| 187 "@@@STEP_LOG_LINE@python.inline@job_limit = 200@@@", | |
| 188 "@@@STEP_LOG_LINE@python.inline@if sys.platform.startswith('linux'):@@@", | |
| 189 "@@@STEP_LOG_LINE@python.inline@ # Use 80 for linux not to load goma back
end.@@@", | |
| 190 "@@@STEP_LOG_LINE@python.inline@ job_limit = 80@@@", | |
| 191 "@@@STEP_LOG_LINE@python.inline@@@@", | |
| 192 "@@@STEP_LOG_LINE@python.inline@try:@@@", | |
| 193 "@@@STEP_LOG_LINE@python.inline@ jobs = min(job_limit, multiprocessing.cp
u_count() * 10)@@@", | |
| 194 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@", | |
| 195 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@", | |
| 196 "@@@STEP_LOG_LINE@python.inline@@@@", | |
| 197 "@@@STEP_LOG_LINE@python.inline@print jobs@@@", | |
| 198 "@@@STEP_LOG_END@python.inline@@@" | |
| 199 ] | |
| 200 }, | |
| 201 { | |
| 202 "cmd": [], | 175 "cmd": [], |
| 203 "name": "preprocess_for_goma" | 176 "name": "preprocess_for_goma" |
| 204 }, | 177 }, |
| 205 { | 178 { |
| 206 "cmd": [ | 179 "cmd": [ |
| 207 "python", | 180 "python", |
| 208 "-u", | 181 "-u", |
| 209 "[CACHE]/cipd/goma/goma_ctl.py", | 182 "[CACHE]/cipd/goma/goma_ctl.py", |
| 210 "restart" | 183 "restart" |
| 211 ], | 184 ], |
| (...skipping 23 matching lines...) Expand all Loading... |
| 235 "env": { | 208 "env": { |
| 236 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" | 209 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" |
| 237 }, | 210 }, |
| 238 "name": "preprocess_for_goma.start cloudtail", | 211 "name": "preprocess_for_goma.start cloudtail", |
| 239 "~followup_annotations": [ | 212 "~followup_annotations": [ |
| 240 "@@@STEP_NEST_LEVEL@1@@@" | 213 "@@@STEP_NEST_LEVEL@1@@@" |
| 241 ] | 214 ] |
| 242 }, | 215 }, |
| 243 { | 216 { |
| 244 "cmd": [ | 217 "cmd": [ |
| 218 "python", |
| 219 "-u", |
| 220 "\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" |
| 221 ], |
| 222 "name": "calculate the number of recommended jobs", |
| 223 "stdout": "/path/to/tmp/", |
| 224 "~followup_annotations": [ |
| 225 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 226 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@", |
| 227 "@@@STEP_LOG_LINE@python.inline@import sys@@@", |
| 228 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 229 "@@@STEP_LOG_LINE@python.inline@job_limit = 200@@@", |
| 230 "@@@STEP_LOG_LINE@python.inline@if sys.platform.startswith('linux'):@@@", |
| 231 "@@@STEP_LOG_LINE@python.inline@ # Use 80 for linux not to load goma back
end.@@@", |
| 232 "@@@STEP_LOG_LINE@python.inline@ job_limit = 80@@@", |
| 233 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 234 "@@@STEP_LOG_LINE@python.inline@try:@@@", |
| 235 "@@@STEP_LOG_LINE@python.inline@ jobs = min(job_limit, multiprocessing.cp
u_count() * 10)@@@", |
| 236 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@", |
| 237 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@", |
| 238 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 239 "@@@STEP_LOG_LINE@python.inline@print jobs@@@", |
| 240 "@@@STEP_LOG_END@python.inline@@@" |
| 241 ] |
| 242 }, |
| 243 { |
| 244 "cmd": [ |
| 245 "RECIPE_PACKAGE_REPO[depot_tools]/ninja", | 245 "RECIPE_PACKAGE_REPO[depot_tools]/ninja", |
| 246 "-w", | 246 "-w", |
| 247 "dupbuild=err", | 247 "dupbuild=err", |
| 248 "-C", | 248 "-C", |
| 249 "[SLAVE_BUILD]/src/out/Debug", | 249 "[SLAVE_BUILD]/src/out/Debug", |
| 250 "-j", | 250 "-j", |
| 251 "50" | 251 "50" |
| 252 ], | 252 ], |
| 253 "env": { | 253 "env": { |
| 254 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 254 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
| (...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 350 "~followup_annotations": [ | 350 "~followup_annotations": [ |
| 351 "@@@STEP_NEST_LEVEL@1@@@" | 351 "@@@STEP_NEST_LEVEL@1@@@" |
| 352 ] | 352 ] |
| 353 }, | 353 }, |
| 354 { | 354 { |
| 355 "name": "$result", | 355 "name": "$result", |
| 356 "recipe_result": null, | 356 "recipe_result": null, |
| 357 "status_code": 0 | 357 "status_code": 0 |
| 358 } | 358 } |
| 359 ] | 359 ] |
| OLD | NEW |