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

Side by Side Diff: scripts/slave/recipes/mojo.expected/mojo_android_builder_tests_dbg.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.testing.master", 8 "chromium.testing.master",
9 "--builder", 9 "--builder",
10 "Mojo Android Builder Tests (dbg)", 10 "Mojo Android Builder Tests (dbg)",
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 "@@@STEP_LOG_LINE@json.output@ }@@@", 114 "@@@STEP_LOG_LINE@json.output@ }@@@",
115 "@@@STEP_LOG_LINE@json.output@ ]@@@", 115 "@@@STEP_LOG_LINE@json.output@ ]@@@",
116 "@@@STEP_LOG_LINE@json.output@}@@@", 116 "@@@STEP_LOG_LINE@json.output@}@@@",
117 "@@@STEP_LOG_END@json.output@@@" 117 "@@@STEP_LOG_END@json.output@@@"
118 ] 118 ]
119 }, 119 },
120 { 120 {
121 "cmd": [ 121 "cmd": [
122 "python", 122 "python",
123 "-u", 123 "-u",
124 "\nimport multiprocessing\nprint min(200, multiprocessing.cpu_count() * 10 )\n"
125 ],
126 "name": "ensure_goma.get the number of cpus",
127 "stdout": "/path/to/tmp/",
128 "~followup_annotations": [
129 "@@@STEP_NEST_LEVEL@1@@@",
130 "@@@STEP_LOG_LINE@python.inline@@@@",
131 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@",
132 "@@@STEP_LOG_LINE@python.inline@print min(200, multiprocessing.cpu_count() * 10)@@@",
133 "@@@STEP_LOG_END@python.inline@@@"
134 ]
135 },
136 {
137 "cmd": [
138 "python",
139 "-u",
124 "[SLAVE_BUILD]/src/mojo/tools/mojob.py", 140 "[SLAVE_BUILD]/src/mojo/tools/mojob.py",
125 "gn", 141 "gn",
126 "--debug", 142 "--debug",
127 "--android" 143 "--android"
128 ], 144 ],
129 "cwd": "[SLAVE_BUILD]/src", 145 "cwd": "[SLAVE_BUILD]/src",
130 "env": { 146 "env": {
131 "GOMA_DIR": "[CACHE]/cipd/goma", 147 "GOMA_DIR": "[CACHE]/cipd/goma",
132 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json" 148 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json"
133 }, 149 },
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
258 ], 274 ],
259 "cwd": "[SLAVE_BUILD]/src", 275 "cwd": "[SLAVE_BUILD]/src",
260 "name": "Hello" 276 "name": "Hello"
261 }, 277 },
262 { 278 {
263 "name": "$result", 279 "name": "$result",
264 "recipe_result": null, 280 "recipe_result": null,
265 "status_code": 0 281 "status_code": 0
266 } 282 }
267 ] 283 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698