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

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

Powered by Google App Engine
This is Rietveld 408576698