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

Side by Side Diff: scripts/slave/recipes/v8.expected/full_client_v8_V8_Win64___clang.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 "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 254 matching lines...) Expand 10 before | Expand all | Expand 10 after
265 }, 265 },
266 "name": "clang_revision", 266 "name": "clang_revision",
267 "~followup_annotations": [ 267 "~followup_annotations": [
268 "@@@STEP_LOG_LINE@json.output@{@@@", 268 "@@@STEP_LOG_LINE@json.output@{@@@",
269 "@@@STEP_LOG_LINE@json.output@ \"clang_revision\": \"123456-7\"@@@", 269 "@@@STEP_LOG_LINE@json.output@ \"clang_revision\": \"123456-7\"@@@",
270 "@@@STEP_LOG_LINE@json.output@}@@@", 270 "@@@STEP_LOG_LINE@json.output@}@@@",
271 "@@@STEP_LOG_END@json.output@@@" 271 "@@@STEP_LOG_END@json.output@@@"
272 ] 272 ]
273 }, 273 },
274 { 274 {
275 "cmd": [
276 "python",
277 "-u",
278 "\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"
279 ],
280 "name": "calculate the number of recommended jobs",
281 "stdout": "/path/to/tmp/",
282 "~followup_annotations": [
283 "@@@STEP_LOG_LINE@python.inline@@@@",
284 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@",
285 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
286 "@@@STEP_LOG_LINE@python.inline@@@@",
287 "@@@STEP_LOG_LINE@python.inline@job_limit = 200@@@",
288 "@@@STEP_LOG_LINE@python.inline@if sys.platform.startswith('linux'):@@@",
289 "@@@STEP_LOG_LINE@python.inline@ # Use 80 for linux not to load goma back end.@@@",
290 "@@@STEP_LOG_LINE@python.inline@ job_limit = 80@@@",
291 "@@@STEP_LOG_LINE@python.inline@@@@",
292 "@@@STEP_LOG_LINE@python.inline@try:@@@",
293 "@@@STEP_LOG_LINE@python.inline@ jobs = min(job_limit, multiprocessing.cp u_count() * 10)@@@",
294 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@",
295 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@",
296 "@@@STEP_LOG_LINE@python.inline@@@@",
297 "@@@STEP_LOG_LINE@python.inline@print jobs@@@",
298 "@@@STEP_LOG_END@python.inline@@@"
299 ]
300 },
301 {
302 "cmd": [], 275 "cmd": [],
303 "name": "preprocess_for_goma" 276 "name": "preprocess_for_goma"
304 }, 277 },
305 { 278 {
306 "cmd": [ 279 "cmd": [
307 "python", 280 "python",
308 "-u", 281 "-u",
309 "[CACHE]\\cipd\\goma\\goma_ctl.py", 282 "[CACHE]\\cipd\\goma\\goma_ctl.py",
310 "restart" 283 "restart"
311 ], 284 ],
(...skipping 22 matching lines...) Expand all
334 "env": { 307 "env": {
335 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "C:\\creds\\service_accounts\\service-ac count-goma-client.json" 308 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "C:\\creds\\service_accounts\\service-ac count-goma-client.json"
336 }, 309 },
337 "name": "preprocess_for_goma.start cloudtail", 310 "name": "preprocess_for_goma.start cloudtail",
338 "~followup_annotations": [ 311 "~followup_annotations": [
339 "@@@STEP_NEST_LEVEL@1@@@" 312 "@@@STEP_NEST_LEVEL@1@@@"
340 ] 313 ]
341 }, 314 },
342 { 315 {
343 "cmd": [ 316 "cmd": [
317 "python",
318 "-u",
319 "\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"
320 ],
321 "name": "calculate the number of recommended jobs",
322 "stdout": "/path/to/tmp/",
323 "~followup_annotations": [
324 "@@@STEP_LOG_LINE@python.inline@@@@",
325 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@",
326 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
327 "@@@STEP_LOG_LINE@python.inline@@@@",
328 "@@@STEP_LOG_LINE@python.inline@job_limit = 200@@@",
329 "@@@STEP_LOG_LINE@python.inline@if sys.platform.startswith('linux'):@@@",
330 "@@@STEP_LOG_LINE@python.inline@ # Use 80 for linux not to load goma back end.@@@",
331 "@@@STEP_LOG_LINE@python.inline@ job_limit = 80@@@",
332 "@@@STEP_LOG_LINE@python.inline@@@@",
333 "@@@STEP_LOG_LINE@python.inline@try:@@@",
334 "@@@STEP_LOG_LINE@python.inline@ jobs = min(job_limit, multiprocessing.cp u_count() * 10)@@@",
335 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@",
336 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@",
337 "@@@STEP_LOG_LINE@python.inline@@@@",
338 "@@@STEP_LOG_LINE@python.inline@print jobs@@@",
339 "@@@STEP_LOG_END@python.inline@@@"
340 ]
341 },
342 {
343 "cmd": [
344 "RECIPE_PACKAGE_REPO[depot_tools]\\ninja.exe", 344 "RECIPE_PACKAGE_REPO[depot_tools]\\ninja.exe",
345 "-j",
346 "50",
345 "-w", 347 "-w",
346 "dupbuild=err", 348 "dupbuild=err",
347 "-C", 349 "-C",
348 "[SLAVE_BUILD]\\v8\\out\\Release_x64", 350 "[SLAVE_BUILD]\\v8\\out\\Release_x64"
349 "-j",
350 "50"
351 ], 351 ],
352 "env": { 352 "env": {
353 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "C:\\creds\\service_accounts\\service-ac count-goma-client.json" 353 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "C:\\creds\\service_accounts\\service-ac count-goma-client.json"
354 }, 354 },
355 "name": "compile with ninja" 355 "name": "compile with ninja"
356 }, 356 },
357 { 357 {
358 "cmd": [], 358 "cmd": [],
359 "name": "postprocess_for_goma" 359 "name": "postprocess_for_goma"
360 }, 360 },
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
410 "-u", 410 "-u",
411 "RECIPE_PACKAGE_REPO[build]\\scripts\\slave\\upload_goma_logs.py", 411 "RECIPE_PACKAGE_REPO[build]\\scripts\\slave\\upload_goma_logs.py",
412 "--upload-compiler-proxy-info", 412 "--upload-compiler-proxy-info",
413 "--json-status", 413 "--json-status",
414 "[CACHE]\\cipd\\goma\\jsonstatus", 414 "[CACHE]\\cipd\\goma\\jsonstatus",
415 "--ninja-log-outdir", 415 "--ninja-log-outdir",
416 "[SLAVE_BUILD]\\v8\\out\\Release_x64", 416 "[SLAVE_BUILD]\\v8\\out\\Release_x64",
417 "--ninja-log-compiler", 417 "--ninja-log-compiler",
418 "goma-clang", 418 "goma-clang",
419 "--ninja-log-command", 419 "--ninja-log-command",
420 "['RECIPE_PACKAGE_REPO[depot_tools]\\\\ninja.exe', '-w', 'dupbuild=err', ' -C', '[SLAVE_BUILD]\\\\v8\\\\out\\\\Release_x64', '-j', 50]", 420 "['RECIPE_PACKAGE_REPO[depot_tools]\\\\ninja.exe', '-j', 50, '-w', 'dupbui ld=err', '-C', '[SLAVE_BUILD]\\\\v8\\\\out\\\\Release_x64']",
421 "--ninja-log-exit-status", 421 "--ninja-log-exit-status",
422 "0", 422 "0",
423 "--buildbot-buildername", 423 "--buildbot-buildername",
424 "V8 Win64 - clang", 424 "V8 Win64 - clang",
425 "--buildbot-mastername", 425 "--buildbot-mastername",
426 "client.v8", 426 "client.v8",
427 "--buildbot-slavename", 427 "--buildbot-slavename",
428 "TestSlavename" 428 "TestSlavename"
429 ], 429 ],
430 "env": { 430 "env": {
(...skipping 17 matching lines...) Expand all
448 "~followup_annotations": [ 448 "~followup_annotations": [
449 "@@@STEP_NEST_LEVEL@1@@@" 449 "@@@STEP_NEST_LEVEL@1@@@"
450 ] 450 ]
451 }, 451 },
452 { 452 {
453 "name": "$result", 453 "name": "$result",
454 "recipe_result": null, 454 "recipe_result": null,
455 "status_code": 0 455 "status_code": 0
456 } 456 }
457 ] 457 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698