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

Side by Side Diff: scripts/slave/recipes/cronet.expected/cronet_try.json

Issue 2291273005: Add counting the number of CPU's in goma module (Closed)
Patch Set: Created 4 years, 3 months 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 os, sys\n\nbuild_path = sys.argv[1]\nif os.path.exists(build_pat h):\n for (path, dir, files) in os.walk(build_path):\n for cur_file in files :\n if cur_file.endswith('index.lock'):\n path_to_file = os.path.joi n(path, cur_file)\n print 'deleting %s' % path_to_file\n os.remove (path_to_file)\n", 6 "\nimport os, sys\n\nbuild_path = sys.argv[1]\nif os.path.exists(build_pat h):\n for (path, dir, files) in os.walk(build_path):\n for cur_file in files :\n if cur_file.endswith('index.lock'):\n path_to_file = os.path.joi n(path, cur_file)\n print 'deleting %s' % path_to_file\n os.remove (path_to_file)\n",
7 "[SLAVE_BUILD]" 7 "[SLAVE_BUILD]"
8 ], 8 ],
9 "name": "cleanup index.lock", 9 "name": "cleanup index.lock",
10 "~followup_annotations": [ 10 "~followup_annotations": [
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 "@@@STEP_LOG_LINE@json.output@ }@@@", 215 "@@@STEP_LOG_LINE@json.output@ }@@@",
216 "@@@STEP_LOG_LINE@json.output@ ]@@@", 216 "@@@STEP_LOG_LINE@json.output@ ]@@@",
217 "@@@STEP_LOG_LINE@json.output@}@@@", 217 "@@@STEP_LOG_LINE@json.output@}@@@",
218 "@@@STEP_LOG_END@json.output@@@" 218 "@@@STEP_LOG_END@json.output@@@"
219 ] 219 ]
220 }, 220 },
221 { 221 {
222 "cmd": [ 222 "cmd": [
223 "python", 223 "python",
224 "-u", 224 "-u",
225 "\nimport multiprocessing\nprint min(200, multiprocessing.cpu_count() * 10 )\n"
226 ],
227 "name": "ensure_goma.get the number of cpus",
228 "stdout": "/path/to/tmp/",
229 "~followup_annotations": [
230 "@@@STEP_NEST_LEVEL@1@@@",
231 "@@@STEP_LOG_LINE@python.inline@@@@",
232 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@",
233 "@@@STEP_LOG_LINE@python.inline@print min(200, multiprocessing.cpu_count() * 10)@@@",
234 "@@@STEP_LOG_END@python.inline@@@"
235 ]
236 },
237 {
238 "cmd": [
239 "python",
240 "-u",
225 "\nimport os, sys\nfrom common import chromium_utils # Error? See https:// crbug.com/584783.\n\n\nif os.path.exists(sys.argv[1]):\n chromium_utils.RemoveD irectory(sys.argv[1])\n", 241 "\nimport os, sys\nfrom common import chromium_utils # Error? See https:// crbug.com/584783.\n\n\nif os.path.exists(sys.argv[1]):\n chromium_utils.RemoveD irectory(sys.argv[1])\n",
226 "[SLAVE_BUILD]/src/out/Debug" 242 "[SLAVE_BUILD]/src/out/Debug"
227 ], 243 ],
228 "name": "rmtree clobber", 244 "name": "rmtree clobber",
229 "~followup_annotations": [ 245 "~followup_annotations": [
230 "@@@STEP_LOG_LINE@python.inline@@@@", 246 "@@@STEP_LOG_LINE@python.inline@@@@",
231 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", 247 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@",
232 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error? See https://crbug.com/584783.@@@", 248 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error? See https://crbug.com/584783.@@@",
233 "@@@STEP_LOG_LINE@python.inline@@@@", 249 "@@@STEP_LOG_LINE@python.inline@@@@",
234 "@@@STEP_LOG_LINE@python.inline@@@@", 250 "@@@STEP_LOG_LINE@python.inline@@@@",
(...skipping 471 matching lines...) Expand 10 before | Expand all | Expand 10 after
706 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", 722 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@",
707 "@@@STEP_LOG_END@python.inline@@@" 723 "@@@STEP_LOG_END@python.inline@@@"
708 ] 724 ]
709 }, 725 },
710 { 726 {
711 "name": "$result", 727 "name": "$result",
712 "recipe_result": null, 728 "recipe_result": null,
713 "status_code": 0 729 "status_code": 0
714 } 730 }
715 ] 731 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698