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

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

Powered by Google App Engine
This is Rietveld 408576698