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

Side by Side Diff: scripts/slave/recipes/libyuv/libyuv.expected/client_libyuv_linux_asan.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 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 }, 163 },
164 "name": "clang_revision", 164 "name": "clang_revision",
165 "~followup_annotations": [ 165 "~followup_annotations": [
166 "@@@STEP_LOG_LINE@json.output@{@@@", 166 "@@@STEP_LOG_LINE@json.output@{@@@",
167 "@@@STEP_LOG_LINE@json.output@ \"clang_revision\": \"123456-7\"@@@", 167 "@@@STEP_LOG_LINE@json.output@ \"clang_revision\": \"123456-7\"@@@",
168 "@@@STEP_LOG_LINE@json.output@}@@@", 168 "@@@STEP_LOG_LINE@json.output@}@@@",
169 "@@@STEP_LOG_END@json.output@@@" 169 "@@@STEP_LOG_END@json.output@@@"
170 ] 170 ]
171 }, 171 },
172 { 172 {
173 "cmd": [
174 "python",
175 "-u",
176 "\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"
177 ],
178 "name": "calculate the number of recommended jobs",
179 "stdout": "/path/to/tmp/",
180 "~followup_annotations": [
181 "@@@STEP_LOG_LINE@python.inline@@@@",
182 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@",
183 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
184 "@@@STEP_LOG_LINE@python.inline@@@@",
185 "@@@STEP_LOG_LINE@python.inline@job_limit = 200@@@",
186 "@@@STEP_LOG_LINE@python.inline@if sys.platform.startswith('linux'):@@@",
187 "@@@STEP_LOG_LINE@python.inline@ # Use 80 for linux not to load goma back end.@@@",
188 "@@@STEP_LOG_LINE@python.inline@ job_limit = 80@@@",
189 "@@@STEP_LOG_LINE@python.inline@@@@",
190 "@@@STEP_LOG_LINE@python.inline@try:@@@",
191 "@@@STEP_LOG_LINE@python.inline@ jobs = min(job_limit, multiprocessing.cp u_count() * 10)@@@",
192 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@",
193 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@",
194 "@@@STEP_LOG_LINE@python.inline@@@@",
195 "@@@STEP_LOG_LINE@python.inline@print jobs@@@",
196 "@@@STEP_LOG_END@python.inline@@@"
197 ]
198 },
199 {
200 "cmd": [], 173 "cmd": [],
201 "name": "preprocess_for_goma" 174 "name": "preprocess_for_goma"
202 }, 175 },
203 { 176 {
204 "cmd": [ 177 "cmd": [
205 "python", 178 "python",
206 "-u", 179 "-u",
207 "[CACHE]/cipd/goma/goma_ctl.py", 180 "[CACHE]/cipd/goma/goma_ctl.py",
208 "restart" 181 "restart"
209 ], 182 ],
(...skipping 22 matching lines...) Expand all
232 "env": { 205 "env": {
233 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json" 206 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json"
234 }, 207 },
235 "name": "preprocess_for_goma.start cloudtail", 208 "name": "preprocess_for_goma.start cloudtail",
236 "~followup_annotations": [ 209 "~followup_annotations": [
237 "@@@STEP_NEST_LEVEL@1@@@" 210 "@@@STEP_NEST_LEVEL@1@@@"
238 ] 211 ]
239 }, 212 },
240 { 213 {
241 "cmd": [ 214 "cmd": [
215 "python",
216 "-u",
217 "\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"
218 ],
219 "name": "calculate the number of recommended jobs",
220 "stdout": "/path/to/tmp/",
221 "~followup_annotations": [
222 "@@@STEP_LOG_LINE@python.inline@@@@",
223 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@",
224 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
225 "@@@STEP_LOG_LINE@python.inline@@@@",
226 "@@@STEP_LOG_LINE@python.inline@job_limit = 200@@@",
227 "@@@STEP_LOG_LINE@python.inline@if sys.platform.startswith('linux'):@@@",
228 "@@@STEP_LOG_LINE@python.inline@ # Use 80 for linux not to load goma back end.@@@",
229 "@@@STEP_LOG_LINE@python.inline@ job_limit = 80@@@",
230 "@@@STEP_LOG_LINE@python.inline@@@@",
231 "@@@STEP_LOG_LINE@python.inline@try:@@@",
232 "@@@STEP_LOG_LINE@python.inline@ jobs = min(job_limit, multiprocessing.cp u_count() * 10)@@@",
233 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@",
234 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@",
235 "@@@STEP_LOG_LINE@python.inline@@@@",
236 "@@@STEP_LOG_LINE@python.inline@print jobs@@@",
237 "@@@STEP_LOG_END@python.inline@@@"
238 ]
239 },
240 {
241 "cmd": [
242 "RECIPE_PACKAGE_REPO[depot_tools]/ninja", 242 "RECIPE_PACKAGE_REPO[depot_tools]/ninja",
243 "-j",
244 "50",
243 "-w", 245 "-w",
244 "dupbuild=err", 246 "dupbuild=err",
245 "-C", 247 "-C",
246 "[SLAVE_BUILD]/src/out/Release", 248 "[SLAVE_BUILD]/src/out/Release"
247 "-j",
248 "50"
249 ], 249 ],
250 "env": { 250 "env": {
251 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json" 251 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json"
252 }, 252 },
253 "name": "compile with ninja" 253 "name": "compile with ninja"
254 }, 254 },
255 { 255 {
256 "cmd": [], 256 "cmd": [],
257 "name": "postprocess_for_goma" 257 "name": "postprocess_for_goma"
258 }, 258 },
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
308 "-u", 308 "-u",
309 "RECIPE_PACKAGE_REPO[build]/scripts/slave/upload_goma_logs.py", 309 "RECIPE_PACKAGE_REPO[build]/scripts/slave/upload_goma_logs.py",
310 "--upload-compiler-proxy-info", 310 "--upload-compiler-proxy-info",
311 "--json-status", 311 "--json-status",
312 "[CACHE]/cipd/goma/jsonstatus", 312 "[CACHE]/cipd/goma/jsonstatus",
313 "--ninja-log-outdir", 313 "--ninja-log-outdir",
314 "[SLAVE_BUILD]/src/out/Release", 314 "[SLAVE_BUILD]/src/out/Release",
315 "--ninja-log-compiler", 315 "--ninja-log-compiler",
316 "goma-clang", 316 "goma-clang",
317 "--ninja-log-command", 317 "--ninja-log-command",
318 "['RECIPE_PACKAGE_REPO[depot_tools]/ninja', '-w', 'dupbuild=err', '-C', '[ SLAVE_BUILD]/src/out/Release', '-j', 50]", 318 "['RECIPE_PACKAGE_REPO[depot_tools]/ninja', '-j', 50, '-w', 'dupbuild=err' , '-C', '[SLAVE_BUILD]/src/out/Release']",
319 "--ninja-log-exit-status", 319 "--ninja-log-exit-status",
320 "0", 320 "0",
321 "--buildbot-buildername", 321 "--buildbot-buildername",
322 "Linux Asan", 322 "Linux Asan",
323 "--buildbot-mastername", 323 "--buildbot-mastername",
324 "client.libyuv", 324 "client.libyuv",
325 "--buildbot-slavename", 325 "--buildbot-slavename",
326 "slavename" 326 "slavename"
327 ], 327 ],
328 "env": { 328 "env": {
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
368 "libyuv_unittest" 368 "libyuv_unittest"
369 ], 369 ],
370 "name": "libyuv_unittest" 370 "name": "libyuv_unittest"
371 }, 371 },
372 { 372 {
373 "name": "$result", 373 "name": "$result",
374 "recipe_result": null, 374 "recipe_result": null,
375 "status_code": 0 375 "status_code": 0
376 } 376 }
377 ] 377 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698