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

Side by Side Diff: scripts/slave/recipes/v8.expected/full_client_v8_V8_Win64___clang.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 "python", 4 "python",
5 "-u", 5 "-u",
6 "RECIPE_PACKAGE_REPO[build]\\scripts\\slave\\kill_processes.py" 6 "RECIPE_PACKAGE_REPO[build]\\scripts\\slave\\kill_processes.py"
7 ], 7 ],
8 "name": "taskkill" 8 "name": "taskkill"
9 }, 9 },
10 { 10 {
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after
265 }, 265 },
266 "name": "clang_revision", 266 "name": "clang_revision",
267 "~followup_annotations": [ 267 "~followup_annotations": [
268 "@@@STEP_LOG_LINE@json.output@{@@@", 268 "@@@STEP_LOG_LINE@json.output@{@@@",
269 "@@@STEP_LOG_LINE@json.output@ \"clang_revision\": \"123456-7\"@@@", 269 "@@@STEP_LOG_LINE@json.output@ \"clang_revision\": \"123456-7\"@@@",
270 "@@@STEP_LOG_LINE@json.output@}@@@", 270 "@@@STEP_LOG_LINE@json.output@}@@@",
271 "@@@STEP_LOG_END@json.output@@@" 271 "@@@STEP_LOG_END@json.output@@@"
272 ] 272 ]
273 }, 273 },
274 { 274 {
275 "cmd": [
276 "python",
277 "-u",
278 "\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"
279 ],
280 "name": "calculate the number of recommended jobs",
281 "stdout": "/path/to/tmp/",
282 "~followup_annotations": [
283 "@@@STEP_LOG_LINE@python.inline@@@@",
284 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@",
285 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
286 "@@@STEP_LOG_LINE@python.inline@@@@",
287 "@@@STEP_LOG_LINE@python.inline@job_limit = 200@@@",
288 "@@@STEP_LOG_LINE@python.inline@if sys.platform.startswith('linux'):@@@",
289 "@@@STEP_LOG_LINE@python.inline@ # Use 80 for linux not to load goma back end.@@@",
290 "@@@STEP_LOG_LINE@python.inline@ job_limit = 80@@@",
291 "@@@STEP_LOG_LINE@python.inline@@@@",
292 "@@@STEP_LOG_LINE@python.inline@try:@@@",
293 "@@@STEP_LOG_LINE@python.inline@ jobs = min(job_limit, multiprocessing.cp u_count() * 10)@@@",
294 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@",
295 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@",
296 "@@@STEP_LOG_LINE@python.inline@@@@",
297 "@@@STEP_LOG_LINE@python.inline@print jobs@@@",
298 "@@@STEP_LOG_END@python.inline@@@"
299 ]
300 },
301 {
302 "cmd": [], 275 "cmd": [],
303 "name": "preprocess_for_goma" 276 "name": "preprocess_for_goma"
304 }, 277 },
305 { 278 {
306 "cmd": [ 279 "cmd": [
307 "python", 280 "python",
308 "-u", 281 "-u",
309 "[CACHE]\\cipd\\goma\\goma_ctl.py", 282 "[CACHE]\\cipd\\goma\\goma_ctl.py",
310 "restart" 283 "restart"
311 ], 284 ],
(...skipping 22 matching lines...) Expand all
334 "env": { 307 "env": {
335 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "C:\\creds\\service_accounts\\service-ac count-goma-client.json" 308 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "C:\\creds\\service_accounts\\service-ac count-goma-client.json"
336 }, 309 },
337 "name": "preprocess_for_goma.start cloudtail", 310 "name": "preprocess_for_goma.start cloudtail",
338 "~followup_annotations": [ 311 "~followup_annotations": [
339 "@@@STEP_NEST_LEVEL@1@@@" 312 "@@@STEP_NEST_LEVEL@1@@@"
340 ] 313 ]
341 }, 314 },
342 { 315 {
343 "cmd": [ 316 "cmd": [
317 "python",
318 "-u",
319 "\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"
320 ],
321 "name": "calculate the number of recommended jobs",
322 "stdout": "/path/to/tmp/",
323 "~followup_annotations": [
324 "@@@STEP_LOG_LINE@python.inline@@@@",
325 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@",
326 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
327 "@@@STEP_LOG_LINE@python.inline@@@@",
328 "@@@STEP_LOG_LINE@python.inline@job_limit = 200@@@",
329 "@@@STEP_LOG_LINE@python.inline@if sys.platform.startswith('linux'):@@@",
330 "@@@STEP_LOG_LINE@python.inline@ # Use 80 for linux not to load goma back end.@@@",
331 "@@@STEP_LOG_LINE@python.inline@ job_limit = 80@@@",
332 "@@@STEP_LOG_LINE@python.inline@@@@",
333 "@@@STEP_LOG_LINE@python.inline@try:@@@",
334 "@@@STEP_LOG_LINE@python.inline@ jobs = min(job_limit, multiprocessing.cp u_count() * 10)@@@",
335 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@",
336 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@",
337 "@@@STEP_LOG_LINE@python.inline@@@@",
338 "@@@STEP_LOG_LINE@python.inline@print jobs@@@",
339 "@@@STEP_LOG_END@python.inline@@@"
340 ]
341 },
342 {
343 "cmd": [
344 "RECIPE_PACKAGE_REPO[depot_tools]\\ninja.exe", 344 "RECIPE_PACKAGE_REPO[depot_tools]\\ninja.exe",
345 "-w", 345 "-w",
346 "dupbuild=err", 346 "dupbuild=err",
347 "-C", 347 "-C",
348 "[SLAVE_BUILD]\\v8\\out\\Release_x64", 348 "[SLAVE_BUILD]\\v8\\out\\Release_x64",
349 "-j", 349 "-j",
350 "50" 350 "50"
351 ], 351 ],
352 "env": { 352 "env": {
353 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "C:\\creds\\service_accounts\\service-ac count-goma-client.json" 353 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "C:\\creds\\service_accounts\\service-ac count-goma-client.json"
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
448 "~followup_annotations": [ 448 "~followup_annotations": [
449 "@@@STEP_NEST_LEVEL@1@@@" 449 "@@@STEP_NEST_LEVEL@1@@@"
450 ] 450 ]
451 }, 451 },
452 { 452 {
453 "name": "$result", 453 "name": "$result",
454 "recipe_result": null, 454 "recipe_result": null,
455 "status_code": 0 455 "status_code": 0
456 } 456 }
457 ] 457 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698