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

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

Powered by Google App Engine
This is Rietveld 408576698