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

Side by Side Diff: scripts/slave/recipes/v8.expected/full_client_dart_fyi_v8_linux_release.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 225 matching lines...) Expand 10 before | Expand all | Expand 10 after
236 { 236 {
237 "cmd": [ 237 "cmd": [
238 "python", 238 "python",
239 "-u", 239 "-u",
240 "RECIPE_MODULE[recipe_engine::shutil]/resources/rmtree.py", 240 "RECIPE_MODULE[recipe_engine::shutil]/resources/rmtree.py",
241 "[SLAVE_BUILD]/v8/out/gn" 241 "[SLAVE_BUILD]/v8/out/gn"
242 ], 242 ],
243 "name": "rmtree [SLAVE_BUILD]/v8/out/gn" 243 "name": "rmtree [SLAVE_BUILD]/v8/out/gn"
244 }, 244 },
245 { 245 {
246 "cmd": [
247 "python",
248 "-u",
249 "\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"
250 ],
251 "name": "calculate the number of recommended jobs",
252 "stdout": "/path/to/tmp/",
253 "~followup_annotations": [
254 "@@@STEP_LOG_LINE@python.inline@@@@",
255 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@",
256 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
257 "@@@STEP_LOG_LINE@python.inline@@@@",
258 "@@@STEP_LOG_LINE@python.inline@job_limit = 200@@@",
259 "@@@STEP_LOG_LINE@python.inline@if sys.platform.startswith('linux'):@@@",
260 "@@@STEP_LOG_LINE@python.inline@ # Use 80 for linux not to load goma back end.@@@",
261 "@@@STEP_LOG_LINE@python.inline@ job_limit = 80@@@",
262 "@@@STEP_LOG_LINE@python.inline@@@@",
263 "@@@STEP_LOG_LINE@python.inline@try:@@@",
264 "@@@STEP_LOG_LINE@python.inline@ jobs = min(job_limit, multiprocessing.cp u_count() * 10)@@@",
265 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@",
266 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@",
267 "@@@STEP_LOG_LINE@python.inline@@@@",
268 "@@@STEP_LOG_LINE@python.inline@print jobs@@@",
269 "@@@STEP_LOG_END@python.inline@@@"
270 ]
271 },
272 {
273 "cmd": [], 246 "cmd": [],
274 "name": "preprocess_for_goma" 247 "name": "preprocess_for_goma"
275 }, 248 },
276 { 249 {
277 "cmd": [ 250 "cmd": [
278 "python", 251 "python",
279 "-u", 252 "-u",
280 "[CACHE]/cipd/goma/goma_ctl.py", 253 "[CACHE]/cipd/goma/goma_ctl.py",
281 "restart" 254 "restart"
282 ], 255 ],
(...skipping 22 matching lines...) Expand all
305 "env": { 278 "env": {
306 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json" 279 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json"
307 }, 280 },
308 "name": "preprocess_for_goma.start cloudtail", 281 "name": "preprocess_for_goma.start cloudtail",
309 "~followup_annotations": [ 282 "~followup_annotations": [
310 "@@@STEP_NEST_LEVEL@1@@@" 283 "@@@STEP_NEST_LEVEL@1@@@"
311 ] 284 ]
312 }, 285 },
313 { 286 {
314 "cmd": [ 287 "cmd": [
288 "python",
289 "-u",
290 "\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"
291 ],
292 "name": "calculate the number of recommended jobs",
293 "stdout": "/path/to/tmp/",
294 "~followup_annotations": [
295 "@@@STEP_LOG_LINE@python.inline@@@@",
296 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@",
297 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
298 "@@@STEP_LOG_LINE@python.inline@@@@",
299 "@@@STEP_LOG_LINE@python.inline@job_limit = 200@@@",
300 "@@@STEP_LOG_LINE@python.inline@if sys.platform.startswith('linux'):@@@",
301 "@@@STEP_LOG_LINE@python.inline@ # Use 80 for linux not to load goma back end.@@@",
302 "@@@STEP_LOG_LINE@python.inline@ job_limit = 80@@@",
303 "@@@STEP_LOG_LINE@python.inline@@@@",
304 "@@@STEP_LOG_LINE@python.inline@try:@@@",
305 "@@@STEP_LOG_LINE@python.inline@ jobs = min(job_limit, multiprocessing.cp u_count() * 10)@@@",
306 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@",
307 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@",
308 "@@@STEP_LOG_LINE@python.inline@@@@",
309 "@@@STEP_LOG_LINE@python.inline@print jobs@@@",
310 "@@@STEP_LOG_END@python.inline@@@"
311 ]
312 },
313 {
314 "cmd": [
315 "RECIPE_PACKAGE_REPO[depot_tools]/ninja", 315 "RECIPE_PACKAGE_REPO[depot_tools]/ninja",
316 "-w", 316 "-w",
317 "dupbuild=err", 317 "dupbuild=err",
318 "-C", 318 "-C",
319 "[SLAVE_BUILD]/v8/out/Release", 319 "[SLAVE_BUILD]/v8/out/Release",
320 "-j", 320 "-j",
321 "50" 321 "50"
322 ], 322 ],
323 "env": { 323 "env": {
324 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json" 324 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json"
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
445 "{\"blamelist\": [\"cool_dev1337@chromium.org\", \"hax@chromium.org\"], \" branch\": \"4.2\", \"buildername\": \"v8-linux-release\", \"buildnumber\": 571, \"mastername\": \"client.dart.fyi\", \"parent_buildername\": null, \"recipe\": \ "v8\", \"revision\": \"20123\", \"slavename\": \"TestSlavename\", \"workdir\": \ "/path/to/workdir/TestSlavename\"}" 445 "{\"blamelist\": [\"cool_dev1337@chromium.org\", \"hax@chromium.org\"], \" branch\": \"4.2\", \"buildername\": \"v8-linux-release\", \"buildnumber\": 571, \"mastername\": \"client.dart.fyi\", \"parent_buildername\": null, \"recipe\": \ "v8\", \"revision\": \"20123\", \"slavename\": \"TestSlavename\", \"workdir\": \ "/path/to/workdir/TestSlavename\"}"
446 ], 446 ],
447 "name": "package build" 447 "name": "package build"
448 }, 448 },
449 { 449 {
450 "name": "$result", 450 "name": "$result",
451 "recipe_result": null, 451 "recipe_result": null,
452 "status_code": 0 452 "status_code": 0
453 } 453 }
454 ] 454 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698