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

Side by Side Diff: scripts/slave/recipes/webrtc/standalone.expected/client_webrtc_mac_asan.json

Issue 2480193002: Stop to use contextmanager for goma.build_with_goma (Closed)
Patch Set: update 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 "RECIPE_PACKAGE_REPO[build]/scripts/slave/ios/host_info.py", 4 "RECIPE_PACKAGE_REPO[build]/scripts/slave/ios/host_info.py",
5 "--json-file", 5 "--json-file",
6 "/path/to/tmp/json" 6 "/path/to/tmp/json"
7 ], 7 ],
8 "name": "host and tools info", 8 "name": "host and tools info",
9 "~followup_annotations": [ 9 "~followup_annotations": [
10 "@@@STEP_TEXT@<br />OS X 1.2.3, Xcode 6.7.8 (5D342509a)@@@", 10 "@@@STEP_TEXT@<br />OS X 1.2.3, Xcode 6.7.8 (5D342509a)@@@",
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 }, 227 },
228 "name": "clang_revision", 228 "name": "clang_revision",
229 "~followup_annotations": [ 229 "~followup_annotations": [
230 "@@@STEP_LOG_LINE@json.output@{@@@", 230 "@@@STEP_LOG_LINE@json.output@{@@@",
231 "@@@STEP_LOG_LINE@json.output@ \"clang_revision\": \"123456-7\"@@@", 231 "@@@STEP_LOG_LINE@json.output@ \"clang_revision\": \"123456-7\"@@@",
232 "@@@STEP_LOG_LINE@json.output@}@@@", 232 "@@@STEP_LOG_LINE@json.output@}@@@",
233 "@@@STEP_LOG_END@json.output@@@" 233 "@@@STEP_LOG_END@json.output@@@"
234 ] 234 ]
235 }, 235 },
236 { 236 {
237 "cmd": [
238 "python",
239 "-u",
240 "\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"
241 ],
242 "name": "calculate the number of recommended jobs",
243 "stdout": "/path/to/tmp/",
244 "~followup_annotations": [
245 "@@@STEP_LOG_LINE@python.inline@@@@",
246 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@",
247 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
248 "@@@STEP_LOG_LINE@python.inline@@@@",
249 "@@@STEP_LOG_LINE@python.inline@job_limit = 200@@@",
250 "@@@STEP_LOG_LINE@python.inline@if sys.platform.startswith('linux'):@@@",
251 "@@@STEP_LOG_LINE@python.inline@ # Use 80 for linux not to load goma back end.@@@",
252 "@@@STEP_LOG_LINE@python.inline@ job_limit = 80@@@",
253 "@@@STEP_LOG_LINE@python.inline@@@@",
254 "@@@STEP_LOG_LINE@python.inline@try:@@@",
255 "@@@STEP_LOG_LINE@python.inline@ jobs = min(job_limit, multiprocessing.cp u_count() * 10)@@@",
256 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@",
257 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@",
258 "@@@STEP_LOG_LINE@python.inline@@@@",
259 "@@@STEP_LOG_LINE@python.inline@print jobs@@@",
260 "@@@STEP_LOG_END@python.inline@@@"
261 ]
262 },
263 {
264 "cmd": [], 237 "cmd": [],
265 "name": "preprocess_for_goma" 238 "name": "preprocess_for_goma"
266 }, 239 },
267 { 240 {
268 "cmd": [ 241 "cmd": [
269 "python", 242 "python",
270 "-u", 243 "-u",
271 "[CACHE]/cipd/goma/goma_ctl.py", 244 "[CACHE]/cipd/goma/goma_ctl.py",
272 "restart" 245 "restart"
273 ], 246 ],
(...skipping 22 matching lines...) Expand all
296 "env": { 269 "env": {
297 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json" 270 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json"
298 }, 271 },
299 "name": "preprocess_for_goma.start cloudtail", 272 "name": "preprocess_for_goma.start cloudtail",
300 "~followup_annotations": [ 273 "~followup_annotations": [
301 "@@@STEP_NEST_LEVEL@1@@@" 274 "@@@STEP_NEST_LEVEL@1@@@"
302 ] 275 ]
303 }, 276 },
304 { 277 {
305 "cmd": [ 278 "cmd": [
279 "python",
280 "-u",
281 "\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"
282 ],
283 "name": "calculate the number of recommended jobs",
284 "stdout": "/path/to/tmp/",
285 "~followup_annotations": [
286 "@@@STEP_LOG_LINE@python.inline@@@@",
287 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@",
288 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
289 "@@@STEP_LOG_LINE@python.inline@@@@",
290 "@@@STEP_LOG_LINE@python.inline@job_limit = 200@@@",
291 "@@@STEP_LOG_LINE@python.inline@if sys.platform.startswith('linux'):@@@",
292 "@@@STEP_LOG_LINE@python.inline@ # Use 80 for linux not to load goma back end.@@@",
293 "@@@STEP_LOG_LINE@python.inline@ job_limit = 80@@@",
294 "@@@STEP_LOG_LINE@python.inline@@@@",
295 "@@@STEP_LOG_LINE@python.inline@try:@@@",
296 "@@@STEP_LOG_LINE@python.inline@ jobs = min(job_limit, multiprocessing.cp u_count() * 10)@@@",
297 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@",
298 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@",
299 "@@@STEP_LOG_LINE@python.inline@@@@",
300 "@@@STEP_LOG_LINE@python.inline@print jobs@@@",
301 "@@@STEP_LOG_END@python.inline@@@"
302 ]
303 },
304 {
305 "cmd": [
306 "RECIPE_PACKAGE_REPO[depot_tools]/ninja", 306 "RECIPE_PACKAGE_REPO[depot_tools]/ninja",
307 "-w", 307 "-w",
308 "dupbuild=err", 308 "dupbuild=err",
309 "-C", 309 "-C",
310 "[BUILDER_CACHE]/Mac_Asan/src/out/Release", 310 "[BUILDER_CACHE]/Mac_Asan/src/out/Release",
311 "-j", 311 "-j",
312 "50" 312 "50"
313 ], 313 ],
314 "env": { 314 "env": {
315 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json" 315 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json"
(...skipping 538 matching lines...) Expand 10 before | Expand all | Expand 10 after
854 ], 854 ],
855 "cwd": "[BUILDER_CACHE]/Mac_Asan", 855 "cwd": "[BUILDER_CACHE]/Mac_Asan",
856 "name": "xmllite_xmpp_unittests" 856 "name": "xmllite_xmpp_unittests"
857 }, 857 },
858 { 858 {
859 "name": "$result", 859 "name": "$result",
860 "recipe_result": null, 860 "recipe_result": null,
861 "status_code": 0 861 "status_code": 0
862 } 862 }
863 ] 863 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698