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

Side by Side Diff: scripts/slave/recipes/swarming/deterministic_build.expected/full_chromium_swarm_Linux_deterministic.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 "python", 4 "python",
5 "-u", 5 "-u",
6 "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py", 6 "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py",
7 "--show-path", 7 "--show-path",
8 "python", 8 "python",
9 "RECIPE_PACKAGE_REPO[build]/scripts/slave/cleanup_temp.py" 9 "RECIPE_PACKAGE_REPO[build]/scripts/slave/cleanup_temp.py"
10 ], 10 ],
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after
234 "[CACHE]/cipd/goma", 234 "[CACHE]/cipd/goma",
235 "//out/Release" 235 "//out/Release"
236 ], 236 ],
237 "cwd": "[SLAVE_BUILD]/src", 237 "cwd": "[SLAVE_BUILD]/src",
238 "env": { 238 "env": {
239 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json" 239 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json"
240 }, 240 },
241 "name": "generate_build_files" 241 "name": "generate_build_files"
242 }, 242 },
243 { 243 {
244 "cmd": [
245 "python",
246 "-u",
247 "\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"
248 ],
249 "name": "calculate the number of recommended jobs",
250 "stdout": "/path/to/tmp/",
251 "~followup_annotations": [
252 "@@@STEP_LOG_LINE@python.inline@@@@",
253 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@",
254 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
255 "@@@STEP_LOG_LINE@python.inline@@@@",
256 "@@@STEP_LOG_LINE@python.inline@job_limit = 200@@@",
257 "@@@STEP_LOG_LINE@python.inline@if sys.platform.startswith('linux'):@@@",
258 "@@@STEP_LOG_LINE@python.inline@ # Use 80 for linux not to load goma back end.@@@",
259 "@@@STEP_LOG_LINE@python.inline@ job_limit = 80@@@",
260 "@@@STEP_LOG_LINE@python.inline@@@@",
261 "@@@STEP_LOG_LINE@python.inline@try:@@@",
262 "@@@STEP_LOG_LINE@python.inline@ jobs = min(job_limit, multiprocessing.cp u_count() * 10)@@@",
263 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@",
264 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@",
265 "@@@STEP_LOG_LINE@python.inline@@@@",
266 "@@@STEP_LOG_LINE@python.inline@print jobs@@@",
267 "@@@STEP_LOG_END@python.inline@@@"
268 ]
269 },
270 {
271 "cmd": [], 244 "cmd": [],
272 "name": "preprocess_for_goma" 245 "name": "preprocess_for_goma"
273 }, 246 },
274 { 247 {
275 "cmd": [ 248 "cmd": [
276 "python", 249 "python",
277 "-u", 250 "-u",
278 "[CACHE]/cipd/goma/goma_ctl.py", 251 "[CACHE]/cipd/goma/goma_ctl.py",
279 "restart" 252 "restart"
280 ], 253 ],
(...skipping 22 matching lines...) Expand all
303 "env": { 276 "env": {
304 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json" 277 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json"
305 }, 278 },
306 "name": "preprocess_for_goma.start cloudtail", 279 "name": "preprocess_for_goma.start cloudtail",
307 "~followup_annotations": [ 280 "~followup_annotations": [
308 "@@@STEP_NEST_LEVEL@1@@@" 281 "@@@STEP_NEST_LEVEL@1@@@"
309 ] 282 ]
310 }, 283 },
311 { 284 {
312 "cmd": [ 285 "cmd": [
286 "python",
287 "-u",
288 "\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"
289 ],
290 "name": "calculate the number of recommended jobs",
291 "stdout": "/path/to/tmp/",
292 "~followup_annotations": [
293 "@@@STEP_LOG_LINE@python.inline@@@@",
294 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@",
295 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
296 "@@@STEP_LOG_LINE@python.inline@@@@",
297 "@@@STEP_LOG_LINE@python.inline@job_limit = 200@@@",
298 "@@@STEP_LOG_LINE@python.inline@if sys.platform.startswith('linux'):@@@",
299 "@@@STEP_LOG_LINE@python.inline@ # Use 80 for linux not to load goma back end.@@@",
300 "@@@STEP_LOG_LINE@python.inline@ job_limit = 80@@@",
301 "@@@STEP_LOG_LINE@python.inline@@@@",
302 "@@@STEP_LOG_LINE@python.inline@try:@@@",
303 "@@@STEP_LOG_LINE@python.inline@ jobs = min(job_limit, multiprocessing.cp u_count() * 10)@@@",
304 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@",
305 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@",
306 "@@@STEP_LOG_LINE@python.inline@@@@",
307 "@@@STEP_LOG_LINE@python.inline@print jobs@@@",
308 "@@@STEP_LOG_END@python.inline@@@"
309 ]
310 },
311 {
312 "cmd": [
313 "RECIPE_PACKAGE_REPO[depot_tools]/ninja", 313 "RECIPE_PACKAGE_REPO[depot_tools]/ninja",
314 "-j",
315 "50",
314 "-w", 316 "-w",
315 "dupbuild=err", 317 "dupbuild=err",
316 "-C", 318 "-C",
317 "[SLAVE_BUILD]/src/out/Release", 319 "[SLAVE_BUILD]/src/out/Release",
318 "-j",
319 "50",
320 "all" 320 "all"
321 ], 321 ],
322 "env": { 322 "env": {
323 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json" 323 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json"
324 }, 324 },
325 "name": "First build" 325 "name": "First build"
326 }, 326 },
327 { 327 {
328 "cmd": [], 328 "cmd": [],
329 "name": "postprocess_for_goma" 329 "name": "postprocess_for_goma"
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
380 "-u", 380 "-u",
381 "RECIPE_PACKAGE_REPO[build]/scripts/slave/upload_goma_logs.py", 381 "RECIPE_PACKAGE_REPO[build]/scripts/slave/upload_goma_logs.py",
382 "--upload-compiler-proxy-info", 382 "--upload-compiler-proxy-info",
383 "--json-status", 383 "--json-status",
384 "[CACHE]/cipd/goma/jsonstatus", 384 "[CACHE]/cipd/goma/jsonstatus",
385 "--ninja-log-outdir", 385 "--ninja-log-outdir",
386 "[SLAVE_BUILD]/src/out/Release", 386 "[SLAVE_BUILD]/src/out/Release",
387 "--ninja-log-compiler", 387 "--ninja-log-compiler",
388 "goma", 388 "goma",
389 "--ninja-log-command", 389 "--ninja-log-command",
390 "['RECIPE_PACKAGE_REPO[depot_tools]/ninja', '-w', 'dupbuild=err', '-C', '[ SLAVE_BUILD]/src/out/Release', '-j', 50, 'all']", 390 "['RECIPE_PACKAGE_REPO[depot_tools]/ninja', '-j', 50, '-w', 'dupbuild=err' , '-C', '[SLAVE_BUILD]/src/out/Release', 'all']",
391 "--ninja-log-exit-status", 391 "--ninja-log-exit-status",
392 "0", 392 "0",
393 "--buildbot-buildername", 393 "--buildbot-buildername",
394 "Linux deterministic", 394 "Linux deterministic",
395 "--buildbot-mastername", 395 "--buildbot-mastername",
396 "chromium.swarm", 396 "chromium.swarm",
397 "--buildbot-slavename", 397 "--buildbot-slavename",
398 "TestSlavename" 398 "TestSlavename"
399 ], 399 ],
400 "env": { 400 "env": {
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
581 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json" 581 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json"
582 }, 582 },
583 "name": "preprocess_for_goma.start cloudtail (2)", 583 "name": "preprocess_for_goma.start cloudtail (2)",
584 "~followup_annotations": [ 584 "~followup_annotations": [
585 "@@@STEP_NEST_LEVEL@1@@@" 585 "@@@STEP_NEST_LEVEL@1@@@"
586 ] 586 ]
587 }, 587 },
588 { 588 {
589 "cmd": [ 589 "cmd": [
590 "RECIPE_PACKAGE_REPO[depot_tools]/ninja", 590 "RECIPE_PACKAGE_REPO[depot_tools]/ninja",
591 "-j",
592 "50",
591 "-w", 593 "-w",
592 "dupbuild=err", 594 "dupbuild=err",
593 "-C", 595 "-C",
594 "[SLAVE_BUILD]/src/out/Release", 596 "[SLAVE_BUILD]/src/out/Release",
595 "-j",
596 "50",
597 "all" 597 "all"
598 ], 598 ],
599 "env": { 599 "env": {
600 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json" 600 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json"
601 }, 601 },
602 "name": "Second build" 602 "name": "Second build"
603 }, 603 },
604 { 604 {
605 "cmd": [], 605 "cmd": [],
606 "name": "postprocess_for_goma (2)" 606 "name": "postprocess_for_goma (2)"
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
657 "-u", 657 "-u",
658 "RECIPE_PACKAGE_REPO[build]/scripts/slave/upload_goma_logs.py", 658 "RECIPE_PACKAGE_REPO[build]/scripts/slave/upload_goma_logs.py",
659 "--upload-compiler-proxy-info", 659 "--upload-compiler-proxy-info",
660 "--json-status", 660 "--json-status",
661 "[CACHE]/cipd/goma/jsonstatus", 661 "[CACHE]/cipd/goma/jsonstatus",
662 "--ninja-log-outdir", 662 "--ninja-log-outdir",
663 "[SLAVE_BUILD]/src/out/Release", 663 "[SLAVE_BUILD]/src/out/Release",
664 "--ninja-log-compiler", 664 "--ninja-log-compiler",
665 "goma", 665 "goma",
666 "--ninja-log-command", 666 "--ninja-log-command",
667 "['RECIPE_PACKAGE_REPO[depot_tools]/ninja', '-w', 'dupbuild=err', '-C', '[ SLAVE_BUILD]/src/out/Release', '-j', 50, 'all']", 667 "['RECIPE_PACKAGE_REPO[depot_tools]/ninja', '-j', 50, '-w', 'dupbuild=err' , '-C', '[SLAVE_BUILD]/src/out/Release', 'all']",
668 "--ninja-log-exit-status", 668 "--ninja-log-exit-status",
669 "0", 669 "0",
670 "--buildbot-buildername", 670 "--buildbot-buildername",
671 "Linux deterministic", 671 "Linux deterministic",
672 "--buildbot-mastername", 672 "--buildbot-mastername",
673 "chromium.swarm", 673 "chromium.swarm",
674 "--buildbot-slavename", 674 "--buildbot-slavename",
675 "TestSlavename" 675 "TestSlavename"
676 ], 676 ],
677 "env": { 677 "env": {
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
775 ], 775 ],
776 "cwd": "[SLAVE_BUILD]", 776 "cwd": "[SLAVE_BUILD]",
777 "name": "compare_build_artifacts" 777 "name": "compare_build_artifacts"
778 }, 778 },
779 { 779 {
780 "name": "$result", 780 "name": "$result",
781 "recipe_result": null, 781 "recipe_result": null,
782 "status_code": 0 782 "status_code": 0
783 } 783 }
784 ] 784 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698