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

Side by Side Diff: scripts/slave/recipes/webrtc/standalone.expected/tryserver_webrtc_linux_gyp_dbg.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 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_gyp_dbg", 7 "[BUILDER_CACHE]/linux_gyp_dbg",
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\nprint min(200, multiprocessing.cpu_count() * 10 )\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@print min(200, multiprocessing.cpu_count() * 10)@@@",
178 "@@@STEP_LOG_END@python.inline@@@"
179 ]
180 },
181 {
182 "cmd": [
183 "python",
184 "-u",
169 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", 185 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
170 "runhooks" 186 "runhooks"
171 ], 187 ],
172 "cwd": "[BUILDER_CACHE]/linux_gyp_dbg/src", 188 "cwd": "[BUILDER_CACHE]/linux_gyp_dbg/src",
173 "env": { 189 "env": {
174 "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",
175 "GYP_CHROMIUM_NO_ACTION": "1", 191 "GYP_CHROMIUM_NO_ACTION": "1",
176 "GYP_DEFINES": "component=shared_library dcheck_always_on=1 fastbuild=1 ff mpeg_branding=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 fastbuild=1 ff mpeg_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]" 193 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
178 }, 194 },
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
241 "@@@STEP_LOG_LINE@json.output (invalid)@null@@@", 257 "@@@STEP_LOG_LINE@json.output (invalid)@null@@@",
242 "@@@STEP_LOG_END@json.output (invalid)@@@" 258 "@@@STEP_LOG_END@json.output (invalid)@@@"
243 ] 259 ]
244 }, 260 },
245 { 261 {
246 "name": "$result", 262 "name": "$result",
247 "recipe_result": null, 263 "recipe_result": null,
248 "status_code": 0 264 "status_code": 0
249 } 265 }
250 ] 266 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698