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

Side by Side Diff: scripts/slave/recipes/webrtc/standalone.expected/client_webrtc_linux64_debug.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]/Linux64_Debug", 7 "[BUILDER_CACHE]/Linux64_Debug",
8 "511" 8 "511"
9 ], 9 ],
10 "name": "makedirs checkout path", 10 "name": "makedirs checkout path",
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 "@@@STEP_LOG_LINE@json.output@ }@@@", 153 "@@@STEP_LOG_LINE@json.output@ }@@@",
154 "@@@STEP_LOG_LINE@json.output@ ]@@@", 154 "@@@STEP_LOG_LINE@json.output@ ]@@@",
155 "@@@STEP_LOG_LINE@json.output@}@@@", 155 "@@@STEP_LOG_LINE@json.output@}@@@",
156 "@@@STEP_LOG_END@json.output@@@" 156 "@@@STEP_LOG_END@json.output@@@"
157 ] 157 ]
158 }, 158 },
159 { 159 {
160 "cmd": [ 160 "cmd": [
161 "python", 161 "python",
162 "-u", 162 "-u",
163 "\nimport multiprocessing\n\ntry:\n jobs = min(200, multiprocessing.cpu_c ount() * 10)\nexcept NotImplementedError:\n jobs = 50\n\nprint jobs\n"
164 ],
165 "name": "ensure_goma.get the number of cpus",
166 "stdout": "/path/to/tmp/",
167 "~followup_annotations": [
168 "@@@STEP_NEST_LEVEL@1@@@",
169 "@@@STEP_LOG_LINE@python.inline@@@@",
170 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@",
171 "@@@STEP_LOG_LINE@python.inline@@@@",
172 "@@@STEP_LOG_LINE@python.inline@try:@@@",
173 "@@@STEP_LOG_LINE@python.inline@ jobs = min(200, multiprocessing.cpu_coun t() * 10)@@@",
174 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@",
175 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@",
176 "@@@STEP_LOG_LINE@python.inline@@@@",
177 "@@@STEP_LOG_LINE@python.inline@print jobs@@@",
178 "@@@STEP_LOG_END@python.inline@@@"
179 ]
180 },
181 {
182 "cmd": [
183 "python",
184 "-u",
163 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", 185 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
164 "runhooks" 186 "runhooks"
165 ], 187 ],
166 "cwd": "[BUILDER_CACHE]/Linux64_Debug/src", 188 "cwd": "[BUILDER_CACHE]/Linux64_Debug/src",
167 "env": { 189 "env": {
168 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 190 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
169 "GYP_CHROMIUM_NO_ACTION": "1", 191 "GYP_CHROMIUM_NO_ACTION": "1",
170 "GYP_DEFINES": "component=shared_library dcheck_always_on=1 ffmpeg_brandin g=Chrome gomadir='[CACHE]/cipd/goma' rtc_use_h264=1 target_arch=x64 use_goma=1", 192 "GYP_DEFINES": "component=shared_library dcheck_always_on=1 ffmpeg_brandin g=Chrome gomadir='[CACHE]/cipd/goma' rtc_use_h264=1 target_arch=x64 use_goma=1",
171 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" 193 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
172 }, 194 },
(...skipping 478 matching lines...) Expand 10 before | Expand all | Expand 10 after
651 ], 673 ],
652 "cwd": "[BUILDER_CACHE]/Linux64_Debug", 674 "cwd": "[BUILDER_CACHE]/Linux64_Debug",
653 "name": "webrtc_nonparallel_tests" 675 "name": "webrtc_nonparallel_tests"
654 }, 676 },
655 { 677 {
656 "name": "$result", 678 "name": "$result",
657 "recipe_result": null, 679 "recipe_result": null,
658 "status_code": 0 680 "status_code": 0
659 } 681 }
660 ] 682 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698