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

Side by Side Diff: scripts/slave/recipes/v8.expected/full_tryserver_v8_v8_linux64_avx2_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_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 251 matching lines...) Expand 10 before | Expand all | Expand 10 after
262 { 262 {
263 "cmd": [ 263 "cmd": [
264 "python", 264 "python",
265 "-u", 265 "-u",
266 "RECIPE_MODULE[recipe_engine::shutil]/resources/rmtree.py", 266 "RECIPE_MODULE[recipe_engine::shutil]/resources/rmtree.py",
267 "[SLAVE_BUILD]/v8/out/gn" 267 "[SLAVE_BUILD]/v8/out/gn"
268 ], 268 ],
269 "name": "rmtree [SLAVE_BUILD]/v8/out/gn" 269 "name": "rmtree [SLAVE_BUILD]/v8/out/gn"
270 }, 270 },
271 { 271 {
272 "cmd": [
273 "python",
274 "-u",
275 "\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"
276 ],
277 "name": "calculate the number of recommended jobs",
278 "stdout": "/path/to/tmp/",
279 "~followup_annotations": [
280 "@@@STEP_LOG_LINE@python.inline@@@@",
281 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@",
282 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
283 "@@@STEP_LOG_LINE@python.inline@@@@",
284 "@@@STEP_LOG_LINE@python.inline@job_limit = 200@@@",
285 "@@@STEP_LOG_LINE@python.inline@if sys.platform.startswith('linux'):@@@",
286 "@@@STEP_LOG_LINE@python.inline@ # Use 80 for linux not to load goma back end.@@@",
287 "@@@STEP_LOG_LINE@python.inline@ job_limit = 80@@@",
288 "@@@STEP_LOG_LINE@python.inline@@@@",
289 "@@@STEP_LOG_LINE@python.inline@try:@@@",
290 "@@@STEP_LOG_LINE@python.inline@ jobs = min(job_limit, multiprocessing.cp u_count() * 10)@@@",
291 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@",
292 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@",
293 "@@@STEP_LOG_LINE@python.inline@@@@",
294 "@@@STEP_LOG_LINE@python.inline@print jobs@@@",
295 "@@@STEP_LOG_END@python.inline@@@"
296 ]
297 },
298 {
299 "cmd": [], 272 "cmd": [],
300 "name": "preprocess_for_goma" 273 "name": "preprocess_for_goma"
301 }, 274 },
302 { 275 {
303 "cmd": [ 276 "cmd": [
304 "python", 277 "python",
305 "-u", 278 "-u",
306 "[CACHE]/cipd/goma/goma_ctl.py", 279 "[CACHE]/cipd/goma/goma_ctl.py",
307 "restart" 280 "restart"
308 ], 281 ],
(...skipping 22 matching lines...) Expand all
331 "env": { 304 "env": {
332 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json" 305 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json"
333 }, 306 },
334 "name": "preprocess_for_goma.start cloudtail", 307 "name": "preprocess_for_goma.start cloudtail",
335 "~followup_annotations": [ 308 "~followup_annotations": [
336 "@@@STEP_NEST_LEVEL@1@@@" 309 "@@@STEP_NEST_LEVEL@1@@@"
337 ] 310 ]
338 }, 311 },
339 { 312 {
340 "cmd": [ 313 "cmd": [
314 "python",
315 "-u",
316 "\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"
317 ],
318 "name": "calculate the number of recommended jobs",
319 "stdout": "/path/to/tmp/",
320 "~followup_annotations": [
321 "@@@STEP_LOG_LINE@python.inline@@@@",
322 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@",
323 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
324 "@@@STEP_LOG_LINE@python.inline@@@@",
325 "@@@STEP_LOG_LINE@python.inline@job_limit = 200@@@",
326 "@@@STEP_LOG_LINE@python.inline@if sys.platform.startswith('linux'):@@@",
327 "@@@STEP_LOG_LINE@python.inline@ # Use 80 for linux not to load goma back end.@@@",
328 "@@@STEP_LOG_LINE@python.inline@ job_limit = 80@@@",
329 "@@@STEP_LOG_LINE@python.inline@@@@",
330 "@@@STEP_LOG_LINE@python.inline@try:@@@",
331 "@@@STEP_LOG_LINE@python.inline@ jobs = min(job_limit, multiprocessing.cp u_count() * 10)@@@",
332 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@",
333 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@",
334 "@@@STEP_LOG_LINE@python.inline@@@@",
335 "@@@STEP_LOG_LINE@python.inline@print jobs@@@",
336 "@@@STEP_LOG_END@python.inline@@@"
337 ]
338 },
339 {
340 "cmd": [
341 "RECIPE_PACKAGE_REPO[depot_tools]/ninja", 341 "RECIPE_PACKAGE_REPO[depot_tools]/ninja",
342 "-w", 342 "-w",
343 "dupbuild=err", 343 "dupbuild=err",
344 "-C", 344 "-C",
345 "[SLAVE_BUILD]/v8/out/Debug", 345 "[SLAVE_BUILD]/v8/out/Debug",
346 "-j", 346 "-j",
347 "50" 347 "50"
348 ], 348 ],
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"
(...skipping 405 matching lines...) Expand 10 before | Expand all | Expand 10 after
756 "@@@STEP_LOG_LINE@durations@Duration: 00:00:101@@@", 756 "@@@STEP_LOG_LINE@durations@Duration: 00:00:101@@@",
757 "@@@STEP_LOG_END@durations@@@" 757 "@@@STEP_LOG_END@durations@@@"
758 ] 758 ]
759 }, 759 },
760 { 760 {
761 "name": "$result", 761 "name": "$result",
762 "recipe_result": null, 762 "recipe_result": null,
763 "status_code": 0 763 "status_code": 0
764 } 764 }
765 ] 765 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698