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

Side by Side Diff: scripts/slave/recipes/webrtc/standalone.expected/client_webrtc_linux_msan.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 "\nimport sys, os\npath = sys.argv[1]\nmode = int(sys.argv[2])\nif not os. path.isdir(path):\n if os.path.exists(path):\n print \"%s exists but is not a dir\" % path\n sys.exit(1)\n os.makedirs(path, mode)\n", 6 "\nimport sys, os\npath = sys.argv[1]\nmode = int(sys.argv[2])\nif not os. path.isdir(path):\n if os.path.exists(path):\n print \"%s exists but is not a dir\" % path\n sys.exit(1)\n os.makedirs(path, mode)\n",
7 "[BUILDER_CACHE]/Linux_MSan", 7 "[BUILDER_CACHE]/Linux_MSan",
8 "511" 8 "511"
9 ], 9 ],
10 "name": "makedirs checkout path", 10 "name": "makedirs checkout path",
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
214 }, 214 },
215 "name": "clang_revision", 215 "name": "clang_revision",
216 "~followup_annotations": [ 216 "~followup_annotations": [
217 "@@@STEP_LOG_LINE@json.output@{@@@", 217 "@@@STEP_LOG_LINE@json.output@{@@@",
218 "@@@STEP_LOG_LINE@json.output@ \"clang_revision\": \"123456-7\"@@@", 218 "@@@STEP_LOG_LINE@json.output@ \"clang_revision\": \"123456-7\"@@@",
219 "@@@STEP_LOG_LINE@json.output@}@@@", 219 "@@@STEP_LOG_LINE@json.output@}@@@",
220 "@@@STEP_LOG_END@json.output@@@" 220 "@@@STEP_LOG_END@json.output@@@"
221 ] 221 ]
222 }, 222 },
223 { 223 {
224 "cmd": [
225 "python",
226 "-u",
227 "\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"
228 ],
229 "name": "calculate the number of recommended jobs",
230 "stdout": "/path/to/tmp/",
231 "~followup_annotations": [
232 "@@@STEP_LOG_LINE@python.inline@@@@",
233 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@",
234 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
235 "@@@STEP_LOG_LINE@python.inline@@@@",
236 "@@@STEP_LOG_LINE@python.inline@job_limit = 200@@@",
237 "@@@STEP_LOG_LINE@python.inline@if sys.platform.startswith('linux'):@@@",
238 "@@@STEP_LOG_LINE@python.inline@ # Use 80 for linux not to load goma back end.@@@",
239 "@@@STEP_LOG_LINE@python.inline@ job_limit = 80@@@",
240 "@@@STEP_LOG_LINE@python.inline@@@@",
241 "@@@STEP_LOG_LINE@python.inline@try:@@@",
242 "@@@STEP_LOG_LINE@python.inline@ jobs = min(job_limit, multiprocessing.cp u_count() * 10)@@@",
243 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@",
244 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@",
245 "@@@STEP_LOG_LINE@python.inline@@@@",
246 "@@@STEP_LOG_LINE@python.inline@print jobs@@@",
247 "@@@STEP_LOG_END@python.inline@@@"
248 ]
249 },
250 {
251 "cmd": [], 224 "cmd": [],
252 "name": "preprocess_for_goma" 225 "name": "preprocess_for_goma"
253 }, 226 },
254 { 227 {
255 "cmd": [ 228 "cmd": [
256 "python", 229 "python",
257 "-u", 230 "-u",
258 "[CACHE]/cipd/goma/goma_ctl.py", 231 "[CACHE]/cipd/goma/goma_ctl.py",
259 "restart" 232 "restart"
260 ], 233 ],
(...skipping 22 matching lines...) Expand all
283 "env": { 256 "env": {
284 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json" 257 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json"
285 }, 258 },
286 "name": "preprocess_for_goma.start cloudtail", 259 "name": "preprocess_for_goma.start cloudtail",
287 "~followup_annotations": [ 260 "~followup_annotations": [
288 "@@@STEP_NEST_LEVEL@1@@@" 261 "@@@STEP_NEST_LEVEL@1@@@"
289 ] 262 ]
290 }, 263 },
291 { 264 {
292 "cmd": [ 265 "cmd": [
266 "python",
267 "-u",
268 "\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"
269 ],
270 "name": "calculate the number of recommended jobs",
271 "stdout": "/path/to/tmp/",
272 "~followup_annotations": [
273 "@@@STEP_LOG_LINE@python.inline@@@@",
274 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@",
275 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
276 "@@@STEP_LOG_LINE@python.inline@@@@",
277 "@@@STEP_LOG_LINE@python.inline@job_limit = 200@@@",
278 "@@@STEP_LOG_LINE@python.inline@if sys.platform.startswith('linux'):@@@",
279 "@@@STEP_LOG_LINE@python.inline@ # Use 80 for linux not to load goma back end.@@@",
280 "@@@STEP_LOG_LINE@python.inline@ job_limit = 80@@@",
281 "@@@STEP_LOG_LINE@python.inline@@@@",
282 "@@@STEP_LOG_LINE@python.inline@try:@@@",
283 "@@@STEP_LOG_LINE@python.inline@ jobs = min(job_limit, multiprocessing.cp u_count() * 10)@@@",
284 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@",
285 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@",
286 "@@@STEP_LOG_LINE@python.inline@@@@",
287 "@@@STEP_LOG_LINE@python.inline@print jobs@@@",
288 "@@@STEP_LOG_END@python.inline@@@"
289 ]
290 },
291 {
292 "cmd": [
293 "RECIPE_PACKAGE_REPO[depot_tools]/ninja", 293 "RECIPE_PACKAGE_REPO[depot_tools]/ninja",
294 "-j",
295 "50",
294 "-w", 296 "-w",
295 "dupbuild=err", 297 "dupbuild=err",
296 "-C", 298 "-C",
297 "[BUILDER_CACHE]/Linux_MSan/src/out/Release", 299 "[BUILDER_CACHE]/Linux_MSan/src/out/Release"
298 "-j",
299 "50"
300 ], 300 ],
301 "env": { 301 "env": {
302 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json" 302 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json"
303 }, 303 },
304 "name": "compile with ninja" 304 "name": "compile with ninja"
305 }, 305 },
306 { 306 {
307 "cmd": [], 307 "cmd": [],
308 "name": "postprocess_for_goma" 308 "name": "postprocess_for_goma"
309 }, 309 },
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
359 "-u", 359 "-u",
360 "RECIPE_PACKAGE_REPO[build]/scripts/slave/upload_goma_logs.py", 360 "RECIPE_PACKAGE_REPO[build]/scripts/slave/upload_goma_logs.py",
361 "--upload-compiler-proxy-info", 361 "--upload-compiler-proxy-info",
362 "--json-status", 362 "--json-status",
363 "[CACHE]/cipd/goma/jsonstatus", 363 "[CACHE]/cipd/goma/jsonstatus",
364 "--ninja-log-outdir", 364 "--ninja-log-outdir",
365 "[BUILDER_CACHE]/Linux_MSan/src/out/Release", 365 "[BUILDER_CACHE]/Linux_MSan/src/out/Release",
366 "--ninja-log-compiler", 366 "--ninja-log-compiler",
367 "goma-clang", 367 "goma-clang",
368 "--ninja-log-command", 368 "--ninja-log-command",
369 "['RECIPE_PACKAGE_REPO[depot_tools]/ninja', '-w', 'dupbuild=err', '-C', '[ BUILDER_CACHE]/Linux_MSan/src/out/Release', '-j', 50]", 369 "['RECIPE_PACKAGE_REPO[depot_tools]/ninja', '-j', 50, '-w', 'dupbuild=err' , '-C', '[BUILDER_CACHE]/Linux_MSan/src/out/Release']",
370 "--ninja-log-exit-status", 370 "--ninja-log-exit-status",
371 "0", 371 "0",
372 "--buildbot-buildername", 372 "--buildbot-buildername",
373 "Linux MSan", 373 "Linux MSan",
374 "--buildbot-mastername", 374 "--buildbot-mastername",
375 "client.webrtc", 375 "client.webrtc",
376 "--buildbot-slavename", 376 "--buildbot-slavename",
377 "slavename" 377 "slavename"
378 ], 378 ],
379 "env": { 379 "env": {
(...skipping 478 matching lines...) Expand 10 before | Expand all | Expand 10 after
858 ], 858 ],
859 "cwd": "[BUILDER_CACHE]/Linux_MSan", 859 "cwd": "[BUILDER_CACHE]/Linux_MSan",
860 "name": "xmllite_xmpp_unittests" 860 "name": "xmllite_xmpp_unittests"
861 }, 861 },
862 { 862 {
863 "name": "$result", 863 "name": "$result",
864 "recipe_result": null, 864 "recipe_result": null,
865 "status_code": 0 865 "status_code": 0
866 } 866 }
867 ] 867 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698