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

Side by Side Diff: scripts/slave/recipes/chromium.expected/build_dynamic_isolated_script_test.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.linux", 8 "chromium.linux",
9 "--builder", 9 "--builder",
10 "Linux Builder", 10 "Linux Builder",
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
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_LINE@json.output@}@@@", 163 "@@@STEP_LOG_LINE@json.output@}@@@",
164 "@@@STEP_LOG_END@json.output@@@" 164 "@@@STEP_LOG_END@json.output@@@"
165 ] 165 ]
166 }, 166 },
167 { 167 {
168 "cmd": [ 168 "cmd": [
169 "python", 169 "python",
170 "-u", 170 "-u",
171 "\nimport multiprocessing\n\ntry:\n jobs = min(200, multiprocessing.cpu_c ount() * 10)\nexcept NotImplementedError:\n jobs = 50\n\nprint jobs\n"
172 ],
173 "name": "ensure_goma.get the number of cpus",
174 "stdout": "/path/to/tmp/",
175 "~followup_annotations": [
176 "@@@STEP_NEST_LEVEL@1@@@",
177 "@@@STEP_LOG_LINE@python.inline@@@@",
178 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@",
179 "@@@STEP_LOG_LINE@python.inline@@@@",
180 "@@@STEP_LOG_LINE@python.inline@try:@@@",
181 "@@@STEP_LOG_LINE@python.inline@ jobs = min(200, multiprocessing.cpu_coun t() * 10)@@@",
182 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@",
183 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@",
184 "@@@STEP_LOG_LINE@python.inline@@@@",
185 "@@@STEP_LOG_LINE@python.inline@print jobs@@@",
186 "@@@STEP_LOG_END@python.inline@@@"
187 ]
188 },
189 {
190 "cmd": [
191 "python",
192 "-u",
171 "[SLAVE_BUILD]/src/tools/swarming_client/swarming.py", 193 "[SLAVE_BUILD]/src/tools/swarming_client/swarming.py",
172 "--version" 194 "--version"
173 ], 195 ],
174 "name": "swarming.py --version", 196 "name": "swarming.py --version",
175 "stdout": "/path/to/tmp/", 197 "stdout": "/path/to/tmp/",
176 "~followup_annotations": [ 198 "~followup_annotations": [
177 "@@@STEP_TEXT@0.8.6@@@" 199 "@@@STEP_TEXT@0.8.6@@@"
178 ] 200 ]
179 }, 201 },
180 { 202 {
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after
417 "~followup_annotations": [ 439 "~followup_annotations": [
418 "@@@STEP_TEXT@Linux Tests@@@" 440 "@@@STEP_TEXT@Linux Tests@@@"
419 ] 441 ]
420 }, 442 },
421 { 443 {
422 "name": "$result", 444 "name": "$result",
423 "recipe_result": null, 445 "recipe_result": null,
424 "status_code": 0 446 "status_code": 0
425 } 447 }
426 ] 448 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698