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

Side by Side Diff: scripts/slave/recipes/chromium.expected/dynamic_junit_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 "Android Tests", 10 "Android Tests",
(...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 271 matching lines...) Expand 10 before | Expand all | Expand 10 after
451 "@@@STEP_LOG_END@python.inline@@@" 467 "@@@STEP_LOG_END@python.inline@@@"
452 ] 468 ]
453 }, 469 },
454 { 470 {
455 "name": "$result", 471 "name": "$result",
456 "reason": "1 tests failed: ['base_junit_tests']", 472 "reason": "1 tests failed: ['base_junit_tests']",
457 "recipe_result": null, 473 "recipe_result": null,
458 "status_code": 1 474 "status_code": 1
459 } 475 }
460 ] 476 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698