Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(176)

Side by Side Diff: scripts/slave/recipes/client.nacl.sdk.recipe_autogen.expected/linux_sdk_multirel.json

Issue 2480193002: Stop to use contextmanager for goma.build_with_goma (Closed)
Patch Set: fix pylint Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 "python", 195 "python",
196 "-u", 196 "-u",
197 "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py", 197 "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py",
198 "--show-path", 198 "--show-path",
199 "python", 199 "python",
200 "RECIPE_PACKAGE_REPO[build]/scripts/slave/cleanup_temp.py" 200 "RECIPE_PACKAGE_REPO[build]/scripts/slave/cleanup_temp.py"
201 ], 201 ],
202 "name": "cleanup_temp" 202 "name": "cleanup_temp"
203 }, 203 },
204 { 204 {
205 "cmd": [
206 "python",
207 "-u",
208 "\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"
209 ],
210 "name": "calculate the number of recommended jobs",
211 "stdout": "/path/to/tmp/",
212 "~followup_annotations": [
213 "@@@STEP_LOG_LINE@python.inline@@@@",
214 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@",
215 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
216 "@@@STEP_LOG_LINE@python.inline@@@@",
217 "@@@STEP_LOG_LINE@python.inline@job_limit = 200@@@",
218 "@@@STEP_LOG_LINE@python.inline@if sys.platform.startswith('linux'):@@@",
219 "@@@STEP_LOG_LINE@python.inline@ # Use 80 for linux not to load goma back end.@@@",
220 "@@@STEP_LOG_LINE@python.inline@ job_limit = 80@@@",
221 "@@@STEP_LOG_LINE@python.inline@@@@",
222 "@@@STEP_LOG_LINE@python.inline@try:@@@",
223 "@@@STEP_LOG_LINE@python.inline@ jobs = min(job_limit, multiprocessing.cp u_count() * 10)@@@",
224 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@",
225 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@",
226 "@@@STEP_LOG_LINE@python.inline@@@@",
227 "@@@STEP_LOG_LINE@python.inline@print jobs@@@",
228 "@@@STEP_LOG_END@python.inline@@@"
229 ]
230 },
231 {
232 "cmd": [], 205 "cmd": [],
233 "name": "preprocess_for_goma" 206 "name": "preprocess_for_goma"
234 }, 207 },
235 { 208 {
236 "cmd": [ 209 "cmd": [
237 "python", 210 "python",
238 "-u", 211 "-u",
239 "[CACHE]/cipd/goma/goma_ctl.py", 212 "[CACHE]/cipd/goma/goma_ctl.py",
240 "restart" 213 "restart"
241 ], 214 ],
(...skipping 22 matching lines...) Expand all
264 "env": { 237 "env": {
265 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json" 238 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json"
266 }, 239 },
267 "name": "preprocess_for_goma.start cloudtail", 240 "name": "preprocess_for_goma.start cloudtail",
268 "~followup_annotations": [ 241 "~followup_annotations": [
269 "@@@STEP_NEST_LEVEL@1@@@" 242 "@@@STEP_NEST_LEVEL@1@@@"
270 ] 243 ]
271 }, 244 },
272 { 245 {
273 "cmd": [ 246 "cmd": [
247 "python",
248 "-u",
249 "\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"
250 ],
251 "name": "calculate the number of recommended jobs",
252 "stdout": "/path/to/tmp/",
253 "~followup_annotations": [
254 "@@@STEP_LOG_LINE@python.inline@@@@",
255 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@",
256 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
257 "@@@STEP_LOG_LINE@python.inline@@@@",
258 "@@@STEP_LOG_LINE@python.inline@job_limit = 200@@@",
259 "@@@STEP_LOG_LINE@python.inline@if sys.platform.startswith('linux'):@@@",
260 "@@@STEP_LOG_LINE@python.inline@ # Use 80 for linux not to load goma back end.@@@",
261 "@@@STEP_LOG_LINE@python.inline@ job_limit = 80@@@",
262 "@@@STEP_LOG_LINE@python.inline@@@@",
263 "@@@STEP_LOG_LINE@python.inline@try:@@@",
264 "@@@STEP_LOG_LINE@python.inline@ jobs = min(job_limit, multiprocessing.cp u_count() * 10)@@@",
265 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@",
266 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@",
267 "@@@STEP_LOG_LINE@python.inline@@@@",
268 "@@@STEP_LOG_LINE@python.inline@print jobs@@@",
269 "@@@STEP_LOG_END@python.inline@@@"
270 ]
271 },
272 {
273 "cmd": [
274 "RECIPE_PACKAGE_REPO[depot_tools]/ninja", 274 "RECIPE_PACKAGE_REPO[depot_tools]/ninja",
275 "-j",
276 "50",
275 "-w", 277 "-w",
276 "dupbuild=err", 278 "dupbuild=err",
277 "-C", 279 "-C",
278 "[SLAVE_BUILD]/src/out/Release", 280 "[SLAVE_BUILD]/src/out/Release",
279 "-j",
280 "50",
281 "chrome" 281 "chrome"
282 ], 282 ],
283 "env": { 283 "env": {
284 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json" 284 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json"
285 }, 285 },
286 "name": "compile with ninja" 286 "name": "compile with ninja"
287 }, 287 },
288 { 288 {
289 "cmd": [], 289 "cmd": [],
290 "name": "postprocess_for_goma" 290 "name": "postprocess_for_goma"
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
341 "-u", 341 "-u",
342 "RECIPE_PACKAGE_REPO[build]/scripts/slave/upload_goma_logs.py", 342 "RECIPE_PACKAGE_REPO[build]/scripts/slave/upload_goma_logs.py",
343 "--upload-compiler-proxy-info", 343 "--upload-compiler-proxy-info",
344 "--json-status", 344 "--json-status",
345 "[CACHE]/cipd/goma/jsonstatus", 345 "[CACHE]/cipd/goma/jsonstatus",
346 "--ninja-log-outdir", 346 "--ninja-log-outdir",
347 "[SLAVE_BUILD]/src/out/Release", 347 "[SLAVE_BUILD]/src/out/Release",
348 "--ninja-log-compiler", 348 "--ninja-log-compiler",
349 "goma", 349 "goma",
350 "--ninja-log-command", 350 "--ninja-log-command",
351 "['RECIPE_PACKAGE_REPO[depot_tools]/ninja', '-w', 'dupbuild=err', '-C', '[ SLAVE_BUILD]/src/out/Release', '-j', 50, 'chrome']", 351 "['RECIPE_PACKAGE_REPO[depot_tools]/ninja', '-j', 50, '-w', 'dupbuild=err' , '-C', '[SLAVE_BUILD]/src/out/Release', 'chrome']",
352 "--ninja-log-exit-status", 352 "--ninja-log-exit-status",
353 "0", 353 "0",
354 "--buildbot-buildername", 354 "--buildbot-buildername",
355 "linux-sdk-multirel", 355 "linux-sdk-multirel",
356 "--buildbot-mastername", 356 "--buildbot-mastername",
357 "client.nacl.sdk", 357 "client.nacl.sdk",
358 "--buildbot-slavename", 358 "--buildbot-slavename",
359 "TestSlave" 359 "TestSlave"
360 ], 360 ],
361 "env": { 361 "env": {
(...skipping 26 matching lines...) Expand all
388 "[BUILD]/scripts/slave/chromium/nacl_sdk_buildbot_run.py" 388 "[BUILD]/scripts/slave/chromium/nacl_sdk_buildbot_run.py"
389 ], 389 ],
390 "name": "annotated_steps" 390 "name": "annotated_steps"
391 }, 391 },
392 { 392 {
393 "name": "$result", 393 "name": "$result",
394 "recipe_result": null, 394 "recipe_result": null,
395 "status_code": 0 395 "status_code": 0
396 } 396 }
397 ] 397 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698