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

Side by Side Diff: scripts/slave/recipes/libyuv/libyuv.expected/client_libyuv_android_clang_debug.json

Issue 2480193002: Stop to use contextmanager for goma.build_with_goma (Closed)
Patch Set: fix pylint Created 4 years, 1 month 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_PACKAGE_REPO[build]/scripts/tools/runit.py", 6 "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py",
7 "--show-path", 7 "--show-path",
8 "python", 8 "python",
9 "RECIPE_PACKAGE_REPO[build]/scripts/slave/cleanup_temp.py" 9 "RECIPE_PACKAGE_REPO[build]/scripts/slave/cleanup_temp.py"
10 ], 10 ],
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 }, 165 },
166 "name": "clang_revision", 166 "name": "clang_revision",
167 "~followup_annotations": [ 167 "~followup_annotations": [
168 "@@@STEP_LOG_LINE@json.output@{@@@", 168 "@@@STEP_LOG_LINE@json.output@{@@@",
169 "@@@STEP_LOG_LINE@json.output@ \"clang_revision\": \"123456-7\"@@@", 169 "@@@STEP_LOG_LINE@json.output@ \"clang_revision\": \"123456-7\"@@@",
170 "@@@STEP_LOG_LINE@json.output@}@@@", 170 "@@@STEP_LOG_LINE@json.output@}@@@",
171 "@@@STEP_LOG_END@json.output@@@" 171 "@@@STEP_LOG_END@json.output@@@"
172 ] 172 ]
173 }, 173 },
174 { 174 {
175 "cmd": [
176 "python",
177 "-u",
178 "\nimport multiprocessing\nimport sys\n\njob_limit = 200\nif sys.platform. startswith('linux'):\n # Use 80 for linux not to load goma backend.\n job_limi t = 80\n\ntry:\n jobs = min(job_limit, multiprocessing.cpu_count() * 10)\nexcep t NotImplementedError:\n jobs = 50\n\nprint jobs\n"
179 ],
180 "name": "calculate the number of recommended jobs",
181 "stdout": "/path/to/tmp/",
182 "~followup_annotations": [
183 "@@@STEP_LOG_LINE@python.inline@@@@",
184 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@",
185 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
186 "@@@STEP_LOG_LINE@python.inline@@@@",
187 "@@@STEP_LOG_LINE@python.inline@job_limit = 200@@@",
188 "@@@STEP_LOG_LINE@python.inline@if sys.platform.startswith('linux'):@@@",
189 "@@@STEP_LOG_LINE@python.inline@ # Use 80 for linux not to load goma back end.@@@",
190 "@@@STEP_LOG_LINE@python.inline@ job_limit = 80@@@",
191 "@@@STEP_LOG_LINE@python.inline@@@@",
192 "@@@STEP_LOG_LINE@python.inline@try:@@@",
193 "@@@STEP_LOG_LINE@python.inline@ jobs = min(job_limit, multiprocessing.cp u_count() * 10)@@@",
194 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@",
195 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@",
196 "@@@STEP_LOG_LINE@python.inline@@@@",
197 "@@@STEP_LOG_LINE@python.inline@print jobs@@@",
198 "@@@STEP_LOG_END@python.inline@@@"
199 ]
200 },
201 {
202 "cmd": [], 175 "cmd": [],
203 "name": "preprocess_for_goma" 176 "name": "preprocess_for_goma"
204 }, 177 },
205 { 178 {
206 "cmd": [ 179 "cmd": [
207 "python", 180 "python",
208 "-u", 181 "-u",
209 "[CACHE]/cipd/goma/goma_ctl.py", 182 "[CACHE]/cipd/goma/goma_ctl.py",
210 "restart" 183 "restart"
211 ], 184 ],
(...skipping 23 matching lines...) Expand all
235 "env": { 208 "env": {
236 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json" 209 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json"
237 }, 210 },
238 "name": "preprocess_for_goma.start cloudtail", 211 "name": "preprocess_for_goma.start cloudtail",
239 "~followup_annotations": [ 212 "~followup_annotations": [
240 "@@@STEP_NEST_LEVEL@1@@@" 213 "@@@STEP_NEST_LEVEL@1@@@"
241 ] 214 ]
242 }, 215 },
243 { 216 {
244 "cmd": [ 217 "cmd": [
218 "python",
219 "-u",
220 "\nimport multiprocessing\nimport sys\n\njob_limit = 200\nif sys.platform. startswith('linux'):\n # Use 80 for linux not to load goma backend.\n job_limi t = 80\n\ntry:\n jobs = min(job_limit, multiprocessing.cpu_count() * 10)\nexcep t NotImplementedError:\n jobs = 50\n\nprint jobs\n"
221 ],
222 "name": "calculate the number of recommended jobs",
223 "stdout": "/path/to/tmp/",
224 "~followup_annotations": [
225 "@@@STEP_LOG_LINE@python.inline@@@@",
226 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@",
227 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
228 "@@@STEP_LOG_LINE@python.inline@@@@",
229 "@@@STEP_LOG_LINE@python.inline@job_limit = 200@@@",
230 "@@@STEP_LOG_LINE@python.inline@if sys.platform.startswith('linux'):@@@",
231 "@@@STEP_LOG_LINE@python.inline@ # Use 80 for linux not to load goma back end.@@@",
232 "@@@STEP_LOG_LINE@python.inline@ job_limit = 80@@@",
233 "@@@STEP_LOG_LINE@python.inline@@@@",
234 "@@@STEP_LOG_LINE@python.inline@try:@@@",
235 "@@@STEP_LOG_LINE@python.inline@ jobs = min(job_limit, multiprocessing.cp u_count() * 10)@@@",
236 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@",
237 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@",
238 "@@@STEP_LOG_LINE@python.inline@@@@",
239 "@@@STEP_LOG_LINE@python.inline@print jobs@@@",
240 "@@@STEP_LOG_END@python.inline@@@"
241 ]
242 },
243 {
244 "cmd": [
245 "RECIPE_PACKAGE_REPO[depot_tools]/ninja", 245 "RECIPE_PACKAGE_REPO[depot_tools]/ninja",
246 "-j",
247 "50",
246 "-w", 248 "-w",
247 "dupbuild=err", 249 "dupbuild=err",
248 "-C", 250 "-C",
249 "[SLAVE_BUILD]/src/out/Debug", 251 "[SLAVE_BUILD]/src/out/Debug"
250 "-j",
251 "50"
252 ], 252 ],
253 "env": { 253 "env": {
254 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 254 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
255 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 255 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
256 }, 256 },
257 "name": "compile with ninja" 257 "name": "compile with ninja"
258 }, 258 },
259 { 259 {
260 "cmd": [], 260 "cmd": [],
261 "name": "postprocess_for_goma" 261 "name": "postprocess_for_goma"
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
312 "-u", 312 "-u",
313 "RECIPE_PACKAGE_REPO[build]/scripts/slave/upload_goma_logs.py", 313 "RECIPE_PACKAGE_REPO[build]/scripts/slave/upload_goma_logs.py",
314 "--upload-compiler-proxy-info", 314 "--upload-compiler-proxy-info",
315 "--json-status", 315 "--json-status",
316 "[CACHE]/cipd/goma/jsonstatus", 316 "[CACHE]/cipd/goma/jsonstatus",
317 "--ninja-log-outdir", 317 "--ninja-log-outdir",
318 "[SLAVE_BUILD]/src/out/Debug", 318 "[SLAVE_BUILD]/src/out/Debug",
319 "--ninja-log-compiler", 319 "--ninja-log-compiler",
320 "goma-clang", 320 "goma-clang",
321 "--ninja-log-command", 321 "--ninja-log-command",
322 "['RECIPE_PACKAGE_REPO[depot_tools]/ninja', '-w', 'dupbuild=err', '-C', '[ SLAVE_BUILD]/src/out/Debug', '-j', 50]", 322 "['RECIPE_PACKAGE_REPO[depot_tools]/ninja', '-j', 50, '-w', 'dupbuild=err' , '-C', '[SLAVE_BUILD]/src/out/Debug']",
323 "--ninja-log-exit-status", 323 "--ninja-log-exit-status",
324 "0", 324 "0",
325 "--buildbot-buildername", 325 "--buildbot-buildername",
326 "Android Clang Debug", 326 "Android Clang Debug",
327 "--buildbot-mastername", 327 "--buildbot-mastername",
328 "client.libyuv", 328 "client.libyuv",
329 "--buildbot-slavename", 329 "--buildbot-slavename",
330 "slavename" 330 "slavename"
331 ], 331 ],
332 "env": { 332 "env": {
(...skipping 17 matching lines...) Expand all
350 "~followup_annotations": [ 350 "~followup_annotations": [
351 "@@@STEP_NEST_LEVEL@1@@@" 351 "@@@STEP_NEST_LEVEL@1@@@"
352 ] 352 ]
353 }, 353 },
354 { 354 {
355 "name": "$result", 355 "name": "$result",
356 "recipe_result": null, 356 "recipe_result": null,
357 "status_code": 0 357 "status_code": 0
358 } 358 }
359 ] 359 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698