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

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

Powered by Google App Engine
This is Rietveld 408576698