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

Side by Side Diff: scripts/slave/recipes/libyuv/libyuv.expected/client_libyuv_ios_arm64_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 22 matching lines...) Expand all
234 "env": { 207 "env": {
235 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json" 208 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json"
236 }, 209 },
237 "name": "preprocess_for_goma.start cloudtail", 210 "name": "preprocess_for_goma.start cloudtail",
238 "~followup_annotations": [ 211 "~followup_annotations": [
239 "@@@STEP_NEST_LEVEL@1@@@" 212 "@@@STEP_NEST_LEVEL@1@@@"
240 ] 213 ]
241 }, 214 },
242 { 215 {
243 "cmd": [ 216 "cmd": [
217 "python",
218 "-u",
219 "\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"
220 ],
221 "name": "calculate the number of recommended jobs",
222 "stdout": "/path/to/tmp/",
223 "~followup_annotations": [
224 "@@@STEP_LOG_LINE@python.inline@@@@",
225 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@",
226 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
227 "@@@STEP_LOG_LINE@python.inline@@@@",
228 "@@@STEP_LOG_LINE@python.inline@job_limit = 200@@@",
229 "@@@STEP_LOG_LINE@python.inline@if sys.platform.startswith('linux'):@@@",
230 "@@@STEP_LOG_LINE@python.inline@ # Use 80 for linux not to load goma back end.@@@",
231 "@@@STEP_LOG_LINE@python.inline@ job_limit = 80@@@",
232 "@@@STEP_LOG_LINE@python.inline@@@@",
233 "@@@STEP_LOG_LINE@python.inline@try:@@@",
234 "@@@STEP_LOG_LINE@python.inline@ jobs = min(job_limit, multiprocessing.cp u_count() * 10)@@@",
235 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@",
236 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@",
237 "@@@STEP_LOG_LINE@python.inline@@@@",
238 "@@@STEP_LOG_LINE@python.inline@print jobs@@@",
239 "@@@STEP_LOG_END@python.inline@@@"
240 ]
241 },
242 {
243 "cmd": [
244 "RECIPE_PACKAGE_REPO[depot_tools]/ninja", 244 "RECIPE_PACKAGE_REPO[depot_tools]/ninja",
245 "-j",
246 "50",
245 "-w", 247 "-w",
246 "dupbuild=err", 248 "dupbuild=err",
247 "-C", 249 "-C",
248 "[SLAVE_BUILD]/src/out/Debug-iphoneos", 250 "[SLAVE_BUILD]/src/out/Debug-iphoneos"
249 "-j",
250 "50"
251 ], 251 ],
252 "env": { 252 "env": {
253 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json" 253 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json"
254 }, 254 },
255 "name": "compile with ninja" 255 "name": "compile with ninja"
256 }, 256 },
257 { 257 {
258 "cmd": [], 258 "cmd": [],
259 "name": "postprocess_for_goma" 259 "name": "postprocess_for_goma"
260 }, 260 },
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
310 "-u", 310 "-u",
311 "RECIPE_PACKAGE_REPO[build]/scripts/slave/upload_goma_logs.py", 311 "RECIPE_PACKAGE_REPO[build]/scripts/slave/upload_goma_logs.py",
312 "--upload-compiler-proxy-info", 312 "--upload-compiler-proxy-info",
313 "--json-status", 313 "--json-status",
314 "[CACHE]/cipd/goma/jsonstatus", 314 "[CACHE]/cipd/goma/jsonstatus",
315 "--ninja-log-outdir", 315 "--ninja-log-outdir",
316 "[SLAVE_BUILD]/src/out/Debug-iphoneos", 316 "[SLAVE_BUILD]/src/out/Debug-iphoneos",
317 "--ninja-log-compiler", 317 "--ninja-log-compiler",
318 "goma-clang", 318 "goma-clang",
319 "--ninja-log-command", 319 "--ninja-log-command",
320 "['RECIPE_PACKAGE_REPO[depot_tools]/ninja', '-w', 'dupbuild=err', '-C', '[ SLAVE_BUILD]/src/out/Debug-iphoneos', '-j', 50]", 320 "['RECIPE_PACKAGE_REPO[depot_tools]/ninja', '-j', 50, '-w', 'dupbuild=err' , '-C', '[SLAVE_BUILD]/src/out/Debug-iphoneos']",
321 "--ninja-log-exit-status", 321 "--ninja-log-exit-status",
322 "0", 322 "0",
323 "--buildbot-buildername", 323 "--buildbot-buildername",
324 "iOS ARM64 Debug", 324 "iOS ARM64 Debug",
325 "--buildbot-mastername", 325 "--buildbot-mastername",
326 "client.libyuv", 326 "client.libyuv",
327 "--buildbot-slavename", 327 "--buildbot-slavename",
328 "slavename" 328 "slavename"
329 ], 329 ],
330 "env": { 330 "env": {
(...skipping 17 matching lines...) Expand all
348 "~followup_annotations": [ 348 "~followup_annotations": [
349 "@@@STEP_NEST_LEVEL@1@@@" 349 "@@@STEP_NEST_LEVEL@1@@@"
350 ] 350 ]
351 }, 351 },
352 { 352 {
353 "name": "$result", 353 "name": "$result",
354 "recipe_result": null, 354 "recipe_result": null,
355 "status_code": 0 355 "status_code": 0
356 } 356 }
357 ] 357 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698