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

Side by Side Diff: scripts/slave/recipes/webrtc/standalone.expected/tryserver_webrtc_linux_memcheck.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_memcheck", 7 "[BUILDER_CACHE]/linux_memcheck",
8 "511" 8 "511"
9 ], 9 ],
10 "name": "makedirs checkout path", 10 "name": "makedirs checkout path",
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 "@@@STEP_LOG_LINE@json.output@ }@@@", 159 "@@@STEP_LOG_LINE@json.output@ }@@@",
160 "@@@STEP_LOG_LINE@json.output@ ]@@@", 160 "@@@STEP_LOG_LINE@json.output@ ]@@@",
161 "@@@STEP_LOG_LINE@json.output@}@@@", 161 "@@@STEP_LOG_LINE@json.output@}@@@",
162 "@@@STEP_LOG_END@json.output@@@" 162 "@@@STEP_LOG_END@json.output@@@"
163 ] 163 ]
164 }, 164 },
165 { 165 {
166 "cmd": [ 166 "cmd": [
167 "python", 167 "python",
168 "-u", 168 "-u",
169 "\nimport multiprocessing\n\ntry:\n jobs = min(200, multiprocessing.cpu_c ount() * 10)\nexcept NotImplementedError:\n jobs = 50\n\nprint jobs\n"
170 ],
171 "name": "ensure_goma.get the number of cpus",
172 "stdout": "/path/to/tmp/",
173 "~followup_annotations": [
174 "@@@STEP_NEST_LEVEL@1@@@",
175 "@@@STEP_LOG_LINE@python.inline@@@@",
176 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@",
177 "@@@STEP_LOG_LINE@python.inline@@@@",
178 "@@@STEP_LOG_LINE@python.inline@try:@@@",
179 "@@@STEP_LOG_LINE@python.inline@ jobs = min(200, multiprocessing.cpu_coun t() * 10)@@@",
180 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@",
181 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@",
182 "@@@STEP_LOG_LINE@python.inline@@@@",
183 "@@@STEP_LOG_LINE@python.inline@print jobs@@@",
184 "@@@STEP_LOG_END@python.inline@@@"
185 ]
186 },
187 {
188 "cmd": [
189 "python",
190 "-u",
169 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", 191 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
170 "runhooks" 192 "runhooks"
171 ], 193 ],
172 "cwd": "[BUILDER_CACHE]/linux_memcheck/src", 194 "cwd": "[BUILDER_CACHE]/linux_memcheck/src",
173 "env": { 195 "env": {
174 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 196 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
175 "GYP_CHROMIUM_NO_ACTION": "1", 197 "GYP_CHROMIUM_NO_ACTION": "1",
176 "GYP_DEFINES": "build_for_tool=memcheck component=static_library dcheck_al ways_on=1 fastbuild=1 ffmpeg_branding=Chrome gomadir='[CACHE]/cipd/goma' rtc_use _h264=1 target_arch=x64 use_goma=1", 198 "GYP_DEFINES": "build_for_tool=memcheck component=static_library dcheck_al ways_on=1 fastbuild=1 ffmpeg_branding=Chrome gomadir='[CACHE]/cipd/goma' rtc_use _h264=1 target_arch=x64 use_goma=1",
177 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" 199 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
178 }, 200 },
(...skipping 574 matching lines...) Expand 10 before | Expand all | Expand 10 after
753 ], 775 ],
754 "cwd": "[BUILDER_CACHE]/linux_memcheck", 776 "cwd": "[BUILDER_CACHE]/linux_memcheck",
755 "name": "webrtc_nonparallel_tests" 777 "name": "webrtc_nonparallel_tests"
756 }, 778 },
757 { 779 {
758 "name": "$result", 780 "name": "$result",
759 "recipe_result": null, 781 "recipe_result": null,
760 "status_code": 0 782 "status_code": 0
761 } 783 }
762 ] 784 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698