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

Side by Side Diff: scripts/slave/recipes/webrtc/standalone.expected/tryserver_webrtc_mac_swarming.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 "RECIPE_PACKAGE_REPO[build]/scripts/slave/ios/host_info.py", 4 "RECIPE_PACKAGE_REPO[build]/scripts/slave/ios/host_info.py",
5 "--json-file", 5 "--json-file",
6 "/path/to/tmp/json" 6 "/path/to/tmp/json"
7 ], 7 ],
8 "name": "host and tools info", 8 "name": "host and tools info",
9 "~followup_annotations": [ 9 "~followup_annotations": [
10 "@@@STEP_TEXT@<br />OS X 1.2.3, Xcode 6.7.8 (5D342509a)@@@", 10 "@@@STEP_TEXT@<br />OS X 1.2.3, Xcode 6.7.8 (5D342509a)@@@",
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
192 "@@@STEP_LOG_LINE@json.output@ }@@@", 192 "@@@STEP_LOG_LINE@json.output@ }@@@",
193 "@@@STEP_LOG_LINE@json.output@ ]@@@", 193 "@@@STEP_LOG_LINE@json.output@ ]@@@",
194 "@@@STEP_LOG_LINE@json.output@}@@@", 194 "@@@STEP_LOG_LINE@json.output@}@@@",
195 "@@@STEP_LOG_END@json.output@@@" 195 "@@@STEP_LOG_END@json.output@@@"
196 ] 196 ]
197 }, 197 },
198 { 198 {
199 "cmd": [ 199 "cmd": [
200 "python", 200 "python",
201 "-u", 201 "-u",
202 "\nimport multiprocessing\nprint min(200, multiprocessing.cpu_count() * 10 )\n"
203 ],
204 "name": "ensure_goma.get the number of cpus",
205 "stdout": "/path/to/tmp/",
206 "~followup_annotations": [
207 "@@@STEP_NEST_LEVEL@1@@@",
208 "@@@STEP_LOG_LINE@python.inline@@@@",
209 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@",
210 "@@@STEP_LOG_LINE@python.inline@print min(200, multiprocessing.cpu_count() * 10)@@@",
211 "@@@STEP_LOG_END@python.inline@@@"
212 ]
213 },
214 {
215 "cmd": [
216 "python",
217 "-u",
202 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", 218 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
203 "runhooks" 219 "runhooks"
204 ], 220 ],
205 "cwd": "[BUILDER_CACHE]/mac_swarming/src", 221 "cwd": "[BUILDER_CACHE]/mac_swarming/src",
206 "env": { 222 "env": {
207 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 223 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
208 "GYP_CHROMIUM_NO_ACTION": "1", 224 "GYP_CHROMIUM_NO_ACTION": "1",
209 "GYP_DEFINES": "clang=1 component=shared_library dcheck_always_on=1 fastbu ild=1 ffmpeg_branding=Chrome gomadir='[CACHE]/cipd/goma' rtc_use_h264=1 target_a rch=x64 test_isolation_mode=prepare use_goma=1", 225 "GYP_DEFINES": "clang=1 component=shared_library dcheck_always_on=1 fastbu ild=1 ffmpeg_branding=Chrome gomadir='[CACHE]/cipd/goma' rtc_use_h264=1 target_a rch=x64 test_isolation_mode=prepare use_goma=1",
210 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" 226 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
211 }, 227 },
(...skipping 2283 matching lines...) Expand 10 before | Expand all | Expand 10 after
2495 "@@@STEP_LOG_END@json.output@@@", 2511 "@@@STEP_LOG_END@json.output@@@",
2496 "@@@STEP_LINK@shard #0 isolated out@blah@@@" 2512 "@@@STEP_LINK@shard #0 isolated out@blah@@@"
2497 ] 2513 ]
2498 }, 2514 },
2499 { 2515 {
2500 "name": "$result", 2516 "name": "$result",
2501 "recipe_result": null, 2517 "recipe_result": null,
2502 "status_code": 0 2518 "status_code": 0
2503 } 2519 }
2504 ] 2520 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698