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

Side by Side Diff: scripts/slave/recipes/chromium.expected/full_chromium_gpu_fyi_GPU_Linux_Builder.json

Issue 2291273005: Add counting the number of CPU's in goma module (Closed)
Patch Set: use 80 for linux 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 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]/linux", 7 "[BUILDER_CACHE]/linux",
8 "511" 8 "511"
9 ], 9 ],
10 "name": "makedirs checkout path", 10 "name": "makedirs checkout path",
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 "@@@STEP_LOG_LINE@json.output@ }@@@", 187 "@@@STEP_LOG_LINE@json.output@ }@@@",
188 "@@@STEP_LOG_LINE@json.output@ ]@@@", 188 "@@@STEP_LOG_LINE@json.output@ ]@@@",
189 "@@@STEP_LOG_LINE@json.output@}@@@", 189 "@@@STEP_LOG_LINE@json.output@}@@@",
190 "@@@STEP_LOG_END@json.output@@@" 190 "@@@STEP_LOG_END@json.output@@@"
191 ] 191 ]
192 }, 192 },
193 { 193 {
194 "cmd": [ 194 "cmd": [
195 "python", 195 "python",
196 "-u", 196 "-u",
197 "\nimport multiprocessing\n\ntry:\n jobs = min(200, multiprocessing.cpu_c ount() * 10)\nexcept NotImplementedError:\n jobs = 50\n\nprint jobs\n"
198 ],
199 "name": "ensure_goma.get the number of cpus",
200 "stdout": "/path/to/tmp/",
201 "~followup_annotations": [
202 "@@@STEP_NEST_LEVEL@1@@@",
203 "@@@STEP_LOG_LINE@python.inline@@@@",
204 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@",
205 "@@@STEP_LOG_LINE@python.inline@@@@",
206 "@@@STEP_LOG_LINE@python.inline@try:@@@",
207 "@@@STEP_LOG_LINE@python.inline@ jobs = min(200, multiprocessing.cpu_coun t() * 10)@@@",
208 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@",
209 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@",
210 "@@@STEP_LOG_LINE@python.inline@@@@",
211 "@@@STEP_LOG_LINE@python.inline@print jobs@@@",
212 "@@@STEP_LOG_END@python.inline@@@"
213 ]
214 },
215 {
216 "cmd": [
217 "python",
218 "-u",
197 "[BUILDER_CACHE]/linux/src/tools/swarming_client/swarming.py", 219 "[BUILDER_CACHE]/linux/src/tools/swarming_client/swarming.py",
198 "--version" 220 "--version"
199 ], 221 ],
200 "name": "swarming.py --version", 222 "name": "swarming.py --version",
201 "stdout": "/path/to/tmp/", 223 "stdout": "/path/to/tmp/",
202 "~followup_annotations": [ 224 "~followup_annotations": [
203 "@@@STEP_TEXT@0.8.6@@@" 225 "@@@STEP_TEXT@0.8.6@@@"
204 ] 226 ]
205 }, 227 },
206 { 228 {
(...skipping 387 matching lines...) Expand 10 before | Expand all | Expand 10 after
594 "~followup_annotations": [ 616 "~followup_annotations": [
595 "@@@STEP_TEXT@Linux Release (AMD R7 240)<br />Linux Release (ATI)<br />Lin ux Release (NVIDIA GeForce 730)<br />Linux Release (NVIDIA)<br />Linux Release ( New Intel)<br />Optional Linux Release (NVIDIA)@@@" 617 "@@@STEP_TEXT@Linux Release (AMD R7 240)<br />Linux Release (ATI)<br />Lin ux Release (NVIDIA GeForce 730)<br />Linux Release (NVIDIA)<br />Linux Release ( New Intel)<br />Optional Linux Release (NVIDIA)@@@"
596 ] 618 ]
597 }, 619 },
598 { 620 {
599 "name": "$result", 621 "name": "$result",
600 "recipe_result": null, 622 "recipe_result": null,
601 "status_code": 0 623 "status_code": 0
602 } 624 }
603 ] 625 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698