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

Side by Side Diff: scripts/slave/recipes/webrtc/ios.expected/basic.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 259 matching lines...) Expand 10 before | Expand all | Expand 10 after
270 }, 270 },
271 "name": "clang_revision", 271 "name": "clang_revision",
272 "~followup_annotations": [ 272 "~followup_annotations": [
273 "@@@STEP_LOG_LINE@json.output@{@@@", 273 "@@@STEP_LOG_LINE@json.output@{@@@",
274 "@@@STEP_LOG_LINE@json.output@ \"clang_revision\": \"123456-7\"@@@", 274 "@@@STEP_LOG_LINE@json.output@ \"clang_revision\": \"123456-7\"@@@",
275 "@@@STEP_LOG_LINE@json.output@}@@@", 275 "@@@STEP_LOG_LINE@json.output@}@@@",
276 "@@@STEP_LOG_END@json.output@@@" 276 "@@@STEP_LOG_END@json.output@@@"
277 ] 277 ]
278 }, 278 },
279 { 279 {
280 "cmd": [
281 "python",
282 "-u",
283 "\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"
284 ],
285 "name": "calculate the number of recommended jobs",
286 "stdout": "/path/to/tmp/",
287 "~followup_annotations": [
288 "@@@STEP_LOG_LINE@python.inline@@@@",
289 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@",
290 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
291 "@@@STEP_LOG_LINE@python.inline@@@@",
292 "@@@STEP_LOG_LINE@python.inline@job_limit = 200@@@",
293 "@@@STEP_LOG_LINE@python.inline@if sys.platform.startswith('linux'):@@@",
294 "@@@STEP_LOG_LINE@python.inline@ # Use 80 for linux not to load goma back end.@@@",
295 "@@@STEP_LOG_LINE@python.inline@ job_limit = 80@@@",
296 "@@@STEP_LOG_LINE@python.inline@@@@",
297 "@@@STEP_LOG_LINE@python.inline@try:@@@",
298 "@@@STEP_LOG_LINE@python.inline@ jobs = min(job_limit, multiprocessing.cp u_count() * 10)@@@",
299 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@",
300 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@",
301 "@@@STEP_LOG_LINE@python.inline@@@@",
302 "@@@STEP_LOG_LINE@python.inline@print jobs@@@",
303 "@@@STEP_LOG_END@python.inline@@@"
304 ]
305 },
306 {
307 "cmd": [], 280 "cmd": [],
308 "name": "preprocess_for_goma" 281 "name": "preprocess_for_goma"
309 }, 282 },
310 { 283 {
311 "cmd": [ 284 "cmd": [
312 "python", 285 "python",
313 "-u", 286 "-u",
314 "[CACHE]/cipd/goma/goma_ctl.py", 287 "[CACHE]/cipd/goma/goma_ctl.py",
315 "restart" 288 "restart"
316 ], 289 ],
(...skipping 22 matching lines...) Expand all
339 "env": { 312 "env": {
340 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json" 313 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json"
341 }, 314 },
342 "name": "preprocess_for_goma.start cloudtail", 315 "name": "preprocess_for_goma.start cloudtail",
343 "~followup_annotations": [ 316 "~followup_annotations": [
344 "@@@STEP_NEST_LEVEL@1@@@" 317 "@@@STEP_NEST_LEVEL@1@@@"
345 ] 318 ]
346 }, 319 },
347 { 320 {
348 "cmd": [ 321 "cmd": [
322 "python",
323 "-u",
324 "\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"
325 ],
326 "name": "calculate the number of recommended jobs",
327 "stdout": "/path/to/tmp/",
328 "~followup_annotations": [
329 "@@@STEP_LOG_LINE@python.inline@@@@",
330 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@",
331 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
332 "@@@STEP_LOG_LINE@python.inline@@@@",
333 "@@@STEP_LOG_LINE@python.inline@job_limit = 200@@@",
334 "@@@STEP_LOG_LINE@python.inline@if sys.platform.startswith('linux'):@@@",
335 "@@@STEP_LOG_LINE@python.inline@ # Use 80 for linux not to load goma back end.@@@",
336 "@@@STEP_LOG_LINE@python.inline@ job_limit = 80@@@",
337 "@@@STEP_LOG_LINE@python.inline@@@@",
338 "@@@STEP_LOG_LINE@python.inline@try:@@@",
339 "@@@STEP_LOG_LINE@python.inline@ jobs = min(job_limit, multiprocessing.cp u_count() * 10)@@@",
340 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@",
341 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@",
342 "@@@STEP_LOG_LINE@python.inline@@@@",
343 "@@@STEP_LOG_LINE@python.inline@print jobs@@@",
344 "@@@STEP_LOG_END@python.inline@@@"
345 ]
346 },
347 {
348 "cmd": [
349 "RECIPE_PACKAGE_REPO[depot_tools]/ninja", 349 "RECIPE_PACKAGE_REPO[depot_tools]/ninja",
350 "-w", 350 "-w",
351 "dupbuild=err", 351 "dupbuild=err",
352 "-C", 352 "-C",
353 "[BUILDER_CACHE]/ios_debug/src/out/Debug-iphonesimulator", 353 "[BUILDER_CACHE]/ios_debug/src/out/Debug-iphonesimulator",
354 "All",
354 "-j", 355 "-j",
355 "50", 356 "50"
356 "All"
357 ], 357 ],
358 "cwd": "[BUILDER_CACHE]/ios_debug/src/out/Debug-iphonesimulator", 358 "cwd": "[BUILDER_CACHE]/ios_debug/src/out/Debug-iphonesimulator",
359 "env": { 359 "env": {
360 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json" 360 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json"
361 }, 361 },
362 "name": "compile with ninja" 362 "name": "compile with ninja"
363 }, 363 },
364 { 364 {
365 "cmd": [], 365 "cmd": [],
366 "name": "postprocess_for_goma" 366 "name": "postprocess_for_goma"
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
417 "-u", 417 "-u",
418 "RECIPE_PACKAGE_REPO[build]/scripts/slave/upload_goma_logs.py", 418 "RECIPE_PACKAGE_REPO[build]/scripts/slave/upload_goma_logs.py",
419 "--upload-compiler-proxy-info", 419 "--upload-compiler-proxy-info",
420 "--json-status", 420 "--json-status",
421 "[CACHE]/cipd/goma/jsonstatus", 421 "[CACHE]/cipd/goma/jsonstatus",
422 "--ninja-log-outdir", 422 "--ninja-log-outdir",
423 "[BUILDER_CACHE]/ios_debug/src/out/Debug-iphonesimulator", 423 "[BUILDER_CACHE]/ios_debug/src/out/Debug-iphonesimulator",
424 "--ninja-log-compiler", 424 "--ninja-log-compiler",
425 "goma-clang", 425 "goma-clang",
426 "--ninja-log-command", 426 "--ninja-log-command",
427 "['RECIPE_PACKAGE_REPO[depot_tools]/ninja', '-w', 'dupbuild=err', '-C', '[ BUILDER_CACHE]/ios_debug/src/out/Debug-iphonesimulator', '-j', 50, 'All']", 427 "['RECIPE_PACKAGE_REPO[depot_tools]/ninja', '-w', 'dupbuild=err', '-C', '[ BUILDER_CACHE]/ios_debug/src/out/Debug-iphonesimulator', 'All', '-j', 50]",
428 "--ninja-log-exit-status", 428 "--ninja-log-exit-status",
429 "0", 429 "0",
430 "--buildbot-buildername", 430 "--buildbot-buildername",
431 "ios debug", 431 "ios debug",
432 "--buildbot-mastername", 432 "--buildbot-mastername",
433 "chromium.fake", 433 "chromium.fake",
434 "--buildbot-slavename", 434 "--buildbot-slavename",
435 "fake-vm" 435 "fake-vm"
436 ], 436 ],
437 "env": { 437 "env": {
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
523 "@@@STEP_LOG_END@fake log@@@", 523 "@@@STEP_LOG_END@fake log@@@",
524 "@@@STEP_LINK@fake URL text@fake URL@@@" 524 "@@@STEP_LINK@fake URL text@fake URL@@@"
525 ] 525 ]
526 }, 526 },
527 { 527 {
528 "name": "$result", 528 "name": "$result",
529 "recipe_result": null, 529 "recipe_result": null,
530 "status_code": 0 530 "status_code": 0
531 } 531 }
532 ] 532 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698