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

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: 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 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\nprint min(200, multiprocessing.cpu_count() * 10 )\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@print min(200, multiprocessing.cpu_count() * 10)@@@",
179 "@@@STEP_LOG_END@python.inline@@@"
180 ]
181 },
182 {
183 "cmd": [
184 "python",
185 "-u",
170 "[SLAVE_BUILD]/src/tools/swarming_client/swarming.py", 186 "[SLAVE_BUILD]/src/tools/swarming_client/swarming.py",
171 "--version" 187 "--version"
172 ], 188 ],
173 "name": "swarming.py --version", 189 "name": "swarming.py --version",
174 "stdout": "/path/to/tmp/", 190 "stdout": "/path/to/tmp/",
175 "~followup_annotations": [ 191 "~followup_annotations": [
176 "@@@STEP_TEXT@0.8.6@@@" 192 "@@@STEP_TEXT@0.8.6@@@"
177 ] 193 ]
178 }, 194 },
179 { 195 {
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after
416 "~followup_annotations": [ 432 "~followup_annotations": [
417 "@@@STEP_TEXT@Linux Tests@@@" 433 "@@@STEP_TEXT@Linux Tests@@@"
418 ] 434 ]
419 }, 435 },
420 { 436 {
421 "name": "$result", 437 "name": "$result",
422 "recipe_result": null, 438 "recipe_result": null,
423 "status_code": 0 439 "status_code": 0
424 } 440 }
425 ] 441 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698