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

Side by Side Diff: scripts/slave/recipes/v8.expected/full_client_v8_V8_Win32___builder.json

Issue 2480193002: Stop to use contextmanager for goma.build_with_goma (Closed)
Patch Set: update 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 "python", 4 "python",
5 "-u", 5 "-u",
6 "RECIPE_PACKAGE_REPO[build]\\scripts\\slave\\kill_processes.py" 6 "RECIPE_PACKAGE_REPO[build]\\scripts\\slave\\kill_processes.py"
7 ], 7 ],
8 "name": "taskkill" 8 "name": "taskkill"
9 }, 9 },
10 { 10 {
(...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after
267 { 267 {
268 "cmd": [ 268 "cmd": [
269 "python", 269 "python",
270 "-u", 270 "-u",
271 "RECIPE_MODULE[recipe_engine::shutil]\\resources\\rmtree.py", 271 "RECIPE_MODULE[recipe_engine::shutil]\\resources\\rmtree.py",
272 "[SLAVE_BUILD]\\v8\\out\\gn" 272 "[SLAVE_BUILD]\\v8\\out\\gn"
273 ], 273 ],
274 "name": "rmtree [SLAVE_BUILD]\\v8\\out\\gn" 274 "name": "rmtree [SLAVE_BUILD]\\v8\\out\\gn"
275 }, 275 },
276 { 276 {
277 "cmd": [
278 "python",
279 "-u",
280 "\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"
281 ],
282 "name": "calculate the number of recommended jobs",
283 "stdout": "/path/to/tmp/",
284 "~followup_annotations": [
285 "@@@STEP_LOG_LINE@python.inline@@@@",
286 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@",
287 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
288 "@@@STEP_LOG_LINE@python.inline@@@@",
289 "@@@STEP_LOG_LINE@python.inline@job_limit = 200@@@",
290 "@@@STEP_LOG_LINE@python.inline@if sys.platform.startswith('linux'):@@@",
291 "@@@STEP_LOG_LINE@python.inline@ # Use 80 for linux not to load goma back end.@@@",
292 "@@@STEP_LOG_LINE@python.inline@ job_limit = 80@@@",
293 "@@@STEP_LOG_LINE@python.inline@@@@",
294 "@@@STEP_LOG_LINE@python.inline@try:@@@",
295 "@@@STEP_LOG_LINE@python.inline@ jobs = min(job_limit, multiprocessing.cp u_count() * 10)@@@",
296 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@",
297 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@",
298 "@@@STEP_LOG_LINE@python.inline@@@@",
299 "@@@STEP_LOG_LINE@python.inline@print jobs@@@",
300 "@@@STEP_LOG_END@python.inline@@@"
301 ]
302 },
303 {
304 "cmd": [], 277 "cmd": [],
305 "name": "preprocess_for_goma" 278 "name": "preprocess_for_goma"
306 }, 279 },
307 { 280 {
308 "cmd": [ 281 "cmd": [
309 "python", 282 "python",
310 "-u", 283 "-u",
311 "[CACHE]\\cipd\\goma\\goma_ctl.py", 284 "[CACHE]\\cipd\\goma\\goma_ctl.py",
312 "restart" 285 "restart"
313 ], 286 ],
(...skipping 22 matching lines...) Expand all
336 "env": { 309 "env": {
337 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "C:\\creds\\service_accounts\\service-ac count-goma-client.json" 310 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "C:\\creds\\service_accounts\\service-ac count-goma-client.json"
338 }, 311 },
339 "name": "preprocess_for_goma.start cloudtail", 312 "name": "preprocess_for_goma.start cloudtail",
340 "~followup_annotations": [ 313 "~followup_annotations": [
341 "@@@STEP_NEST_LEVEL@1@@@" 314 "@@@STEP_NEST_LEVEL@1@@@"
342 ] 315 ]
343 }, 316 },
344 { 317 {
345 "cmd": [ 318 "cmd": [
319 "python",
320 "-u",
321 "\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"
322 ],
323 "name": "calculate the number of recommended jobs",
324 "stdout": "/path/to/tmp/",
325 "~followup_annotations": [
326 "@@@STEP_LOG_LINE@python.inline@@@@",
327 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@",
328 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
329 "@@@STEP_LOG_LINE@python.inline@@@@",
330 "@@@STEP_LOG_LINE@python.inline@job_limit = 200@@@",
331 "@@@STEP_LOG_LINE@python.inline@if sys.platform.startswith('linux'):@@@",
332 "@@@STEP_LOG_LINE@python.inline@ # Use 80 for linux not to load goma back end.@@@",
333 "@@@STEP_LOG_LINE@python.inline@ job_limit = 80@@@",
334 "@@@STEP_LOG_LINE@python.inline@@@@",
335 "@@@STEP_LOG_LINE@python.inline@try:@@@",
336 "@@@STEP_LOG_LINE@python.inline@ jobs = min(job_limit, multiprocessing.cp u_count() * 10)@@@",
337 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@",
338 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@",
339 "@@@STEP_LOG_LINE@python.inline@@@@",
340 "@@@STEP_LOG_LINE@python.inline@print jobs@@@",
341 "@@@STEP_LOG_END@python.inline@@@"
342 ]
343 },
344 {
345 "cmd": [
346 "RECIPE_PACKAGE_REPO[depot_tools]\\ninja.exe", 346 "RECIPE_PACKAGE_REPO[depot_tools]\\ninja.exe",
347 "-w", 347 "-w",
348 "dupbuild=err", 348 "dupbuild=err",
349 "-C", 349 "-C",
350 "[SLAVE_BUILD]\\v8\\out\\Release", 350 "[SLAVE_BUILD]\\v8\\out\\Release",
351 "-j", 351 "-j",
352 "50" 352 "50"
353 ], 353 ],
354 "env": { 354 "env": {
355 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "C:\\creds\\service_accounts\\service-ac count-goma-client.json" 355 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "C:\\creds\\service_accounts\\service-ac count-goma-client.json"
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
547 "~followup_annotations": [ 547 "~followup_annotations": [
548 "@@@STEP_TEXT@V8 Win32@@@" 548 "@@@STEP_TEXT@V8 Win32@@@"
549 ] 549 ]
550 }, 550 },
551 { 551 {
552 "name": "$result", 552 "name": "$result",
553 "recipe_result": null, 553 "recipe_result": null,
554 "status_code": 0 554 "status_code": 0
555 } 555 }
556 ] 556 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698