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

Side by Side Diff: scripts/slave/recipes/webrtc/standalone.expected/tryserver_webrtc_android_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]/android_dbg", 7 "[BUILDER_CACHE]/android_dbg",
8 "511" 8 "511"
9 ], 9 ],
10 "name": "makedirs checkout path", 10 "name": "makedirs checkout path",
(...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after
256 "@@@STEP_LOG_LINE@swarming-targets-file.txt@system_wrappers_unittests@@@", 256 "@@@STEP_LOG_LINE@swarming-targets-file.txt@system_wrappers_unittests@@@",
257 "@@@STEP_LOG_LINE@swarming-targets-file.txt@test_support_unittests@@@", 257 "@@@STEP_LOG_LINE@swarming-targets-file.txt@test_support_unittests@@@",
258 "@@@STEP_LOG_LINE@swarming-targets-file.txt@tools_unittests@@@", 258 "@@@STEP_LOG_LINE@swarming-targets-file.txt@tools_unittests@@@",
259 "@@@STEP_LOG_LINE@swarming-targets-file.txt@video_engine_tests@@@", 259 "@@@STEP_LOG_LINE@swarming-targets-file.txt@video_engine_tests@@@",
260 "@@@STEP_LOG_LINE@swarming-targets-file.txt@voice_engine_unittests@@@", 260 "@@@STEP_LOG_LINE@swarming-targets-file.txt@voice_engine_unittests@@@",
261 "@@@STEP_LOG_LINE@swarming-targets-file.txt@webrtc_nonparallel_tests@@@", 261 "@@@STEP_LOG_LINE@swarming-targets-file.txt@webrtc_nonparallel_tests@@@",
262 "@@@STEP_LOG_END@swarming-targets-file.txt@@@" 262 "@@@STEP_LOG_END@swarming-targets-file.txt@@@"
263 ] 263 ]
264 }, 264 },
265 { 265 {
266 "cmd": [
267 "python",
268 "-u",
269 "\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"
270 ],
271 "name": "calculate the number of recommended jobs",
272 "stdout": "/path/to/tmp/",
273 "~followup_annotations": [
274 "@@@STEP_LOG_LINE@python.inline@@@@",
275 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@",
276 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
277 "@@@STEP_LOG_LINE@python.inline@@@@",
278 "@@@STEP_LOG_LINE@python.inline@job_limit = 200@@@",
279 "@@@STEP_LOG_LINE@python.inline@if sys.platform.startswith('linux'):@@@",
280 "@@@STEP_LOG_LINE@python.inline@ # Use 80 for linux not to load goma back end.@@@",
281 "@@@STEP_LOG_LINE@python.inline@ job_limit = 80@@@",
282 "@@@STEP_LOG_LINE@python.inline@@@@",
283 "@@@STEP_LOG_LINE@python.inline@try:@@@",
284 "@@@STEP_LOG_LINE@python.inline@ jobs = min(job_limit, multiprocessing.cp u_count() * 10)@@@",
285 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@",
286 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@",
287 "@@@STEP_LOG_LINE@python.inline@@@@",
288 "@@@STEP_LOG_LINE@python.inline@print jobs@@@",
289 "@@@STEP_LOG_END@python.inline@@@"
290 ]
291 },
292 {
293 "cmd": [], 266 "cmd": [],
294 "name": "preprocess_for_goma" 267 "name": "preprocess_for_goma"
295 }, 268 },
296 { 269 {
297 "cmd": [ 270 "cmd": [
298 "python", 271 "python",
299 "-u", 272 "-u",
300 "[CACHE]/cipd/goma/goma_ctl.py", 273 "[CACHE]/cipd/goma/goma_ctl.py",
301 "restart" 274 "restart"
302 ], 275 ],
(...skipping 23 matching lines...) Expand all
326 "env": { 299 "env": {
327 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json" 300 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json"
328 }, 301 },
329 "name": "preprocess_for_goma.start cloudtail", 302 "name": "preprocess_for_goma.start cloudtail",
330 "~followup_annotations": [ 303 "~followup_annotations": [
331 "@@@STEP_NEST_LEVEL@1@@@" 304 "@@@STEP_NEST_LEVEL@1@@@"
332 ] 305 ]
333 }, 306 },
334 { 307 {
335 "cmd": [ 308 "cmd": [
309 "python",
310 "-u",
311 "\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"
312 ],
313 "name": "calculate the number of recommended jobs",
314 "stdout": "/path/to/tmp/",
315 "~followup_annotations": [
316 "@@@STEP_LOG_LINE@python.inline@@@@",
317 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@",
318 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
319 "@@@STEP_LOG_LINE@python.inline@@@@",
320 "@@@STEP_LOG_LINE@python.inline@job_limit = 200@@@",
321 "@@@STEP_LOG_LINE@python.inline@if sys.platform.startswith('linux'):@@@",
322 "@@@STEP_LOG_LINE@python.inline@ # Use 80 for linux not to load goma back end.@@@",
323 "@@@STEP_LOG_LINE@python.inline@ job_limit = 80@@@",
324 "@@@STEP_LOG_LINE@python.inline@@@@",
325 "@@@STEP_LOG_LINE@python.inline@try:@@@",
326 "@@@STEP_LOG_LINE@python.inline@ jobs = min(job_limit, multiprocessing.cp u_count() * 10)@@@",
327 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@",
328 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@",
329 "@@@STEP_LOG_LINE@python.inline@@@@",
330 "@@@STEP_LOG_LINE@python.inline@print jobs@@@",
331 "@@@STEP_LOG_END@python.inline@@@"
332 ]
333 },
334 {
335 "cmd": [
336 "RECIPE_PACKAGE_REPO[depot_tools]/ninja", 336 "RECIPE_PACKAGE_REPO[depot_tools]/ninja",
337 "-j",
338 "50",
337 "-w", 339 "-w",
338 "dupbuild=err", 340 "dupbuild=err",
339 "-C", 341 "-C",
340 "[BUILDER_CACHE]/android_dbg/src/out/Debug", 342 "[BUILDER_CACHE]/android_dbg/src/out/Debug"
341 "-j",
342 "50"
343 ], 343 ],
344 "env": { 344 "env": {
345 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 345 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
346 "PATH": "[BUILDER_CACHE]/android_dbg/src/third_party/android_tools/sdk/pla tform-tools:[BUILDER_CACHE]/android_dbg/src/build/android:%(PATH)s" 346 "PATH": "[BUILDER_CACHE]/android_dbg/src/third_party/android_tools/sdk/pla tform-tools:[BUILDER_CACHE]/android_dbg/src/build/android:%(PATH)s"
347 }, 347 },
348 "name": "compile with ninja" 348 "name": "compile with ninja"
349 }, 349 },
350 { 350 {
351 "cmd": [], 351 "cmd": [],
352 "name": "postprocess_for_goma" 352 "name": "postprocess_for_goma"
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
403 "-u", 403 "-u",
404 "RECIPE_PACKAGE_REPO[build]/scripts/slave/upload_goma_logs.py", 404 "RECIPE_PACKAGE_REPO[build]/scripts/slave/upload_goma_logs.py",
405 "--upload-compiler-proxy-info", 405 "--upload-compiler-proxy-info",
406 "--json-status", 406 "--json-status",
407 "[CACHE]/cipd/goma/jsonstatus", 407 "[CACHE]/cipd/goma/jsonstatus",
408 "--ninja-log-outdir", 408 "--ninja-log-outdir",
409 "[BUILDER_CACHE]/android_dbg/src/out/Debug", 409 "[BUILDER_CACHE]/android_dbg/src/out/Debug",
410 "--ninja-log-compiler", 410 "--ninja-log-compiler",
411 "goma", 411 "goma",
412 "--ninja-log-command", 412 "--ninja-log-command",
413 "['RECIPE_PACKAGE_REPO[depot_tools]/ninja', '-w', 'dupbuild=err', '-C', '[ BUILDER_CACHE]/android_dbg/src/out/Debug', '-j', 50]", 413 "['RECIPE_PACKAGE_REPO[depot_tools]/ninja', '-j', 50, '-w', 'dupbuild=err' , '-C', '[BUILDER_CACHE]/android_dbg/src/out/Debug']",
414 "--ninja-log-exit-status", 414 "--ninja-log-exit-status",
415 "0", 415 "0",
416 "--buildbot-buildername", 416 "--buildbot-buildername",
417 "android_dbg", 417 "android_dbg",
418 "--buildbot-mastername", 418 "--buildbot-mastername",
419 "tryserver.webrtc", 419 "tryserver.webrtc",
420 "--buildbot-slavename", 420 "--buildbot-slavename",
421 "slavename" 421 "slavename"
422 ], 422 ],
423 "env": { 423 "env": {
(...skipping 2292 matching lines...) Expand 10 before | Expand all | Expand 10 after
2716 ], 2716 ],
2717 "cwd": "[BUILDER_CACHE]/android_dbg", 2717 "cwd": "[BUILDER_CACHE]/android_dbg",
2718 "name": "Upload to test-results [libjingle_peerconnection_android_unittest o n Android]" 2718 "name": "Upload to test-results [libjingle_peerconnection_android_unittest o n Android]"
2719 }, 2719 },
2720 { 2720 {
2721 "name": "$result", 2721 "name": "$result",
2722 "recipe_result": null, 2722 "recipe_result": null,
2723 "status_code": 0 2723 "status_code": 0
2724 } 2724 }
2725 ] 2725 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698