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

Side by Side Diff: scripts/slave/recipes/libyuv/libyuv.expected/tryserver_libyuv_android_clang.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 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 }, 171 },
172 "name": "clang_revision", 172 "name": "clang_revision",
173 "~followup_annotations": [ 173 "~followup_annotations": [
174 "@@@STEP_LOG_LINE@json.output@{@@@", 174 "@@@STEP_LOG_LINE@json.output@{@@@",
175 "@@@STEP_LOG_LINE@json.output@ \"clang_revision\": \"123456-7\"@@@", 175 "@@@STEP_LOG_LINE@json.output@ \"clang_revision\": \"123456-7\"@@@",
176 "@@@STEP_LOG_LINE@json.output@}@@@", 176 "@@@STEP_LOG_LINE@json.output@}@@@",
177 "@@@STEP_LOG_END@json.output@@@" 177 "@@@STEP_LOG_END@json.output@@@"
178 ] 178 ]
179 }, 179 },
180 { 180 {
181 "cmd": [
182 "python",
183 "-u",
184 "\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"
185 ],
186 "name": "calculate the number of recommended jobs",
187 "stdout": "/path/to/tmp/",
188 "~followup_annotations": [
189 "@@@STEP_LOG_LINE@python.inline@@@@",
190 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@",
191 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
192 "@@@STEP_LOG_LINE@python.inline@@@@",
193 "@@@STEP_LOG_LINE@python.inline@job_limit = 200@@@",
194 "@@@STEP_LOG_LINE@python.inline@if sys.platform.startswith('linux'):@@@",
195 "@@@STEP_LOG_LINE@python.inline@ # Use 80 for linux not to load goma back end.@@@",
196 "@@@STEP_LOG_LINE@python.inline@ job_limit = 80@@@",
197 "@@@STEP_LOG_LINE@python.inline@@@@",
198 "@@@STEP_LOG_LINE@python.inline@try:@@@",
199 "@@@STEP_LOG_LINE@python.inline@ jobs = min(job_limit, multiprocessing.cp u_count() * 10)@@@",
200 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@",
201 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@",
202 "@@@STEP_LOG_LINE@python.inline@@@@",
203 "@@@STEP_LOG_LINE@python.inline@print jobs@@@",
204 "@@@STEP_LOG_END@python.inline@@@"
205 ]
206 },
207 {
208 "cmd": [], 181 "cmd": [],
209 "name": "preprocess_for_goma" 182 "name": "preprocess_for_goma"
210 }, 183 },
211 { 184 {
212 "cmd": [ 185 "cmd": [
213 "python", 186 "python",
214 "-u", 187 "-u",
215 "[CACHE]/cipd/goma/goma_ctl.py", 188 "[CACHE]/cipd/goma/goma_ctl.py",
216 "restart" 189 "restart"
217 ], 190 ],
(...skipping 23 matching lines...) Expand all
241 "env": { 214 "env": {
242 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json" 215 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json"
243 }, 216 },
244 "name": "preprocess_for_goma.start cloudtail", 217 "name": "preprocess_for_goma.start cloudtail",
245 "~followup_annotations": [ 218 "~followup_annotations": [
246 "@@@STEP_NEST_LEVEL@1@@@" 219 "@@@STEP_NEST_LEVEL@1@@@"
247 ] 220 ]
248 }, 221 },
249 { 222 {
250 "cmd": [ 223 "cmd": [
224 "python",
225 "-u",
226 "\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"
227 ],
228 "name": "calculate the number of recommended jobs",
229 "stdout": "/path/to/tmp/",
230 "~followup_annotations": [
231 "@@@STEP_LOG_LINE@python.inline@@@@",
232 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@",
233 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
234 "@@@STEP_LOG_LINE@python.inline@@@@",
235 "@@@STEP_LOG_LINE@python.inline@job_limit = 200@@@",
236 "@@@STEP_LOG_LINE@python.inline@if sys.platform.startswith('linux'):@@@",
237 "@@@STEP_LOG_LINE@python.inline@ # Use 80 for linux not to load goma back end.@@@",
238 "@@@STEP_LOG_LINE@python.inline@ job_limit = 80@@@",
239 "@@@STEP_LOG_LINE@python.inline@@@@",
240 "@@@STEP_LOG_LINE@python.inline@try:@@@",
241 "@@@STEP_LOG_LINE@python.inline@ jobs = min(job_limit, multiprocessing.cp u_count() * 10)@@@",
242 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@",
243 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@",
244 "@@@STEP_LOG_LINE@python.inline@@@@",
245 "@@@STEP_LOG_LINE@python.inline@print jobs@@@",
246 "@@@STEP_LOG_END@python.inline@@@"
247 ]
248 },
249 {
250 "cmd": [
251 "RECIPE_PACKAGE_REPO[depot_tools]/ninja", 251 "RECIPE_PACKAGE_REPO[depot_tools]/ninja",
252 "-j",
253 "50",
252 "-w", 254 "-w",
253 "dupbuild=err", 255 "dupbuild=err",
254 "-C", 256 "-C",
255 "[SLAVE_BUILD]/src/out/Debug", 257 "[SLAVE_BUILD]/src/out/Debug"
256 "-j",
257 "50"
258 ], 258 ],
259 "env": { 259 "env": {
260 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 260 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
261 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 261 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
262 }, 262 },
263 "name": "compile with ninja" 263 "name": "compile with ninja"
264 }, 264 },
265 { 265 {
266 "cmd": [], 266 "cmd": [],
267 "name": "postprocess_for_goma" 267 "name": "postprocess_for_goma"
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
318 "-u", 318 "-u",
319 "RECIPE_PACKAGE_REPO[build]/scripts/slave/upload_goma_logs.py", 319 "RECIPE_PACKAGE_REPO[build]/scripts/slave/upload_goma_logs.py",
320 "--upload-compiler-proxy-info", 320 "--upload-compiler-proxy-info",
321 "--json-status", 321 "--json-status",
322 "[CACHE]/cipd/goma/jsonstatus", 322 "[CACHE]/cipd/goma/jsonstatus",
323 "--ninja-log-outdir", 323 "--ninja-log-outdir",
324 "[SLAVE_BUILD]/src/out/Debug", 324 "[SLAVE_BUILD]/src/out/Debug",
325 "--ninja-log-compiler", 325 "--ninja-log-compiler",
326 "goma-clang", 326 "goma-clang",
327 "--ninja-log-command", 327 "--ninja-log-command",
328 "['RECIPE_PACKAGE_REPO[depot_tools]/ninja', '-w', 'dupbuild=err', '-C', '[ SLAVE_BUILD]/src/out/Debug', '-j', 50]", 328 "['RECIPE_PACKAGE_REPO[depot_tools]/ninja', '-j', 50, '-w', 'dupbuild=err' , '-C', '[SLAVE_BUILD]/src/out/Debug']",
329 "--ninja-log-exit-status", 329 "--ninja-log-exit-status",
330 "0", 330 "0",
331 "--buildbot-buildername", 331 "--buildbot-buildername",
332 "android_clang", 332 "android_clang",
333 "--buildbot-mastername", 333 "--buildbot-mastername",
334 "tryserver.libyuv", 334 "tryserver.libyuv",
335 "--buildbot-slavename", 335 "--buildbot-slavename",
336 "slavename" 336 "slavename"
337 ], 337 ],
338 "env": { 338 "env": {
(...skipping 17 matching lines...) Expand all
356 "~followup_annotations": [ 356 "~followup_annotations": [
357 "@@@STEP_NEST_LEVEL@1@@@" 357 "@@@STEP_NEST_LEVEL@1@@@"
358 ] 358 ]
359 }, 359 },
360 { 360 {
361 "name": "$result", 361 "name": "$result",
362 "recipe_result": null, 362 "recipe_result": null,
363 "status_code": 0 363 "status_code": 0
364 } 364 }
365 ] 365 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698