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

Side by Side Diff: scripts/slave/recipes/ios/unified_builder_tester.expected/goma_canary.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 "RECIPE_PACKAGE_REPO[build]/scripts/slave/ios/host_info.py", 4 "RECIPE_PACKAGE_REPO[build]/scripts/slave/ios/host_info.py",
5 "--json-file", 5 "--json-file",
6 "/path/to/tmp/json" 6 "/path/to/tmp/json"
7 ], 7 ],
8 "name": "host and tools info", 8 "name": "host and tools info",
9 "~followup_annotations": [ 9 "~followup_annotations": [
10 "@@@STEP_TEXT@<br />OS X 1.2.3, Xcode 6.7.8 (5D342509a)@@@", 10 "@@@STEP_TEXT@<br />OS X 1.2.3, Xcode 6.7.8 (5D342509a)@@@",
(...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after
283 }, 283 },
284 "name": "clang_revision", 284 "name": "clang_revision",
285 "~followup_annotations": [ 285 "~followup_annotations": [
286 "@@@STEP_LOG_LINE@json.output@{@@@", 286 "@@@STEP_LOG_LINE@json.output@{@@@",
287 "@@@STEP_LOG_LINE@json.output@ \"clang_revision\": \"123456-7\"@@@", 287 "@@@STEP_LOG_LINE@json.output@ \"clang_revision\": \"123456-7\"@@@",
288 "@@@STEP_LOG_LINE@json.output@}@@@", 288 "@@@STEP_LOG_LINE@json.output@}@@@",
289 "@@@STEP_LOG_END@json.output@@@" 289 "@@@STEP_LOG_END@json.output@@@"
290 ] 290 ]
291 }, 291 },
292 { 292 {
293 "cmd": [
294 "python",
295 "-u",
296 "\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"
297 ],
298 "name": "calculate the number of recommended jobs",
299 "stdout": "/path/to/tmp/",
300 "~followup_annotations": [
301 "@@@STEP_LOG_LINE@python.inline@@@@",
302 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@",
303 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
304 "@@@STEP_LOG_LINE@python.inline@@@@",
305 "@@@STEP_LOG_LINE@python.inline@job_limit = 200@@@",
306 "@@@STEP_LOG_LINE@python.inline@if sys.platform.startswith('linux'):@@@",
307 "@@@STEP_LOG_LINE@python.inline@ # Use 80 for linux not to load goma back end.@@@",
308 "@@@STEP_LOG_LINE@python.inline@ job_limit = 80@@@",
309 "@@@STEP_LOG_LINE@python.inline@@@@",
310 "@@@STEP_LOG_LINE@python.inline@try:@@@",
311 "@@@STEP_LOG_LINE@python.inline@ jobs = min(job_limit, multiprocessing.cp u_count() * 10)@@@",
312 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@",
313 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@",
314 "@@@STEP_LOG_LINE@python.inline@@@@",
315 "@@@STEP_LOG_LINE@python.inline@print jobs@@@",
316 "@@@STEP_LOG_END@python.inline@@@"
317 ]
318 },
319 {
320 "cmd": [], 293 "cmd": [],
321 "name": "preprocess_for_goma" 294 "name": "preprocess_for_goma"
322 }, 295 },
323 { 296 {
324 "cmd": [ 297 "cmd": [
325 "python", 298 "python",
326 "-u", 299 "-u",
327 "[CACHE]/cipd/goma/goma_ctl.py", 300 "[CACHE]/cipd/goma/goma_ctl.py",
328 "restart" 301 "restart"
329 ], 302 ],
(...skipping 22 matching lines...) Expand all
352 "env": { 325 "env": {
353 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json" 326 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json"
354 }, 327 },
355 "name": "preprocess_for_goma.start cloudtail", 328 "name": "preprocess_for_goma.start cloudtail",
356 "~followup_annotations": [ 329 "~followup_annotations": [
357 "@@@STEP_NEST_LEVEL@1@@@" 330 "@@@STEP_NEST_LEVEL@1@@@"
358 ] 331 ]
359 }, 332 },
360 { 333 {
361 "cmd": [ 334 "cmd": [
335 "python",
336 "-u",
337 "\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"
338 ],
339 "name": "calculate the number of recommended jobs",
340 "stdout": "/path/to/tmp/",
341 "~followup_annotations": [
342 "@@@STEP_LOG_LINE@python.inline@@@@",
343 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@",
344 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
345 "@@@STEP_LOG_LINE@python.inline@@@@",
346 "@@@STEP_LOG_LINE@python.inline@job_limit = 200@@@",
347 "@@@STEP_LOG_LINE@python.inline@if sys.platform.startswith('linux'):@@@",
348 "@@@STEP_LOG_LINE@python.inline@ # Use 80 for linux not to load goma back end.@@@",
349 "@@@STEP_LOG_LINE@python.inline@ job_limit = 80@@@",
350 "@@@STEP_LOG_LINE@python.inline@@@@",
351 "@@@STEP_LOG_LINE@python.inline@try:@@@",
352 "@@@STEP_LOG_LINE@python.inline@ jobs = min(job_limit, multiprocessing.cp u_count() * 10)@@@",
353 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@",
354 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@",
355 "@@@STEP_LOG_LINE@python.inline@@@@",
356 "@@@STEP_LOG_LINE@python.inline@print jobs@@@",
357 "@@@STEP_LOG_END@python.inline@@@"
358 ]
359 },
360 {
361 "cmd": [
362 "RECIPE_PACKAGE_REPO[depot_tools]/ninja", 362 "RECIPE_PACKAGE_REPO[depot_tools]/ninja",
363 "-w", 363 "-w",
364 "dupbuild=err", 364 "dupbuild=err",
365 "-C", 365 "-C",
366 "[BUILDER_CACHE]/ios/src/out/Release-iphoneos", 366 "[BUILDER_CACHE]/ios/src/out/Release-iphoneos",
367 "All",
367 "-j", 368 "-j",
368 "50", 369 "50"
369 "All"
370 ], 370 ],
371 "cwd": "[BUILDER_CACHE]/ios/src/out/Release-iphoneos", 371 "cwd": "[BUILDER_CACHE]/ios/src/out/Release-iphoneos",
372 "env": { 372 "env": {
373 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json" 373 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json"
374 }, 374 },
375 "name": "compile with ninja" 375 "name": "compile with ninja"
376 }, 376 },
377 { 377 {
378 "cmd": [], 378 "cmd": [],
379 "name": "postprocess_for_goma" 379 "name": "postprocess_for_goma"
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
430 "-u", 430 "-u",
431 "RECIPE_PACKAGE_REPO[build]/scripts/slave/upload_goma_logs.py", 431 "RECIPE_PACKAGE_REPO[build]/scripts/slave/upload_goma_logs.py",
432 "--upload-compiler-proxy-info", 432 "--upload-compiler-proxy-info",
433 "--json-status", 433 "--json-status",
434 "[CACHE]/cipd/goma/jsonstatus", 434 "[CACHE]/cipd/goma/jsonstatus",
435 "--ninja-log-outdir", 435 "--ninja-log-outdir",
436 "[BUILDER_CACHE]/ios/src/out/Release-iphoneos", 436 "[BUILDER_CACHE]/ios/src/out/Release-iphoneos",
437 "--ninja-log-compiler", 437 "--ninja-log-compiler",
438 "goma-clang", 438 "goma-clang",
439 "--ninja-log-command", 439 "--ninja-log-command",
440 "['RECIPE_PACKAGE_REPO[depot_tools]/ninja', '-w', 'dupbuild=err', '-C', '[ BUILDER_CACHE]/ios/src/out/Release-iphoneos', '-j', 50, 'All']", 440 "['RECIPE_PACKAGE_REPO[depot_tools]/ninja', '-w', 'dupbuild=err', '-C', '[ BUILDER_CACHE]/ios/src/out/Release-iphoneos', 'All', '-j', 50]",
441 "--ninja-log-exit-status", 441 "--ninja-log-exit-status",
442 "0", 442 "0",
443 "--buildbot-buildername", 443 "--buildbot-buildername",
444 "ios", 444 "ios",
445 "--buildbot-mastername", 445 "--buildbot-mastername",
446 "chromium.fake", 446 "chromium.fake",
447 "--buildbot-slavename", 447 "--buildbot-slavename",
448 "fake-vm" 448 "fake-vm"
449 ], 449 ],
450 "env": { 450 "env": {
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
633 { 633 {
634 "cmd": [], 634 "cmd": [],
635 "name": "trigger" 635 "name": "trigger"
636 }, 636 },
637 { 637 {
638 "name": "$result", 638 "name": "$result",
639 "recipe_result": null, 639 "recipe_result": null,
640 "status_code": 0 640 "status_code": 0
641 } 641 }
642 ] 642 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698