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

Side by Side Diff: scripts/slave/recipes/webrtc/standalone.expected/client_webrtc_mac64_debug.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 262 matching lines...) Expand 10 before | Expand all | Expand 10 after
273 }, 273 },
274 "name": "clang_revision", 274 "name": "clang_revision",
275 "~followup_annotations": [ 275 "~followup_annotations": [
276 "@@@STEP_LOG_LINE@json.output@{@@@", 276 "@@@STEP_LOG_LINE@json.output@{@@@",
277 "@@@STEP_LOG_LINE@json.output@ \"clang_revision\": \"123456-7\"@@@", 277 "@@@STEP_LOG_LINE@json.output@ \"clang_revision\": \"123456-7\"@@@",
278 "@@@STEP_LOG_LINE@json.output@}@@@", 278 "@@@STEP_LOG_LINE@json.output@}@@@",
279 "@@@STEP_LOG_END@json.output@@@" 279 "@@@STEP_LOG_END@json.output@@@"
280 ] 280 ]
281 }, 281 },
282 { 282 {
283 "cmd": [
284 "python",
285 "-u",
286 "\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"
287 ],
288 "name": "calculate the number of recommended jobs",
289 "stdout": "/path/to/tmp/",
290 "~followup_annotations": [
291 "@@@STEP_LOG_LINE@python.inline@@@@",
292 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@",
293 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
294 "@@@STEP_LOG_LINE@python.inline@@@@",
295 "@@@STEP_LOG_LINE@python.inline@job_limit = 200@@@",
296 "@@@STEP_LOG_LINE@python.inline@if sys.platform.startswith('linux'):@@@",
297 "@@@STEP_LOG_LINE@python.inline@ # Use 80 for linux not to load goma back end.@@@",
298 "@@@STEP_LOG_LINE@python.inline@ job_limit = 80@@@",
299 "@@@STEP_LOG_LINE@python.inline@@@@",
300 "@@@STEP_LOG_LINE@python.inline@try:@@@",
301 "@@@STEP_LOG_LINE@python.inline@ jobs = min(job_limit, multiprocessing.cp u_count() * 10)@@@",
302 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@",
303 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@",
304 "@@@STEP_LOG_LINE@python.inline@@@@",
305 "@@@STEP_LOG_LINE@python.inline@print jobs@@@",
306 "@@@STEP_LOG_END@python.inline@@@"
307 ]
308 },
309 {
310 "cmd": [], 283 "cmd": [],
311 "name": "preprocess_for_goma" 284 "name": "preprocess_for_goma"
312 }, 285 },
313 { 286 {
314 "cmd": [ 287 "cmd": [
315 "python", 288 "python",
316 "-u", 289 "-u",
317 "[CACHE]/cipd/goma/goma_ctl.py", 290 "[CACHE]/cipd/goma/goma_ctl.py",
318 "restart" 291 "restart"
319 ], 292 ],
(...skipping 22 matching lines...) Expand all
342 "env": { 315 "env": {
343 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json" 316 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json"
344 }, 317 },
345 "name": "preprocess_for_goma.start cloudtail", 318 "name": "preprocess_for_goma.start cloudtail",
346 "~followup_annotations": [ 319 "~followup_annotations": [
347 "@@@STEP_NEST_LEVEL@1@@@" 320 "@@@STEP_NEST_LEVEL@1@@@"
348 ] 321 ]
349 }, 322 },
350 { 323 {
351 "cmd": [ 324 "cmd": [
325 "python",
326 "-u",
327 "\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"
328 ],
329 "name": "calculate the number of recommended jobs",
330 "stdout": "/path/to/tmp/",
331 "~followup_annotations": [
332 "@@@STEP_LOG_LINE@python.inline@@@@",
333 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@",
334 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
335 "@@@STEP_LOG_LINE@python.inline@@@@",
336 "@@@STEP_LOG_LINE@python.inline@job_limit = 200@@@",
337 "@@@STEP_LOG_LINE@python.inline@if sys.platform.startswith('linux'):@@@",
338 "@@@STEP_LOG_LINE@python.inline@ # Use 80 for linux not to load goma back end.@@@",
339 "@@@STEP_LOG_LINE@python.inline@ job_limit = 80@@@",
340 "@@@STEP_LOG_LINE@python.inline@@@@",
341 "@@@STEP_LOG_LINE@python.inline@try:@@@",
342 "@@@STEP_LOG_LINE@python.inline@ jobs = min(job_limit, multiprocessing.cp u_count() * 10)@@@",
343 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@",
344 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@",
345 "@@@STEP_LOG_LINE@python.inline@@@@",
346 "@@@STEP_LOG_LINE@python.inline@print jobs@@@",
347 "@@@STEP_LOG_END@python.inline@@@"
348 ]
349 },
350 {
351 "cmd": [
352 "RECIPE_PACKAGE_REPO[depot_tools]/ninja", 352 "RECIPE_PACKAGE_REPO[depot_tools]/ninja",
353 "-w", 353 "-w",
354 "dupbuild=err", 354 "dupbuild=err",
355 "-C", 355 "-C",
356 "[BUILDER_CACHE]/Mac64_Debug/src/out/Debug", 356 "[BUILDER_CACHE]/Mac64_Debug/src/out/Debug",
357 "-j", 357 "-j",
358 "50" 358 "50"
359 ], 359 ],
360 "env": { 360 "env": {
361 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json" 361 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json"
(...skipping 2872 matching lines...) Expand 10 before | Expand all | Expand 10 after
3234 "@@@STEP_LOG_END@json.output@@@", 3234 "@@@STEP_LOG_END@json.output@@@",
3235 "@@@STEP_LINK@shard #0 isolated out@blah@@@" 3235 "@@@STEP_LINK@shard #0 isolated out@blah@@@"
3236 ] 3236 ]
3237 }, 3237 },
3238 { 3238 {
3239 "name": "$result", 3239 "name": "$result",
3240 "recipe_result": null, 3240 "recipe_result": null,
3241 "status_code": 0 3241 "status_code": 0
3242 } 3242 }
3243 ] 3243 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698