OLD | NEW |
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 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
209 "@@@STEP_LOG_LINE@json.output@ }@@@", | 209 "@@@STEP_LOG_LINE@json.output@ }@@@", |
210 "@@@STEP_LOG_LINE@json.output@ ]@@@", | 210 "@@@STEP_LOG_LINE@json.output@ ]@@@", |
211 "@@@STEP_LOG_LINE@json.output@}@@@", | 211 "@@@STEP_LOG_LINE@json.output@}@@@", |
212 "@@@STEP_LOG_END@json.output@@@" | 212 "@@@STEP_LOG_END@json.output@@@" |
213 ] | 213 ] |
214 }, | 214 }, |
215 { | 215 { |
216 "cmd": [ | 216 "cmd": [ |
217 "python", | 217 "python", |
218 "-u", | 218 "-u", |
| 219 "\nimport multiprocessing\nprint min(200, multiprocessing.cpu_count() * 10
)\n" |
| 220 ], |
| 221 "name": "ensure_goma.get the number of cpus", |
| 222 "stdout": "/path/to/tmp/", |
| 223 "~followup_annotations": [ |
| 224 "@@@STEP_NEST_LEVEL@1@@@", |
| 225 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 226 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@", |
| 227 "@@@STEP_LOG_LINE@python.inline@print min(200, multiprocessing.cpu_count()
* 10)@@@", |
| 228 "@@@STEP_LOG_END@python.inline@@@" |
| 229 ] |
| 230 }, |
| 231 { |
| 232 "cmd": [ |
| 233 "python", |
| 234 "-u", |
219 "\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", | 235 "\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", |
220 "[SLAVE_BUILD]/src/out/Debug" | 236 "[SLAVE_BUILD]/src/out/Debug" |
221 ], | 237 ], |
222 "name": "rmtree clobber", | 238 "name": "rmtree clobber", |
223 "~followup_annotations": [ | 239 "~followup_annotations": [ |
224 "@@@STEP_LOG_LINE@python.inline@@@@", | 240 "@@@STEP_LOG_LINE@python.inline@@@@", |
225 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", | 241 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", |
226 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error?
See https://crbug.com/584783.@@@", | 242 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error?
See https://crbug.com/584783.@@@", |
227 "@@@STEP_LOG_LINE@python.inline@@@@", | 243 "@@@STEP_LOG_LINE@python.inline@@@@", |
228 "@@@STEP_LOG_LINE@python.inline@@@@", | 244 "@@@STEP_LOG_LINE@python.inline@@@@", |
(...skipping 501 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
730 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", | 746 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", |
731 "@@@STEP_LOG_END@python.inline@@@" | 747 "@@@STEP_LOG_END@python.inline@@@" |
732 ] | 748 ] |
733 }, | 749 }, |
734 { | 750 { |
735 "name": "$result", | 751 "name": "$result", |
736 "recipe_result": null, | 752 "recipe_result": null, |
737 "status_code": 0 | 753 "status_code": 0 |
738 } | 754 } |
739 ] | 755 ] |
OLD | NEW |