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

Side by Side Diff: scripts/slave/recipes/chromium.chromedriver.recipe_autogen.expected/Win7.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 "[BUILD]/scripts/slave/kill_processes.py" 6 "[BUILD]/scripts/slave/kill_processes.py"
7 ], 7 ],
8 "name": "taskkill" 8 "name": "taskkill"
9 }, 9 },
10 { 10 {
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 "@@@STEP_LOG_LINE@json.output@ }@@@", 166 "@@@STEP_LOG_LINE@json.output@ }@@@",
167 "@@@STEP_LOG_LINE@json.output@ ]@@@", 167 "@@@STEP_LOG_LINE@json.output@ ]@@@",
168 "@@@STEP_LOG_LINE@json.output@}@@@", 168 "@@@STEP_LOG_LINE@json.output@}@@@",
169 "@@@STEP_LOG_END@json.output@@@" 169 "@@@STEP_LOG_END@json.output@@@"
170 ] 170 ]
171 }, 171 },
172 { 172 {
173 "cmd": [ 173 "cmd": [
174 "python", 174 "python",
175 "-u", 175 "-u",
176 "\nimport multiprocessing\n\ntry:\n jobs = min(200, multiprocessing.cpu_c ount() * 10)\nexcept NotImplementedError:\n jobs = 50\n\nprint jobs\n"
177 ],
178 "name": "ensure_goma.get the number of cpus",
179 "stdout": "/path/to/tmp/",
180 "~followup_annotations": [
181 "@@@STEP_NEST_LEVEL@1@@@",
182 "@@@STEP_LOG_LINE@python.inline@@@@",
183 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@",
184 "@@@STEP_LOG_LINE@python.inline@@@@",
185 "@@@STEP_LOG_LINE@python.inline@try:@@@",
186 "@@@STEP_LOG_LINE@python.inline@ jobs = min(200, multiprocessing.cpu_coun t() * 10)@@@",
187 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@",
188 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@",
189 "@@@STEP_LOG_LINE@python.inline@@@@",
190 "@@@STEP_LOG_LINE@python.inline@print jobs@@@",
191 "@@@STEP_LOG_END@python.inline@@@"
192 ]
193 },
194 {
195 "cmd": [
196 "python",
197 "-u",
176 "[SLAVE_BUILD]/src/tools/mb/mb.py", 198 "[SLAVE_BUILD]/src/tools/mb/mb.py",
177 "gen", 199 "gen",
178 "-m", 200 "-m",
179 "chromium.chromedriver", 201 "chromium.chromedriver",
180 "-b", 202 "-b",
181 "Win7", 203 "Win7",
182 "--goma-dir", 204 "--goma-dir",
183 "[CACHE]/cipd/goma", 205 "[CACHE]/cipd/goma",
184 "//out/Default" 206 "//out/Default"
185 ], 207 ],
(...skipping 26 matching lines...) Expand all
212 "--factory-properties={\"annotated_script\":\"chromedriver_buildbot_run.py \",\"blink_config\":\"chromium\",\"gclient_env\":{\"DEPOT_TOOLS_UPDATE\":\"0\",\ "LANDMINES_VERBOSE\":\"1\"},\"needs_webdriver_java_tests\":true}" 234 "--factory-properties={\"annotated_script\":\"chromedriver_buildbot_run.py \",\"blink_config\":\"chromium\",\"gclient_env\":{\"DEPOT_TOOLS_UPDATE\":\"0\",\ "LANDMINES_VERBOSE\":\"1\"},\"needs_webdriver_java_tests\":true}"
213 ], 235 ],
214 "name": "annotated_steps" 236 "name": "annotated_steps"
215 }, 237 },
216 { 238 {
217 "name": "$result", 239 "name": "$result",
218 "recipe_result": null, 240 "recipe_result": null,
219 "status_code": 0 241 "status_code": 0
220 } 242 }
221 ] 243 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698