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

Side by Side Diff: scripts/slave/recipe_modules/chromium/example.expected/basic_out_dir.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 "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 "Android Builder (dbg)", 10 "Android Builder (dbg)",
(...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 "[SLAVE_BUILD]/src/tools/swarming_client/swarming.py", 185 "[SLAVE_BUILD]/src/tools/swarming_client/swarming.py",
170 "--version" 186 "--version"
171 ], 187 ],
172 "name": "swarming.py --version", 188 "name": "swarming.py --version",
173 "stdout": "/path/to/tmp/", 189 "stdout": "/path/to/tmp/",
174 "~followup_annotations": [ 190 "~followup_annotations": [
175 "@@@STEP_TEXT@0.8.6@@@" 191 "@@@STEP_TEXT@0.8.6@@@"
176 ] 192 ]
177 }, 193 },
178 { 194 {
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
293 "@@@STEP_LOG_LINE@json.output (invalid)@null@@@", 309 "@@@STEP_LOG_LINE@json.output (invalid)@null@@@",
294 "@@@STEP_LOG_END@json.output (invalid)@@@" 310 "@@@STEP_LOG_END@json.output (invalid)@@@"
295 ] 311 ]
296 }, 312 },
297 { 313 {
298 "name": "$result", 314 "name": "$result",
299 "recipe_result": null, 315 "recipe_result": null,
300 "status_code": 0 316 "status_code": 0
301 } 317 }
302 ] 318 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698