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

Side by Side Diff: scripts/slave/recipes/webrtc/standalone.expected/tryserver_webrtc_mac_baremetal.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 "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 231 matching lines...) Expand 10 before | Expand all | Expand 10 after
242 }, 242 },
243 "name": "clang_revision", 243 "name": "clang_revision",
244 "~followup_annotations": [ 244 "~followup_annotations": [
245 "@@@STEP_LOG_LINE@json.output@{@@@", 245 "@@@STEP_LOG_LINE@json.output@{@@@",
246 "@@@STEP_LOG_LINE@json.output@ \"clang_revision\": \"123456-7\"@@@", 246 "@@@STEP_LOG_LINE@json.output@ \"clang_revision\": \"123456-7\"@@@",
247 "@@@STEP_LOG_LINE@json.output@}@@@", 247 "@@@STEP_LOG_LINE@json.output@}@@@",
248 "@@@STEP_LOG_END@json.output@@@" 248 "@@@STEP_LOG_END@json.output@@@"
249 ] 249 ]
250 }, 250 },
251 { 251 {
252 "cmd": [
253 "python",
254 "-u",
255 "\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"
256 ],
257 "name": "calculate the number of recommended jobs",
258 "stdout": "/path/to/tmp/",
259 "~followup_annotations": [
260 "@@@STEP_LOG_LINE@python.inline@@@@",
261 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@",
262 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
263 "@@@STEP_LOG_LINE@python.inline@@@@",
264 "@@@STEP_LOG_LINE@python.inline@job_limit = 200@@@",
265 "@@@STEP_LOG_LINE@python.inline@if sys.platform.startswith('linux'):@@@",
266 "@@@STEP_LOG_LINE@python.inline@ # Use 80 for linux not to load goma back end.@@@",
267 "@@@STEP_LOG_LINE@python.inline@ job_limit = 80@@@",
268 "@@@STEP_LOG_LINE@python.inline@@@@",
269 "@@@STEP_LOG_LINE@python.inline@try:@@@",
270 "@@@STEP_LOG_LINE@python.inline@ jobs = min(job_limit, multiprocessing.cp u_count() * 10)@@@",
271 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@",
272 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@",
273 "@@@STEP_LOG_LINE@python.inline@@@@",
274 "@@@STEP_LOG_LINE@python.inline@print jobs@@@",
275 "@@@STEP_LOG_END@python.inline@@@"
276 ]
277 },
278 {
279 "cmd": [], 252 "cmd": [],
280 "name": "preprocess_for_goma" 253 "name": "preprocess_for_goma"
281 }, 254 },
282 { 255 {
283 "cmd": [ 256 "cmd": [
284 "python", 257 "python",
285 "-u", 258 "-u",
286 "[CACHE]/cipd/goma/goma_ctl.py", 259 "[CACHE]/cipd/goma/goma_ctl.py",
287 "restart" 260 "restart"
288 ], 261 ],
(...skipping 22 matching lines...) Expand all
311 "env": { 284 "env": {
312 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json" 285 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json"
313 }, 286 },
314 "name": "preprocess_for_goma.start cloudtail", 287 "name": "preprocess_for_goma.start cloudtail",
315 "~followup_annotations": [ 288 "~followup_annotations": [
316 "@@@STEP_NEST_LEVEL@1@@@" 289 "@@@STEP_NEST_LEVEL@1@@@"
317 ] 290 ]
318 }, 291 },
319 { 292 {
320 "cmd": [ 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": [
321 "RECIPE_PACKAGE_REPO[depot_tools]/ninja", 321 "RECIPE_PACKAGE_REPO[depot_tools]/ninja",
322 "-j",
323 "50",
322 "-w", 324 "-w",
323 "dupbuild=err", 325 "dupbuild=err",
324 "-C", 326 "-C",
325 "[BUILDER_CACHE]/mac_baremetal/src/out/Release", 327 "[BUILDER_CACHE]/mac_baremetal/src/out/Release"
326 "-j",
327 "50"
328 ], 328 ],
329 "env": { 329 "env": {
330 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json" 330 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json"
331 }, 331 },
332 "name": "compile with ninja" 332 "name": "compile with ninja"
333 }, 333 },
334 { 334 {
335 "cmd": [], 335 "cmd": [],
336 "name": "postprocess_for_goma" 336 "name": "postprocess_for_goma"
337 }, 337 },
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
387 "-u", 387 "-u",
388 "RECIPE_PACKAGE_REPO[build]/scripts/slave/upload_goma_logs.py", 388 "RECIPE_PACKAGE_REPO[build]/scripts/slave/upload_goma_logs.py",
389 "--upload-compiler-proxy-info", 389 "--upload-compiler-proxy-info",
390 "--json-status", 390 "--json-status",
391 "[CACHE]/cipd/goma/jsonstatus", 391 "[CACHE]/cipd/goma/jsonstatus",
392 "--ninja-log-outdir", 392 "--ninja-log-outdir",
393 "[BUILDER_CACHE]/mac_baremetal/src/out/Release", 393 "[BUILDER_CACHE]/mac_baremetal/src/out/Release",
394 "--ninja-log-compiler", 394 "--ninja-log-compiler",
395 "goma-clang", 395 "goma-clang",
396 "--ninja-log-command", 396 "--ninja-log-command",
397 "['RECIPE_PACKAGE_REPO[depot_tools]/ninja', '-w', 'dupbuild=err', '-C', '[ BUILDER_CACHE]/mac_baremetal/src/out/Release', '-j', 50]", 397 "['RECIPE_PACKAGE_REPO[depot_tools]/ninja', '-j', 50, '-w', 'dupbuild=err' , '-C', '[BUILDER_CACHE]/mac_baremetal/src/out/Release']",
398 "--ninja-log-exit-status", 398 "--ninja-log-exit-status",
399 "0", 399 "0",
400 "--buildbot-buildername", 400 "--buildbot-buildername",
401 "mac_baremetal", 401 "mac_baremetal",
402 "--buildbot-mastername", 402 "--buildbot-mastername",
403 "tryserver.webrtc", 403 "tryserver.webrtc",
404 "--buildbot-slavename", 404 "--buildbot-slavename",
405 "slavename" 405 "slavename"
406 ], 406 ],
407 "env": { 407 "env": {
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
507 ], 507 ],
508 "cwd": "[BUILDER_CACHE]/mac_baremetal", 508 "cwd": "[BUILDER_CACHE]/mac_baremetal",
509 "name": "video_capture_tests" 509 "name": "video_capture_tests"
510 }, 510 },
511 { 511 {
512 "name": "$result", 512 "name": "$result",
513 "recipe_result": null, 513 "recipe_result": null,
514 "status_code": 0 514 "status_code": 0
515 } 515 }
516 ] 516 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698