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

Side by Side Diff: scripts/slave/recipes/chromium.expected/dynamic_gtest_memory_mac64.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 "RECIPE_MODULE[depot_tools::bot_update]/resources/bot_update.py", 6 "RECIPE_MODULE[depot_tools::bot_update]/resources/bot_update.py",
7 "--master", 7 "--master",
8 "chromium.memory", 8 "chromium.memory",
9 "--builder", 9 "--builder",
10 "Mac ASan 64 Tests (1)", 10 "Mac ASan 64 Tests (1)",
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
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_LINE@json.output@}@@@", 162 "@@@STEP_LOG_LINE@json.output@}@@@",
163 "@@@STEP_LOG_END@json.output@@@" 163 "@@@STEP_LOG_END@json.output@@@"
164 ] 164 ]
165 }, 165 },
166 { 166 {
167 "cmd": [ 167 "cmd": [
168 "python", 168 "python",
169 "-u", 169 "-u",
170 "\nimport multiprocessing\n\ntry:\n jobs = min(200, multiprocessing.cpu_c ount() * 10)\nexcept NotImplementedError:\n jobs = 50\n\nprint jobs\n"
171 ],
172 "name": "ensure_goma.get the number of cpus",
173 "stdout": "/path/to/tmp/",
174 "~followup_annotations": [
175 "@@@STEP_NEST_LEVEL@1@@@",
176 "@@@STEP_LOG_LINE@python.inline@@@@",
177 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@",
178 "@@@STEP_LOG_LINE@python.inline@@@@",
179 "@@@STEP_LOG_LINE@python.inline@try:@@@",
180 "@@@STEP_LOG_LINE@python.inline@ jobs = min(200, multiprocessing.cpu_coun t() * 10)@@@",
181 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@",
182 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@",
183 "@@@STEP_LOG_LINE@python.inline@@@@",
184 "@@@STEP_LOG_LINE@python.inline@print jobs@@@",
185 "@@@STEP_LOG_END@python.inline@@@"
186 ]
187 },
188 {
189 "cmd": [
190 "python",
191 "-u",
170 "[SLAVE_BUILD]/src/tools/swarming_client/swarming.py", 192 "[SLAVE_BUILD]/src/tools/swarming_client/swarming.py",
171 "--version" 193 "--version"
172 ], 194 ],
173 "name": "swarming.py --version", 195 "name": "swarming.py --version",
174 "stdout": "/path/to/tmp/", 196 "stdout": "/path/to/tmp/",
175 "~followup_annotations": [ 197 "~followup_annotations": [
176 "@@@STEP_TEXT@0.8.6@@@" 198 "@@@STEP_TEXT@0.8.6@@@"
177 ] 199 ]
178 }, 200 },
179 { 201 {
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
321 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json" 343 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json"
322 }, 344 },
323 "name": "browser_tests" 345 "name": "browser_tests"
324 }, 346 },
325 { 347 {
326 "name": "$result", 348 "name": "$result",
327 "recipe_result": null, 349 "recipe_result": null,
328 "status_code": 0 350 "status_code": 0
329 } 351 }
330 ] 352 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698