| 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 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 148 "RECIPE_PACKAGE_REPO[depot_tools]/gn.py", | 148 "RECIPE_PACKAGE_REPO[depot_tools]/gn.py", |
| 149 "--root=[SLAVE_BUILD]/src", | 149 "--root=[SLAVE_BUILD]/src", |
| 150 "gen", | 150 "gen", |
| 151 "//out/Debug", | 151 "//out/Debug", |
| 152 "--args=is_component_build=false symbol_level=2 dcheck_always_on=true is_d
ebug=true target_os=\"android\" target_cpu=\"arm64\" use_goma=true goma_dir=\"[C
ACHE]/cipd/goma\"" | 152 "--args=is_component_build=false symbol_level=2 dcheck_always_on=true is_d
ebug=true target_os=\"android\" target_cpu=\"arm64\" use_goma=true goma_dir=\"[C
ACHE]/cipd/goma\"" |
| 153 ], | 153 ], |
| 154 "cwd": "[SLAVE_BUILD]/src", | 154 "cwd": "[SLAVE_BUILD]/src", |
| 155 "name": "gn" | 155 "name": "gn" |
| 156 }, | 156 }, |
| 157 { | 157 { |
| 158 "cmd": [ | |
| 159 "python", | |
| 160 "-u", | |
| 161 "\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" | |
| 162 ], | |
| 163 "name": "calculate the number of recommended jobs", | |
| 164 "stdout": "/path/to/tmp/", | |
| 165 "~followup_annotations": [ | |
| 166 "@@@STEP_LOG_LINE@python.inline@@@@", | |
| 167 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@", | |
| 168 "@@@STEP_LOG_LINE@python.inline@import sys@@@", | |
| 169 "@@@STEP_LOG_LINE@python.inline@@@@", | |
| 170 "@@@STEP_LOG_LINE@python.inline@job_limit = 200@@@", | |
| 171 "@@@STEP_LOG_LINE@python.inline@if sys.platform.startswith('linux'):@@@", | |
| 172 "@@@STEP_LOG_LINE@python.inline@ # Use 80 for linux not to load goma back
end.@@@", | |
| 173 "@@@STEP_LOG_LINE@python.inline@ job_limit = 80@@@", | |
| 174 "@@@STEP_LOG_LINE@python.inline@@@@", | |
| 175 "@@@STEP_LOG_LINE@python.inline@try:@@@", | |
| 176 "@@@STEP_LOG_LINE@python.inline@ jobs = min(job_limit, multiprocessing.cp
u_count() * 10)@@@", | |
| 177 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@", | |
| 178 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@", | |
| 179 "@@@STEP_LOG_LINE@python.inline@@@@", | |
| 180 "@@@STEP_LOG_LINE@python.inline@print jobs@@@", | |
| 181 "@@@STEP_LOG_END@python.inline@@@" | |
| 182 ] | |
| 183 }, | |
| 184 { | |
| 185 "cmd": [], | 158 "cmd": [], |
| 186 "name": "preprocess_for_goma" | 159 "name": "preprocess_for_goma" |
| 187 }, | 160 }, |
| 188 { | 161 { |
| 189 "cmd": [ | 162 "cmd": [ |
| 190 "python", | 163 "python", |
| 191 "-u", | 164 "-u", |
| 192 "[CACHE]/cipd/goma/goma_ctl.py", | 165 "[CACHE]/cipd/goma/goma_ctl.py", |
| 193 "restart" | 166 "restart" |
| 194 ], | 167 ], |
| (...skipping 23 matching lines...) Expand all Loading... |
| 218 "env": { | 191 "env": { |
| 219 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" | 192 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" |
| 220 }, | 193 }, |
| 221 "name": "preprocess_for_goma.start cloudtail", | 194 "name": "preprocess_for_goma.start cloudtail", |
| 222 "~followup_annotations": [ | 195 "~followup_annotations": [ |
| 223 "@@@STEP_NEST_LEVEL@1@@@" | 196 "@@@STEP_NEST_LEVEL@1@@@" |
| 224 ] | 197 ] |
| 225 }, | 198 }, |
| 226 { | 199 { |
| 227 "cmd": [ | 200 "cmd": [ |
| 201 "python", |
| 202 "-u", |
| 203 "\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" |
| 204 ], |
| 205 "name": "calculate the number of recommended jobs", |
| 206 "stdout": "/path/to/tmp/", |
| 207 "~followup_annotations": [ |
| 208 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 209 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@", |
| 210 "@@@STEP_LOG_LINE@python.inline@import sys@@@", |
| 211 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 212 "@@@STEP_LOG_LINE@python.inline@job_limit = 200@@@", |
| 213 "@@@STEP_LOG_LINE@python.inline@if sys.platform.startswith('linux'):@@@", |
| 214 "@@@STEP_LOG_LINE@python.inline@ # Use 80 for linux not to load goma back
end.@@@", |
| 215 "@@@STEP_LOG_LINE@python.inline@ job_limit = 80@@@", |
| 216 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 217 "@@@STEP_LOG_LINE@python.inline@try:@@@", |
| 218 "@@@STEP_LOG_LINE@python.inline@ jobs = min(job_limit, multiprocessing.cp
u_count() * 10)@@@", |
| 219 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@", |
| 220 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@", |
| 221 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 222 "@@@STEP_LOG_LINE@python.inline@print jobs@@@", |
| 223 "@@@STEP_LOG_END@python.inline@@@" |
| 224 ] |
| 225 }, |
| 226 { |
| 227 "cmd": [ |
| 228 "RECIPE_PACKAGE_REPO[depot_tools]/ninja", | 228 "RECIPE_PACKAGE_REPO[depot_tools]/ninja", |
| 229 "-j", |
| 230 "50", |
| 229 "-w", | 231 "-w", |
| 230 "dupbuild=err", | 232 "dupbuild=err", |
| 231 "-C", | 233 "-C", |
| 232 "[SLAVE_BUILD]/src/out/Debug", | 234 "[SLAVE_BUILD]/src/out/Debug" |
| 233 "-j", | |
| 234 "50" | |
| 235 ], | 235 ], |
| 236 "env": { | 236 "env": { |
| 237 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 237 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
| 238 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 238 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
| 239 }, | 239 }, |
| 240 "name": "compile with ninja" | 240 "name": "compile with ninja" |
| 241 }, | 241 }, |
| 242 { | 242 { |
| 243 "cmd": [], | 243 "cmd": [], |
| 244 "name": "postprocess_for_goma" | 244 "name": "postprocess_for_goma" |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 295 "-u", | 295 "-u", |
| 296 "RECIPE_PACKAGE_REPO[build]/scripts/slave/upload_goma_logs.py", | 296 "RECIPE_PACKAGE_REPO[build]/scripts/slave/upload_goma_logs.py", |
| 297 "--upload-compiler-proxy-info", | 297 "--upload-compiler-proxy-info", |
| 298 "--json-status", | 298 "--json-status", |
| 299 "[CACHE]/cipd/goma/jsonstatus", | 299 "[CACHE]/cipd/goma/jsonstatus", |
| 300 "--ninja-log-outdir", | 300 "--ninja-log-outdir", |
| 301 "[SLAVE_BUILD]/src/out/Debug", | 301 "[SLAVE_BUILD]/src/out/Debug", |
| 302 "--ninja-log-compiler", | 302 "--ninja-log-compiler", |
| 303 "goma", | 303 "goma", |
| 304 "--ninja-log-command", | 304 "--ninja-log-command", |
| 305 "['RECIPE_PACKAGE_REPO[depot_tools]/ninja', '-w', 'dupbuild=err', '-C', '[
SLAVE_BUILD]/src/out/Debug', '-j', 50]", | 305 "['RECIPE_PACKAGE_REPO[depot_tools]/ninja', '-j', 50, '-w', 'dupbuild=err'
, '-C', '[SLAVE_BUILD]/src/out/Debug']", |
| 306 "--ninja-log-exit-status", | 306 "--ninja-log-exit-status", |
| 307 "0", | 307 "0", |
| 308 "--buildbot-buildername", | 308 "--buildbot-buildername", |
| 309 "android_arm64", | 309 "android_arm64", |
| 310 "--buildbot-mastername", | 310 "--buildbot-mastername", |
| 311 "tryserver.libyuv", | 311 "tryserver.libyuv", |
| 312 "--buildbot-slavename", | 312 "--buildbot-slavename", |
| 313 "slavename" | 313 "slavename" |
| 314 ], | 314 ], |
| 315 "env": { | 315 "env": { |
| (...skipping 341 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 657 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", | 657 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", |
| 658 "@@@STEP_LOG_END@python.inline@@@" | 658 "@@@STEP_LOG_END@python.inline@@@" |
| 659 ] | 659 ] |
| 660 }, | 660 }, |
| 661 { | 661 { |
| 662 "name": "$result", | 662 "name": "$result", |
| 663 "recipe_result": null, | 663 "recipe_result": null, |
| 664 "status_code": 0 | 664 "status_code": 0 |
| 665 } | 665 } |
| 666 ] | 666 ] |
| OLD | NEW |