| 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 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 141 "RECIPE_PACKAGE_REPO[depot_tools]/gn.py", | 141 "RECIPE_PACKAGE_REPO[depot_tools]/gn.py", |
| 142 "--root=[SLAVE_BUILD]/src", | 142 "--root=[SLAVE_BUILD]/src", |
| 143 "gen", | 143 "gen", |
| 144 "//out/Debug", | 144 "//out/Debug", |
| 145 "--args=is_debug=true target_cpu=\"x64\" use_goma=true goma_dir=\"[CACHE]/
cipd/goma\"" | 145 "--args=is_debug=true target_cpu=\"x64\" use_goma=true goma_dir=\"[CACHE]/
cipd/goma\"" |
| 146 ], | 146 ], |
| 147 "cwd": "[SLAVE_BUILD]/src", | 147 "cwd": "[SLAVE_BUILD]/src", |
| 148 "name": "gn" | 148 "name": "gn" |
| 149 }, | 149 }, |
| 150 { | 150 { |
| 151 "cmd": [ | |
| 152 "python", | |
| 153 "-u", | |
| 154 "\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" | |
| 155 ], | |
| 156 "name": "calculate the number of recommended jobs", | |
| 157 "stdout": "/path/to/tmp/", | |
| 158 "~followup_annotations": [ | |
| 159 "@@@STEP_LOG_LINE@python.inline@@@@", | |
| 160 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@", | |
| 161 "@@@STEP_LOG_LINE@python.inline@import sys@@@", | |
| 162 "@@@STEP_LOG_LINE@python.inline@@@@", | |
| 163 "@@@STEP_LOG_LINE@python.inline@job_limit = 200@@@", | |
| 164 "@@@STEP_LOG_LINE@python.inline@if sys.platform.startswith('linux'):@@@", | |
| 165 "@@@STEP_LOG_LINE@python.inline@ # Use 80 for linux not to load goma back
end.@@@", | |
| 166 "@@@STEP_LOG_LINE@python.inline@ job_limit = 80@@@", | |
| 167 "@@@STEP_LOG_LINE@python.inline@@@@", | |
| 168 "@@@STEP_LOG_LINE@python.inline@try:@@@", | |
| 169 "@@@STEP_LOG_LINE@python.inline@ jobs = min(job_limit, multiprocessing.cp
u_count() * 10)@@@", | |
| 170 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@", | |
| 171 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@", | |
| 172 "@@@STEP_LOG_LINE@python.inline@@@@", | |
| 173 "@@@STEP_LOG_LINE@python.inline@print jobs@@@", | |
| 174 "@@@STEP_LOG_END@python.inline@@@" | |
| 175 ] | |
| 176 }, | |
| 177 { | |
| 178 "cmd": [], | 151 "cmd": [], |
| 179 "name": "preprocess_for_goma" | 152 "name": "preprocess_for_goma" |
| 180 }, | 153 }, |
| 181 { | 154 { |
| 182 "cmd": [ | 155 "cmd": [ |
| 183 "python", | 156 "python", |
| 184 "-u", | 157 "-u", |
| 185 "[CACHE]/cipd/goma/goma_ctl.py", | 158 "[CACHE]/cipd/goma/goma_ctl.py", |
| 186 "restart" | 159 "restart" |
| 187 ], | 160 ], |
| (...skipping 22 matching lines...) Expand all Loading... |
| 210 "env": { | 183 "env": { |
| 211 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" | 184 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" |
| 212 }, | 185 }, |
| 213 "name": "preprocess_for_goma.start cloudtail", | 186 "name": "preprocess_for_goma.start cloudtail", |
| 214 "~followup_annotations": [ | 187 "~followup_annotations": [ |
| 215 "@@@STEP_NEST_LEVEL@1@@@" | 188 "@@@STEP_NEST_LEVEL@1@@@" |
| 216 ] | 189 ] |
| 217 }, | 190 }, |
| 218 { | 191 { |
| 219 "cmd": [ | 192 "cmd": [ |
| 193 "python", |
| 194 "-u", |
| 195 "\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" |
| 196 ], |
| 197 "name": "calculate the number of recommended jobs", |
| 198 "stdout": "/path/to/tmp/", |
| 199 "~followup_annotations": [ |
| 200 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 201 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@", |
| 202 "@@@STEP_LOG_LINE@python.inline@import sys@@@", |
| 203 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 204 "@@@STEP_LOG_LINE@python.inline@job_limit = 200@@@", |
| 205 "@@@STEP_LOG_LINE@python.inline@if sys.platform.startswith('linux'):@@@", |
| 206 "@@@STEP_LOG_LINE@python.inline@ # Use 80 for linux not to load goma back
end.@@@", |
| 207 "@@@STEP_LOG_LINE@python.inline@ job_limit = 80@@@", |
| 208 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 209 "@@@STEP_LOG_LINE@python.inline@try:@@@", |
| 210 "@@@STEP_LOG_LINE@python.inline@ jobs = min(job_limit, multiprocessing.cp
u_count() * 10)@@@", |
| 211 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@", |
| 212 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@", |
| 213 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 214 "@@@STEP_LOG_LINE@python.inline@print jobs@@@", |
| 215 "@@@STEP_LOG_END@python.inline@@@" |
| 216 ] |
| 217 }, |
| 218 { |
| 219 "cmd": [ |
| 220 "RECIPE_PACKAGE_REPO[depot_tools]/ninja", | 220 "RECIPE_PACKAGE_REPO[depot_tools]/ninja", |
| 221 "-j", |
| 222 "50", |
| 221 "-w", | 223 "-w", |
| 222 "dupbuild=err", | 224 "dupbuild=err", |
| 223 "-C", | 225 "-C", |
| 224 "[SLAVE_BUILD]/src/out/Debug", | 226 "[SLAVE_BUILD]/src/out/Debug" |
| 225 "-j", | |
| 226 "50" | |
| 227 ], | 227 ], |
| 228 "env": { | 228 "env": { |
| 229 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" | 229 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" |
| 230 }, | 230 }, |
| 231 "name": "compile with ninja" | 231 "name": "compile with ninja" |
| 232 }, | 232 }, |
| 233 { | 233 { |
| 234 "cmd": [], | 234 "cmd": [], |
| 235 "name": "postprocess_for_goma" | 235 "name": "postprocess_for_goma" |
| 236 }, | 236 }, |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 286 "-u", | 286 "-u", |
| 287 "RECIPE_PACKAGE_REPO[build]/scripts/slave/upload_goma_logs.py", | 287 "RECIPE_PACKAGE_REPO[build]/scripts/slave/upload_goma_logs.py", |
| 288 "--upload-compiler-proxy-info", | 288 "--upload-compiler-proxy-info", |
| 289 "--json-status", | 289 "--json-status", |
| 290 "[CACHE]/cipd/goma/jsonstatus", | 290 "[CACHE]/cipd/goma/jsonstatus", |
| 291 "--ninja-log-outdir", | 291 "--ninja-log-outdir", |
| 292 "[SLAVE_BUILD]/src/out/Debug", | 292 "[SLAVE_BUILD]/src/out/Debug", |
| 293 "--ninja-log-compiler", | 293 "--ninja-log-compiler", |
| 294 "goma", | 294 "goma", |
| 295 "--ninja-log-command", | 295 "--ninja-log-command", |
| 296 "['RECIPE_PACKAGE_REPO[depot_tools]/ninja', '-w', 'dupbuild=err', '-C', '[
SLAVE_BUILD]/src/out/Debug', '-j', 50]", | 296 "['RECIPE_PACKAGE_REPO[depot_tools]/ninja', '-j', 50, '-w', 'dupbuild=err'
, '-C', '[SLAVE_BUILD]/src/out/Debug']", |
| 297 "--ninja-log-exit-status", | 297 "--ninja-log-exit-status", |
| 298 "0", | 298 "0", |
| 299 "--buildbot-buildername", | 299 "--buildbot-buildername", |
| 300 "Linux64 Debug", | 300 "Linux64 Debug", |
| 301 "--buildbot-mastername", | 301 "--buildbot-mastername", |
| 302 "client.libyuv", | 302 "client.libyuv", |
| 303 "--buildbot-slavename", | 303 "--buildbot-slavename", |
| 304 "slavename" | 304 "slavename" |
| 305 ], | 305 ], |
| 306 "env": { | 306 "env": { |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 344 "libyuv_unittest" | 344 "libyuv_unittest" |
| 345 ], | 345 ], |
| 346 "name": "libyuv_unittest" | 346 "name": "libyuv_unittest" |
| 347 }, | 347 }, |
| 348 { | 348 { |
| 349 "name": "$result", | 349 "name": "$result", |
| 350 "recipe_result": null, | 350 "recipe_result": null, |
| 351 "status_code": 0 | 351 "status_code": 0 |
| 352 } | 352 } |
| 353 ] | 353 ] |
| OLD | NEW |