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

Side by Side Diff: scripts/slave/recipes/v8.expected/full_tryserver_v8_v8_linux_gcc_rel.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_MODULE[depot_tools::bot_update]/resources/bot_update.py", 6 "RECIPE_MODULE[depot_tools::bot_update]/resources/bot_update.py",
7 "--spec", 7 "--spec",
8 "cache_dir = '[GIT_CACHE]'\nsolutions = [{'deps_file': '.DEPS.git', 'manag ed': True, 'name': 'v8', 'url': 'https://chromium.googlesource.com/v8/v8'}]", 8 "cache_dir = '[GIT_CACHE]'\nsolutions = [{'deps_file': '.DEPS.git', 'manag ed': True, 'name': 'v8', 'url': 'https://chromium.googlesource.com/v8/v8'}]",
9 "--patch_root", 9 "--patch_root",
10 "v8", 10 "v8",
(...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after
241 { 241 {
242 "cmd": [ 242 "cmd": [
243 "python", 243 "python",
244 "-u", 244 "-u",
245 "RECIPE_MODULE[recipe_engine::shutil]/resources/rmtree.py", 245 "RECIPE_MODULE[recipe_engine::shutil]/resources/rmtree.py",
246 "[SLAVE_BUILD]/v8/out/gn" 246 "[SLAVE_BUILD]/v8/out/gn"
247 ], 247 ],
248 "name": "rmtree [SLAVE_BUILD]/v8/out/gn" 248 "name": "rmtree [SLAVE_BUILD]/v8/out/gn"
249 }, 249 },
250 { 250 {
251 "cmd": [
252 "python",
253 "-u",
254 "\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"
255 ],
256 "name": "calculate the number of recommended jobs",
257 "stdout": "/path/to/tmp/",
258 "~followup_annotations": [
259 "@@@STEP_LOG_LINE@python.inline@@@@",
260 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@",
261 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
262 "@@@STEP_LOG_LINE@python.inline@@@@",
263 "@@@STEP_LOG_LINE@python.inline@job_limit = 200@@@",
264 "@@@STEP_LOG_LINE@python.inline@if sys.platform.startswith('linux'):@@@",
265 "@@@STEP_LOG_LINE@python.inline@ # Use 80 for linux not to load goma back end.@@@",
266 "@@@STEP_LOG_LINE@python.inline@ job_limit = 80@@@",
267 "@@@STEP_LOG_LINE@python.inline@@@@",
268 "@@@STEP_LOG_LINE@python.inline@try:@@@",
269 "@@@STEP_LOG_LINE@python.inline@ jobs = min(job_limit, multiprocessing.cp u_count() * 10)@@@",
270 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@",
271 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@",
272 "@@@STEP_LOG_LINE@python.inline@@@@",
273 "@@@STEP_LOG_LINE@python.inline@print jobs@@@",
274 "@@@STEP_LOG_END@python.inline@@@"
275 ]
276 },
277 {
278 "cmd": [], 251 "cmd": [],
279 "name": "preprocess_for_goma" 252 "name": "preprocess_for_goma"
280 }, 253 },
281 { 254 {
282 "cmd": [ 255 "cmd": [
283 "python", 256 "python",
284 "-u", 257 "-u",
285 "[CACHE]/cipd/goma/goma_ctl.py", 258 "[CACHE]/cipd/goma/goma_ctl.py",
286 "restart" 259 "restart"
287 ], 260 ],
(...skipping 22 matching lines...) Expand all
310 "env": { 283 "env": {
311 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json" 284 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json"
312 }, 285 },
313 "name": "preprocess_for_goma.start cloudtail", 286 "name": "preprocess_for_goma.start cloudtail",
314 "~followup_annotations": [ 287 "~followup_annotations": [
315 "@@@STEP_NEST_LEVEL@1@@@" 288 "@@@STEP_NEST_LEVEL@1@@@"
316 ] 289 ]
317 }, 290 },
318 { 291 {
319 "cmd": [ 292 "cmd": [
293 "python",
294 "-u",
295 "\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"
296 ],
297 "name": "calculate the number of recommended jobs",
298 "stdout": "/path/to/tmp/",
299 "~followup_annotations": [
300 "@@@STEP_LOG_LINE@python.inline@@@@",
301 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@",
302 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
303 "@@@STEP_LOG_LINE@python.inline@@@@",
304 "@@@STEP_LOG_LINE@python.inline@job_limit = 200@@@",
305 "@@@STEP_LOG_LINE@python.inline@if sys.platform.startswith('linux'):@@@",
306 "@@@STEP_LOG_LINE@python.inline@ # Use 80 for linux not to load goma back end.@@@",
307 "@@@STEP_LOG_LINE@python.inline@ job_limit = 80@@@",
308 "@@@STEP_LOG_LINE@python.inline@@@@",
309 "@@@STEP_LOG_LINE@python.inline@try:@@@",
310 "@@@STEP_LOG_LINE@python.inline@ jobs = min(job_limit, multiprocessing.cp u_count() * 10)@@@",
311 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@",
312 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@",
313 "@@@STEP_LOG_LINE@python.inline@@@@",
314 "@@@STEP_LOG_LINE@python.inline@print jobs@@@",
315 "@@@STEP_LOG_END@python.inline@@@"
316 ]
317 },
318 {
319 "cmd": [
320 "RECIPE_PACKAGE_REPO[depot_tools]/ninja", 320 "RECIPE_PACKAGE_REPO[depot_tools]/ninja",
321 "-w", 321 "-w",
322 "dupbuild=err", 322 "dupbuild=err",
323 "-C", 323 "-C",
324 "[SLAVE_BUILD]/v8/out/Release", 324 "[SLAVE_BUILD]/v8/out/Release",
325 "-j", 325 "-j",
326 "50" 326 "50"
327 ], 327 ],
328 "env": { 328 "env": {
329 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json" 329 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json"
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
464 "@@@STEP_LOG_LINE@durations@Duration: 00:00:101@@@", 464 "@@@STEP_LOG_LINE@durations@Duration: 00:00:101@@@",
465 "@@@STEP_LOG_END@durations@@@" 465 "@@@STEP_LOG_END@durations@@@"
466 ] 466 ]
467 }, 467 },
468 { 468 {
469 "name": "$result", 469 "name": "$result",
470 "recipe_result": null, 470 "recipe_result": null,
471 "status_code": 0 471 "status_code": 0
472 } 472 }
473 ] 473 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698