| 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 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 142 "RECIPE_PACKAGE_REPO[depot_tools]/gn.py", | 142 "RECIPE_PACKAGE_REPO[depot_tools]/gn.py", |
| 143 "--root=[SLAVE_BUILD]/src", | 143 "--root=[SLAVE_BUILD]/src", |
| 144 "gen", | 144 "gen", |
| 145 "//out/Debug", | 145 "//out/Debug", |
| 146 "--args=android_full_debug=true is_component_build=false is_debug=true tar
get_os=\"android\" target_cpu=\"x86\" use_goma=true goma_dir=\"[CACHE]/cipd/goma
\"" | 146 "--args=android_full_debug=true is_component_build=false is_debug=true tar
get_os=\"android\" target_cpu=\"x86\" use_goma=true goma_dir=\"[CACHE]/cipd/goma
\"" |
| 147 ], | 147 ], |
| 148 "cwd": "[SLAVE_BUILD]/src", | 148 "cwd": "[SLAVE_BUILD]/src", |
| 149 "name": "gn" | 149 "name": "gn" |
| 150 }, | 150 }, |
| 151 { | 151 { |
| 152 "cmd": [ | |
| 153 "python", | |
| 154 "-u", | |
| 155 "\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" | |
| 156 ], | |
| 157 "name": "calculate the number of recommended jobs", | |
| 158 "stdout": "/path/to/tmp/", | |
| 159 "~followup_annotations": [ | |
| 160 "@@@STEP_LOG_LINE@python.inline@@@@", | |
| 161 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@", | |
| 162 "@@@STEP_LOG_LINE@python.inline@import sys@@@", | |
| 163 "@@@STEP_LOG_LINE@python.inline@@@@", | |
| 164 "@@@STEP_LOG_LINE@python.inline@job_limit = 200@@@", | |
| 165 "@@@STEP_LOG_LINE@python.inline@if sys.platform.startswith('linux'):@@@", | |
| 166 "@@@STEP_LOG_LINE@python.inline@ # Use 80 for linux not to load goma back
end.@@@", | |
| 167 "@@@STEP_LOG_LINE@python.inline@ job_limit = 80@@@", | |
| 168 "@@@STEP_LOG_LINE@python.inline@@@@", | |
| 169 "@@@STEP_LOG_LINE@python.inline@try:@@@", | |
| 170 "@@@STEP_LOG_LINE@python.inline@ jobs = min(job_limit, multiprocessing.cp
u_count() * 10)@@@", | |
| 171 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@", | |
| 172 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@", | |
| 173 "@@@STEP_LOG_LINE@python.inline@@@@", | |
| 174 "@@@STEP_LOG_LINE@python.inline@print jobs@@@", | |
| 175 "@@@STEP_LOG_END@python.inline@@@" | |
| 176 ] | |
| 177 }, | |
| 178 { | |
| 179 "cmd": [], | 152 "cmd": [], |
| 180 "name": "preprocess_for_goma" | 153 "name": "preprocess_for_goma" |
| 181 }, | 154 }, |
| 182 { | 155 { |
| 183 "cmd": [ | 156 "cmd": [ |
| 184 "python", | 157 "python", |
| 185 "-u", | 158 "-u", |
| 186 "[CACHE]/cipd/goma/goma_ctl.py", | 159 "[CACHE]/cipd/goma/goma_ctl.py", |
| 187 "restart" | 160 "restart" |
| 188 ], | 161 ], |
| (...skipping 23 matching lines...) Expand all Loading... |
| 212 "env": { | 185 "env": { |
| 213 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" | 186 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" |
| 214 }, | 187 }, |
| 215 "name": "preprocess_for_goma.start cloudtail", | 188 "name": "preprocess_for_goma.start cloudtail", |
| 216 "~followup_annotations": [ | 189 "~followup_annotations": [ |
| 217 "@@@STEP_NEST_LEVEL@1@@@" | 190 "@@@STEP_NEST_LEVEL@1@@@" |
| 218 ] | 191 ] |
| 219 }, | 192 }, |
| 220 { | 193 { |
| 221 "cmd": [ | 194 "cmd": [ |
| 195 "python", |
| 196 "-u", |
| 197 "\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" |
| 198 ], |
| 199 "name": "calculate the number of recommended jobs", |
| 200 "stdout": "/path/to/tmp/", |
| 201 "~followup_annotations": [ |
| 202 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 203 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@", |
| 204 "@@@STEP_LOG_LINE@python.inline@import sys@@@", |
| 205 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 206 "@@@STEP_LOG_LINE@python.inline@job_limit = 200@@@", |
| 207 "@@@STEP_LOG_LINE@python.inline@if sys.platform.startswith('linux'):@@@", |
| 208 "@@@STEP_LOG_LINE@python.inline@ # Use 80 for linux not to load goma back
end.@@@", |
| 209 "@@@STEP_LOG_LINE@python.inline@ job_limit = 80@@@", |
| 210 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 211 "@@@STEP_LOG_LINE@python.inline@try:@@@", |
| 212 "@@@STEP_LOG_LINE@python.inline@ jobs = min(job_limit, multiprocessing.cp
u_count() * 10)@@@", |
| 213 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@", |
| 214 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@", |
| 215 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 216 "@@@STEP_LOG_LINE@python.inline@print jobs@@@", |
| 217 "@@@STEP_LOG_END@python.inline@@@" |
| 218 ] |
| 219 }, |
| 220 { |
| 221 "cmd": [ |
| 222 "RECIPE_PACKAGE_REPO[depot_tools]/ninja", | 222 "RECIPE_PACKAGE_REPO[depot_tools]/ninja", |
| 223 "-w", | 223 "-w", |
| 224 "dupbuild=err", | 224 "dupbuild=err", |
| 225 "-C", | 225 "-C", |
| 226 "[SLAVE_BUILD]/src/out/Debug", | 226 "[SLAVE_BUILD]/src/out/Debug", |
| 227 "-j", | 227 "-j", |
| 228 "50" | 228 "50" |
| 229 ], | 229 ], |
| 230 "env": { | 230 "env": { |
| 231 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 231 "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... |
| 327 "~followup_annotations": [ | 327 "~followup_annotations": [ |
| 328 "@@@STEP_NEST_LEVEL@1@@@" | 328 "@@@STEP_NEST_LEVEL@1@@@" |
| 329 ] | 329 ] |
| 330 }, | 330 }, |
| 331 { | 331 { |
| 332 "name": "$result", | 332 "name": "$result", |
| 333 "recipe_result": null, | 333 "recipe_result": null, |
| 334 "status_code": 0 | 334 "status_code": 0 |
| 335 } | 335 } |
| 336 ] | 336 ] |
| OLD | NEW |