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

Side by Side Diff: scripts/slave/recipes/webrtc/ios.expected/trybot.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 249 matching lines...) Expand 10 before | Expand all | Expand 10 after
260 }, 260 },
261 "name": "clang_revision", 261 "name": "clang_revision",
262 "~followup_annotations": [ 262 "~followup_annotations": [
263 "@@@STEP_LOG_LINE@json.output@{@@@", 263 "@@@STEP_LOG_LINE@json.output@{@@@",
264 "@@@STEP_LOG_LINE@json.output@ \"clang_revision\": \"123456-7\"@@@", 264 "@@@STEP_LOG_LINE@json.output@ \"clang_revision\": \"123456-7\"@@@",
265 "@@@STEP_LOG_LINE@json.output@}@@@", 265 "@@@STEP_LOG_LINE@json.output@}@@@",
266 "@@@STEP_LOG_END@json.output@@@" 266 "@@@STEP_LOG_END@json.output@@@"
267 ] 267 ]
268 }, 268 },
269 { 269 {
270 "cmd": [
271 "python",
272 "-u",
273 "\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"
274 ],
275 "name": "calculate the number of recommended jobs",
276 "stdout": "/path/to/tmp/",
277 "~followup_annotations": [
278 "@@@STEP_LOG_LINE@python.inline@@@@",
279 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@",
280 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
281 "@@@STEP_LOG_LINE@python.inline@@@@",
282 "@@@STEP_LOG_LINE@python.inline@job_limit = 200@@@",
283 "@@@STEP_LOG_LINE@python.inline@if sys.platform.startswith('linux'):@@@",
284 "@@@STEP_LOG_LINE@python.inline@ # Use 80 for linux not to load goma back end.@@@",
285 "@@@STEP_LOG_LINE@python.inline@ job_limit = 80@@@",
286 "@@@STEP_LOG_LINE@python.inline@@@@",
287 "@@@STEP_LOG_LINE@python.inline@try:@@@",
288 "@@@STEP_LOG_LINE@python.inline@ jobs = min(job_limit, multiprocessing.cp u_count() * 10)@@@",
289 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@",
290 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@",
291 "@@@STEP_LOG_LINE@python.inline@@@@",
292 "@@@STEP_LOG_LINE@python.inline@print jobs@@@",
293 "@@@STEP_LOG_END@python.inline@@@"
294 ]
295 },
296 {
297 "cmd": [], 270 "cmd": [],
298 "name": "preprocess_for_goma" 271 "name": "preprocess_for_goma"
299 }, 272 },
300 { 273 {
301 "cmd": [ 274 "cmd": [
302 "python", 275 "python",
303 "-u", 276 "-u",
304 "[CACHE]/cipd/goma/goma_ctl.py", 277 "[CACHE]/cipd/goma/goma_ctl.py",
305 "restart" 278 "restart"
306 ], 279 ],
(...skipping 22 matching lines...) Expand all
329 "env": { 302 "env": {
330 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json" 303 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json"
331 }, 304 },
332 "name": "preprocess_for_goma.start cloudtail", 305 "name": "preprocess_for_goma.start cloudtail",
333 "~followup_annotations": [ 306 "~followup_annotations": [
334 "@@@STEP_NEST_LEVEL@1@@@" 307 "@@@STEP_NEST_LEVEL@1@@@"
335 ] 308 ]
336 }, 309 },
337 { 310 {
338 "cmd": [ 311 "cmd": [
312 "python",
313 "-u",
314 "\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"
315 ],
316 "name": "calculate the number of recommended jobs",
317 "stdout": "/path/to/tmp/",
318 "~followup_annotations": [
319 "@@@STEP_LOG_LINE@python.inline@@@@",
320 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@",
321 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
322 "@@@STEP_LOG_LINE@python.inline@@@@",
323 "@@@STEP_LOG_LINE@python.inline@job_limit = 200@@@",
324 "@@@STEP_LOG_LINE@python.inline@if sys.platform.startswith('linux'):@@@",
325 "@@@STEP_LOG_LINE@python.inline@ # Use 80 for linux not to load goma back end.@@@",
326 "@@@STEP_LOG_LINE@python.inline@ job_limit = 80@@@",
327 "@@@STEP_LOG_LINE@python.inline@@@@",
328 "@@@STEP_LOG_LINE@python.inline@try:@@@",
329 "@@@STEP_LOG_LINE@python.inline@ jobs = min(job_limit, multiprocessing.cp u_count() * 10)@@@",
330 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@",
331 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@",
332 "@@@STEP_LOG_LINE@python.inline@@@@",
333 "@@@STEP_LOG_LINE@python.inline@print jobs@@@",
334 "@@@STEP_LOG_END@python.inline@@@"
335 ]
336 },
337 {
338 "cmd": [
339 "RECIPE_PACKAGE_REPO[depot_tools]/ninja", 339 "RECIPE_PACKAGE_REPO[depot_tools]/ninja",
340 "-w", 340 "-w",
341 "dupbuild=err", 341 "dupbuild=err",
342 "-C", 342 "-C",
343 "[BUILDER_CACHE]/ios/src/out/Release-iphoneos", 343 "[BUILDER_CACHE]/ios/src/out/Release-iphoneos",
344 "All",
344 "-j", 345 "-j",
345 "50", 346 "50"
346 "All"
347 ], 347 ],
348 "cwd": "[BUILDER_CACHE]/ios/src/out/Release-iphoneos", 348 "cwd": "[BUILDER_CACHE]/ios/src/out/Release-iphoneos",
349 "env": { 349 "env": {
350 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json" 350 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json"
351 }, 351 },
352 "name": "compile with ninja" 352 "name": "compile with ninja"
353 }, 353 },
354 { 354 {
355 "cmd": [], 355 "cmd": [],
356 "name": "postprocess_for_goma" 356 "name": "postprocess_for_goma"
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
407 "-u", 407 "-u",
408 "RECIPE_PACKAGE_REPO[build]/scripts/slave/upload_goma_logs.py", 408 "RECIPE_PACKAGE_REPO[build]/scripts/slave/upload_goma_logs.py",
409 "--upload-compiler-proxy-info", 409 "--upload-compiler-proxy-info",
410 "--json-status", 410 "--json-status",
411 "[CACHE]/cipd/goma/jsonstatus", 411 "[CACHE]/cipd/goma/jsonstatus",
412 "--ninja-log-outdir", 412 "--ninja-log-outdir",
413 "[BUILDER_CACHE]/ios/src/out/Release-iphoneos", 413 "[BUILDER_CACHE]/ios/src/out/Release-iphoneos",
414 "--ninja-log-compiler", 414 "--ninja-log-compiler",
415 "goma-clang", 415 "goma-clang",
416 "--ninja-log-command", 416 "--ninja-log-command",
417 "['RECIPE_PACKAGE_REPO[depot_tools]/ninja', '-w', 'dupbuild=err', '-C', '[ BUILDER_CACHE]/ios/src/out/Release-iphoneos', '-j', 50, 'All']", 417 "['RECIPE_PACKAGE_REPO[depot_tools]/ninja', '-w', 'dupbuild=err', '-C', '[ BUILDER_CACHE]/ios/src/out/Release-iphoneos', 'All', '-j', 50]",
418 "--ninja-log-exit-status", 418 "--ninja-log-exit-status",
419 "0", 419 "0",
420 "--buildbot-buildername", 420 "--buildbot-buildername",
421 "ios", 421 "ios",
422 "--buildbot-mastername", 422 "--buildbot-mastername",
423 "chromium.fake", 423 "chromium.fake",
424 "--buildbot-slavename", 424 "--buildbot-slavename",
425 "fake-vm" 425 "fake-vm"
426 ], 426 ],
427 "env": { 427 "env": {
(...skipping 17 matching lines...) Expand all
445 "~followup_annotations": [ 445 "~followup_annotations": [
446 "@@@STEP_NEST_LEVEL@1@@@" 446 "@@@STEP_NEST_LEVEL@1@@@"
447 ] 447 ]
448 }, 448 },
449 { 449 {
450 "name": "$result", 450 "name": "$result",
451 "recipe_result": null, 451 "recipe_result": null,
452 "status_code": 0 452 "status_code": 0
453 } 453 }
454 ] 454 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698