| OLD | NEW |
| 1 [ | 1 [ |
| 2 { | 2 { |
| 3 "cmd": [], | 3 "cmd": [], |
| 4 "name": "ensure_goma" | 4 "name": "ensure_goma" |
| 5 }, | 5 }, |
| 6 { | 6 { |
| 7 "cmd": [ | 7 "cmd": [ |
| 8 "python", | 8 "python", |
| 9 "-u", | 9 "-u", |
| 10 "RECIPE_MODULE[depot_tools::cipd]/resources/bootstrap.py", | 10 "RECIPE_MODULE[depot_tools::cipd]/resources/bootstrap.py", |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 "--android-version-name=example", | 85 "--android-version-name=example", |
| 86 "//out_amd64-generic/Release" | 86 "//out_amd64-generic/Release" |
| 87 ], | 87 ], |
| 88 "cwd": "None", | 88 "cwd": "None", |
| 89 "env": { | 89 "env": { |
| 90 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" | 90 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" |
| 91 }, | 91 }, |
| 92 "name": "generate_build_files" | 92 "name": "generate_build_files" |
| 93 }, | 93 }, |
| 94 { | 94 { |
| 95 "cmd": [ | |
| 96 "python", | |
| 97 "-u", | |
| 98 "\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" | |
| 99 ], | |
| 100 "name": "calculate the number of recommended jobs", | |
| 101 "stdout": "/path/to/tmp/", | |
| 102 "~followup_annotations": [ | |
| 103 "@@@STEP_LOG_LINE@python.inline@@@@", | |
| 104 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@", | |
| 105 "@@@STEP_LOG_LINE@python.inline@import sys@@@", | |
| 106 "@@@STEP_LOG_LINE@python.inline@@@@", | |
| 107 "@@@STEP_LOG_LINE@python.inline@job_limit = 200@@@", | |
| 108 "@@@STEP_LOG_LINE@python.inline@if sys.platform.startswith('linux'):@@@", | |
| 109 "@@@STEP_LOG_LINE@python.inline@ # Use 80 for linux not to load goma back
end.@@@", | |
| 110 "@@@STEP_LOG_LINE@python.inline@ job_limit = 80@@@", | |
| 111 "@@@STEP_LOG_LINE@python.inline@@@@", | |
| 112 "@@@STEP_LOG_LINE@python.inline@try:@@@", | |
| 113 "@@@STEP_LOG_LINE@python.inline@ jobs = min(job_limit, multiprocessing.cp
u_count() * 10)@@@", | |
| 114 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@", | |
| 115 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@", | |
| 116 "@@@STEP_LOG_LINE@python.inline@@@@", | |
| 117 "@@@STEP_LOG_LINE@python.inline@print jobs@@@", | |
| 118 "@@@STEP_LOG_END@python.inline@@@" | |
| 119 ] | |
| 120 }, | |
| 121 { | |
| 122 "cmd": [], | 95 "cmd": [], |
| 123 "name": "preprocess_for_goma" | 96 "name": "preprocess_for_goma" |
| 124 }, | 97 }, |
| 125 { | 98 { |
| 126 "cmd": [ | 99 "cmd": [ |
| 127 "python", | 100 "python", |
| 128 "-u", | 101 "-u", |
| 129 "[CACHE]/cipd/goma/goma_ctl.py", | 102 "[CACHE]/cipd/goma/goma_ctl.py", |
| 130 "restart" | 103 "restart" |
| 131 ], | 104 ], |
| (...skipping 22 matching lines...) Expand all Loading... |
| 154 "env": { | 127 "env": { |
| 155 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" | 128 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" |
| 156 }, | 129 }, |
| 157 "name": "preprocess_for_goma.start cloudtail", | 130 "name": "preprocess_for_goma.start cloudtail", |
| 158 "~followup_annotations": [ | 131 "~followup_annotations": [ |
| 159 "@@@STEP_NEST_LEVEL@1@@@" | 132 "@@@STEP_NEST_LEVEL@1@@@" |
| 160 ] | 133 ] |
| 161 }, | 134 }, |
| 162 { | 135 { |
| 163 "cmd": [ | 136 "cmd": [ |
| 137 "python", |
| 138 "-u", |
| 139 "\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" |
| 140 ], |
| 141 "name": "calculate the number of recommended jobs", |
| 142 "stdout": "/path/to/tmp/", |
| 143 "~followup_annotations": [ |
| 144 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 145 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@", |
| 146 "@@@STEP_LOG_LINE@python.inline@import sys@@@", |
| 147 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 148 "@@@STEP_LOG_LINE@python.inline@job_limit = 200@@@", |
| 149 "@@@STEP_LOG_LINE@python.inline@if sys.platform.startswith('linux'):@@@", |
| 150 "@@@STEP_LOG_LINE@python.inline@ # Use 80 for linux not to load goma back
end.@@@", |
| 151 "@@@STEP_LOG_LINE@python.inline@ job_limit = 80@@@", |
| 152 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 153 "@@@STEP_LOG_LINE@python.inline@try:@@@", |
| 154 "@@@STEP_LOG_LINE@python.inline@ jobs = min(job_limit, multiprocessing.cp
u_count() * 10)@@@", |
| 155 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@", |
| 156 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@", |
| 157 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 158 "@@@STEP_LOG_LINE@python.inline@print jobs@@@", |
| 159 "@@@STEP_LOG_END@python.inline@@@" |
| 160 ] |
| 161 }, |
| 162 { |
| 163 "cmd": [ |
| 164 "RECIPE_PACKAGE_REPO[depot_tools]/cros", | 164 "RECIPE_PACKAGE_REPO[depot_tools]/cros", |
| 165 "chrome-sdk", | 165 "chrome-sdk", |
| 166 "--board=amd64-generic", | 166 "--board=amd64-generic", |
| 167 "--nocolor", | 167 "--nocolor", |
| 168 "--use-external-config", | 168 "--use-external-config", |
| 169 "--gomadir", | 169 "--gomadir", |
| 170 "[CACHE]/cipd/goma", | 170 "[CACHE]/cipd/goma", |
| 171 "--nostart-goma", | 171 "--nostart-goma", |
| 172 "--", | 172 "--", |
| 173 "RECIPE_PACKAGE_REPO[depot_tools]/ninja", | 173 "RECIPE_PACKAGE_REPO[depot_tools]/ninja", |
| 174 "-j", |
| 175 "50", |
| 174 "-w", | 176 "-w", |
| 175 "dupbuild=err", | 177 "dupbuild=err", |
| 176 "-C", | 178 "-C", |
| 177 "None/out_amd64-generic/Release", | 179 "None/out_amd64-generic/Release", |
| 178 "-j", | |
| 179 "50", | |
| 180 "All" | 180 "All" |
| 181 ], | 181 ], |
| 182 "cwd": "None", | 182 "cwd": "None", |
| 183 "env": { | 183 "env": { |
| 184 "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" |
| 185 }, | 185 }, |
| 186 "name": "compile with ninja" | 186 "name": "compile with ninja" |
| 187 }, | 187 }, |
| 188 { | 188 { |
| 189 "cmd": [], | 189 "cmd": [], |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 241 "-u", | 241 "-u", |
| 242 "RECIPE_PACKAGE_REPO[build]/scripts/slave/upload_goma_logs.py", | 242 "RECIPE_PACKAGE_REPO[build]/scripts/slave/upload_goma_logs.py", |
| 243 "--upload-compiler-proxy-info", | 243 "--upload-compiler-proxy-info", |
| 244 "--json-status", | 244 "--json-status", |
| 245 "[CACHE]/cipd/goma/jsonstatus", | 245 "[CACHE]/cipd/goma/jsonstatus", |
| 246 "--ninja-log-outdir", | 246 "--ninja-log-outdir", |
| 247 "None/out_amd64-generic/Release", | 247 "None/out_amd64-generic/Release", |
| 248 "--ninja-log-compiler", | 248 "--ninja-log-compiler", |
| 249 "goma", | 249 "goma", |
| 250 "--ninja-log-command", | 250 "--ninja-log-command", |
| 251 "['RECIPE_PACKAGE_REPO[depot_tools]/ninja', '-w', 'dupbuild=err', '-C', 'N
one/out_amd64-generic/Release', '-j', 50, 'All']", | 251 "['RECIPE_PACKAGE_REPO[depot_tools]/ninja', '-j', 50, '-w', 'dupbuild=err'
, '-C', 'None/out_amd64-generic/Release', 'All']", |
| 252 "--ninja-log-exit-status", | 252 "--ninja-log-exit-status", |
| 253 "0", | 253 "0", |
| 254 "--buildbot-buildername", | 254 "--buildbot-buildername", |
| 255 "Linux ChromiumOS Builder", | 255 "Linux ChromiumOS Builder", |
| 256 "--buildbot-mastername", | 256 "--buildbot-mastername", |
| 257 "tryserver.chromium.linux", | 257 "tryserver.chromium.linux", |
| 258 "--buildbot-slavename", | 258 "--buildbot-slavename", |
| 259 "build1-a1" | 259 "build1-a1" |
| 260 ], | 260 ], |
| 261 "env": { | 261 "env": { |
| (...skipping 17 matching lines...) Expand all Loading... |
| 279 "~followup_annotations": [ | 279 "~followup_annotations": [ |
| 280 "@@@STEP_NEST_LEVEL@1@@@" | 280 "@@@STEP_NEST_LEVEL@1@@@" |
| 281 ] | 281 ] |
| 282 }, | 282 }, |
| 283 { | 283 { |
| 284 "name": "$result", | 284 "name": "$result", |
| 285 "recipe_result": null, | 285 "recipe_result": null, |
| 286 "status_code": 0 | 286 "status_code": 0 |
| 287 } | 287 } |
| 288 ] | 288 ] |
| OLD | NEW |