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

Side by Side Diff: scripts/slave/recipes/mojo.expected/mojo_linux_try.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.testing.master", 8 "chromium.testing.master",
9 "--builder", 9 "--builder",
10 "Mojo Linux Try", 10 "Mojo Linux Try",
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 "@@@STEP_LOG_LINE@json.output@ }@@@", 120 "@@@STEP_LOG_LINE@json.output@ }@@@",
121 "@@@STEP_LOG_LINE@json.output@ ]@@@", 121 "@@@STEP_LOG_LINE@json.output@ ]@@@",
122 "@@@STEP_LOG_LINE@json.output@}@@@", 122 "@@@STEP_LOG_LINE@json.output@}@@@",
123 "@@@STEP_LOG_END@json.output@@@" 123 "@@@STEP_LOG_END@json.output@@@"
124 ] 124 ]
125 }, 125 },
126 { 126 {
127 "cmd": [ 127 "cmd": [
128 "python", 128 "python",
129 "-u", 129 "-u",
130 "\nimport multiprocessing\n\ntry:\n jobs = min(200, multiprocessing.cpu_c ount() * 10)\nexcept NotImplementedError:\n jobs = 50\n\nprint jobs\n"
131 ],
132 "name": "ensure_goma.get the number of cpus",
133 "stdout": "/path/to/tmp/",
134 "~followup_annotations": [
135 "@@@STEP_NEST_LEVEL@1@@@",
136 "@@@STEP_LOG_LINE@python.inline@@@@",
137 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@",
138 "@@@STEP_LOG_LINE@python.inline@@@@",
139 "@@@STEP_LOG_LINE@python.inline@try:@@@",
140 "@@@STEP_LOG_LINE@python.inline@ jobs = min(200, multiprocessing.cpu_coun t() * 10)@@@",
141 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@",
142 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@",
143 "@@@STEP_LOG_LINE@python.inline@@@@",
144 "@@@STEP_LOG_LINE@python.inline@print jobs@@@",
145 "@@@STEP_LOG_END@python.inline@@@"
146 ]
147 },
148 {
149 "cmd": [
150 "python",
151 "-u",
130 "[SLAVE_BUILD]/src/mojo/tools/mojob.py", 152 "[SLAVE_BUILD]/src/mojo/tools/mojob.py",
131 "gn", 153 "gn",
132 "--release", 154 "--release",
133 "--dcheck_always_on" 155 "--dcheck_always_on"
134 ], 156 ],
135 "cwd": "[SLAVE_BUILD]/src", 157 "cwd": "[SLAVE_BUILD]/src",
136 "env": { 158 "env": {
137 "GOMA_DIR": "[CACHE]/cipd/goma", 159 "GOMA_DIR": "[CACHE]/cipd/goma",
138 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json" 160 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json"
139 }, 161 },
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 ], 203 ],
182 "cwd": "[SLAVE_BUILD]/src", 204 "cwd": "[SLAVE_BUILD]/src",
183 "name": "Hello" 205 "name": "Hello"
184 }, 206 },
185 { 207 {
186 "name": "$result", 208 "name": "$result",
187 "recipe_result": null, 209 "recipe_result": null,
188 "status_code": 0 210 "status_code": 0
189 } 211 }
190 ] 212 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698