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

Side by Side Diff: scripts/slave/recipes/v8.expected/full_tryserver_v8_v8_win64_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 "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 262 matching lines...) Expand 10 before | Expand all | Expand 10 after
273 { 273 {
274 "cmd": [ 274 "cmd": [
275 "python", 275 "python",
276 "-u", 276 "-u",
277 "RECIPE_MODULE[recipe_engine::shutil]\\resources\\rmtree.py", 277 "RECIPE_MODULE[recipe_engine::shutil]\\resources\\rmtree.py",
278 "[SLAVE_BUILD]\\v8\\out\\gn" 278 "[SLAVE_BUILD]\\v8\\out\\gn"
279 ], 279 ],
280 "name": "rmtree [SLAVE_BUILD]\\v8\\out\\gn" 280 "name": "rmtree [SLAVE_BUILD]\\v8\\out\\gn"
281 }, 281 },
282 { 282 {
283 "cmd": [
284 "python",
285 "-u",
286 "\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"
287 ],
288 "name": "calculate the number of recommended jobs",
289 "stdout": "/path/to/tmp/",
290 "~followup_annotations": [
291 "@@@STEP_LOG_LINE@python.inline@@@@",
292 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@",
293 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
294 "@@@STEP_LOG_LINE@python.inline@@@@",
295 "@@@STEP_LOG_LINE@python.inline@job_limit = 200@@@",
296 "@@@STEP_LOG_LINE@python.inline@if sys.platform.startswith('linux'):@@@",
297 "@@@STEP_LOG_LINE@python.inline@ # Use 80 for linux not to load goma back end.@@@",
298 "@@@STEP_LOG_LINE@python.inline@ job_limit = 80@@@",
299 "@@@STEP_LOG_LINE@python.inline@@@@",
300 "@@@STEP_LOG_LINE@python.inline@try:@@@",
301 "@@@STEP_LOG_LINE@python.inline@ jobs = min(job_limit, multiprocessing.cp u_count() * 10)@@@",
302 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@",
303 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@",
304 "@@@STEP_LOG_LINE@python.inline@@@@",
305 "@@@STEP_LOG_LINE@python.inline@print jobs@@@",
306 "@@@STEP_LOG_END@python.inline@@@"
307 ]
308 },
309 {
310 "cmd": [], 283 "cmd": [],
311 "name": "preprocess_for_goma" 284 "name": "preprocess_for_goma"
312 }, 285 },
313 { 286 {
314 "cmd": [ 287 "cmd": [
315 "python", 288 "python",
316 "-u", 289 "-u",
317 "[CACHE]\\cipd\\goma\\goma_ctl.py", 290 "[CACHE]\\cipd\\goma\\goma_ctl.py",
318 "restart" 291 "restart"
319 ], 292 ],
(...skipping 22 matching lines...) Expand all
342 "env": { 315 "env": {
343 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "C:\\creds\\service_accounts\\service-ac count-goma-client.json" 316 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "C:\\creds\\service_accounts\\service-ac count-goma-client.json"
344 }, 317 },
345 "name": "preprocess_for_goma.start cloudtail", 318 "name": "preprocess_for_goma.start cloudtail",
346 "~followup_annotations": [ 319 "~followup_annotations": [
347 "@@@STEP_NEST_LEVEL@1@@@" 320 "@@@STEP_NEST_LEVEL@1@@@"
348 ] 321 ]
349 }, 322 },
350 { 323 {
351 "cmd": [ 324 "cmd": [
325 "python",
326 "-u",
327 "\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"
328 ],
329 "name": "calculate the number of recommended jobs",
330 "stdout": "/path/to/tmp/",
331 "~followup_annotations": [
332 "@@@STEP_LOG_LINE@python.inline@@@@",
333 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@",
334 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
335 "@@@STEP_LOG_LINE@python.inline@@@@",
336 "@@@STEP_LOG_LINE@python.inline@job_limit = 200@@@",
337 "@@@STEP_LOG_LINE@python.inline@if sys.platform.startswith('linux'):@@@",
338 "@@@STEP_LOG_LINE@python.inline@ # Use 80 for linux not to load goma back end.@@@",
339 "@@@STEP_LOG_LINE@python.inline@ job_limit = 80@@@",
340 "@@@STEP_LOG_LINE@python.inline@@@@",
341 "@@@STEP_LOG_LINE@python.inline@try:@@@",
342 "@@@STEP_LOG_LINE@python.inline@ jobs = min(job_limit, multiprocessing.cp u_count() * 10)@@@",
343 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@",
344 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@",
345 "@@@STEP_LOG_LINE@python.inline@@@@",
346 "@@@STEP_LOG_LINE@python.inline@print jobs@@@",
347 "@@@STEP_LOG_END@python.inline@@@"
348 ]
349 },
350 {
351 "cmd": [
352 "RECIPE_PACKAGE_REPO[depot_tools]\\ninja.exe", 352 "RECIPE_PACKAGE_REPO[depot_tools]\\ninja.exe",
353 "-w", 353 "-w",
354 "dupbuild=err", 354 "dupbuild=err",
355 "-C", 355 "-C",
356 "[SLAVE_BUILD]\\v8\\out\\Debug_x64", 356 "[SLAVE_BUILD]\\v8\\out\\Debug_x64",
357 "-j", 357 "-j",
358 "50" 358 "50"
359 ], 359 ],
360 "env": { 360 "env": {
361 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "C:\\creds\\service_accounts\\service-ac count-goma-client.json" 361 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "C:\\creds\\service_accounts\\service-ac count-goma-client.json"
(...skipping 833 matching lines...) Expand 10 before | Expand all | Expand 10 after
1195 "@@@STEP_LOG_LINE@durations@Duration: 00:00:101@@@", 1195 "@@@STEP_LOG_LINE@durations@Duration: 00:00:101@@@",
1196 "@@@STEP_LOG_END@durations@@@" 1196 "@@@STEP_LOG_END@durations@@@"
1197 ] 1197 ]
1198 }, 1198 },
1199 { 1199 {
1200 "name": "$result", 1200 "name": "$result",
1201 "recipe_result": null, 1201 "recipe_result": null,
1202 "status_code": 0 1202 "status_code": 0
1203 } 1203 }
1204 ] 1204 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698