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

Side by Side Diff: scripts/slave/recipes/webrtc/standalone.expected/tryserver_webrtc_linux_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 "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_asan", 7 "[BUILDER_CACHE]/linux_asan",
8 "511" 8 "511"
9 ], 9 ],
10 "name": "makedirs checkout path", 10 "name": "makedirs checkout path",
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
211 }, 211 },
212 "name": "clang_revision", 212 "name": "clang_revision",
213 "~followup_annotations": [ 213 "~followup_annotations": [
214 "@@@STEP_LOG_LINE@json.output@{@@@", 214 "@@@STEP_LOG_LINE@json.output@{@@@",
215 "@@@STEP_LOG_LINE@json.output@ \"clang_revision\": \"123456-7\"@@@", 215 "@@@STEP_LOG_LINE@json.output@ \"clang_revision\": \"123456-7\"@@@",
216 "@@@STEP_LOG_LINE@json.output@}@@@", 216 "@@@STEP_LOG_LINE@json.output@}@@@",
217 "@@@STEP_LOG_END@json.output@@@" 217 "@@@STEP_LOG_END@json.output@@@"
218 ] 218 ]
219 }, 219 },
220 { 220 {
221 "cmd": [
222 "python",
223 "-u",
224 "\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"
225 ],
226 "name": "calculate the number of recommended jobs",
227 "stdout": "/path/to/tmp/",
228 "~followup_annotations": [
229 "@@@STEP_LOG_LINE@python.inline@@@@",
230 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@",
231 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
232 "@@@STEP_LOG_LINE@python.inline@@@@",
233 "@@@STEP_LOG_LINE@python.inline@job_limit = 200@@@",
234 "@@@STEP_LOG_LINE@python.inline@if sys.platform.startswith('linux'):@@@",
235 "@@@STEP_LOG_LINE@python.inline@ # Use 80 for linux not to load goma back end.@@@",
236 "@@@STEP_LOG_LINE@python.inline@ job_limit = 80@@@",
237 "@@@STEP_LOG_LINE@python.inline@@@@",
238 "@@@STEP_LOG_LINE@python.inline@try:@@@",
239 "@@@STEP_LOG_LINE@python.inline@ jobs = min(job_limit, multiprocessing.cp u_count() * 10)@@@",
240 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@",
241 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@",
242 "@@@STEP_LOG_LINE@python.inline@@@@",
243 "@@@STEP_LOG_LINE@python.inline@print jobs@@@",
244 "@@@STEP_LOG_END@python.inline@@@"
245 ]
246 },
247 {
248 "cmd": [], 221 "cmd": [],
249 "name": "preprocess_for_goma" 222 "name": "preprocess_for_goma"
250 }, 223 },
251 { 224 {
252 "cmd": [ 225 "cmd": [
253 "python", 226 "python",
254 "-u", 227 "-u",
255 "[CACHE]/cipd/goma/goma_ctl.py", 228 "[CACHE]/cipd/goma/goma_ctl.py",
256 "restart" 229 "restart"
257 ], 230 ],
(...skipping 22 matching lines...) Expand all
280 "env": { 253 "env": {
281 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json" 254 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json"
282 }, 255 },
283 "name": "preprocess_for_goma.start cloudtail", 256 "name": "preprocess_for_goma.start cloudtail",
284 "~followup_annotations": [ 257 "~followup_annotations": [
285 "@@@STEP_NEST_LEVEL@1@@@" 258 "@@@STEP_NEST_LEVEL@1@@@"
286 ] 259 ]
287 }, 260 },
288 { 261 {
289 "cmd": [ 262 "cmd": [
263 "python",
264 "-u",
265 "\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"
266 ],
267 "name": "calculate the number of recommended jobs",
268 "stdout": "/path/to/tmp/",
269 "~followup_annotations": [
270 "@@@STEP_LOG_LINE@python.inline@@@@",
271 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@",
272 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
273 "@@@STEP_LOG_LINE@python.inline@@@@",
274 "@@@STEP_LOG_LINE@python.inline@job_limit = 200@@@",
275 "@@@STEP_LOG_LINE@python.inline@if sys.platform.startswith('linux'):@@@",
276 "@@@STEP_LOG_LINE@python.inline@ # Use 80 for linux not to load goma back end.@@@",
277 "@@@STEP_LOG_LINE@python.inline@ job_limit = 80@@@",
278 "@@@STEP_LOG_LINE@python.inline@@@@",
279 "@@@STEP_LOG_LINE@python.inline@try:@@@",
280 "@@@STEP_LOG_LINE@python.inline@ jobs = min(job_limit, multiprocessing.cp u_count() * 10)@@@",
281 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@",
282 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@",
283 "@@@STEP_LOG_LINE@python.inline@@@@",
284 "@@@STEP_LOG_LINE@python.inline@print jobs@@@",
285 "@@@STEP_LOG_END@python.inline@@@"
286 ]
287 },
288 {
289 "cmd": [
290 "RECIPE_PACKAGE_REPO[depot_tools]/ninja", 290 "RECIPE_PACKAGE_REPO[depot_tools]/ninja",
291 "-w", 291 "-w",
292 "dupbuild=err", 292 "dupbuild=err",
293 "-C", 293 "-C",
294 "[BUILDER_CACHE]/linux_asan/src/out/Release", 294 "[BUILDER_CACHE]/linux_asan/src/out/Release",
295 "-j", 295 "-j",
296 "50" 296 "50"
297 ], 297 ],
298 "env": { 298 "env": {
299 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json" 299 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json"
(...skipping 569 matching lines...) Expand 10 before | Expand all | Expand 10 after
869 ], 869 ],
870 "cwd": "[BUILDER_CACHE]/linux_asan", 870 "cwd": "[BUILDER_CACHE]/linux_asan",
871 "name": "xmllite_xmpp_unittests" 871 "name": "xmllite_xmpp_unittests"
872 }, 872 },
873 { 873 {
874 "name": "$result", 874 "name": "$result",
875 "recipe_result": null, 875 "recipe_result": null,
876 "status_code": 0 876 "status_code": 0
877 } 877 }
878 ] 878 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698