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

Side by Side Diff: scripts/slave/recipes/webrtc/standalone.expected/client_webrtc_android32_clang__dbg_.json

Issue 2480193002: Stop to use contextmanager for goma.build_with_goma (Closed)
Patch Set: fix pylint 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 "\nimport sys, os\npath = sys.argv[1]\nmode = int(sys.argv[2])\nif not os. path.isdir(path):\n if os.path.exists(path):\n print \"%s exists but is not a dir\" % path\n sys.exit(1)\n os.makedirs(path, mode)\n", 6 "\nimport sys, os\npath = sys.argv[1]\nmode = int(sys.argv[2])\nif not os. path.isdir(path):\n if os.path.exists(path):\n print \"%s exists but is not a dir\" % path\n sys.exit(1)\n os.makedirs(path, mode)\n",
7 "[BUILDER_CACHE]/Android32_Clang__dbg_", 7 "[BUILDER_CACHE]/Android32_Clang__dbg_",
8 "511" 8 "511"
9 ], 9 ],
10 "name": "makedirs checkout path", 10 "name": "makedirs checkout path",
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after
228 }, 228 },
229 "name": "clang_revision", 229 "name": "clang_revision",
230 "~followup_annotations": [ 230 "~followup_annotations": [
231 "@@@STEP_LOG_LINE@json.output@{@@@", 231 "@@@STEP_LOG_LINE@json.output@{@@@",
232 "@@@STEP_LOG_LINE@json.output@ \"clang_revision\": \"123456-7\"@@@", 232 "@@@STEP_LOG_LINE@json.output@ \"clang_revision\": \"123456-7\"@@@",
233 "@@@STEP_LOG_LINE@json.output@}@@@", 233 "@@@STEP_LOG_LINE@json.output@}@@@",
234 "@@@STEP_LOG_END@json.output@@@" 234 "@@@STEP_LOG_END@json.output@@@"
235 ] 235 ]
236 }, 236 },
237 { 237 {
238 "cmd": [
239 "python",
240 "-u",
241 "\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"
242 ],
243 "name": "calculate the number of recommended jobs",
244 "stdout": "/path/to/tmp/",
245 "~followup_annotations": [
246 "@@@STEP_LOG_LINE@python.inline@@@@",
247 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@",
248 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
249 "@@@STEP_LOG_LINE@python.inline@@@@",
250 "@@@STEP_LOG_LINE@python.inline@job_limit = 200@@@",
251 "@@@STEP_LOG_LINE@python.inline@if sys.platform.startswith('linux'):@@@",
252 "@@@STEP_LOG_LINE@python.inline@ # Use 80 for linux not to load goma back end.@@@",
253 "@@@STEP_LOG_LINE@python.inline@ job_limit = 80@@@",
254 "@@@STEP_LOG_LINE@python.inline@@@@",
255 "@@@STEP_LOG_LINE@python.inline@try:@@@",
256 "@@@STEP_LOG_LINE@python.inline@ jobs = min(job_limit, multiprocessing.cp u_count() * 10)@@@",
257 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@",
258 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@",
259 "@@@STEP_LOG_LINE@python.inline@@@@",
260 "@@@STEP_LOG_LINE@python.inline@print jobs@@@",
261 "@@@STEP_LOG_END@python.inline@@@"
262 ]
263 },
264 {
265 "cmd": [], 238 "cmd": [],
266 "name": "preprocess_for_goma" 239 "name": "preprocess_for_goma"
267 }, 240 },
268 { 241 {
269 "cmd": [ 242 "cmd": [
270 "python", 243 "python",
271 "-u", 244 "-u",
272 "[CACHE]/cipd/goma/goma_ctl.py", 245 "[CACHE]/cipd/goma/goma_ctl.py",
273 "restart" 246 "restart"
274 ], 247 ],
(...skipping 23 matching lines...) Expand all
298 "env": { 271 "env": {
299 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json" 272 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json"
300 }, 273 },
301 "name": "preprocess_for_goma.start cloudtail", 274 "name": "preprocess_for_goma.start cloudtail",
302 "~followup_annotations": [ 275 "~followup_annotations": [
303 "@@@STEP_NEST_LEVEL@1@@@" 276 "@@@STEP_NEST_LEVEL@1@@@"
304 ] 277 ]
305 }, 278 },
306 { 279 {
307 "cmd": [ 280 "cmd": [
281 "python",
282 "-u",
283 "\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"
284 ],
285 "name": "calculate the number of recommended jobs",
286 "stdout": "/path/to/tmp/",
287 "~followup_annotations": [
288 "@@@STEP_LOG_LINE@python.inline@@@@",
289 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@",
290 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
291 "@@@STEP_LOG_LINE@python.inline@@@@",
292 "@@@STEP_LOG_LINE@python.inline@job_limit = 200@@@",
293 "@@@STEP_LOG_LINE@python.inline@if sys.platform.startswith('linux'):@@@",
294 "@@@STEP_LOG_LINE@python.inline@ # Use 80 for linux not to load goma back end.@@@",
295 "@@@STEP_LOG_LINE@python.inline@ job_limit = 80@@@",
296 "@@@STEP_LOG_LINE@python.inline@@@@",
297 "@@@STEP_LOG_LINE@python.inline@try:@@@",
298 "@@@STEP_LOG_LINE@python.inline@ jobs = min(job_limit, multiprocessing.cp u_count() * 10)@@@",
299 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@",
300 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@",
301 "@@@STEP_LOG_LINE@python.inline@@@@",
302 "@@@STEP_LOG_LINE@python.inline@print jobs@@@",
303 "@@@STEP_LOG_END@python.inline@@@"
304 ]
305 },
306 {
307 "cmd": [
308 "RECIPE_PACKAGE_REPO[depot_tools]/ninja", 308 "RECIPE_PACKAGE_REPO[depot_tools]/ninja",
309 "-j",
310 "50",
309 "-w", 311 "-w",
310 "dupbuild=err", 312 "dupbuild=err",
311 "-C", 313 "-C",
312 "[BUILDER_CACHE]/Android32_Clang__dbg_/src/out/Debug", 314 "[BUILDER_CACHE]/Android32_Clang__dbg_/src/out/Debug"
313 "-j",
314 "50"
315 ], 315 ],
316 "env": { 316 "env": {
317 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 317 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
318 "PATH": "[BUILDER_CACHE]/Android32_Clang__dbg_/src/third_party/android_too ls/sdk/platform-tools:[BUILDER_CACHE]/Android32_Clang__dbg_/src/build/android:%( PATH)s" 318 "PATH": "[BUILDER_CACHE]/Android32_Clang__dbg_/src/third_party/android_too ls/sdk/platform-tools:[BUILDER_CACHE]/Android32_Clang__dbg_/src/build/android:%( PATH)s"
319 }, 319 },
320 "name": "compile with ninja" 320 "name": "compile with ninja"
321 }, 321 },
322 { 322 {
323 "cmd": [], 323 "cmd": [],
324 "name": "postprocess_for_goma" 324 "name": "postprocess_for_goma"
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
375 "-u", 375 "-u",
376 "RECIPE_PACKAGE_REPO[build]/scripts/slave/upload_goma_logs.py", 376 "RECIPE_PACKAGE_REPO[build]/scripts/slave/upload_goma_logs.py",
377 "--upload-compiler-proxy-info", 377 "--upload-compiler-proxy-info",
378 "--json-status", 378 "--json-status",
379 "[CACHE]/cipd/goma/jsonstatus", 379 "[CACHE]/cipd/goma/jsonstatus",
380 "--ninja-log-outdir", 380 "--ninja-log-outdir",
381 "[BUILDER_CACHE]/Android32_Clang__dbg_/src/out/Debug", 381 "[BUILDER_CACHE]/Android32_Clang__dbg_/src/out/Debug",
382 "--ninja-log-compiler", 382 "--ninja-log-compiler",
383 "goma-clang", 383 "goma-clang",
384 "--ninja-log-command", 384 "--ninja-log-command",
385 "['RECIPE_PACKAGE_REPO[depot_tools]/ninja', '-w', 'dupbuild=err', '-C', '[ BUILDER_CACHE]/Android32_Clang__dbg_/src/out/Debug', '-j', 50]", 385 "['RECIPE_PACKAGE_REPO[depot_tools]/ninja', '-j', 50, '-w', 'dupbuild=err' , '-C', '[BUILDER_CACHE]/Android32_Clang__dbg_/src/out/Debug']",
386 "--ninja-log-exit-status", 386 "--ninja-log-exit-status",
387 "0", 387 "0",
388 "--buildbot-buildername", 388 "--buildbot-buildername",
389 "Android32 Clang (dbg)", 389 "Android32 Clang (dbg)",
390 "--buildbot-mastername", 390 "--buildbot-mastername",
391 "client.webrtc", 391 "client.webrtc",
392 "--buildbot-slavename", 392 "--buildbot-slavename",
393 "slavename" 393 "slavename"
394 ], 394 ],
395 "env": { 395 "env": {
(...skipping 17 matching lines...) Expand all
413 "~followup_annotations": [ 413 "~followup_annotations": [
414 "@@@STEP_NEST_LEVEL@1@@@" 414 "@@@STEP_NEST_LEVEL@1@@@"
415 ] 415 ]
416 }, 416 },
417 { 417 {
418 "name": "$result", 418 "name": "$result",
419 "recipe_result": null, 419 "recipe_result": null,
420 "status_code": 0 420 "status_code": 0
421 } 421 }
422 ] 422 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698