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